/* =========================================================
   Aloha Hula Supply — Bootstrap 5 theme (minimal edition)
   Warm white · ink · palm green accent
   Type: Manrope (everything) · Fraunces italic (accents)
   ========================================================= */

:root {
  --bg: #fdf9f3;
  --surface: #f6eee2;
  --ink: #161917;
  --ink-soft: #434844;
  --muted: #777d77;
  --line: rgba(22, 25, 23, .12);
  --palm: #1f5c43;
  --palm-soft: #e7efe9;
  --jungle: #0e3b2e;
  --coral: #e8604c;
  --coral-soft: #fbe9e4;
  --gold: #f0a830;
  --gold-soft: #fdf0d8;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--ink);
  background-color: var(--bg);
  /* kapa-cloth inspired triangle motif, very faint */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='%231f5c43' fill-opacity='0.04'%3E%3Cpath d='M0 20 L8 6 L16 20 Z'/%3E%3Cpath d='M40 20 L48 6 L56 20 Z'/%3E%3Cpath d='M20 60 L28 46 L36 60 Z'/%3E%3Cpath d='M60 60 L68 46 L76 60 Z'/%3E%3C/g%3E%3C/svg%3E");
  overflow-x: hidden;
}

em {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
}
.section-title em { color: var(--coral); }

/* hand-drawn squiggle underline */
.squiggle {
  display: inline-block;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='10' viewBox='0 0 80 10'%3E%3Cpath d='M0 6 Q 10 1 20 6 T 40 6 T 60 6 T 80 6' fill='none' stroke='%23e8604c' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") bottom left repeat-x;
  background-size: 80px 10px;
  padding-bottom: .24em;
  margin-bottom: .06em;
}

/* twinkling sparkles */
.sparkle {
  position: absolute;
  width: 26px;
  height: 26px;
  fill: var(--gold);
  animation: twinkle 2.6s ease-in-out infinite;
  pointer-events: none;
}
.sparkle-1 { top: -1.6rem; left: -2.2rem; }
.sparkle-2 { right: 8%; bottom: -.4rem; width: 18px; fill: var(--coral); animation-delay: 1.2s; }
.sparkle-3 { top: 2.2rem; left: 9%; }
.sparkle-4 { bottom: 2.6rem; right: 8%; width: 18px; fill: #fff; animation-delay: 1.4s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
  50%      { transform: scale(.55) rotate(18deg); opacity: .55; }
}

/* sticker chips */
.sticker {
  position: absolute;
  z-index: 1;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .02em;
  background: var(--gold);
  color: var(--ink);
  padding: .6em 1.2em;
  border-radius: 50rem;
  box-shadow: 0 10px 24px rgba(22, 25, 23, .18);
  transform: rotate(-6deg);
  transition: transform .3s ease;
}
.sticker:hover { transform: rotate(0deg) scale(1.04); }
.sticker-story { bottom: 1.4rem; right: -.8rem; background: var(--coral); color: #fff; }

.overline {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--palm);
  margin-bottom: 0;
}
.overline-light { color: rgba(255, 255, 255, .65); }

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.05;
}

.lead-muted {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 34rem;
  line-height: 1.7;
}

.section-pad { padding: 6.5rem 0; }
.bg-surface { background-color: var(--surface); }
.bg-jungle {
  background-color: var(--jungle);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80'%3E%3Cg fill='%23fdf9f3' fill-opacity='0.035'%3E%3Cpath d='M0 20 L8 6 L16 20 Z'/%3E%3Cpath d='M40 20 L48 6 L56 20 Z'/%3E%3Cpath d='M20 60 L28 46 L36 60 Z'/%3E%3Cpath d='M60 60 L68 46 L76 60 Z'/%3E%3C/g%3E%3C/svg%3E");
}

/* giant watermark word */
.bg-word {
  position: absolute;
  top: -2rem;
  right: -3rem;
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(8rem, 22vw, 19rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(253, 249, 243, .1);
  user-select: none;
  pointer-events: none;
}

/* dark-section overrides */
.bg-jungle .overline { color: var(--gold); }
.bg-jungle .section-title { color: #fff; }
.bg-jungle .section-title em { color: var(--gold); }
.bg-jungle .product-name,
.bg-jungle .product-price { color: #fff; }
.bg-jungle .product-price s { color: rgba(255, 255, 255, .5); }
.bg-jungle .product-cat { color: rgba(255, 255, 255, .6); }
.bg-jungle .rating .count { color: rgba(255, 255, 255, .55); }
.bg-jungle .filter-pills .nav-link { color: rgba(255, 255, 255, .65); }
.bg-jungle .filter-pills .nav-link:hover { color: #fff; }
.bg-jungle .filter-pills .nav-link.active {
  color: var(--ink);
  background: var(--bg);
  border-color: transparent;
}

/* ---------- Scroll-reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .8s cubic-bezier(.22, .61, .36, 1), transform .8s cubic-bezier(.22, .61, .36, 1);
}
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }
.reveal[data-delay="4"] { transition-delay: .4s; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .sparkle { animation: none !important; }
}

/* ---------- Buttons & links ---------- */
.btn { transition: all .25s ease; font-weight: 600; }

.btn-ink {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.btn-ink:hover, .btn-ink:focus {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
  transform: translateY(-1px);
}

.btn-outline-ink {
  border: 1.5px solid var(--ink);
  color: var(--ink);
  background: transparent;
}
.btn-outline-ink:hover, .btn-outline-ink:focus {
  background: var(--ink);
  color: #fff;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .95rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: .15rem;
}
.text-link .bi { transition: transform .25s ease; }
.text-link:hover { color: var(--palm); border-color: var(--palm); }
.text-link:hover .bi { transform: translateX(4px); }

/* ---------- Navbar ---------- */
#siteNav {
  background: rgba(251, 250, 248, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, padding .3s ease;
}
#siteNav.scrolled {
  border-bottom-color: var(--line);
  padding-top: .65rem !important;
  padding-bottom: .65rem !important;
}

.brand {
  font-weight: 800;
  letter-spacing: -.02em;
  color: var(--ink);
}
.brand-dot { color: var(--palm); }
.navbar-brand.brand:hover { color: var(--ink); }

.brand-logo {
  height: 68px;
  width: auto;
  display: block;
  transition: height .3s ease;
}
#siteNav.scrolled .brand-logo { height: 50px; }

@media (max-width: 991.98px) {
  .brand-logo { height: 54px; }
  #siteNav.scrolled .brand-logo { height: 46px; }
}

/* white version for the dark footer */
.brand-logo-light {
  height: 52px;
  filter: brightness(0) invert(1);
  opacity: .92;
}

#siteNav .nav-link {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
#siteNav .nav-link:hover,
#siteNav .nav-link.active { color: var(--ink); }

.icon-link {
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  border: 0;
  background: none;
}
.icon-link:hover { color: var(--palm); }

/* ---------- Shop mega menu ---------- */
.mega .dropdown-toggle::after { vertical-align: .12em; opacity: .55; }

.mega-menu {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--bg);
  box-shadow: 0 24px 60px rgba(22, 25, 23, .16);
  padding: 1.25rem 1.25rem 1rem;
  margin-top: .85rem;
  /* fits up to 4 per row; extra categories wrap to new rows automatically */
  width: min(46rem, calc(100vw - 2rem));
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1rem;
}

.mega-item {
  display: block;
  text-decoration: none;
  color: var(--ink);
}
.mega-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: .8rem;
  margin-bottom: .6rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.mega-item:hover img {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(22, 25, 23, .18);
}
.mega-item strong {
  display: block;
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.mega-item:hover strong { color: var(--coral); }
.mega-item span {
  display: block;
  font-size: .76rem;
  color: var(--muted);
  margin-top: .1rem;
}

.mega-footer {
  border-top: 1px solid var(--line);
  margin-top: 1.1rem;
  padding-top: .9rem;
  text-align: right;
}
.mega-footer .text-link { font-size: .85rem; }

/* mega menu body: category grid + optional ad banner on the right */
.mega-body { display: flex; gap: 1.1rem; }
.mega-body .mega-grid { flex: 1 1 auto; }

.mega-menu.has-promo { width: min(60rem, calc(100vw - 2rem)); }

.mega-promo {
  position: relative;
  flex: 0 0 14rem;
  border-radius: .9rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.mega-promo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mega-promo-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(190deg, rgba(13, 18, 15, .1) 25%, rgba(13, 18, 15, .85) 100%);
}
.mega-promo-body {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 1.1rem;
}
.mega-promo-eyebrow {
  display: block;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .25rem;
}
.mega-promo-body strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.15;
}
.mega-promo-body p {
  font-size: .78rem;
  color: rgba(255, 255, 255, .8);
  margin: .35rem 0 .7rem;
}
.mega-promo-body .btn-light { color: var(--ink); }
.mega-promo-body .btn-light:hover { background: var(--coral); border-color: var(--coral); color: #fff; }

/* hover-open on desktop; centered under the nav item */
@media (min-width: 992px) {
  .mega-menu {
    left: 50%;
    transform: translateX(-50%);
  }
  /* invisible bridge over the gap between the nav link and the panel,
     so hover isn't lost while the cursor crosses it */
  .mega-menu::before {
    content: "";
    position: absolute;
    top: -1rem;
    left: 0;
    right: 0;
    height: 1.05rem;
  }
  .mega:hover > .mega-menu,
  .mega:focus-within > .mega-menu { display: block; }
}

/* collapsed-nav (mobile) layout */
@media (max-width: 991.98px) {
  .mega-menu {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: .5rem 0 0;
    margin-top: 0;
  }
  /* compact list rows on mobile — small thumb beside text */
  .mega-grid { grid-template-columns: 1fr; gap: .15rem; }
  .mega-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    column-gap: .85rem;
    align-items: center;
    padding: .4rem .3rem;
    border-radius: .75rem;
  }
  .mega-item:active { background: var(--surface); }
  .mega-item img {
    grid-row: span 2;
    width: 52px;
    height: 52px;
    aspect-ratio: 1;
    border-radius: .6rem;
    margin-bottom: 0;
  }
  .mega-item strong { grid-column: 2; }
  .mega-item span { grid-column: 2; margin-top: 0; }
  .mega-footer { text-align: left; }
  /* ad banner stacks below the grid on mobile */
  .mega-body { flex-direction: column; }
  .mega-promo { flex: 0 0 auto; min-height: 9rem; }
}

.cart-badge {
  top: 2px;
  left: 100%;
  background-color: var(--palm);
  font-size: .62rem;
}

#siteNav .navbar-collapse.show,
#siteNav .navbar-collapse.collapsing { padding-bottom: 1rem; }

/* the navbar is position:fixed, so an expanded menu taller than the screen
   can't be reached by page scroll — let the menu itself scroll instead */
@media (max-width: 991.98px) {
  #siteNav .navbar-collapse.show,
  #siteNav .navbar-collapse.collapsing {
    max-height: calc(100svh - 110px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding-right: .25rem;
  }
}

/* ---------- Hero: full-bleed slideshow ---------- */
.hero { position: relative; }

.hero-slides .carousel-inner,
.hero-slides .carousel-item { height: 100svh; min-height: 620px; }
.hero-slides .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slides .carousel-item { transition-duration: 1.2s; }

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(13, 18, 15, .72) 0%, rgba(13, 18, 15, .45) 50%, rgba(13, 18, 15, .2) 100%),
    linear-gradient(180deg, rgba(13, 18, 15, .35) 0%, rgba(13, 18, 15, 0) 30%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  padding-top: 4.5rem;
  pointer-events: none;
}
.hero-overlay .container > * { pointer-events: auto; }

.hero-content { color: #fff; }

.overline-hero { color: var(--gold); }

.hero-title {
  position: relative;
  display: inline-block;
  font-size: clamp(2.9rem, 6.5vw, 5rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.02;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .35);
}
.hero-title em { color: #fff; }

.hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .85);
  max-width: 32rem;
  line-height: 1.7;
}

.text-link-light { color: #fff; border-color: #fff; }
.text-link-light:hover { color: var(--gold); border-color: var(--gold); }

.hero .btn-light { color: var(--ink); }
.hero .btn-light:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-1px); }

.hero-stats { border-top: 1px solid rgba(255, 255, 255, .3); }
.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.stat-label { font-size: .82rem; color: rgba(255, 255, 255, .65); }

/* arrows */
.hero-arrow {
  width: 56px;
  height: 56px;
  top: auto;
  bottom: 2.4rem;
  opacity: 1;
  z-index: 6;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .5);
  border-radius: 50%;
  color: #fff;
  font-size: 1.3rem;
  background: rgba(13, 18, 15, .25);
  backdrop-filter: blur(6px);
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.hero-arrow:hover { background: var(--coral); border-color: var(--coral); color: #fff; transform: translateY(-2px); }
.hero-arrow-prev { left: auto; right: calc(2.4rem + 68px); }
.hero-arrow-next { right: 2.4rem; }

/* dots */
.hero-dots {
  margin-bottom: 2.9rem;
  gap: .25rem;
  z-index: 6;
}
.hero-dots [data-bs-target] {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background-color: rgba(255, 255, 255, .5);
  transition: transform .25s ease, background-color .25s ease;
}
.hero-dots [data-bs-target].active {
  background-color: #fff;
  transform: scale(1.4);
}

/* ---------- Ticker ---------- */
.ticker {
  background: var(--coral-soft);
  border-top: 1px solid rgba(232, 96, 76, .25);
  border-bottom: 1px solid rgba(232, 96, 76, .25);
  overflow: hidden;
  white-space: nowrap;
  padding: .85rem 0;
}
.ticker-track {
  display: inline-flex;
  animation: ticker 36s linear infinite;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--coral);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Collections bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 245px;
  gap: 1.25rem;
}
.bento-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1.25rem;
  text-decoration: none;
  color: #fff;
  transition: transform .35s ease;
}
.bento-card:hover { transform: translateY(-5px); color: #fff; }
.bento-feature { grid-column: span 2; grid-row: span 2; }
.bento-wide { grid-column: span 2; }

.bento-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.bento-card:hover img { transform: scale(1.05); }

.bento-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(185deg, rgba(12, 16, 14, 0) 42%, rgba(12, 16, 14, .78) 100%);
}

