/* =========================================================
   EDMOND SALIBA — design system
   Warm ivory + sand neutrals taken from the brand photography,
   ink-black type, serif display headings. Mobile-first.
========================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --sand: #f2ece3;
  --sand-2: #e9e0d3;
  --line: #e4dbcf;
  --ink: #1f1b17;
  --ink-2: #3b342d;
  --muted: #6e6359;
  --accent: #8a6a4b;        /* bronze — links, focus, small accents */
  --sale: #a63d2a;
  --success: #3f6b4a;
  --on-dark: #faf7f2;

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --radius-sm: 4px;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(31, 27, 23, .06);
  --shadow: 0 10px 30px -12px rgba(31, 27, 23, .18);
  --shadow-lg: 0 24px 60px -20px rgba(31, 27, 23, .3);

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 64px;
  --section-y: clamp(56px, 8vw, 104px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 960px) { :root { --header-h: 76px; } }

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.15; }
h1, h2 { font-family: var(--font-display); letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--sand-2); }
body.no-scroll { overflow: hidden; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 2000;
  background: var(--ink); color: var(--on-dark); padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 12px; }
.muted { color: var(--muted); }

.icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--surface); }
.section--sand { background: var(--sand); }

.eyebrow {
  font-size: .75rem; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .75rem;
}
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 48px); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.section-head--left { text-align: left; margin-inline: 0; }
.section-head--split {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  text-align: left; max-width: none;
}
.center-cta { text-align: center; margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .75rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius-sm);
  font-size: .8125rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn .icon { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: var(--on-dark); }
.btn--dark:hover:not(:disabled) { background: var(--ink-2); }
.btn--outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--outline:hover:not(:disabled) { background: var(--ink); color: var(--on-dark); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--ghost-light { background: transparent; color: var(--on-dark); border-color: rgba(250, 247, 242, .7); }
.btn--ghost-light:hover { background: rgba(250, 247, 242, .12); border-color: var(--on-dark); }
.btn--block { width: 100%; }
.btn--lg { min-height: 54px; }

.text-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: 4px 0;
  background: none; border: 0; color: var(--ink-2); font-size: .875rem;
  text-decoration: underline; text-underline-offset: 3px;
}
.text-btn:hover { color: var(--accent); }
.text-btn:disabled { opacity: .4; cursor: not-allowed; }
.text-btn .icon { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem; white-space: nowrap;
  font-size: .8125rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }
.link-back {
  display: inline-flex; align-items: center; gap: .25rem; color: var(--muted);
  font-size: .875rem; text-decoration: none;
}
.link-back:hover { color: var(--ink); }
.link-back .icon { width: 16px; height: 16px; }

.icon-btn {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: none; border: 0; border-radius: 50%; color: var(--ink); text-decoration: none;
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--sand); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--sm { width: 32px; height: 32px; font-size: .8rem; }

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink); color: var(--on-dark);
  font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; text-align: center;
}
.announce p { display: flex; align-items: center; justify-content: center; gap: .5rem; padding: 8px var(--gutter); }
.announce .icon { width: 16px; height: 16px; }
.announce__sep { opacity: .5; }
@media (max-width: 480px) { .announce__sep, .announce__extra { display: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 900;
  /* Solid on mobile: backdrop-filter would make the header the containing block
     for the fixed-position menu drawer inside it. */
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -16px rgba(31, 27, 23, .4); }
.site-header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--header-h); max-width: var(--wrap); margin: 0 auto; padding-inline: max(12px, calc(var(--gutter) - 8px));
}
.logo { justify-self: center; display: block; }
.logo img { height: 44px; width: auto; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 2px; }
.nav-toggle { justify-self: start; }

.cart-link { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--ink); color: var(--on-dark);
  font-size: .6875rem; font-weight: 600; line-height: 18px; text-align: center;
}
.cart-count.is-empty { display: none; }

