/* =====================================================================
   Salt Society — recreation of saltsociety.com structure/styling
   Palette & typography mirror the original (Tilda) build.
   Swap files in /assets/images and the copy below to rebrand.
===================================================================== */

/* =====================================================================
   THEME — edit all brand tokens here. Every colour, font, and key
   spacing value in the stylesheet is derived from these variables.
   ===================================================================
   Colours
   ------------------------------------------------------------------ */
:root {
  /* Page background & text */
  --bg:         #f9f8f6;   /* off-white page background          */
  --text:       #514338;   /* primary body text                   */
  --text-soft:  #5b5048;   /* slightly lighter body copy          */
  --muted:      #938a83;   /* secondary / placeholder text        */
  --line:       #e3e2dd;   /* borders & dividers                  */
  --light:      #e3e2dd;   /* light surface / reversed text       */
  --cream:      #f4efe3;   /* features band background            */

  /* Brand accent palette */
  --blue:       #3f6184;   /* primary accent (CTA, badges, links) */
  --blue-deep:  #34526f;   /* darker accent hover state           */
  --gold:       #c49a4e;   /* secondary accent                    */

  /* Overlay tint for hero / editorial images */
  --overlay: rgba(91, 80, 72, 0.30);

  /* ----------------------------------------------------------------
     Typography — change the Google Fonts import in <head> to match
     ---------------------------------------------------------------- */
  --font-body:   'Manrope', Arial, sans-serif;
  --font-head:   'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-logo:   Georgia, 'Times New Roman', serif;
  --font-script: 'Waterfall', 'Cormorant Garamond', cursive;

  --font-size-base: 14px;
  --font-size-sm:   12px;
  --font-size-xs:   11px;
  --font-size-lg:   16px;
  --line-height:    1.5;

  /* ----------------------------------------------------------------
     Layout & spacing
     ---------------------------------------------------------------- */
  --header-h:      60px;   /* height of the sticky header         */
  --header-h-land: 80px;   /* height of the transparent landing header */
  --maxw:          1600px; /* max content width                   */
  --container-pad: 25px;   /* horizontal padding inside .container */
  --gap:           10px;   /* product grid gutter                 */
  --section-pad:   30px;   /* vertical padding for .section       */
  --section-pad-lg: 60px;

  /* ----------------------------------------------------------------
     Motion
     ---------------------------------------------------------------- */
  --transition: 0.25s ease;
  --transition-slow: 0.35s ease;
}

* { box-sizing: border-box; }

/* The `hidden` attribute must always win over component `display` rules
   (e.g. .acc-form, .login, .shell). Without this, toggling `hidden` in JS
   has no effect and both forms / views show at once. */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3 { font-weight: 400; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 25px; }

/* ------------------------------------------------------------------ */
/* Header                                                              */
/* ------------------------------------------------------------------ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(249, 248, 246, 0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
}
.header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 14px; font-weight: 400; color: var(--text);
  padding: 8px 0; position: relative;
  transition: color .3s ease;
  background: none; border: 0;
}
.nav__link::after {
  content: ''; position: absolute; left: 0; bottom: 6px;
  width: 100%; height: 1px; background: var(--text-soft);
  transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.nav__item:hover .nav__link { color: var(--text-soft); }
.nav__item:hover .nav__link::after { transform: scaleX(1); }
.nav__link .chev { width: 9px; height: 6px; transition: transform .3s ease; }
.nav__item:hover .nav__link .chev { transform: rotate(180deg); }

/* Dropdown */
.submenu {
  position: absolute; top: 100%; left: 0; min-width: 200px;
  background: var(--bg); padding: 14px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 50;
}
.nav__item:hover .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a {
  display: block; padding: 7px 20px; font-size: 14px; color: var(--text);
  transition: color .25s ease;
}
.submenu a:hover { color: var(--text-soft); }
.submenu__group-title {
  padding: 10px 20px 4px; font-size: 11px; letter-spacing: 1px;
  text-transform: uppercase; color: var(--muted);
}

/* Logo */
.logo { justify-self: center; }
.logo img { width: 120px; height: auto; }

/* Icons */
.header__icons { justify-self: end; display: flex; align-items: center; gap: 18px; }
.icon-btn {
  position: relative; background: none; border: 0; padding: 4px;
  color: var(--text); line-height: 0;
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-counter {
  position: absolute; top: -4px; right: -6px; min-width: 16px; height: 16px;
  padding: 0 4px; border-radius: 9px; background: var(--text); color: var(--bg);
  font-size: 10px; line-height: 16px; text-align: center; display: none;
}
.icon-counter.is-visible { display: block; }

/* Burger (mobile) */
.burger { display: none; background: none; border: 0; padding: 6px; }
.burger span { display: block; width: 22px; height: 1.5px; background: var(--text); margin: 5px 0; transition: .3s; }
.icon-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}
/* ------------------------------------------------------------------ */
/* Hero                                                                */
/* ------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: #fffbf4;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background: center/cover no-repeat var(--bg);
}
.hero__overlay { position: absolute; inset: 0; background: var(--overlay); }
.hero__inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 60px 25px 40px;
}
/* Script outline button (used in hero + collection blocks) */
.btn-script {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 140px; height: 37px; padding: 0 18px;
  border: 1px solid #cdcbc2; color: #fff;
  font-family: var(--font-script); font-size: 24px; line-height: 1;
  background: transparent; transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.btn-script:hover { background: var(--bg); color: var(--text); border-color: var(--bg); }

/* ------------------------------------------------------------------ */
/* Section headings                                                    */
/* ------------------------------------------------------------------ */
.section { padding: 30px 0; }
.section-head { text-align: center; padding: 30px 0; }
.section-head__uptitle {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--text); opacity: .7; margin-bottom: 12px;
}
.section-head__title {
  font-family: var(--font-head); font-weight: 400; font-size: 34px; line-height: 1.2;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--text);
}
.section-head__title--sm { font-size: 22px; letter-spacing: 0.12em; }