.bento-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 1;
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-3deg);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .5em 1em;
  border-radius: 50rem;
}

.bento-info {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.4rem 1.5rem 1.3rem;
}
.bento-info h3 {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .1rem;
}
.bento-feature .bento-info h3 { font-size: 1.9rem; }
.bento-info p {
  font-size: .85rem;
  color: rgba(255, 255, 255, .78);
  margin-bottom: .55rem;
}
.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: #fff;
  opacity: .9;
}
.bento-cta .bi { transition: transform .25s ease; }
.bento-card:hover .bento-cta .bi { transform: translateX(4px); }

/* ---------- Products (borderless cards) ---------- */
.filter-pills { gap: .25rem; }
.filter-pills .nav-link {
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50rem;
  padding: .45rem 1.1rem;
  transition: all .25s ease;
}
.filter-pills .nav-link:hover { color: var(--ink); }
.filter-pills .nav-link.active {
  color: var(--ink);
  background: var(--bg);
  border-color: var(--line);
}

.product { position: relative; }
.product-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.1rem;
  background: #e9e5dd;
}
.product-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .7s ease;
}
.product { transition: transform .3s ease; }
.product:hover { transform: translateY(-5px) rotate(-.5deg); }
.product:hover .product-media img { transform: scale(1.06); }

