/* ============================================================
   Luxe Maple — storefront stylesheet
   Design tokens: font Montserrat; navy #032452; maple orange #FE6002.
   ============================================================ */

:root {
  --hb-navy:        #032452;
  --hb-navy-2:      #021936;
  --hb-red:         #FE6002;
  --hb-red-dark:    #d14e00;
  --hb-pink-soft:   #fde6d6;
  --hb-green:       #00b67a;
  --hb-yellow:      #ffce00;
  --hb-orange:      #FE6002;

  --hb-ink:         #032452;   /* default text */
  --hb-muted:       #5c657a;
  --hb-line:        #e6eaf3;   /* soft borders */
  --hb-line-2:      #dcdce6;
  --hb-bg:          #ffffff;
  --hb-bg-alt:      #f4f5fa;
  --hb-bg-grey:     #ECECEC;
  --hb-footer-bg:   #04234c;
  --hb-rose:        #FE6002;
  --hb-sky:         #0ea5e9;
  --hb-sky-soft:    #d6f0fb;
  --hb-urgent-red:  #c0392b;

  --hb-container:   1280px;
  --hb-radius:      10px;
  --hb-radius-lg:   16px;
  --hb-shadow:      0 4px 18px rgba(43, 46, 82, .10);
  --hb-shadow-sm:   0 2px 8px rgba(43, 46, 82, .08);

  --hb-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--hb-font);
  color: var(--hb-ink);
  background: var(--hb-bg);
  font-size: 15px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; color: var(--hb-navy); }

/* ---------- layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--hb-container);
  margin-inline: auto;
  padding-inline: 20px;
}
.section { padding-block: 44px; }
.section--tight { padding-block: 28px; }
.bg-alt  { background: var(--hb-bg-alt); }
.bg-navy { background: var(--hb-navy); color: #fff; }
.text-center { text-align: center; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* section heading */
.section-head { text-align: center; margin-bottom: 26px; }
.section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: .2px;
}
.section-head p { color: var(--hb-muted); margin-top: 8px; font-size: 15px; }
.section-head .head-link {
  display: inline-block; margin-top: 10px; color: var(--hb-red);
  font-weight: 600; font-size: 14px; text-decoration: underline;
}