/* ------------------------------------------------------------------ */
/* Product grid / slider                                               */
/* ------------------------------------------------------------------ */
.products {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap);
}
.product {
  display: block;
  /* Stop the iOS long-press link preview / highlight so press-and-hold
     previews the second image instead */
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.product__media {
  position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #ece6da;
}
.product__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s ease, opacity .4s ease;
}
.product__media-alt {
  position: absolute; inset: 0;
  opacity: 0;
}
/* Hover-capable devices (mouse/trackpad) only — keeps touch browsers from
   emulating these on tap-and-hold */
@media (hover: hover) and (pointer: fine) {
  /* Single-image products fall back to the subtle zoom on hover */
  .product:hover .product__media:not(.product__media--swap) img { transform: scale(1.04); }
  /* Products with a gallery cross-fade to their second image on hover */
  .product:hover .product__media--swap .product__media-alt { opacity: 1; }
}
/* Touch devices: pressing and holding the card cross-fades to the second
   image (class set by main.js), with no zoom */
.product.is-peek .product__media--swap .product__media-alt { opacity: 1; }
.product.is-peek .product__media img { transform: none; }
.product__info { padding-top: 12px; text-align: center; }
.product__title { font-size: 14px; color: var(--text); }
.product__price { font-size: 14px; color: var(--text-soft); margin-top: 4px; }
.product__price .old { color: var(--muted); text-decoration: line-through; margin-right: 6px; }

/* Marquee slider row (bestsellers) */
.slider { overflow: hidden; }
.slider__track {
  display: flex; gap: 12px; width: max-content;
  animation: marquee 40s linear infinite;
}
.slider:hover .slider__track { animation-play-state: paused; }
.slider .product { width: clamp(200px, 23vw, 380px); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ------------------------------------------------------------------ */
/* Editorial collection blocks                                         */
/* ------------------------------------------------------------------ */
.editorial {
  position: relative; min-height: 100vh; display: flex;
  margin-top: 30px;
}
.editorial__media {
  position: absolute; inset: 0; display: flex; gap: 0;
}
.editorial__media > * { flex: 1; min-width: 0; }
.editorial__media img,
.editorial__media video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.editorial__overlay { position: absolute; inset: 0; background: rgba(81,67,56,0.25); z-index: 1; }
.editorial__inner {
  position: relative; z-index: 2; width: 100%;
  display: flex; align-items: flex-end; justify-content: center;
  padding: 0 25px 30px;
}
/* full-bleed single-media variant */
.editorial--full .editorial__media { display: block; }

/* ------------------------------------------------------------------ */
/* Account popup (markup built in store.js)                            */
/* ------------------------------------------------------------------ */
.popup {
  position: fixed; inset: 0; z-index: 1000;
  display: none; align-items: center; justify-content: center;
}
.popup.is-open { display: flex; }
.popup__bg { position: absolute; inset: 0; background: rgba(0,0,0,.45); backdrop-filter: blur(4px); }
.popup__box {
  position: relative; width: 380px; max-width: calc(100vw - 40px);
  background: var(--bg); padding: 48px 30px; text-align: center;
}
.popup__close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px;
  border: 0; background: none; font-size: 22px; line-height: 1; color: var(--text);
}
.subscribe { display: flex; gap: 10px; }
.subscribe input {
  flex: 1; height: 40px; padding: 0 12px; border: 1px solid var(--muted);
  background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 14px;
}
.subscribe input::placeholder { color: var(--text); opacity: .5; }

/* Buttons (solid / outline) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 22px; border: 1px solid var(--text);
  font-size: 14px; font-weight: 400; transition: .25s ease;
}
.btn--solid { background: var(--text); color: var(--light); }
.btn--solid:hover { background: var(--bg); color: var(--text); }
.btn--ghost { background: var(--bg); color: var(--text); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }

/* ------------------------------------------------------------------ */
/* Footer                                                              */
/* ------------------------------------------------------------------ */
.footer { position: relative; background: var(--bg); overflow: hidden; }
.footer__grid {
  display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh;
}
.footer__content { padding: 100px 25px 40px; display: flex; flex-direction: column; }
.footer__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; }
.footer__heading {
  font-size: 14px; text-transform: uppercase; color: var(--muted);
  letter-spacing: 1px; margin-bottom: 18px;
}
.footer__links a { display: block; padding: 4px 0; font-size: 14px; color: var(--text); }
.footer__links a:hover { color: #080807; }

.footer__socials { display: flex; gap: 10px; margin-top: 8px; }
.footer__social {
  width: 40px; height: 40px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--text);
  transition: border-color .25s ease, color .25s ease;
}
.footer__social:hover { border-color: var(--muted); color: var(--text-soft); }
.footer__social svg { width: 20px; height: 20px; }

.footer__showroom {
  margin-top: 24px; border: 1px solid var(--line); padding: 12px 16px;
  font-size: 14px; max-width: 440px; transition: border-color .25s ease;
}
.footer__showroom:hover { border-color: var(--muted); }

.footer__bottom {
  margin-top: auto; padding-top: 40px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: 13px; color: var(--text); opacity: .8;
}
.footer__media { position: relative; }
.footer__media img, .footer__media video { width: 100%; height: 100%; object-fit: cover; }

