/*
 * Storefront styles — fashion edition. Every colour, the fonts and the corner radius come from CSS variables written
 * by the active theme (App\Support\Theme, Admin › Appearance). The values below are only fallbacks.
 */
:root {
    --brand: #111; --brand-dark: #000; --brand-light: #f2f2f2; --brand-contrast: #fff;
    --accent: #111; --accent-dark: #000; --accent-contrast: #fff;
    --sale: #c8102e; --bg: #fff; --text: #1a1a1a; --muted: #6b6b6b; --line: #e8e6e3; --soft: #f6f4f1;
    --header-bg: #fff; --header-text: #111; --nav-bg: #111; --nav-text: #f5f1ea;
    --footer-bg: #0e0e0e; --footer-text: #b9b9b9; --footer-bottom: #000;
    --radius: 0px; --radius-sm: 0px; --btn-radius: 2px;
    --font: 'Jost', 'Hind Siliguri', system-ui, sans-serif;
    --font-display: 'Cormorant Garamond', 'Hind Siliguri', Georgia, serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); padding-bottom: 64px; -webkit-font-smoothing: antialiased; letter-spacing: .01em; }
@media (min-width: 992px) { body { padding-bottom: 0; } }

a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--brand); }
h1, h2, h3, .h1, .h2, .h3 { font-family: var(--font-display); }
.heading-serif h1, .heading-serif h2, .heading-serif .h1, .heading-serif .h2 { font-weight: 600; letter-spacing: .01em; }
.ls-1 { letter-spacing: .12em; }
.text-sale { color: var(--sale) !important; }
.text-in-stock { color: #1d7a46 !important; }
.min-w-0 { min-width: 0; }

/* Buttons & forms */
.btn { border-radius: var(--btn-radius); font-weight: 500; letter-spacing: .04em; transition: all .25s var(--ease); }
.btn-lg { font-size: .95rem; padding: .8rem 1.2rem; text-transform: uppercase; letter-spacing: .1em; }
.btn-brand { background: var(--brand); color: var(--brand-contrast); border: 1px solid var(--brand); }
.btn-brand:hover, .btn-brand:focus { background: var(--brand-dark); border-color: var(--brand-dark); color: var(--brand-contrast); }
.btn-accent { background: var(--accent); color: var(--accent-contrast); border: 1px solid var(--accent); font-weight: 600; }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--accent-contrast); }
.btn-outline-brand { background: transparent; color: var(--brand); border: 1px solid var(--brand); font-weight: 500; }
.btn-outline-brand:hover, .btn-outline-brand:focus { background: var(--brand); color: var(--brand-contrast); }
.btn-whatsapp { background: #25d366; border: 1px solid #25d366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }
.text-brand { color: var(--brand) !important; }
.bg-brand { background: var(--brand) !important; }
.form-control, .form-select { border-radius: var(--radius-sm); border-color: #d9d6d2; padding-top: .55rem; padding-bottom: .55rem; }
.form-control-sm, .form-select-sm { padding-top: .35rem; padding-bottom: .35rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 15%, transparent); }
.form-check-input:checked { background-color: var(--brand); border-color: var(--brand); }
.form-label { font-weight: 500; font-size: .9rem; }
.page-link { color: var(--text); border-color: var(--line); min-width: 40px; text-align: center; }
.page-link:hover { color: var(--brand); background: var(--soft); }
.active > .page-link, .page-link.active { background: var(--brand); border-color: var(--brand); color: var(--brand-contrast); }
.pagination { gap: 4px; }
.pagination .page-link { border-radius: var(--radius-sm) !important; }
.breadcrumb { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 1rem; }
.breadcrumb-item a { color: var(--muted); }
.breadcrumb-item.active { color: var(--text); }
.nav-pills .nav-link { color: var(--text); border-radius: var(--btn-radius); border: 1px solid var(--line); }
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { background: var(--brand); color: var(--brand-contrast); border-color: var(--brand); }
.nav-pills.nav-fill { gap: .4rem; }
.nav-tabs .nav-link { color: var(--muted); }
.nav-tabs .nav-link.active { color: var(--brand); font-weight: 600; }
.alert { border-radius: var(--radius-sm); }

/* Top bar + notice ticker */
.topbar { background: var(--nav-bg); color: var(--nav-text); font-size: .8rem; letter-spacing: .04em; }
.topbar .container-xl { min-height: 34px; }
.topbar-link { color: var(--nav-text); align-items: center; gap: .35rem; white-space: nowrap; opacity: .9; }
.topbar-link:hover { color: var(--nav-text); opacity: 1; }
.notice-bar { overflow: hidden; white-space: nowrap; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.notice-track { display: inline-block; padding: 7px 0 7px 100%; animation: ticker 45s linear infinite; }
.notice-bar:hover .notice-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* Header: search left, logo centred, icons right */
.site-header { background: var(--header-bg); color: var(--header-text); position: sticky; top: 0; z-index: 1030; border-bottom: 1px solid color-mix(in srgb, var(--header-text) 10%, transparent); transition: box-shadow .3s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); }
.site-header a, .site-header .btn-link { color: var(--header-text); }
.header-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 72px; }
.header-left { display: flex; align-items: center; gap: .25rem; }
.icon-btn { background: none; border: 0; color: var(--header-text); font-size: 1.45rem; padding: .25rem .4rem; line-height: 1; }
.brand { display: flex; align-items: center; justify-content: center; text-align: center; }
.brand img { max-height: 54px; max-width: 200px; object-fit: contain; }
.brand-word { font-family: var(--font-display); font-weight: 600; font-size: 1.85rem; letter-spacing: .22em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
@media (max-width: 575.98px) { .brand-word { font-size: 1.25rem; letter-spacing: .14em; } .brand img { max-height: 40px; max-width: 140px; } .header-row { min-height: 60px; gap: .4rem; } }

.search-box { align-items: center; max-width: 300px; width: 100%; border-bottom: 1px solid color-mix(in srgb, var(--header-text) 35%, transparent); transition: border-color .2s; }
.search-box:focus-within { border-color: var(--header-text); }
.search-box .form-control { border: 0; box-shadow: none; background: transparent; color: var(--header-text); padding-left: .35rem; font-size: .9rem; }
.search-box .form-control::placeholder { color: color-mix(in srgb, var(--header-text) 55%, transparent); }
.search-box .btn { background: transparent; border: 0; color: var(--header-text); padding: .3rem .2rem; }
#mobileSearch .search-box { max-width: none; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 1.35rem; }
.header-action { display: flex; flex-direction: column; align-items: center; font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; position: relative; background: none; border: 0; color: var(--header-text); padding: 0; }
.header-action i { font-size: 1.35rem; margin-bottom: 3px; }
.header-action .label { display: none; }
@media (min-width: 1200px) { .header-action .label { display: block; } }
.header-action:hover { opacity: .7; color: var(--header-text); }
.header-action .badge-count { position: absolute; top: -6px; right: -4px; transform: translateX(50%); background: var(--sale); color: #fff; border-radius: 10px; font-size: .62rem; padding: 2px 5px; font-weight: 600; min-width: 17px; text-align: center; letter-spacing: 0; }
.header-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; margin-bottom: 3px; border: 1px solid color-mix(in srgb, var(--header-text) 40%, transparent); }
@media (max-width: 575.98px) { .header-actions { gap: .9rem; } }
.more-menu .dropdown-menu { border-radius: var(--radius-sm); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(0, 0, 0, .1); padding: .4rem; min-width: 210px; }
.more-menu .dropdown-item { display: flex; align-items: center; gap: .7rem; padding: .55rem .8rem; color: var(--text) !important; font-size: .92rem; border-radius: var(--radius-sm); }
.more-menu .dropdown-item i { color: var(--brand); width: 18px; }
.more-menu .dropdown-item:hover { background: var(--soft); }

/* Category menu with mega panels */
.category-nav { border-top: 1px solid color-mix(in srgb, var(--header-text) 8%, transparent); position: relative; }
.category-nav .nav { gap: .25rem; flex-wrap: wrap; }
.category-nav .nav-link { color: var(--header-text); padding: .85rem 1rem; font-size: .8rem; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; position: relative; display: flex; align-items: center; gap: .3rem; }
.category-nav .nav-link i { font-size: .6rem; }
.category-nav .nav-link::after { content: ''; position: absolute; left: 1rem; right: 1rem; bottom: .55rem; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.category-nav .nav-link:hover::after, .category-nav .nav-link.active::after { transform: scaleX(1); }
.category-nav .nav-link:hover { color: var(--header-text); }
.category-nav .nav-sale { color: var(--sale) !important; font-weight: 600; }
.category-nav .has-mega { position: static; }
.mega-panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--header-bg); color: var(--header-text); border-top: 1px solid color-mix(in srgb, var(--header-text) 8%, transparent); box-shadow: 0 24px 40px rgba(0, 0, 0, .08); padding: 2rem 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease); z-index: 20; }
.has-mega:hover .mega-panel, .has-mega:focus-within .mega-panel { opacity: 1; visibility: visible; transform: none; }
.mega-links { display: flex; flex-direction: column; gap: .55rem; min-width: 240px; }
.mega-links a { font-size: .95rem; color: var(--header-text); opacity: .85; }
.mega-links a:hover { opacity: 1; padding-left: 4px; }
.mega-title { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: .35rem; }
.mega-feature { position: relative; width: 240px; aspect-ratio: 4 / 5; overflow: hidden; display: block; margin-left: auto; border-radius: var(--radius-sm); }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature:hover img { transform: scale(1.05); }
.mega-feature span { position: absolute; left: 0; right: 0; bottom: 0; padding: .9rem; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }

