/* UG Craft Concepts — storefront. Tokens from the UG design system. */
:root {
  --surface-100: #faf6ef; --surface-200: #f3ebde; --surface-0: #fffdf9; --line: #e8dcc8;
  --ink: #2a2119; --ink-muted: #6e5f4e;
  --jute: #b8915a; --jute-tint: #efe2cc; --umber: #6b4a2b;
  --cobalt: #1f3fa8; --cobalt-text: #1f3fa8; --on-cobalt: #fff;
  --sunflower: #f2b41c; --ivy: #3f6b3a; --clay: #b5523b; --wa: #1f9d55; --danger: #a3341f;
  --space-1: 8px; --space-2: 16px; --space-3: 24px; --space-4: 48px; --space-5: 72px;
  --radius-sm: 10px; --radius-md: 18px; --radius-lg: 28px; --radius-full: 9999px;
  --shadow-1: 0 1px 2px rgba(42,33,25,.06), 0 4px 14px rgba(42,33,25,.06);
  --shadow-2: 0 10px 30px rgba(42,33,25,.14);
  --ease: cubic-bezier(.2,.8,.2,1); --spring: cubic-bezier(.34,1.56,.64,1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in .32s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--surface-100); color: var(--ink); font: 16px/24px var(--font-sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--cobalt-text); }
button { font: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 var(--space-2); line-height: 1.1; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 18px; line-height: 1.25; }
p { margin: 0 0 var(--space-2); }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--space-3); }
.wrap-narrow { max-width: 780px; margin: 0 auto; padding: 0 var(--space-3); }
.section { padding-top: var(--space-4); padding-bottom: var(--space-2); }
.center { text-align: center; }
.muted { color: var(--ink-muted); }
.small { font-size: 13px; line-height: 18px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; line-height: 16px; font-weight: 700; letter-spacing: 1.3px; text-transform: uppercase; color: var(--umber); margin: 0 0 var(--space-1); }
.eyebrow svg { width: 16px; height: 16px; }
.eyebrow.light { color: rgba(255,255,255,.85); }
.lede { font-size: 19px; line-height: 29px; color: var(--ink-muted); max-width: 40em; }
.empty { padding: var(--space-4) 0; color: var(--ink-muted); text-align: center; }
.alert { background: #fbe9e4; color: #7a2412; border-radius: var(--radius-sm); padding: 12px var(--space-2); }
:focus-visible { outline: 3px solid var(--sunflower); outline-offset: 2px; }
.link-btn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  background: var(--cobalt); color: var(--on-cobalt); font: 600 15px/20px var(--font-sans); padding: 14px 26px; border-radius: var(--radius-full);
  transition: transform .25s var(--spring), box-shadow .25s var(--ease), background .2s; box-shadow: 0 6px 18px rgba(31,63,168,.22); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31,63,168,.3); }
