/* =========================================================
   Micheal Armenian Souvenir Shop — Storefront
   Display: Cormorant Garamond · Body: Jost
   Palette: Jerusalem stone, olive, terracotta, Armenian cobalt
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Jost:wght@400;500;600&display=swap');

:root {
  --stone: #F4EEE3;
  --stone-2: #EAE1D0;
  --stone-3: #DCCFB8;
  --paper: #FCFAF6;
  --ink: #1E1C16;
  --ink-soft: #5A5444;
  --ink-mute: #8A8270;
  --olive: #3B4220;
  --olive-2: #565F2D;
  --olive-tint: #E4E4CF;
  --copper: #A5532A;
  --copper-2: #8A4320;
  --cobalt: #1E4C8A;
  --gold: #B48C3C;
  --danger: #A12C2C;
  --success: #3C6B2F;
  --line: #DDD2BE;

  --f-display: 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --f-body: 'Jost', 'Avenir Next', 'Segoe UI', sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 22px;
  --arch: 999px 999px var(--r-md) var(--r-md);

  --shadow-sm: 0 1px 2px rgba(30, 28, 22, .06), 0 2px 8px rgba(30, 28, 22, .05);
  --shadow-md: 0 10px 30px -12px rgba(30, 28, 22, .25);
  --shadow-lg: 0 30px 60px -25px rgba(30, 28, 22, .35);

  --wrap: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16.5px;
  color: var(--ink);
  background: var(--stone);
  line-height: 1.65;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
main { flex: 1; }
img, svg { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }
a { color: var(--copper); text-decoration: none; transition: color .2s; }
a:hover { color: var(--copper-2); }
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 600;
  color: var(--olive);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }
::selection { background: var(--olive); color: var(--stone); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--olive); color: var(--stone); padding: .7rem 1.1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; color: var(--stone); }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--copper);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }
.muted { color: var(--ink-mute); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--olive); --fg: var(--stone); --bd: var(--olive);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.6rem;
  font-family: var(--f-body); font-size: .9rem; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
  color: var(--fg); background: var(--bg); border: 1px solid var(--bd); border-radius: 999px;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease), box-shadow .25s;
}
.btn:hover { --bg: var(--olive-2); --bd: var(--olive-2); color: var(--fg); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-copper { --bg: var(--copper); --bd: var(--copper); --fg: #fff; }
.btn-copper:hover { --bg: var(--copper-2); --bd: var(--copper-2); }
.btn-ghost { --bg: transparent; --fg: var(--olive); --bd: var(--olive); }
.btn-ghost:hover { --bg: var(--olive); --fg: var(--stone); }
.btn-light { --bg: var(--stone); --fg: var(--olive); --bd: var(--stone); }
.btn-light:hover { --bg: #fff; --bd: #fff; --fg: var(--olive); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: .78rem; }
.link-arrow { font-weight: 500; display: inline-flex; gap: .4rem; align-items: center; }
.link-arrow::after { content: '→'; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- Announcement & Header ---------- */
.announce {
  background: var(--olive); color: var(--stone-2);
  font-size: .8rem; letter-spacing: .08em; text-align: center; padding: .55rem 1rem;
}
.announce:empty { display: none; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(244, 238, 227, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.4); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--olive); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--olive); }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-display); font-size: 1.55rem; font-weight: 700; letter-spacing: .01em; }
.brand-sub { font-size: .62rem; letter-spacing: .28em; text-transform: uppercase; color: var(--copper); margin-top: .3rem; }

.main-nav .nav-list { display: flex; gap: 2rem; align-items: center; }
.main-nav a {
  position: relative; color: var(--ink); font-size: .9rem; font-weight: 500; letter-spacing: .04em; padding: .4rem 0;
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--copper);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--olive); }