/* ------------------------------------------------------------------ */
/* Cart / wishlist drawer (basic)                                      */
/* ------------------------------------------------------------------ */
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: 380px; max-width: 90vw;
  background: var(--bg); z-index: 1100; transform: translateX(100%);
  transition: transform .35s ease; display: flex; flex-direction: column;
  box-shadow: -10px 0 40px rgba(0,0,0,.08);
}
.drawer.is-open { transform: translateX(0); }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 24px; border-bottom: 1px solid var(--line);
}
.drawer__title {
  font-family: var(--font-head); font-weight: 400; font-size: 20px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.drawer__close { background: none; border: 0; font-size: 24px; line-height: 1; color: var(--text); }
.drawer__body { padding: 24px; font-size: 14px; color: var(--muted); }
.scrim {
  position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1050;
  opacity: 0; visibility: hidden; transition: .3s;
}
.scrim.is-open { opacity: 1; visibility: visible; }

/* ------------------------------------------------------------------ */
/* Mobile menu panel                                                   */
/* ------------------------------------------------------------------ */
.mobile-menu {
  position: fixed; top: 0; left: 0; height: 100%; width: 300px; max-width: 85vw;
  background: var(--bg); z-index: 1100; transform: translateX(-100%);
  transition: transform .35s ease; overflow-y: auto; padding: 80px 24px 40px;
}
.mobile-menu.is-open { transform: translateX(0); }
.mobile-menu a, .mobile-menu .m-group > span {
  display: block; padding: 10px 0; font-size: 15px; color: var(--text);
}
.mobile-menu .m-sub a { padding-left: 16px; font-size: 14px; color: var(--text-soft); }
.mobile-menu .m-group > span { text-transform: none; }
.m-sub__group {
  display: block; padding: 10px 16px 2px; font-size: 10px;
  letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted);
}
.mobile-menu__descr { margin-top: 30px; font-size: 11px; color: var(--text-soft); }
.mobile-menu__close { position: absolute; top: 22px; right: 22px; background: none; border: 0; font-size: 26px; color: var(--text); }

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */
@media (max-width: 1199px) {
  .section-head__title { font-size: 24px; }
}

@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .header__inner { grid-template-columns: auto 1fr auto; }
  .logo { justify-self: center; }
  .footer__grid { grid-template-columns: 1fr; }
  .footer__media { min-height: 420px; order: -1; }
}

@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); }
  .footer__cols { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__socials { justify-content: center; }
  .footer__showroom { margin-left: auto; margin-right: auto; }
  .section-head__title { font-size: 20px; }
  .editorial { overflow: hidden; }
  .editorial__media { flex-direction: column; }
  .editorial__media > * { min-height: 0; }
  .editorial__media a { display: block; height: 100%; }
}

/* ==================================================================== */
/* Inner pages (Bikini catalogue, Our Story)                            */
/* ==================================================================== */

/* Breadcrumbs */
.breadcrumbs {
  padding: 150px 0 15px;            /* clears the sticky header */
  text-align: center;
}
.breadcrumbs a, .breadcrumbs span {
  font-size: 14px; font-weight: 300; color: var(--muted);
}
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs .sep { margin: 0 8px; color: #858585; }
.breadcrumbs .is-active { color: var(--text); }

/* Centered page title (Bikini / Our story) */
.page-title {
  text-align: center;
  font-family: var(--font-head); font-weight: 400;
  font-size: 34px; line-height: 1.2; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text);
  padding: 10px 0 20px;
}
/* When the title leads a page on its own (no breadcrumbs above it, e.g. the
   cart and account pages) it needs to clear the sticky header. */
.page-title:first-child { padding-top: 120px; }

/* Catalogue filter / sort bar */
.catalog-bar {
  display: flex; align-items: center; justify-content: flex-end;
  gap: 12px; flex-wrap: wrap; padding: 0 0 24px;
}
.catalog-sort {
  border: 1px solid #e3e3e3; border-radius: 1px; padding: 5px 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 300; color: var(--text);
  background: var(--bg);
}

/* ---- Our Story ---------------------------------------------------- */
.about-intro {
  max-width: 800px; margin: 0 auto; padding: 30px 25px 0;
  text-align: center; font-size: 14px; line-height: 1.6;
}
.about-intro p { margin: 0 0 1.2em; }

.about-video {
  display: flex; justify-content: center; padding: 30px 25px 0;
}
.about-video video, .about-video img {
  width: 380px; max-width: 100%; height: 600px; object-fit: cover;
}

.section-title {
  text-align: center; font-family: var(--font-head); font-weight: 400;
  font-size: 34px; line-height: 1.2; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--text);
  padding: 60px 0 0;
}

/* Fabric feature grid (The art of fabric) */
.fabric-features {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 30px;
  max-width: 800px; margin: 0 auto; padding: 50px 25px 0; text-align: center;
}
.fabric-feature .star { width: 20px; height: 20px; margin: 0 auto 14px; opacity: .8; }
.fabric-feature h3 {
  font-family: var(--font-head); font-weight: 400; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
}
.fabric-feature p { font-size: 11px; line-height: 1.5; opacity: .6; margin: 0; }

/* Lookbook: two stills side by side */
.lookbook {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  max-width: 800px; margin: 0 auto; padding: 30px 25px 0;
}
.lookbook img { width: 100%; height: 500px; object-fit: cover; display: block; }

/* Auto-scrolling lookbook marquee (full-bleed) */
.marquee { overflow: hidden; padding-top: 30px; }
.marquee__track {
  display: flex; gap: 10px; width: max-content;
  animation: marquee 90s linear infinite;
}
.marquee img { width: 280px; height: 400px; object-fit: cover; display: block; }

@media (max-width: 1199px) {
  .page-title, .section-title { font-size: 24px; }
}
@media (max-width: 960px) {
  .breadcrumbs { padding-top: 100px; }
  .page-title:first-child { padding-top: 90px; }
}
@media (max-width: 640px) {
  .fabric-features { grid-template-columns: 1fr; gap: 32px; }
  .about-video video, .about-video img { height: 440px; }
  .lookbook img { height: 320px; }
  .marquee img { width: 180px; height: 260px; }
}

/* ==================================================================== */
/* Client-care content pages (Size Guide, Shipping)                     */
/* ==================================================================== */

/* Lead paragraph straight under the page title */
.page-lead {
  max-width: 720px; margin: 0 auto; padding: 0 25px;
  text-align: center; font-size: 15px; line-height: 1.6; color: var(--text-soft);
}

/* Reusable narrow text block with a small serif sub-heading */
.content-block {
  max-width: 720px; margin: 0 auto; padding: 50px 25px 0; text-align: center;
}
.content-block h2 {
  font-family: var(--font-head); font-weight: 400;
  font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); margin: 0 0 14px;
}
.content-block p {
  font-size: 14px; line-height: 1.6; color: var(--text-soft); margin: 0 0 1em;
}