/* Mobile drawer */
.main-nav {
  position: fixed; inset: 0 auto 0 0; z-index: 1001;
  width: min(86vw, 360px); height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg); box-shadow: var(--shadow-lg);
  transform: translateX(-102%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.main-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.main-nav__head {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h); padding: 0 8px 0 24px; border-bottom: 1px solid var(--line);
}
.main-nav__title { font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.main-nav > a {
  display: block; padding: 18px 24px; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-size: 1.75rem; line-height: 1.1; text-decoration: none;
}
.main-nav > a[aria-current="page"] { color: var(--accent); }
.main-nav__foot { margin-top: auto; padding: 24px; }
.main-nav__contact { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--ink-2); }
.nav-backdrop, .drawer-backdrop {
  position: fixed; inset: 0; z-index: 1000; background: rgba(31, 27, 23, .45);
  animation: fade-in .25s ease;
}
.nav-backdrop { z-index: 850; } /* below the sticky header (900), which holds the drawer */
@keyframes fade-in { from { opacity: 0; } }

@media (min-width: 960px) {
  .site-header {
    background: rgba(250, 247, 242, .92);
    -webkit-backdrop-filter: saturate(1.4) blur(12px);
    backdrop-filter: saturate(1.4) blur(12px);
  }
  .site-header__inner { grid-template-columns: auto 1fr auto; gap: 40px; }
  .logo { justify-self: start; }
  .logo img { height: 52px; }
  .nav-toggle, .main-nav__head, .main-nav__foot, .nav-backdrop { display: none !important; }
  .main-nav {
    position: static; width: auto; height: auto; transform: none; visibility: visible;
    flex-direction: row; justify-content: center; gap: 36px;
    background: none; box-shadow: none; transition: none;
  }
  .main-nav > a {
    position: relative; padding: 8px 0; border: 0;
    font-family: var(--font-body); font-size: .8125rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  }
  .main-nav > a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
  }
  .main-nav > a:hover::after, .main-nav > a[aria-current="page"]::after { transform: scaleX(1); }
  .main-nav > a[aria-current="page"] { color: var(--ink); }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: min(calc(100svh - var(--header-h) - 34px), 760px);
  color: var(--on-dark); background: #b9a68f;
}
.hero__media, .hero__media picture, .about-hero__media, .about-hero__media picture { position: absolute; inset: 0; z-index: -2; }
.hero__media img, .about-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__alt { opacity: 0; animation: hero-swap 16s 4s infinite ease-in-out; }
@keyframes hero-swap { 0%, 40% { opacity: 0; } 50%, 90% { opacity: 1; } 100% { opacity: 0; } }
.hero::after, .about-hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(28, 22, 16, .72) 0%, rgba(28, 22, 16, .25) 55%, rgba(28, 22, 16, .05) 100%);
}
.hero__content { padding-block: 56px 48px; }
.hero .eyebrow, .about-hero .eyebrow, .cta-band .eyebrow { color: rgba(250, 247, 242, .85); }
.hero h1 { font-size: clamp(2.6rem, 9vw, 5.5rem); font-weight: 500; line-height: 1.02; max-width: 12ch; }
.hero__lead { max-width: 46ch; margin-top: 1.1rem; font-size: clamp(1rem, 2vw, 1.15rem); color: rgba(250, 247, 242, .9); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }
@media (max-width: 479px) { .hero__ctas .btn { flex: 1 1 100%; } }
@media (min-width: 900px) {
  .hero { align-items: center; }
  .hero::after { background: linear-gradient(to right, rgba(28, 22, 16, .68) 0%, rgba(28, 22, 16, .3) 45%, rgba(28, 22, 16, 0) 75%); }
  .hero__content { padding-block: 96px; }
}

/* ---------- Perks strip ---------- */
.perks { background: var(--surface); border-bottom: 1px solid var(--line); }
.perks__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; padding-block: 24px; }
.perk { display: flex; align-items: center; gap: 12px; }
.perk > .icon { width: 26px; height: 26px; color: var(--accent); }
.perk strong { display: block; font-size: .875rem; font-weight: 500; line-height: 1.3; }
.perk span { display: block; font-size: .8125rem; color: var(--muted); line-height: 1.3; }
@media (min-width: 900px) {
  .perks__grid { grid-template-columns: repeat(4, 1fr); padding-block: 28px; }
  .perk { justify-content: center; }
}