.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 50%; border: 0; background: transparent; color: var(--olive); cursor: pointer;
  transition: background .2s;
}
.icon-btn:hover { background: var(--stone-2); color: var(--olive); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 99px;
  background: var(--copper); color: #fff; font-size: .68rem; font-weight: 600;
  transform: scale(0); transition: transform .3s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

.nav-toggle { display: none; }
.nav-close, .nav-backdrop { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 200;
    background: var(--paper); padding: 5rem 2rem 2rem;
    transform: translateX(100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    box-shadow: var(--shadow-lg);
  }
  body.nav-open .main-nav { visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  .main-nav .nav-list { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .main-nav a { font-family: var(--f-display); font-size: 1.8rem; font-weight: 600; letter-spacing: 0; }
  .nav-close {
    display: grid; place-items: center; position: absolute; top: 1.1rem; right: 1.1rem;
    width: 44px; height: 44px; font-size: 1.8rem; border: 0; background: none; cursor: pointer; color: var(--olive);
  }
  .nav-backdrop {
    display: block; position: fixed; inset: 0; z-index: 150; background: rgba(30,28,22,.4);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  body.nav-open { overflow: hidden; }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-paper { background: var(--paper); }
.section-olive { background: var(--olive); color: var(--stone-2); }
.section-olive h2, .section-olive h3 { color: var(--stone); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.section-head p { margin: .6rem 0 0; color: var(--ink-soft); max-width: 52ch; }

/* Eight-point star motif (Old City geometry) */
.motif-bg {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 64 64'%3E%3Cg fill='none' stroke='%233B4220' stroke-opacity='.07' stroke-width='1'%3E%3Crect x='20' y='20' width='24' height='24'/%3E%3Crect x='20' y='20' width='24' height='24' transform='rotate(45 32 32)'/%3E%3C/g%3E%3C/svg%3E");
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { font-size: clamp(2.9rem, 7vw, 5.6rem); line-height: .98; margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--copper); font-weight: 500; }
.hero .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-meta { display: flex; gap: 2.5rem; margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: var(--f-display); font-size: 2rem; color: var(--olive); line-height: 1; }
.hero-meta span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); margin-top: .35rem; }

.hero-art { position: relative; justify-self: center; width: min(100%, 470px); }
.hero-arch {
  aspect-ratio: 4 / 5; border-radius: 999px 999px 18px 18px; overflow: hidden;
  background: linear-gradient(180deg, #E9C9A0 0%, #E3B788 45%, #C98A55 100%);
  box-shadow: var(--shadow-lg); position: relative;
}
.hero-arch svg { position: absolute; inset: 0; width: 100%; height: 100%; }
/* Home page photo (from admin) or featured product photos, cross-fading over the illustration */
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; }
.hero-photo.is-on { opacity: 1; }
.hero-arch.has-photo::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(30,22,12,.45) 100%); }
.hero-feature {
  position: absolute; left: 18px; right: 18px; bottom: 18px; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: .8rem;
  padding: .8rem 1rem; border-radius: 14px; background: rgba(250, 246, 238, .94); color: var(--ink); text-decoration: none;
  box-shadow: 0 10px 30px rgba(30, 22, 12, .18); backdrop-filter: blur(6px); transition: transform .25s, opacity .4s;
}
.hero-feature:hover { transform: translateY(-2px); }
.hero-feature small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--copper); }
.hero-feature strong { display: block; font-family: var(--f-display); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.hero-feature .hf-price { white-space: nowrap; font-weight: 500; color: var(--olive); }
.hero-feature .hf-price del { color: var(--ink-mute); font-size: .85em; margin-left: .3rem; }
.hero-feature.is-fading { opacity: 0; }
/* With a product caption at the bottom of the arch, the delivery card moves up. */
.hero-art.has-feature .hero-badge { bottom: auto; top: 72px; }
.hero-arch-frame {
  position: absolute; inset: -14px; border: 1px solid var(--gold); border-radius: 999px 999px 26px 26px;
  pointer-events: none; opacity: .7;
}
.hero-badge {
  position: absolute; left: -28px; bottom: 54px; background: var(--paper); border-radius: var(--r-md);
  padding: 1rem 1.2rem; box-shadow: var(--shadow-md); display: flex; gap: .8rem; align-items: center; max-width: 250px;
}
.hero-badge .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--olive-tint); display: grid; place-items: center; color: var(--olive); flex-shrink: 0; }
.hero-badge strong { display: block; font-size: .92rem; }
.hero-badge span { font-size: .78rem; color: var(--ink-mute); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { width: min(100%, 360px); order: -1; }
  .hero-badge { left: -8px; }
  .hero-art.has-feature .hero-badge { top: 40px; }
}