/* Size chart */
.size-table-wrap { max-width: 720px; margin: 0 auto; padding: 50px 25px 0; }
.size-table {
  width: 100%; border-collapse: collapse;
  font-size: 14px; color: var(--text); background: var(--bg);
}
.size-table th, .size-table td {
  border: 1px solid var(--line); padding: 14px 10px; text-align: center;
}
.size-table thead th {
  font-family: var(--font-head); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 13px;
}
.size-table tbody th {
  font-weight: 500; background: #f1efea;
}
.size-table caption {
  font-family: var(--font-head); font-weight: 400; font-size: 22px;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--text);
  padding-bottom: 18px; caption-side: top;
}

/* Centered portrait image used on care pages */
.content-portrait { display: flex; justify-content: center; padding: 50px 25px 0; }
.content-portrait img {
  width: 380px; max-width: 100%; height: 600px; object-fit: cover; display: block;
}

/* Two star-icon advice cards */
.advice-cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 50px 30px;
  max-width: 720px; margin: 0 auto; padding: 50px 25px 0; text-align: center;
}
.advice-card .star { width: 20px; height: 20px; margin: 0 auto 14px; opacity: .8; }
.advice-card h3 {
  font-family: var(--font-head); font-weight: 400; font-size: 14px;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px;
}
.advice-card p { font-size: 12px; line-height: 1.5; opacity: .65; margin: 0; }

@media (max-width: 640px) {
  .content-portrait img { height: 440px; }
  .advice-cards { grid-template-columns: 1fr; gap: 32px; }
  .size-table th, .size-table td { padding: 10px 6px; font-size: 13px; }
}

/* Returns: centered conditions list */
.content-list {
  list-style: none; margin: .4em 0 0; padding: 0;
  font-size: 14px; line-height: 1.7; color: var(--text-soft);
}

/* ==================================================================== */
/* FAQ — grouped accordions                                             */
/* ==================================================================== */
.faq { max-width: 720px; margin: 0 auto; padding: 0 25px; }
.faq__group { padding-top: 50px; }
.faq__group-title {
  text-align: center; font-family: var(--font-head); font-weight: 400;
  font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--text); margin: 0 0 6px;
}
.faq__item { border-top: 1px solid var(--line); }
.faq__group .faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 20px 36px 20px 0;
  font-size: 14px; font-weight: 500; color: var(--text);
}
.faq__item summary::-webkit-details-marker { display: none; }
/* plus / minus indicator */
.faq__item summary::before,
.faq__item summary::after {
  content: ''; position: absolute; right: 4px; top: 50%;
  background: var(--muted); transition: opacity .2s, transform .2s;
}
.faq__item summary::before { width: 14px; height: 1px; margin-top: -.5px; }
.faq__item summary::after  { width: 1px; height: 14px; margin-top: -7px; right: 10.5px; }
.faq__item[open] summary { color: var(--text); }
.faq__item[open] summary::before,
.faq__item[open] summary::after { background: var(--text); }
.faq__item[open] summary::after { opacity: 0; }
.faq__answer {
  padding: 0 36px 22px 0;
  font-size: 14px; line-height: 1.6; color: var(--text-soft);
}
.faq__answer a { color: var(--text); border-bottom: 1px solid var(--muted); }
.faq__answer a:hover { border-color: var(--text); }

@media (max-width: 640px) {
  .faq__group-title { font-size: 18px; }
  .faq__item summary, .faq__answer { font-size: 13px; }
}

/* ==================================================================== */
/* Storefront: cart, accounts, product page, checkout, confirmation     */
/* (added with the functional backend)                                  */
/* ==================================================================== */

/* ---- Toast ---- */
.toast {
  position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px);
  background: var(--text); color: var(--bg); padding: 12px 22px; font-size: 13px;
  border-radius: 2px; z-index: 2000; opacity: 0; visibility: hidden;
  transition: opacity .3s ease, transform .3s ease; max-width: 90vw; text-align: center;
}
.toast.is-open { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---- Account icon authed dot ---- */
.icon-btn.is-authed::after {
  content: ''; position: absolute; top: 2px; right: 2px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--blue);
}