/* ---------- Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.cat-card {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  min-height: 140px; padding: 24px 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  text-align: center; text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.cat-card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card__icon {
  display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%;
  background: var(--sand); color: var(--ink); transition: background-color .2s, color .2s;
}
.cat-card__icon .icon { width: 28px; height: 28px; }
.cat-card:hover .cat-card__icon { background: var(--ink); color: var(--on-dark); }
.cat-card__name { font-size: .9375rem; font-weight: 500; line-height: 1.3; }
@media (min-width: 600px) { .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
@media (min-width: 960px) { .cat-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); } .cat-card { min-height: 170px; } }

/* ---------- Product grid & card ---------- */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 20px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; } }

.p-card { display: flex; flex-direction: column; min-width: 0; }
.p-card__media {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius); background: var(--sand);
}
.p-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.p-card__media img.is-placeholder { object-fit: contain; padding: 22%; opacity: .5; }
.p-card:hover .p-card__media img { transform: scale(1.04); }
.p-card__body { padding-top: 12px; }
.p-card__title { font-family: var(--font-body); font-size: .9375rem; font-weight: 400; line-height: 1.35; }
.p-card__title a {
  text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.p-card__title a:hover { text-decoration: underline; }
.p-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-top: 4px; }

.price-now { font-weight: 500; }
.price-now--sale { color: var(--sale); }
.price-was { color: var(--muted); font-size: .875em; }