.btn:active { transform: translateY(0) scale(.97); }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--jute); }
.btn.ghost:hover { background: var(--jute-tint); }
.btn.light { background: #fff; color: var(--ink); box-shadow: 0 6px 18px rgba(0,0,0,.15); }
.btn.wa { background: var(--wa); box-shadow: 0 6px 18px rgba(31,157,85,.25); width: 100%; }
.btn.danger { background: var(--danger); box-shadow: none; }
.btn.grow { flex: 1; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.round { width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow-1); display: grid; place-items: center; cursor: pointer; color: var(--ink); transition: transform .2s var(--spring), opacity .2s; }
.round:hover { transform: scale(1.08); }
.round:disabled { opacity: .35; cursor: default; transform: none; }
.round svg { width: 18px; height: 18px; }

/* Floating glass top bar */
.topbar { position: sticky; top: 0; z-index: 30; padding: 12px var(--space-2) 0; }
.topbar-inner { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: var(--space-2); padding: 8px 10px 8px 14px;
  background: rgba(255,253,249,.78); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid rgba(232,220,200,.8); border-radius: var(--radius-full); box-shadow: var(--shadow-1); transition: box-shadow .3s; }
.scrolled .topbar-inner { box-shadow: var(--shadow-2); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.brand span { font-family: var(--font-display); font-weight: 600; font-size: 19px; line-height: 1; white-space: nowrap; }
.brand em { font-style: normal; color: var(--cobalt); }
.brand img { transition: transform .6s var(--spring); }
.brand:hover img { transform: rotate(-18deg) scale(1.06); }
.search { flex: 1; display: flex; align-items: center; gap: 8px; background: var(--surface-200); border-radius: var(--radius-full); padding: 0 16px; min-width: 0; transition: box-shadow .2s, background .2s; }
.search:focus-within { background: #fff; box-shadow: 0 0 0 2px var(--jute); }
.search svg { color: var(--ink-muted); width: 18px; height: 18px; }
.search input { border: 0; background: none; font: inherit; padding: 11px 0; width: 100%; color: var(--ink); outline: none; }
.main-nav { display: flex; gap: 2px; align-items: center; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 9px 14px; border-radius: var(--radius-full); font-weight: 500; transition: background .2s; }
.main-nav a:hover, .main-nav a.on { background: var(--jute-tint); }
.cart-pill { position: relative; display: grid !important; place-items: center; width: 44px; height: 44px; padding: 0 !important; background: var(--ink) !important; color: #fff !important; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--sunflower); color: var(--ink); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.bump { animation: bump .5s var(--spring); }
@keyframes bump { 30% { transform: scale(1.35); } }

/* Category chips */
.chips-row { display: flex; gap: 10px; overflow-x: auto; padding-top: var(--space-3); padding-bottom: 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.chips-row::-webkit-scrollbar { display: none; }
.chips-row.tight { padding-top: 0; padding-left: 0; padding-right: 0; margin-bottom: var(--space-3); }
.chip { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 5px 16px 5px 5px; border-radius: var(--radius-full); background: #fff; box-shadow: var(--shadow-1);
  text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14px; scroll-snap-align: start; transition: transform .25s var(--spring), background .2s; white-space: nowrap; }
.chip:not(:has(img)) { padding-left: 16px; }
.chip img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.chip:hover { transform: translateY(-2px); }
.chip.on { background: var(--ink); color: #fff; }

/* Hero carousel */
.hero { position: relative; margin-top: var(--space-2); }
.hero > .slide:first-of-type { position: relative; }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: var(--space-3);
  border-radius: var(--radius-lg); overflow: hidden; padding: var(--space-4) var(--space-4); min-height: 520px; color: #fff;
  opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility 0s .8s; }
.slide.is-on { opacity: 1; visibility: visible; transition: opacity .8s var(--ease); z-index: 1; }
.tone-cobalt { background: radial-gradient(120% 120% at 100% 0%, #3557c6 0%, #1f3fa8 45%, #172f80 100%); }
.tone-jute { background: radial-gradient(120% 120% at 100% 0%, #d1ad76 0%, #b8915a 50%, #8d6a3a 100%); }
.tone-umber { background: radial-gradient(120% 120% at 100% 0%, #8a6440 0%, #6b4a2b 50%, #3f2b17 100%); }
.tone-ivy { background: radial-gradient(120% 120% at 100% 0%, #5c8a52 0%, #3f6b3a 50%, #2a4a26 100%); }
.slide-copy { order: -1; max-width: 520px; }
.slide-copy h1 { font-size: clamp(38px, 5.4vw, 66px); line-height: 1; margin-bottom: var(--space-2); }
.slide-copy p { font-size: 18px; line-height: 27px; opacity: .92; margin-bottom: var(--space-3); }
.slide-copy > * { opacity: 0; transform: translateY(18px); }
.slide.is-on .slide-copy > * { animation: rise .8s var(--ease) both; }
.slide.is-on .slide-copy > *:nth-child(2) { animation-delay: .08s; }
.slide.is-on .slide-copy > *:nth-child(3) { animation-delay: .16s; }
.slide.is-on .slide-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes rise { to { opacity: 1; transform: none; } }
.slide-art { position: relative; height: 100%; min-height: 420px; }
.art-main { position: absolute; inset: 0 8% 0 12%; border-radius: 22px; overflow: hidden; box-shadow: 0 24px 50px rgba(0,0,0,.28); color: #fff; text-decoration: none; }
.art-main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.slide.is-on .art-main img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.art-main span { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: var(--radius-full); background: rgba(0,0,0,.45); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; }
.art-acc { position: absolute; width: 30%; aspect-ratio: 4/5; border-radius: 16px; overflow: hidden; border: 4px solid rgba(255,255,255,.9); box-shadow: 0 16px 34px rgba(0,0,0,.3); }
.art-acc img { width: 100%; height: 100%; object-fit: cover; }
.acc-0 { left: -2%; bottom: -4%; transform: rotate(-6deg); }
.acc-1 { right: -2%; top: -4%; transform: rotate(7deg); }
.slide.is-on .acc-0 { animation: float-in-l 1s .15s var(--spring) both; }
.slide.is-on .acc-1 { animation: float-in-r 1s .3s var(--spring) both; }
@keyframes float-in-l { from { opacity: 0; transform: translate(-30px, 30px) rotate(-14deg); } to { opacity: 1; transform: rotate(-6deg); } }
@keyframes float-in-r { from { opacity: 0; transform: translate(30px, -30px) rotate(14deg); } to { opacity: 1; transform: rotate(7deg); } }
.art-acc:hover { z-index: 2; }
.hero-dots { position: absolute; z-index: 3; left: var(--space-4); bottom: 26px; display: flex; gap: 8px; }
.hero-dots button { width: 34px; height: 6px; border-radius: 3px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; overflow: hidden; }
.hero-dots button i { display: block; height: 100%; width: 0; background: #fff; }
.hero-dots button[aria-selected="true"] i { animation: progress 6s linear both; }
.hero.paused .hero-dots button[aria-selected="true"] i { animation-play-state: paused; }
@keyframes progress { to { width: 100%; } }

/* Section heads & rails */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-2); margin-bottom: var(--space-2); }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; }
.see-all { font-weight: 600; text-decoration: none; color: var(--ink); padding: 8px 14px; border-radius: var(--radius-full); background: #fff; box-shadow: var(--shadow-1); }
.rail-ctl { display: flex; gap: 8px; align-items: center; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: var(--space-2); overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 6px max(var(--space-3), calc((100vw - 1240px) / 2 + var(--space-3))) 18px; scroll-padding-inline: max(var(--space-3), calc((100vw - 1240px) / 2 + var(--space-3))); scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.rail .card { scroll-snap-align: start; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: var(--space-3) var(--space-2); }
.grid.small { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.card { display: block; text-decoration: none; color: var(--ink); }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-md); overflow: hidden; background: var(--surface-200); margin-bottom: 12px;
  box-shadow: var(--shadow-1); transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card-img { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.card:hover .card-img img { transform: scale(1.07); }
.card h3 { margin: 2px 0 4px; font-family: var(--font-sans); font-weight: 600; font-size: 16px; }
.card .eyebrow { font-size: 11px; margin: 0; color: var(--ink-muted); }
.flag { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: var(--radius-full); font-size: 11px; font-weight: 700; background: rgba(255,255,255,.92); color: var(--ink); }
.flag.fav { left: auto; right: 10px; background: var(--sunflower); }
.flag + .flag.fav { top: 10px; }
.price { font-weight: 700; color: var(--umber); margin: 0; }
.price.big { font-size: 26px; line-height: 32px; margin-bottom: var(--space-1); font-family: var(--font-display); }

/* Collection tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; padding: 18px; border-radius: var(--radius-md);
  overflow: hidden; color: #fff; text-decoration: none; transition: transform .35s var(--spring), box-shadow .35s; }
.tile:first-child { grid-column: span 2; grid-row: span 2; min-height: 416px; }
/* 7 collections: the last two share the final row */
.tile:nth-child(n+6):nth-last-child(-n+2) { grid-column: span 2; }
.tile:nth-child(n+6):nth-last-child(-n+2) img { width: 40%; right: 4%; bottom: -20%; }
.tile:hover { transform: translateY(-4px) rotate(-.4deg); box-shadow: var(--shadow-2); }
.tile span { position: relative; z-index: 1; display: flex; flex-direction: column; }
.tile strong { font-family: var(--font-display); font-size: 22px; line-height: 1.1; }
.tile:first-child strong { font-size: 34px; }
.tile small { opacity: .85; font-size: 13px; margin-top: 4px; }
.tile img { position: absolute; right: -6%; bottom: -8%; width: 64%; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 5px solid rgba(255,255,255,.35);
  transition: transform .6s var(--ease); }
.tile:first-child img { width: 70%; }
.tile:hover img { transform: scale(1.06) rotate(4deg); }
.tile.tone-cobalt { background: var(--cobalt); } .tile.tone-jute { background: var(--jute); } .tile.tone-umber { background: var(--umber); }
.tile.tone-ivy { background: var(--ivy); } .tile.tone-clay { background: var(--clay); } .tile.tone-ink { background: var(--ink); }
.tile.tone-sunflower { background: var(--sunflower); color: var(--ink); }

/* Gift band */
.gift { display: grid; grid-template-columns: .9fr 1.1fr; gap: var(--space-4); align-items: center; margin-top: var(--space-4); padding: var(--space-4);
  background: var(--jute-tint); border-radius: var(--radius-lg); }
.gift-copy h2 { font-size: clamp(32px, 4.4vw, 50px); }
.gift-copy p { font-size: 17px; line-height: 27px; color: var(--ink-muted); }
.gift-art { position: relative; aspect-ratio: 1; max-width: 360px; justify-self: center; width: 100%; }
.gift-art i { position: absolute; inset: 0; border-radius: 50%; border: 18px solid var(--jute);
  background: repeating-conic-gradient(from 0deg, transparent 0 6deg, rgba(107,74,43,.18) 6deg 8deg); }
.gift-art i:nth-child(2) { inset: 18%; border-color: var(--cobalt); border-width: 10px; border-style: dotted; background: none; animation: spin 40s linear infinite; }
.gift-art i:nth-child(3) { inset: 38%; border: 0; background: var(--sunflower); box-shadow: 0 0 0 10px rgba(242,180,28,.25); animation: pulse 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { box-shadow: 0 0 0 22px rgba(242,180,28,.08); } }

/* Band */
.band { background: var(--cobalt); color: #fff; margin-top: var(--space-4); }
.band-row { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding-top: var(--space-4); padding-bottom: var(--space-4); flex-wrap: wrap; }
.band h2 { max-width: 22em; margin: 0; font-weight: 500; }

/* Shop page */
.shop-head { display: flex; justify-content: space-between; align-items: end; gap: var(--space-2); flex-wrap: wrap; margin-bottom: var(--space-2); }
.shop-head h1 { margin-bottom: 4px; }
.sort label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.sort select { border-radius: var(--radius-full); padding: 10px 14px; width: auto; }

/* Product page */
.product { display: grid; grid-template-columns: 1.1fr .9fr; gap: var(--space-4); align-items: start; }
.gallery { position: sticky; top: 96px; }
.main-frame { border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-200); box-shadow: var(--shadow-1); }
.main-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s var(--ease); cursor: zoom-in; }
.main-frame:hover .main-img { transform: scale(1.04); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.thumbs button { padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; width: 72px; height: 72px; cursor: pointer; background: none; }
.thumbs button.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.details h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.crumbs { font-size: 13px; color: var(--ink-muted); margin-bottom: 10px; }
.crumbs a { color: var(--ink-muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.stock { display: flex; align-items: center; gap: 8px; color: var(--ivy); font-weight: 600; }
.stock i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(63,107,58,.15); animation: pulse-dot 2s ease-in-out infinite; }
.stock.out { color: var(--ink-muted); }
.stock.out i { animation: none; box-shadow: none; }
@keyframes pulse-dot { 50% { box-shadow: 0 0 0 7px rgba(63,107,58,.05); } }
.buy { display: flex; gap: 10px; margin: var(--space-3) 0 10px; }
.qty-box { display: flex; align-items: center; border-radius: var(--radius-full); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); }
.qty-box button { width: 40px; height: 48px; border: 0; background: none; font-size: 18px; cursor: pointer; color: var(--ink); }
.qty-box input { width: 34px; border: 0; text-align: center; padding: 0; background: none; -moz-appearance: textfield; }
.qty-box input::-webkit-outer-spin-button, .qty-box input::-webkit-inner-spin-button { -webkit-appearance: none; }
.details > .btn.wa { margin: 6px 0 var(--space-3); }
.gift-note { display: flex; gap: 12px; align-items: flex-start; background: var(--jute-tint); border-radius: var(--radius-md); padding: 14px 16px; margin-bottom: var(--space-3); }
.gift-note svg { color: var(--umber); margin-top: 2px; }
.gift-note p { margin: 0; font-size: 14px; line-height: 21px; }
.desc summary { cursor: pointer; font-family: var(--font-display); font-size: 22px; padding: 12px 0; border-top: 1px solid var(--line); list-style: none; display: flex; justify-content: space-between; }
.desc summary::after { content: '+'; transition: transform .3s; }
.desc[open] summary::after { transform: rotate(45deg); }
.behind { border-top: 1px solid var(--line); padding-top: var(--space-2); margin-top: var(--space-2); }
.behind h2 { font-size: 20px; }
.behind a { display: block; font-weight: 600; text-decoration: none; padding: 4px 0; }

/* Prose / stories */
.prose { font-size: 16px; line-height: 27px; }
.prose ul { padding-left: 20px; }
.prose h2 { font-size: 24px; margin-top: var(--space-4); }
.prose img { border-radius: var(--radius-md); margin: var(--space-3) 0; }
.prose blockquote { margin: var(--space-3) 0; padding: 0 0 0 var(--space-3); font-family: var(--font-display); font-style: italic; font-size: 24px; line-height: 34px; color: var(--umber); border-left: 3px solid var(--sunflower); }
.story-card { text-decoration: none; color: var(--ink); display: block; }
.sc-img { aspect-ratio: 4 / 3; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 12px; }
.sc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.story-card:hover img { transform: scale(1.05); }
.story .cover { width: 100%; border-radius: var(--radius-lg); margin: var(--space-3) 0 var(--space-4); max-height: 560px; object-fit: cover; }
.in-story { border-top: 1px solid var(--line); margin-top: var(--space-4); padding-top: var(--space-3); }

/* Forms */
.form { display: grid; gap: var(--space-2); }
.form label { display: grid; gap: 6px; font-weight: 500; }
.form label small { font-weight: 400; color: var(--ink-muted); }
input, textarea, select { font: inherit; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 11px 13px; width: 100%; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--jute); box-shadow: 0 0 0 3px rgba(184,145,90,.2); }
textarea { resize: vertical; }
.check { display: flex !important; align-items: center; gap: 8px; font-weight: 500; }
.check input { width: auto; }

/* Cart */
.cart-rows { display: grid; gap: var(--space-2); margin-bottom: var(--space-3); }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto; gap: var(--space-2); align-items: center; padding: 12px; background: #fff; border-radius: var(--radius-md); box-shadow: var(--shadow-1); animation: rise .4s var(--ease) both; }
.cart-row img { width: 84px; height: 84px; object-fit: cover; border-radius: 12px; }
.cart-row h3 { font-size: 17px; margin: 0 0 4px; }
.cart-row a { color: var(--ink); text-decoration: none; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button, .remove { border: 0; background: var(--surface-200); border-radius: var(--radius-full); width: 30px; height: 30px; cursor: pointer; font-size: 16px; color: var(--ink); }
.remove { width: auto; padding: 0 12px; font-size: 13px; margin-top: 6px; }
.total-row { display: flex; justify-content: space-between; font-size: 20px; font-weight: 700; margin-bottom: var(--space-3); }
.summary { background: #fff; box-shadow: var(--shadow-1); border-radius: var(--radius-md); padding: var(--space-2) var(--space-3); margin-bottom: var(--space-3); }
.summary:empty { display: none; }
.summary .line { display: flex; justify-content: space-between; gap: var(--space-2); padding: 4px 0; }
.summary .line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 700; }
.thanks-ring { width: 120px; height: 120px; margin: 0 auto var(--space-3); border-radius: 50%; border: 14px solid var(--jute);
  background: repeating-conic-gradient(var(--sunflower) 0 10deg, transparent 10deg 20deg); animation: spin 18s linear infinite, rise .6s var(--spring) both; }

/* Footer */
.site-foot { background: #211a13; color: #e9dfd0; margin-top: var(--space-5); padding-bottom: 80px; }
.foot-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--space-3); padding-top: var(--space-4); padding-bottom: var(--space-3); }
.site-foot h2 { font-family: var(--font-sans); font-size: 12px; letter-spacing: 1.3px; text-transform: uppercase; color: var(--sunflower); }
.site-foot a, .site-foot .link-btn { display: block; color: #e9dfd0; text-decoration: none; padding: 3px 0; text-align: left; }
.site-foot a:hover, .site-foot .link-btn:hover { color: #fff; text-decoration: underline; }
.foot-tag { font-family: var(--font-display); font-size: 28px; line-height: 1.15; margin: 14px 0 6px; color: #fff; }
.foot-small { color: #b9ab98; font-size: 14px; max-width: 30em; }
.foot-base { border-top: 1px solid #3a3128; padding-top: var(--space-2); padding-bottom: var(--space-3); font-size: 13px; color: #b9ab98; }

/* Mobile tab bar */
.tabbar { display: none; }

/* WhatsApp chat */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 8px; padding: 14px 20px 14px 16px; border: 0; border-radius: var(--radius-full);
  background: var(--wa); color: #fff; font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(31,157,85,.4); transition: transform .3s var(--spring); animation: fab-in .7s 1s var(--spring) both; }
.chat-fab svg { width: 26px; height: 26px; }
.chat-fab::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(31,157,85,.5); animation: ring 2.6s 2s ease-out infinite; }
.chat-fab:hover { transform: translateY(-3px) scale(1.03); }
.chat-open .chat-fab { transform: scale(.85); opacity: 0; pointer-events: none; }
@keyframes fab-in { from { transform: translateY(40px) scale(.6); opacity: 0; } }
@keyframes ring { 70%, 100% { box-shadow: 0 0 0 16px rgba(31,157,85,0); } }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 41; width: min(380px, calc(100vw - 24px)); background: var(--surface-0); border-radius: 24px; box-shadow: 0 24px 60px rgba(42,33,25,.3);
  overflow: hidden; transform-origin: bottom right; animation: chat-in .45s var(--spring) both; }
.chat[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(20px) scale(.9); } }
.chat header { display: flex; align-items: center; gap: 10px; padding: 14px 14px 14px 16px; background: var(--wa); color: #fff; }
.chat header img { background: #fff; border-radius: 50%; }
.chat header div { flex: 1; display: grid; }
.chat header small { opacity: .9; font-size: 12px; display: flex; align-items: center; gap: 6px; }
.chat .dot { width: 8px; height: 8px; border-radius: 50%; background: #b7f5c9; display: inline-block; }
.chat-close { background: rgba(255,255,255,.15); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.chat-close svg { width: 18px; height: 18px; }
.chat-body { padding: 16px; display: grid; gap: 10px; max-height: 300px; overflow-y: auto;
  background: var(--surface-200) radial-gradient(rgba(107,74,43,.08) 1px, transparent 1px) 0 0 / 14px 14px; }
.bubble { margin: 0; background: #fff; padding: 10px 14px; border-radius: 4px 16px 16px 16px; box-shadow: var(--shadow-1); max-width: 88%; font-size: 15px; line-height: 21px; animation: rise .4s var(--ease) both; }
.bubble + .bubble { animation-delay: .25s; }
.bubble.me { justify-self: end; background: #dcf8c6; border-radius: 16px 4px 16px 16px; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.chat-chips button { border: 1.5px solid var(--wa); background: #fff; color: #17733f; border-radius: var(--radius-full); padding: 6px 12px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .2s; }
.chat-chips button:hover { background: #e9f8ef; }
.chat-form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-form textarea { border-radius: 22px; padding: 11px 16px; resize: none; max-height: 120px; }
.chat-form button { width: 46px; height: 46px; flex: none; border-radius: 50%; border: 0; background: var(--wa); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chat-note { margin: 0; padding: 0 16px 12px; font-size: 12px; color: var(--ink-muted); background: #fff; }

/* Toast + fly-to-cart */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 200px); visibility: hidden; z-index: 50; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: var(--radius-full);
  box-shadow: var(--shadow-2); font-weight: 600; transition: transform .45s var(--spring); display: flex; gap: 12px; align-items: center; white-space: nowrap; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast a { color: var(--sunflower); }
.fly { position: fixed; z-index: 60; border-radius: 14px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-2); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:first-child { grid-column: span 2; grid-row: auto; min-height: 240px; }
  .gift { grid-template-columns: 1fr; padding: var(--space-3); gap: var(--space-3); }
  .gift-art { max-width: 200px; }
  .product { grid-template-columns: 1fr; gap: var(--space-3); }
  .gallery { position: static; }
}
@media (max-width: 760px) {
  body { padding-bottom: 76px; }
  .wrap, .wrap-narrow { padding: 0 var(--space-2); }
  .topbar { padding: 8px 10px 0; }
  .topbar-inner { gap: 8px; padding: 6px 6px 6px 10px; }
  .brand span, .main-nav a:not(.cart-pill) { display: none; }
  .brand img { width: 36px; height: 36px; }
  .search input { padding: 9px 0; }
  .cart-pill { width: 40px; height: 40px; }
  .slide { grid-template-columns: 1fr; padding: 20px 20px 52px; min-height: 0; gap: 18px; align-content: start; }
  .slide-copy { order: 0; }
  .slide-copy h1 { font-size: 36px; }
  .slide-copy p { font-size: 16px; line-height: 24px; margin-bottom: 16px; }
  .slide-art { min-height: 300px; }
  .art-main { inset: 0 10%; }
  .art-acc { width: 32%; }
  .hero-dots { left: 20px; bottom: 20px; }
  .rail { grid-auto-columns: 62%; padding-inline: var(--space-2); scroll-padding-inline: var(--space-2); }
  .rail-ctl .round { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-2) 12px; }
  .card h3 { font-size: 14px; }
  .tiles { gap: 12px; }
  .tile { min-height: 150px; padding: 14px; }
  .tile strong { font-size: 18px; }
  .foot-row { grid-template-columns: 1fr 1fr; }
  .foot-row > div:first-child { grid-column: 1 / -1; }
  .tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 35; justify-content: space-around; padding: 6px;
    background: rgba(255,253,249,.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: var(--radius-full); box-shadow: var(--shadow-2); }
  .tabbar a { position: relative; flex: 1; display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: var(--radius-full); color: var(--ink-muted); text-decoration: none; font-size: 11px; font-weight: 600; transition: background .2s, color .2s; }
  .tabbar a.on { background: var(--ink); color: #fff; }
  .tab-count { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; border-radius: 9px; background: var(--sunflower); color: var(--ink); font-size: 10px; display: grid; place-items: center; }
  .chat-fab { bottom: 88px; right: 14px; padding: 14px; }
  .chat-fab span { display: none; }
  .chat { right: 12px; bottom: 88px; }
  .toast { bottom: 96px; }
  .site-foot { padding-bottom: 96px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .slide-copy > * { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}

/* Offers */
.price .now { color: var(--clay); }
.was { color: var(--ink-muted); font-weight: 500; font-size: .85em; text-decoration-thickness: 1.5px; }
.price.big .was { font-family: var(--font-sans); font-size: 18px; margin-left: 6px; }
.flag.sale { left: auto; right: 10px; background: var(--clay); color: #fff; font-size: 12px; animation: tag-swing 2.4s ease-in-out infinite; transform-origin: 50% -6px; }
@keyframes tag-swing { 0%, 70%, 100% { transform: rotate(0); } 80% { transform: rotate(-6deg); } 90% { transform: rotate(4deg); } }
.offer-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.offer-line .price.big { color: var(--clay); margin: 0; }
.save { background: #fbe4dc; color: #8a3420; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: var(--radius-full); }
.offer-ends { margin: 6px 0 4px; font-weight: 600; color: var(--clay); font-size: 14px; }
.chip-offer { background: #fbe4dc; color: #8a3420; }
.chip-offer.on { background: var(--clay); color: #fff; }
.rail-offers .section-head h2::after { content: ''; display: inline-block; width: 10px; height: 10px; margin-left: 10px; border-radius: 50%; background: var(--clay); vertical-align: middle; box-shadow: 0 0 0 0 rgba(181,82,59,.5); animation: offer-ping 2s ease-out infinite; }
@keyframes offer-ping { 70%, 100% { box-shadow: 0 0 0 12px rgba(181,82,59,0); } }
.cart-row .was { display: block; }

/* Review copy banner */
.test-banner { background: var(--sunflower); color: var(--ink); text-align: center; font-size: 13px; font-weight: 700; padding: 6px 12px; }