/* ---- Account popup ---- */
.popup__box--account { width: 400px; text-align: left; padding: 40px 34px; }
.acc-tabs { display: flex; gap: 0; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.acc-tab {
  flex: 1; background: none; border: 0; padding: 12px 0; font-family: var(--font-body);
  font-size: 14px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px;
}
.acc-tab.is-active { color: var(--text); border-bottom-color: var(--text); }
.acc-form { display: flex; flex-direction: column; gap: 12px; }
.acc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-form input {
  height: 44px; padding: 0 14px; border: 1px solid var(--muted); background: var(--bg);
  color: var(--text); font-family: var(--font-body); font-size: 14px;
  /* width:100% + min-width:0 keep the first/last-name inputs inside their
     grid cells — without min-width:0 a grid item won't shrink below the
     input's intrinsic size, so the last-name field spills past the box. */
  width: 100%; min-width: 0;
}
.acc-form input::placeholder { color: var(--muted); }
.acc-form input:focus { outline: none; border-color: var(--text); }
.acc-submit { margin-top: 6px; width: 100%; }
.acc-error { color: #b4493f; font-size: 13px; min-height: 0; }
.acc-error:not(:empty) { min-height: 18px; }
.acc-note { margin: 18px 0 0; font-size: 12px; color: var(--muted); text-align: center; }
.acc-profile { text-align: center; }
.acc-profile__hi {
  font-family: var(--font-head); font-weight: 400; font-size: 22px;
  letter-spacing: 0.1em; text-transform: uppercase;
}
.acc-profile__email { color: var(--muted); font-size: 13px; margin-bottom: 22px; }
.acc-profile__link { display: flex; margin-bottom: 10px; width: 100%; }
.acc-logout { background: none; border: 0; color: var(--muted); font-size: 13px; text-decoration: underline; margin-top: 8px; }
.acc-logout:hover { color: var(--text); }

/* ---- Cart / wishlist drawer lines ---- */
.drawer__empty { color: var(--muted); padding: 24px; }
.drawer__body { display: flex; flex-direction: column; padding: 0; }
.cart-lines { flex: 1; overflow-y: auto; padding: 18px 24px; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); position: relative; }
.cart-line__media { width: 64px; height: 84px; background: #ece6da; overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__title { font-size: 13px; color: var(--text); padding-right: 18px; }
.cart-line__meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cart-line__price { font-size: 13px; color: var(--text-soft); margin-top: 4px; }
.cart-line__view { font-size: 12px; text-decoration: underline; color: var(--text-soft); display: inline-block; margin-top: 6px; }
.cart-line__remove { position: absolute; top: 12px; right: 0; background: none; border: 0; font-size: 18px; color: var(--muted); line-height: 1; }
.cart-line__remove:hover { color: var(--text); }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; }
.qty__btn { width: 24px; height: 24px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font-size: 15px; line-height: 1; }
.qty__btn:hover { border-color: var(--text); }
.qty__n { min-width: 18px; text-align: center; font-size: 13px; }
.cart-foot { padding: 18px 24px 24px; border-top: 1px solid var(--line); }
.cart-foot__row { display: flex; justify-content: space-between; font-size: 14px; margin-bottom: 10px; }
.cart-foot__row--total { font-weight: 600; margin-top: 14px; margin-bottom: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.cart-foot__checkout { width: 100%; }

/* ==================================================================== */
/* Product detail page                                                  */
/* ==================================================================== */
.pdp { padding-top: var(--header-h); }
.pdp__nav { display: flex; justify-content: space-between; padding: 28px 0 0; font-size: 13px; color: var(--muted); }
.pdp__nav a:hover { color: var(--text); }
.pdp__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; padding: 24px 25px 40px; align-items: start; }
.pdp__loading { grid-column: 1 / -1; text-align: center; padding: 80px 0; color: var(--muted); }
/* Gallery — vertical stack (desktop) */
.pdp__gallery { min-width: 0; position: relative; }
.pdp__slider { display: flex; flex-direction: column; overflow: visible; scroll-snap-type: none; gap: 8px; }
.pdp__slider::-webkit-scrollbar { display: none; }
.pdp__slide { flex: none; width: 100%; scroll-snap-align: none; display: block; padding: 0; border: 0; margin: 0; background: #ece6da; overflow: hidden; cursor: zoom-in; aspect-ratio: 2 / 3; }
.pdp__slide img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.pdp__slide:hover img { transform: scale(1.03); }
.pdp__dots { display: none; }
.pdp__arrow { display: none; }

/* Fullscreen zoom lightbox */
.zoom { position: fixed; inset: 0; z-index: 200; display: none; background: rgba(249,248,246,.97); }
.zoom.is-open { display: block; }
.zoom__stage { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 40px; overflow: hidden; }
.zoom__img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .2s ease; will-change: transform; }
.zoom__img.is-zoomed { transform: scale(2); cursor: zoom-out; }
.zoom__close { position: absolute; top: 18px; right: 22px; z-index: 2; background: none; border: 0; font-size: 32px; line-height: 1; color: var(--text); cursor: pointer; }
.zoom__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border: 1px solid var(--muted); background: rgba(249,248,246,.6); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.zoom__nav:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.zoom__nav--prev { left: 22px; }
.zoom__nav--next { right: 22px; }
.pdp__info { max-width: 460px; padding-top: 10px; position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__collection { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.pdp__title {
  font-family: var(--font-head); font-weight: 400; font-size: 28px;
  line-height: 1.25; letter-spacing: 0.12em; text-transform: uppercase;
}
.pdp__price { font-size: 18px; margin: 14px 0; color: var(--text); }
.pdp__price-old { color: var(--muted); text-decoration: line-through; margin-right: 10px; }
.pdp__sizes-head { display: flex; justify-content: space-between; align-items: center; font-size: 13px; margin: 22px 0 10px; }
.pdp__sizeguide { color: var(--muted); text-decoration: underline; }
.pdp__sizeguide:hover { color: var(--text); }
.pdp__color-name { color: var(--muted); }
/* Colour options render as real colour swatches rather than the colour name. */
.pdp__colors { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; align-items: center; }
.color-pill { position: relative; width: 30px; height: 30px; padding: 0; border: 0; background: none; border-radius: 50%; cursor: pointer; transition: transform .15s ease; }
.color-pill__swatch { display: block; width: 100%; height: 100%; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .12); box-sizing: border-box; }
.color-pill.is-light .color-pill__swatch { border-color: var(--muted); }
.color-pill:hover { transform: scale(1.08); }
/* Selected swatch gets a ring with a gap so any colour reads clearly. */
.color-pill.is-active { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--text); border-radius: 50%; }
.color-pill.is-oos { cursor: not-allowed; opacity: .45; }
.color-pill.is-oos:hover { transform: none; }
/* Out-of-stock colours get a diagonal strike across the swatch. */
.color-pill.is-oos::after { content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(to top right, transparent calc(50% - 0.8px), var(--text) calc(50% - 0.8px), var(--text) calc(50% + 0.8px), transparent calc(50% + 0.8px)); }
.pdp__sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.size-pill { position: relative; min-width: 48px; height: 42px; padding: 0 12px; border: 1px solid var(--muted); background: var(--bg); color: var(--text); font-size: 13px; cursor: pointer; }
.size-pill.is-active, .size-pill:not(.is-oos):hover { border-color: var(--text); background: var(--text); color: var(--bg); }
/* Out-of-stock sizes stay visible but are clearly struck through corner to
   corner and disabled. The label itself stays legible (no blanket fade). */
.size-pill.is-oos { color: var(--muted); border-color: var(--line); background: var(--bg); cursor: not-allowed; overflow: hidden; }
.size-pill.is-oos::after { content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top right, transparent calc(50% - 0.6px), var(--muted) calc(50% - 0.6px), var(--muted) calc(50% + 0.6px), transparent calc(50% + 0.6px)); }
.pdp__oos-note { font-size: 12px; color: var(--muted); margin: -8px 0 18px; }
.pdp__add { width: 100%; height: 50px; }
.pdp__wish { display: block; width: 100%; margin-top: 12px; background: none; border: 0; color: var(--muted); font-size: 13px; padding: 8px; }
.pdp__wish:hover { color: var(--text); }
.pdp__desc { font-size: 14px; line-height: 1.7; color: var(--text-soft); margin: 30px 0 10px; max-width: 100%; overflow-wrap: break-word; word-wrap: break-word; }
.pdp__notify { border: 1px solid var(--line); padding: 22px; margin: 14px 0; }
.pdp__notify-title {
  font-family: var(--font-head); font-weight: 400; font-size: 18px;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px;
}
.pdp__notify-text { font-size: 13px; color: var(--muted); margin: 0 0 16px; }