.badge {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 9px; border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-size: .6875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.badge--sale { background: var(--sale); color: #fff; }

.empty-state { padding: 48px 16px; text-align: center; color: var(--muted); }
.empty-state strong { color: var(--ink); font-weight: 500; font-size: 1.125rem; }
.empty-state p + p { margin-top: 4px; }
.empty-state .btn { margin-top: 20px; }
.empty-state--lg { padding-block: 72px 96px; }
.empty-state__icon {
  display: inline-grid; place-items: center; width: 72px; height: 72px; margin-bottom: 16px;
  border-radius: 50%; background: var(--sand); color: var(--ink);
}
.empty-state__icon .icon { width: 30px; height: 30px; }

/* ---------- Features (why us) ---------- */
.feature-grid { display: grid; gap: 16px; }
.feature {
  padding: 32px 28px; background: var(--bg); border-radius: var(--radius-lg); text-align: center;
}
.feature__icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin-bottom: 18px;
  border-radius: 50%; background: var(--ink); color: var(--on-dark);
}
.feature__icon .icon { width: 26px; height: 26px; }
.feature h3 { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: .5rem; }
.feature p { color: var(--muted); max-width: 34ch; margin-inline: auto; }
@media (min-width: 800px) { .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- Page heroes ---------- */
.page-hero { padding-block: clamp(40px, 7vw, 80px) clamp(28px, 4vw, 48px); text-align: center; background: var(--sand); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero p:not(.eyebrow) { margin-top: .75rem; color: var(--muted); }
.page-hero--compact { padding-block: clamp(28px, 5vw, 56px) clamp(20px, 3vw, 36px); }

/* ---------- Forms ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form { padding: clamp(20px, 4vw, 36px); }
.form-row { display: grid; gap: 0 16px; }
@media (min-width: 600px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 6px; font-size: .875rem; font-weight: 500; }
.req { color: var(--sale); }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field textarea, .field select,
.price-range input, .search-field input, .sort-field select {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 1rem; /* 16px prevents iOS zoom on focus */
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none; appearance: none;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field textarea:focus, .price-range input:focus, .search-field input:focus, .sort-field select:focus {
  outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(138, 106, 75, .15);
}
.field .is-invalid, .field input.is-invalid, .field textarea.is-invalid { border-color: var(--sale); }
.field-error { display: none; margin-top: 6px; font-size: .8125rem; color: var(--sale); }
.field-error.is-visible { display: block; }
.alert { margin-bottom: 20px; padding: 12px 16px; border-radius: var(--radius-sm); background: #f8e6e1; color: var(--sale); font-size: .9375rem; }
.form-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: .8125rem; }
.form-note .icon { width: 16px; height: 16px; }
.form-section-title { font-family: var(--font-display); font-size: 1.6rem; margin-bottom: 20px; }

/* intl-tel-input fits the field style */
.iti { width: 100%; display: block; }
/* Local fallback: keep the country list closed even before the CDN stylesheet arrives */
.iti__hide, .iti__country-list.iti__hide { display: none; }
.iti__country-list { position: absolute; z-index: 20; max-height: 220px; overflow-y: auto; background: var(--surface); border: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.iti__selected-flag { padding: 0 8px 0 12px; }
.iti--separate-dial-code .iti__selected-flag { background: var(--sand); }

/* ---------- Contact section ---------- */
.contact-section { background: var(--surface); }
.page-contact .contact-section { background: var(--bg); }
.contact-grid { display: grid; gap: 40px; }
.contact-intro h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.contact-intro > p { margin-top: 1rem; color: var(--muted); max-width: 46ch; }
.contact-list { list-style: none; display: grid; gap: 18px; margin-top: 28px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list strong { display: block; font-weight: 500; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.contact-list__icon {
  display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px;
  border-radius: 50%; background: var(--sand); color: var(--ink);
}
.contact-section .form { background: var(--bg); }
.page-contact .contact-section .form { background: var(--surface); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; } }

/* ---------- About ---------- */
.about-hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end; min-height: min(70svh, 620px);
  color: var(--on-dark); background: #b9a68f;
}
.about-hero__content { padding-block: 56px 48px; }
.about-hero h1 { font-size: clamp(2.6rem, 8vw, 5rem); max-width: 14ch; line-height: 1.02; }
.about-hero p:not(.eyebrow) { max-width: 52ch; margin-top: 1rem; color: rgba(250, 247, 242, .92); }
.about-hero strong { font-weight: 500; }
.about-intro { display: grid; gap: 24px; }
.about-intro h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--ink-2); }
.mv-grid { display: grid; gap: 16px; margin-top: 32px; }
.mv { padding: 24px; border-left: 2px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; }
.mv h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .4rem; }
.mv p { color: var(--muted); }
@media (min-width: 900px) {
  .about-intro { grid-template-columns: 5fr 7fr; gap: 64px; }
  .mv-grid { grid-template-columns: 1fr 1fr; }
}
.values-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.value { padding: 28px 24px; background: var(--bg); border-radius: var(--radius-lg); }
.value__num { font-family: var(--font-display); font-size: 1.1rem; color: var(--accent); }
.value h3 { font-family: var(--font-display); font-size: 1.6rem; margin: .4rem 0; }
.value p { color: var(--muted); }
.story { display: grid; gap: 32px; }
.timeline { list-style: none; position: relative; display: grid; gap: 28px; padding-left: 28px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line); }
.timeline li { position: relative; }
.timeline li::before {
  content: ''; position: absolute; left: -28px; top: 8px; width: 11px; height: 11px;
  border-radius: 50%; background: var(--bg); border: 2px solid var(--accent);
}
.timeline h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: .3rem; }
.timeline p { color: var(--muted); max-width: 56ch; }
@media (min-width: 900px) { .story { grid-template-columns: 5fr 7fr; gap: 64px; } }
.cta-band { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 8vw, 96px); }
.cta-band__inner { display: grid; gap: 8px; justify-items: center; text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); max-width: 20ch; }