/* Page hero (inner pages) */
.page-hero { padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: .8rem; }
.breadcrumbs { font-size: .82rem; color: var(--ink-mute); margin-bottom: 1.2rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs span[aria-hidden] { color: var(--stone-3); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.rise { animation: rise 1s var(--ease) both; }
.rise-2 { animation-delay: .12s; } .rise-3 { animation-delay: .24s; } .rise-4 { animation-delay: .36s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Category tiles ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.4rem; }
.cat-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 300px; padding: 1.6rem; border-radius: var(--arch); overflow: hidden;
  color: var(--stone); text-decoration: none; isolation: isolate;
  background: var(--olive);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat-tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--tile-img, none) center / cover, var(--tile-bg, var(--olive));
  transition: transform .8s var(--ease);
}
.cat-tile::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(20,18,12,.72)); }
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--stone); }
.cat-tile:hover::before { transform: scale(1.06); }
.cat-tile h3 { color: #fff; font-size: 1.75rem; margin: 0 0 .2rem; }
.cat-tile span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.cat-tile .cat-icon { position: absolute; top: 50%; left: 50%; width: 46%; transform: translate(-50%, -62%); opacity: .9; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 2.4rem 1.6rem; }
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .media {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden;
  background: var(--stone-2);
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease), opacity .5s; }
.product-card .media img + img { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .media img { transform: scale(1.05); }
.product-card:hover .media img + img { opacity: 1; }
.product-card .quick-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  opacity: 0; transform: translateY(10px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.product-card:hover .quick-add, .product-card:focus-within .quick-add { opacity: 1; transform: none; }
@media (hover: none) { .product-card .quick-add { display: none; } }
.product-card .badges { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: .35rem; z-index: 2; }
.badge {
  display: inline-block; padding: .28rem .7rem; border-radius: 99px;
  font-size: .66rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: var(--paper); color: var(--olive);
}
.badge-sale { background: var(--cobalt); color: #fff; }
.badge-out { background: var(--ink); color: var(--stone); }
.badge-new { background: var(--copper); color: #fff; }
.product-card .info { padding: 1.1rem .3rem 0; text-align: center; }
.product-card .cat { font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-mute); }
.product-card h3 { font-size: 1.35rem; margin: .3rem 0 .4rem; }
.product-card h3 a { color: var(--ink); }
.product-card h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.product-card .quick-add { z-index: 3; }
.price { font-weight: 500; color: var(--olive); display: inline-flex; gap: .55rem; align-items: baseline; justify-content: center; flex-wrap: wrap; }
.price del { color: var(--ink-mute); font-weight: 400; font-size: .9em; }
.price .from { font-size: .78em; color: var(--ink-mute); font-weight: 400; }

/* Skeletons */
.skeleton { background: linear-gradient(90deg, var(--stone-2) 0%, var(--stone) 50%, var(--stone-2) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; border-radius: var(--r-sm); }
@keyframes shimmer { to { background-position: -200% 0; } }
.product-card.is-skeleton .media { animation: shimmer 1.4s infinite; background: linear-gradient(90deg, var(--stone-2) 0%, var(--stone) 50%, var(--stone-2) 100%); background-size: 200% 100%; }
.product-card.is-skeleton .info span { display: block; height: 14px; margin: .6rem auto; width: 60%; }

/* ---------- Shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 3rem; align-items: start; }
.shop-sidebar { position: sticky; top: calc(var(--header-h) + 1.5rem); }
.filter-block { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.filter-block h3 { font-family: var(--f-body); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin-bottom: 1rem; }
.cat-tree a {
  display: flex; justify-content: space-between; align-items: center; padding: .38rem .7rem; margin: 0 -.7rem;
  border-radius: var(--r-sm); color: var(--ink); font-size: .95rem;
}
.cat-tree a:hover { background: var(--stone-2); color: var(--ink); }
.cat-tree a.is-active { background: var(--olive); color: var(--stone); }
.cat-tree a small { color: var(--ink-mute); font-size: .75rem; }
.cat-tree a.is-active small { color: var(--stone-3); }
.cat-tree ul { padding-left: .9rem !important; border-left: 1px solid var(--line); margin: .2rem 0 .4rem .3rem !important; }
.cat-tree ul a { font-size: .88rem; color: var(--ink-soft); }
.price-range { display: flex; gap: .6rem; align-items: center; }
.price-range input { width: 100%; }
.check-row { display: flex; align-items: center; gap: .6rem; font-size: .92rem; cursor: pointer; margin-bottom: .5rem; }
.check-row input { accent-color: var(--olive); width: 17px; height: 17px; }

.shop-toolbar { display: flex; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; }
.shop-toolbar .count { color: var(--ink-mute); font-size: .9rem; }
.toolbar-right { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.search-field { position: relative; }
.search-field svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 17px; color: var(--ink-mute); pointer-events: none; }
.search-field input { padding-left: 2.6rem !important; min-width: 240px; }
.filters-toggle { display: none; }
.active-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin: -1rem 0 1.6rem; }
.chip {
  display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .4rem .3rem .85rem; border-radius: 99px;
  background: var(--olive-tint); color: var(--olive); font-size: .82rem; border: 0; cursor: pointer;
}
.chip b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(59,66,32,.12); font-weight: 400; }
.empty-state { text-align: center; padding: 4rem 1rem; color: var(--ink-soft); grid-column: 1 / -1; }
.empty-state h3 { margin-bottom: .4rem; }

@media (max-width: 960px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters-toggle { display: inline-flex; }
  .shop-sidebar {
    position: fixed; inset: 0 auto 0 0; width: min(330px, 88vw); z-index: 210; background: var(--paper);
    padding: 1.5rem; overflow-y: auto; transform: translateX(-100%); visibility: hidden;
    transition: transform .4s var(--ease), visibility 0s linear .4s;
    box-shadow: var(--shadow-lg);
  }
  body.filters-open .shop-sidebar { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
  body.filters-open .nav-backdrop { opacity: 1; pointer-events: auto; display: block; }
  .search-field input { min-width: 0; width: 100%; }
  .toolbar-right { width: 100%; }
  .toolbar-right .search-field { flex: 1; }
}
.sidebar-head { display: none; }
@media (max-width: 960px) { .sidebar-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; } .sidebar-head h2 { font-size: 1.8rem; margin: 0; } }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .4rem; margin-bottom: 1.1rem; }
.field label, .label { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.field .hint { font-size: .8rem; color: var(--ink-mute); }
.input, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], input[type="password"], input[type="url"], select, textarea {
  width: 100%; min-height: 48px; padding: .7rem 1rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-sm);
  transition: border-color .2s, box-shadow .2s;
  font-size: 1rem;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
select {
  appearance: none; padding-right: 2.4rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A5444' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--olive); box-shadow: 0 0 0 3px rgba(59,66,32,.14); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-error { background: #F6E3E0; color: var(--danger); padding: .8rem 1rem; border-radius: var(--r-sm); font-size: .92rem; margin-bottom: 1rem; }
.form-success { background: #E3EDDC; color: var(--success); padding: .8rem 1rem; border-radius: var(--r-sm); font-size: .92rem; margin-bottom: 1rem; }
.form-error:empty, .form-success:empty { display: none; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; padding-top: 2rem; }
.gallery { display: grid; grid-template-columns: 82px 1fr; gap: 1rem; position: sticky; top: calc(var(--header-h) + 1.5rem); }
.gallery-main { aspect-ratio: 4 / 5; border-radius: var(--arch); overflow: hidden; background: var(--stone-2); grid-column: 2; grid-row: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; animation: fadein .5s var(--ease); }
@keyframes fadein { from { opacity: 0; } }
.gallery-thumbs { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; gap: .7rem; }
.gallery-thumbs button {
  padding: 0; border: 1px solid transparent; border-radius: var(--r-sm); overflow: hidden; aspect-ratio: 1; cursor: pointer;
  background: var(--stone-2); opacity: .6; transition: opacity .2s, border-color .2s;
}
.gallery-thumbs button[aria-current="true"], .gallery-thumbs button:hover { opacity: 1; border-color: var(--olive); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery.single { grid-template-columns: 1fr; }
.gallery.single .gallery-main { grid-column: 1; }
.gallery.single .gallery-thumbs { display: none; }

.pdp-info h1 { font-size: clamp(2.3rem, 4.5vw, 3.4rem); margin: .4rem 0 1rem; }
.pdp-price { font-size: 1.6rem; margin-bottom: 1.4rem; justify-content: flex-start; }
.pdp-short { font-size: 1.08rem; color: var(--ink-soft); margin-bottom: 2rem; }
.option-group { margin-bottom: 1.6rem; }
.option-group .label { display: block; margin-bottom: .7rem; }
.option-group .label b { color: var(--ink); text-transform: none; letter-spacing: 0; font-weight: 500; }
.swatches { display: flex; flex-wrap: wrap; gap: .55rem; }
.swatch {
  min-height: 46px; padding: .55rem 1.1rem; border: 1px solid var(--line); border-radius: 99px;
  background: var(--paper); cursor: pointer; font-size: .92rem; transition: all .2s;
}
.swatch:hover { border-color: var(--olive); }
.swatch[aria-checked="true"] { background: var(--olive); color: var(--stone); border-color: var(--olive); }
.swatch:disabled { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.buy-row { display: flex; gap: .8rem; margin-bottom: 1rem; }
.buy-row .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; background: var(--paper); height: 50px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 1.2rem; color: var(--olive); }
.qty input { width: 40px; border: 0 !important; background: none !important; text-align: center; padding: 0 !important; min-height: 0 !important; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty.sm { height: 38px; } .qty.sm button { width: 32px; } .qty.sm input { width: 30px; }
.variant-details { margin: .6rem 0 0; font-size: .92rem; color: var(--ink-soft, #5a5146); font-style: italic; }
.stock-note { font-size: .88rem; color: var(--ink-mute); margin-bottom: 2rem; display: flex; align-items: center; gap: .5rem; }
.stock-note::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--success); }
.stock-note.low::before { background: var(--gold); }
.stock-note.out::before { background: var(--danger); }
.assurances { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; padding: 1.4rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 2rem; }
.assurances div { font-size: .8rem; color: var(--ink-soft); display: flex; flex-direction: column; align-items: center; text-align: center; gap: .4rem; }
.assurances svg { width: 24px; height: 24px; color: var(--copper); }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 40%; font-weight: 500; color: var(--ink-mute); }
details.accordion { border-bottom: 1px solid var(--line); }
details.accordion summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-family: var(--f-display); font-size: 1.35rem; font-weight: 600; color: var(--olive); display: flex; justify-content: space-between; align-items: center; }
details.accordion summary::-webkit-details-marker { display: none; }
details.accordion summary::after { content: '+'; font-family: var(--f-body); font-weight: 300; font-size: 1.6rem; transition: transform .3s; }
details.accordion[open] summary::after { transform: rotate(45deg); }
details.accordion .acc-body { padding-bottom: 1.4rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .pdp { grid-template-columns: 1fr; padding-top: 1rem; }
  .gallery { position: static; grid-template-columns: 1fr; }
  .gallery-main { grid-column: 1; }
  .gallery-thumbs { grid-column: 1; grid-row: 2; flex-direction: row; overflow-x: auto; }
  .gallery-thumbs button { width: 70px; flex-shrink: 0; }
}

/* ---------- Cart ---------- */
.cart-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.cart-lines { border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.2rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line .thumb { aspect-ratio: 4/5; border-radius: 999px 999px 6px 6px; overflow: hidden; background: var(--stone-2); }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { font-size: 1.25rem; margin: 0 0 .15rem; }
.cart-line h3 a { color: var(--ink); }
.cart-line .meta { font-size: .85rem; color: var(--ink-mute); margin-bottom: .6rem; }
.cart-line .line-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.cart-line .line-total { font-weight: 600; color: var(--olive); }
.remove-btn { border: 0; background: none; color: var(--ink-mute); font-size: .8rem; text-decoration: underline; cursor: pointer; padding: 0; }
.remove-btn:hover { color: var(--danger); }
.summary-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.2rem); box-shadow: var(--shadow-sm); position: sticky; top: calc(var(--header-h) + 1.5rem); }
.summary-card h2 { font-size: 2rem; }
.summary-rows { margin: 1.4rem 0; }
.summary-rows div { display: flex; justify-content: space-between; padding: .45rem 0; color: var(--ink-soft); }
.summary-rows .total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: 1rem; font-size: 1.25rem; color: var(--ink); font-weight: 600; }
.free-ship-bar { background: var(--olive-tint); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .86rem; color: var(--olive); margin-bottom: 1.4rem; }
.free-ship-bar .track { height: 4px; border-radius: 4px; background: rgba(59,66,32,.15); margin-top: .5rem; overflow: hidden; }
.free-ship-bar .track i { display: block; height: 100%; background: var(--olive); transition: width .6s var(--ease); }
.secure-note { display: flex; gap: .5rem; align-items: center; justify-content: center; font-size: .8rem; color: var(--ink-mute); margin-top: 1rem; }
.secure-note svg { width: 15px; }
.checkout-section h3 { font-family: var(--f-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin: 1.8rem 0 1rem; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } .summary-card { position: static; } }
@media (max-width: 520px) { .cart-line { grid-template-columns: 76px 1fr; } .cart-line .line-right { grid-column: 2; flex-direction: row; justify-content: space-between; align-items: center; width: 100%; } }

/* ---------- Toast ---------- */
.toast-wrap { position: fixed; bottom: 1.4rem; left: 50%; transform: translateX(-50%); z-index: 500; display: flex; flex-direction: column; gap: .5rem; width: min(440px, calc(100vw - 32px)); }
.toast {
  display: flex; align-items: center; gap: .9rem; background: var(--ink); color: var(--stone);
  padding: .9rem 1rem .9rem 1.2rem; border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  animation: toastin .45s var(--ease) both; font-size: .92rem;
}
.toast a { color: #F0C9A6; font-weight: 500; margin-left: auto; white-space: nowrap; }
.toast.is-out { animation: toastout .35s var(--ease) forwards; }
.toast.error { background: var(--danger); }
@keyframes toastin { from { opacity: 0; transform: translateY(16px) scale(.97); } }
@keyframes toastout { to { opacity: 0; transform: translateY(12px); } }

/* ---------- Feature strip / story ---------- */
.feature-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.feature { display: flex; flex-direction: column; gap: .6rem; }
.feature svg { width: 34px; height: 34px; color: var(--copper); }
.feature h3 { font-size: 1.35rem; margin: .3rem 0 0; }
.feature p { font-size: .94rem; color: var(--ink-soft); margin: 0; }
.section-olive .feature p { color: var(--stone-3); }
.section-olive .feature svg { color: #E2A877; }
@media (max-width: 900px) { .feature-strip { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .feature-strip { grid-template-columns: 1fr; } }

.story { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.story-art { aspect-ratio: 1; border-radius: 50%; background: var(--olive); position: relative; overflow: hidden; max-width: 480px; width: 100%; justify-self: center; }
.story-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.story blockquote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.5rem, 2.8vw, 2.1rem); line-height: 1.3; color: var(--olive); margin: 0 0 1.6rem; padding-left: 1.4rem; border-left: 2px solid var(--copper); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } }

.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 18ch; margin: 0 auto 1rem; }
.cta-band p { max-width: 50ch; margin: 0 auto 2rem; }
.cta-buttons { display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Info pages ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 2.1rem; margin-top: 2.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.4rem, 3vw, 2.4rem); box-shadow: var(--shadow-sm); }
.contact-list li { display: flex; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: center; }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic { width: 42px; height: 42px; border-radius: 50%; background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; flex-shrink: 0; }
.contact-list .ic svg { width: 19px; }
.contact-list small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); }
.rate-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; background: var(--paper); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.rate-table th, .rate-table td { padding: .9rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); }
.rate-table th { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; background: var(--stone-2); }
.rate-table tr:last-child td { border-bottom: 0; }
.table-scroll { overflow-x: auto; }
.map-embed { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); background: var(--stone-2); }
.hours-list li { display: flex; justify-content: space-between; padding: .55rem 0; border-bottom: 1px dashed var(--line); }

