/* ==========================================================================
   Stem & Stone — storefront stylesheet
   1. Tokens        5. Buttons/forms   9. Shop
   2. Reset/base    6. Cards          10. Product
   3. Layout        7. Hero/sections  11. Cart & checkout
   4. Header/footer 8. Drawer/toast   12. Static pages & responsive
   ========================================================================== */

/* 1. Tokens --------------------------------------------------------------- */
:root {
  --cream: #FBF6EF;
  --paper: #FFFFFF;
  --shell: #F4EDE3;
  --ink: #221E1A;
  --ink-2: #4E463D;
  --ink-3: #837A6D;
  --line: #E7DCCC;
  --line-2: #D8CAB6;
  --terra: #C2603A;
  --terra-dark: #97482A;
  --terra-soft: #F7E3DA;
  --sage: #6F8C6B;
  --sage-soft: #E4EBE0;
  --gold: #C08F2C;
  --sky: #5E86AE;

  --t-ceramic:    linear-gradient(158deg, #F7F0E7 0%, #EADECC 100%);
  --t-stoneware:  linear-gradient(158deg, #F2EDE4 0%, #E1D5C2 100%);
  --t-glass:      linear-gradient(158deg, #EBF2F5 0%, #D7E4EA 100%);
  --t-bud:        linear-gradient(158deg, #F8F0EA 0%, #EEDCD1 100%);
  --t-tall:       linear-gradient(158deg, #F2F1ED 0%, #DFDDD5 100%);
  --t-terracotta: linear-gradient(158deg, #FCF0E7 0%, #F0D8C4 100%);
  --t-concrete:   linear-gradient(158deg, #F0F0EF 0%, #DDDDDB 100%);
  --t-ribbed:     linear-gradient(158deg, #F5F2EA 0%, #E4DBC8 100%);
  --t-handmade:   linear-gradient(158deg, #F7F1E5 0%, #E8DBC3 100%);
  --t-sets:       linear-gradient(158deg, #F3F1E9 0%, #E2DFD1 100%);

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-xl: 40px;

  --shadow-xs: 0 1px 2px rgba(34, 30, 26, .05);
  --shadow-sm: 0 2px 6px rgba(34, 30, 26, .05), 0 8px 20px rgba(34, 30, 26, .05);
  --shadow-md: 0 6px 14px rgba(34, 30, 26, .07), 0 20px 44px rgba(34, 30, 26, .08);
  --shadow-lg: 0 24px 60px rgba(34, 30, 26, .16);

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.32, .72, .28, 1);
  --header-h: 74px;
}

/* 2. Reset/base ----------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.drawer-open, body.menu-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-family: var(--font-display); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.35rem); }
h3 { font-size: 1.15rem; }
abbr { text-decoration: none; }
::selection { background: var(--terra-soft); }
:focus-visible { outline: 2.5px solid var(--terra); outline-offset: 3px; border-radius: 6px; }
.icon { width: 20px; height: 20px; flex: none; }
.is-hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 3. Layout --------------------------------------------------------------- */
.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(52px, 7vw, 96px) 0; }
.section-tint { background: var(--shell); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head p { margin: 0; color: var(--ink-3); max-width: 46ch; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .74rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--terra);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: currentColor; opacity: .6; }
.lede { font-size: 1.06rem; color: var(--ink-2); max-width: 62ch; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--terra); white-space: nowrap; }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }
.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fill, minmax(264px, 1fr)); }
.grid-2 { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* 4. Header --------------------------------------------------------------- */
.announce { background: var(--ink); color: var(--cream); font-size: .82rem; letter-spacing: .02em; }
.announce-inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 38px; }
.announce-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terra); flex: none; }
.announce-line { margin: 0; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.announce-line.is-in { opacity: 1; transform: none; }

.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 246, 239, .88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 8px 26px rgba(34, 30, 26, .06); }
.header-inner { display: flex; align-items: center; gap: 22px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; box-shadow: var(--shadow-xs); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.22rem; letter-spacing: -.01em; }
.brand-text small { font-size: .68rem; letter-spacing: .09em; text-transform: uppercase; color: var(--ink-3); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; flex: 1; }
.nav a {
  position: relative; padding: 9px 12px; border-radius: 999px;
  font-size: .92rem; font-weight: 500; color: var(--ink-2); white-space: nowrap;
  transition: color .2s, background .2s;
}
.nav a:hover { color: var(--ink); background: rgba(206, 91, 51, .09); }
.nav a[aria-current="page"] { color: var(--terra); }
.header-actions { display: flex; align-items: center; gap: 7px; flex: none; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%; color: var(--ink);
  transition: background .2s, transform .2s var(--ease);
}
.icon-btn:hover { background: rgba(34, 30, 26, .06); }
.icon-btn:active { transform: scale(.94); }
.nav-toggle { display: none; }
.count {
  position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px;
  display: grid; place-items: center; border-radius: 999px;
  background: var(--terra); color: #fff; font-size: .68rem; font-weight: 700; line-height: 1;
  box-shadow: 0 0 0 2.5px var(--cream);
}
.icon-btn-heart.is-on { color: var(--terra); }
.cart-btn.is-bumped { animation: bump .45s var(--ease); }
@keyframes bump {
  0% { transform: scale(1); } 35% { transform: scale(1.22); } 60% { transform: scale(.96); } 100% { transform: scale(1); }
}
.hsearch {
  display: flex; align-items: center; gap: 9px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px;
  padding: 0 14px; height: 42px; width: 236px; flex: none;
  transition: border-color .2s, box-shadow .2s, width .3s var(--ease);
}
.hsearch:focus-within { border-color: var(--terra); box-shadow: 0 0 0 3px var(--terra-soft); }
.hsearch .icon { width: 17px; height: 17px; color: var(--ink-3); }
.hsearch input { border: 0; background: none; outline: none; width: 100%; font-size: .9rem; }
.hsearch-wrap { display: none; padding-bottom: 12px; }
.hsearch-mobile { width: 100%; }

.mobile-nav { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.mobile-nav-panel {
  position: absolute; inset: 0 auto 0 0; width: min(340px, 88vw);
  background: var(--cream); border-right: 1px solid var(--line);
  padding: 18px; transform: translateX(-102%); transition: transform .4s var(--ease);
  overflow-y: auto;
}
.mobile-nav.is-open { pointer-events: auto; background: rgba(34, 30, 26, .38); }
.mobile-nav.is-open .mobile-nav-panel { transform: none; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.mobile-nav-links { display: flex; flex-direction: column; padding: 12px 0; }
.mobile-nav-links a { padding: 11px 6px; font-family: var(--font-display); font-size: 1.25rem; }
.mobile-nav-cats { display: flex; flex-direction: column; gap: 6px; padding-top: 12px; border-top: 1px solid var(--line); }
.mobile-nav-cats a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: var(--radius-sm); color: var(--ink-3); }
.mobile-nav-cats a:hover { background: var(--paper); }
.mobile-nav-cats span { display: flex; flex-direction: column; flex: 1; color: var(--ink); }
.mobile-nav-cats strong { font-size: .95rem; font-weight: 600; }
.mobile-nav-cats small { color: var(--ink-3); font-size: .8rem; }

/* 5. Buttons & forms ----------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 999px; font-size: .94rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .18s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn .icon { width: 18px; height: 18px; }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 8px 20px rgba(206, 91, 51, .26); }
.btn-primary:hover { background: var(--terra-dark); box-shadow: 0 12px 26px rgba(206, 91, 51, .32); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--line-2); background: var(--paper); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { border-color: var(--line-2); background: transparent; }
.btn-ghost:hover { background: var(--paper); }
.btn-block { width: 100%; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: .86rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-add { background: var(--ink); color: var(--cream); padding: 11px 18px; font-size: .88rem; }
.btn-add:hover { background: var(--terra); }
.btn-add .icon { width: 16px; height: 16px; }

.field { margin-bottom: 18px; }
.field label { display: block; font-size: .84rem; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field .hint { font-size: .78rem; color: var(--ink-3); margin-top: 6px; }
.input, .select, .textarea {
  width: 100%; padding: 12px 14px; background: var(--paper);
  border: 1px solid var(--line-2); border-radius: var(--radius-sm);
  transition: border-color .2s, box-shadow .2s;
}
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px var(--terra-soft); }
.textarea { min-height: 130px; resize: vertical; }
.select { appearance: none; padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23837A6D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 9l7 7 7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 17px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field.has-error .input, .field.has-error .select { border-color: #C0392B; box-shadow: 0 0 0 3px rgba(192, 57, 43, .12); }
.field-error { display: none; color: #B03A2E; font-size: .78rem; margin-top: 6px; font-weight: 500; }
.field.has-error .field-error { display: block; }
.checkline { display: flex; gap: 10px; align-items: flex-start; font-size: .88rem; color: var(--ink-2); cursor: pointer; }
.checkline input { margin: 4px 0 0; width: 17px; height: 17px; accent-color: var(--terra); flex: none; }
.form-note { font-size: .82rem; color: var(--ink-3); }
.form-note .icon { display: inline-block; vertical-align: -3px; margin-right: 4px; }

/* 6. Cards --------------------------------------------------------------- */
.card {
  display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.cat-ceramic { background: var(--t-ceramic); }
.cat-stoneware { background: var(--t-stoneware); }
.cat-glass { background: var(--t-glass); }
.cat-bud { background: var(--t-bud); }
.cat-tall { background: var(--t-tall); }
.cat-terracotta { background: var(--t-terracotta); }
.cat-concrete { background: var(--t-concrete); }
.cat-ribbed { background: var(--t-ribbed); }
.cat-handmade { background: var(--t-handmade); }
.cat-sets { background: var(--t-sets); }
.card-media-link { display: block; height: 100%; }
.art { width: 100%; height: 100%; transition: transform .5s var(--ease); }
.card:hover .art { transform: scale(1.045) rotate(-.6deg); }
.card-badges { position: absolute; top: 13px; left: 13px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.badge {
  display: inline-block; padding: 5px 11px; border-radius: 999px;
  font-size: .69rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
}
.badge-sale { background: var(--terra); }
.badge-new { background: var(--sage); }
.badge-best { background: var(--gold); color: #2A2213; }
.badge-off { background: rgba(255, 255, 255, .92); color: var(--terra-dark); border: 1px solid rgba(206, 91, 51, .3); }
.wish {
  position: absolute; top: 11px; right: 11px; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255, 255, 255, .86); backdrop-filter: blur(6px);
  color: var(--ink-2); box-shadow: var(--shadow-xs);
  transition: color .2s, transform .25s var(--ease), background .2s;
}
.wish:hover { transform: scale(1.1); color: var(--terra); }
.wish.is-on { color: #fff; background: var(--terra); }
.wish.is-on .icon { fill: currentColor; }
.card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 18px 20px; }
.card-cat { font-size: .72rem; letter-spacing: .11em; text-transform: uppercase; color: var(--ink-3); font-weight: 600; }
.card-title { margin: 6px 0 8px; font-size: 1.1rem; }
.card-title a:hover { color: var(--terra); }
.card-rating { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-bottom: 10px; }
.stars { position: relative; display: inline-block; line-height: 1; }
.stars .icon { width: 15px; height: 15px; }
.stars-bg { display: flex; gap: 2px; color: var(--line-2); }
.stars-bg .icon { fill: currentColor; stroke: none; }
.stars-fg { position: absolute; inset: 0; display: flex; gap: 2px; overflow: hidden; color: var(--gold); }
.stars-fg .icon { fill: currentColor; stroke: none; }
.rating-count { font-size: .78rem; color: var(--ink-3); }
.card-blurb { font-size: .87rem; color: var(--ink-3); margin: 0 0 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; }
.card-price { display: flex; align-items: baseline; gap: 8px; }
.price { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.price-was { color: var(--ink-3); font-size: .88rem; }
.stock-note { margin: 12px 0 0; font-size: .78rem; font-weight: 600; color: var(--terra-dark); }

/* 7. Hero & home sections ------------------------------------------------ */
.hero { position: relative; overflow: hidden; padding: clamp(46px, 6vw, 84px) 0 clamp(56px, 7vw, 96px); }
.hero::before {
  content: ""; position: absolute; top: -22%; right: -12%; width: 62vw; height: 62vw; max-width: 820px; max-height: 820px;
  background: radial-gradient(circle at 50% 50%, rgba(206, 91, 51, .14), rgba(206, 91, 51, 0) 66%);
  pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: -30%; left: -18%; width: 48vw; height: 48vw; max-width: 620px; max-height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(111, 140, 107, .16), rgba(111, 140, 107, 0) 68%);
  pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: clamp(34px, 5vw, 64px); grid-template-columns: 1.02fr .98fr; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero-trust div { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--ink-2); }
.hero-trust .icon { width: 19px; height: 19px; color: var(--sage); }
.hero-stack { position: relative; aspect-ratio: 1 / 1; }
.hero-blob {
  position: absolute; inset: 6% 4% 10% 6%;
  background: linear-gradient(158deg, #F7E7D8, #EFD3BC 62%, #E4DCC8);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  box-shadow: var(--shadow-md);
  animation: blob 18s ease-in-out infinite;
}
@keyframes blob {
  0%, 100% { border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%; }
  50% { border-radius: 54% 46% 58% 42% / 44% 56% 48% 52%; }
}
.hero-float {
  position: absolute; background: var(--paper); border-radius: var(--radius);
  box-shadow: var(--shadow-md); padding: 12px; border: 1px solid rgba(255, 255, 255, .7);
}
.hero-float .art { border-radius: var(--radius-sm); }
.hero-float-1 { top: 4%; left: -2%; width: 45%; animation: floaty 7s ease-in-out infinite; }
.hero-float-2 { bottom: 5%; right: -3%; width: 47%; animation: floaty 8.5s ease-in-out .6s infinite; }
.hero-float-3 { bottom: 27%; left: -9%; width: 29%; animation: floaty 9.5s ease-in-out .3s infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-tag {
  position: absolute; top: 12%; right: 2%; background: var(--paper); border-radius: 999px;
  padding: 9px 15px; font-size: .78rem; font-weight: 600; box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 8px;
}
.hero-tag .icon { width: 16px; height: 16px; color: var(--gold); }

.cat-strip { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cat-tile {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.cat-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--line-2); }
.cat-tile .cat-ico {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--terra-soft); color: var(--terra); flex: none;
}
.cat-tile:nth-child(2) .cat-ico { background: var(--sage-soft); color: var(--sage); }
.cat-tile:nth-child(3) .cat-ico { background: #F3E7DC; color: #A9764A; }
.cat-tile:nth-child(4) .cat-ico { background: #E4EBF2; color: var(--sky); }
.cat-tile:nth-child(5) .cat-ico { background: #EDF1E3; color: #7C8F52; }
.cat-tile span { display: flex; flex-direction: column; }
.cat-tile strong { font-size: .96rem; }
.cat-tile small { color: var(--ink-3); font-size: .8rem; }

.features { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature { padding: 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.feature .icon { width: 26px; height: 26px; color: var(--terra); margin-bottom: 14px; }
.feature h3 { font-size: 1rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 6px; }
.feature p { margin: 0; font-size: .87rem; color: var(--ink-3); }

.promo { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: var(--cream); }
.promo-copy { padding: clamp(30px, 4.4vw, 58px); }
.promo-copy h2 { color: var(--cream); }
.promo-copy p { color: rgba(251, 246, 239, .74); max-width: 44ch; }
.promo-code { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 26px; padding: 9px 16px; border-radius: 999px; border: 1.5px dashed rgba(251, 246, 239, .45); font-weight: 700; letter-spacing: .14em; }
.promo-art { background: linear-gradient(158deg, #3A342C, #221E1A); display: grid; place-items: center; padding: 26px; }
.promo-art .art { max-width: 330px; }
.newsletter { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.newsletter-form { display: flex; gap: 10px; width: 100%; max-width: 470px; }
.newsletter-form .input { border-radius: 999px; }
.newsletter-msg { font-size: .85rem; min-height: 1.3em; }
.newsletter-msg.ok { color: var(--sage); }
.newsletter-msg.err { color: #B03A2E; }

/* 8. Drawer, toast, misc ------------------------------------------------ */
.backdrop {
  position: fixed; inset: 0; background: rgba(34, 30, 26, .42);
  opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 95;
  backdrop-filter: blur(2px);
}
body.drawer-open .backdrop { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(430px, 100%); z-index: 100;
  background: var(--cream); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; transform: translateX(101%);
  transition: transform .42s var(--ease); box-shadow: var(--shadow-lg);
}
body.drawer-open .drawer { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.2rem; display: flex; align-items: center; gap: 9px; }
.drawer-count { font-family: var(--font-body); font-size: .78rem; font-weight: 700; color: var(--paper); background: var(--ink); border-radius: 999px; padding: 2px 9px; position: static; height: auto; min-width: 0; box-shadow: none; }
.drawer-count:empty { display: none; }
.drawer-body { flex: 1; overflow-y: auto; padding: 18px 20px; }
.drawer-lines { display: flex; flex-direction: column; gap: 16px; }
.drawer-line { display: grid; grid-template-columns: 78px 1fr auto; gap: 13px; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.dl-media { border-radius: var(--radius-xs); overflow: hidden; }
.dl-name { font-weight: 600; font-size: .93rem; display: block; }
.dl-name:hover { color: var(--terra); }
.dl-opt { font-size: .78rem; color: var(--ink-3); display: block; margin-top: 2px; }
.dl-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.dl-remove { color: var(--ink-3); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.dl-remove:hover { color: var(--terra); background: var(--terra-soft); }
.dl-remove .icon { width: 15px; height: 15px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; background: var(--paper); overflow: hidden; }
.stepper button { width: 38px; height: 40px; display: grid; place-items: center; color: var(--ink-2); }
.stepper button:hover { background: var(--shell); color: var(--terra); }
.stepper span { min-width: 34px; text-align: center; font-weight: 600; font-size: .92rem; }
.stepper-sm button { width: 30px; height: 30px; }
.stepper-sm .icon { width: 14px; height: 14px; }
.stepper-sm span { min-width: 26px; font-size: .85rem; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); background: var(--paper); }
.drawer-foot .btn { margin-top: 8px; }
.drawer-total { display: flex; align-items: center; justify-content: space-between; font-size: 1.05rem; margin: 14px 0 6px; }
.drawer-total strong { font-family: var(--font-display); font-size: 1.3rem; }
.drawer-note { font-size: .78rem; color: var(--ink-3); margin: 0 0 12px; }
.ship-bar { margin-bottom: 4px; }
.ship-bar p { font-size: .84rem; margin: 0 0 8px; color: var(--ink-2); }
.ship-bar .bar { height: 6px; border-radius: 999px; background: var(--shell); overflow: hidden; }
.ship-bar .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--terra)); border-radius: 999px; transition: width .5s var(--ease); }
.ship-bar-ok { display: flex; align-items: center; gap: 9px; color: var(--sage); }
.ship-bar-ok p { margin: 0; color: var(--sage); font-weight: 600; }
.ship-bar-ok .icon { width: 18px; height: 18px; }
.drawer-empty { text-align: center; padding: 40px 10px; }
.drawer-empty .icon { width: 46px; height: 46px; color: var(--line-2); margin: 0 auto 16px; }
.drawer-empty p { color: var(--ink-3); font-size: .9rem; }

.toasts { position: fixed; bottom: 22px; right: 22px; z-index: 120; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 10px; padding: 12px 18px;
  background: var(--ink); color: var(--cream); border-radius: 999px;
  font-size: .87rem; font-weight: 500; box-shadow: var(--shadow-md);
  transform: translateY(14px) scale(.96); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  max-width: 330px;
}
.toast.is-in { transform: none; opacity: 1; }
.toast .icon { width: 17px; height: 17px; flex: none; }
.toast-ok { background: var(--sage); }

/* 9. Shop page ----------------------------------------------------------- */
.page-head { padding: 42px 0 26px; border-bottom: 1px solid var(--line); }
.breadcrumb { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-3); margin-bottom: 14px; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--terra); }
.breadcrumb .icon { width: 13px; height: 13px; }
.page-head h1 { margin-bottom: 8px; }
.shop-layout { display: grid; grid-template-columns: 262px 1fr; gap: 40px; padding: 34px 0 80px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 18px); }
.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group h3 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 14px; }
.filter-list { display: flex; flex-direction: column; gap: 4px; }
.filter-list label { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: .9rem; cursor: pointer; color: var(--ink-2); }
.filter-list label:hover { color: var(--ink); }
.filter-list input { width: 17px; height: 17px; accent-color: var(--terra); }
.filter-list .fc { margin-left: auto; font-size: .78rem; color: var(--ink-3); }
.range-row { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--ink-2); margin-bottom: 10px; }
input[type="range"] { width: 100%; accent-color: var(--terra); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.shop-toolbar p { margin: 0; font-size: .88rem; color: var(--ink-3); }
.toolbar-right { display: flex; align-items: center; gap: 12px; }
.toolbar-right .select { width: auto; min-width: 170px; padding: 9px 38px 9px 14px; font-size: .88rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px;
  border-radius: 999px; background: var(--paper); border: 1px solid var(--line-2);
  font-size: .82rem; font-weight: 500;
}
.chip button { display: grid; place-items: center; color: var(--ink-3); }
.chip button:hover { color: var(--terra); }
.chip .icon { width: 13px; height: 13px; }
.chip-clear { background: none; border-style: dashed; color: var(--ink-3); }
.filter-toggle { display: none; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--paper); }
.empty-state .icon { width: 42px; height: 42px; color: var(--line-2); margin: 0 auto 16px; }
.empty-state h3 { font-size: 1.3rem; }
.empty-state p { color: var(--ink-3); }

/* 10. Product page ------------------------------------------------------- */
.product-layout { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(30px, 4.5vw, 62px); padding: 30px 0 70px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; border: 1px solid var(--line); }
.gallery-stage .badge-float { position: absolute; top: 18px; left: 18px; display: flex; gap: 8px; }
.gallery-stage .wish { top: 16px; right: 16px; width: 44px; height: 44px; }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs button { width: 88px; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); transition: border-color .2s, transform .2s var(--ease); }
.gallery-thumbs button:hover { transform: translateY(-2px); }
.gallery-thumbs button.is-active { border-color: var(--terra); box-shadow: 0 0 0 3px var(--terra-soft); }
.buybox .card-cat { display: block; margin-bottom: 8px; }
.buybox h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.buy-rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.price-row .price { font-size: 1.85rem; }
.save-pill { background: var(--terra-soft); color: var(--terra-dark); font-size: .78rem; font-weight: 700; padding: 4px 11px; border-radius: 999px; }
.buy-blurb { color: var(--ink-2); margin: 14px 0 22px; }
.option-group { margin-bottom: 20px; }
.option-group h3 { font-family: var(--font-body); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.option-group h3 span { text-transform: none; letter-spacing: 0; color: var(--ink-2); font-weight: 600; margin-left: 6px; }
.options { display: flex; flex-wrap: wrap; gap: 9px; }
.opt {
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  background: var(--paper); font-size: .87rem; transition: border-color .2s, background .2s, color .2s;
}
.opt:hover { border-color: var(--ink-3); }
.opt.is-active { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.buy-actions { display: flex; gap: 12px; margin: 24px 0 18px; }
.buy-actions .btn-primary { flex: 1; }
.buy-meta { display: flex; flex-direction: column; gap: 12px; padding: 20px 0 0; border-top: 1px solid var(--line); margin-top: 8px; }
.meta-row { display: flex; align-items: center; gap: 11px; font-size: .87rem; color: var(--ink-2); }
.meta-row .icon { width: 19px; height: 19px; color: var(--sage); flex: none; }
.stock-inline { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--sage); }
.stock-inline.low { color: var(--terra-dark); }
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.tabs { margin-top: 26px; border-top: 1px solid var(--line); }
.acc { border-bottom: 1px solid var(--line); }
.acc-head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 17px 2px; font-family: var(--font-body); font-weight: 700; font-size: .95rem; text-align: left; }
.acc-head .icon { width: 18px; height: 18px; color: var(--ink-3); transition: transform .3s var(--ease); }
.acc.is-open .acc-head .icon { transform: rotate(180deg); }
.acc-panel { display: none; padding: 0 2px 20px; color: var(--ink-2); font-size: .9rem; }
.acc.is-open .acc-panel { display: block; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.spec-list { display: grid; gap: 0; }
.spec-list div { display: flex; justify-content: space-between; gap: 20px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .88rem; }
.spec-list span:first-child { color: var(--ink-3); }
.spec-list span:last-child { font-weight: 600; text-align: right; }
.reviews { padding: 60px 0; border-top: 1px solid var(--line); }
.review-summary { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; padding: 26px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 30px; }
.review-score { font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.review-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.review-name { font-weight: 600; font-size: .9rem; }
.review-date { font-size: .78rem; color: var(--ink-3); }
.review h4 { font-family: var(--font-body); font-size: .95rem; margin: 8px 0 6px; }
.review p { margin: 0; font-size: .88rem; color: var(--ink-2); }
.verified { display: inline-flex; align-items: center; gap: 5px; font-size: .74rem; color: var(--sage); font-weight: 600; }
.verified .icon { width: 13px; height: 13px; }

/* 11. Cart & checkout ---------------------------------------------------- */
.cart-layout { display: grid; grid-template-columns: 1.5fr .85fr; gap: 40px; padding: 34px 0 80px; align-items: start; }
.cart-lines { display: flex; flex-direction: column; }
.cart-line { display: grid; grid-template-columns: 132px 1fr auto; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cl-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.cl-name { font-family: var(--font-display); font-size: 1.18rem; display: block; margin-bottom: 4px; }
.cl-name:hover { color: var(--terra); }
.cl-opt { font-size: .82rem; color: var(--ink-3); display: block; margin-bottom: 10px; }
.cl-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.link-quiet { font-size: .82rem; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; }
.link-quiet:hover { color: var(--terra); }
.cl-price { text-align: right; }
.cl-price strong { font-family: var(--font-display); font-size: 1.2rem; display: block; }
.cl-price small { color: var(--ink-3); font-size: .78rem; }
.summary-card { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.summary-card h2 { font-size: 1.3rem; margin-bottom: 20px; }
.sum-row { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; font-size: .92rem; color: var(--ink-2); }
.sum-row.discount { color: var(--sage); font-weight: 600; }
.sum-total { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.sum-total span { font-weight: 600; }
.sum-total strong { font-family: var(--font-display); font-size: 1.6rem; }
.promo-row { display: flex; gap: 9px; margin: 18px 0 8px; }
.promo-row .input { flex: 1; }
.promo-msg { font-size: .82rem; margin: 4px 0 0; }
.promo-msg.ok { color: var(--sage); }
.promo-msg.err { color: #B03A2E; }
.applied-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 0; padding: 11px 14px; background: var(--sage-soft); border-radius: var(--radius-sm); font-size: .85rem; color: #3E5539; font-weight: 600; }
.applied-code button { color: inherit; text-decoration: underline; font-size: .8rem; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: .78rem; color: var(--ink-3); }
.pay-note .icon { width: 15px; height: 15px; }
.checkout-layout { display: grid; grid-template-columns: 1.25fr .8fr; gap: 44px; padding: 34px 0 80px; align-items: start; }
.co-block { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; margin-bottom: 22px; }
.co-block > h2 { font-size: 1.2rem; display: flex; align-items: center; gap: 11px; }
.step-num { width: 27px; height: 27px; border-radius: 50%; background: var(--ink); color: var(--cream); display: grid; place-items: center; font-family: var(--font-body); font-size: .82rem; font-weight: 700; flex: none; }
.ship-options { display: grid; gap: 12px; }
.ship-option { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; transition: border-color .2s, background .2s; }
.ship-option:hover { border-color: var(--ink-3); }
.ship-option.is-active { border-color: var(--terra); background: var(--terra-soft); }
.ship-option input { accent-color: var(--terra); }
.ship-option .so-body { flex: 1; }
.ship-option strong { display: block; font-size: .92rem; }
.ship-option small { color: var(--ink-3); font-size: .8rem; }
.ship-option .so-price { font-weight: 700; font-size: .92rem; }
.co-summary { position: sticky; top: calc(var(--header-h) + 20px); }
.co-mini-line { display: grid; grid-template-columns: 58px 1fr auto; gap: 13px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.co-mini-line span { display: block; font-size: .87rem; font-weight: 600; }
.co-mini-line small { color: var(--ink-3); font-size: .78rem; }
.co-media { border-radius: var(--radius-xs); overflow: hidden; }
.success-panel { max-width: 660px; margin: 0 auto; text-align: center; padding: 60px 0 90px; }
.success-mark { width: 82px; height: 82px; border-radius: 50%; background: var(--sage-soft); color: var(--sage); display: grid; place-items: center; margin: 0 auto 24px; }
.success-mark .icon { width: 40px; height: 40px; }
.order-box { text-align: left; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 30px 0; }

/* 12. Static pages, footer, responsive ---------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { margin-top: 2em; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 1.4em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px; margin-top: 34px; }
.stat { padding: 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.stat strong { display: block; font-family: var(--font-display); font-size: 1.9rem; }
.stat span { font-size: .84rem; color: var(--ink-3); }
.value-list { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.value { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.value .num { font-family: var(--font-display); font-size: 1.1rem; color: var(--terra); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 34px 0 80px; align-items: start; }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.contact-list { display: flex; flex-direction: column; gap: 18px; }
.contact-list a, .contact-list div { display: flex; gap: 13px; align-items: flex-start; font-size: .92rem; color: var(--ink-2); }
.contact-list .icon { width: 20px; height: 20px; color: var(--terra); flex: none; margin-top: 3px; }
.wish-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

.footer { background: var(--ink); color: rgba(251, 246, 239, .78); padding: 62px 0 26px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer .logo-mark { width: 34px; height: 34px; margin-bottom: 16px; }
.footer-brand p { font-size: .88rem; max-width: 42ch; }
.footer-contact { display: flex; align-items: center; gap: 9px; font-size: .86rem; margin: 8px 0; }
.footer-contact .icon { width: 16px; height: 16px; color: var(--terra); flex: none; }
.footer-contact a:hover { color: var(--cream); text-decoration: underline; text-underline-offset: 3px; }
.footer-col h4 { color: var(--cream); font-family: var(--font-body); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: .88rem; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(251, 246, 239, .14); flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: .8rem; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { font-size: .7rem; letter-spacing: .04em; padding: 5px 10px; border: 1px solid rgba(251, 246, 239, .24); border-radius: 6px; }

@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: inline-grid; }
  .header-inner { gap: 12px; }
  .brand { flex: 1; }
  .hsearch { display: none; }
  .hsearch-wrap { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  /* width must stay definite: auto margins on a grid item cancel stretching
     and would collapse the aspect-ratio box to zero */
  .hero-stack { justify-self: center; width: min(100%, 520px); }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; margin-bottom: 26px; }
  .filter-toggle { display: inline-flex; }
  .product-layout { grid-template-columns: 1fr; }
  .gallery { position: static; }
  .cart-layout, .checkout-layout, .contact-grid { grid-template-columns: 1fr; }
  .summary-card, .co-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 18px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
  .card-body { padding: 15px; }
  .card-blurb { display: none; }
  .promo { grid-template-columns: 1fr; }
  .promo-art { order: -1; padding: 14px; }
  .split { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 92px 1fr; gap: 14px; }
  .cl-price { grid-column: 2; text-align: left; }
  .buy-actions { position: sticky; bottom: 0; background: var(--cream); padding: 12px 0; margin-bottom: 0; }
  .gallery-thumbs button { width: 66px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .toasts { left: 16px; right: 16px; bottom: 16px; }
  .toast { max-width: none; }
  .hero-float-3 { display: none; }
  .hero-stack { width: min(100%, 330px); }
  .review-summary { gap: 18px; }
}

@media (min-width: 721px) {
  .btn-add span { display: inline; }
}

@media print {
  .header, .footer, .announce, .drawer, .backdrop, .toasts { display: none !important; }
}

/* ---------------------------------------------------------------- vases
   The artwork class used by every product illustration, plus the components
   that are new to this catalogue: dimensions line, load-more and promo frame. */
.vase { width: 100%; height: 100%; transition: transform .5s var(--ease); }

/* real photographs take over from the illustration when a product has one */
.photo {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%;
  display: block; background: var(--shell); transition: transform .5s var(--ease);
}
.card:hover .photo { transform: scale(1.04) rotate(-.4deg); }
.photo-detail { object-position: 50% 38%; }
.photo-alt { object-position: 50% 64%; }
.card:hover .vase { transform: scale(1.045) rotate(-.6deg); }
.card-media .vase { padding: 6px 10px; }
.card-dims {
  margin: 0 0 8px; font-size: .74rem; letter-spacing: .01em;
  color: var(--ink-3); text-transform: none;
}
.load-wrap { display: flex; justify-content: center; padding: 34px 0 6px; }
.promo-frame { background: var(--cream); border-radius: 24px; padding: 12px; width: 100%; max-width: 340px; }
.review-score { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.stars .icon { fill: currentColor; stroke: none; }
.stars-bg, .stars-fg { display: flex; gap: 2px; }

/* product page gallery sits on the collection tint */
.gallery-stage { background: var(--t-ceramic); }
.gallery-stage.cat-ceramic { background: var(--t-ceramic); }
.gallery-stage.cat-stoneware { background: var(--t-stoneware); }
.gallery-stage.cat-glass { background: var(--t-glass); }
.gallery-stage.cat-bud { background: var(--t-bud); }
.gallery-stage.cat-tall { background: var(--t-tall); }
.gallery-stage.cat-terracotta { background: var(--t-terracotta); }
.gallery-stage.cat-concrete { background: var(--t-concrete); }
.gallery-stage.cat-ribbed { background: var(--t-ribbed); }
.gallery-stage.cat-handmade { background: var(--t-handmade); }
.gallery-stage.cat-sets { background: var(--t-sets); }

/* collections dropdown in the header */
.nav-drop { position: relative; }
.nav-drop-btn {
  display: flex; align-items: center; gap: 5px; padding: 9px 12px;
  border-radius: 999px; font-size: .92rem; font-weight: 500; color: var(--ink-2);
}
.nav-drop-btn .icon { width: 15px; height: 15px; transition: transform .25s var(--ease); }
.nav-drop:hover .nav-drop-btn, .nav-drop.is-open .nav-drop-btn { color: var(--ink); background: rgba(194, 96, 58, .09); }
.nav-drop:hover .nav-drop-btn .icon, .nav-drop.is-open .nav-drop-btn .icon { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 290px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 8px; z-index: 70;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.nav-drop:hover .nav-drop-panel, .nav-drop:focus-within .nav-drop-panel, .nav-drop.is-open .nav-drop-panel {
  opacity: 1; visibility: visible; transform: none;
}
.nav-drop-panel a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 9px 13px; border-radius: 10px; font-size: .9rem; color: var(--ink-2);
}
.nav-drop-panel a:hover { background: var(--shell); color: var(--ink); }
.nav-drop-panel small { color: var(--ink-3); font-size: .78rem; font-weight: 600; }