/* ---------- Shop ---------- */
.shop { padding-block: 24px var(--section-y); }
.shop-toolbar {
  display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  margin-bottom: 24px;
}
.search-field { position: relative; display: block; }
.search-field > .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-field input { padding-left: 42px; border-radius: 999px; }
.shop-filter-btn { min-height: 48px; padding-inline: 18px; border-radius: 999px; letter-spacing: .1em; }
.filter-count {
  display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
  border-radius: 10px; background: var(--ink); color: var(--on-dark); font-size: .6875rem; letter-spacing: 0;
}
.shop-filter-btn:hover .filter-count { background: var(--on-dark); color: var(--ink); }
.shop-toolbar__meta { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.result-count { color: var(--muted); font-size: .875rem; }
.sort-field select {
  min-height: 40px; width: auto; padding: 8px 36px 8px 12px; font-size: .875rem; border-radius: 999px;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f1b17' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 14px;
}

.shop-filters {
  position: fixed; inset: auto 0 0 0; z-index: 1001;
  display: flex; flex-direction: column; max-height: 88dvh;
  background: var(--bg); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lg);
  transform: translateY(102%); visibility: hidden;
  transition: transform .35s var(--ease), visibility 0s linear .35s;
}
.shop-filters.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease); }
.shop-filters__head { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px 20px; border-bottom: 1px solid var(--line); }
.shop-filters__head h2 { font-size: 1.6rem; }
.shop-filters__body { overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 12px; }
.shop-filters__foot {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
}
.filter-group { border: 0; margin: 0; padding: 18px 0; border-bottom: 1px solid var(--line); min-width: 0; }
.filter-group:last-child { border-bottom: 0; }
.filter-group legend {
  float: left; width: 100%; margin-bottom: 12px; padding: 0;
  font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
}
.filter-group legend + * { clear: both; }
.filter-group__hint { color: var(--muted); font-weight: 400; letter-spacing: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 6px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  font-size: .875rem; transition: background-color .15s, border-color .15s, color .15s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; color: var(--muted); }