/* Mobile menu */
.mobile-menu { --bs-offcanvas-width: 320px; }
.mobile-menu .offcanvas-header { border-bottom: 1px solid var(--line); }
.mobile-menu .brand-word { font-size: 1.2rem; }
.mm-section-title { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: var(--muted); padding: 1rem 1rem .4rem; }
.mobile-menu .list-group-item { border-color: var(--line); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; font-size: .95rem; }
.mobile-menu .list-group-item img { object-fit: cover; border-radius: 50%; background: var(--soft); }
.mobile-menu .list-group-item i { color: var(--muted); }
.mm-parent { justify-content: space-between; }
.mm-toggle { border: 0; background: none; padding: .1rem .3rem; color: var(--text); transition: transform .2s; }
.mm-toggle[aria-expanded="true"] { transform: rotate(45deg); }
.mm-child { padding-left: 3.6rem !important; font-size: .9rem !important; color: var(--muted); background: var(--soft); }

.site-main { min-height: 50vh; }
body:not(.is-home) .site-main { padding-bottom: 2rem; }

/* Section heading: eyebrow + serif title with hairlines */
.home-block { margin-top: 3.5rem; }
@media (max-width: 767.98px) { .home-block { margin-top: 2.4rem; } }
.section-head { text-align: center; margin-bottom: 1.75rem; position: relative; }
.section-head .eyebrow { display: block; margin-bottom: .35rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 0; display: inline-flex; align-items: center; gap: 1rem; }
.section-head h2::before, .section-head h2::after { content: ''; width: 48px; height: 1px; background: currentColor; opacity: .35; }
.section-head .view-all { position: absolute; right: 0; bottom: .4rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
@media (max-width: 767.98px) { .section-head .view-all { position: static; display: inline-block; margin-top: .6rem; } .section-head h2::before, .section-head h2::after { width: 24px; } }
.eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .22em; color: var(--muted); font-family: var(--font); font-weight: 500; }
.tone-sale .eyebrow, .tone-sale h2 { color: var(--sale); }