.product-badge {
  position: absolute;
  top: .8rem;
  left: .8rem;
  z-index: 1;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .45em .95em;
  border-radius: 50rem;
}
.badge-new  { background: var(--palm); color: #fff; }
.badge-sale { background: var(--coral); color: #fff; }
.badge-best { background: var(--gold); color: var(--ink); }

.product-actions {
  position: absolute;
  inset: auto .8rem .8rem;
  display: flex;
  gap: .5rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease;
}
.product:hover .product-actions,
.product:focus-within .product-actions {
  opacity: 1;
  transform: translateY(0);
}
.product-actions .btn {
  background: rgba(251, 250, 248, .96);
  color: var(--ink);
  border: 0;
  border-radius: 50rem;
  font-size: .82rem;
  font-weight: 700;
  padding: .55rem 1rem;
  box-shadow: 0 8px 20px rgba(12, 16, 14, .18);
}
.product-actions .btn:hover { background: var(--coral); color: #fff; }
.product-actions .btn-icon { flex: 0 0 auto; width: 38px; padding: .55rem 0; }

.product-meta { margin-top: .9rem; }
.product-brand { margin: 0 0 .15rem; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, #6b7280); }
.pdp-brand { margin: 0 0 .35rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #6b7280); }
.pdp-sku { margin: .35rem 0 0; font-size: .82rem; color: var(--muted, #6b7280); letter-spacing: .02em; }
.product-name {
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: -.01em;
  margin-bottom: .1rem;
}
.product-cat { font-size: .78rem; color: var(--muted); text-transform: capitalize; }
.product-price { font-weight: 800; font-size: .95rem; white-space: nowrap; }
.product-price s { color: var(--muted); font-weight: 500; font-size: .82rem; margin-left: .35rem; }

.rating { color: var(--gold); font-size: .78rem; letter-spacing: .05em; }
.rating .count { color: var(--muted); margin-left: .25rem; letter-spacing: 0; }

/* ---------- Customer favorites masonry ---------- */
.customer-favorites-masonry {
  display: grid;
  column-gap: 1.5rem;
  grid-auto-flow: dense;
  grid-auto-rows: 4px;
  grid-template-columns: 1fr;
  row-gap: 4px;
  width: 100%;
}

.favorites-masonry-item {
  min-width: 0;
  width: 100%;
}

.favorites-masonry-empty {
  color: rgba(255, 255, 255, .7);
  grid-column: 1 / -1;
}

.favorites-masonry-item .product-media img {
  aspect-ratio: auto;
  display: block;
  height: 100%;
  min-height: 0;
  width: 100%;
}

.favorites-masonry-item .product-link {
  display: block;
  height: 100%;
}

.favorites-masonry-item--portrait .product-media {
  aspect-ratio: 4 / 5;
}

.favorites-masonry-item--square .product-media {
  aspect-ratio: 1;
}

.favorites-masonry-item--landscape .product-media {
  aspect-ratio: 5 / 4;
}

.favorites-masonry-item--tall .product-media {
  aspect-ratio: 3 / 4;
}

.favorites-masonry-item .product-meta {
  padding-inline: .15rem;
}

@media (min-width: 576px) {
  .customer-favorites-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .customer-favorites-masonry {
    column-gap: 1.75rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1400px) {
  .customer-favorites-masonry {
    column-gap: 2rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1900px) {
  .customer-favorites-masonry {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ---------- Listing page (shop.html) ---------- */
.listing-head { padding: 9.5rem 0 2.75rem; }

.crumbs {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  margin-bottom: 1rem;
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--coral); }
.crumbs span { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }

/* Category cards under the listing header: a horizontal rail of the current
   category's sub-categories (or its siblings for a leaf; top level on /browse),
   styled like the shop mega-menu tiles (.mega-item). */
.cat-cards { margin-top: 1.6rem; }
.cat-cards-title {
  margin: 0 0 .75rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted);
}
.cat-cards-track {
  display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity;
  padding: .25rem .25rem .9rem; margin: 0 -.25rem; scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
/* Same look as the desktop .mega-item tile, but not the class itself: the mega
   menu collapses its items into 52px rows under 992px, and the rail must stay tiles. */
.cat-card { flex: 0 0 10.5rem; scroll-snap-align: start; display: block; text-decoration: none; color: var(--ink); }
.cat-card img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: .8rem; margin-bottom: .6rem;
}
.cat-card img, .cat-card-placeholder { transition: transform .25s ease, box-shadow .25s ease; }
.cat-card:hover img { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 25, 23, .18); }
.cat-card strong { display: block; font-size: .9rem; font-weight: 800; letter-spacing: -.01em; }
.cat-card:hover strong { color: var(--coral); }
.cat-card span { display: block; font-size: .76rem; color: var(--muted); margin-top: .1rem; }
.cat-card .cat-card-placeholder { /* outranks the generic .cat-card span rule */
  display: grid; place-items: center; width: 100%; aspect-ratio: 4 / 3; margin: 0 0 .6rem;
  border-radius: .8rem; background: var(--surface);
  font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 2rem; color: var(--palm);
}
.cat-card:hover .cat-card-placeholder { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(22, 25, 23, .18); }
.cat-card.active img, .cat-card.active .cat-card-placeholder { box-shadow: 0 0 0 3px var(--palm); }
.cat-card.active strong { color: var(--palm); }
@media (max-width: 575.98px) { .cat-card { flex-basis: 8.5rem; } }

/* sub-category chips under the category header */
.sub-chips {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: 1.4rem;
}
.sub-chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  border: 1.5px solid var(--line);
  border-radius: 50rem;
  background: #fff;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
  padding: .45rem 1.05rem;
  transition: all .2s ease;
}
.sub-chip span {
  font-size: .7rem;
  font-weight: 800;
  color: var(--muted);
  background: var(--surface);
  border-radius: 50rem;
  padding: .12em .55em;
}
.sub-chip:hover { border-color: var(--coral); color: var(--coral); }
.sub-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.sub-chip.active span { background: rgba(255, 255, 255, .18); color: #fff; }

.facet-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  margin-bottom: 1rem;
}
.facet-title {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .8rem;
}
.facet-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  padding: .38rem 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}
.facet-list a:hover { color: var(--coral); }
.facet-list a.active { color: var(--palm); font-weight: 800; }
.facet-list a span {
  font-size: .72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--surface);
  border-radius: 50rem;
  padding: .15em .6em;
}
.facet-list a.active span { background: var(--palm-soft); color: var(--palm); }
.facet-list a.facet-child { padding-left: calc(var(--depth, 1) * 1.1rem); font-size: .92em; }
/* a top-level category with sub-categories folds: + / − on the row, children below it */
.facet-group-row { display: flex; align-items: center; gap: .4rem; }
.facet-group-row a { flex: 1 1 auto; min-width: 0; }
.facet-toggle {
  flex: 0 0 auto;
  width: 1.55rem; height: 1.55rem;
  display: grid; place-items: center;
  border: 0; border-radius: 50rem;
  background: var(--surface);
  color: var(--ink-soft);
  font-size: .8rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.facet-toggle:hover { background: var(--coral); color: #fff; }
.facet-toggle:active { transform: scale(.92); }
.facet-group.is-open .facet-toggle { background: var(--palm-soft); color: var(--palm); }
.facet-children { border-left: 2px solid var(--surface); margin-left: .35rem; padding-left: .2rem; margin-bottom: .2rem; }

.facet-card .form-check { padding-top: .15rem; padding-bottom: .15rem; }
.facet-card .form-check-label { font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.facet-card .form-check-input:checked { background-color: var(--palm); border-color: var(--palm); }

.result-count { font-size: .95rem; color: var(--muted); }
.result-count strong { color: var(--ink); }
/* the grid fills a batch at a time; this block sits under it with the count, a progress bar and Show more */
.listing-more { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.listing-more-count { font-size: .9rem; color: var(--muted); }
.listing-more-count strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.listing-more-bar { width: min(280px, 60%); height: 3px; margin: 0 auto; border-radius: 3px; background: var(--surface); overflow: hidden; }
.listing-more-bar span { display: block; height: 100%; border-radius: 3px; background: var(--palm); transition: width .4s ease; }
.sort-label { font-size: .85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.sort-select {
  width: auto;
  border-radius: 50rem;
  border-color: var(--line);
  font-weight: 600;
  background-color: #fff;
}

@media (min-width: 992px) {
  .listing-page aside { position: sticky; top: 110px; align-self: flex-start; }
}

/* ---------- Product detail page ---------- */
.pdp-top { padding: 9.5rem 0 3rem; }

.pdp-main {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #e9e5dd;
  cursor: zoom-in;
}
.pdp-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.pdp-main:hover img { transform: scale(1.025); }
.pdp-zoom {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: rgba(251, 250, 248, .94);
  color: var(--ink);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .03em;
  border-radius: 50rem;
  padding: .5em 1.05em;
  box-shadow: 0 8px 20px rgba(13, 18, 15, .18);
}

.pdp-thumbs { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: .9rem; }
.pdp-thumb {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: .75rem;
  overflow: hidden;
  background: none;
  transition: border-color .2s ease, transform .2s ease;
}
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb:hover { transform: translateY(-2px); }
.pdp-thumb.active { border-color: var(--ink); }

.pdp-badge {
  position: static;
  display: inline-block;
  transform: none;
  margin-bottom: 1rem;
}
.pdp-price { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; margin: .5rem 0 1rem; }
.pdp-price s { font-size: 1.1rem; color: var(--muted); font-weight: 500; margin-left: .5rem; }

/* pattern picker */
.pdp-patterns { margin: 1.4rem 0 .4rem; }
.pattern-label {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .6rem;
}
.pattern-label strong { color: var(--ink); }
.pattern-row { display: flex; flex-wrap: wrap; gap: .65rem; }
.pattern-swatch {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1.5px var(--line);
  padding: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}
.pattern-swatch:hover { transform: scale(1.1); }
.pattern-swatch.active {
  box-shadow: 0 0 0 2.5px var(--palm);
  transform: scale(1.06);
}

/* size selector */
.pdp-sizes { margin: 1.2rem 0 .4rem; }
.size-guide-link {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--palm);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.size-guide-link:hover { color: var(--coral); }
.size-row { display: flex; flex-wrap: wrap; gap: .55rem; }
/* PDP size slots render as a dropdown (the quick-view modal still uses chips) */
.size-select {
  display: block;
  width: 100%;
  max-width: 240px;
  padding: .55rem 2.4rem .55rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23434844'%3E%3Cpath d='M4.22 5.97a.75.75 0 0 1 1.06 0L8 8.69l2.72-2.72a.75.75 0 1 1 1.06 1.06l-3.25 3.25a.75.75 0 0 1-1.06 0L4.22 7.03a.75.75 0 0 1 0-1.06z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .8rem center;
  background-size: 16px;
  appearance: none;
  -webkit-appearance: none;
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.size-select:hover { border-color: var(--palm); }
.size-select:focus {
  outline: none;
  border-color: var(--palm);
  box-shadow: 0 0 0 3px var(--palm-soft);
}
.size-chip {
  min-width: 46px;
  padding: .5rem .95rem;
  border: 1.5px solid var(--line);
  border-radius: 50rem;
  background: #fff;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
  transition: all .2s ease;
}
.size-chip:hover { border-color: var(--palm); color: var(--palm); }
.size-chip.active {
  background: var(--palm);
  border-color: var(--palm);
  color: #fff;
}

/* compact variant pickers inside the quick-view modal */
.qv-variant { margin-bottom: .9rem; }
.qv-variant .pattern-label { margin-bottom: .45rem; font-size: .72rem; }
.qv-variant .pattern-swatch { width: 30px; height: 30px; }
.qv-variant .size-chip {
  min-width: 38px;
  padding: .32rem .7rem;
  font-size: .78rem;
}

/* ---------- Confirm-email nag banner ---------- */
.confirm-email-banner {
  position: fixed;   /* anchored to the bottom of the viewport, out of the way of the nav */
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;     /* below Bootstrap's toasts (1090) so "Added to cart" still shows above it */
  box-shadow: 0 -6px 18px rgba(20, 30, 24, .12);
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem 1rem;
  background: var(--palm);
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
}
.confirm-email-banner .bi { font-size: 1.1rem; }

/* ---------- Account / auth pages ---------- */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.25rem 3rem;
  background:
    radial-gradient(120% 120% at 100% 0%, var(--palm-soft) 0%, transparent 55%),
    var(--bg, #fbf9f4);
}
.auth-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 22px;
  padding: 2.4rem 2.2rem;
  box-shadow: 0 30px 60px -40px rgba(20, 30, 24, .4);
}
.auth-card .overline { letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--palm); font-size: .72rem; }
.auth-title { font-family: "Fraunces", serif; font-style: italic; font-weight: 400; font-size: 2rem; margin: .2rem 0 .3rem; }
.auth-sub { color: var(--muted); margin-bottom: 1.4rem; }
.auth-field { margin-bottom: 1rem; }
.auth-field label { display: block; font-size: .82rem; font-weight: 600; margin-bottom: .35rem; }
.auth-pw { position: relative; }
.auth-pw .auth-eye { position: absolute; right: .6rem; top: 50%; transform: translateY(-50%); background: none; border: 0; color: var(--muted); }
.auth-switch { text-align: center; margin-top: 1.3rem; color: var(--muted); font-size: .9rem; }
.auth-switch a { color: var(--palm); font-weight: 700; text-decoration: none; }
.auth-note { text-align: center; }
.auth-note .bi { font-size: 2.6rem; color: var(--palm); }

/* My Account */
.account-orders { width: 100%; border-collapse: collapse; }
.account-orders th, .account-orders td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); font-size: .9rem; }
.account-orders th { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.account-status { display: inline-block; padding: .12rem .6rem; border-radius: 50rem; font-size: .74rem; font-weight: 700; background: var(--palm-soft); color: var(--palm); }

/* Browse option facets (built from the cached facet index) */
.facet-options { display: flex; flex-wrap: wrap; gap: .45rem; }
.facet-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem .3rem .45rem;
  border: 1.5px solid var(--line); border-radius: 50rem; background: #fff;
  font-size: .8rem; font-weight: 600; color: var(--ink-soft); cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.facet-chip:hover { border-color: var(--palm); color: var(--ink); }
.facet-chip.active { border-color: var(--palm); background: var(--palm-soft); color: var(--palm); }
.facet-chip.is-empty { opacity: .45; }
.facet-chip .facet-swatch { width: 16px; height: 16px; border-radius: 4px; flex-shrink: 0; box-shadow: 0 0 0 1px var(--line); }
.facet-chip .facet-count { color: var(--muted); font-weight: 500; }
.facet-chip.active .facet-count { color: var(--palm); }
.facet-clear { font-size: .78rem; color: var(--palm); text-decoration: none; font-weight: 700; }
.facet-clear:hover { text-decoration: underline; }
/* the option facets fold under an "Advanced filters" disclosure */
.facet-advanced { margin-bottom: 1rem; }
.facet-advanced-toggle {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  padding: .85rem 1.3rem; border: 1.5px dashed var(--line); border-radius: 1rem; background: transparent;
  font-size: .72rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
  cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.facet-advanced-toggle:hover { border-color: var(--palm); color: var(--palm); }
.facet-advanced.is-open .facet-advanced-toggle {
  border-style: solid; border-color: var(--line); border-bottom-color: transparent; border-radius: 1rem 1rem 0 0;
  background: #fff; color: var(--ink);
}
.facet-advanced-chevron { margin-left: auto; font-size: .8rem; transition: transform .2s ease; }
.facet-advanced.is-open .facet-advanced-chevron { transform: rotate(180deg); }
.facet-advanced-badge { min-width: 1.35rem; padding: .08rem .45rem; border-radius: 50rem; background: var(--palm); color: #fff; font-size: .68rem; letter-spacing: 0; text-align: center; }
.facet-advanced-body { border: 1.5px solid var(--line); border-top: 0; border-radius: 0 0 1rem 1rem; padding: 0 1.3rem .35rem; background: #fff; }
.facet-advanced-body .facet-card { border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 1rem 0; margin: 0; }
.facet-advanced-body > .facet-card:first-child { border-top: 0; }
.facet-drawer-foot { display: flex; align-items: center; gap: .6rem; }
.facet-show-items { flex: 1 1 auto; }
.facet-clear-all { flex: 0 0 auto; font-weight: 700; white-space: nowrap; }
.facet-clear-all[hidden] { display: none; }

/* Account hub: nav tabs, stat tiles, favorites grid, settings */
.account-nav { display: flex; flex-wrap: wrap; gap: .35rem; margin: 1.1rem 0 1.3rem; border-bottom: 1.5px solid var(--line); }
.account-nav a { padding: .55rem .9rem; font-size: .88rem; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; }
.account-nav a:hover { color: var(--ink); }
.account-nav a.active { color: var(--palm); border-bottom-color: var(--palm); }
.account-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .8rem; }
.account-tile { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; padding: .95rem 1rem; border: 1.5px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); transition: border-color .2s ease, box-shadow .2s ease; }
.account-tile:hover { border-color: var(--palm); box-shadow: 0 0 0 3px var(--palm-soft); color: var(--ink); }
.account-tile .bi { color: var(--palm); font-size: 1.2rem; }
.account-tile strong { font-size: 1.4rem; line-height: 1.1; }
.account-tile span { font-size: .8rem; color: var(--muted); font-weight: 600; }
.fav-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .9rem; }
.fav-card { border: 1.5px solid var(--line); border-radius: 14px; overflow: hidden; }
.fav-card.is-unavailable { opacity: .6; }
.fav-thumb img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: #eee8df; }
.fav-body { padding: .75rem .9rem .9rem; display: grid; gap: .25rem; }
.settings-section { border-top: 1.5px solid var(--line); padding-top: 1.3rem; margin-top: 1.3rem; }
.settings-section:first-of-type { border-top: 0; padding-top: 0; margin-top: 0; }
.pref-list { display: grid; gap: .55rem; }
.pref-row { display: flex; gap: .75rem; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: .7rem .9rem; margin: 0; cursor: pointer; }
.pref-row:has(input:checked) { border-color: var(--palm); box-shadow: 0 0 0 3px var(--palm-soft); }
.pref-row input { margin-top: .2rem; accent-color: var(--palm); }
.pref-row span { display: grid; gap: .1rem; }
.pref-row small { color: var(--muted); }
.pdp-fav.is-fav { color: #c1543c; border-color: #c1543c; }
.pdp-fav.is-fav:hover { background: #fbeeea; color: #c1543c; }

/* Saved addresses (account page grid + checkout chooser) */
.address-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .9rem; }
.address-card {
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: .9rem 1rem;
}
.address-card.is-default { border-color: var(--palm); box-shadow: 0 0 0 3px var(--palm-soft); }
.address-chooser { display: grid; gap: .5rem; }
.address-choice {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .65rem .9rem;
  cursor: pointer;
  margin: 0;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.address-choice:has(input:checked) { border-color: var(--palm); box-shadow: 0 0 0 3px var(--palm-soft); }
.address-choice input { margin-top: .25rem; accent-color: var(--palm); }

/* ---------- Checkout page ---------- */
.checkout-page { padding: 8.5rem 0 4rem; }
.checkout-title {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: .35rem 0 1.2rem;
}
.checkout-heading {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: .9rem;
}
.checkout-section { margin-bottom: 2.2rem; }
.checkout-summary {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
}
.checkout-promo {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--palm);
  padding: .3rem 0;
}
.checkout-totals {
  border-top: 1.5px solid var(--line);
  margin-top: 1rem;
  padding-top: 1rem;
  display: grid;
  gap: .35rem;
}
.checkout-grand { font-size: 1.1rem; }
.checkout-ship-option {
  display: flex;
  align-items: center;
  gap: .7rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: .7rem .95rem;
  margin-bottom: .55rem;
  cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.checkout-ship-option:has(input:checked) {
  border-color: var(--palm);
  box-shadow: 0 0 0 3px var(--palm-soft);
}
.checkout-ship-option input { accent-color: var(--palm); }
.checkout-ship-name { font-weight: 600; display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.checkout-ship-text { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.checkout-ship-meta { font-size: .8rem; color: var(--bs-secondary-color); }
.checkout-ship-badge { font-size: .66rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: .1rem .45rem; border-radius: 999px; background: var(--sand, #f1e9dc); color: var(--ink, #1f1a17); }
.checkout-ship-badge.is-free { background: var(--palm, #2f6b4f); color: #fff; }
.checkout-ship-badge.is-fastest { background: var(--coral, #e0563c); color: #fff; }
.checkout-ship-price { margin-left: auto; font-weight: 700; white-space: nowrap; align-self: center; }
.checkout-ship-option.is-pending { opacity: .75; cursor: progress; }
.checkout-ship-skeleton { display: inline-block; width: 3.5rem; height: 1rem; border-radius: 6px; background: linear-gradient(90deg, rgba(0,0,0,.06) 25%, rgba(0,0,0,.12) 50%, rgba(0,0,0,.06) 75%); background-size: 200% 100%; animation: ship-shimmer 1.2s linear infinite; }
@keyframes ship-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .checkout-ship-skeleton { animation: none; } }
.checkout-line-unavailable { opacity: .55; }
.checkout-confirm { max-width: 900px; }
.checkout-confirm-icon {
  font-size: 3rem;
  color: var(--palm);
  margin-bottom: .3rem;
}
.checkout-order-number { font-size: 1.05rem; }
.checkout-address { line-height: 1.5; }

/* pattern shown on cart lines */
.cart-pattern {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--muted);
}
/* server cart: one selection per row instead of a dot-separated line */
.cart-pattern--stacked {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .2rem;
  margin: .15rem 0 .1rem;
}
.cart-selection {
  display: flex;
  align-items: center;
  gap: .45rem;
}
/* bigger option preview in the server cart rows (the inline demo chips stay 12px) */
.cart-selection .cart-swatch {
  width: 20px;
  height: 20px;
  border-radius: 5px;
}
.cart-selection strong { font-weight: 600; color: var(--ink-soft); }
.cart-swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  display: inline-block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line);
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--line);
  border-radius: 50rem;
  background: #fff;
  overflow: hidden;
}
.qty-stepper button {
  width: 46px;
  height: 50px;
  border: 0;
  background: none;
  font-size: 1.2rem;
  color: var(--ink-soft);
}
.qty-stepper button:hover { color: var(--coral); }
.qty-stepper input {
  width: 3rem;
  border: 0;
  text-align: center;
  font-weight: 800;
  background: transparent;
  -moz-appearance: textfield;
}
.qty-stepper input::-webkit-outer-spin-button,
.qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.pdp-perks li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .35rem 0;
  font-size: .92rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.pdp-perks .bi { color: var(--palm); font-size: 1.05rem; }

.pdp-accordion { border-top: 1px solid var(--line); }
.pdp-accordion .accordion-item { background: transparent; border-bottom: 1px solid var(--line); }
.pdp-accordion .accordion-button {
  background: transparent;
  font-weight: 800;
  color: var(--ink);
  padding-left: 0;
  padding-right: 0;
  box-shadow: none;
}
.pdp-accordion .accordion-button:not(.collapsed) { color: var(--palm); }
.pdp-accordion .accordion-body {
  padding-left: 0;
  padding-right: 0;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.7;
}

/* lightbox slideshow */
.gallery-modal .modal-content {
  background: rgba(13, 18, 15, .97);
  border: 0;
  border-radius: 0;
}
.lightbox-close {
  position: absolute;
  top: 1.4rem;
  right: 1.6rem;
  z-index: 10;
  padding: .8rem;
}
/* match Bootstrap's visible-slide classes — a bare .carousel-item rule would
   override its display:none and stack every image at once */
.gallery-modal .carousel-item.active,
.gallery-modal .carousel-item-next,
.gallery-modal .carousel-item-prev,
.gallery-modal .carousel-item-start,
.gallery-modal .carousel-item-end {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gallery-modal .carousel-item img {
  max-width: min(92vw, 1100px);
  max-height: 84vh;
  object-fit: contain;
  border-radius: .5rem;
}
.lb-arrow {
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}
.lb-arrow.lb-arrow-prev { left: 2rem; right: auto; }
.lb-arrow.lb-arrow-next { right: 2rem; }
.lb-arrow:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-counter {
  position: absolute;
  bottom: 1.6rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .85);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
}

/* product card links */
.product-name a { color: inherit; text-decoration: none; }
.product-name a:hover { color: var(--coral); }
.product-link { display: block; }

@media (max-width: 991.98px) {
  .pdp-top { padding-top: 7.5rem; }
  .lb-arrow.lb-arrow-prev { left: .8rem; }
  .lb-arrow.lb-arrow-next { right: .8rem; }
}

/* ---------- Story ---------- */
.story-media { position: relative; }
.story-media img {
  width: 100%;
  aspect-ratio: 4 / 3.3;
  object-fit: cover;
  border-radius: 1.5rem 8rem 1.5rem 1.5rem;
}
.story-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .8rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.story-list li:first-child { border-top: 1px solid var(--line); }
.story-list .bi {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--palm-soft);
  color: var(--palm);
  font-size: 1rem;
}
.story-list li:nth-child(2) .bi { background: var(--coral-soft); color: var(--coral); }
.story-list li:nth-child(3) .bi { background: var(--gold-soft); color: #b97f1d; }

/* ---------- Review band ---------- */
.quote-band { padding: 4.5rem 0; }
.quote-band-text {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 46rem;
}
.quote-band-author { font-size: .88rem; color: var(--muted); }
.quote-band-author strong { color: var(--ink); }

/* ---------- Instagram gallery ---------- */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
@media (min-width: 992px) {
  .insta-grid { grid-template-columns: repeat(6, 1fr); }
}

.insta-tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: .9rem;
  aspect-ratio: 1;
}
.insta-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.insta-tile:hover img { transform: scale(1.07); }

.insta-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  background: rgba(13, 18, 15, .55);
  color: #fff;
  opacity: 0;
  transition: opacity .3s ease;
}
.insta-tile:hover .insta-overlay,
.insta-tile:focus-visible .insta-overlay { opacity: 1; }
.insta-overlay > .bi-instagram { font-size: 1.5rem; }
.insta-stats {
  display: flex;
  gap: 1rem;
  font-size: .82rem;
  font-weight: 700;
}
.insta-stats .bi { margin-right: .3rem; font-size: .78rem; }

.insta-shop {
  position: absolute;
  left: .6rem;
  bottom: .6rem;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  border: 0;
  border-radius: 50rem;
  background: rgba(251, 250, 248, .95);
  color: var(--ink);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .4em .95em;
  box-shadow: 0 8px 18px rgba(13, 18, 15, .25);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.insta-shop:hover { background: var(--coral); color: #fff; transform: translateY(-2px); }

/* ---------- Newsletter ---------- */
.newsletter {
  background: var(--palm);
  border-radius: 1.75rem;
  padding: 4.5rem 2rem;
}
.newsletter .section-title em { color: #cde3d4; }
.newsletter-sub { color: rgba(255, 255, 255, .75); }
.newsletter .form-control {
  border: 0;
  border-radius: 50rem;
  padding-left: 1.4rem;
}
.newsletter .btn-light { font-weight: 700; color: var(--palm); }
.newsletter-fineprint { font-size: .8rem; color: rgba(255, 255, 255, .6); }

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: #d9ded9;
  overflow: hidden;
}
.footer-head {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer-links li { margin-bottom: .6rem; font-size: .92rem; }
.footer-links a { color: #b9c0b9; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-icon { color: #b9c0b9; }
.footer-icon:hover { color: #fff; }
.footer-meta { border-color: rgba(255, 255, 255, .14) !important; color: #9aa19a; }
.footer-meta a { color: #b9c0b9; }
.footer-payments { display: inline-flex; align-items: center; gap: .55rem; }
.footer-payments .bi { font-size: 1.05rem; color: #b9c0b9; }

.footer-wordmark {
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: .78;
  text-align: center;
  background: linear-gradient(100deg, rgba(232, 96, 76, .22), rgba(240, 168, 48, .16), rgba(31, 92, 67, .22));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
  margin: 0 -2rem -2.5rem;
}

/* ---------- Search dialog ---------- */
.search-modal .modal-dialog {
  max-width: 38rem;
  margin-top: clamp(2rem, 12vh, 7rem);
}
@media (min-width: 992px) {
  .search-modal .modal-dialog { max-width: 54rem; }
  .search-body { max-height: 28rem; }
  /* results in two columns on wide screens */
  .search-results {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .15rem .8rem;
  }
}
.search-modal .modal-content {
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  box-shadow: 0 30px 80px rgba(22, 25, 23, .25);
}

.search-head {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.search-head .bi-search { font-size: 1.1rem; color: var(--muted); }
.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--ink);
}
.search-input::placeholder { color: var(--muted); font-weight: 500; }
.search-input::-webkit-search-cancel-button { display: none; }

kbd.search-kbd, .search-foot kbd {
  font-family: inherit;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: .45rem;
  padding: .25em .55em;
}
kbd.search-kbd { cursor: pointer; }

.search-body {
  padding: 1.2rem 1.4rem;
  max-height: 24rem;
  overflow-y: auto;
}

.search-label {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .7rem;
}

.search-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.search-chip {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--ink-soft);
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: 50rem;
  padding: .45rem 1rem;
  transition: all .2s ease;
}
.search-chip .bi { font-size: .75rem; color: var(--coral); }
.search-chip:hover { background: var(--coral-soft); color: var(--coral); border-color: rgba(232, 96, 76, .3); }

/* recommendations: 2-up on phones → 3-up on tablets → 6-up on desktop */
.search-recs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
}
@media (min-width: 576px) {
  .search-recs { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
  .search-recs { grid-template-columns: repeat(6, 1fr); }
}
.search-rec {
  border: 0;
  background: transparent;
  padding: 0;
  text-align: left;
}
.search-rec img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: .8rem;
  margin-bottom: .45rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.search-rec:hover img { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(22, 25, 23, .16); }
.search-rec strong {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
}
.search-rec span { font-size: .78rem; font-weight: 800; color: var(--palm); }

.search-results { display: flex; flex-direction: column; }
.search-result {
  display: flex;
  align-items: center;
  gap: .9rem;
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  padding: .55rem .6rem;
  border-radius: .8rem;
  transition: background .15s ease;
}
.search-result:hover { background: var(--surface); }
.search-result img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: .6rem;
  flex: 0 0 auto;
}
.search-result .sr-text { flex: 1; min-width: 0; }
.search-result strong { display: block; font-size: .92rem; font-weight: 700; color: var(--ink); }
.search-result small { color: var(--muted); font-size: .76rem; }
.search-result .sr-price { font-weight: 800; font-size: .9rem; color: var(--ink); }
.search-result mark {
  background: var(--gold-soft);
  color: inherit;
  padding: 0 .08em;
  border-radius: .2em;
}

.search-empty {
  text-align: center;
  padding: 1.5rem 0 .5rem;
  color: var(--muted);
}
.search-empty .bi { font-size: 1.8rem; display: block; margin-bottom: .5rem; color: var(--coral); }
.search-empty p { font-weight: 600; color: var(--ink-soft); }

.search-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.1rem;
  padding: .85rem 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.search-foot .text-link { margin-left: auto; font-size: .82rem; }

@media (max-width: 575.98px) {
  .search-foot span:nth-child(2) { display: none; }
}

/* ---------- Login dialog ---------- */
.login-modal .modal-dialog { max-width: 26.5rem; }
.login-modal .modal-content {
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 30px 80px rgba(22, 25, 23, .25);
}
.login-close { position: absolute; top: 1.2rem; right: 1.2rem; z-index: 1; }

.login-body { padding: 2.4rem 2.2rem 2rem; }

.login-title {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -.02em;
  margin-bottom: .2rem;
}
.login-sub { color: var(--muted); font-size: .92rem; margin-bottom: 1.4rem; }

.login-socials { display: flex; gap: .7rem; }
.login-social {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  border: 1.5px solid var(--line);
  border-radius: 50rem;
  font-weight: 700;
  font-size: .9rem;
  padding: .6rem 1rem;
  color: var(--ink);
}
.login-social:hover { border-color: var(--ink); background: var(--surface); }

.login-divider {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin: 1.3rem 0;
}
.login-divider::before,
.login-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.login-field { margin-bottom: 1rem; }
.login-field label {
  display: block;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .35rem;
}
.login-field .form-control {
  background: var(--surface);
  border: 1.5px solid transparent;
  border-radius: .9rem;
  padding: .7rem 1rem;
  font-weight: 600;
}
.login-field .form-control:focus {
  background: #fff;
  border-color: var(--palm);
  box-shadow: 0 0 0 .2rem rgba(31, 92, 67, .12);
}

.login-pw { position: relative; }
.login-pw .form-control { padding-right: 2.8rem; }
.login-eye {
  position: absolute;
  top: 50%;
  right: .55rem;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 1rem;
  padding: .35rem .5rem;
}
.login-eye:hover { color: var(--ink); }

.login-remember { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin: 0; }
.login-forgot {
  font-size: .85rem;
  font-weight: 700;
  color: var(--palm);
  text-decoration: none;
}
.login-forgot:hover { color: var(--coral); }

.login-switch {
  text-align: center;
  font-size: .88rem;
  color: var(--muted);
  margin: 1.4rem 0 0;
}
.login-switch button {
  border: 0;
  background: none;
  padding: 0;
  font-weight: 800;
  color: var(--palm);
}
.login-switch button:hover { color: var(--coral); }

/* ---------- Modal / cart ---------- */
.modal-content { border: 0; border-radius: 1.25rem; }
.qv-title { font-weight: 800; letter-spacing: -.02em; }
#qvPrice { color: var(--ink); }
#qvBadge.badge-new  { background: var(--palm); }
#qvBadge.badge-sale { background: var(--ink); }
#qvBadge.badge-best { background: var(--gold); }

.offcanvas { border: 0; }
/* free-shipping progress */
.cart-shipping { margin-bottom: 1rem; }
.cart-shipping-msg { font-size: .85rem; color: var(--ink-soft); }
.cart-shipping.unlocked .cart-shipping-msg { color: var(--palm); }
.cart-shipping-track {
  height: 6px;
  border-radius: 50rem;
  background: var(--surface);
  overflow: hidden;
}
.cart-shipping-fill {
  height: 100%;
  width: 0;
  border-radius: 50rem;
  background: var(--coral);
  transition: width .4s ease, background .4s ease;
}
.cart-shipping.unlocked .cart-shipping-fill { background: var(--palm); }

.cart-line { display: flex; gap: .85rem; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 64px; height: 64px; object-fit: cover; border-radius: .8rem; }
.cart-line .qty-btn {
  width: 26px; height: 26px;
  line-height: 1;
  padding: 0;
  border-radius: 50%;
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .section-pad { padding: 4rem 0; }
  .hero-slides .carousel-inner,
  .hero-slides .carousel-item { height: 88svh; min-height: 560px; }
  .hero-arrow { width: 46px; height: 46px; bottom: 1.6rem; }
  .hero-arrow-prev { right: calc(1.6rem + 56px); }
  .hero-arrow-next { right: 1.6rem; }
  .hero-dots { margin-bottom: 2rem; }
  .bento { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 215px; gap: 1rem; }
  .bento-feature { grid-column: span 2; grid-row: span 1; }
  .bento-wide { grid-column: span 2; }
  .bento-feature .bento-info h3 { font-size: 1.5rem; }
}
@media (max-width: 575.98px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: 225px; }
  .bento-feature, .bento-wide { grid-column: span 1; }
  .hero-stats { gap: 2rem !important; }
}

/* Search dialog: result rows/recs are links to the product page */
.search-result, .search-rec { text-decoration: none; color: inherit; }
.search-result:hover, .search-rec:hover { color: inherit; }
.search-result mark { background: var(--gold-soft); color: inherit; padding: 0 .08em; border-radius: .2em; }
.search-label a { color: var(--palm); font-weight: 700; text-decoration: none; }
.search-label a:hover { color: var(--coral); }

/* Browse filters: a slide-in drawer (Bootstrap offcanvas) at every width, opened by the
   toolbar's Filters button; the grid always has the full row (4 per row from lg). */
.facet-drawer-toggle { font-weight: 700; display: inline-flex; align-items: center; gap: .4rem; }
.facet-drawer-badge {
  display: inline-grid; place-items: center; min-width: 1.35em; height: 1.35em; padding: 0 .35em;
  border-radius: 999px; background: var(--palm); color: #fff; font-size: .72rem; font-weight: 800;
}
.facet-drawer { --bs-offcanvas-width: min(23rem, 88vw); background: var(--bg); }
.facet-drawer .offcanvas-header { padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); }
.facet-drawer-title { margin: 0; font-size: 1.05rem; font-weight: 800; display: flex; align-items: center; gap: .5rem; }
.facet-drawer .offcanvas-body { padding: 1rem 1.25rem 1.25rem; }
.facet-drawer .facet-card { box-shadow: none; }
.facet-drawer-foot { position: sticky; bottom: 0; padding: .85rem 1.25rem calc(.85rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--bg); }
.btn-palm { background: var(--palm); border-color: var(--palm); color: #fff; font-weight: 700; }
.btn-palm:hover, .btn-palm:focus { background: var(--jungle); border-color: var(--jungle); color: #fff; }

/* ---------- Quick view dialog (compact PDP) ---------- */
.qv-modal .modal-content { border: 0; border-radius: 1.25rem; }
.qv-modal .modal-body { display: flex; }
.qv-layout { flex: 1 1 auto; min-height: 0; }
.qv-close { position: absolute; top: .9rem; right: .9rem; z-index: 3; background-color: rgba(255,255,255,.85); border-radius: 50%; padding: .55rem; opacity: 1; }
.qv-gallery { background: var(--surface); display: flex; flex-direction: column; }
.qv-media { position: relative; flex: 1 1 auto; min-height: 0; }
.qv-main { display: block; width: 100%; height: 100%; min-height: 320px; max-height: 70vh; object-fit: cover; }
.qv-badge { position: absolute; top: .9rem; left: .9rem; }
.qv-thumbs { display: flex; gap: .45rem; padding: .6rem; overflow-x: auto; scrollbar-width: none; }
.qv-thumbs:empty { display: none; }
.qv-thumb { flex: 0 0 52px; width: 52px; height: 52px; border-radius: .6rem; overflow: hidden; border: 2px solid transparent; padding: 0; background: none; cursor: pointer; }
.qv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv-thumb.active { border-color: var(--palm); }
.qv-details { padding: 2rem 2rem 1.5rem; display: flex; flex-direction: column; min-height: 0; }
.qv-content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
.qv-kicker { margin-bottom: .35rem; }
.qv-title { font-weight: 800; letter-spacing: -.02em; font-size: 1.45rem; margin-bottom: .5rem; }
.qv-price-row { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: .75rem; }
.qv-price { font-size: 1.35rem; font-weight: 800; }
.qv-old-price { color: var(--muted); font-size: .95rem; }
.qv-old-price:empty { display: none; }
.qv-stock { font-size: .78rem; font-weight: 700; padding: .15rem .55rem; border-radius: 999px; background: var(--coral-soft); color: var(--coral); }
.qv-stock.is-low { background: var(--gold-soft); color: #9a6a12; }
.qv-desc { color: var(--ink-soft); font-size: .92rem; line-height: 1.55; margin-bottom: .25rem; white-space: pre-line; }
.qv-desc.is-clamped { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.qv-desc-more { align-self: flex-start; background: none; border: 0; padding: 0; color: var(--palm); font-weight: 700; font-size: .85rem; margin-bottom: .75rem; }
.qv-options { margin-top: .5rem; }
.qv-options .pdp-patterns, .qv-options .pdp-sizes { margin-bottom: .9rem; }
.qv-options .pattern-label { margin-bottom: .45rem; font-size: .72rem; }
.qv-options .pattern-swatch { width: 34px; height: 34px; }
.qv-options .size-select { max-width: 14rem; }
.qv-actions { display: flex; align-items: center; gap: .75rem; margin-top: auto; padding-top: 1rem; }
.qv-actions .qty-stepper input { width: 3rem; }
.qv-details-link { margin-top: .9rem; align-self: flex-start; }
.qv-error { display: flex; flex-direction: column; align-items: flex-start; gap: .5rem; color: var(--ink-soft); }
.qv-error i { font-size: 1.6rem; color: var(--coral); }
.qv-skeleton { display: flex; flex-direction: column; gap: .7rem; }
.qv-skel { display: block; height: .9rem; border-radius: .4rem; background: linear-gradient(90deg, var(--surface) 25%, #efe6d7 50%, var(--surface) 75%); background-size: 200% 100%; animation: qv-shimmer 1.2s infinite; }
.qv-skel-title { height: 1.6rem; width: 70%; }
.qv-skel-price { height: 1.3rem; width: 30%; margin-bottom: .4rem; }
.qv-skel-short { width: 55%; }
@keyframes qv-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (max-width: 767.98px) {
  .qv-main { min-height: 0; height: 46vw; max-height: 320px; }
  .qv-details { padding: 1.25rem 1.25rem 1.5rem; }
}

/* =========================================================
   Home page section library (2026-09-03): layout variants and
   the additional block types the studio can insert.
   ========================================================= */
.btn-ink { background: var(--ink); color: #fff; border: 1px solid var(--ink); }
.btn-ink:hover, .btn-ink:focus { background: var(--palm); border-color: var(--palm); color: #fff; }
.lead-light { font-size: 1.1rem; color: rgba(255, 255, 255, .78); max-width: 40rem; }
.pill-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: .38rem .8rem; border-radius: 999px; background: var(--palm-soft); color: var(--palm); }
.pill-badge-coral { background: var(--coral-soft); color: var(--coral); }
.pill-badge-light { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(6px); }

/* hero: split / minimal */
.hero-alt { padding: 8.5rem 0 5rem; }
.hero-alt-title { font-family: "Manrope", sans-serif; font-weight: 800; font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 1.25rem; }
.hero-alt-lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 34rem; }
.hero-split .hero-alt-lead { color: var(--ink-soft); }
.hero-split-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(22, 25, 23, .45); }
.hero-split-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-alt-stats .stat-num { color: var(--ink); }
.hero-minimal { padding: 10rem 0 6rem; }
.hero-minimal .hero-alt-title { color: #fff; }
.hero-minimal .hero-alt-title em { color: var(--gold); }
.hero-minimal .hero-alt-lead { color: rgba(255, 255, 255, .78); margin-inline: auto; }
.hero-minimal .overline { color: var(--gold); }
.hero-minimal .stat-num { color: #fff; }
.hero-minimal .stat-label { color: rgba(255, 255, 255, .6); }

/* ticker colours */
.ticker-coral { background: var(--coral); color: #fff; }
.ticker-gold { background: var(--gold); color: var(--ink); }
.ticker-palm { background: var(--palm); color: #fff; }

/* collections: grid / rail */
.col-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.col-rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .5rem; scrollbar-width: thin; }
.col-rail .col-card { flex: 0 0 15rem; scroll-snap-align: start; }
.col-card { display: block; text-decoration: none; color: var(--ink); }
.col-card-media { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface); }
.col-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.col-card:hover .col-card-media img { transform: scale(1.05); }
.col-card-title { font-size: 1.15rem; font-weight: 800; margin: .9rem 0 .35rem; letter-spacing: -.01em; }
@media (max-width: 991px) { .col-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* quote band on jungle */
.quote-band-jungle { background: var(--jungle); color: #fff; }
.quote-band-jungle .quote-band-text, .quote-band-jungle .quote-band-author { color: #fff; }
.quote-band-jungle .rating .count { color: rgba(255, 255, 255, .6); }

/* newsletter colours */
.newsletter-coral { background: var(--coral); }
.newsletter-palm { background: var(--palm); }

/* banner */
.banner-media, .promo-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.banner-media img, .promo-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-overlay { position: relative; min-height: 34rem; display: flex; align-items: center; overflow: hidden; color: #fff; }
.banner-overlay > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner-scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 59, 46, .82), rgba(14, 59, 46, .25)); }
.banner-overlay-copy { max-width: 36rem; padding: 6rem 0; }
.banner-centered { max-width: 44rem; }
.banner-centered-media { border-radius: 24px; overflow: hidden; }
.banner-centered-media img { width: 100%; display: block; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.feat-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feat-item { display: flex; gap: 1rem; padding: 1.6rem; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, .5); }
.feat-grid .feat-item { flex-direction: column; }
.feat-list { display: grid; gap: .9rem; max-width: 46rem; margin: 0 auto; }
.feat-icon { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--palm-soft); color: var(--palm); font-size: 1.25rem; }
.feat-title { font-size: 1.05rem; font-weight: 800; margin: 0 0 .35rem; }
.feat-text { color: var(--ink-soft); margin: 0; font-size: .95rem; }
@media (max-width: 991px) { .feat-grid, .feat-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) { .feat-grid, .feat-grid-4 { grid-template-columns: 1fr; } }

/* stats */
.stats-band { padding: 4.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 2rem; text-align: center; }
.stats-num { font-family: "Fraunces", serif; font-style: italic; font-weight: 300; font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1; color: var(--palm); }
.stats-label { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .5rem; }
.stats-jungle .stats-num { color: var(--gold); }
.stats-jungle .stats-label { color: rgba(255, 255, 255, .6); }

/* cta band */
.cta-band { position: relative; overflow: hidden; padding: 5.5rem 0; color: #fff; }
.cta-band .overline { color: rgba(255, 255, 255, .7); }
.cta-band .section-title, .cta-title { color: #fff; }
.cta-body { max-width: 36rem; color: rgba(255, 255, 255, .8); font-size: 1.1rem; }
.cta-btn { background: #fff; color: var(--ink); border: 0; }
.cta-btn:hover { background: var(--gold); color: var(--ink); }
.cta-link { color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta-link:hover { color: var(--gold); border-color: var(--gold); }
.cta-jungle { background: var(--jungle); }
.cta-coral { background: var(--coral); }
.cta-gold { background: var(--gold); color: var(--ink); }
.cta-gold .overline { color: var(--ink-soft); }
.cta-gold .section-title, .cta-gold .cta-title { color: var(--ink); }
.cta-gold .cta-body { color: var(--ink-soft); }
.cta-gold .cta-btn { background: var(--ink); color: #fff; }
.cta-gold .cta-link { color: var(--ink); border-color: var(--ink); }
.cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-scrim { position: absolute; inset: 0; background: rgba(14, 59, 46, .72); }

/* promo */
.promo-price { font-family: "Fraunces", serif; font-style: italic; font-size: 1.5rem; color: var(--coral); margin-bottom: 1rem; }
.promo-countdown { display: flex; gap: .75rem; margin: 0 0 1.25rem; }
.promo-countdown span { display: grid; place-items: center; min-width: 4.2rem; padding: .6rem .5rem; border-radius: 14px; background: var(--ink); color: #fff; }
.promo-countdown b { font-size: 1.4rem; font-weight: 800; line-height: 1; }
.promo-countdown small { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-top: .2rem; }

/* text */
.prose-centered { max-width: 46rem; }
.prose-left { max-width: 46rem; }
.prose-wide { max-width: 64rem; margin: 0 auto; }
.prose-body { white-space: pre-line; color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.prose-columns { column-count: 2; column-gap: 3rem; }
@media (max-width: 767px) { .prose-columns { column-count: 1; } }

/* faq */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem; background: none; border: 0; padding: 1.15rem 0; font-weight: 800; font-size: 1.05rem; color: var(--ink); text-align: left; }
.faq-q .bi { transition: transform .25s ease; color: var(--palm); }
.faq-q:not(.collapsed) .bi { transform: rotate(45deg); }
.faq-a { color: var(--ink-soft); padding: 0 0 1.15rem; margin: 0; white-space: pre-line; }
.faq-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; }
.faq-col-q { font-size: 1.05rem; font-weight: 800; margin: 0 0 .4rem; }
@media (max-width: 767px) { .faq-columns { grid-template-columns: 1fr; } }

/* testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.testi-rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .5rem; scrollbar-width: thin; }
.testi-rail .testi-card { flex: 0 0 20rem; scroll-snap-align: start; }
.testi-card { margin: 0; padding: 1.75rem; border-radius: 22px; background: var(--surface); }
.testi-quote { font-family: "Fraunces", serif; font-style: italic; font-weight: 300; font-size: 1.25rem; line-height: 1.45; margin: 0 0 1rem; }
.testi-author { display: flex; flex-direction: column; font-size: .9rem; color: var(--muted); }
.testi-author strong { color: var(--ink); }
@media (max-width: 991px) { .testi-grid { grid-template-columns: 1fr; } }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem; counter-reset: step; }
.steps-vertical { grid-template-columns: 1fr; max-width: 40rem; margin: 0 auto; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num { flex: none; width: 2.6rem; height: 2.6rem; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; }
.step-title { font-size: 1.05rem; font-weight: 800; margin: .35rem 0 .3rem; }
.step-text { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* gallery */
.gallery-item { margin: 0; break-inside: avoid; }
.gallery-item img { width: 100%; display: block; border-radius: 16px; }
.gallery-item figcaption { font-size: .82rem; color: var(--muted); margin-top: .5rem; }
.gallery-item figcaption:empty { display: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.gallery-grid img { aspect-ratio: 1; object-fit: cover; }
.gallery-masonry { column-count: 3; column-gap: 1.25rem; }
.gallery-masonry .gallery-item { margin-bottom: 1.25rem; }
.gallery-rail { display: flex; gap: 1.25rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .5rem; scrollbar-width: thin; }
.gallery-rail .gallery-item { flex: 0 0 18rem; scroll-snap-align: start; }
.gallery-rail img { aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 767px) { .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-masonry { column-count: 2; } }

/* video */
.video-wrap { position: relative; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.video-wrap iframe, .video-wrap video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255, 255, 255, .6); font-weight: 700; }

/* logos */
.logos-band { padding: 3.5rem 0; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2.5rem 3.5rem; }
.logo-item { display: inline-flex; align-items: center; text-decoration: none; opacity: .65; filter: grayscale(1); transition: opacity .2s ease, filter .2s ease; }
.logo-item:hover { opacity: 1; filter: none; }
.logo-item img { height: 2.2rem; width: auto; }
.logo-text { font-family: "Fraunces", serif; font-style: italic; font-size: 1.35rem; color: var(--ink); }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem; }
.team-photo { aspect-ratio: 1; border-radius: 50% 50% 28px 28px; overflow: hidden; background: var(--surface); margin-bottom: 1rem; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-name { font-size: 1.15rem; font-weight: 800; margin: 0; }
.team-role { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--palm); margin: .25rem 0 .6rem; }
.team-bio { color: var(--ink-soft); font-size: .95rem; margin: 0; }
@media (max-width: 767px) { .team-grid { grid-template-columns: 1fr; max-width: 24rem; margin: 0 auto; } }

/* timeline */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 44rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 5.2rem; top: .5rem; bottom: .5rem; width: 2px; background: var(--line); }
.timeline-item { display: grid; grid-template-columns: 4rem 1fr; gap: 2.4rem; padding: 0 0 2rem; position: relative; }
.timeline-item::after { content: ""; position: absolute; left: 4.8rem; top: .45rem; width: .8rem; height: .8rem; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 4px var(--bg); }
.timeline-year { font-family: "Fraunces", serif; font-style: italic; font-size: 1.4rem; color: var(--palm); text-align: right; }
.timeline-title { font-size: 1.1rem; font-weight: 800; margin: .2rem 0 .3rem; }
.timeline-text { color: var(--ink-soft); margin: 0; }
@media (max-width: 575px) { .timeline::before { left: 3.2rem; } .timeline-item { grid-template-columns: 2.4rem 1fr; gap: 1.6rem; } .timeline-item::after { left: 2.8rem; } .timeline-year { font-size: 1rem; } }

/* contact */
.contact-list { display: grid; gap: 1rem; margin: 0; }
.contact-list dt { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .2rem; }
.contact-list dd { margin: 0; white-space: pre-line; color: var(--ink); }
.contact-media { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--surface); }
.contact-media iframe, .contact-media img { width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.contact-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.contact-card { text-align: center; padding: 1.75rem 1.25rem; border-radius: 20px; background: var(--surface); }
.contact-card .bi { font-size: 1.6rem; color: var(--palm); }
.contact-card h3 { font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: .8rem 0 .4rem; color: var(--muted); }
.contact-card p { margin: 0; white-space: pre-line; }
@media (max-width: 991px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* spacer */
.spacer-small { height: 2rem; }
.spacer-medium { height: 4rem; }
.spacer-large { height: 7rem; }
.spacer-line, .spacer-ornament { display: flex; align-items: center; height: 100%; margin: 0 auto; max-width: 60rem; padding: 0 1rem; }
.spacer-line { border: 0; border-top: 1px solid var(--line); height: 0; position: relative; top: 50%; opacity: 1; }
.spacer-ornament { gap: 1rem; color: var(--coral); }
.spacer-ornament span { flex: 1; height: 1px; background: var(--line); }

/* product rows (editor-picked / automatic sets) and the product spotlight */
.product-rail { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: .75rem; scrollbar-width: thin; }
.product-rail-item { flex: 0 0 17rem; scroll-snap-align: start; }
.product-set-empty, .favorites-masonry-empty { color: var(--muted); }
.spotlight-media { border-radius: 28px; overflow: hidden; aspect-ratio: 1; background: #fff; box-shadow: 0 30px 60px -30px rgba(22, 25, 23, .35); }
.spotlight-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.spotlight-media a:hover img { transform: scale(1.04); }
.spotlight-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); font-weight: 700; }
.spotlight-empty .bi { font-size: 2rem; }
.spotlight-price { font-family: "Fraunces", serif; font-style: italic; font-size: 1.6rem; margin-bottom: 1.25rem; }
.spotlight-price s { color: var(--muted); font-size: 1.1rem; margin-left: .5rem; }
/* product page stock line */
.pdp-stock { margin: -.5rem 0 1rem; font-weight: 600; color: var(--muted); }
.pdp-stock.is-low { color: var(--coral); }
.pdp-stock.is-out { color: var(--muted); }

/* ---- "Notify me when it's back" (sold-out products: PDP + quick view) ---- */
.stock-notify { margin: 0 0 1.25rem; padding: .9rem 1rem; border: 1px dashed var(--line, rgba(0,0,0,.15)); border-radius: 1rem; background: var(--surface-2, rgba(0,0,0,.02)); }
.stock-notify-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .5rem; }
.stock-notify-row { display: flex; gap: .5rem; }
.stock-notify-row .form-control { flex: 1 1 auto; min-width: 0; }
.stock-notify-row .btn { white-space: nowrap; }
.stock-notify-msg { margin: .5rem 0 0; }
.stock-notify-msg.is-ok { color: var(--forest, #2f6b3a); font-weight: 600; }
.stock-notify-msg.is-error { color: var(--coral, #c44536); }
.qv-notify { margin: .75rem 0 .5rem; }
@media (max-width: 480px) { .stock-notify-row { flex-direction: column; } }

/* ---- Newsletter signup feedback ---- */
.newsletter-msg { font-weight: 600; font-size: .92rem; }
.newsletter-msg.is-ok { color: #fff; }
.newsletter-msg.is-error { color: #ffd9d0; }

/* ==========================================================================
   Page blocks (2026-09-04, pages plan phase 2): page header, rich text,
   columns / band layouts, map, jump list, embed, downloads, form.
   ========================================================================== */
.hp-anchor { display: block; position: relative; top: -6rem; visibility: hidden; height: 0; }
.page-header { padding: 9rem 0 4rem; position: relative; overflow: hidden; }
.page-header-light { background: var(--bg); }
.page-header-sand { background: var(--surface); }
.page-header-jungle { background: var(--jungle); color: #fff; }
.page-header-jungle .overline { color: var(--gold); }
.page-header-photo { color: #fff; min-height: 24rem; display: flex; align-items: flex-end; }
.page-header-photo .overline { color: var(--gold); }
.page-header-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-header-scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,59,46,.25), rgba(14,59,46,.8)); }
.page-crumbs { display: flex; align-items: center; gap: .45rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.2rem; flex-wrap: wrap; }
.page-crumbs a { color: inherit; text-decoration: none; }
.page-crumbs a:hover { color: var(--coral); }
.page-crumbs i { font-size: .6rem; opacity: .7; }
.page-header-jungle .page-crumbs, .page-header-photo .page-crumbs { color: rgba(255,255,255,.7); }
.page-title { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 300; font-size: clamp(2.6rem, 5vw, 4.2rem); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.page-subtitle { max-width: 40rem; font-size: 1.15rem; line-height: 1.6; color: var(--ink-soft); margin: 1.2rem 0 0; }
.page-header-jungle .page-subtitle, .page-header-photo .page-subtitle { color: rgba(255,255,255,.8); }
.text-center .page-subtitle { margin-left: auto; margin-right: auto; }

.rich-pad { padding: 4.5rem 0; }
.rich { color: var(--ink-soft); font-size: 1.08rem; line-height: 1.75; }
.rich-narrow { max-width: 46rem; margin: 0 auto; }
.rich-wide { max-width: 64rem; margin: 0 auto; }
.rich h2 { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 300; font-size: 2.1rem; color: var(--ink); margin: 2.2rem 0 .8rem; line-height: 1.15; }
.rich h3 { font-weight: 700; font-size: 1.25rem; color: var(--ink); margin: 1.8rem 0 .6rem; }
.rich h2:first-child, .rich h3:first-child { margin-top: 0; }
.rich p { margin: 0 0 1.1rem; }
.rich a { color: var(--palm); text-decoration: underline; text-underline-offset: .2em; }
.rich a:hover { color: var(--coral); }
.rich ul, .rich ol { padding-left: 1.4rem; margin: 0 0 1.2rem; }
.rich li { margin-bottom: .35rem; }
.rich blockquote { margin: 1.6rem 0; padding: .4rem 0 .4rem 1.4rem; border-left: 3px solid var(--coral); font-family: "Fraunces", Georgia, serif; font-style: italic; font-size: 1.3rem; color: var(--ink); }
.rich hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }

/* layouts: nested blocks lose their outer band so they sit as cells */
.hp-columns { display: grid; gap: 2.5rem; }
.hp-columns.gap-tight { gap: 1.25rem; }
.hp-columns.gap-loose { gap: 4rem; }
.hp-columns.align-center { align-items: center; }
.hp-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hp-columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hp-columns-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.hp-columns-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 991.98px) { .hp-columns-2, .hp-columns-3, .hp-columns-2-1, .hp-columns-1-2 { grid-template-columns: 1fr; } }
.hp-cell { min-width: 0; }
.hp-cell-empty { padding: 2rem; border: 1px dashed var(--line); border-radius: 1rem; color: var(--muted); text-align: center; font-size: .95rem; }
.hp-cell .section-pad, .hp-cell .rich-pad, .hp-cell .cta-band, .hp-cell .map-block, .hp-cell .downloads, .hp-cell .form-block { padding: 0; }
.hp-cell .container { padding: 0; max-width: none; }
.hp-cell .hero-alt, .hp-cell .page-header { padding: 2.5rem; border-radius: 1.25rem; }
.hp-cell .cta-band { padding: 2.5rem; border-radius: 1.25rem; overflow: hidden; }
.hp-cell .section-title { font-size: 1.9rem; }
.hp-band { position: relative; overflow: hidden; padding: 6.5rem 0; }
.hp-band.pad-tight { padding: 3rem 0; }
.hp-band.pad-loose { padding: 9rem 0; }
.hp-band.pad-none { padding: 0; }
.hp-band-surface { background: var(--surface); }
.hp-band-sand { background: var(--gold-soft); }
.hp-band-jungle { background: var(--jungle); color: #fff; }
.hp-band-jungle .overline { color: var(--gold); }
.hp-band-jungle .section-title, .hp-band-jungle .rich h2, .hp-band-jungle .rich h3, .hp-band-jungle .rich blockquote { color: #fff; }
.hp-band-jungle .rich, .hp-band-jungle .lead-muted, .hp-band-jungle .prose-body { color: rgba(255,255,255,.82); }
.hp-band-coral { background: var(--coral); color: #fff; }
.hp-band-coral .overline { color: rgba(255,255,255,.75); }
.hp-band-coral .section-title, .hp-band-coral .rich h2, .hp-band-coral .rich h3 { color: #fff; }
.hp-band-coral .rich, .hp-band-coral .lead-muted { color: rgba(255,255,255,.88); }
.hp-band-photo { color: #fff; }
.hp-band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hp-band-scrim { position: absolute; inset: 0; background: rgba(14,59,46,.72); }
.hp-band-photo .section-title, .hp-band-photo .rich h2 { color: #fff; }
.hp-band-photo .rich, .hp-band-photo .lead-muted { color: rgba(255,255,255,.85); }
.hp-band-inner { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 1.5rem; display: grid; gap: 3rem; }
.hp-band.width-narrow .hp-band-inner { max-width: 52rem; }
.hp-band.width-full .hp-band-inner { max-width: none; padding: 0 1.5rem; }
.hp-band .hp-cell .section-pad { padding: 0; }

.map-block { padding: 4rem 0; }
.map-frame { border-radius: 1.25rem; overflow: hidden; background: var(--surface); height: 24rem; box-shadow: 0 20px 50px rgba(22,25,23,.08); }
.map-short .map-frame { height: 16rem; }
.map-tall .map-frame { height: 34rem; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-empty, .embed-empty { display: flex; align-items: center; justify-content: center; gap: .5rem; color: var(--muted); font-size: .95rem; }
.map-caption { margin: 1rem 0 0; color: var(--muted); font-size: .92rem; }

.toc { padding: 1.5rem 0 0; }
.toc-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem .6rem; }
.toc-list a { display: inline-flex; align-items: center; padding: .5rem .95rem; border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; transition: background .15s ease, color .15s ease; }
.toc-list a:hover { background: var(--jungle); color: #fff; }
.toc-listy .toc-list, .toc-list.toc-vertical { flex-direction: column; }
.toc-list .toc-list { display: block; }
.toc-list li { display: contents; }
.toc-list a::before { content: counter(toc) "."; counter-increment: toc; margin-right: .5rem; color: var(--coral); }
.toc-list { counter-reset: toc; }
.toc-list .toc-list { counter-reset: none; }
.toc.toc-list .toc-list a { border-radius: .6rem; }
.toc-empty { color: var(--muted); font-size: .92rem; }

.embed-block .container { max-width: 1100px; }
.embed-narrow .container { max-width: 52rem; }
.embed-full .container { max-width: none; }
.embed-frame { border-radius: 1.25rem; overflow: hidden; background: #000; position: relative; }
.embed-frame.ratio-16x9 { aspect-ratio: 16 / 9; }
.embed-frame.ratio-4x3 { aspect-ratio: 4 / 3; }
.embed-frame.ratio-1x1 { aspect-ratio: 1; }
.embed-frame.ratio-tall { aspect-ratio: 9 / 16; max-width: 24rem; margin: 0 auto; }
.embed-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.embed-empty { background: var(--surface); }

.downloads-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; max-width: 64rem; margin: 0 auto; }
.download-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; border-radius: 1rem; background: var(--surface); color: var(--ink); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.download-card:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(22,25,23,.08); color: var(--ink); }
.download-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; color: var(--palm); font-size: 1.3rem; flex: 0 0 auto; }
.download-copy { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.download-title { font-weight: 700; }
.download-note { font-size: .82rem; color: var(--muted); }
.download-arrow { color: var(--coral); font-size: 1.2rem; }

.form-block .sf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.store-form { position: relative; }
.sf-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.sf-input { width: 100%; border: 1px solid var(--line); border-radius: .9rem; padding: .85rem 1rem; font: inherit; background: #fff; color: var(--ink); transition: border-color .15s ease, box-shadow .15s ease; }
.sf-input:focus { outline: 0; border-color: var(--palm); box-shadow: 0 0 0 4px rgba(31,92,67,.12); }
textarea.sf-input { resize: vertical; min-height: 8rem; }
.sf-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; line-height: 1.5; }
.sf-check input { margin-top: .3rem; accent-color: var(--palm); }
.sf-field.has-error .sf-input { border-color: var(--coral); }
.sf-error { color: var(--coral); font-size: .82rem; margin: .35rem 0 0; }
.sf-foot { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-centered .sf-foot { justify-content: center; }
.sf-consent { margin: 0; color: var(--muted); font-size: .82rem; max-width: 26rem; }
.form-alert { display: flex; gap: .5rem; align-items: center; padding: .8rem 1rem; border-radius: .9rem; background: var(--coral-soft); color: var(--coral); margin-bottom: 1rem; font-size: .92rem; }
.store-form.is-sending { opacity: .6; pointer-events: none; }
.form-thanks { text-align: center; padding: 3rem 2rem; border-radius: 1.5rem; background: var(--palm-soft); }
.form-thanks i { font-size: 2.4rem; color: var(--palm); }
.form-thanks h3 { font-family: "Fraunces", Georgia, serif; font-style: italic; font-weight: 300; font-size: 2rem; margin: .8rem 0 .4rem; }
.form-thanks p { margin: 0; color: var(--ink-soft); }

/* ---- Checkout: the tax row fades in when a zone matches (docs/tax-plan.md §7) ---- */
.checkout-tax { opacity: 0; transform: translateY(-3px); transition: opacity .35s ease, transform .35s ease; }
.checkout-tax.is-shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .checkout-tax { transition: none; transform: none; opacity: 1; } }

/* ---------- Address fields (docs/destinations-plan.md §5) ---------- */
.address-fields [data-field] { will-change: transform; }
.form-label.is-required::after { content: " *"; color: var(--coral, #d9534f); }
.address-fields .address-hint { color: #b4532a; }
.address-fields .form-control.is-soft-invalid { border-color: #e0a58a; }
.checkout-dest { opacity: 0; transform: translateY(-3px); transition: opacity .35s ease, transform .35s ease; color: #b4532a; }
.checkout-dest.is-shown { opacity: 1; transform: none; }
.checkout-lang { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 2px; gap: 2px; }
.checkout-lang button { border: 0; background: transparent; border-radius: 999px; padding: .15rem .7rem; font-size: .8rem; font-weight: 600; color: var(--ink); transition: background .25s ease, color .25s ease; }
.checkout-lang button.is-active { background: var(--ink); color: #fff; }
.checkout-page.is-switching main, .checkout-page .is-fading { transition: opacity .25s ease; }
.checkout-i18n-fade { animation: checkoutFade .45s ease; }
@keyframes checkoutFade { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .address-fields [data-field] { transition: none !important; transform: none !important; }
  .checkout-dest { transition: none; transform: none; opacity: 1; }
  .checkout-i18n-fade { animation: none; }
}

/* ---------- Language switch (header + footer) ---------- */
.lang-switch { position: relative; }
.lang-switch > summary { list-style: none; display: inline-flex; align-items: center; gap: .35rem; cursor: pointer; font-size: .82rem; font-weight: 600; color: var(--ink); padding: .25rem .6rem; border: 1.5px solid var(--line); border-radius: 999px; transition: border-color .25s ease, background .25s ease; }
.lang-switch > summary::-webkit-details-marker { display: none; }
.lang-switch > summary:hover, .lang-switch[open] > summary { border-color: var(--palm); background: var(--palm-soft, rgba(31, 92, 67, .08)); }
.lang-switch-caret { font-size: .65rem; transition: transform .25s ease; }
.lang-switch[open] .lang-switch-caret { transform: rotate(180deg); }
.lang-switch-menu { position: absolute; right: 0; top: calc(100% + .45rem); min-width: 10rem; margin: 0; padding: .35rem; list-style: none; background: #fff; border: 1.5px solid var(--line); border-radius: 14px; box-shadow: 0 14px 34px rgba(0, 0, 0, .12); z-index: 1050; animation: langMenuIn .18s ease; }
.lang-switch-menu a { display: flex; align-items: center; justify-content: space-between; gap: .6rem; padding: .45rem .7rem; border-radius: 9px; color: var(--ink); text-decoration: none; font-size: .88rem; }
.lang-switch-menu a:hover { background: var(--sand, rgba(0, 0, 0, .05)); }
.lang-switch-menu a.is-current { font-weight: 700; color: var(--palm); }
.lang-switch-menu a.is-current::after { content: "\2713"; font-size: .8rem; }
@keyframes langMenuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
[data-bs-theme="dark"] .lang-switch-menu { background: #1b1f1d; border-color: rgba(255, 255, 255, .12); }
.footer-languages { border-color: rgba(255, 255, 255, .14) !important; color: #b9c0b9; }
.lang-switch-footer { display: inline-flex; align-items: center; gap: .45rem; font-size: .9rem; }
.lang-switch-footer a { padding: .15rem 0; }
.lang-switch-footer a { color: inherit; text-decoration: none; border-bottom: 1px dotted currentColor; }
.lang-switch-footer .is-current { font-weight: 700; }
.lang-switch-footer .lang-sep { opacity: .5; }
@media (prefers-reduced-motion: reduce) { .lang-switch-menu { animation: none; } .lang-switch-caret { transition: none; } }

/* Product descriptions carry their own line breaks.
   The imported AHS copy was HTML on 369 of 430 products; it comes across as text with the breaks
   the author wrote (docs/product-migration-plan.md §2.3), and the page renders it Razor-encoded.
   Without this the newlines collapse and a description written as three lines reads as one wall.
   (The quick view's .qv-desc already sets it.) */
#pdpDesc,
#pdpDetails { white-space: pre-line; }

/* Option pricing: the tag on a priced swatch and the money under a cart selection */
.pattern-swatch.has-price { position: relative; overflow: visible; }
.pattern-price { position: absolute; left: 50%; bottom: -.55rem; transform: translateX(-50%); padding: 0 .35rem; border-radius: 50rem; background: var(--ink); color: #fff; font-size: .58rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap; line-height: 1.5; pointer-events: none; }
.pattern-row:has(.has-price) { padding-bottom: .5rem; }
.cart-selection-price { color: var(--palm); font-weight: 700; margin-left: .3rem; }
.price-from { font-size: .72em; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-right: .1rem; }

/* Product variants (docs/product-variants-plan.md): the picker rows above the options */
.pdp-variants { margin: .25rem 0 .5rem; }
.pdp-variant-axis { margin-bottom: .9rem; }
.variant-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.variant-pill { padding: .45rem .95rem; border: 1.5px solid var(--line); border-radius: 50rem; background: #fff; font-size: .88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: border-color .15s ease, color .15s ease, background-color .15s ease; }
.variant-pill:hover { border-color: var(--palm); color: var(--ink); }
.variant-pill.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.cart-variant { color: var(--muted); font-weight: 500; }