.swatch-list { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch-list.is-collapsed { max-height: 92px; overflow: hidden; }
.swatch {
  position: relative; width: 34px; height: 34px; padding: 0;
  border-radius: 50%; border: 1px solid rgba(31, 27, 23, .18);
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 3px var(--bg);
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover:not(:disabled) { transform: scale(1.08); }
.swatch.is-selected { box-shadow: inset 0 0 0 3px var(--bg), 0 0 0 2px var(--ink); }
.swatch:disabled { cursor: not-allowed; opacity: .45; }
.swatch:disabled::after {
  content: ''; position: absolute; left: 50%; top: 50%; width: 120%; height: 1.5px;
  background: var(--ink); transform: translate(-50%, -50%) rotate(-45deg);
}
.swatch-list--lg .swatch { width: 40px; height: 40px; }
#spColorsToggle { margin-top: 10px; }

@media (min-width: 960px) {
  .shop-toolbar { grid-template-columns: minmax(0, 340px) 1fr; }
  .shop-filter-btn { display: none; }
  .shop-toolbar__meta { grid-column: auto; justify-content: flex-end; gap: 20px; }
  .shop-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 40px; align-items: start; }
  .shop-filters {
    position: sticky; top: calc(var(--header-h) + 16px); inset: auto; z-index: 1;
    max-height: calc(100vh - var(--header-h) - 32px);
    transform: none; visibility: visible; transition: none;
    background: none; border-radius: 0; box-shadow: none;
  }
  .shop-filters__head { display: none; }
  .shop-filters__body { padding: 0 8px 0 0; }
  .filter-group:first-child { padding-top: 0; }
  .shop-filters__foot { grid-template-columns: 1fr; padding: 16px 0 0; border: 0; }
  .shop-filters__foot #spApply { display: none; }
  .drawer-backdrop { display: none !important; }
  .product-grid--shop { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Product page ---------- */
.product-page { padding-block: 20px var(--section-y); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; font-size: .8125rem; color: var(--muted); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }
.product-layout { display: grid; gap: 28px; }
@media (min-width: 900px) {
  .product-layout { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
}
.gallery__main {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-lg); background: var(--sand);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.gallery__thumbs::-webkit-scrollbar { display: none; }
.thumbnail {
  flex: 0 0 72px; aspect-ratio: 4 / 5; padding: 0; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--sand);
  opacity: .7; transition: opacity .2s, border-color .2s;
}
.thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.thumbnail:hover, .thumbnail.is-active { opacity: 1; border-color: var(--ink); }

.product-title { font-size: clamp(2rem, 4.5vw, 2.9rem); }
.product-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-top: 12px; font-size: 1.4rem; }
.product-price .badge { position: static; align-self: center; }
.price-from { width: 100%; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-description { margin-top: 20px; color: var(--ink-2); }
.product-meta { margin-top: 14px; font-size: .9375rem; }
.product-meta span { color: var(--muted); margin-right: 6px; }

.buy-box { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.option { margin-bottom: 22px; }
.option--row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.option__label { margin-bottom: 10px; font-size: .75rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; }
.option__value { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 400; font-size: .875rem; }
.option__hint { color: var(--muted); font-size: .875rem; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-chip {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 56px; min-height: 46px; padding: 6px 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: .9375rem; line-height: 1.2; transition: border-color .15s, background-color .15s, color .15s;
}
.size-chip small { font-size: .6875rem; color: var(--muted); }
.size-chip:hover:not(:disabled) { border-color: var(--ink); }
.size-chip.is-selected { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.size-chip.is-selected small { color: rgba(250, 247, 242, .75); }
.size-chip:disabled { cursor: not-allowed; color: var(--muted); text-decoration: line-through; background: var(--sand); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.qty__btn { width: 44px; height: 46px; border: 0; background: none; font-size: 1.2rem; }
.qty__btn:hover { background: var(--sand); }
.qty input {
  width: 52px; height: 46px; border: 0; text-align: center; background: none; font-size: 1rem;
  -moz-appearance: textfield; appearance: textfield;
}
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:disabled { color: var(--muted); }
.stock-info { font-size: .875rem; color: var(--success); padding-bottom: 12px; }
.stock-info.is-low { color: var(--sale); }
.variant-price { font-size: .875rem; color: var(--muted); margin-bottom: 20px; }
.variant-price strong { color: var(--ink); font-weight: 500; }
.variant-price .price-now--sale { color: var(--sale); }

.selected-variants { margin-bottom: 20px; }
.selected-list { list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.selected-list li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 14px; }
.selected-list li + li { border-top: 1px solid var(--line); }
.selected-list__swatch, .dot {
  display: inline-block; flex-shrink: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--swatch, #ccc); border: 1px solid rgba(31, 27, 23, .2); vertical-align: middle;
}
.selected-list__text { flex: 1; font-size: .9375rem; }
.selected-list__total { font-weight: 500; }

.buy-actions { display: grid; gap: 10px; justify-items: center; }
.wa-order { margin-top: 14px; }
.wa-order .icon { color: #1f9e55; }
.wa-order:hover .icon { color: inherit; }
.notice { margin-top: 24px; padding: 16px; background: var(--sand); border-radius: var(--radius); }
.product-perks { list-style: none; display: grid; gap: 10px; margin: 24px 0; padding: 18px 0; border-block: 1px solid var(--line); font-size: .9375rem; color: var(--ink-2); }
.product-perks li { display: flex; align-items: center; gap: 10px; }
.product-perks .icon { color: var(--accent); }

/* Mobile: keep the buy button reachable */
@media (max-width: 899px) {
  .buy-actions {
    position: sticky; bottom: 0; z-index: 5;
    margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(250, 247, 242, .96); border-top: 1px solid var(--line);
  }
  .page-product .whatsapp-float { bottom: 104px; }
}

/* ---------- Lightbox & modal ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px;
  background: rgba(20, 16, 12, .92); animation: fade-in .2s ease;
}
.lightbox img { max-width: 100%; max-height: 92dvh; object-fit: contain; border-radius: var(--radius); }
.lightbox__close { position: absolute; top: 12px; right: 12px; color: #fff; background: rgba(255, 255, 255, .12); }
.lightbox__close:hover { background: rgba(255, 255, 255, .25); }
.modal {
  position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 16px;
  background: rgba(31, 27, 23, .5); animation: fade-in .2s ease;
}
.modal__dialog {
  width: min(100%, 420px); padding: 32px 28px; text-align: center;
  background: var(--bg); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  animation: pop .25s var(--ease);
}
@keyframes pop { from { transform: translateY(8px) scale(.98); opacity: 0; } }
.modal__dialog h3 { font-family: var(--font-display); font-size: 1.9rem; }
.modal__dialog p { margin-top: 8px; color: var(--muted); }
.modal__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.modal__actions .btn { padding-inline: 12px; letter-spacing: .08em; }
.modal__actions > :only-child, .modal__actions > [hidden] + .btn, .modal__actions > .btn:has(+ [hidden]) { grid-column: 1 / -1; }

/* ---------- Cart ---------- */
.cart-page { padding-block: 32px var(--section-y); }
.cart-layout { display: grid; gap: 28px; }
.cart-items { list-style: none; border-top: 1px solid var(--line); }
.cart-item {
  display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 4px 16px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.cart-item__img { grid-row: span 2; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-sm); background: var(--sand); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__img img.is-placeholder { object-fit: contain; padding: 20%; opacity: .5; }
.cart-item__title { display: block; font-weight: 500; text-decoration: none; line-height: 1.35; }
.cart-item__title:hover { text-decoration: underline; }
.cart-item__variant { display: flex; align-items: center; gap: 8px; margin-top: 4px; color: var(--muted); font-size: .875rem; }
.cart-item__unit { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; font-size: .875rem; }
.cart-item__end { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cart-item__total { font-weight: 500; }
.remove-btn { color: var(--muted); }
@media (min-width: 640px) {
  .cart-item { grid-template-columns: 110px minmax(0, 1fr) auto; align-items: center; }
  .cart-item__img { grid-row: auto; }
  .cart-item__end { flex-direction: column; align-items: flex-end; }
}
.summary { padding: 24px; }
.summary h2 { font-size: 1.7rem; margin-bottom: 16px; }
.summary dl { margin: 0 0 20px; }
.summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 500; text-align: right; }
.summary__total { margin-top: 8px; padding-top: 16px !important; border-top: 1px solid var(--line); font-size: 1.15rem; }
.summary__total dt { color: var(--ink); }
.summary .btn + .btn { margin-top: 10px; }
.summary__perks { list-style: none; display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .875rem; color: var(--muted); }
.summary__perks li { display: flex; align-items: center; gap: 8px; }
.summary__perks .icon { width: 18px; height: 18px; color: var(--accent); }
@media (min-width: 960px) {
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
  .summary { position: sticky; top: calc(var(--header-h) + 20px); }
}

/* ---------- Checkout ---------- */
.checkout-page { padding-block: 28px var(--section-y); }
.checkout-head { margin-bottom: 24px; }
.checkout-head h1 { font-size: clamp(2.4rem, 5vw, 3.4rem); margin-top: 8px; }
.checkout-layout { display: grid; gap: 24px; }
.checkout-success { max-width: 560px; margin: 32px auto; padding: 48px 28px; text-align: center; }
.checkout-success__icon {
  display: inline-grid; place-items: center; width: 64px; height: 64px; margin-bottom: 16px;
  border-radius: 50%; background: var(--success); color: #fff;
}
.checkout-success__icon .icon { width: 30px; height: 30px; }
.checkout-success h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.checkout-success p { margin: 12px 0 28px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(250, 247, 242, .75); padding-top: clamp(48px, 7vw, 80px); font-size: .9375rem; }
.site-footer__grid { display: grid; gap: 36px; padding-bottom: 40px; }
.footer-logo { width: auto; height: 60px; margin-bottom: 16px; }
.footer-brand p { max-width: 34ch; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-socials a {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(250, 247, 242, .25); color: var(--on-dark); transition: background-color .2s, color .2s;
}
.footer-socials a:hover { background: var(--on-dark); color: var(--ink); }
.footer-socials .icon { width: 18px; height: 18px; }
.footer-col h2 {
  margin-bottom: 16px; font-family: var(--font-body); font-size: .75rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark);
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--sand-2); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px;
  padding-block: 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(250, 247, 242, .12); font-size: .8125rem; color: rgba(250, 247, 242, .55);
}
.footer-bottom a { color: var(--on-dark); text-decoration: none; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 48px; } }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 800;
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  background: #1f9e55; color: #fff; box-shadow: 0 8px 24px -6px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.06); }
.whatsapp-float .icon { width: 28px; height: 28px; }
body.no-scroll .whatsapp-float { display: none; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero__alt { display: none; }
}