/* Legacy section title (other pages) */
.section-title { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 1rem; padding-bottom: .5rem; }
.section-title h2 { font-size: 1.5rem; margin: 0; }
.section-title a { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }

/* Hero slider */
.hero-carousel { background: var(--soft); }
/* Banners keep their own shape (no cropping of text); only very tall uploads are trimmed. */
.hero-carousel img { width: 100%; height: auto; max-height: 82vh; object-fit: cover; display: block; }
.hero-carousel .carousel-control-prev, .hero-carousel .carousel-control-next { width: 52px; height: 52px; top: 50%; transform: translateY(-50%); margin: 0 1.25rem; border-radius: 50%; background: rgba(255, 255, 255, .85); color: #111; opacity: 0; font-size: 1.2rem; transition: opacity .3s; }
.hero-carousel:hover .carousel-control-prev, .hero-carousel:hover .carousel-control-next { opacity: 1; }
.hero-carousel .carousel-indicators { margin-bottom: 1.2rem; }
.hero-carousel .carousel-indicators [data-bs-target] { width: 28px; height: 2px; border: 0; background: #fff; opacity: .55; margin: 0 4px; }
.hero-carousel .carousel-indicators .active { opacity: 1; width: 44px; }

/* Category circles (horizontal scroll on small screens) */
.category-circles { display: flex; gap: 1.75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem; justify-content: safe center; scrollbar-width: thin; }
.category-circle { flex: 0 0 auto; width: 128px; text-align: center; scroll-snap-align: start; }
.category-circle .ring { display: block; width: 128px; height: 128px; border-radius: 50%; padding: 5px; border: 1px solid var(--line); transition: border-color .3s; }
.category-circle img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--soft); transition: transform .6s var(--ease); }
.category-circle:hover .ring { border-color: var(--brand); }
.category-circle:hover img { transform: scale(1.06); }
.category-circle .name { display: block; margin-top: .75rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 500; }
@media (max-width: 575.98px) { .category-circles { gap: 1rem; } .category-circle, .category-circle .ring { width: 86px; } .category-circle .ring { height: 86px; padding: 3px; } .category-circle .name { font-size: .68rem; } }