.welcome-card {
  background: linear-gradient(180deg, var(--hb-sky-soft) 0%, #fff 100%);
  border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg, var(--hb-radius));
  padding: 40px 48px; text-align: center;
}
.welcome-card__icon { width: 34px; height: 34px; color: var(--hb-sky); margin-bottom: 10px; }
.welcome-card h2 { font-size: clamp(22px, 3vw, 28px); color: var(--hb-navy); margin-bottom: 14px; }
.welcome-card p { color: var(--hb-ink); line-height: 1.85; font-size: 15.5px; max-width: 760px; margin-inline: auto; }
.welcome-card p a { color: var(--hb-navy); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .welcome-card { padding: 30px 22px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  padding: 13px 26px; border-radius: var(--hb-radius); cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .05s ease;
  text-align: center; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--hb-red); color: #fff; }
.btn--primary:hover { background: var(--hb-red-dark); }
.btn--navy { background: var(--hb-navy); color: #fff; }
.btn--navy:hover { background: var(--hb-navy-2); }
.btn--outline { background: #fff; color: var(--hb-navy); border: 1px solid var(--hb-line); }
.btn--outline:hover { background: var(--hb-navy); color: #fff; border-color: var(--hb-navy); }
.btn--lg { padding: 17px 30px; font-size: 15px; }
.btn--block { width: 100%; }

/* ---------- stars ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--hb-yellow); line-height: 1; }
.stars svg { width: 16px; height: 16px; display: block; }
.stars--green { color: var(--hb-green); }

/* Star-rating picker: radios are in reverse DOM order (5..1) so the CSS
   general-sibling selector can light up "this star and everything before it"
   using only ~, with no JS needed for the visual state. */
.review-star-picker { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; margin-bottom: 4px; }
.review-star-picker input { position: absolute; opacity: 0; width: 0; height: 0; }
.review-star-picker label { font-size: 26px; line-height: 1; color: var(--hb-line-2); cursor: pointer; }
.review-star-picker input:checked ~ label,
.review-star-picker label:hover,
.review-star-picker label:hover ~ label { color: var(--hb-yellow); }

/* ---------- pills / badges ---------- */
.badge {
  display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; padding: 5px 10px; border-radius: 6px;
}
.badge--sale { background: var(--hb-red); color: #fff; }
.badge--new { background: var(--hb-navy); color: #fff; }
.badge--save { background: var(--hb-pink-soft); color: var(--hb-navy); }

/* ---------- price ---------- */
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price__now { font-size: 26px; font-weight: 700; color: var(--hb-navy); }
.price__was { font-size: 15px; color: var(--hb-muted); text-decoration: line-through; }
.price__save { display: inline-flex; align-items: center; background: var(--hb-urgent-red); color: #fff; font-size: 12.5px; font-weight: 800; padding: 4px 10px; border-radius: 6px; letter-spacing: .01em; }

/* countdown urgency banner */
.pdp__countdown { display: flex; align-items: center; gap: 10px; background: #fdecea; border: 1px solid var(--hb-urgent-red); color: var(--hb-urgent-red); font-weight: 700; font-size: 13px; padding: 10px 14px; border-radius: 8px; margin-bottom: 16px; }
.pdp__countdown .cd-time { font-variant-numeric: tabular-nums; background: var(--hb-urgent-red); color: #fff; padding: 2px 8px; border-radius: 5px; font-weight: 800; }

/* pay securely with */
.pdp__paysecure { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--hb-line); background: var(--hb-bg-alt); border-radius: 10px; padding: 14px 16px; }
.pdp__paysecure-label { font-size: 13px; color: var(--hb-ink); font-weight: 700; margin-bottom: 10px; }
.pdp__paysecure-badges { display: flex; flex-wrap: wrap; gap: 7px; }

.pay-icon {
  display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 9px;
  background: #fff; border: 1px solid var(--hb-line-2); border-radius: 5px;
  font-size: 11px; font-weight: 800; letter-spacing: .02em; color: var(--hb-ink);
  box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.pay-icon--visa { color: #1a1f71; font-style: italic; font-size: 13px; }
.pay-icon--amex { color: #016fd0; }
.pay-icon--gpay { color: #5f6368; }
.pay-icon--apay { background: #000; color: #fff; border-color: #000; }
.pay-icon--paypal { color: #003087; }
.pay-icon--paypal b { color: #009cde; }
.mc-circles { position: relative; width: 22px; height: 13px; flex-shrink: 0; }
.mc-circles::before, .mc-circles::after { content: ''; position: absolute; top: 0; width: 13px; height: 13px; border-radius: 50%; }
.mc-circles::before { left: 0; background: #eb001b; }
.mc-circles::after { left: 9px; background: #f79e1b; mix-blend-mode: multiply; }
.mc-circles--maestro::before { background: #0099df; }
.mc-circles--maestro::after { background: #ed0006; }

/* =========================================================
   HEADER  (shared) — navy header + navy nav + pink USP strip
   ========================================================= */
.header { background: var(--hb-navy); }

/* topbar + header move together as one sticky unit (site-header-sticky wraps both)
   so the promo bar never half-shows/half-hides mid-scroll; min-height (not height)
   lets it grow if the text wraps on narrow screens instead of overlapping the header */
.site-header-sticky { position: sticky; top: 0; z-index: 60; }
.topbar { background: var(--hb-urgent-red); color: #fff; }
.topbar .container { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 36px; padding-block: 6px; font-size: 12.5px; font-weight: 600; letter-spacing: .01em; text-align: center; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.topbar svg { width: 15px; height: 15px; flex-shrink: 0; }
@media (max-width: 640px) { .topbar .container { font-size: 11.5px; gap: 6px; padding-inline: 10px; } .topbar .topbar__sep { display: none; } }

/* top row: logo / search / utils */
.header__main { display: flex; align-items: center; gap: 26px; padding-block: 12px; }
.header__logo { flex-shrink: 0; }
.header__logo img, .header__logo svg { height: 76px; width: auto; }

.search-wrap { position: relative; flex: 1 1 auto; max-width: 640px; }
.search {
  display: flex; align-items: center; width: 100%;
  border-radius: var(--hb-radius); overflow: hidden; background: #fff; height: 44px;
}
.search input { flex: 1; border: none; outline: none; padding: 0 18px; font-size: 13px; color: var(--hb-navy); }
.search input::placeholder { color: var(--hb-navy); opacity: .7; }
.search button { color: var(--hb-navy); padding: 0 16px; display: flex; align-items: center; align-self: stretch; }
.search button svg { width: 20px; height: 20px; }
.search__suggestions {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow); overflow: hidden; z-index: 60; max-height: 380px; overflow-y: auto;
}
.search__suggestions[hidden] { display: none; }
.search__suggestion { display: flex; align-items: center; gap: 12px; padding: 10px 14px; text-decoration: none; color: var(--hb-ink); border-bottom: 1px solid var(--hb-line); }
.search__suggestion:last-child { border-bottom: none; }
.search__suggestion:hover, .search__suggestion.is-active { background: var(--hb-bg-alt); }
.search__suggestion img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; background: var(--hb-bg-alt); }
.search__suggestion-name { font-size: 13.5px; font-weight: 600; color: var(--hb-navy); }
.search__suggestion-price { font-size: 12px; color: var(--hb-muted); margin-top: 2px; }
.search__suggestion--empty { padding: 14px; font-size: 13px; color: var(--hb-muted); text-align: center; }

.header__actions { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.header__action { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; color: #fff; }
.header__action svg { width: 26px; height: 26px; flex-shrink: 0; }
.header__action .a-sub { display: block; font-size: 11px; font-weight: 500; opacity: .8; }
.header__action .a-label { text-transform: uppercase; letter-spacing: .03em; font-size: 12px; }
.header__action--cart { position: relative; }
.header__action .count {
  position: absolute; top: -7px; left: 15px; background: var(--hb-red); color: #fff;
  font-size: 10px; min-width: 17px; height: 17px; border-radius: 9px; display: flex;
  align-items: center; justify-content: center; padding: 0 4px; font-weight: 700;
}
.header__phone { color: #fff; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.header__phone svg { width: 22px; height: 22px; }

/* primary nav (navy) */
.nav { background: var(--hb-navy); border-top: 1px solid rgba(255,255,255,.08); }
.nav__list { display: flex; justify-content: center; gap: 2px; flex-wrap: wrap; }
.nav__item { position: relative; }
.nav__item > a {
  display: inline-flex; align-items: center; gap: 6px; padding: 14px 15px;
  font-size: 14px; font-weight: 600; color: #fff; position: relative;
}
.nav__item > a:hover { color: #fff; opacity: .85; }
.nav__item > a.is-active { opacity: 1; }
.nav__item > a.is-active::after { content: ''; position: absolute; left: 15px; right: 15px; bottom: 6px; height: 2px; border-radius: 2px; background: var(--hb-orange); }
.nav__item > a svg { width: 14px; height: 14px; opacity: .7; }
.nav__item--sale > a { color: #fff; }
.nav__pill { background: var(--hb-red); padding: 5px 12px; border-radius: 20px; }

/* mega menu (desktop hover) */
.mega {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  background: #fff; color: var(--hb-navy); border-radius: 0 0 var(--hb-radius) var(--hb-radius);
  box-shadow: var(--hb-shadow); padding: 26px 30px; display: grid; gap: 26px 40px;
  grid-auto-flow: column; opacity: 0; visibility: hidden; transition: .18s; z-index: 70;
  min-width: 640px; border-top: 3px solid var(--hb-red);
}
.nav__item:hover .mega { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.mega__col h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--hb-muted); margin-bottom: 12px; }
.mega__col li { margin-bottom: 9px; }
.mega__col a { font-size: 14px; color: var(--hb-navy); }
.mega__col a:hover { color: var(--hb-red); }

/* USP / trust strip (pink) — sits at bottom of header */
.usp-strip { background: var(--hb-sky-soft); color: var(--hb-navy); font-size: 13px; font-weight: 600; }
.usp-strip .container { display: flex; justify-content: space-between; gap: 20px; height: 40px; align-items: center; }
.usp-strip li { display: flex; align-items: center; }
.usp-strip li > a { display: flex; align-items: center; gap: 8px; color: inherit; }
.usp-strip li > a:hover { text-decoration: underline; }
.usp-strip svg { width: 17px; height: 17px; flex-shrink: 0; }
.usp-strip .tp-logo { height: 15px; }
@media (max-width: 1326px) { .usp-strip li:nth-child(5) { display: none; } }
@media (max-width: 999px)  { .usp-strip li:nth-child(4) { display: none; } }

/* mobile nav toggle (hidden on desktop) */
.nav-toggle { display: none; color: #fff; }

/* =========================================================
   FOOTER (shared)
   ========================================================= */
/* =========================================================
   FOOTER (shared) — navy #2d3154, light-blue top accent
   ========================================================= */
.footer { background: var(--hb-footer-bg); color: #d3d8f0; font-size: 14px; }
.footer__accent { height: 30px; background: #d9e2f7; }

.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 30px; padding-block: 46px; }

/* newsletter (col 1) */
.footer__news h4 { color: #fff; font-size: 16px; line-height: 1.4; margin-bottom: 12px; text-transform: none; letter-spacing: 0; }
.footer__news p { font-size: 13px; margin-bottom: 14px; color: #b9bfe0; }
.footer__radios { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin-bottom: 16px; }
.footer__radios label { display: flex; align-items: center; gap: 8px; font-size: 13.5px; cursor: pointer; }
.footer__radios input { accent-color: var(--hb-rose); width: 15px; height: 15px; }
.footer__news-form { display: flex; gap: 10px; flex-wrap: wrap; }
.footer__news-form input[type=email] {
  flex: 1 1 190px; border: none; border-radius: var(--hb-radius); padding: 12px 14px; font-size: 13px; background: #fff; color: var(--hb-navy);
}
.footer__submit { background: var(--hb-rose); color: var(--hb-navy); font-weight: 700; padding: 12px 30px; border-radius: 50px; text-transform: none; letter-spacing: .02em; }
.footer__submit:hover { filter: brightness(.95); }
.footer__social { display: flex; gap: 12px; margin-top: 22px; }
.footer__social a { width: 36px; height: 36px; border-radius: 50%; background: #c5d1eb; color: #2d3154; display: flex; align-items: center; justify-content: center; }
.footer__social svg { width: 17px; height: 17px; }

/* link columns */
.footer__col h4 { color: #fff; font-size: 14px; margin-bottom: 16px; letter-spacing: .04em; text-transform: uppercase; font-weight: 700; }
.footer__col li { margin-bottom: 11px; font-size: 13.5px; }
.footer__col a:hover { color: #fff; text-decoration: underline; }
.footer__contact { margin-top: 18px; font-size: 13px; line-height: 1.7; color: #b9bfe0; }

/* trust + payment row */
.footer__trust { border-top: 1px solid rgba(255,255,255,.15); padding-block: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__tp { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.footer__tp .stars { color: var(--hb-green); }
.footer__pay { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.footer__pay-label { font-size: 13px; margin-right: 6px; }
.footer__pay img { height: 28px; width: auto; background: #fff; border-radius: 5px; padding: 3px 5px; }
.footer__pay-badge { display: inline-flex; align-items: center; height: 28px; background: #fff; color: var(--hb-navy); border-radius: 5px; padding: 0 9px; font-size: 12px; font-weight: 700; }

/* bottom bar */
.footer__bottom { border-top: 1px solid rgba(255,255,255,.15); padding-block: 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: #9fa3c9; }
.footer__bottom-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer__bottom-links a:hover { color: #fff; }
.back-to-top { background: #fff; color: var(--hb-navy); font-weight: 700; padding: 9px 20px; border-radius: 50px; font-size: 12.5px; }

/* =========================================================
   PRODUCT CARD (shared — carousels & grids)
   ========================================================= */
.p-card {
  background: #fff; border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s ease, transform .18s ease;
}
.p-card:hover { box-shadow: var(--hb-shadow); transform: translateY(-3px); }
.p-card__media { position: relative; aspect-ratio: 1/1; background: var(--hb-bg-alt); }
.p-card__media img { width: 100%; height: 100%; object-fit: cover; }
.p-card__flags { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; }
.p-card__body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-card__title { font-size: 14px; font-weight: 600; color: var(--hb-navy); line-height: 1.35; }
.p-card__rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--hb-muted); }
.p-card__foot { margin-top: auto; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer__news { grid-column: 1 / -1; }
}
@media (max-width: 1200px) {
  /* The 10-item nav (with labels like "Ottoman Storage Beds") needs well over
     1400px to fit on one line — anything narrower wraps to 2 lines, which is
     the bug reported on tablets. Switch to the hamburger drawer here instead. */
  .nav { display: none; }               /* replaced by mobile drawer */
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .usp-strip .container { justify-content: center; gap: 16px; }
  .header__actions { gap: 16px; }
  .header__action .a-text { display: none; }
  .header__phone .p-text { display: none; }
  .search-wrap { max-width: none; }
}
@media (max-width: 640px) {
  .section { padding-block: 30px; }
  .footer__top { grid-template-columns: 1fr; }
  .footer__radios { grid-template-columns: 1fr 1fr; }
  .price__now { font-size: 22px; }
  .header__main { flex-wrap: wrap; gap: 14px; position: relative; min-height: 64px; }
  .header__logo { position: absolute; left: 50%; top: 12px; transform: translateX(-50%); }
  .header__logo img, .header__logo svg { height: 52px; }
  .search-wrap { order: 3; flex-basis: 100%; }
  .usp-strip .container { height: auto; padding-block: 8px; flex-wrap: wrap; row-gap: 6px; }
  .usp-strip { font-size: 11.5px; }
  .usp-strip li { text-align: center; }
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  table.cart-table.admin-table { min-width: 0; }
  .cart-table tr { border: 1px solid var(--hb-line); border-radius: 10px; margin: 14px; }
  .cart-table td { border-top: none; padding: 6px 14px; display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .cart-table td::before { content: attr(data-label); font-weight: 700; color: var(--hb-muted); font-size: 12px; text-transform: uppercase; }
  .cart-table td:not([data-label]):empty::before, .cart-table td[data-label=""]::before { content: none; }
  .cart-table td:first-child { justify-content: center; padding-top: 14px; }
  .cart-table td:first-child img { width: 90px; height: 90px; }
  .cart-table td:last-child { justify-content: center; padding-bottom: 14px; }
}
@media (max-width: 400px) {
  .usp-strip li:nth-child(3) { display: none; }
}

/* =========================================================
   INTERACTIVE COMPONENTS
   ========================================================= */

/* mobile nav toggle button */
.nav-toggle { align-items: center; justify-content: center; width: 40px; height: 40px; color: #fff; }
.nav-toggle svg { width: 26px; height: 26px; }

/* mobile drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(26,39,68,.5); opacity: 0; visibility: hidden; transition: opacity .25s; z-index: 90; }
.drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.mnav {
  position: fixed; top: 0; left: 0; height: 100%; width: 320px; max-width: 86vw; background: #fff;
  transform: translateX(-100%); transition: transform .28s ease; z-index: 100; overflow-y: auto; box-shadow: 0 0 40px rgba(0,0,0,.2);
}
.mnav.is-open { transform: translateX(0); }
.mnav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--hb-line); background: var(--hb-navy); color: #fff; }
.mnav__head svg { width: 24px; height: 24px; }
.mnav__item { border-bottom: 1px solid var(--hb-line); }
.mnav__item > a, .mnav__row { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; font-weight: 600; color: var(--hb-navy); font-size: 15px; }
.mnav__row a.is-active { color: var(--hb-orange); font-weight: 800; }
.mnav__row button { padding: 6px; color: var(--hb-muted); }
.mnav__sub { display: none; padding: 0 18px 10px 30px; }
.mnav__item.is-expanded .mnav__sub { display: block; }
.mnav__sub a { display: block; padding: 8px 0; font-size: 14px; color: var(--hb-muted); }
.mnav__item.is-expanded .mnav__row button { transform: rotate(180deg); }

/* accordion */
[data-accordion] .acc__item { border-bottom: 1px solid var(--hb-line); }
.acc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 18px 4px; font-weight: 600; font-size: 16px; color: var(--hb-navy); text-align: left; }
.acc__head svg { width: 20px; height: 20px; transition: transform .2s; flex-shrink: 0; }
.acc__item.is-open .acc__head svg { transform: rotate(180deg); }
.acc__body { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.acc__item.is-open .acc__body { max-height: 2400px; }
.acc__body-inner { padding: 2px 4px 22px; color: #4a4d70; line-height: 1.7; }

/* hero slider */
.slider { position: relative; overflow: hidden; border-radius: var(--hb-radius-lg); }
.slider__track { position: relative; }
.slide { display: none; }
.slide.is-active { display: block; animation: fade .5s ease; }
@keyframes fade { from { opacity: .3; } to { opacity: 1; } }
.slide img { width: 100%; object-fit: cover; }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.9); box-shadow: var(--hb-shadow-sm); display: flex; align-items: center; justify-content: center; z-index: 5; }
.slider__nav svg { width: 22px; height: 22px; color: var(--hb-navy); }
.slider__nav--prev { left: 16px; }
.slider__nav--next { right: 16px; }
.slider__dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; z-index: 5; }
.slider__dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.6); }
.slider__dot.is-active { background: #fff; width: 26px; border-radius: 5px; }

/* ================= Hero — "Nightfall" ================= */
/* Full-bleed ambient photo instead of the old boxed-card-with-white-pill-CTA
   pattern. The source photos are bright daytime shots, so a plain dark
   overlay just turns them muddy brown — a real duotone (desaturate + navy
   color-blend) is what actually reads as "night", with a screen-blended
   lamp glow added back on top as the one warm accent. */
.hero-night { position: relative; min-height: 460px; border-radius: var(--hb-radius-lg); overflow: hidden; display: flex; align-items: flex-end; }
.hero-night__photo { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.7) brightness(.5) contrast(1.08); z-index: 0; }
.hero-night__tint { position: absolute; inset: 0; background: var(--hb-navy); mix-blend-mode: color; opacity: .9; z-index: 1; }
.hero-night__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.22) 45%, transparent 72%); z-index: 1; }
.hero-night__glow { position: absolute; right: -6%; bottom: -20%; width: 32%; padding-top: 32%; border-radius: 50%; background: radial-gradient(circle, rgba(255,177,90,.6) 0%, rgba(255,177,90,0) 70%); mix-blend-mode: screen; z-index: 1; animation: heroNightGlow 6s ease-in-out infinite; }
@keyframes heroNightGlow { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
.hero-night__body { position: relative; z-index: 2; padding: 48px 60px; max-width: 620px; color: #fff; }
.hero-night__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.62); }
.hero-night__title { font-family: 'Fraunces', Georgia, serif; font-weight: 500; font-size: clamp(30px, 4.2vw, 52px); line-height: 1.06; letter-spacing: -.01em; margin: 14px 0 16px; color: #fff; }
.hero-night__sub { font-size: 16px; line-height: 1.6; color: rgba(255,255,255,.78); max-width: 420px; margin-bottom: 26px; }
.hero-night__cta { display: inline-block; font-weight: 700; font-size: 14.5px; color: #fff; padding-bottom: 6px; background-image: linear-gradient(90deg, #ffbb6b, #ff8a3d); background-size: 100% 2px; background-repeat: no-repeat; background-position: 0 100%; }
@media (max-width: 640px) {
  .hero-night { min-height: 400px; }
  .hero-night__scrim { background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.78) 78%); }
  .hero-night__body { padding: 0 20px 30px; max-width: 100%; }
  .hero-night__sub { font-size: 14px; }
  .slider__nav { width: 36px; height: 36px; top: 30px; transform: none; }
  .slider__nav svg { width: 18px; height: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hero-night__glow { animation: none; } }

/* carousel */
.carousel { position: relative; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { position: absolute; top: 38%; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1px solid var(--hb-line); box-shadow: var(--hb-shadow-sm); display: flex; align-items: center; justify-content: center; z-index: 5; }
.carousel__nav svg { width: 20px; height: 20px; color: var(--hb-navy); }
.carousel__nav--prev { left: -18px; }
.carousel__nav--next { right: -18px; }
@media (max-width: 860px) { .carousel__nav { display: none; } .carousel__track { grid-auto-columns: minmax(180px, 70%); } }

/* tabs */
.tabs__nav { display: flex; gap: 6px; border-bottom: 2px solid var(--hb-line); margin-bottom: 22px; flex-wrap: wrap; }
[data-tab] { padding: 12px 20px; font-weight: 600; color: var(--hb-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; }
[data-tab].is-active { color: var(--hb-navy); border-bottom-color: var(--hb-red); }
[data-tab-panel] { display: none; }
[data-tab-panel].is-active { display: block; }

/* product gallery */
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.gallery__thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; scrollbar-width: thin; }
.gallery__thumb { border: 2px solid var(--hb-line); border-radius: 8px; overflow: hidden; aspect-ratio: 1/1; background: var(--hb-bg-alt); cursor: pointer; }
.gallery__thumb.is-active { border-color: var(--hb-navy); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__main { position: relative; border: 1px solid var(--hb-line); border-radius: var(--hb-radius-lg); overflow: hidden; background: var(--hb-bg-alt); aspect-ratio: 1/1; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__flags { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
@media (max-width: 640px) {
  .gallery { grid-template-columns: 1fr; }
  .gallery__thumbs { flex-direction: row; max-height: none; order: 2; overflow-x: auto; }
  .gallery__thumb { width: 68px; flex-shrink: 0; }
  .gallery__main { order: 1; }
}

/* qty stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hb-line-2); border-radius: var(--hb-radius); overflow: hidden; }
.qty button { width: 42px; height: 46px; font-size: 20px; color: var(--hb-navy); display: flex; align-items: center; justify-content: center; }
.qty input { width: 46px; height: 46px; text-align: center; border: none; border-inline: 1px solid var(--hb-line-2); font-weight: 700; }

/* =========================================================
   HOMEPAGE SECTIONS
   ========================================================= */

/* shop by category */
.coll-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.coll-pill { padding: 8px 16px; border-radius: 20px; border: 1px solid var(--hb-line); font-size: 13px; font-weight: 600; color: var(--hb-ink); }
.coll-pill.is-active { background: var(--hb-navy); color: #fff; border-color: var(--hb-navy); }
.coll-pill:hover:not(.is-active) { border-color: var(--hb-navy); }

.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1024px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .shop-grid { grid-template-columns: repeat(2, 1fr); } }

/* shop sidebar filters */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: start; }
.shop-filters { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow-y: auto; }
.shop-filters__toggle { display: none; width: 100%; justify-content: space-between; align-items: center; padding: 12px 16px; border: 1px solid var(--hb-line); border-radius: var(--hb-radius); font-weight: 700; color: var(--hb-navy); margin-bottom: 12px; }
.shop-filters__toggle svg { width: 18px; height: 18px; transition: transform .2s; }
.shop-filters__group { border-bottom: 1px solid var(--hb-line); padding-bottom: 16px; margin-bottom: 16px; }
.shop-filters__group h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .04em; color: var(--hb-navy); margin-bottom: 10px; }
.shop-filters__group label { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--hb-ink); padding: 5px 0; cursor: pointer; }
.shop-filters__group input[type=checkbox] { width: auto; accent-color: var(--hb-navy); }
.shop-results { min-width: 0; }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters__toggle { display: flex; }
  .shop-filters__body { display: none; border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: 16px; margin-bottom: 18px; }
  .shop-filters__body.is-open { display: block; }
  .shop-filters { position: static; }
}

.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile { position: relative; border-radius: var(--hb-radius); overflow: hidden; aspect-ratio: 3/4; box-shadow: var(--hb-shadow-sm); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tile:hover img { transform: scale(1.05); }
.cat-tile__label { position: absolute; left: 10px; right: 10px; bottom: 10px; background: var(--hb-navy); color: #fff; font-size: 13px; font-weight: 700; padding: 10px 12px; border-radius: 8px; display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.cat-tile__label svg { width: 15px; height: 15px; flex-shrink: 0; }
.cat-tile__badge { position: absolute; top: 10px; right: 10px; z-index: 2; background: var(--hb-urgent-red); color: #fff; font-size: 11px; font-weight: 800; padding: 5px 10px; border-radius: 20px; letter-spacing: .01em; }
@media (max-width: 1024px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px)  { .cat-grid { grid-template-columns: repeat(2, 1fr); } }

/* reviews */
.reviews { display: flex; gap: 28px; align-items: stretch; }
.reviews__summary { flex: 0 0 260px; background: #fff; border-radius: var(--hb-radius-lg); padding: 28px 24px; text-align: center; box-shadow: var(--hb-shadow-sm); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.reviews__summary .stars svg { width: 26px; height: 26px; }
.rev-card { background: #fff; border-radius: var(--hb-radius-lg); padding: 22px; box-shadow: var(--hb-shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.rev-card .stars { font-size: 18px; letter-spacing: 2px; }
.rev-card h3 { font-size: 15px; }
.rev-card p { font-size: 13.5px; color: #4a4d70; line-height: 1.6; flex: 1; }
.rev-card__meta { font-size: 12.5px; color: var(--hb-muted); font-weight: 600; }
@media (max-width: 760px) { .reviews { flex-direction: column; } .reviews__summary { flex-basis: auto; } }

/* new & trending */
.trend-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.trend-tile { position: relative; border-radius: var(--hb-radius); overflow: hidden; aspect-ratio: 3/4; background-size: cover; background-position: center; display: flex; flex-direction: column; justify-content: space-between; padding: 14px; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.35); box-shadow: var(--hb-shadow-sm); }
.trend-tile__chip { align-self: flex-start; background: rgba(43,46,82,.92); color: #fff; font-size: 12px; font-weight: 600; padding: 8px 12px; border-radius: 8px; line-height: 1.4; text-shadow: none; }
.trend-tile__chip b { color: #fff; display: inline-block; margin-left: 4px; }
.trend-tile__cap { font-size: 16px; font-weight: 700; max-width: 80%; align-self: flex-start; background: rgba(0,0,0,.4); padding: 6px 12px; border-radius: 8px; text-shadow: none; }
@media (max-width: 1024px) { .trend-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px)  { .trend-grid { grid-template-columns: 1fr; } .trend-tile { aspect-ratio: 16/10; } }

/* feel inspired IG */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.ig-tile { position: relative; aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile span { position: absolute; left: 8px; bottom: 8px; color: #fff; font-size: 12px; font-weight: 600; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.blog-card { background: #fff; border-radius: var(--hb-radius-lg); overflow: hidden; box-shadow: var(--hb-shadow-sm); transition: transform .18s, box-shadow .18s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--hb-shadow); }
.blog-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.blog-card__body { padding: 18px 20px 22px; }
.blog-card__cat { color: #de968f; font-size: 12.5px; font-weight: 600; text-decoration: underline; }
.blog-card h3 { font-size: 16px; margin: 8px 0; line-height: 1.35; }
.blog-card__read { font-size: 12.5px; color: var(--hb-muted); }
@media (max-width: 860px) { .blog-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

/* =========================================================
   PRODUCT PAGE (PDP)
   ========================================================= */

/* breadcrumb */
.breadcrumbs { border-bottom: 1px solid var(--hb-line); background: #fff; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding-block: 12px; font-size: 12.5px; color: var(--hb-muted); }
.crumbs a { color: var(--hb-muted); }
.crumbs a:hover { color: var(--hb-red); text-decoration: underline; }
.crumbs .sep { margin: 0 6px; color: var(--hb-line-2); }
.crumbs [aria-current] { color: var(--hb-navy); font-weight: 600; }

/* 2-column layout ~58 / 42 */
.pdp { padding-block: 26px 40px; }
.pdp__grid { display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); gap: 44px; align-items: start; }
.pdp__gallery { position: sticky; top: 150px; }

/* gallery overrides for PDP — contain (white product shots) */
.pdp .gallery__main { background: #fff; }
.pdp .gallery__main img, .pdp .gallery__thumb img { object-fit: contain; }
.pdp .gallery__thumb { background: #fff; }

/* reasons to buy */
.reasons { background: var(--hb-bg-alt); border-radius: var(--hb-radius); padding: 16px 20px; margin-bottom: 18px; }
.reasons h2 { font-size: 15px; margin-bottom: 8px; }
.reasons ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.reasons li { position: relative; padding-left: 22px; font-size: 13.5px; color: #4a4d70; font-weight: 500; }
.reasons li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px;
  background: var(--hb-green); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/12px no-repeat;
}

.pdp__title { font-size: clamp(22px, 2.6vw, 30px); line-height: 1.2; margin-bottom: 12px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.pdp__rating .stars { font-size: 18px; letter-spacing: 1px; }
.pdp__rating strong { font-size: 15px; color: var(--hb-navy); }
.pdp__rating-count { font-size: 13px; color: var(--hb-muted); text-decoration: underline; }

/* price block */
.pdp__price { margin-bottom: 18px; }
.pdp__price .price__now { font-size: 34px; font-weight: 800; }
.pdp__was { font-size: 14px; color: var(--hb-muted); margin-left: 8px; }
.pdp__was span { text-decoration: line-through; }
.pdp__rrp { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--hb-muted); margin-top: 6px; }
.rrp-info { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--hb-muted); text-decoration: underline; }
.rrp-info svg { width: 14px; height: 14px; }
.pdp__below { display: inline-block; margin-top: 8px; background: var(--hb-pink-soft); color: var(--hb-red); font-weight: 700; font-size: 13px; padding: 5px 12px; border-radius: 6px; }
.pdp__klarna { margin-top: 12px; font-size: 13px; color: #4a4d70; }
.pdp__klarna a { color: var(--hb-navy); font-weight: 600; text-decoration: underline; }

/* promo / countdown banner */
.pdp__promo { background: var(--hb-navy); color: #fff; border-radius: var(--hb-radius); padding: 14px 18px; margin-bottom: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pdp__promo-main { font-size: 15px; }
.pdp__promo-main strong { font-weight: 800; }
.pdp__promo-sub { font-size: 13px; font-weight: 700; background: rgba(255,255,255,.18); padding: 4px 10px; border-radius: 20px; }
.pdp__promo-timer { margin-left: auto; font-size: 13px; font-weight: 600; }
.pdp__promo-timer span { font-variant-numeric: tabular-nums; font-weight: 800; }

/* options / swatches */
.pdp__opt { margin-bottom: 20px; }
.pdp__opt-label { font-size: 14px; margin-bottom: 10px; color: var(--hb-navy); display: flex; align-items: center; gap: 10px; }
.pdp__opt-label strong { font-weight: 700; }

/* Mattress upsell combo — a custom dropdown so each option can show a thumbnail (native <select> can't render images) */
.mattress-combo { position: relative; }
.mattress-combo__toggle {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  border: 1px solid var(--hb-line-2); border-radius: var(--hb-radius); padding: 9px 14px;
  background: #fff; color: var(--hb-ink); font-family: var(--hb-font); font-size: 14px; text-align: left;
}
.mattress-combo__toggle:disabled { background: var(--hb-bg-alt); color: var(--hb-muted); cursor: not-allowed; }
.mattress-combo__toggle svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--hb-muted); }
.mattress-combo__toggle-inner { display: flex; align-items: center; gap: 10px; min-width: 0; }
.mattress-combo__toggle-inner img { width: 34px; height: 34px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mattress-combo__toggle-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mattress-combo__panel {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20;
  background: #fff; border: 1px solid var(--hb-line-2); border-radius: var(--hb-radius);
  box-shadow: var(--hb-shadow-md, 0 8px 24px rgba(0,0,0,.12)); max-height: 300px; overflow-y: auto; padding: 6px;
}
.mattress-combo__option {
  width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 8px;
  background: none; text-align: left; font-family: var(--hb-font); font-size: 13.5px; color: var(--hb-ink);
}
.mattress-combo__option:hover, .mattress-combo__option.is-selected { background: var(--hb-bg-alt); }
.mattress-combo__option img { width: 40px; height: 40px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.mattress-combo__option-noimg {
  width: 40px; height: 40px; border-radius: 6px; background: var(--hb-bg-alt); color: var(--hb-muted);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-weight: 700;
}
.dims-link, .swatch { -webkit-tap-highlight-color: transparent; }
.dims-link { margin-left: auto; font-size: 12.5px; color: var(--hb-navy); text-decoration: underline; font-weight: 600; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { border: 1.5px solid var(--hb-line-2); border-radius: var(--hb-radius); padding: 10px 16px; min-width: 84px; display: flex; flex-direction: column; align-items: center; gap: 3px; transition: border-color .15s, box-shadow .15s; background: #fff; }
.swatch:hover { border-color: var(--hb-navy); }
.swatch.is-selected { border-color: var(--hb-navy); box-shadow: inset 0 0 0 1px var(--hb-navy); }
.swatch__name { font-size: 13.5px; font-weight: 700; color: var(--hb-navy); }
.swatch__price { font-size: 12px; color: var(--hb-muted); }
.swatch--colour { width: 46px; height: 46px; min-width: 46px; padding: 0; border-radius: 50%; }
.swatch--colour.is-selected { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--hb-navy); }

.pdp__stock { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13.5px; color: #4a4d70; }
.pdp__stock svg { width: 18px; height: 18px; color: #26D86D; }
.pdp__stock strong { color: #12b257; }

/* buy row */
.pdp__buyrow { display: flex; gap: 14px; margin-bottom: 20px; }
.pdp__atc { flex: 1; border-radius: 50px; font-size: 16px; padding: 16px 28px; }

/* delivery banner */
.pdp__delivery { display: flex; align-items: center; gap: 14px; background: #FFF5ED; border-radius: var(--hb-radius); padding: 14px 18px; margin-bottom: 20px; }
.pdp__delivery svg { width: 30px; height: 30px; color: var(--hb-navy); flex-shrink: 0; }
.pdp__delivery strong { display: block; font-size: 14px; color: var(--hb-navy); }
.pdp__delivery span { display: block; font-size: 12.5px; color: #6b6f52; }

/* payment box */
.pdp__pay { border: 1px solid var(--hb-line-2); border-radius: var(--hb-radius); padding: 16px 18px; display: flex; flex-direction: column; gap: 14px; }
.pdp__pay-klarna strong { font-size: 14px; color: var(--hb-navy); }
.pdp__pay-klarna a { font-size: 12.5px; color: var(--hb-navy); text-decoration: underline; font-weight: 600; margin-left: 8px; }
.pdp__pay-klarna p { font-size: 11px; color: var(--hb-muted); margin-top: 4px; }
.pdp__pay-secure { border-top: 1px solid var(--hb-line); padding-top: 14px; }
.pdp__pay-secure > span { font-size: 12.5px; color: var(--hb-muted); display: block; margin-bottom: 8px; }
.pdp__pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp__pay-icons img { height: 26px; width: auto; border: 1px solid var(--hb-line); border-radius: 5px; padding: 2px 4px; }

/* description tab content */
.pdp__intro { font-size: 16px; line-height: 1.7; color: #4a4d70; max-width: 900px; margin-bottom: 30px; }
.desc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: center; margin-bottom: 34px; }
.desc-block--rev .desc-block__text { order: 2; }
.desc-block__text h3 { font-size: 20px; margin-bottom: 12px; }
.desc-block__text p { font-size: 14.5px; line-height: 1.7; color: #4a4d70; }
.desc-block img { width: 100%; border-radius: var(--hb-radius-lg); object-fit: cover; }
@media (max-width: 760px) { .desc-block { grid-template-columns: 1fr; gap: 16px; } .desc-block--rev .desc-block__text { order: 0; } }

/* dimensions */
.dims { display: grid; grid-template-columns: 340px 1fr; gap: 30px; align-items: start; }
.dims__sketch { width: 100%; border: 1px solid var(--hb-line); border-radius: var(--hb-radius); background: #fff; }
.dims__table { width: 100%; border-collapse: collapse; font-size: 14px; }
.dims__table th { background: #f0386b; color: #fff; padding: 12px 14px; text-align: left; font-size: 13px; }
.dims__table th:first-child { border-radius: 8px 0 0 0; }
.dims__table th:last-child { border-radius: 0 8px 0 0; }
.dims__table td { padding: 11px 14px; border-bottom: 1px solid var(--hb-line); }
.dims__table td:first-child { font-weight: 600; color: var(--hb-navy); position: relative; padding-left: 24px; }
.dims__table td:first-child::before { content: ""; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 6px; height: 6px; border-radius: 50%; background: var(--hb-rose); }
.dims__table tbody tr:nth-child(even) { background: var(--hb-bg-alt); }
.dims__note { font-size: 12px; color: var(--hb-muted); margin-top: 10px; font-style: italic; }
@media (max-width: 760px) { .dims { grid-template-columns: 1fr; } }

/* delivery & returns tab */
.deliv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 16px; }
.deliv-card { border: 1px solid var(--hb-line); border-radius: var(--hb-radius); padding: 20px 22px; background: #fff; }
.deliv-card h4 { font-size: 16px; margin-bottom: 12px; color: var(--hb-navy); }
.deliv-card li { position: relative; padding-left: 22px; margin-bottom: 10px; font-size: 13.5px; color: #4a4d70; line-height: 1.5; }
.deliv-card li::before { content: ""; position: absolute; left: 0; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--hb-rose); }
[data-tab-panel] p { font-size: 14.5px; line-height: 1.7; color: #4a4d70; margin-bottom: 12px; }
@media (max-width: 640px) { .deliv-grid { grid-template-columns: 1fr; } }

.assembly-link { display: inline-flex; align-items: center; gap: 10px; border: 1px solid var(--hb-line-2); border-radius: var(--hb-radius); padding: 14px 18px; font-weight: 600; color: var(--hb-navy); font-size: 14px; }
.assembly-link:hover { border-color: var(--hb-navy); }
.assembly-link svg { width: 22px; height: 22px; color: var(--hb-red); }
.assembly-link span { color: var(--hb-muted); font-weight: 500; font-size: 12.5px; }

/* product reviews */
.pdp-reviews { display: grid; grid-template-columns: 300px 1fr; gap: 34px; align-items: start; }
.pdp-reviews__summary { background: #fff; border-radius: var(--hb-radius-lg); padding: 26px; box-shadow: var(--hb-shadow-sm); }
.pdp-reviews__summary h4 { font-size: 16px; margin-bottom: 14px; }
.pdp-reviews__score { display: flex; align-items: center; gap: 10px; }
.pdp-reviews__num { font-size: 40px; font-weight: 800; color: var(--hb-navy); line-height: 1; }
.pdp-reviews__score .stars { font-size: 20px; letter-spacing: 1px; }
.pdp-reviews__summary > p { font-size: 13px; color: var(--hb-muted); margin: 8px 0 18px; }
.rating-bars { display: flex; flex-direction: column; gap: 8px; }
.rating-bar { display: grid; grid-template-columns: 28px 1fr 42px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--hb-muted); }
.rating-bar__track { height: 8px; background: var(--hb-bg-alt); border-radius: 5px; overflow: hidden; }
.rating-bar__track i { display: block; height: 100%; border-radius: 5px; }
.pdp-reviews__list { display: flex; flex-direction: column; gap: 16px; }
.pdp-reviews__list .rev-card { border: 1px solid var(--hb-line); box-shadow: none; }
@media (max-width: 760px) { .pdp-reviews { grid-template-columns: 1fr; } }

/* RRP modal */
.rrp-modal { position: fixed; inset: 0; background: rgba(26,39,68,.55); display: none; align-items: center; justify-content: center; z-index: 120; padding: 20px; }
.rrp-modal.is-open { display: flex; }
.rrp-modal__box { background: #fff; border-radius: var(--hb-radius-lg); padding: 30px 32px; max-width: 520px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.rrp-modal__close { position: absolute; top: 16px; right: 18px; font-size: 18px; color: var(--hb-muted); }
.rrp-modal__box h3 { font-size: 20px; margin-bottom: 18px; }
.rrp-modal__items { display: flex; flex-direction: column; gap: 14px; }
.rrp-item strong { display: block; font-size: 14px; color: var(--hb-navy); margin-bottom: 3px; }
.rrp-item p { font-size: 13.5px; color: #4a4d70; }

/* Cookie consent banner + preferences modal (GDPR/PECR) */
.cookie-banner { position: fixed; left: 0; right: 0; bottom: 0; z-index: 200; background: var(--hb-navy); color: #fff; box-shadow: 0 -4px 20px rgba(0,0,0,.2); }
.cookie-banner__inner { max-width: 1200px; margin-inline: auto; padding: 18px 24px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.cookie-banner__text { flex: 1 1 360px; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.9); margin: 0; }
.cookie-banner__text a { color: #fff; text-decoration: underline; }
.cookie-banner__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cookie-banner .btn--outline:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
@media (max-width: 640px) { .cookie-banner__actions { width: 100%; } .cookie-banner__actions .btn { flex: 1; } }

.cookie-modal { position: fixed; inset: 0; background: rgba(3,36,82,.55); align-items: center; justify-content: center; z-index: 210; padding: 20px; }
.cookie-modal:not([hidden]) { display: flex; }
.cookie-modal__box { background: #fff; border-radius: var(--hb-radius-lg); padding: 28px 30px; max-width: 460px; width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.cookie-modal__box h3 { font-size: 19px; margin-bottom: 18px; color: var(--hb-navy); }
.cookie-modal__row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--hb-line); }
.cookie-modal__row:first-of-type { border-top: none; }
.cookie-modal__row strong { display: block; font-size: 14px; color: var(--hb-navy); margin-bottom: 3px; }
.cookie-modal__row p { font-size: 12.5px; color: var(--hb-muted); }
.cookie-modal__row input[type="checkbox"] { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; }
.cookie-modal__actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

/* "Why Shop With Luxe Maple" trust section on the product page */
.why-shop { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-shop__heading { font-size: clamp(22px, 2.6vw, 28px); letter-spacing: .02em; color: var(--hb-navy); margin-bottom: 6px; }
.why-shop__brand { color: var(--hb-red); }
.why-shop__acc { margin-top: 10px; }
.why-shop__item .acc__head { gap: 14px; }
.why-shop__icon { width: 34px; height: 34px; border-radius: 9px; background: var(--hb-accent-soft, #FBE7D8); color: var(--hb-navy); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.why-shop__icon svg { width: 18px; height: 18px; transform: none !important; }
.why-shop__title { flex: 1; }
.why-shop__media { border-radius: var(--hb-radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.why-shop__media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .why-shop { grid-template-columns: 1fr; gap: 28px; }
  .why-shop__media { order: -1; aspect-ratio: 16/10; }
}

/* PDP responsive */
@media (max-width: 992px) {
  .pdp__grid { grid-template-columns: 1fr; gap: 30px; }
  .pdp__gallery { position: static; }
}
