/* SMR Jewellers — styles for the inner pages (categories, products, plan, help, wishlist, search...).
   Loaded after styles.css and features.css. */

/* ---------- Basics shared by every page ---------- */
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #FFFFFF; color: var(--maroon); font-weight: 600; box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.skip-link:focus { left: 8px; }
.catnav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--gold); }
.catnav .catnav__plan[aria-current="page"], .catnav .catnav__live[aria-current="page"] { box-shadow: 0 0 0 2px #FFFFFF; }
.utility__item[aria-current="page"], .utility__item[aria-current="page"] span { color: var(--maroon); font-weight: 600; }
button.btn { cursor: pointer; font-family: var(--sans); font-size: 15px; }
.footer__badge[aria-disabled="true"] { opacity: .6; cursor: default; }
.section--tight { padding-top: clamp(36px, 5vw, 56px); padding-bottom: clamp(24px, 3vw, 40px); }
.section-head__count { font-size: 14px; color: var(--muted); }

/* ---------- Page banner and breadcrumbs ---------- */
.page-hero { background: radial-gradient(700px 300px at 100% 0, rgba(201,162,77,.25), transparent 60%), linear-gradient(115deg, var(--maroon-dark), var(--maroon-deep) 60%, #7A1633); color: #FFFFFF; }
.page-hero__inner { padding-top: 32px; padding-bottom: clamp(36px, 5vw, 52px); display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; }
.page-hero p { color: var(--rose); max-width: 640px; font-size: 16px; line-height: 1.7; }
.page-hero .actions { margin-top: 6px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--rose); }
.crumbs a { color: var(--rose); display: inline-flex; align-items: center; min-height: 32px; }
.crumbs a:hover { color: #FFFFFF; }
.crumbs__sep { opacity: .5; }
.crumbs [aria-current] { color: #FFFFFF; font-weight: 500; }
.cal-page > .crumbs, .product-page > .crumbs { color: var(--muted); margin-bottom: 18px; }
.cal-page > .crumbs a, .product-page > .crumbs a { color: var(--muted); }
.cal-page > .crumbs a:hover, .product-page > .crumbs a:hover { color: var(--maroon); }
.cal-page > .crumbs [aria-current], .product-page > .crumbs [aria-current] { color: var(--ink); }

/* ---------- Category pages ---------- */
.type-tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.type-tile { position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 1 / 1; color: #FFFFFF; background: #E9DDD2; }
.type-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.type-tile:hover img { transform: scale(1.05); }
.type-tile:hover { color: #FFFFFF; }
.type-tile span { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(0deg, rgba(0,0,0,.65), transparent); font-family: var(--serif); font-size: 20px; }
.empty { text-align: center; padding: clamp(36px, 6vw, 64px) 24px; border: 1.5px dashed #DCCDBD; border-radius: 28px; background: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty h2 { font-size: 30px; }
.empty p { max-width: 520px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.empty .actions { justify-content: center; margin-top: 8px; }
.occasions { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.occasion { display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: 20px; background: var(--cream); border: 1px solid var(--line); color: var(--ink); transition: border-color .15s ease, transform .15s ease; }
.occasion:hover { color: var(--ink); border-color: var(--maroon); transform: translateY(-2px); }
.occasion b { font-family: var(--serif); font-size: 20px; font-weight: 600; }
.occasion span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Product cards (shared) ---------- */
.product__name { font-size: 15px; font-weight: 500; color: var(--ink); }
.product__name:hover { color: var(--maroon); }
.product__wish { border: 0; padding: 0; cursor: pointer; color: var(--maroon); transition: background .15s ease, color .15s ease; }
.product__wish:hover { background: var(--cream); }
.product__wish[aria-pressed="true"] { background: var(--maroon); color: #FFFFFF; }
.product__wish[aria-pressed="true"] svg { fill: currentColor; }

/* Photos with a heart baked into the picture: the real button sits exactly on top of it */
.product__media--baked .product__wish, .product-page__media--baked .product__wish { top: 12.4%; right: auto; left: 82.8%; transform: translate(-50%, -50%); width: 16%; height: auto; aspect-ratio: 1; }
.product__media--baked .product__wish svg, .product-page__media--baked .product__wish svg { width: 38%; height: auto; }

/* ---------- Product page ---------- */
.product-page { padding-top: 28px; padding-bottom: 20px; }
.product-page__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.product-page__media { position: relative; border-radius: 28px; overflow: hidden; background: var(--cream); border: 1px solid var(--line); }
.product-page__media img { width: 100%; height: auto; max-height: 640px; object-fit: cover; }
.product-page__media .product__tag { top: 16px; left: 16px; }
.product-page__info { display: flex; flex-direction: column; gap: 18px; padding-top: 6px; }
.product-page__info h1 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; }
.product-page__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.product-page__price .product__price { font-size: 28px; }
.product-page__note { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 520px; }
.product-page__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.product-page__points { list-style: none; margin: 8px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14.5px; color: var(--ink); }
.product-page__points li { position: relative; padding-left: 20px; line-height: 1.5; }
.product-page__points li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.product-page__points a { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.wish-btn__on { display: none; }
.wish-btn[aria-pressed="true"] { background: var(--maroon); color: #FFFFFF; }
.wish-btn[aria-pressed="true"] .wish-btn__on { display: inline; }
.wish-btn[aria-pressed="true"] .wish-btn__off { display: none; }

/* ---------- Call-to-action band ---------- */
.cta-band { background: linear-gradient(115deg, var(--maroon-dark), #A3274A); color: #FFFFFF; }
.cta-band__inner { padding-top: 44px; padding-bottom: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px; }
.cta-band h2 { font-size: clamp(26px, 3vw, 34px); }
.cta-band p { margin-top: 6px; color: var(--rose); font-size: 15px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Home: store teaser ---------- */
.visit-strip { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.visit-strip__inner { padding-top: 32px; padding-bottom: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; }
.visit-strip__pin { width: 56px; height: 56px; border-radius: 50%; background: var(--maroon); color: #FFFFFF; display: grid; place-items: center; flex: 0 0 auto; }
.visit-strip__copy { flex: 1 1 320px; }
.visit-strip__copy h2 { font-size: clamp(22px, 2.6vw, 28px); }
.visit-strip__copy p { margin-top: 4px; font-size: 14.5px; color: var(--muted); line-height: 1.6; }
.visit-strip__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Booking section (live shopping and stores pages) ---------- */
.book { background: var(--cream); border-top: 1px solid var(--line); scroll-margin-top: 20px; }
.book__inner { padding-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(48px, 6vw, 80px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.book__copy { display: flex; flex-direction: column; gap: 16px; }
.book__copy h2 { font-size: clamp(28px, 3.4vw, 38px); line-height: 1.15; }
.book__copy > p { font-size: 16px; line-height: 1.7; color: var(--muted); max-width: 480px; }
.book__points { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; }
.book__points li { display: flex; gap: 12px; line-height: 1.5; }
.book__points li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: 8px; }
.book__card { margin: 0; padding: clamp(22px, 3vw, 32px); border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(94,16,40,.08); }
.stores--page { border-top: 0; }
.stores--page .stores__inner { padding-top: 40px; padding-bottom: 56px; }
.live--page h1 { font-size: clamp(34px, 4vw, 46px); line-height: 1.15; }
.live--page .crumbs { margin-bottom: 4px; }
.faq-wrap { padding-top: clamp(40px, 5vw, 64px); }
.faq--page { max-width: 820px; margin: 0 auto; }
.faq--page h2 { font-family: var(--serif); font-size: 30px; margin: 0 0 14px; }

/* ---------- Gold Investment Plan ---------- */
.plan-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.plan-card { position: relative; padding: clamp(26px, 3.4vw, 40px); border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(94,16,40,.08); display: flex; flex-direction: column; gap: 14px; scroll-margin-top: 20px; }
.plan-card--alt { background: linear-gradient(160deg, #FFF9EA, #FFFFFF); border-color: #EBD9A8; }
.plan-card h2 { font-size: 32px; }
.plan-card > p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.plan-card__badge { align-self: flex-start; padding: 5px 12px; border-radius: 999px; background: var(--maroon); color: #F4DFA6; font-size: 11px; font-weight: 700; letter-spacing: 1px; }
.plan-card__badge--gold { background: var(--gold); color: var(--maroon-deep); }
.ticks { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.5; }
.ticks svg { flex: 0 0 auto; margin-top: 2px; color: #FFFFFF; background: var(--maroon); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 22px; background: var(--cream); border: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--muted); }
.steps b { width: 40px; height: 40px; border-radius: 50%; background: var(--gold); color: var(--maroon-deep); display: grid; place-items: center; font-size: 16px; }
.steps strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.calc__copy { display: flex; flex-direction: column; gap: 12px; }
.calc__copy h2 { font-size: clamp(28px, 3.4vw, 38px); }
.calc__copy p { color: var(--muted); font-size: 16px; }
.calc__card { padding: clamp(22px, 3vw, 34px); border-radius: 28px; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(94,16,40,.08); }
.calc__label { font-size: 13px; font-weight: 600; color: var(--muted); }
.calc__amount { margin: 4px 0 14px; }
.calc__amount output { font-family: var(--serif); font-size: 44px; font-weight: 700; color: var(--maroon); }
.calc input[type="range"] { width: 100%; accent-color: var(--maroon); height: 32px; }
.calc__rows { margin-top: 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.calc__rows div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.calc__rows b { font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; }
.calc__rows .calc__total { border-bottom: 0; color: var(--maroon-deep); font-weight: 600; }
.calc__rows .calc__total b { font-family: var(--serif); font-size: 26px; color: var(--maroon); }
.calc__note { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.5; }

/* ---------- Help ---------- */
.help-cards--page { max-width: 820px; margin: 0 auto 40px; }

/* ---------- Search ---------- */
.bigsearch { display: flex; gap: 12px; max-width: 720px; margin: 0 auto 20px; }
.bigsearch input { flex: 1; min-width: 0; height: 52px; border-radius: 26px; border: 1.5px solid var(--line); background: var(--cream); padding: 0 22px; font: inherit; font-size: 16px; color: var(--ink); }
.bigsearch input:focus { outline: none; border-color: var(--maroon); background: #FFFFFF; box-shadow: 0 0 0 4px rgba(142,31,61,.1); }
.search-status { text-align: center; color: var(--muted); margin-bottom: 28px; min-height: 1.4em; }
#search-products { margin-bottom: 32px; }
.search-pages { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; display: grid; gap: 10px; }
.search-pages a { display: grid; gap: 2px; padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); }
.search-pages a:hover { border-color: var(--maroon); color: var(--ink); }
.search-pages b { font-weight: 600; }
.search-pages span { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Legal and 404 ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 26px; margin: 32px 0 12px; }
.legal p, .legal li { font-size: 15.5px; line-height: 1.8; color: var(--muted); }
.legal ul { padding-left: 22px; display: grid; gap: 10px; }
.legal strong { color: var(--ink); }
.legal a { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal__note { padding: 14px 18px; border-radius: 14px; background: #FFF8E7; border: 1px solid #F0E0B5; color: #5E4710 !important; margin-bottom: 8px; }
.notfound { text-align: center; max-width: 640px; display: flex; flex-direction: column; align-items: center; gap: 14px; min-height: 50vh; justify-content: center; }
.notfound h1 { font-size: clamp(32px, 4vw, 44px); }
.notfound p { color: var(--muted); }
.notfound .actions { justify-content: center; }

/* ---------- Calendar and account pages ---------- */
.cal-page { --c-gold-ink: #3A2712; --c-gold-soft: #F6ECD9; --c-blush: #F6E6EA; --c-muslim: #2F7A5B; --c-sikh: #D0791F; padding-top: 28px; padding-bottom: 56px; }
.cal-page .cal { background: var(--cream); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px rgba(94,16,40,.1); }
.acct-page { padding-top: clamp(28px, 4vw, 56px); padding-bottom: clamp(48px, 6vw, 88px); }
.acct-card { max-width: 980px; margin: 0 auto; border-radius: 28px; overflow: hidden; background: #FFFFFF; border: 1px solid var(--line); box-shadow: 0 30px 70px rgba(94,16,40,.14); }
.acct-card .acct { max-height: none; }
.acct__side h1 { font-size: 32px; line-height: 1.15; }
.acct__call a { text-decoration: underline; text-underline-offset: 2px; }
.acct-page .acct__tabs { margin-right: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1099px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .type-tile { grid-column: span 2; }
  .type-tile:nth-child(4) { grid-column: 2 / span 2; }
  .type-tile:nth-child(5) { grid-column: 4 / span 2; }
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  .product-page__grid, .book__inner, .calc, .plan-cards { grid-template-columns: 1fr; }
  .product-page__media { max-width: 520px; }
}
@media (max-width: 599px) {
  .type-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .type-tile, .type-tile:nth-child(4), .type-tile:nth-child(5) { grid-column: auto; }
  .type-tile:last-child { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .steps, .occasions { grid-template-columns: 1fr; }
  .bigsearch { flex-direction: column; }
  .bigsearch .btn { justify-content: center; }
  .cta-band__actions .btn { flex: 1 1 100%; justify-content: center; }
  .product-page__actions .btn { flex: 1 1 100%; justify-content: center; }
  .visit-strip__actions .btn { flex: 1 1 calc(50% - 5px); justify-content: center; }
}

/* ============================================================
   Collections, sub-categories, hover menu, offers, product detail
   ============================================================ */

/* ---------- Banner with moving photo / video and gold sparkles ---------- */
.coll-hero { position: relative; isolation: isolate; overflow: hidden; color: #FFFFFF; background: var(--maroon-dark); min-height: clamp(380px, 54vh, 580px); display: flex; align-items: flex-end; }
.coll-hero--compact { min-height: clamp(250px, 34vh, 340px); }
.coll-hero__media { position: absolute; inset: 0; z-index: -3; }
.coll-hero__photo { position: absolute; inset: -4%; background-size: cover; background-position: center; transform-origin: 60% 40%; animation: kenburns 30s ease-in-out infinite alternate; }
.coll-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.coll-hero__glow { position: absolute; inset: -20%; background: radial-gradient(40% 50% at 18% 30%, rgba(201,162,77,.4), transparent 70%), radial-gradient(45% 55% at 85% 70%, rgba(163,39,74,.6), transparent 70%), linear-gradient(120deg, #3A0817, #5E1028 55%, #7A1633); animation: glow-drift 20s ease-in-out infinite alternate; }
.coll-hero__shade { position: absolute; inset: 0; z-index: -2; background: linear-gradient(0deg, rgba(36,6,16,.88), rgba(36,6,16,.2) 58%, rgba(36,6,16,.5)), linear-gradient(90deg, rgba(36,6,16,.62), transparent 72%); }
.coll-hero__sparkles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.coll-hero__inner { width: 100%; padding-top: 56px; padding-bottom: clamp(30px, 5vw, 56px); display: flex; flex-direction: column; gap: 14px; }
.coll-hero h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.08; max-width: 780px; }
.coll-hero--compact h1 { font-size: clamp(30px, 4vw, 46px); }
.coll-hero p { max-width: 620px; color: var(--rose); font-size: clamp(15px, 1.4vw, 18px); line-height: 1.7; }
.coll-hero .actions { margin-top: 8px; }
@keyframes kenburns { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.2) translate3d(-2%, -1.5%, 0); } }
@keyframes glow-drift { to { transform: translate3d(4%, 3%, 0) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .coll-hero__photo, .coll-hero__glow { animation: none; } }

/* ---------- Sub-category tiles ---------- */
.sub-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 30px 22px; }
.sub-tile { display: flex; flex-direction: column; gap: 12px; color: var(--ink); text-align: center; }
.sub-tile:hover { color: var(--maroon); }
.tile-art { display: block; aspect-ratio: 1 / 1; border-radius: 22px; overflow: hidden; background: var(--cream); transition: transform .25s ease, box-shadow .25s ease; }
.tile-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.tile-art--icon { display: grid; place-items: center; background: radial-gradient(circle at 28% 20%, #A3274A, #4A0B1F 75%); color: var(--gold); }
.tile-art--icon svg { width: 46%; height: 46%; }
.sub-tile:hover .tile-art { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(94,16,40,.22); }
.sub-tile__name { font-family: var(--serif); font-size: 17px; line-height: 1.25; }

/* ---------- Listing page: chips, toolbar, product description ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; padding: 2px 0 16px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chips a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #FFFFFF; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; transition: border-color .15s ease, color .15s ease; }
.chips a:hover { border-color: var(--maroon); color: var(--maroon); }
.chips a.is-active { background: var(--maroon); border-color: var(--maroon); color: #FFFFFF; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.toolbar__count { font-size: 14px; color: var(--muted); }
.toolbar__sort { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.toolbar__sort select { height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.toolbar__sort select:focus { outline: 2px solid var(--maroon); outline-offset: 1px; }
.product__desc { font-size: 13px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Hover menu in the header (laptop and wider) ---------- */
.catnav__item { display: flex; align-items: center; align-self: stretch; }
.mega { display: none; }
@media (min-width: 1100px) {
  .catnav { position: relative; z-index: 30; }
  .catnav__inner { overflow: visible; }
  .mega { display: block; position: absolute; left: 0; right: 0; top: 100%; background: #FFFFFF; border-top: 3px solid var(--gold); box-shadow: 0 30px 60px rgba(42,10,22,.25); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s; z-index: 40; }
  .catnav__item:hover .mega, .catnav__item:focus-within .mega { opacity: 1; visibility: visible; transform: none; transition-delay: .06s, .06s, 0s; }
  .mega__inner { padding-top: 26px; padding-bottom: 28px; display: flex; align-items: center; gap: 32px; }
  .mega__tiles { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 20px 16px; }
  .catnav .mega a { color: var(--ink); min-height: 0; display: flex; box-shadow: none; }
  .catnav .mega a:hover { color: var(--maroon); }
  .mega__tile { flex-direction: column; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; text-align: center; line-height: 1.3; }
  .mega__tile .tile-art { width: 76px; border-radius: 18px; }
  .catnav .mega .mega__all { flex: 0 0 auto; color: var(--maroon); font-weight: 600; font-size: 14px; }
}

/* ---------- Offers ---------- */
.offer-banners { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.offer-banner { display: flex; align-items: center; gap: 24px; padding: clamp(22px, 3vw, 36px); border-radius: 28px; overflow: hidden; background: linear-gradient(90deg, #EFEFEF, #FAFAFA 45%, #EFEFEF); border: 1px solid var(--line); }
.offer-banner--plan { background: linear-gradient(115deg, var(--maroon-dark), #A3274A); border-color: transparent; color: #FFFFFF; }
.offer-banner__img { flex: 0 0 36%; max-width: 200px; height: auto; }
.offer-banner__copy { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.offer-banner h2 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.offer-banner p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.offer-banner--plan p { color: var(--rose); }
.offer-banner__tag { align-self: flex-start; font-size: 11px; letter-spacing: 2px; font-weight: 700; color: var(--maroon); }
.offer-banner__tag--gold { color: var(--gold); }

/* ---------- Product page: description ---------- */
.product-page__short { font-size: 17px; line-height: 1.65; color: var(--ink); max-width: 520px; }
.product-details { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px 40px; margin-top: 48px; padding-top: 40px; border-top: 1px solid var(--line); }
.product-details h2 { font-size: 22px; margin-bottom: 12px; }
.product-details p { font-size: 15.5px; line-height: 1.85; color: var(--muted); }
.product-details ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 14.5px; line-height: 1.5; }
.product-details li { position: relative; padding-left: 20px; }
.product-details li::before { content: ""; position: absolute; left: 0; top: 8px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.product-details a { color: var(--maroon); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 899px) {
  .offer-banners, .product-details { grid-template-columns: 1fr; }
  .coll-hero { min-height: 340px; }
  .coll-hero__inner { padding-top: 40px; }
}
@media (max-width: 599px) {
  .sub-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .offer-banner { flex-direction: column; align-items: flex-start; }
  .offer-banner__img { max-width: 160px; }
  .coll-hero .actions .btn { flex: 1 1 100%; justify-content: center; }
  .toolbar__sort { width: 100%; justify-content: space-between; }
}

@media (min-width: 1100px) {
  /* one tidy row: as many columns as there are tiles, each at most 190px wide */
  .sub-tiles { grid-template-columns: repeat(var(--n, 8), minmax(0, 190px)); }
}

/* the model photo has a white background: blend it into the grey banner */
.offer-banner__img, .promo__img { mix-blend-mode: multiply; }

/* ============================================================
   Listing pages: category rail, toolbar, quick chips, active filters,
   Filters dialog, load more. Behaviour in js/listing.js.
   ============================================================ */
[data-listing] [hidden], .rail [hidden] { display: none !important; }

/* ---------- Category rail ---------- */
.rail { position: relative; margin: 0 0 26px; }
.rail__track { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 2px 6px; scrollbar-width: none; }
.rail__track::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 auto; width: 132px; display: flex; flex-direction: column; align-items: center; gap: 10px; color: var(--ink); text-align: center; scroll-snap-align: start; }
.rail__item:hover { color: var(--maroon); }
.rail__item .tile-art { width: 100%; border-radius: 22px; border: 2px solid transparent; transition: transform .25s ease, box-shadow .25s ease, border-color .15s ease; }
.rail__item:hover .tile-art { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(94,16,40,.18); }
.rail__item span:last-child { font-family: var(--serif); font-size: 15.5px; line-height: 1.25; }
.rail__item.is-active .tile-art { border-color: var(--gold); box-shadow: 0 0 0 3px #FFFFFF inset; }
.rail__item.is-active span:last-child { color: var(--maroon); font-weight: 600; }
.rail__btn { position: absolute; top: 58px; transform: translateY(-50%); z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; color: var(--maroon); display: grid; place-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(42,10,22,.14); }
.rail__btn:hover { background: var(--cream); }
.rail__btn--prev { left: -14px; }
.rail__btn--prev svg { transform: rotate(180deg); }
.rail__btn--next { right: -14px; }

/* ---------- Toolbar ---------- */
.lst-bar { display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lst-filter-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--cream); color: var(--maroon); font: 500 14.5px var(--sans); cursor: pointer; transition: border-color .15s ease; }
.lst-filter-btn:hover { border-color: var(--maroon); }
.lst-filter-btn__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--maroon); color: #FFFFFF; font-size: 12px; display: grid; place-items: center; }
.lst-count { font-size: 14px; color: var(--muted); letter-spacing: .3px; }
.lst-count b { color: var(--ink); font-weight: 600; }
.lst-sort { margin-left: auto; display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); }
.lst-sort select { height: 44px; padding: 0 36px 0 14px; border: 1px solid var(--line); border-radius: 12px; background: #FFFFFF; font: inherit; font-size: 14px; color: var(--ink); cursor: pointer; }
.lst-sort select:focus-visible { outline: 2px solid var(--maroon); outline-offset: 1px; }

/* ---------- Quick chips ---------- */
.lst-quick { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.quick { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 10px; border: 1px solid transparent; font: 500 13px var(--sans); letter-spacing: .6px; text-transform: uppercase; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.quick--new { background: #F4EBD7; color: var(--gold-text); }
.quick--best { background: #F6E1E7; color: var(--maroon); }
.quick:hover { border-color: currentColor; }
.quick[aria-pressed="true"] { background: var(--maroon); color: #FFFFFF; border-color: var(--maroon); }

/* ---------- Active filters ---------- */
.lst-active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.lst-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 12px 0 14px; border-radius: 999px; border: 1px solid #E3CFA0; background: #FBF3E2; color: var(--ink); font: 500 13px var(--sans); cursor: pointer; }
.lst-chip svg { color: var(--maroon); }
.lst-chip:hover { border-color: var(--maroon); }
.lst-clear { border: 0; background: none; padding: 8px 6px; color: var(--maroon); font: 600 13px var(--sans); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

[data-listing] .products { margin-top: 26px; }

/* ---------- Product card extras ---------- */
.product__weight { position: absolute; left: 12px; bottom: 12px; min-width: 42px; height: 42px; padding: 0 8px; border-radius: 21px; background: var(--maroon); color: #FFFFFF; border: 2px solid #FFFFFF; font-size: 12.5px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.18); }

/* ---------- No results and load more ---------- */
.lst-none { margin-top: 26px; text-align: center; padding: clamp(32px, 6vw, 56px) 24px; border: 1.5px dashed #DCCDBD; border-radius: 28px; background: var(--cream); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lst-none h2 { font-size: 26px; }
.lst-none p { max-width: 460px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.lst-none .actions { justify-content: center; }
.lst-more { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 40px; }
.lst-more__text { font-size: 14px; color: var(--muted); }
.lst-more__bar { width: 220px; height: 3px; border-radius: 2px; background: var(--line); overflow: hidden; }
.lst-more__bar span { display: block; height: 100%; background: var(--gold); transition: width .3s ease; }
.lst-more__sentinel { display: block; width: 1px; height: 1px; }

/* ---------- Filters dialog ---------- */
html.has-dialog { overflow: hidden; }
.filters { width: min(880px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 48px)); max-width: none; max-height: none; padding: 0; border: 0; border-radius: 26px; background: #FFFFFF; box-shadow: 0 40px 80px rgba(42,10,22,.35); overflow: hidden; }
.filters::backdrop { background: rgba(42,10,22,.55); backdrop-filter: blur(2px); }
.filters[open] { animation: filters-in .22s ease; }
@keyframes filters-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
.filters__form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.filters__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px 18px 28px; border-bottom: 1px solid var(--line); background: var(--cream); }
.filters__head h2 { font-size: 24px; }
.filters__close { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #FFFFFF; color: var(--maroon); display: grid; place-items: center; cursor: pointer; }
.filters__close:hover { border-color: var(--maroon); }
.filters__body { flex: 1; min-height: 0; display: grid; grid-template-columns: 230px minmax(0, 1fr); }
.filters__tabs { display: flex; flex-direction: column; overflow-y: auto; background: var(--cream); border-right: 1px solid var(--line); padding: 10px 0; }
.filters__tabs [role=tab] { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; padding: 0 20px 0 26px; border: 0; border-left: 3px solid transparent; background: none; text-align: left; font: 500 15px var(--serif); color: var(--ink); cursor: pointer; }
.filters__tabs [role=tab]:hover { color: var(--maroon); }
.filters__tabs [role=tab][aria-selected="true"] { background: #FFFFFF; border-left-color: var(--maroon); color: var(--maroon); font-weight: 600; }
.filters__tabs [role=tab]:focus-visible { outline: 2px solid var(--maroon); outline-offset: -4px; }
.filters__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.filters__panels { overflow-y: auto; padding: 14px 28px 24px; }
.filters__panel { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; }
.filters__legend { padding: 8px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-text); }
.check { display: flex; align-items: center; gap: 14px; min-height: 50px; border-bottom: 1px solid #F2EAE0; cursor: pointer; font-size: 15px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid #CDB9A6; background: #FFFFFF; display: grid; place-items: center; transition: background .12s ease, border-color .12s ease; }
.check__box::after { content: ""; width: 10px; height: 5px; border: 2px solid #FFFFFF; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.check input:checked + .check__box { background: var(--maroon); border-color: var(--maroon); }
.check input:checked + .check__box::after { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--maroon); outline-offset: 2px; }
.check:hover .check__box { border-color: var(--maroon); }
.check__label { flex: 1; }
.check__n { min-width: 30px; padding: 2px 8px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: 12px; text-align: center; }
.price-range { display: flex; align-items: flex-end; gap: 12px; padding-top: 6px; }
.price-range label { flex: 1; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.price-range input { height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 12px; font: 16px var(--sans); color: var(--ink); }
.price-range input:focus { outline: 2px solid var(--maroon); outline-offset: 1px; }
.price-range span { padding-bottom: 14px; color: var(--muted); }
.filters__hint { margin-top: 12px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.filters__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid var(--line); background: #FFFFFF; }
.filters__foot .btn { justify-content: center; min-width: 150px; }
.filters__foot .btn[disabled] { opacity: .5; cursor: not-allowed; }

@media (max-width: 760px) {
  .rail__item { width: 104px; }
  .rail__item span:last-child { font-size: 14px; }
  .rail__btn { display: none; }
  .lst-bar { flex-wrap: nowrap; gap: 10px; }
  .lst-filter-btn { padding: 0 14px; }
  .lst-count { white-space: nowrap; }
  .lst-sort span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .lst-sort select { width: 132px; padding-right: 28px; }
  .lst-quick { justify-content: flex-start; }
  .filters { width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; margin: 0; }
  .filters__body { grid-template-columns: 128px minmax(0, 1fr); }
  .filters__tabs [role=tab] { padding: 0 12px 0 14px; font-size: 14px; }
  .filters__head { padding-left: 20px; }
  .filters__panels { padding: 10px 16px 20px; }
  .filters__foot .btn { flex: 1; min-width: 0; padding-left: 12px; padding-right: 12px; }
}
@media (prefers-reduced-motion: reduce) { .filters[open] { animation: none; } .rail__item .tile-art { transition: none; } }
.filters__foot .btn--outline { background: #FFFFFF; }
