/* =========================================================
   Zoe Studio — styles
   Breakpoints:  mobile < 768  ·  tablet 768–1023  ·  desktop ≥ 1024
   ========================================================= */
:root {
  --bg: #faf7f2;
  --bg-alt: #f1ebe2;
  --ink: #2b2622;
  --muted: #8a8079;
  --line: #e4dcd1;
  --accent: #b08d57;
  --sage: #7d9a7e;
  --pink: #e9c9c3;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --gutter: 40px;         /* side padding */
  --section-y: 110px;     /* vertical section padding */
  --gap: 24px;            /* card gap */
  --header-h: 76px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--ink); font: 300 15px/1.6 var(--sans); overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
body.lock { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; overflow-wrap: break-word; }
em { font-style: italic; color: var(--accent); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
/* Small, faint Mongolian translation under an eyebrow */
.eyebrow-mn { margin: -8px 0 12px; font-family: var(--serif); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: 0; color: var(--muted); opacity: .75; }
.eyebrow-mn--below { margin: 6px 0 0; }
.eyebrow-mn--faq { text-align: center; margin: -28px 0 32px; }
.story .eyebrow-mn { margin: -8px auto 0; }
.split__text .eyebrow-mn { margin-bottom: 4px; }
.hero:has(.has-img) .eyebrow-mn { color: #fff; opacity: .75; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 999; background: var(--ink); color: #fff; padding: 8px 12px; }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: #f4ede4; font-size: 12px; letter-spacing: .08em; overflow: hidden; white-space: nowrap; }
.announce__track { display: inline-flex; gap: 64px; padding: 9px 0; animation: marquee 28s linear infinite; padding-left: 100%; }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
  height: var(--header-h); padding: 0 var(--gutter); background: rgba(250, 247, 242, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-color: var(--line); }
.nav { display: flex; gap: 28px; font-size: 13px; letter-spacing: .04em; white-space: nowrap; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav--left { grid-column: 1; align-items: center; }

/* Shop dropdown */
.nav__item { position: relative; }
.nav .chev { display: inline-block; width: 12px; height: 12px; margin-left: 4px; vertical-align: -1px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.has-sub:hover > a .chev, .has-sub:focus-within > a .chev { transform: rotate(180deg); }
.subnav { position: absolute; top: 100%; left: -22px; padding-top: 14px; min-width: 220px;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
.subnav::before { content: ""; position: absolute; inset: 14px 0 0; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(60, 40, 30, .08); }
.has-sub:hover .subnav, .has-sub:focus-within .subnav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s var(--ease), visibility 0s; }
.nav .subnav a { position: relative; display: block; padding: 11px 22px; font-size: 12px; letter-spacing: .12em; }
.nav .subnav a:first-child { margin-top: 8px; }
.nav .subnav a:last-child { margin-bottom: 8px; }
.nav .subnav a::after { display: none; }
.nav .subnav a:hover { color: var(--accent); }

/* Second level: LAMPS → Pendant / Table */
.has-sub2 { position: relative; }
.has-sub2 > a { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; }
.nav .chev--right { margin-left: 0; transition: transform .25s var(--ease); }
.has-sub2:hover > a .chev--right, .has-sub2:focus-within > a .chev--right { transform: translateX(3px); }
.has-sub2:hover > a, .has-sub2:focus-within > a { color: var(--accent); }
.subnav2 { position: absolute; left: 100%; top: -9px; min-width: 190px; background: var(--bg); border: 1px solid var(--line); box-shadow: 0 16px 40px rgba(60, 40, 30, .08);
  opacity: 0; visibility: hidden; transform: translateX(-6px); transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s; }
.has-sub2:hover > .subnav2, .has-sub2:focus-within > .subnav2 { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease), visibility 0s; }
.nav .subnav2 a { font-family: var(--serif); font-weight: 500; font-size: 17px; letter-spacing: 0; padding-top: 9px; padding-bottom: 9px; }

/* Product filter tabs */
[hidden] { display: none !important; }
.tabs { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { padding: 7px 18px 8px; border: 1px solid var(--line); border-radius: 999px; font-family: var(--serif); font-weight: 500; font-size: 16px; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.tab:hover { border-color: var(--ink); }
.tab.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.logo { grid-column: 2; font-family: var(--serif); font-size: 30px; letter-spacing: .02em; white-space: nowrap; }
.logo span { font-style: italic; color: var(--accent); margin-left: 4px; }
.logo--sm { font-size: 24px; }
/* Logos: optional left / main / right */
.logos { grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 22px; }
.logo-slot { position: relative; display: inline-flex; align-items: center; }
.logo-slot img { display: block; width: auto; height: 40px; max-width: 120px; object-fit: contain; }
.logo-slot--main img { height: 22px; max-width: 260px; }
/* Side names, set in a geometric sans to match the ZOE STUDIO logo */
.logo-text { font-family: "Jost", "Futura", "Century Gothic", sans-serif; font-weight: 500; font-size: 15px; letter-spacing: .06em; line-height: 1; color: #111; white-space: nowrap; }
.logo-slot.is-empty { display: none; }
.drawer__head .logo-slot--main img { height: 16px; }
.footer .logo-slot--main { margin-bottom: 14px; }
.footer .logo-slot--main img { height: 18px; }
/* Admin: logo upload controls */
.editing .header .logo-slot.is-empty { display: inline-flex; width: 44px; height: 34px; border: 1px dashed var(--accent); }
.logo-tools { display: none; }
.editing .header .logo-tools { display: flex; gap: 2px; position: absolute; top: -10px; right: -14px; z-index: 6; }
.logo-tools button { width: 20px; height: 20px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 11px; line-height: 1; display: grid; place-items: center; }
.logo-tools button:hover { background: var(--accent); }
.editing .header .logo-slot.is-empty .logo-tools { inset: 0; justify-content: center; align-items: center; }
.editing .header .logo-slot.is-empty .logo-tools button { background: transparent; color: var(--accent); font-size: 18px; width: 100%; height: 100%; border-radius: 0; }

.header__right { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 28px; }
.header__icons { display: flex; gap: 4px; align-items: center; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: background .2s; flex-shrink: 0; }
.icon-btn:hover { background: var(--bg-alt); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn.round { border: 1px solid var(--line); }
.menu-btn { display: none; }
.cart-btn { position: relative; }
.cart-count { position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font-size: 10px; display: grid; place-items: center; transform: scale(0); transition: transform .3s var(--ease); }
.cart-count.show { transform: scale(1); }

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: 15px 32px; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; text-align: center; border: 1px solid currentColor; transition: background .3s, color .3s, border-color .3s; }
.btn--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--dark:hover { background: transparent; color: var(--ink); }
.btn--light { color: var(--ink); background: #fff; border-color: #fff; }
.btn--light:hover { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--full { width: 100%; }
.link { display: inline-block; font-size: 13px; letter-spacing: .08em; border-bottom: 1px solid currentColor; padding: 6px 0 2px; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--header-h) - 34px); min-height: calc(100svh - var(--header-h) - 34px);
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; background: linear-gradient(135deg, #efe6da 0%, #e7d9cb 55%, #e9c9c3 100%); overflow: hidden; }
.hero__art { position: relative; height: 100%; min-height: 420px; display: grid; place-items: start center; }
.hero__lamp { position: relative; width: min(340px, 70%); animation: sway 7s ease-in-out infinite; transform-origin: top center; }
.hero__lamp svg { position: relative; width: 100%; }
@keyframes sway { 0%, 100% { transform: rotate(-1.5deg); } 50% { transform: rotate(1.5deg); } }
.hero__glow { position: absolute; top: 75%; left: 50%; width: 130%; aspect-ratio: 1; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255, 244, 210, .95), transparent 62%); filter: blur(8px); pointer-events: none; }
.hero__content { padding: 40px 64px 40px 0; animation: rise 1.1s var(--ease) both; }
.hero h1 { font-size: clamp(36px, 5.4vw, 80px); margin-bottom: 36px; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) var(--gutter); max-width: 1400px; margin: 0 auto; }
.section__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 40px; gap: 20px; }
.section h2, .story h2, .split h2 { font-size: clamp(30px, 3.6vw, 52px); }
/* Lamps are shown as a full grid now (no sliding), so the arrows/counter are hidden */
.carousel-ctrl { display: none; }

/* ---------- Lamps grid (id="carousel" kept for the scripts) ---------- */
.carousel { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); margin-bottom: 48px; }
.carousel::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; }
.card__img { position: relative; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; margin-bottom: 16px; }
.card__img svg { width: 62%; transition: transform .8s var(--ease); }
.card__add { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 13px; background: #fff; font-size: 11px; letter-spacing: .15em; text-transform: uppercase; opacity: 0; transform: translateY(10px); transition: .35s var(--ease); }
.card__badge { position: absolute; top: 12px; left: 12px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; background: rgba(255, 255, 255, .85); padding: 4px 8px; }
.card h3 { font-family: var(--sans); font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 4px; }
.card p { font-size: 13px; color: var(--muted); }
.card__cat { margin: -6px 0 5px; font-family: var(--serif); font-weight: 500; font-size: 14px; line-height: 1.1; color: var(--muted); opacity: .75; }
@media (hover: hover) {
  .card:hover .card__img svg { transform: scale(1.06) translateY(4px); }
  .card:hover .card__add { opacity: 1; transform: none; }
}
.card__add:focus-visible { opacity: 1; transform: none; }
/* Touch devices: no hover, so the button is always visible */
@media (hover: none) {
  .card__add { opacity: 1; transform: none; left: auto; right: 10px; bottom: 10px; padding: 10px 14px; font-size: 10px; background: rgba(255, 255, 255, .92); }
}

/* ---------- Product grids (desk organizers, home decor) ---------- */
.section--products { padding-top: 64px; padding-bottom: 96px; }
.section--products .section__head { margin-bottom: 28px; }
.products-title { font-size: clamp(26px, 2.6vw, 36px) !important; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.grid-more { margin-top: 40px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-alt); }
.split__img { background: linear-gradient(160deg, #dfe6da, #c9d6c6); display: grid; place-items: center; padding: 80px 40px; }
.split__img svg { width: min(300px, 70%); }
.split__text { padding: 80px 72px; align-self: center; }
.split__text p:not(.eyebrow):not(.eyebrow-mn) { margin: 24px 0 36px; max-width: 440px; color: #5d554f; }
.split--reverse { background: var(--bg); }
.split--reverse .split__img { order: 2; }
.split__img--sand { background: linear-gradient(160deg, #efe4d6, #e2d1bd); }
.split__img--sand svg { width: min(340px, 80%); }

/* ---------- Story ---------- */
.story { max-width: 820px; margin: 0 auto; padding: calc(var(--section-y) + 20px) var(--gutter); text-align: center; }
.story p:not(.eyebrow):not(.eyebrow-mn) { margin: 28px auto 32px; max-width: 600px; color: #5d554f; }

/* ---------- About us ---------- */
.about { max-width: 1100px; margin: 0 auto; padding: var(--section-y) var(--gutter); }
.about__intro { max-width: 680px; margin-bottom: 48px; }
.about__title { font-size: clamp(44px, 6vw, 84px); margin: 4px 0 20px; }
.about__lead { font-family: var(--serif); font-style: italic; font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; color: #4a423c; }
.about__lead b { font-style: italic; font-weight: 600; color: var(--ink); }
.about__body { max-width: 680px; margin: 72px auto; }
/* Kept on one line: font scales with the screen width */
.about__heading { font-size: clamp(15px, 4.6vw, 34px); white-space: nowrap; margin-bottom: 28px; }
.about__body p { margin-bottom: 20px; font-size: 16px; line-height: 1.8; color: #4a423c; }
.about__body b { font-weight: 600; color: var(--ink); }
/* Italic signature line */
.script { display: inline-block; font-family: var(--sans); font-style: italic; font-weight: 400; font-size: 1em; line-height: inherit; color: var(--ink); }
.about__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }

/* Media slots (image or video). Empty slots are hidden on the live site. */
.media { position: relative; overflow: hidden; background: var(--bg-alt); }
.media--hero { aspect-ratio: 16 / 9; }
.media--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.media--tall { aspect-ratio: 4 / 5; }
.media:not(.has-img) { display: none; }
.editing .media:not(.has-img) { display: grid; place-items: center; border: 1px dashed var(--accent); background: repeating-linear-gradient(45deg, #f3ece3 0 12px, #efe7dd 12px 24px); }
.editing .media:not(.has-img)::before { content: "Image / video"; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; padding-top: 0; }
.faq h2 { margin-bottom: 36px; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 15px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 22px; line-height: 1; transition: transform .3s; flex-shrink: 0; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding-bottom: 20px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { max-width: 1040px; margin: 0 auto; padding: var(--section-y) var(--gutter); }
.contact__title { font-size: clamp(40px, 5vw, 64px); margin-bottom: 12px; }
.contact__intro { color: #5d554f; margin-bottom: 32px; }
.contact__formtitle { font-size: clamp(26px, 2.6vw, 34px); margin: 56px 0 20px; }
.contact__form { display: grid; gap: 16px; max-width: 640px; }

/* Contact info cards */
.info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info__card { padding: 28px 28px 30px; background: #f1ece5; border-radius: 6px; }
.info__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #fff; margin-bottom: 22px; }
.info__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.info__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.info__value { display: block; font-size: 18px; color: var(--ink); line-height: 1.6; word-break: break-word; }
a.info__value:hover { color: var(--accent); }
.contact__form input, .contact__form textarea { width: 100%; padding: 16px 18px; border: 1px solid var(--ink); border-radius: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); resize: vertical; }
.contact__form input::placeholder, .contact__form textarea::placeholder { color: #8a8079; letter-spacing: .02em; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; box-shadow: inset 0 0 0 1px var(--ink); background: #fff; }
.contact__form .invalid { border-color: #b3402f; box-shadow: inset 0 0 0 1px #b3402f; }
.contact__send { justify-self: start; min-width: 160px; margin-top: 8px; }
.contact__send:disabled { opacity: .5; cursor: default; }
.contact__status { min-height: 1.4em; font-size: 14px; }
.contact__status.ok { color: #3f7a4a; }
.contact__status.err { color: #b3402f; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* ---------- Newsletter ---------- */
.newsletter { background: var(--pink); padding: 90px var(--gutter); text-align: center; }
.newsletter h2 { font-size: clamp(24px, 2.8vw, 38px); max-width: 680px; margin: 0 auto 32px; }
.newsletter__form { display: flex; max-width: 480px; margin: 0 auto 16px; }
.newsletter__form input { flex: 1; min-width: 0; padding: 14px 16px; border: 1px solid var(--ink); border-right: 0; border-radius: 0; background: transparent; font: inherit; font-size: 16px; }
.newsletter__form input::placeholder { color: #6f625c; }
.newsletter__form input:focus { outline: none; background: rgba(255, 255, 255, .35); }

/* ---------- Footer ---------- */
.footer { padding: 72px var(--gutter) 32px; border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1400px; margin: 0 auto 56px; }
.footer h3 { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.footer__grid a { display: block; font-size: 14px; padding: 4px 0; color: #5d554f; overflow-wrap: anywhere; }
.footer__grid a:hover { color: var(--ink); }
.fcontact { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 8px; }
.fcontact > div { min-width: 0; }
.fcontact__icon { flex-shrink: 0; width: 16px; height: 16px; margin-top: 7px; fill: none; stroke: #5d554f; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12px; color: var(--muted); max-width: 1400px; margin: 0 auto; }

/* ---------- Drawers ---------- */
.overlay { position: fixed; inset: 0; background: rgba(30, 25, 20, .35); opacity: 0; pointer-events: none; transition: opacity .35s; z-index: 90; }
.overlay.show { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 100%); height: 100%; height: 100dvh; background: var(--bg); z-index: 100; display: flex; flex-direction: column; transition: transform .45s var(--ease), visibility 0s .45s; visibility: hidden; }
.drawer--right { right: 0; transform: translateX(100%); }
.drawer--left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; transition: transform .45s var(--ease), visibility 0s; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 26px; }
.drawer__nav { display: flex; flex-direction: column; padding: 16px 24px; flex: 1; overflow-y: auto; }
.drawer__nav > a, .drawer__sub summary { font-family: var(--serif); font-size: 30px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.drawer__sub { border: 0 !important; }
.drawer__sub summary { font-weight: 400; }
.drawer__sub summary::after { font-family: var(--sans); font-weight: 300; }
.drawer__sub a { display: block; font-size: 14px; letter-spacing: .12em; padding: 13px 0 13px 16px; border-bottom: 1px solid var(--line); color: #5d554f; }
.drawer__sub a:hover { color: var(--accent); }
.drawer__sub2 { border: 0 !important; }
.drawer__sub2 summary { font-family: var(--sans); font-size: 14px; letter-spacing: .12em; padding: 13px 0 13px 16px; border-bottom: 1px solid var(--line); color: #5d554f; }
.drawer__sub2 summary::after { font-size: 18px; }
.drawer__sub2 a { padding-left: 32px; font-family: var(--serif); font-weight: 500; letter-spacing: 0; font-size: 19px; padding-top: 10px; padding-bottom: 10px; }
.drawer__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.drawer__social { display: flex; gap: 20px; margin-top: 8px; font-size: 13px; }
.cart__body { flex: 1; overflow-y: auto; padding: 8px 24px; overscroll-behavior: contain; }
.cart__empty { text-align: center; padding-top: 80px; }
.cart__empty p { font-family: var(--serif); font-size: 24px; margin-bottom: 24px; }
.cart__item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart__thumb { position: relative; overflow: hidden; aspect-ratio: 1; display: grid; place-items: center; }
.cart__thumb svg { width: 70%; }
.cart__thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cart__item h4 { font-weight: 400; font-size: 14px; line-height: 1.4; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); margin-top: 8px; }
.qty button { width: 34px; height: 34px; font-size: 16px; }
.qty span { min-width: 24px; text-align: center; font-size: 13px; }
.cart__remove { font-size: 12px; color: var(--muted); text-decoration: underline; padding: 8px 0; }
.cart__foot { padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.cart__foot.hidden { display: none; }
.cart__total { display: flex; justify-content: space-between; font-size: 16px; margin-bottom: 6px; }
.cart__foot .muted { margin-bottom: 18px; }

/* ---------- Search ---------- */
.search { position: fixed; top: 0; left: 0; right: 0; background: var(--bg); z-index: 100; padding: 24px var(--gutter); transform: translateY(-100%); transition: transform .4s var(--ease), visibility 0s .4s; border-bottom: 1px solid var(--line); visibility: hidden; max-height: 100dvh; overflow-y: auto; }
.search.open { transform: none; visibility: visible; transition: transform .4s var(--ease), visibility 0s; }
.search__form { display: flex; align-items: center; gap: 12px; max-width: 900px; margin: 0 auto; }
.search__form input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; background: transparent; padding: 10px 0; font: 400 24px var(--serif); outline: none; }
.search__results { max-width: 900px; margin: 12px auto 0; }
.search__results a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 22px; font-size: 13px; opacity: 0; pointer-events: none; transition: .35s var(--ease); z-index: 200; white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Uploaded images ---------- */
[data-img], [data-pimg] { position: relative; }
.has-img > img, .has-img > video, .card__img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split__img.has-img { padding: 0; min-height: 520px; }
.card__badge, .card__add { z-index: 2; }

/* ---------- Admin edit mode ---------- */
.editing { padding-bottom: 80px; }
.editing .announce__track { animation: none; padding-left: 16px; }
.editing [data-edit], .editing [data-pid] { outline: 1px dashed rgba(176, 141, 87, .7); outline-offset: 4px; cursor: text; }
.editing [data-edit]:hover, .editing [data-pid]:hover { outline-color: var(--accent); }
.editing [data-edit]:focus, .editing [data-pid]:focus { outline: 2px solid var(--accent); }
.editing .reveal { opacity: 1; transform: none; }
/* Empty text: hidden on the live site, shown as a small placeholder in edit mode */
.is-blank { display: none !important; }
.editing .is-blank { display: block !important; min-width: 160px; min-height: 1.2em; font-size: 13px; font-family: var(--sans); }
.editing .is-blank::before { content: "Empty — click to add text"; color: var(--muted); font-style: italic; pointer-events: none; }
.editing .is-blank:focus::before { content: ""; }
.img-edit { position: absolute; top: 12px; right: 12px; z-index: 5; background: #fff; color: var(--ink); padding: 10px 14px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); }
.img-edit:hover { background: var(--ink); color: #fff; }
.img-edit--frame { top: 56px; }
.img-edit--frame ~ .img-edit--remove, .img-edit--remove { top: 100px; color: #b3402f; }
.has-img { overflow: hidden; }
/* Admin: image framing mode */
.framing { cursor: grab; touch-action: none; outline: 2px solid var(--accent); outline-offset: -2px; }
.framing:active { cursor: grabbing; }
.framing > img, .framing > video { user-select: none; -webkit-user-drag: none; pointer-events: none; }
.framing > .img-edit, .framing > .card__add, .framing > .type-edit, .framing > .card__badge { display: none; }
.frame-bar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 160; display: grid; gap: 6px; padding: 10px; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); font-size: 12px; max-width: 360px; margin-inline: auto; }
.frame-bar__hint { margin: 0; text-align: center; color: var(--muted); font-size: 11px; }
.frame-bar__row { display: flex; align-items: center; gap: 6px; }
.frame-bar__row input { flex: 1; min-width: 0; accent-color: var(--accent); }
.frame-bar button { flex: 1; padding: 8px 6px; border: 1px solid var(--line); background: #fff; font-size: 11px; white-space: nowrap; }
.frame-bar button[data-z] { flex: 0 0 34px; font-size: 18px; line-height: 1; padding: 4px 0; }
.frame-bar__pct { flex: 0 0 40px; text-align: right; font-variant-numeric: tabular-nums; }
.frame-bar .frame-bar__ok { background: var(--ink); color: #fff; border-color: var(--ink); }
.type-edit { position: absolute; top: 12px; left: 12px; z-index: 5; max-width: calc(100% - 24px); padding: 6px 8px; font: 11px var(--sans); background: #fff; border: 0; box-shadow: 0 4px 16px rgba(0, 0, 0, .12); cursor: pointer; }
@media (max-width: 767px) { .type-edit { top: auto; bottom: 6px; left: 6px; max-width: calc(100% - 48px); font-size: 10px; padding: 4px; } }
.editing .card__badge { display: none; }
.admin-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 150; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; background: var(--ink); color: #f4ede4; font-size: 13px; box-shadow: 0 10px 40px rgba(0, 0, 0, .25); max-width: calc(100% - 24px); }
.admin-bar__title { font-weight: 500; white-space: nowrap; }
.admin-bar__status { color: #b9ada3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.admin-bar__save { background: var(--accent); color: #fff; padding: 10px 20px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.admin-bar__save:disabled { opacity: .4; cursor: default; }
.admin-bar__link { color: #b9ada3; font-size: 12px; text-decoration: underline; white-space: nowrap; padding: 10px 4px; }
/* Admin: contact messages */
.msg-modal { position: fixed; inset: 0; z-index: 300; background: rgba(30, 25, 20, .45); display: grid; place-items: center; padding: 16px; }
.msg-modal__box { width: min(640px, 100%); max-height: 85vh; display: flex; flex-direction: column; background: var(--bg); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.msg-modal__head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.msg-modal__head h2 { font-size: 26px; }
.msg-modal__close { font-size: 28px; line-height: 1; width: 40px; height: 40px; }
.msg-modal__list { overflow-y: auto; padding: 8px 20px 20px; }
.msg { padding: 16px 0; border-bottom: 1px solid var(--line); }
.msg__meta { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.msg__meta span { color: var(--muted); font-size: 12px; white-space: nowrap; }
.msg__contact { font-size: 13px; color: var(--accent); margin: 2px 0 8px; word-break: break-all; }
.msg p { font-size: 14px; color: #4a423c; }

/* =========================================================
   Large desktop ≥ 1440
   ========================================================= */
@media (min-width: 1440px) {
  :root { --gutter: 56px; }
  .hero__content { padding-right: 96px; }
}

/* =========================================================
   Small desktop / large tablet landscape: 1024–1199
   ========================================================= */
@media (max-width: 1199px) {
  :root { --gutter: 32px; }
  .nav { gap: 18px; font-size: 12px; }
  .header__right { gap: 20px; }
  .logos { gap: 14px; }
  .logo-text { font-size: 12px; }
  .logo-slot--main img { height: 18px; }
  .split__text { padding: 72px 48px; }
}

/* =========================================================
   Tablet: 768–1023
   ========================================================= */
@media (max-width: 1023px) {
  :root { --gutter: 32px; --section-y: 88px; --header-h: 68px; }

  /* Header: hamburger · logo · icons */
  .nav { display: none; }
  .menu-btn { display: inline-grid; grid-column: 1; justify-self: start; margin-left: -10px; }
  .header__right { margin-right: -10px; }
  .logo { font-size: 27px; }

  /* Hero stacks */
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero__art { height: 440px; min-height: 0; }
  .hero__content { padding: 8px var(--gutter) 72px; text-align: center; }
  .hero h1 { font-size: clamp(40px, 7vw, 60px); margin-bottom: 28px; }

  /* Products: edge-to-edge 3-column grid instead of a carousel */
  #shop { padding-left: 0; padding-right: 0; }
  #shop .section__head { padding: 0 var(--gutter); }
  #shop .center { padding: 0 var(--gutter); }
  .section--products { padding: 48px 0 64px; }
  .section--products .section__head { padding: 0 var(--gutter); margin-bottom: 20px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); gap: 2px; }
  .grid-more { margin-top: 32px; padding: 0 var(--gutter); }
  .carousel-ctrl { display: none; }
  .carousel { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: 2px;
    overflow: visible; scroll-snap-type: none; padding: 0; margin-bottom: 40px; }
  .card { background: var(--bg); }
  .card__img { aspect-ratio: 1 / 1.1; margin-bottom: 0; }
  .card__img svg { width: 70%; }
  .card h3 { padding: 14px 14px 2px; }
  .card p { padding: 0 14px 18px; color: var(--ink); }
  .card__cat { margin: -3px 0 5px; padding: 0 14px; }

  /* Compact round "+" add button */
  .card__add { opacity: 1; transform: none; left: auto; right: 8px; bottom: 8px; width: 34px; height: 34px; padding: 0; border-radius: 50%;
    background: rgba(255, 255, 255, .92); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
  .card__add span { display: none; }
  .card__add::before { content: "+"; font-size: 20px; font-weight: 300; line-height: 1; }

  .split__img { padding: 64px 32px; }
  .split__text { padding: 64px 40px; }
  .split__img.has-img { min-height: 440px; }

  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
}

/* =========================================================
   Mobile: < 768
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-y: 64px; --gap: 14px; --header-h: 60px; }
  body { font-size: 15px; }

  .logo { font-size: 24px; }
  /* Phones: ZOE STUDIO on top, the two side names in a small row below */
  .logos { flex-wrap: wrap; gap: 5px 10px; }
  .logos .logo-slot--main { order: -1; flex-basis: 100%; justify-content: center; }
  .logo-slot--main img { height: 13px; max-width: 130px; }
  .logo-text { font-size: 8.5px; letter-spacing: .08em; color: #555; }
  .logo-text--left::after { content: "·"; margin-left: 10px; color: var(--muted); }
  .header__right { gap: 0; }
  .header .icon-btn { width: 38px; }
  .header { gap: 8px; }
  .icon-btn svg { width: 22px; height: 22px; }
  .announce { font-size: 11px; }

  /* Compact hero: text sits on top of the image */
  .hero { min-height: 0; height: 68vw; min-height: 260px; max-height: 420px; place-items: center; }
  .hero__art { position: absolute; inset: 0; height: auto; place-items: start center; }
  .hero__lamp { width: min(170px, 42%); opacity: .55; }
  .hero__content { position: relative; z-index: 1; padding: 24px var(--gutter); }
  .hero .eyebrow { display: none; }
  .hero h1 { font-size: clamp(26px, 7.4vw, 34px); margin-bottom: 14px; }
  .hero h1 em { color: inherit; }
  .hero .btn { padding: 4px 0; background: none; border: 0; border-bottom: 1px solid currentColor; font-size: 13px; letter-spacing: .06em; text-transform: none; }
  /* With an uploaded photo: full-bleed image, dark scrim, white text */
  .hero:has(.has-img) .hero__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0, 0, 0, .15), rgba(0, 0, 0, .35)); }
  .hero:has(.has-img) .hero__content { color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }

  #shop { padding-top: 40px; }
  .section__head { margin-bottom: 20px; }
  .section__head h2 { font-size: 26px; }
  .section__head .eyebrow { margin-bottom: 6px; }
  .eyebrow-mn { font-size: 15px; }
  .section__head .eyebrow + .eyebrow-mn { margin-top: -3px; }
  .eyebrow-mn--faq { margin-top: -18px; margin-bottom: 24px; }
  .card__badge { display: none; }
  .card__img svg { width: 78%; }
  .card h3 { font-size: 13px; padding: 10px 10px 2px; }
  .card p { font-size: 13px; padding: 0 10px 14px; }
  .card__cat { padding: 0 10px; font-size: 13px; }
  .card__add { width: 30px; height: 30px; right: 6px; bottom: 6px; }
  .card__add::before { font-size: 18px; }
  .editing .img-edit { top: 6px; right: 6px; padding: 6px 8px; font-size: 9px; letter-spacing: .06em; }
  .editing .img-edit--frame { top: 36px; }
  .editing .img-edit--remove { top: 66px; }

  .split { grid-template-columns: 1fr; }
  .split--reverse .split__img { order: 0; }
  .split__img { padding: 48px 24px; }
  .split__img svg { width: min(220px, 60%); }
  .split__img.has-img { min-height: 340px; }
  .split__text { padding: 48px var(--gutter) 56px; }
  .split__text p:not(.eyebrow):not(.eyebrow-mn) { margin: 18px 0 28px; }
  .split .btn { width: 100%; }

  .story { padding: 72px var(--gutter); }
  .about { padding: 64px var(--gutter); }
  .contact { padding: 56px var(--gutter) 64px; }
  .contact__intro { margin-bottom: 28px; }
  .contact__send { justify-self: stretch; }
  .info { grid-template-columns: 1fr; gap: 12px; }
  .info__card { padding: 22px 22px 24px; }
  .info__icon { width: 48px; height: 48px; margin-bottom: 16px; }
  .info__value { font-size: 17px; }
  .contact__formtitle { margin-top: 44px; }
  .about__intro { margin-bottom: 28px; }
  .about__body { margin: 44px auto; }
  .about__heading { margin-bottom: 20px; }
  .about__body p { font-size: 15px; }
  .about__gallery { gap: 10px; }
  .media--hero, .media--wide { aspect-ratio: 4 / 3; }
  .story p:not(.eyebrow):not(.eyebrow-mn) { margin: 20px auto 24px; }

  .faq h2 { margin-bottom: 24px; }
  summary { padding: 18px 0; }

  .newsletter { padding: 64px var(--gutter); }
  .newsletter h2 { margin-bottom: 24px; }

  .footer { padding: 48px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; margin-bottom: 40px; }
  .footer__bottom { flex-direction: column; }

  .drawer__head { padding: 12px var(--gutter); }
  .drawer__nav, .cart__body { padding-left: var(--gutter); padding-right: var(--gutter); }
  .drawer__foot, .cart__foot { padding-left: var(--gutter); padding-right: var(--gutter); }
  .cart__item { grid-template-columns: 64px 1fr; }
  .cart__remove { grid-column: 2; justify-self: start; padding: 0; }

  .search { padding: 12px var(--gutter); }
  .search__form input { font-size: 22px; }

  .admin-bar { gap: 10px; padding-left: 14px; }
  .admin-bar__status { display: none; }
}

/* Very small phones */
@media (max-width: 400px) {
  .card h3, .card p { font-size: 12px; }
  .newsletter__form { flex-direction: column; gap: 10px; }
  .newsletter__form input { border-right: 1px solid var(--ink); }
  .footer__grid { grid-template-columns: 1fr; }
}

/* Short landscape phones */
@media (max-height: 500px) and (orientation: landscape) and (max-width: 1023px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero__art { height: 320px; }
  .hero__content { padding: 32px var(--gutter); }
}

/* =========================================================
   Hero with an uploaded photo / video: full-screen background
   (applies at every screen size, overrides the rules above)
   ========================================================= */
.hero:has(.has-img) {
  grid-template-columns: 1fr; place-items: center;
  /* Fill the screen, but never taller than a ~5:3 frame so landscape photos aren't over-cropped */
  height: min(calc(100vh - var(--header-h) - 34px), 60vw);
  height: min(calc(100svh - var(--header-h) - 34px), 60vw);
  min-height: 420px; max-height: none;
}
.hero:has(.has-img) .hero__art img, .hero:has(.has-img) .hero__art video { object-position: center 55%; }
.hero:has(.has-img) .hero__art { position: absolute; inset: 0; height: auto; min-height: 0; }
.hero:has(.has-img) .hero__art::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, .12) 0%, rgba(0, 0, 0, .18) 50%, rgba(0, 0, 0, .45) 100%); }
.hero:has(.has-img) .hero__content { position: relative; z-index: 1; padding: 40px var(--gutter); text-align: center; color: #fff; text-shadow: 0 1px 16px rgba(0, 0, 0, .3); }
.hero:has(.has-img) .eyebrow { display: block; color: rgba(255, 255, 255, .85); }
.hero:has(.has-img) h1 em { color: #fff; }
.hero:has(.has-img) .btn--light:hover { color: #fff; border-color: #fff; }
@media (max-width: 767px) {
  /* Phones: square frame instead of a tall, narrow full-height strip */
  .hero:has(.has-img) { height: auto; min-height: 0; max-height: none; aspect-ratio: 1 / 1; }
  .hero:has(.has-img) .btn { color: #fff; }
}

/* ---------- Product detail page ---------- */
.card[data-go] .card__img, .card[data-go] h3 { cursor: pointer; }
.pdp__wrap { max-width: 1400px; margin: 0 auto; padding: 24px var(--gutter) var(--section-y); }
.pdp__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.pdp__crumbs a:hover { color: var(--ink); }
.pdp__crumbs span:last-child { color: var(--ink); }
.pdp__main { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 64px; align-items: start; }

.pdp__gallery { position: relative; min-width: 0; }
.pdp__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pdp__track::-webkit-scrollbar { display: none; }
.pdp__slide { position: relative; flex: 0 0 100%; aspect-ratio: 4 / 5; scroll-snap-align: start; display: grid; place-items: center; overflow: hidden; }
/* Whole photo always visible (no cropping); white matches the product photo backgrounds */
.pdp__slide--photo { background: #fff !important; }
.pdp__slide img { width: 100%; height: 100%; object-fit: contain; }
.pdp__slide svg { width: 60%; }
.pdp__dots { display: none; justify-content: center; gap: 6px; margin-top: 12px; }
.pdp__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--line); transition: background .3s; }
.pdp__dots span.on { background: var(--ink); }
.pdp__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.pdp__thumb { width: 76px; aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden; opacity: .55; border: 1px solid transparent; transition: opacity .3s, border-color .3s; }
.pdp__thumb.on, .pdp__thumb:hover { opacity: 1; border-color: var(--ink); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb svg { width: 70%; }

.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__cat { font-family: var(--serif); font-weight: 500; font-size: 16px; color: var(--muted); opacity: .75; margin-bottom: 6px; }
.pdp__title { font-size: clamp(30px, 3.2vw, 46px); line-height: 1.1; margin-bottom: 12px; }
.pdp__price { font-size: 18px; margin-bottom: 24px; }
.pdp__desc { color: #5d554f; font-size: 15px; line-height: 1.75; margin-bottom: 28px; }
.pdp__opt { margin-bottom: 22px; }
.pdp__opt.is-empty { display: none; }
.pdp__opt-label { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.pdp__opt-label b { font-weight: 500; color: var(--ink); text-transform: none; letter-spacing: 0; font-size: 14px; }
.pdp__pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { min-width: 52px; padding: 10px 16px; border: 1px solid var(--line); font-size: 13px; background: transparent; transition: border-color .2s, background .2s, color .2s; }
.pill:hover { border-color: var(--ink); }
.pill.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pdp__buy { display: flex; gap: 10px; margin-top: 30px; }
.qty--lg { margin: 0; flex-shrink: 0; }
.qty--lg button { width: 44px; height: 50px; }
.qty--lg span { min-width: 30px; font-size: 14px; }
.pdp__add { flex: 1; padding-left: 16px; padding-right: 16px; }
.pdp__now { margin-top: 10px; }
.pdp__now:hover { background: var(--ink); color: #fff; }
.pdp__notes { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 10px; font-size: 13px; color: #5d554f; }
.pdp__notes li { display: flex; align-items: center; gap: 10px; }
.pdp__notes svg { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-linejoin: round; }
.pdp__acc summary { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pdp__acc-body { padding-bottom: 22px; font-size: 14px; line-height: 1.8; color: #5d554f; }
.pdp__acc-body b { font-weight: 500; color: var(--ink); }
.pdp__related { margin-top: var(--section-y); }
.pdp__related h2 { font-size: clamp(26px, 2.6vw, 36px); margin-bottom: 28px; }

/* ---------- Checkout (bank transfer) ---------- */
.co { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(43, 38, 34, .45); }
.co__box { position: relative; width: min(520px, 100%); max-height: calc(100svh - 40px); overflow-y: auto; background: var(--bg); padding: 36px 32px 32px; }
.co__close { position: absolute; top: 10px; right: 14px; font-size: 28px; line-height: 1; color: var(--muted); }
.co h2 { font-size: 30px; margin-bottom: 18px; }
.co h3 { font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin: 24px 0 12px; }
.co__items { border-top: 1px solid var(--line); }
.co__item { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.co__item small { display: block; color: var(--muted); font-size: 12px; }
.co__item span:last-child { white-space: nowrap; color: #5d554f; }
.co__total { display: flex; justify-content: space-between; padding: 12px 0 0; font-size: 15px; }
.co label { display: block; font-size: 12px; color: #5d554f; margin-bottom: 12px; }
.co input, .co textarea { display: block; width: 100%; margin-top: 6px; padding: 12px; font: 16px var(--sans); border: 1px solid var(--line); background: #fff; resize: vertical; }
.co input:focus, .co textarea:focus { outline: none; border-color: var(--ink); }
.co .invalid { border-color: #b3402f; }
.co__status { min-height: 1em; font-size: 13px; margin-bottom: 10px; }
.co__status.err { color: #b3402f; }
.co__check { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--sage); color: #fff; font-size: 24px; margin-bottom: 14px; }
.co__lead { font-size: 16px; margin-bottom: 8px; }
.co__bank { margin: 18px 0; padding: 4px 18px; background: #fff; border: 1px solid var(--line); }
.co__bank div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.co__bank div:last-child { border-bottom: 0; }
.co__bank dt { color: var(--muted); font-size: 12px; }
.co__bank dd { margin: 0; display: flex; align-items: center; gap: 10px; text-align: right; font-weight: 500; }
.co__copy { padding: 5px 9px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; border: 1px solid var(--line); font-weight: 400; }
.co__copy:hover { border-color: var(--ink); }
.co [data-co-close].btn { margin-top: 18px; }
@media (max-width: 767px) {
  .co { padding: 0; place-items: end stretch; }
  .co__box { width: 100%; max-height: 92svh; padding: 30px 18px 24px; }
}

/* Admin: orders list */
.ord { border: 1px solid var(--line); padding: 14px; margin-bottom: 12px; background: #fff; font-size: 13px; }
.ord__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 8px; }
.ord__head b { font-size: 15px; }
.ord__head select { font: 12px var(--sans); padding: 5px; }
.ord__items { margin: 8px 0; padding-left: 16px; color: #5d554f; }
.ord__total { font-weight: 500; }
/* SMS button only for paid orders */
.ord__sms { display: none; margin-top: 10px; padding: 10px 14px; background: var(--sage); color: #fff; font-size: 13px; text-align: center; }
.ord[data-status="paid"] .ord__sms { display: block; }
.ord__export {margin-left: auto; margin-right: 12px; padding: 8px 12px; font-size: 11px; letter-spacing: .08em; background: #1d6f42; color: #fff; white-space: nowrap; }
.ord__export:disabled { opacity: .4; }
.ord__warn { color: #b3402f; font-size: 12px; }
.ord[data-status="paid"] { border-left: 4px solid var(--sage); }
.ord[data-status="shipped"] { border-left: 4px solid var(--accent); opacity: .8; }
.ord[data-status="cancelled"] { opacity: .5; }

/* Edit mode on the product page */
.editing .pdp__opt.is-empty { display: block; }
.opt-edit { display: block; width: 100%; margin-top: 10px; padding: 9px 10px; font: 13px var(--sans); border: 1px dashed var(--accent); background: #fffdf9; }
.pdp__add-photo { margin-top: 12px; padding: 10px 16px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; border: 1px dashed var(--accent); color: var(--ink); }
.editing .pdp__info { position: static; }

@media (max-width: 1023px) {
  .pdp__main { gap: 36px; }
}
@media (max-width: 767px) {
  .pdp__wrap { padding: 14px 0 var(--section-y); }
  .pdp__crumbs { padding: 0 var(--gutter); margin-bottom: 14px; font-size: 11px; }
  .pdp__main { grid-template-columns: 1fr; gap: 22px; }
  .pdp__slide { aspect-ratio: 4 / 5; }
  .pdp__dots { display: flex; }
  .pdp__dots[hidden] { display: none; }
  .pdp__thumbs { display: none; }
  .pdp__add-photo { margin-left: var(--gutter); }
  .pdp__info { position: static; padding: 0 var(--gutter); }
  .pdp__title { font-size: 30px; }
  .pdp__desc { font-size: 14px; }
  .pdp__related { padding: 0 var(--gutter); }
  .pdp__related h2 { font-size: 24px; margin-bottom: 18px; }
}

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