/* ==========================================================================
   COACH SIR — store.css
   Store header, category strip, hero slider, product cards, carousels,
   promotions, store listing, product page, cart, checkout, bottom nav and
   floating widgets. Built on style.css tokens.
   ========================================================================== */
:root { --hdr-h: 64px; --strip-h: 46px; --bottom-nav-h: 62px; }
html { scroll-padding-top: calc(var(--hdr-h) + var(--strip-h) + 12px); }

/* ---------- Product cover tones (also used by promos & banners) ---------- */
.tone-indigo, .tone-jee      { --tone-a: #3845E0; --tone-b: #1C258F; --tone-ink: #fff; --tone-accent: #FFD27A; }
.tone-neet                   { --tone-a: #14B8A6; --tone-b: #0F5F5A; --tone-ink: #fff; --tone-accent: #FDE68A; }
.tone-advanced, .tone-ink    { --tone-a: #26306E; --tone-b: #0B1020; --tone-ink: #fff; --tone-accent: #F5B73A; }
.tone-foundation             { --tone-a: #8B5CF6; --tone-b: #4C1D95; --tone-ink: #fff; --tone-accent: #FDE68A; }
.tone-board                  { --tone-a: #F59E0B; --tone-b: #9A3412; --tone-ink: #fff; --tone-accent: #FFF7E0; }
.tone-target                 { --tone-a: #F43F5E; --tone-b: #881337; --tone-ink: #fff; --tone-accent: #FDE68A; }
.tone-gold                   { --tone-a: #FFC24B; --tone-b: #E08A00; --tone-ink: #0B1020; --tone-accent: #0B1020; }

/* ==================== HEADER ==================== */
.shop-header { background: #fff; border-bottom: 1px solid var(--border); }
.shop-header.is-scrolled { box-shadow: 0 6px 18px -14px rgba(11,16,32,.4); }
.hdr-row { display: flex; align-items: center; gap: .75rem 1rem; min-height: var(--hdr-h); padding-block: .5rem; }
.hdr-row .brand-mark { width: 42px; height: 42px; flex-basis: 42px; }
.hdr-search { position: relative; flex: 1; max-width: 620px; }
.hdr-search input {
  width: 100%; height: 44px; border-radius: 12px; border: 1.5px solid transparent; background: var(--primary-light);
  padding: 0 1rem 0 2.75rem; font-size: .9375rem; color: var(--text-dark);
}
.hdr-search input::placeholder { color: #6B74A8; }
.hdr-search input:focus { outline: 0; background: #fff; border-color: var(--primary); box-shadow: var(--ring); }
.hdr-search > .bi { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--primary); pointer-events: none; }
.search-list { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 1060; list-style: none; margin: 0; padding: .4rem; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-lg); max-height: 60vh; overflow-y: auto; }
.search-list a { display: flex; align-items: center; gap: .75rem; padding: .55rem .7rem; border-radius: 10px; color: var(--text-dark); font-weight: 600; font-size: .9rem; }
.search-list a .bi { width: 32px; height: 32px; flex: 0 0 32px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-light); color: var(--primary); }
.search-list small { display: block; font-weight: 500; color: var(--text-muted); font-size: .75rem; }
.search-list li.is-active a, .search-list a:hover { background: var(--surface-2); }
.search-list li.empty { padding: .75rem; color: var(--text-muted); font-size: .875rem; }

.hdr-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.hdr-btn {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; height: 44px; padding: 0 .75rem; border: 0; border-radius: 10px;
  background: transparent; color: var(--text-dark); font-weight: 600; font-size: .9rem; white-space: nowrap;
}
.hdr-btn:hover, .hdr-btn[aria-expanded="true"] { background: var(--surface-2); color: var(--primary); }
.hdr-btn .bi { font-size: 1.2rem; }
.hdr-btn.dropdown-toggle::after { border: 0; content: "\F282"; font-family: "bootstrap-icons"; font-size: .7rem; vertical-align: 0; margin-left: .1rem; transition: transform var(--dur); }
.hdr-btn.dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.cart-badge { position: absolute; top: 4px; left: 22px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--ink); font-size: .6875rem; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.hdr-menu { --bs-dropdown-min-width: 250px; --bs-dropdown-border-color: var(--border); --bs-dropdown-border-radius: 14px; --bs-dropdown-link-active-bg: var(--primary-light); --bs-dropdown-link-active-color: var(--primary-dark); padding: .4rem; box-shadow: var(--shadow-lg); }
.hdr-menu .dropdown-item { display: flex; align-items: center; gap: .65rem; padding: .55rem .75rem; border-radius: 9px; font-weight: 500; font-size: .9rem; }
.hdr-menu .dropdown-item .bi { color: var(--primary); width: 18px; }
.hdr-menu .menu-head { padding: .6rem .75rem .7rem; border-bottom: 1px solid var(--border); margin-bottom: .3rem; font-size: .875rem; }
.hdr-menu .menu-head strong { display: block; color: var(--text-dark); }
.hdr-menu [aria-checked="true"]::after { content: "\F26E"; font-family: "bootstrap-icons"; margin-left: auto; color: var(--success); }

/* Category strip */
.cat-strip { background: #fff; border-top: 1px solid var(--border); }
.cat-strip ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; overflow-x: auto; scrollbar-width: none; }
.cat-strip ul::-webkit-scrollbar { display: none; }
.cat-strip a { display: inline-flex; align-items: center; gap: .4rem; height: var(--strip-h); padding: 0 .85rem; color: var(--text-body); font-weight: 600; font-size: .875rem; white-space: nowrap; border-bottom: 2.5px solid transparent; }
.cat-strip a .bi { color: var(--primary); }
.cat-strip a:hover { color: var(--primary); }
.cat-strip a.active { color: var(--primary); border-bottom-color: var(--accent); }
.cat-strip .sep { width: 1px; background: var(--border); margin: 10px .25rem; flex: 0 0 1px; }

@media (max-width: 991.98px) {
  .hdr-row { flex-wrap: wrap; }
  .hdr-search { order: 3; flex: 1 0 100%; max-width: none; }
  .hdr-btn .lbl { display: none; }
  .hdr-btn { padding: 0 .6rem; }
}
@media (max-width: 399.98px) { .hdr-row .brand-text { display: none; } }

/* Mobile menu (offcanvas) */
.menu-offcanvas { --bs-offcanvas-width: 300px; }
.menu-offcanvas .offcanvas-header { background: var(--ink); color: #fff; }
.menu-offcanvas .brand-name { color: #fff; }
.menu-offcanvas .list-group-item { border: 0; padding: .7rem 1rem; display: flex; gap: .75rem; align-items: center; font-weight: 600; color: var(--text-dark); }
.menu-offcanvas .list-group-item .bi { color: var(--primary); width: 20px; }
.menu-offcanvas .menu-label { font-size: .6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); padding: 1rem 1rem .25rem; }

/* ==================== HERO SLIDER ==================== */
.hero-slider { position: relative; margin-top: 1rem; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--radius-xl); }
.slides::-webkit-scrollbar { display: none; }
.slide {
  flex: 0 0 100%; scroll-snap-align: start; position: relative; overflow: hidden; min-height: 300px;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center;
  background: radial-gradient(120% 130% at 0% 0%, var(--tone-a) 0%, var(--tone-b) 70%); color: var(--tone-ink);
}
.slide-copy { padding: clamp(1.5rem, 1rem + 3vw, 3.25rem); position: relative; z-index: 1; }
.slide-copy .slide-eyebrow { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--radius-pill); background: rgba(255,255,255,.14); margin-bottom: .9rem; }
.tone-gold .slide-copy .slide-eyebrow { background: rgba(11,16,32,.1); }
.slide-copy h2 { color: inherit; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.75rem); line-height: 1.12; margin-bottom: .6rem; }
.slide-copy p { opacity: .85; font-size: clamp(.95rem, .9rem + .3vw, 1.1rem); max-width: 440px; margin-bottom: 1.25rem; }
.slide-copy .btn { --bs-btn-bg: var(--tone-accent); --bs-btn-border-color: var(--tone-accent); --bs-btn-color: var(--ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-hover-color: var(--ink); font-weight: 700; }
.tone-gold .slide-copy .btn { --bs-btn-color: #fff; --bs-btn-hover-color: var(--ink); }
.slide-media { position: relative; align-self: stretch; }
.slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--tone-b) 0%, transparent 35%); }
.slide-art { display: grid; place-items: center; }
.slide-art .art-ring { width: 220px; height: 220px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.25); box-shadow: 0 0 0 22px rgba(255,255,255,.12), 0 0 0 46px rgba(255,255,255,.06); font-size: 5rem; color: var(--ink); }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 64px; border: 0; background: rgba(255,255,255,.92); color: var(--ink); box-shadow: var(--shadow); display: grid; place-items: center; font-size: 1.2rem; }
.slider-btn[data-prev] { left: 0; border-radius: 0 12px 12px 0; }
.slider-btn[data-next] { right: 0; border-radius: 12px 0 0 12px; }
.slider-dots { display: flex; justify-content: center; gap: .4rem; margin-top: .75rem; }
.slider-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: var(--border-strong); transition: width var(--dur), background var(--dur); }
.slider-dots button[aria-current] { width: 24px; background: var(--primary); }
@media (max-width: 767.98px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-media { height: 170px; order: -1; }
  .slide-media::before { background: linear-gradient(0deg, var(--tone-b) 0%, transparent 60%); }
  .slide-art { display: none; }
  .slider-btn { display: none; }
}

/* ==================== SHELVES & CAROUSELS ==================== */
.shelf { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 1.25rem; margin-top: 1.25rem; }
.shelf-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1rem; }
.shelf-head h2 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); margin: 0; }
.shelf-head p { margin: 0; color: var(--text-muted); font-size: .875rem; }
.shelf.tinted { background: linear-gradient(180deg, var(--primary-light), #fff 70%); }
.carousel-wrap { position: relative; }
.c-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 2px; padding: 2px 2px 8px; scrollbar-width: thin; }
.c-item { flex: 0 0 calc((100% - 3rem) / 4); scroll-snap-align: start; display: flex; }
@media (max-width: 1199.98px) { .c-item { flex-basis: calc((100% - 2rem) / 3); } }
@media (max-width: 767.98px)  { .c-item { flex-basis: 74%; } }
.c-btn { position: absolute; top: 38%; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--border); background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--text-dark); }
.c-btn[data-prev] { left: -14px; } .c-btn[data-next] { right: -14px; }
.c-btn:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 767.98px) { .c-btn { display: none; } }