/* ---------- Footer ---------- */
.site-footer { background: #1D1F12; color: #B9B49F; padding: clamp(3.5rem, 7vw, 5.5rem) 0 1.5rem; margin-top: auto; }
.site-footer a { color: #DCD6C1; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer-brand .brand-name { color: var(--stone); font-size: 2rem; }
.footer-brand p { font-size: .94rem; max-width: 34ch; margin-top: 1rem; }
.site-footer h3 { font-family: var(--f-body); font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; color: #8E8A73; font-weight: 600; margin-bottom: 1.1rem; }
.site-footer li { margin-bottom: .55rem; font-size: .94rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #7E7A66; }
.pay-icons { display: flex; gap: .5rem; align-items: center; }
.pay-icons span { border: 1px solid rgba(255,255,255,.14); border-radius: 4px; padding: .15rem .5rem; font-size: .7rem; letter-spacing: .06em; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* WhatsApp float */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px -8px rgba(0,0,0,.4);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Success page */
.success-mark { width: 84px; height: 84px; border-radius: 50%; background: var(--olive-tint); color: var(--olive); display: grid; place-items: center; margin: 0 auto 1.6rem; }
.success-mark svg { width: 40px; }
.center { text-align: center; }
.spinner { width: 22px; height: 22px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Small screens: two-up grids ---------- */
@media (max-width: 600px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .cat-tile { min-height: 210px; padding: 1rem; }
  .cat-tile h3 { font-size: 1.25rem; }
  .cat-tile span { font-size: .66rem; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 1.6rem .8rem; }
  .product-card h3 { font-size: 1.1rem; }
  .product-card .info { padding-top: .7rem; }
  .product-card .cat { font-size: .6rem; letter-spacing: .12em; }
  .price { font-size: .92rem; }
  .hero-meta { gap: 1.4rem; }
  .assurances { grid-template-columns: 1fr 1fr 1fr; gap: .4rem; }
  .section-head { margin-bottom: 1.8rem; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.3rem; white-space: nowrap; }
  .brand-sub { white-space: nowrap; letter-spacing: .18em; }
  .brand-mark { width: 34px; height: 34px; }
  .header-inner { gap: .6rem; }
  .icon-btn { width: 40px; height: 40px; }
  .toolbar-right .search-field { flex: 1 1 100%; order: -1; }
  .toolbar-right select, .toolbar-right .filters-toggle { flex: 1; }
}

/* ---------- Shipping options (cart + calculator) ---------- */
.ship-methods, .ship-results { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.2rem; }
.ship-option {
  display: flex; align-items: center; gap: .9rem; padding: .95rem 1.1rem; border: 1px solid var(--line);
  border-radius: var(--r-md); background: var(--paper); cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.ship-option:hover { border-color: var(--olive-2); }
.ship-option:has(input:checked) { border-color: var(--olive); box-shadow: 0 0 0 2px rgba(59,66,32,.18); }
.ship-option input { accent-color: var(--olive); width: 18px; height: 18px; flex-shrink: 0; margin: 0; }
.ship-option .so-main { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.ship-option .so-main strong { font-weight: 500; }
.ship-option .so-main small { color: var(--ink-mute); font-size: .84rem; }
.ship-option .so-price { font-weight: 600; color: var(--olive); white-space: nowrap; }
.ship-option.is-disabled { opacity: .55; cursor: not-allowed; background: transparent; }
.ship-results .ship-option { cursor: default; }
.pdp-ship { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-bottom: .8rem; }
.pdp-ship select { width: auto; min-height: 40px; padding-top: .4rem; padding-bottom: .4rem; font-size: .9rem; }

/* ---------- Accounts & order tracking ---------- */
.admin-callout { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; background: var(--olive); color: var(--stone); border-radius: var(--r-lg); padding: 1.2rem 1.4rem; margin-bottom: 1.6rem; }
.admin-callout .muted { color: var(--stone-3); }
.admin-callout .btn { --bg: var(--copper); --bd: var(--copper); --fg: #fff; }
.main-nav a.admin-nav-link { color: var(--copper); font-weight: 600; }
.icon-btn .account-dot { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 2px var(--stone); transform: scale(0); transition: transform .3s var(--ease); }
.icon-btn.is-signed-in .account-dot { transform: scale(1); }
.linkish { background: none; border: 0; padding: 0; color: var(--copper); cursor: pointer; font: inherit; text-decoration: underline; text-underline-offset: 3px; }
.auth-grid { display: grid; grid-template-columns: minmax(0, 460px) 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 820px) { .auth-grid { grid-template-columns: 1fr; } }
.tabs { display: flex; gap: .4rem; align-items: center; border-bottom: 1px solid var(--line); margin-bottom: 1.4rem; flex-wrap: wrap; }
.tabs [role="tab"] { background: none; border: 0; border-bottom: 2px solid transparent; padding: .7rem .9rem; margin-bottom: -1px; cursor: pointer; font-weight: 500; color: var(--ink-mute); }
.tabs [role="tab"][aria-selected="true"] { color: var(--olive); border-bottom-color: var(--copper); }
.account-note { font-size: .92rem; color: var(--ink-soft); background: var(--olive-tint); border-radius: var(--r-sm); padding: .7rem 1rem; margin: 0 0 .4rem; }
.account-note:empty { display: none; }
.order-card { background: var(--paper); border-radius: var(--r-lg); padding: clamp(1.2rem, 3vw, 1.8rem); box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; }
.order-card header { display: flex; justify-content: space-between; align-items: start; gap: 1rem; margin-bottom: 1.2rem; }
.order-card h3 { font-size: 1.5rem; margin: 0 0 .2rem; }
.order-card header strong { font-size: 1.2rem; color: var(--olive); }
.order-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: .4rem; margin: 0 0 1.2rem !important; counter-reset: s; }
.order-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: .4rem; font-size: .8rem; color: var(--ink-mute); text-align: center; }
.order-steps li span { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--stone-3); background: var(--paper); z-index: 1; }
.order-steps li::before { content: ''; position: absolute; top: 10px; left: -50%; width: 100%; height: 2px; background: var(--stone-3); }
.order-steps li:first-child::before { display: none; }
.order-steps li.done { color: var(--olive); font-weight: 500; }
.order-steps li.done span { background: var(--olive); border-color: var(--olive); }
.order-steps li.done::before { background: var(--olive); }
.order-steps li.current span { box-shadow: 0 0 0 4px rgba(59,66,32,.18); }
.order-flag { background: var(--stone-2); border-radius: var(--r-sm); padding: .7rem 1rem; font-size: .92rem; }
.order-tracking { background: var(--olive-tint); border-radius: var(--r-sm); padding: .8rem 1rem; font-size: .92rem; }
.order-tracking code { font-size: 1rem; letter-spacing: .04em; }
.order-items { border-top: 1px solid var(--line); padding-top: .6rem !important; }
.order-items li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; font-size: .94rem; }
.social-links { margin-top: 1rem; font-size: .9rem; }
.social-links:empty { display: none; }
@media (max-width: 480px) { .brand-name { font-size: 1.15rem; } .header-actions .icon-btn { width: 36px; } }
@media (max-width: 480px) {
  .header-actions { gap: 0; flex-shrink: 0; }
  .header-actions a[href="shop.html#search"] { display: none; }
  .brand { min-width: 0; }
  .brand-text { min-width: 0; }
  .brand-name { overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Jerusalem backdrop: limestone ashlar + Old City skyline ---------- */
body { background: var(--stone) url("img/stone.svg") repeat; }
.section-paper { background-color: rgba(252, 250, 246, .92); }
.motif-bg { background-image: none; }
.hero, .page-hero { position: relative; isolation: isolate; }
.hero::after, .page-hero::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: -1; pointer-events: none;
  background: url("img/skyline.svg") center bottom / auto 100% repeat-x; opacity: .085;
}
.hero::after { height: 170px; opacity: .07; }
.hero::before, .page-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(233, 201, 154, .35), transparent 70%);
}
.site-footer { position: relative; margin-top: 70px; }
.site-footer::before {
  content: ''; position: absolute; left: 0; right: 0; top: -68px; height: 70px; pointer-events: none;
  background: #1D1F12;
  -webkit-mask: url("img/skyline.svg") center bottom / auto 100% repeat-x; mask: url("img/skyline.svg") center bottom / auto 100% repeat-x;
}
.footer-logo { width: 260px; height: auto; margin: 0 0 .4rem -12px; }
.brand-mark { width: auto; height: 60px; }
.brand-name { font-size: 1.7rem; }
.brand-sub { font-size: .6rem; letter-spacing: .24em; }
@media (max-width: 480px) { .brand-mark { width: auto; height: 46px; } .brand-name { font-size: 1.35rem; } .brand-sub { font-size: .55rem; letter-spacing: .16em; } }

/* Quick size picker (product cards) */
.price .from { margin-right: .25em; }
.sizes-note { font-size: .78rem; color: var(--ink-mute); margin-top: .15rem; letter-spacing: .02em; }
.size-picker { border: 0; padding: 0; border-radius: var(--r-lg, 18px); background: var(--paper); color: var(--ink); width: min(760px, calc(100vw - 32px)); max-height: calc(100vh - 32px); box-shadow: 0 30px 80px rgba(30, 24, 16, .35); }
.size-picker::backdrop { background: rgba(28, 24, 18, .55); }
.sp-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.sp-media { background: var(--stone); }
.sp-media img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; display: block; }
.sp-body { padding: 1.6rem 1.6rem 1.3rem; display: flex; flex-direction: column; gap: .2rem; }
.sp-body h3 { font-family: var(--f-display); font-weight: 600; font-size: 1.75rem; margin: 0 2.4rem .3rem 0; line-height: 1.12; }
.sp-body .price { font-size: 1.25rem; margin-bottom: 1rem; display: flex; gap: .6rem; align-items: baseline; justify-content: flex-start; }
.sp-body .price del { color: var(--ink-mute); font-size: .85em; }
.sp-body .label { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .55rem; }
.sp-body .label b { color: var(--ink); letter-spacing: 0; text-transform: none; font-weight: 500; font-size: .95rem; }
.sp-body .swatch small { opacity: .7; margin-left: .25rem; }
.sp-facts { font-size: .86rem; color: var(--ink-mute); margin: .5rem 0 0; }
.sp-body .stock-note { margin: .8rem 0 1rem; }
.sp-body .buy-row { margin-bottom: .6rem; }
.sp-body .buy-row .btn { min-width: 0; padding-left: 1rem; padding-right: 1rem; white-space: normal; line-height: 1.2; }
.sp-more { font-size: .9rem; color: var(--copper, #A5532A); align-self: flex-start; }
.sp-close { position: absolute; top: .6rem; right: .7rem; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink); }
@media (max-width: 640px) {
  .sp-inner { grid-template-columns: 1fr; }
  .sp-media img { max-height: 260px; }
  .sp-body { padding: 1.2rem 1.1rem 1.1rem; }
  .sp-body h3 { font-size: 1.45rem; }
  .sp-body .buy-row .btn { font-size: .8rem; }
}

/* Legal pages */
.legal { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.legal > .prose:only-child, .legal > .legal-summary + .prose { grid-column: 1 / -1; }
.legal-toc { position: sticky; top: 100px; display: flex; flex-direction: column; gap: .15rem; border-left: 1px solid var(--line); padding-left: 1rem; }
.legal-toc a { color: var(--ink-mute); text-decoration: none; font-size: .9rem; padding: .3rem 0; }
.legal-toc a:hover { color: var(--copper); }
.legal .prose h2 { font-size: 1.7rem; scroll-margin-top: 100px; }
.legal .prose ul { padding-left: 1.2rem; }
.legal .prose li { margin-bottom: .4rem; }
.legal-summary { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.legal-summary div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); padding: 1.1rem 1.2rem; }
.legal-summary strong { display: block; font-family: var(--f-display); font-size: 1.8rem; color: var(--olive); line-height: 1.1; }
.legal-summary span { font-size: .9rem; color: var(--ink-mute); }
.legal-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.legal-links a { color: inherit; opacity: .8; font-size: .85rem; text-decoration: none; }
.legal-links a:hover { opacity: 1; text-decoration: underline; }
.consent-note { font-size: .8rem; color: var(--ink-mute); text-align: center; margin: .8rem 0 0; line-height: 1.5; }
.consent-note a { color: inherit; text-decoration: underline; }
@media (max-width: 800px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: .3rem .9rem; border-left: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
  .legal-summary { grid-template-columns: 1fr; }
}