/* Old-style category tile (kept for custom pages) */
.category-tile { background: #fff; padding: .75rem .5rem; text-align: center; height: 100%; display: block; }
.category-tile img { width: 72px; height: 72px; object-fit: cover; border-radius: 50%; margin-bottom: .4rem; }
.category-tile span { display: block; font-size: .9rem; font-weight: 600; }

/* Lookbook tiles */
.lookbook-grid { display: grid; gap: 1rem; }
.lookbook-2 { grid-template-columns: 1fr 1fr; }
.lookbook-3 { grid-template-columns: 1.25fr 1fr 1fr; }
@media (max-width: 767.98px) { .lookbook-grid { grid-template-columns: 1fr 1fr; gap: .6rem; } .lookbook-3 .lookbook-tile:first-child { grid-column: span 2; aspect-ratio: 16 / 10; } .lookbook-3 .lookbook-tile:first-child img { object-position: center 25%; } .lookbook-caption { padding: 1rem; } }
.lookbook-tile { position: relative; overflow: hidden; aspect-ratio: 3 / 4; display: block; background: var(--soft); border-radius: var(--radius); }
.lookbook-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.lookbook-tile:hover img { transform: scale(1.06); }
.lookbook-caption { position: absolute; inset: auto 0 0 0; padding: 1.5rem; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); display: flex; flex-direction: column; gap: .2rem; }
.lookbook-caption small { font-size: .7rem; text-transform: uppercase; letter-spacing: .2em; opacity: .85; }
.lookbook-caption strong { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; line-height: 1.1; }
.lookbook-caption em { font-style: normal; font-size: .75rem; text-transform: uppercase; letter-spacing: .14em; margin-top: .4rem; }
.lookbook-tile:hover { color: #fff; }

.ad-banner { display: block; overflow: hidden; border-radius: var(--radius); }
.ad-banner img { width: 100%; display: block; transition: transform 1s var(--ease); }
.ad-banner:hover img { transform: scale(1.03); }

/* Product rail */
.product-rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 1.5rem) / 4); gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-item { scroll-snap-align: start; min-width: 0; }
@media (max-width: 991.98px) { .rail-track { grid-auto-columns: calc((100% - 2 * 1rem) / 3); gap: 1rem; } }
@media (max-width: 575.98px) { .rail-track { grid-auto-columns: 46%; gap: .6rem; } }
.rail-btn { position: absolute; top: 38%; z-index: 5; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: #111; box-shadow: 0 6px 18px rgba(0, 0, 0, .1); display: flex; align-items: center; justify-content: center; transition: opacity .2s; }
.rail-btn.prev { left: -18px; }
.rail-btn.next { right: -18px; }
.rail-btn:hover { background: #111; color: #fff; }
.product-rail.at-start .rail-btn.prev, .product-rail.at-end .rail-btn.next { opacity: 0; pointer-events: none; }
@media (max-width: 767.98px) { .rail-btn { display: none; } }

/* Product card */
.product-card { background: transparent; height: 100%; display: flex; flex-direction: column; position: relative; }
.thumb-wrap { position: relative; overflow: hidden; background: var(--soft); border-radius: var(--radius); }
.card-shadow .product-card { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 4px rgba(0, 0, 0, .06); transition: box-shadow .3s; }
.card-shadow .product-card:hover { box-shadow: 0 14px 34px rgba(0, 0, 0, .1); }
.card-shadow .product-card .thumb-wrap { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.card-shadow .product-card .body { padding: .75rem .8rem .9rem; }
.card-border .product-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .3s; }
.card-border .product-card:hover { border-color: var(--brand); }
.card-border .product-card .thumb-wrap { border-radius: var(--radius) var(--radius) 0 0; }
.card-border .product-card .body { padding: .75rem .8rem .9rem; }
.product-card .thumb { aspect-ratio: 3 / 4; display: block; position: relative; }
.product-card .thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.product-card .thumb .img-hover { opacity: 0; }
.product-card:hover .thumb.has-hover .img-hover { opacity: 1; }
.product-card:hover .thumb img { transform: scale(1.04); }
.product-card .body { padding: .85rem .1rem .25rem; display: flex; flex-direction: column; flex-grow: 1; gap: .3rem; }
.product-card .name { font-size: .92rem; font-weight: 400; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.badges { position: absolute; top: 10px; left: 10px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 5px; }
.sale-badge, .free-badge, .soldout-badge { font-size: .68rem; font-weight: 600; letter-spacing: .06em; padding: 3px 8px; line-height: 1.4; border-radius: var(--radius-sm); text-transform: uppercase; }
.sale-badge { background: var(--sale); color: #fff; }
.free-badge { background: #fff; color: #111; }
.soldout-badge { background: #111; color: #fff; }
.gallery-main .sale-badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-size: .8rem; }
.stock-out-note { font-size: .78rem; color: var(--muted); }

/* Card actions: slide up over the photo on devices with a mouse, sit under it on touch screens */
.card-actions { display: flex; gap: 1px; margin: 0; }
.card-actions .btn { flex: 1 1 0; min-width: 0; font-size: .72rem; padding: .7rem .3rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-radius: 0; text-transform: uppercase; letter-spacing: .1em; }
@media (hover: hover) and (min-width: 768px) {
    .thumb-wrap .card-actions { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; transform: translateY(100%); transition: transform .35s var(--ease); }
    .product-card:hover .card-actions, .product-card:focus-within .card-actions { transform: none; }
}
@media (hover: none), (max-width: 767.98px) {
    .thumb-wrap { overflow: visible; }
    .thumb-wrap .thumb { overflow: hidden; border-radius: var(--radius); }
    .thumb-wrap .card-actions { position: absolute; right: 8px; bottom: 8px; z-index: 3; flex-direction: column; gap: 6px; }
    .thumb-wrap .card-actions .btn { flex: none; width: 38px; height: 38px; padding: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }
    .thumb-wrap .card-actions .btn span { display: none; }
}
.btn-add-cart { background: rgba(255, 255, 255, .95); color: #111; border: 0; font-weight: 600; }
.btn-add-cart:hover { background: #fff; color: var(--brand); }
.cart-btn-filled .btn-add-cart { background: var(--brand); color: var(--brand-contrast); }
.cart-btn-filled .btn-add-cart:hover { background: var(--brand-dark); color: var(--brand-contrast); }
.buy-box .btn-add-cart, .product-info .btn-add-cart { background: transparent; color: var(--brand); border: 1px solid var(--brand); }
.buy-box .btn-add-cart:hover { background: var(--brand); color: var(--brand-contrast); }
.cart-btn-filled .buy-box .btn-add-cart { background: var(--brand); color: var(--brand-contrast); }

.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .1rem .55rem; color: var(--text); font-weight: 600; font-size: 1rem; }
.price .now { color: var(--brand); }
.price del { color: #9a9a9a; font-weight: 400; font-size: .85em; }
.price-lg { font-size: 1.7rem; }
.price-lg del { font-size: 1.05rem; }
.save-tag { font-size: .72rem; background: color-mix(in srgb, var(--sale) 10%, #fff); color: var(--sale); padding: 3px 8px; text-transform: uppercase; letter-spacing: .08em; align-self: center; border-radius: var(--radius-sm); }

.wish-btn { position: absolute; top: 10px; right: 10px; z-index: 3; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: #333; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .1); transition: transform .2s, color .2s; }
.wish-btn:hover { transform: scale(1.1); color: var(--sale); }
.wish-btn.active { color: var(--sale); }
.wish-btn-lg { position: static; width: auto; height: auto; border-radius: var(--btn-radius); padding: .5rem 1rem; box-shadow: none; border: 1px solid #d9d6d2; gap: .45rem; height: 100%; }
.wish-btn-lg:hover { transform: none; border-color: var(--sale); }

/* Page hero (listing) */
.page-hero { background: var(--soft); padding: 2.6rem 0 2.2rem; text-align: center; margin-bottom: 2rem; }
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); margin: 0; }
.page-hero .breadcrumb { margin-bottom: .6rem; }
.page-hero-count { margin: .4rem 0 0; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.chip { border: 1px solid var(--line); padding: .4rem 1rem; font-size: .82rem; letter-spacing: .06em; border-radius: 999px; background: #fff; }
.chip:hover, .chip.active { border-color: var(--brand); background: var(--brand); color: var(--brand-contrast); }
.listing-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: .7rem 0; margin-bottom: 1.5rem; }
.listing-toolbar .form-select { min-width: 190px; border: 0; background-color: transparent; font-weight: 500; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 2.6rem; display: block; margin-bottom: .6rem; }

/* Product detail */
.gallery { display: flex; gap: .75rem; }
.gallery-main { position: relative; flex: 1; background: var(--soft); overflow: hidden; aspect-ratio: 3 / 4; border-radius: var(--radius); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; cursor: zoom-in; }
.gallery-main:hover img { transform: scale(1.08); }
.gallery-thumbs { display: flex; flex-direction: column; gap: .6rem; width: 84px; flex-shrink: 0; }
.gallery-thumbs button { padding: 0; border: 1px solid transparent; background: var(--soft); aspect-ratio: 3 / 4; opacity: .6; transition: all .2s; border-radius: var(--radius-sm); overflow: hidden; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { opacity: 1; border-color: var(--brand); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767.98px) { .gallery { flex-direction: column-reverse; } .gallery-thumbs { flex-direction: row; width: auto; overflow-x: auto; } .gallery-thumbs button { width: 64px; flex-shrink: 0; } }
@media (min-width: 768px) { .product-info { position: sticky; top: 150px; } }
.product-title { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; margin: .35rem 0 .6rem; }
.product-lead { color: var(--muted); }
.option-group { margin-bottom: 1.1rem; }
.option-head { display: flex; justify-content: space-between; align-items: center; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .55rem; }
.option-head strong { letter-spacing: .04em; text-transform: none; font-size: .92rem; }
.option-head a { font-size: .75rem; border-bottom: 1px solid currentColor; }
.option-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.size-pill, .color-pill { min-width: 48px; height: 44px; padding: 0 .9rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid #d9d6d2; border-radius: var(--btn-radius); background: #fff; cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .2s; user-select: none; }
.size-pill:hover, .color-pill:hover { border-color: var(--brand); }
.btn-check:checked + .size-pill, .btn-check:checked + .color-pill { border-color: var(--brand); background: var(--brand); color: var(--brand-contrast); }
.btn-check:focus-visible + .size-pill, .btn-check:focus-visible + .color-pill { outline: 2px solid var(--brand); outline-offset: 2px; }
.color-pill .dot { width: 16px; height: 16px; border-radius: 50%; background: var(--dot, transparent); border: 1px solid rgba(0, 0, 0, .15); box-shadow: inset 0 0 0 2px #fff; }
.card-sizes { font-size: .72rem; color: var(--muted); letter-spacing: .08em; }
.item-options { font-size: .78rem; color: var(--muted); }
.product-meta { list-style: none; padding: 0; margin: 0 0 1.4rem; border-top: 1px solid var(--line); }
.product-meta li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.product-meta li span { color: var(--muted); }
.qty-control { display: inline-flex; border: 1px solid #d9d6d2; border-radius: var(--btn-radius); overflow: hidden; background: #fff; }
.qty-control button { border: 0; background: transparent; width: 40px; font-size: 1.1rem; }
.qty-control button:hover { background: var(--soft); }
.qty-control input { width: 54px; border: 0; text-align: center; -moz-appearance: textfield; }
.qty-control input::-webkit-outer-spin-button, .qty-control input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty-control.qty-sm button { width: 28px; }
.qty-control.qty-sm input { width: 36px; font-size: .9rem; }
.delivery-box { background: var(--soft); padding: 1rem 1.1rem; border-radius: var(--radius); font-size: .9rem; }
.delivery-title { font-weight: 600; margin-bottom: .4rem; }
.delivery-row { display: flex; justify-content: space-between; padding: .25rem 0; }
.delivery-free { font-weight: 600; color: #1d7a46; }
.product-accordion .accordion-item { border: 0; border-bottom: 1px solid var(--line); background: transparent; }
.product-accordion .accordion-button { padding: 1rem 0; font-family: var(--font); font-size: .82rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; background: transparent; box-shadow: none; color: var(--text); }
.product-accordion .accordion-body { padding: 0 0 1.2rem; }
.rich-content img { max-width: 100%; height: auto; }
.rating i { color: #e0a526; }
.review-summary { background: var(--soft); padding: 1.6rem; text-align: center; border-radius: var(--radius); }
.review-summary .big { font-family: var(--font-display); font-size: 3.4rem; line-height: 1; }
.review-item { border-bottom: 1px solid var(--line); padding: 1rem 0; }

/* Generic boxes used by cart, checkout, account, auth, track pages */
.card-box { background: #fff; border-radius: var(--radius); padding: 1.25rem; border: 1px solid var(--line); }
.box-title { font-family: var(--font); font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; border-left: 0; padding: 0 0 .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.site-main > section.container:first-of-type, .site-main > div.container:first-of-type { padding-top: 1.75rem; }
.site-main h1.h4, .site-main h1.h5 { font-size: 1.8rem; }

/* Checkout */
.payment-option { display: flex; align-items: center; gap: .75rem; border: 1px solid #dcdcdc; border-radius: var(--radius-sm); padding: .7rem .9rem; margin-bottom: .5rem; cursor: pointer; transition: all .2s; }
.payment-option:has(input:checked) { border-color: var(--brand); background: var(--brand-light); box-shadow: 0 0 0 1px var(--brand); }
.payment-option .form-check-input { margin: 0; flex-shrink: 0; }
.payment-logo { width: 64px; height: 27px; flex-shrink: 0; }
.free-progress { background: var(--soft); border: 1px dashed var(--brand); border-radius: var(--radius-sm); padding: .6rem .8rem; }
.account-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: .8rem 1rem; }
.coupon-toggle { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 0; font-weight: 600; text-align: left; }
.coupon-toggle i { transition: transform .2s; }
.coupon-toggle[aria-expanded="true"] i { transform: rotate(180deg); }
.coupon-applied { display: flex; align-items: center; gap: .5rem; background: var(--brand-light); border: 1px dashed var(--brand); border-radius: var(--radius-sm); padding: .5rem .7rem; }
.summary-row { display: flex; justify-content: space-between; padding: .35rem 0; }
.progress-bar.bg-success { background-color: var(--brand) !important; }

/* Tom Select (searchable district / thana) */
.ts-wrapper .ts-control { border-radius: var(--radius-sm); min-height: 40px; padding: .45rem .75rem; border-color: #d9d6d2; }
.ts-wrapper.focus .ts-control { border-color: var(--brand); box-shadow: 0 0 0 .2rem color-mix(in srgb, var(--brand) 15%, transparent); }
.ts-dropdown .active { background: var(--brand-light); color: var(--brand); }
.ts-dropdown .dropdown-input { border-radius: var(--radius-sm); }

/* Customer account */
.account-avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; background: var(--soft); flex-shrink: 0; }
.account-avatar-lg { width: 88px; height: 88px; }
.account-sidebar { position: sticky; top: 150px; }
.account-nav a, .account-nav button { display: flex; align-items: center; gap: .6rem; width: 100%; padding: .65rem .8rem; border-radius: var(--radius-sm); font-weight: 500; color: #333; background: none; border: 0; text-align: left; }
.account-nav a:hover, .account-nav button:hover { background: var(--soft); color: var(--brand); }
.account-nav a.active { background: var(--brand); color: var(--brand-contrast); font-weight: 600; }
.account-nav button { color: #c62828; }
.account-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; padding-bottom: .75rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.account-table th { width: 32%; font-weight: 500; color: var(--muted); }
.account-stat { display: flex; align-items: center; gap: .8rem; background: var(--soft); border-radius: var(--radius); padding: .9rem 1rem; }
.account-stat i { font-size: 1.6rem; color: var(--brand); }
@media (max-width: 991.98px) { .account-sidebar { position: static; } }
.table { --bs-table-border-color: var(--line); }

/* Service strip + footer */
.service-strip { border-top: 1px solid var(--line); margin-top: 4rem; padding: 2rem 0; background: var(--bg); }
.service-item { display: flex; align-items: center; gap: .9rem; }
.service-item i { font-size: 1.7rem; color: var(--brand); flex-shrink: 0; }
.service-item strong { display: block; font-size: .92rem; font-weight: 600; }
.service-item span { display: block; font-size: .8rem; color: var(--muted); }
@media (max-width: 575.98px) { .service-item { flex-direction: column; text-align: center; gap: .4rem; } .service-strip { margin-top: 2.5rem; } }
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding-top: 3.5rem; font-size: .92rem; }
.site-footer h6 { color: #fff; font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .18em; margin-bottom: 1.1rem; }
.site-footer a { color: var(--footer-text); }
.site-footer a:hover { color: #fff; }
.site-footer li { margin-bottom: .5rem; }
.footer-brand { display: inline-block; margin-bottom: 1.1rem; color: #fff !important; }
.footer-brand .brand-word { font-size: 1.6rem; }
.footer-logo { max-height: 56px; }
.footer-about { line-height: 1.7; }
.footer-social { display: flex; gap: .6rem; flex-wrap: wrap; }
.footer-social a { width: 40px; height: 40px; border: 1px solid color-mix(in srgb, var(--footer-text) 35%, transparent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.05rem; transition: all .25s; }
.footer-social a:hover { background: #fff; color: #111; border-color: #fff; }
.pay-badges { display: flex; gap: .4rem; flex-wrap: wrap; }
.pay-badges img { height: 30px; width: 70px; object-fit: contain; background: #fff; padding: 3px 6px; border-radius: 4px; }
.footer-bottom { background: var(--footer-bottom); margin-top: 3rem; padding: 1rem 0; font-size: .8rem; letter-spacing: .04em; text-align: center; }

/* Floating side cart + slide-out cart */
.float-cart { position: fixed; right: 0; top: 50%; transform: translateY(-50%); z-index: 1040; width: 58px; overflow: hidden; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); border: 0; padding: 0; text-align: center; border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.float-cart .fc-top { background: var(--brand); color: var(--brand-contrast); padding: .5rem .15rem; font-size: .6rem; text-transform: uppercase; letter-spacing: .04em; }
.float-cart .fc-total { font-size: .7rem !important; }
.float-cart .fc-top i { font-size: 1.35rem; display: block; margin-bottom: 2px; }
.float-cart .fc-total { background: #fff; color: var(--text); font-weight: 600; font-size: .8rem; padding: .4rem .2rem; }
.float-cart.bump { animation: bump .45s ease; }
@keyframes bump { 30% { transform: translateY(-50%) scale(1.12); } }
@media (max-width: 991.98px) { .float-cart { display: none; } }

.cart-drawer { --bs-offcanvas-width: 400px; }
.cart-drawer .offcanvas-header { border-bottom: 1px solid var(--line); padding: 1.1rem 1.25rem; }
.cart-drawer .offcanvas-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; }
.drawer-item { display: flex; gap: .8rem; align-items: center; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.drawer-item img { width: 64px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); background: var(--soft); }
.drawer-item .remove { border: 0; background: none; color: var(--muted); }
.drawer-item .remove:hover { color: var(--sale); }
.drawer-busy { opacity: .5; pointer-events: none; }

.toast-container { z-index: 1090; }

.whatsapp-float { position: fixed; right: 16px; bottom: 80px; width: 52px; height: 52px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; z-index: 1040; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); transition: transform .2s; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@media (min-width: 992px) { .whatsapp-float { bottom: 24px; } }

.mobile-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; justify-content: space-around; border-top: 1px solid var(--line); z-index: 1035; height: 60px; box-shadow: 0 -4px 16px rgba(0, 0, 0, .04); }
.mobile-bottom-nav a { display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: .68rem; color: #555; flex: 1; text-transform: uppercase; letter-spacing: .06em; gap: 2px; }
.mobile-bottom-nav a.active, .mobile-bottom-nav a:hover { color: var(--brand); }
.mobile-bottom-nav i { font-size: 1.25rem; }