/* ==================== PRODUCT CARD ==================== */
.p-card { position: relative; display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow var(--dur), transform var(--dur), border-color var(--dur); height: 100%; }
.p-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--primary-100); }
.p-link { position: relative; display: block; }
.p-cover {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: .9rem 1rem;
  background: radial-gradient(130% 120% at 100% 0%, var(--tone-a) 0%, var(--tone-b) 75%); color: var(--tone-ink);
}
.p-cover::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.18) 1.2px, transparent 1.3px); background-size: 14px 14px; mask-image: linear-gradient(200deg, #000 0%, transparent 55%); -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 55%); }
.p-cover > .bi { position: absolute; right: .6rem; top: .3rem; font-size: 3.4rem; opacity: .9; color: var(--tone-accent); transform: rotate(-8deg); }
.p-cover-type { position: absolute; left: 1rem; top: .9rem; font-size: .625rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 6px; background: rgba(255,255,255,.18); }
.p-cover-title { position: relative; font-weight: 800; font-size: 1.05rem; line-height: 1.2; max-width: 85%; text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.p-cover-mark { position: relative; font-size: .5625rem; font-weight: 800; letter-spacing: .2em; opacity: .7; margin-top: .4rem; }
.p-cover.sm { aspect-ratio: auto; height: 100%; padding: .5rem .6rem; }
.p-cover.sm .p-cover-title { font-size: .75rem; } .p-cover.sm > .bi { font-size: 1.8rem; } .p-cover.sm .p-cover-type, .p-cover.sm .p-cover-mark { display: none; }
.p-badge { position: absolute; right: .6rem; bottom: .6rem; padding: .25rem .55rem; border-radius: 6px; font-size: .6875rem; font-weight: 800; letter-spacing: .04em; }
.p-badge.off { background: var(--success); color: #fff; }
.p-badge.free { background: #fff; color: var(--success); }
.p-body { display: flex; flex-direction: column; gap: .35rem; padding: .9rem 1rem 1rem; flex: 1; }
.p-tags { display: flex; justify-content: space-between; gap: .5rem; font-size: .6875rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.p-level { padding: .1rem .4rem; border-radius: 5px; background: var(--primary-light); color: var(--primary); }
.p-level.lvl-competitive { background: var(--primary-dark); color: #fff; } .p-level.lvl-challenger { background: var(--ink); color: var(--accent); }
.p-title { font-size: 1rem; font-weight: 700; line-height: 1.3; margin: 0; }
.p-title a { color: var(--text-dark); } .p-title a:hover { color: var(--primary); }
.p-desc { font-size: .8125rem; color: var(--text-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.p-meta { font-size: .75rem; color: var(--text-muted); margin: 0; }
.p-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .5rem; margin-top: auto; padding-top: .25rem; }
.p-price strong { font-size: 1.2rem; font-weight: 800; color: var(--text-dark); }
.p-price strong.is-free { color: var(--success); }
.p-price s { color: var(--text-muted); font-size: .85rem; }
.p-off { color: var(--success); font-weight: 700; font-size: .85rem; }
.p-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .4rem; }
.p-actions .btn { --bs-btn-padding-x: .5rem; }
.p-card.is-compact .p-desc { -webkit-line-clamp: 2; }

/* ==================== PROMOTIONS ==================== */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 991.98px) { .promo-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 479.98px) { .promo-grid { grid-template-columns: 1fr; } }
.promo-card {
  position: relative; display: flex; flex-direction: column; gap: .2rem; min-height: 190px; padding: 1.1rem; border-radius: var(--radius-lg); overflow: hidden;
  background: radial-gradient(120% 120% at 100% 0%, var(--tone-a), var(--tone-b) 80%); color: var(--tone-ink);
  transition: transform var(--dur), box-shadow var(--dur);
}
.promo-card:hover { color: var(--tone-ink); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.promo-card strong { font-size: 1.15rem; line-height: 1.2; margin-top: auto; max-width: 80%; }
.promo-card > span { font-size: .875rem; opacity: .85; }
.promo-icon { position: absolute; right: -6px; bottom: -10px; font-size: 5.5rem; opacity: .2; }
.promo-off { align-self: flex-start; background: var(--tone-accent); color: var(--ink); font-weight: 800; font-size: .9rem; padding: .35rem .65rem; border-radius: 8px; opacity: 1 !important; }
.promo-off.free { background: #fff; color: var(--success); }
.promo-price { font-weight: 800; opacity: 1 !important; }
.promo-price s { opacity: .7; font-weight: 500; }
.promo-cta { font-weight: 700; opacity: 1 !important; margin-top: .35rem; font-size: .8125rem !important; }
.ad-label { position: absolute; right: .75rem; top: .75rem; font-size: .625rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .2rem .45rem; border-radius: 4px; background: rgba(255,255,255,.9); color: var(--ink); opacity: 1 !important; }

/* Wide banner */
.wide-banner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 1.5rem; margin-top: 1.25rem; border-radius: var(--radius-xl); overflow: hidden; background: var(--ink); color: rgba(255,255,255,.8); }
.wide-banner .wb-copy { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); }
.wide-banner h2 { color: #fff; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.9rem); }
.wide-banner .flow { margin: 1rem 0 1.25rem; }
.wide-banner .wb-media { height: 100%; min-height: 220px; position: relative; }
.wide-banner .wb-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wide-banner .wb-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--ink), transparent 45%); }
@media (max-width: 767.98px) { .wide-banner { grid-template-columns: 1fr; } .wide-banner .wb-media { min-height: 180px; order: -1; } .wide-banner .wb-media::before { background: linear-gradient(0deg, var(--ink), transparent 60%); } }

/* Category tiles (wireframe chips as tiles on home) */
.cat-tiles { display: grid; grid-template-columns: repeat(7, 1fr); gap: .75rem; }
.cat-tile { display: flex; flex-direction: column; align-items: center; gap: .5rem; padding: .9rem .5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); color: var(--text-dark); font-weight: 700; font-size: .875rem; text-align: center; transition: border-color var(--dur), transform var(--dur); }
.cat-tile:hover { border-color: var(--primary-100); transform: translateY(-2px); color: var(--primary); }
.cat-tile .bi { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.5rem; background: radial-gradient(120% 120% at 100% 0%, var(--tone-a), var(--tone-b)); color: #fff; }
@media (max-width: 991.98px) { .cat-tiles { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 479.98px) { .cat-tiles { grid-template-columns: repeat(3, 1fr); } }

/* ==================== STORE LISTING ==================== */
.store-layout { display: grid; grid-template-columns: 260px 1fr; gap: 1.25rem; align-items: start; }
.filter-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1rem 1.1rem; position: sticky; top: calc(var(--hdr-h) + var(--strip-h) + 1rem); }
.filter-card h2 { font-size: 1rem; display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.filter-group { padding: .9rem 0; border-top: 1px solid var(--border); }
.filter-group legend, .filter-group .fg-title { font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: .5rem; float: none; }
.filter-group .form-check { margin-bottom: .35rem; }
.store-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: .9rem 1.1rem; margin-bottom: 1rem; }
.store-top h1 { font-size: 1.25rem; margin: 0; }
.store-top .count { color: var(--text-muted); font-size: .875rem; margin-left: .5rem; font-weight: 500; }
.store-top .form-select { min-height: 40px; padding-block: .4rem; width: auto; }
@media (max-width: 991.98px) { .store-layout { grid-template-columns: 1fr; } .filter-col { display: none; } }
.filter-count:empty { display: none; }

/* ==================== PRODUCT PAGE ==================== */
.pd-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem; align-items: start; }
.pd-media { position: sticky; top: calc(var(--hdr-h) + var(--strip-h) + 1rem); }
.pd-media .p-cover { aspect-ratio: 4 / 3; border-radius: var(--radius-xl); padding: 1.5rem; }
.pd-media .p-cover-title { font-size: 1.6rem; } .pd-media .p-cover > .bi { font-size: 6rem; right: 1rem; top: 1rem; }
.pd-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1rem; }
.pd-actions .btn:only-child { grid-column: 1 / -1; }
.pd-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem .75rem; margin: 1rem 0; }
.pd-price strong { font-size: 2rem; font-weight: 800; color: var(--text-dark); }
.pd-price s { color: var(--text-muted); font-size: 1.1rem; }
.pd-price .p-off { font-size: 1.1rem; }
.pd-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: .6rem; margin: 1.25rem 0; }
.pd-facts div { background: var(--surface-2); border-radius: var(--radius); padding: .75rem .9rem; }
.pd-facts dt { font-size: .6875rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
.pd-facts dd { margin: .1rem 0 0; font-weight: 800; color: var(--text-dark); }
@media (max-width: 991.98px) {
  .pd-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .pd-media { position: static; }
  .pd-actions { position: fixed; left: 0; right: 0; bottom: var(--bottom-nav-h); z-index: 1030; margin: 0; padding: .6rem 1rem; background: #fff; box-shadow: 0 -6px 18px -10px rgba(11,16,32,.3); }
  .has-sticky-buy { padding-bottom: calc(var(--bottom-nav-h) + 76px); }
}

/* ==================== CART & CHECKOUT ==================== */
.cart-list, .co-step { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.cart-item { display: flex; gap: 1rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 120px; height: 84px; flex: 0 0 120px; border-radius: 10px; overflow: hidden; display: block; }
.cart-item .grow { flex: 1; min-width: 0; }
.cart-item .p-price { margin-top: .25rem; }
.price-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; position: sticky; top: calc(var(--hdr-h) + var(--strip-h) + 1rem); }
.price-box h2 { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); padding-bottom: .75rem; border-bottom: 1px solid var(--border); }
.price-box dl { margin: 0; }
.price-box dl div { display: flex; justify-content: space-between; padding: .45rem 0; }
.price-box dt { font-weight: 500; color: var(--text-body); } .price-box dd { margin: 0; font-weight: 600; }
.price-box .total { border-top: 1px dashed var(--border-strong); margin-top: .4rem; padding-top: .8rem; }
.price-box .total dt, .price-box .total dd { font-weight: 800; color: var(--text-dark); font-size: 1.1rem; }
.price-box .saving { margin: .75rem 0 0; color: var(--success); font-weight: 700; font-size: .9rem; }
.co-step { padding: 1.1rem 1.25rem; margin-bottom: 1rem; }
.co-step h2 { display: flex; align-items: center; gap: .6rem; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-muted); margin-bottom: .85rem; }
.co-step h2 span { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; background: var(--primary); color: #fff; font-size: .8125rem; }
.co-step .cart-item { padding-inline: 0; }
@media (max-width: 575.98px) { .cart-thumb { width: 84px; flex-basis: 84px; height: 64px; } }

/* ==================== PARTNER ==================== */
.partner-steps { counter-reset: ps; list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.partner-steps li { counter-increment: ps; position: relative; padding-left: 3.25rem; }
.partner-steps li::before { content: counter(ps); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--accent); color: var(--ink); font-weight: 800; }
.partner-steps strong { display: block; color: var(--text-dark); }

/* ==================== MOBILE BOTTOM NAV ==================== */
.bottom-nav { display: none; }
@media (max-width: 767.98px) {
  body.has-bottom-nav { padding-bottom: var(--bottom-nav-h); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035; height: var(--bottom-nav-h); background: #fff; border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--text-muted); font-size: .6875rem; font-weight: 600; }
  .bottom-nav a .bi { font-size: 1.25rem; }
  .bottom-nav a.active { color: var(--primary); }
  .bottom-nav .cart-badge { top: 6px; left: calc(50% + 4px); }
}

/* ==================== FLOATING WIDGETS ==================== */
.wa-fab {
  position: fixed; right: 20px; bottom: 24px; z-index: 1036; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25D366; color: #fff; font-size: 1.75rem; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4); transition: transform var(--dur);
}
.wa-fab:hover { color: #fff; transform: scale(1.06); }
body.has-tawk .wa-fab { bottom: 96px; }                 /* sits above the tawk.to bubble */
@media (max-width: 767.98px) {
  .wa-fab { width: 50px; height: 50px; font-size: 1.5rem; right: 14px; bottom: calc(var(--bottom-nav-h) + 14px); }
  body.has-tawk .wa-fab { bottom: calc(var(--bottom-nav-h) + 82px); }
  body.has-sticky-buy .wa-fab { bottom: calc(var(--bottom-nav-h) + 90px); }
}

/* Demo-data ribbon (only rendered while MOCK_MODE is on) */
.demo-ribbon { background: var(--warning-light); color: #7A3A06; font-size: .75rem; font-weight: 600; text-align: center; padding: .35rem 1rem; }
.footer-contact li { display: flex; gap: .5rem; align-items: flex-start; margin-bottom: .45rem; color: rgba(255,255,255,.75); }
.footer-contact .bi { color: var(--accent); margin-top: .15rem; }
.footer-contact a { color: rgba(255,255,255,.85); word-break: break-word; }
.footer-contact a:hover { color: var(--accent); }
address { font-style: normal; line-height: 1.6; }
/* refinements after visual QA */
.p-actions { grid-template-columns: auto 1fr; }
.p-actions .btn { white-space: nowrap; font-size: .8125rem; }
.p-card:not(.is-compact) .p-actions { grid-template-columns: 1fr 1fr; }
.wide-banner .eyebrow { color: var(--accent); }
@media (max-width: 575.98px) {
  .cat-tiles { display: flex; overflow-x: auto; gap: .6rem; scrollbar-width: none; padding-bottom: 2px; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 88px; padding: .7rem .35rem; font-size: .75rem; }
  .cat-tile .bi { width: 44px; height: 44px; font-size: 1.25rem; border-radius: 13px; }
}
.store-layout > * { min-width: 0; }
@media (max-width: 575.98px) {
  .store-top { flex-direction: column; align-items: stretch; }
  .store-top .d-flex { justify-content: space-between; }
  .store-top .form-select { flex: 1; min-width: 0; }
}
@media (max-width: 575.98px) { .store-top { padding: .75rem; } .store-top .d-flex { flex-wrap: wrap; } .store-top .form-select { width: 100%; flex-basis: 100%; } .store-top h1 { font-size: 1.1rem; } }

/* ==================== FEATURE HERO SLIDE (supplied photo stays prominent) ==================== */
.slide.slide-feature { grid-template-columns: minmax(0, .82fr) minmax(0, 1.6fr); background: radial-gradient(120% 140% at 0% 0%, #26306E 0%, #0B1020 70%); }
.slide-feature .slide-copy { padding-right: 1.25rem; }
.slide-feature .slide-copy h2 { font-size: clamp(1.5rem, 1rem + 1.8vw, 2.35rem); }
.slide-feature .slide-eyebrow { font-family: var(--font-hi); letter-spacing: .02em; text-transform: none; font-size: .875rem; background: rgba(242,165,22,.18); color: var(--accent); }
.slide-feature .slide-media { aspect-ratio: 1837 / 948; align-self: center; }
.slide-feature .slide-media picture, .slide-feature .slide-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.slide-feature .slide-media::before { background: linear-gradient(90deg, #0B1020 0%, rgba(11,16,32,0) 9%); }
@media (max-width: 767.98px) {
  .slide.slide-feature { grid-template-columns: 1fr; }
  .slide-feature .slide-media { height: auto; aspect-ratio: 1837 / 948; }
  .slide-feature .slide-media::before { background: linear-gradient(0deg, #0B1020 0%, rgba(11,16,32,0) 18%); }
}

/* ==================== DIRECTOR ==================== */
.dir-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: center; }
.dir-visual { position: relative; margin: 0; aspect-ratio: 1 / 1; border-radius: var(--radius-xl); overflow: hidden; background: radial-gradient(120% 120% at 20% 0%, #24305f 0%, #0B1020 75%); max-width: 460px; width: 100%; justify-self: center; }
.dir-visual.is-compact { max-width: 340px; }
.dir-board { position: absolute; inset: 0; color: #9FB0FF; }
.dir-board svg { width: 100%; height: 100%; }
.dir-arch { position: absolute; left: 14%; right: 14%; bottom: 0; height: 74%; border-radius: 999px 999px 0 0; background: linear-gradient(180deg, var(--accent) 0%, #E08A00 100%); opacity: .95; }
.dir-cutout { position: absolute; left: 50%; bottom: 0; width: 92%; height: auto; transform: translateX(-50%); filter: drop-shadow(0 12px 24px rgba(0,0,0,.35)); }
.dir-tag { position: absolute; left: .9rem; bottom: .9rem; display: flex; flex-direction: column; padding: .55rem .85rem; border-radius: 12px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); line-height: 1.25; }
.dir-tag strong { color: var(--text-dark); font-size: .95rem; }
.dir-tag span { font-size: .75rem; color: var(--text-muted); font-weight: 600; }
.dir-quote { position: relative; margin: 0 0 1.25rem; padding-left: 1.25rem; border-left: 3px solid var(--accent); }
.dir-quote p { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: var(--text-dark); line-height: 1.75; margin-bottom: .5rem; }
.dir-quote footer { font-size: .875rem; color: var(--text-muted); }
.dir-letter p { line-height: 1.85; color: var(--text-body); }
.dir-letter p:first-child::first-letter { float: left; font-size: 3.2rem; line-height: .9; font-weight: 800; color: var(--primary); margin: .2rem .5rem 0 0; }
.dir-sign { display: flex; align-items: center; gap: .75rem; padding-top: 1rem; margin-top: .5rem; border-top: 1px dashed var(--border-strong); }
.dir-sign strong { display: block; font-family: "Georgia", serif; font-style: italic; font-size: 1.3rem; color: var(--text-dark); }
.dir-sign span span { font-size: .8125rem; color: var(--text-muted); }
.draft-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .8125rem; color: #7A3A06; background: var(--warning-light); border: 1px dashed #F2C48B; border-radius: 10px; padding: .55rem .75rem; }
.draft-note code { font-size: .75rem; color: #7A3A06; }
@media (max-width: 991.98px) { .dir-grid { grid-template-columns: 1fr; } .dir-visual.is-compact { max-width: 300px; } }

/* ==================== TEAM ==================== */
.team-card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 1.5rem 1.25rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); transition: transform var(--dur), box-shadow var(--dur); color: inherit; }
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: inherit; }
.team-card img { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 5px var(--accent-light), 0 0 0 6px var(--accent); margin-bottom: 1rem; }
.team-card h3 { font-size: 1.1rem; margin: 0 0 .15rem; }
.team-role { color: var(--primary); font-weight: 700; font-size: .875rem; margin: 0 0 .5rem; }
.team-bio { color: var(--text-muted); font-size: .875rem; margin: 0; }
.team-card.is-join { border-style: dashed; justify-content: center; gap: .5rem; }

/* ==================== TESTIMONIALS ==================== */
.t-slider .slides { border-radius: var(--radius-lg); }
.t-slide { background: none !important; display: block; min-height: 0; }
.t-card { margin: 0; height: 100%; display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.25rem; align-items: center; padding: clamp(1.25rem, 1rem + 1vw, 2rem); border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--primary-light), #fff 70%); border: 1px solid var(--primary-100); }
.t-photo { grid-row: span 2; width: 88px; height: 88px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--primary-100); }
.t-initial { display: grid; place-items: center; background: var(--primary); color: #fff; font-size: 2rem; font-weight: 800; }
.t-card blockquote { margin: 0; }
.t-card blockquote p { font-size: clamp(1rem, .95rem + .35vw, 1.2rem); color: var(--text-dark); font-weight: 500; line-height: 1.7; margin: 0; }
.t-card figcaption { display: flex; flex-direction: column; gap: .15rem; font-size: .875rem; color: var(--text-muted); align-items: flex-start; }
.t-card figcaption strong { color: var(--text-dark); font-size: 1rem; }
.t-result { color: var(--success); font-weight: 700; display: inline-flex; gap: .35rem; align-items: center; }
.t-slider .slider-btn { height: 48px; }
@media (max-width: 575.98px) { .t-card { grid-template-columns: 1fr; text-align: left; } .t-photo { grid-row: auto; width: 64px; height: 64px; } }

/* ==================== FOOTER CREDIT ==================== */
.footer-bottom .credit { font-size: .8125rem; color: rgba(255,255,255,.55); letter-spacing: .01em; }
.footer-bottom .credit a { color: rgba(255,255,255,.9); font-weight: 700; border-bottom: 1px solid rgba(242,165,22,.6); padding-bottom: 1px; }
.footer-bottom .credit a:hover { color: var(--accent); border-color: var(--accent); }
.dir-grid > * { min-width: 0; }
.draft-note code { word-break: break-all; }
/* director portrait (replaces cut-out) */
.dir-visual { display: grid; place-items: center; }
.dir-portrait { position: relative; width: 74%; height: auto; border-radius: 50%; box-shadow: 0 0 0 8px rgba(242,165,22,.9), 0 0 0 16px rgba(242,165,22,.18), 0 24px 50px -12px rgba(0,0,0,.6); margin-bottom: 8%; }
.dir-visual .dir-tag { left: 50%; transform: translateX(-50%); bottom: 1rem; text-align: center; white-space: nowrap; }
.draft-note > span { display: block; }
/* feature slide: let the photo fill the full slide height */
@media (min-width: 768px) {
  .slide-feature .slide-media { aspect-ratio: auto; align-self: stretch; min-height: 420px; }
  .slide-feature .slide-media img { object-position: 58% 50%; }
}

/* product cover photos (uploaded in admin) */
.p-cover.has-img { padding: 0; overflow: hidden; }
.p-cover.has-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.p-cover.has-img .p-cover-type { position: absolute; left: .6rem; top: .6rem; z-index: 1; background: rgba(11, 16, 32, .72); color: #fff; padding: .15rem .5rem; border-radius: 999px; }
.pd-description { color: var(--text); line-height: 1.7; overflow-wrap: anywhere; }
.p-cover.has-img::before { display: none; }