/* Accordion */
.accordion { border-top: 1px solid var(--line); margin-top: 20px; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__head { width: 100%; display: flex; justify-content: space-between; align-items: center; background: none; border: 0; padding: 16px 0; font-size: 14px; color: var(--text); text-align: left; }
.accordion__icon { font-size: 18px; color: var(--muted); transition: transform .25s ease; }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.accordion__item.is-open .accordion__panel { max-height: 400px; }
.accordion__panel p { font-size: 13px; line-height: 1.7; color: var(--text-soft); margin: 0 0 18px; }
.keep-exploring { padding-top: 20px; }

/* ==================================================================== */
/* Cart / checkout page                                                 */
/* ==================================================================== */
.checkout { display: grid; grid-template-columns: 1fr 420px; gap: 50px; padding: 10px 0 60px; align-items: start; }
.checkout__items { min-width: 0; }
.co-line { display: grid; grid-template-columns: 80px 1fr auto auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); position: relative; }
.co-line__media { width: 80px; height: 104px; background: #ece6da; overflow: hidden; }
.co-line__media img { width: 100%; height: 100%; object-fit: cover; }
.co-line__title { font-size: 14px; }
.co-line__meta { font-size: 12px; color: var(--muted); margin-top: 3px; }
.co-line__price { font-size: 13px; color: var(--muted); margin-top: 4px; }
.co-line__sum { font-size: 14px; min-width: 70px; text-align: right; }
.co-line__remove { background: none; border: 0; font-size: 18px; color: var(--muted); }
.co-line__remove:hover { color: var(--text); }
.checkout__panel { position: sticky; top: calc(var(--header-h) + 20px); border: 1px solid var(--line); padding: 28px; }
.checkout__summary { padding-bottom: 22px; border-bottom: 1px solid var(--line); margin-bottom: 22px; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.summary-row--muted { color: var(--muted); }
.summary-row--total { font-size: 16px; font-weight: 500; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.checkout__form { display: flex; flex-direction: column; gap: 14px; }
.form-field input, .form-field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--muted); background: var(--bg);
  color: var(--text); font-family: var(--font-body); font-size: 14px; resize: vertical;
}
.form-field input:focus, .form-field textarea:focus { outline: none; border-color: var(--text); }
.form-field label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 5px; }
.pay-title { font-size: 14px; margin-bottom: 12px; }
.pay-option { display: flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.pay-option input { position: absolute; opacity: 0; }
.pay-radio { width: 18px; height: 18px; border: 1px solid var(--muted); border-radius: 50%; display: inline-block; position: relative; }
.pay-option input:checked + .pay-radio::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--text); }
.checkout__submit { width: 100%; height: 50px; margin-top: 6px; }
.checkout__error { color: #b4493f; font-size: 13px; }
.checkout__error:empty { display: none; }
.checkout__note { font-size: 11px; color: var(--muted); margin: 4px 0 0; line-height: 1.5; }
.cart-empty { text-align: center; padding: 60px 0 100px; }
.cart-empty p { color: var(--muted); margin-bottom: 20px; }

/* ==================================================================== */
/* Status pills (storefront)                                            */
/* ==================================================================== */
.status { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 11px; text-transform: capitalize; }
.status--pending { background: #fbf0d9; color: #946a14; }
.status--confirmed { background: #e2ecf6; color: #2c5d8a; }
.status--shipped { background: #e7e2f6; color: #5544a0; }
.status--delivered { background: #e3efe0; color: #4a7037; }
.status--cancelled { background: #f6e2e0; color: #a3392f; }

/* ==================================================================== */
/* Order confirmation                                                   */
/* ==================================================================== */
.confirm { padding: 120px 25px 80px; max-width: 760px; }
.confirm__loading { text-align: center; color: var(--muted); padding: 60px 0; }
.confirm__hero { text-align: center; margin-bottom: 40px; }
.confirm__check { width: 64px; height: 64px; border-radius: 50%; background: var(--blue); color: #fff; font-size: 32px; line-height: 64px; margin: 0 auto 20px; }
.confirm__title {
  font-family: var(--font-head); font-weight: 400; font-size: 32px;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.confirm__lead { font-size: 14px; color: var(--text-soft); margin-top: 12px; line-height: 1.6; }
.confirm__card { border: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; }
.confirm__section { padding: 28px; }
.confirm__section:first-child { border-right: 1px solid var(--line); }
.confirm__section h3 {
  font-family: var(--font-head); font-weight: 400; font-size: 16px;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px;
}
.confirm__item { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: var(--text-soft); }
.confirm__total { display: flex; justify-content: space-between; font-size: 15px; font-weight: 500; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.confirm__kv { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; padding: 6px 0; }
.confirm__kv span:first-child { color: var(--muted); }
.confirm__kv span:last-child { text-align: right; }
.confirm__actions { display: flex; gap: 12px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }

/* ==================================================================== */
/* Account page                                                         */
/* ==================================================================== */
.account { padding-bottom: 80px; }
.account__signedout { text-align: center; padding: 40px 0 100px; }
.account__signedout p { color: var(--muted); margin-bottom: 22px; }
.account__grid { display: grid; grid-template-columns: 380px 1fr; gap: 30px; align-items: start; padding-bottom: 40px; }
.account__panel { border: 1px solid var(--line); padding: 28px; }
.account__h2 {
  font-family: var(--font-head); font-weight: 400; font-size: 20px;
  letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 20px;
}
.account__form { display: flex; flex-direction: column; gap: 14px; }
.account__form label { font-size: 12px; color: var(--muted); margin-bottom: 5px; display: block; }
.account__form input, .account__form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--muted); background: var(--bg);
  color: var(--text); font-family: var(--font-body); font-size: 14px;
}
.account__form input:disabled { background: #efece7; color: var(--muted); }
.account__form input:focus, .account__form textarea:focus { outline: none; border-color: var(--text); }
.account__msg { font-size: 13px; }
.account__msg.is-ok { color: var(--blue); }
.account__msg.is-err { color: #b4493f; }
.account__adminlink { display: flex; margin-top: 14px; }
.account__logout { display: block; margin-top: 16px; }
.account__empty { color: var(--muted); }
.order-card { border: 1px solid var(--line); padding: 20px; margin-bottom: 16px; }
.order-card__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.order-card__id { font-weight: 500; }
.order-card__date { font-size: 12px; color: var(--muted); }
.order-card__items { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 12px; }
.order-item { display: flex; justify-content: space-between; font-size: 13px; padding: 3px 0; color: var(--text-soft); }
.order-card__foot { display: flex; justify-content: space-between; font-size: 14px; }

@media (max-width: 960px) {
  .pdp__grid { grid-template-columns: 1fr; gap: 30px; }
  .pdp__gallery { position: static; }
  /* min-width:0 lets the column shrink to the viewport so a long description
     wraps (overflow-wrap) instead of pushing the grid wider than the screen.
     max-width:100% drops the 460px desktop cap which is irrelevant here. */
  .pdp__info { position: static; min-width: 0; max-width: 100%; }
  /* horizontal swipeable slider with dots (mobile) — reset desktop vertical stack */
  .pdp__slider { flex-direction: row; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 0; }
  .pdp__slide { flex: 0 0 100%; scroll-snap-align: start; }
  .pdp__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
  .pdp__arrow { display: none; }
  .pdp__dot { width: 7px; height: 7px; padding: 0; border-radius: 50%; border: 0; background: var(--muted); opacity: .5; cursor: pointer; transition: opacity .2s; }
  .pdp__dot.is-active { opacity: 1; background: var(--text); }
  .zoom__stage { padding: 16px; }
  .zoom__nav { width: 38px; height: 38px; font-size: 22px; }
  .checkout { grid-template-columns: 1fr; gap: 30px; }
  .checkout__panel { position: static; }
  .account__grid { grid-template-columns: 1fr; }
  .confirm__card { grid-template-columns: 1fr; }
  .confirm__section:first-child { border-right: 0; border-bottom: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .pdp__title { font-size: 26px; }
  .confirm__title { font-size: 28px; }
  .co-line { grid-template-columns: 64px 1fr auto; }
  .co-line__sum { display: none; }
}

/* ==================================================================== */
/* Landing page — transparent header, editorial hero & features band    */
/* ==================================================================== */

/* Transparent header overlaying the hero — fixed so it stays visible on scroll */
.header--landing {
  position: fixed; top: 0; left: 0; right: 0;
  background: transparent; backdrop-filter: none; border-bottom: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition);
}
/* Becomes opaque once the user scrolls past the hero */
.header--landing.is-scrolled {
  background: rgba(249, 248, 246, 0.96);
  backdrop-filter: blur(6px);
}
.header--landing.is-scrolled .logo--text { color: var(--text); }
.header--landing.is-scrolled .nav--center .nav__link { color: var(--text); }
.header--landing.is-scrolled .nav--center .nav__link::after { background: var(--text-soft); }
.header--landing.is-scrolled .header__icons .icon-btn { color: var(--text); }
.header--landing.is-scrolled .burger span { background: var(--text); }
.header--landing .header__inner { min-height: var(--header-h-land); gap: 24px; }

/* Text logo (left) */
.logo--text {
  justify-self: start;
  font-family: var(--font-logo);
  font-size: clamp(13px, 1.1vw, 16px); letter-spacing: 5px; text-transform: uppercase;
  color: var(--text); white-space: nowrap; line-height: 1;
}
.header--landing .logo--text { color: #514338; }

/* Centered nav with uppercase links (shared by landing + inner pages) */
.nav--center { justify-self: center; gap: 46px; }
.nav--center .nav__link {
  font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
}
/* Landing variant: dark links over the hero */
.header--landing .nav--center .nav__link { color: #514338; }
.header--landing .nav--center .nav__link::after { background: #514338; }
.header--landing .nav--center .nav__item:hover .nav__link { color: #514338; }

/* Dark icons + burger */
.header--landing .header__icons { gap: 22px; }
.header--landing .icon-btn { color: #514338; }
.header--landing .burger span { background: #514338; }

/* Hero — left-aligned editorial layout. Warm brown text sits directly on
   the bright photo (no dark tint): serif caps with wide tracking. */
.hero--landing { min-height: 100vh; color: var(--text); }
.hero--landing .hero__overlay { background: none; }
.hero--landing .hero__inner {
  justify-content: center; align-items: flex-start;
  padding: 130px 120px 140px;
}
.hero__content { max-width: 620px; }
.hero__eyebrow {
  font-size: 12px; letter-spacing: 4px; text-transform: uppercase;
  margin-bottom: 28px; color: var(--text-soft);
}
.hero__display {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(40px, 6vw, 84px); line-height: 1.14;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.hero__rule {
  display: block; width: 36px; height: 1px;
  background: var(--text); margin: 30px 0;
}
.hero__lead {
  font-size: 13px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--text-soft); margin-bottom: 38px;
}

/* Outlined CTA button */
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 40px;
  border: 1px solid var(--text); color: var(--text);
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.btn-outline:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* Features band */
.features { background: var(--cream); border-bottom: 1px solid var(--line); }
.features__inner {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center; gap: 34px; padding: 26px 25px;
}
.feature { display: flex; align-items: center; justify-content: center; gap: 18px; }
.feature__icon { color: var(--text-soft); line-height: 0; flex-shrink: 0; }
.feature__icon svg { width: 36px; height: 36px; }
.feature__title {
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text);
}
.feature__text { font-size: 13px; color: var(--muted); margin-top: 4px; }
.feature__divider { width: 1px; height: 48px; background: var(--line); }

@media (max-width: 960px) {
  .nav--center { display: none; }
  .header--landing .header__inner { grid-template-columns: auto 1fr auto; }
  .logo--text { justify-self: center; font-size: 15px; letter-spacing: 4px; }
  .hero--landing .hero__inner { padding: 110px 25px 80px; }
}

@media (max-width: 640px) {
  .features__inner { grid-template-columns: 1fr; gap: 18px; justify-items: start; }
  .feature__divider { display: none; }
  .hero__display { font-size: 38px; }
  .hero__content { max-width: 100%; }
}

/* ==================================================================== */
/* Global responsive improvements                                        */
/* ==================================================================== */

/* Prevent horizontal overflow on all screens.
   `clip` (not `hidden`) so body doesn't become a scroll container,
   which would break position: sticky (e.g. .pdp__info). */
html, body { overflow-x: clip; }

/* Container padding scales down on small screens */
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  :root { --container-pad: 16px; }
}

/* Header: ensure proper layout at all sizes */
@media (max-width: 400px) {
  .logo--text { font-size: 13px; letter-spacing: 3px; }
  .header__icons { gap: 10px; }
  .icon-btn svg { width: 18px; height: 18px; }
}

/* Products grid: 3 columns on medium screens, 2 on small */
@media (max-width: 1199px) {
  .products { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 360px) {
  .products { grid-template-columns: 1fr; }
}

/* Footer responsive improvements */
@media (max-width: 960px) {
  .footer__cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__content { padding: 60px 25px 40px; }
}
@media (max-width: 640px) {
  .footer__cols { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .footer__bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
}
@media (max-width: 480px) {
  .footer__content { padding: 40px 16px 32px; }
  .footer__media { min-height: 300px; }
}

/* Our Story responsive improvements */
@media (max-width: 960px) {
  .about-intro { padding: 24px 20px 0; }
  .section-title { padding: 48px 20px 0; font-size: 28px; }
  .lookbook { max-width: 100%; padding: 24px 16px 0; }
  .fabric-features { padding: 40px 20px 0; }
}
@media (max-width: 640px) {
  .about-intro { padding: 20px 16px 0; font-size: 13px; }
  .about-video { padding: 24px 16px 0; }
  .about-video video, .about-video img { width: 100%; height: 380px; }
  .section-title { font-size: 24px; padding: 40px 16px 0; }
  .lookbook { grid-template-columns: 1fr; gap: 8px; }
  .lookbook img { height: 280px; }
  .fabric-features { grid-template-columns: repeat(2, 1fr); gap: 28px; padding: 32px 16px 0; }
}
@media (max-width: 400px) {
  .fabric-features { grid-template-columns: 1fr; }
  .about-video video, .about-video img { height: 320px; }
  .lookbook img { height: 240px; }
}

/* Page title responsive */
@media (max-width: 640px) {
  .page-title { font-size: 28px; }
}
@media (max-width: 400px) {
  .page-title { font-size: 24px; }
}

/* Marquee responsive */
@media (max-width: 640px) {
  .marquee img { width: 160px; height: 230px; }
}
@media (max-width: 400px) {
  .marquee img { width: 130px; height: 190px; }
}

/* Hero responsive */
@media (max-width: 480px) {
  .hero--landing .hero__inner { padding: 90px 16px 60px; }
  .hero__display { font-size: 32px; }
  .hero__eyebrow { font-size: 11px; letter-spacing: 3px; }
  .hero__lead { font-size: 12px; letter-spacing: 2px; }
  .btn-outline { height: 46px; padding: 0 28px; font-size: 11px; }
}

/* Features band responsive */
@media (max-width: 960px) {
  .features__inner { grid-template-columns: 1fr 1fr; gap: 24px; padding: 24px 25px; }
  .feature__divider { display: none; }
}
@media (max-width: 640px) {
  .features__inner { grid-template-columns: 1fr; gap: 18px; }
}

/* Editorial blocks responsive */
@media (max-width: 640px) {
  .editorial { min-height: 70vh; }
  .editorial__inner { padding: 0 16px 24px; }
}

/* Cart / checkout responsive */
@media (max-width: 480px) {
  .drawer { width: 100%; max-width: 100%; }
  .cart-line { grid-template-columns: 56px 1fr auto; gap: 10px; }
  .cart-line__media { width: 56px; height: 74px; }
}

/* FAQ responsive */
@media (max-width: 480px) {
  .faq { padding: 0 16px; }
  .faq__group { padding-top: 36px; }
}

/* Size table horizontal scroll on mobile */
@media (max-width: 640px) {
  .size-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .size-table { min-width: 500px; }
}

/* PDP responsive */
@media (max-width: 480px) {
  .pdp__grid { padding: 16px 16px 32px; gap: 20px; }
  .pdp__title { font-size: 22px; }
  .pdp__sizes { gap: 6px; }
  .size-pill { min-width: 42px; height: 38px; font-size: 12px; }
}

/* Slider product width on small screens */
@media (max-width: 480px) {
  .slider .product { width: clamp(140px, 44vw, 200px); }
}

/* Account page responsive */
@media (max-width: 480px) {
  .account__panel { padding: 20px 16px; }
  .confirm { padding: 100px 16px 60px; }
  .checkout { padding: 10px 0 40px; }
}

/* Home page mobile — clearer section separation */
@media (max-width: 640px) {
  .section { padding: 32px 0; }
  .section-head { padding: 40px 16px 20px; }
  .editorial { margin-top: 0; margin-bottom: 8px; }
  .features + .section-head { padding-top: 32px; }
}
@media (max-width: 480px) {
  .section-head__title { font-size: 22px; }
  .section-head__uptitle { font-size: 13px; }
}

/* Footer mobile — center social icons and showroom link */
@media (max-width: 960px) {
  .footer__socials { justify-content: flex-start; }
  .footer__showroom { display: block; }
}
@media (max-width: 640px) {
  .footer__socials { justify-content: center; }
  .footer__showroom { margin-left: auto; margin-right: auto; text-align: center; }
  .footer__links { display: flex; flex-direction: column; align-items: center; }
  .footer__links a { padding: 5px 0; }
}
