:root {
  color-scheme: light;
  --primary:#79454f;
  --accent:#f3e3e2;
  --ink:#111111;
  --muted:#645c5b;
  --surface:#ffffff;
  --panel:#fff;
  --on-primary:#fff;
  --soft-page:#faf7f6;
  --card-soft:#fbf8f7;
  --input-border:#e3d6d3;
  --notice-bg:#fcf5f4;
  --notice-border:#eadad8;
  --notice-ink:#624048;
  --error-bg:#fff0f3;
  --error-border:#efc7d2;
  --error-ink:#812342;
  --danger-bg:#fff1f5;
  --danger-border:#f1dbe4;
  --danger-ink:#962548;
  --dim-bg:#f3edef;
  --dim-ink:#73414e;
  --toast-bg:#111;
  --toast-ink:#fff;
  --backdrop:#2d1d1b80;
  --hero-bg:linear-gradient(110deg,#fff 8%,#f9f1ef 100%);
  --line:#ece2e0;
  --tint:#f9f0ef;
  --title:"Avenir Next", "Trebuchet MS", system-ui, sans-serif;
  --body:system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --shadow:0 12px 34px #46312d0c;
}
[data-font="system"] { --title:system-ui, sans-serif; }
[data-font="serif"] { --title:Georgia, serif; }
*, *::before, *::after { box-sizing:border-box; }
[hidden] { display:none !important; }
body {
  --primary:var(--brand-primary,#79454f);
  --accent:var(--brand-accent,#f3e3e2);
  --ink:var(--brand-ink,#111111);
  margin:0; color:var(--ink); background:var(--surface); font:1rem/1.6 var(--body); }
[data-theme="dark"] {
  color-scheme:dark;
  --surface:#191415;
  --panel:#241d1e;
  --on-primary:#24181a;
  --soft-page:#1e1719;
  --card-soft:#2b2224;
  --muted:#d7c1c4;
  --line:#503c40;
  --tint:#2f2427;
  --input-border:#70545a;
  --notice-bg:#342628;
  --notice-border:#70545a;
  --notice-ink:#f2d5da;
  --error-bg:#43232d;
  --error-border:#915364;
  --error-ink:#ffc6d4;
  --danger-bg:#47262f;
  --danger-border:#865360;
  --danger-ink:#ffc6d4;
  --dim-bg:#452e35;
  --dim-ink:#f1c9d3;
  --toast-bg:#f5e3e6;
  --toast-ink:#281c1f;
  --backdrop:#0c070ab8;
  --hero-bg:linear-gradient(110deg,#22191b 8%,#36252a 100%);
  --shadow:0 12px 34px #10090b44;
}
[data-theme="dark"] body {
  --primary:#edb7c1;
  --accent:#49323a;
  --ink:#faeeee;
}
[data-theme="dark"] .wordmark img { background:#fff; border-radius:4px; }
body:has(dialog[open]) { overflow:hidden; }
a { color:inherit; text-decoration:none; }
button, input, select, textarea { font:inherit; }
button { cursor:pointer; }
button:disabled { cursor:not-allowed; opacity:.58; }
:focus-visible { outline:3px solid var(--primary); outline-offset:4px; }
img { display:block; max-width:100%; }
h1,h2,h3,p { margin:0; }
h1,h2,h3 { font-family:var(--title); line-height:1.1; letter-spacing:-.045em; }
h1 { font-size:clamp(2.55rem, 5.1vw, 4.7rem); font-weight:800; }
h2 { font-size:clamp(1.9rem, 3.5vw, 3.05rem); font-weight:800; }
h3 { font-size:1.25rem; font-weight:770; }
h1 > span,h2 > span { color:var(--primary); }
svg { width:1.15em; height:1.15em; flex:none; vertical-align:middle; }
i { font-style:normal; }
.wrap { width:min(1200px, 100% - 72px); margin-inline:auto; }
.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; }
.skip { position:fixed; z-index:20; top:1rem; left:1rem; padding:.65rem 1rem; background:var(--panel); color:var(--primary); transform:translateY(-180%); border-radius:12px; }
.skip:focus { transform:none; }
section[id] { scroll-margin-top:115px; }

.announcement { min-height:2.05rem; padding:.32rem 1rem; text-align:center; color:var(--ink); background:var(--accent); font-size:.79rem; font-weight:750; }
.announcement:empty { display:none; }
.site-header { position:sticky; top:0; z-index:5; background:var(--panel); color:var(--ink); border-bottom:1px solid var(--line); box-shadow:0 4px 16px #3b21190d; }
.header-inner { min-height:75px; display:flex; gap:2rem; align-items:center; justify-content:space-between; }
.wordmark { font:800 clamp(1.22rem, 2.5vw, 1.7rem)/1.05 var(--title); letter-spacing:-.055em; overflow-wrap:anywhere; }
.wordmark img { max-height:57px; width:auto; max-width:175px; object-fit:contain; }
.main-nav, .header-actions, .actions { display:flex; flex-wrap:wrap; align-items:center; gap:.65rem; }
.main-nav { gap:clamp(.8rem, 2vw, 1.65rem); font-weight:650; font-size:.9rem; }
.main-nav a { padding:.45rem 0; }
.main-nav a:hover, .site-footer a:hover { text-decoration:underline; text-underline-offset:4px; }
.header-actions { flex:none; }
.button { display:inline-flex; align-items:center; justify-content:center; gap:.55rem; min-height:44px; padding:.63rem 1rem; border:1px solid transparent; border-radius:999px; background:var(--panel); color:var(--ink); font-size:.9rem; font-weight:730; line-height:1.3; text-align:center; transition:background .18s, border-color .18s, box-shadow .18s; }
.button:hover { box-shadow:0 3px 14px #49282317; }
.button.primary { color:var(--on-primary); background:var(--primary); border-color:var(--primary); }
.button.primary:hover { background:color-mix(in srgb, var(--primary), #000 14%); }
.button.secondary { color:var(--ink); border-color:var(--line); }
.button.secondary:hover { border-color:var(--primary); }
.button.nav-contact { background:var(--panel); border-color:var(--line); color:var(--primary); }
.button.nav-contact:hover { background:var(--tint); border-color:var(--primary); }
.bag-button { border-color:var(--line); }
.button.small { min-height:40px; padding:.45rem .82rem; }
.button.danger { color:var(--danger-ink); background:var(--danger-bg); border-color:var(--danger-border); }
.counter { display:grid; place-items:center; min-width:1.45rem; height:1.45rem; padding:0 .25rem; background:var(--accent); border-radius:999px; font-size:.76rem; }
.icon-button { display:inline-grid; place-items:center; width:44px; height:44px; border:1px solid var(--line); background:var(--panel); border-radius:50%; color:var(--ink); flex:none; }
.icon-button:hover { background:var(--tint); }
.icon-button svg { width:20px; height:20px; }
.mobile-menu { display:none; }

.hero { background:var(--hero-bg); overflow:hidden; }
.hero-inner { min-height:522px; display:grid; grid-template-columns:.88fr 1.12fr; gap:clamp(2rem, 5vw, 4.5rem); align-items:center; padding-block:clamp(3rem, 6vw, 5.15rem); }
.hero-copy { position:relative; z-index:1; }
.eyebrow { font-size:.76rem; font-weight:800; letter-spacing:.115em; text-transform:uppercase; color:var(--primary); }
.hero-copy .eyebrow { margin-bottom:1rem; }
.hero h1 > span { display:block; }
.hero h1 > span:empty { display:none; }
.hero .intro { max-width:35rem; margin:1.25rem 0 1.9rem; color:var(--muted); line-height:1.75; font-size:clamp(1rem,1.45vw,1.11rem); }
.hero .button { min-height:49px; padding-inline:1.2rem; }
.hero-visual { min-width:0; width:100%; isolation:isolate; position:relative; }
.hero-visual::before { content:""; position:absolute; inset:10px -10px -10px 10px; background:var(--accent); border-radius:20px; z-index:-1; }
.hero-image { width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:20px; box-shadow:0 16px 36px #6d423421; }
.hero-visual:has(.hero-image:not([hidden]), hero-photo-stack:not([hidden])) .paper-stage,
.hero-visual:has(hero-photo-stack:not([hidden]))::before { display:none; }
hero-photo-stack { display:block; position:relative; }
.hero-stack-stage {
  --stack-pose-0:translate3d(0,0,0) rotate(0deg) scale(1);
  --stack-pose-1:translate3d(5.5%,3%,0) rotate(3deg) scale(.965);
  --stack-pose-2:translate3d(10%,6%,0) rotate(6deg) scale(.93);
  --stack-peel:translate3d(17%,-9%,0) rotate(8deg) scale(.985);
  position:relative;
  aspect-ratio:16/10;
  isolation:isolate;
  touch-action:pan-y pinch-zoom;
}
.hero-stack-deck { position:absolute; inset:0; z-index:0; }
.hero-stack-card {
  position:absolute; inset:7% 16% 7% 4%;
  display:grid; place-items:center;
  overflow:hidden; border-radius:20px; background:#fff;
  box-shadow:0 10px 23px #6d423426;
  transition-property:none;
}
.hero-stack-card[data-depth="0"] { z-index:3; transform:var(--stack-pose-0); }
.hero-stack-card[data-depth="1"] { z-index:2; transform:var(--stack-pose-1); }
.hero-stack-card[data-depth="2"] { z-index:1; transform:var(--stack-pose-2); }
.hero-stack-card img { width:100%; height:100%; min-height:0; object-fit:contain; pointer-events:none; user-select:none; }
.hero-stack-seal {
  position:absolute; z-index:1; inset:auto auto 2% 0; width:clamp(52px,11%,80px);
  border-radius:50%; border:2px solid #fff; background:#fff; box-shadow:0 4px 12px #6d423434;
  pointer-events:none;
}
.hero-stack-controls { position:absolute; inset:100% 0 auto; margin-top:.45rem; display:flex; justify-content:center; gap:.45rem; }
.hero-stack-controls .button { min-height:36px; padding:.38rem .75rem; font-size:.82rem; }
.paper-stage { position:relative; overflow:hidden; width:100%; aspect-ratio:16/10; display:grid; place-items:center; border-radius:27px; background:radial-gradient(ellipse at 27% 20%, #fff8f5, #f3e3e2 54%, #d9b7b9); box-shadow:0 16px 40px #6d423426; }
.paper-orbit { position:absolute; width:75%; aspect-ratio:1; border:1px solid #fffc; border-radius:50%; transform:translate(41%, -38%); }
.paper-orbit::after { content:""; position:absolute; inset:10%; border:1px solid #fffa; border-radius:50%; }
.paper-sheet { position:absolute; width:64%; height:52%; border-radius:8px; }
.back-sheet { background:#fef9f1; transform:rotate(-20deg) translate(-2%, -3%); box-shadow:0 13px 30px #5d3a331d; }
.back-sheet::after { content:""; position:absolute; inset:9%; border:1px solid #d9b4ad78; border-radius:5px; }
.envelope { background:linear-gradient(140deg,#d9b3b3,#a66f76); transform:rotate(13deg) translate(7%, 7%); box-shadow:2px 18px 26px #5b393339; overflow:hidden; }
.envelope-fold,.envelope-seam { position:absolute; inset:0; background:linear-gradient(140deg,#efdad8,#d6b3b4); clip-path:polygon(0 2%,50% 57%,100% 2%,100% 0,0 0); }
.envelope-seam { transform:rotate(180deg); background:linear-gradient(130deg,#b37e83,#d3acad); }
.envelope-seal { position:absolute; display:grid; place-items:center; width:13%; aspect-ratio:1; border-radius:50%; left:43.5%; top:39%; background:#f3e3e2; color:#79454f; box-shadow:0 3px 8px #5d3a3344; font-size:clamp(.6rem, 2vw, 1.5rem); }
.paper-confetti { position:absolute; width:5%; aspect-ratio:1; border-radius:2px; background:#b77b82; transform:rotate(27deg); }
.confetti-first { top:19%; left:77%; }
.confetti-second { bottom:16%; left:16%; width:3%; background:#c19a88; }
.paper-star { position:absolute; color:#79454f; font-size:clamp(1rem,3vw,2.3rem); }
.paper-star.one { left:10%; top:21%; }
.paper-star.two { right:10%; bottom:16%; font-size:clamp(.9rem,2.2vw,1.6rem); }
.ribbon { background:var(--panel); border-bottom:1px solid var(--line); }
.ribbon-inner { display:flex; justify-content:space-around; flex-wrap:wrap; gap:1rem 1.9rem; padding-block:.95rem; }
.ribbon span { display:flex; align-items:center; gap:.55rem; font-size:.86rem; font-weight:680; }
.ribbon i,.steps i { display:inline-grid; place-items:center; border-radius:50%; width:34px; height:34px; background:var(--tint); color:var(--primary); }
.catalog { padding-block:clamp(3.25rem,7vw,5.8rem); }
.section-head { display:flex; justify-content:space-between; align-items:end; gap:1rem; margin-bottom:1.65rem; }
.section-head p:not(.eyebrow) { margin-top:.72rem; color:var(--muted); }
.section-head p:empty { display:none; }
.section-head .eyebrow { margin-bottom:.55rem; }
.section-head .result-count { color:var(--primary) !important; font-size:.89rem; font-weight:750; white-space:nowrap; }
.center { text-align:center; justify-content:center; }
.tools { display:flex; align-items:flex-start; justify-content:space-between; gap:1.1rem; margin-bottom:1.4rem; }
.categories { display:flex; flex-wrap:wrap; gap:.55rem; }
.chip { min-height:42px; padding:.4rem .9rem; border:1px solid var(--line); border-radius:999px; background:var(--panel); color:var(--ink); font-size:.87rem; font-weight:675; }
.chip:hover { border-color:var(--primary); }
.chip[aria-pressed="true"],.chip[aria-current="page"] { color:var(--on-primary); background:var(--primary); border-color:var(--primary); }
.search { display:flex; align-items:center; gap:.62rem; max-width:100%; min-width:min(260px,100%); padding:0 .9rem; border:1px solid var(--line); border-radius:999px; color:var(--muted); background:var(--panel); }
.search:focus-within { outline:2px solid var(--primary); outline-offset:2px; }
.search input { width:100%; min-width:0; min-height:43px; border:0; color:var(--ink); outline:none; background:transparent; }
.notice { padding:.82rem 1rem; border:1px solid var(--notice-border); border-radius:12px; background:var(--notice-bg); color:var(--notice-ink); margin-bottom:1.15rem; font-size:.92rem; }
.notice.error { background:var(--error-bg); border-color:var(--error-border); color:var(--error-ink); }
.subtle { color:var(--muted); }
.empty { text-align:center; border:1px dashed var(--line); border-radius:20px; padding:2.4rem 1.1rem; background:var(--soft-page); grid-column:1/-1; }
.empty h3 { margin-bottom:.45rem; }
.empty .button { margin-top:1rem; }
.cards,.steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1.2rem; }
.more-items { grid-column:1/-1; display:flex; justify-content:center; }
.card { display:flex; flex-direction:column; position:relative; min-width:0; border:1px solid var(--line); border-radius:21px; background:var(--panel); box-shadow:var(--shadow); overflow:hidden; transition:box-shadow .18s; }
.card:hover { box-shadow:0 12px 32px #5e403118; }
.card-image { display:block; position:relative; flex:none; }
.card-image:focus-visible { outline-offset:-5px; }
.card-image > img,.card-image > .placeholder { width:100%; aspect-ratio:1.65; object-fit:cover; }
.placeholder { position:relative; display:grid; place-items:center; overflow:hidden; background:linear-gradient(140deg,#f3e3e2,#faf0ef); color:#79454f; }
.placeholder::before,.placeholder::after { content:""; position:absolute; border:1px solid #ffffffa0; border-radius:50%; width:62%; aspect-ratio:1; }
.placeholder::before { top:-44%; right:-13%; }
.placeholder::after { bottom:-52%; left:-16%; }
.placeholder svg { width:2.8rem; height:2.8rem; }
.cards > :nth-child(3n+2) .placeholder { background:linear-gradient(140deg,#f3e9df,#fff7f4); color:#805c4c; }
.cards > :nth-child(3n+3) .placeholder { background:linear-gradient(140deg,#ede8e4,#f9f5f2); color:#705b54; }
.card-badges { position:absolute; top:.75rem; left:.75rem; display:flex; gap:.4rem; flex-wrap:wrap; pointer-events:none; }
.badge { display:inline-flex; align-items:center; border-radius:999px; padding:.18rem .58rem; background:var(--panel); color:var(--ink); font-size:.75rem; font-weight:740; }
.badge.tinted { background:var(--tint); color:var(--primary); }
.badge.dim { background:var(--dim-bg); color:var(--dim-ink); }
.card-info { display:flex; flex-direction:column; padding:1.17rem; gap:.55rem; flex:1; }
.card-info h3 a:hover { color:var(--primary); text-decoration:underline; }
.card-info p:not(.eyebrow) { color:var(--muted); font-size:.9rem; }
.card-bottom { margin-top:auto; padding-top:.7rem; display:flex; align-items:end; gap:.55rem; justify-content:space-between; }
.price { display:block; color:var(--primary); font-weight:800; font-size:1.13rem; line-height:1.25; }
.price-pre,.price-unit { display:block; font-size:.76rem; color:var(--muted); line-height:1.25; }
.price-unit { margin-top:.23rem; }

.how { background:var(--tint); padding-block:clamp(3.2rem,7vw,5.7rem); }
.steps article { padding:1.65rem; background:var(--panel); border:1px solid var(--line); box-shadow:var(--shadow); border-radius:20px; }
.steps i { width:42px; height:42px; border-radius:13px; margin-bottom:.9rem; }
.steps p { margin-top:.55rem; color:var(--muted); font-size:.93rem; }
.about { padding-block:clamp(3.2rem,7vw,5.75rem); display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(2rem,6vw,5rem); align-items:center; }
.about-paper { min-height:260px; aspect-ratio:1.5; border-radius:22px; overflow:hidden; display:grid; place-items:center; background:var(--tint); border:1px solid var(--line); }
.about-paper > img { width:min(62%, 310px); border-radius:50%; }
.about-paper:has(img) > div { display:none; }
.about-paper > div { width:45%; min-width:140px; height:55%; border-radius:7px; background:#fff6f2; transform:rotate(-12deg); box-shadow:13px 14px 0 #dfbdbe, 0 22px 45px #5d3a3357; color:#79454f; display:grid; place-items:center; }
.about-paper svg { width:2.3rem; height:2.3rem; }
.about h2 { margin:.45rem 0 .8rem; }
.about-copy > p:not(.eyebrow) { white-space:pre-line; color:var(--muted); margin-bottom:1.4rem; }
.faq { padding-block:1.25rem 4rem; max-width:840px; }
.faq h2 { margin-bottom:1.25rem; }
.faq details { padding:.9rem 0; border-bottom:1px solid var(--line); }
.faq summary { font-weight:720; cursor:pointer; }
.faq details p { white-space:pre-line; padding-top:.6rem; color:var(--muted); }
.site-footer { background:var(--tint); color:var(--ink); border-top:1px solid var(--line); }
.site-footer .wordmark img { border-radius:4px; }
.footer-grid { display:grid; grid-template-columns:1.5fr .7fr 1fr; gap:1.5rem 2.5rem; padding-block:2.7rem 2rem; }
.footer-grid h2 { font-size:1.02rem; letter-spacing:0; margin-bottom:.7rem; }
.footer-grid a:not(.wordmark),.footer-grid p { display:block; margin:.35rem 0; font-size:.94rem; }
.footer-slogan { max-width:22rem; color:var(--primary); }
.footer-grid .footer-slogan:empty { display:none; }
.footer-bottom { border-top:1px solid var(--line); display:flex; justify-content:space-between; flex-wrap:wrap; gap:.35rem 1rem; padding-block:1rem; font-size:.84rem; }

dialog { padding:0; border:1px solid var(--line); color:var(--ink); background:var(--surface); }
dialog::backdrop { background:var(--backdrop); opacity:1; transition:opacity var(--ui-panel-duration,.25s) ease-out; }
dialog:is([data-dialog-phase="opening"],[data-dialog-phase="closing"])::backdrop { opacity:0; }
.drawer { position:fixed; inset:0 0 0 auto; margin:0; width:min(100%,520px); max-width:100%; height:100%; max-height:100%; box-shadow:-14px 0 54px #2d1d1b38; }
.drawer[open] { display:flex; flex-direction:column; }
.drawer-head,.drawer-foot { padding:1.05rem 1.3rem; flex:none; }
.drawer-head { display:flex; align-items:center; justify-content:space-between; gap:.7rem; border-bottom:1px solid var(--line); }
.drawer-head h2 { font-size:1.55rem; }
.drawer-body { overflow:auto; padding:1rem 1.3rem; flex:1; }
.drawer-foot { border-top:1px solid var(--line); background:var(--panel); max-height:47%; overflow:auto; }
.drawer-foot .button { width:100%; margin-top:.65rem; }
.modal { width:min(940px, calc(100% - 30px)); max-width:none; max-height:calc(100% - 30px); border-radius:23px; padding:1.5rem; box-shadow:0 25px 85px #2d1d1b44; }
.modal-close { position:sticky; top:0; float:right; margin:0 0 .5rem .5rem; z-index:2; }
.standalone { padding-block:3.2rem 4.5rem; min-height:55vh; }
body:not([data-page="home"]) .home-only { display:none; }
.item-detail { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.05fr); align-items:start; gap:clamp(1.1rem, 4vw, 2.6rem); clear:both; }
.item-detail h1,.item-detail h2 { font-size:clamp(1.75rem,3vw,2.55rem); margin:.35rem 0 .7rem; }
.item-detail .price { font-size:1.35rem; }
.item-detail .description { margin:.8rem 0; color:var(--muted); white-space:pre-line; }
.detail-image > img,.detail-image > .placeholder { width:100%; aspect-ratio:1.14; border-radius:17px; object-fit:cover; }
.thumbnails { display:flex; flex-wrap:wrap; gap:.55rem; margin-top:.65rem; }
.thumb { width:61px; height:58px; border:2px solid transparent; border-radius:10px; background:none; padding:0; overflow:hidden; }
.thumb[aria-pressed="true"] { border-color:var(--primary); }
.thumb img { width:100%; height:100%; object-fit:cover; }
.share-item { display:inline-block; color:var(--primary); font-weight:700; text-decoration:underline; text-underline-offset:3px; margin-top:.65rem; }
.item-meta { display:flex; flex-wrap:wrap; gap:.5rem; margin-block:.7rem; }
.detail-row { margin-top:.65rem; }
.item-options { display:grid; gap:.75rem; margin-top:1rem; }
.field { display:grid; gap:.3rem; align-content:start; min-width:0; font-size:.91rem; font-weight:670; }
.field input:not([type="checkbox"]),.field select,.field textarea {
  width:100%; min-width:0; min-height:43px; padding:.55rem .72rem; font-size:1rem; font-weight:450;
  border:1px solid var(--input-border); border-radius:10px; background:var(--panel); color:var(--ink);
}
.field textarea { min-height:86px; resize:vertical; }
.field small,.helper { color:var(--muted); font-size:.83rem; font-weight:450; }
.field.check { display:flex; align-items:center; gap:.55rem; min-height:38px; }
.field.check input { width:1.05rem; height:1.05rem; accent-color:var(--primary); }
.field select { color:var(--ink); background:var(--panel); }
.two-fields { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.75rem; }
.item-options .quantity { max-width:180px; }
.line { padding:.85rem 0; border-bottom:1px solid var(--line); display:grid; grid-template-columns:74px minmax(0,1fr); gap:.8rem; }
.line-image img,.line-image .placeholder { width:74px; height:74px; border-radius:10px; object-fit:cover; }
.line-image .placeholder svg { width:1.65rem; height:1.65rem; }
.line h3 { margin-bottom:.24rem; }
.line p,.line li { color:var(--muted); font-size:.88rem; overflow-wrap:anywhere; }
.line ul { margin:.38rem 0; padding-left:1.05rem; }
.line .line-error { color:var(--error-ink); }
.line .button { font-size:.82rem; min-height:36px; }
.line .actions { margin-top:.55rem; }
.line-actions { display:flex; flex-wrap:wrap; align-items:center; gap:.45rem; margin-top:.6rem; }
.stepper { display:inline-flex; align-items:center; gap:.45rem; }
.stepper button { width:34px; height:34px; border-radius:50%; border:1px solid var(--line); background:var(--panel); color:var(--primary); }
.stepper span { min-width:2ch; text-align:center; font-weight:690; }
.totals { display:grid; gap:.22rem; font-size:.9rem; }
.totals div { display:flex; align-items:baseline; justify-content:space-between; gap:.45rem; }
.totals strong { text-align:right; }
.totals p { color:var(--muted); font-size:.84rem; }
.review-form { display:grid; gap:.8rem; margin:1rem 0; }
.review-title { color:var(--primary); font:700 1.23rem/1.3 var(--title); margin:.2rem 0 .55rem; }
.review-hint { margin-top:.5rem; color:var(--primary); font-size:.9rem; }
.mini-section-title { margin:.25rem 0 .7rem; }
.share-message { padding:.7rem; width:100%; min-height:100px; border:1px solid var(--line); border-radius:10px; color:var(--ink); background:var(--panel); }
.summary-box { width:min(720px,100%); margin:auto; }
.summary-box > h1 { font-size:clamp(2rem,4vw,3rem); margin:.45rem 0 .65rem; }
.summary-box > .totals { padding-block:1rem; }
.toast { position:fixed; bottom:1rem; left:50%; z-index:50; translate:-50% 0; width:max-content; max-width:calc(100% - 2rem); padding:.75rem 1.1rem; border-radius:13px; color:var(--toast-ink); background:var(--toast-bg); font-weight:650; font-size:.9rem; box-shadow:var(--shadow); }

.admin-page { background:var(--soft-page); }
.admin-main { min-height:calc(100vh - 75px); padding-block:2rem 4rem; }
.admin-main h1 { font-size:clamp(2rem,4vw,3rem); margin:.2rem 0 .55rem; }
.admin-main h2 { font-size:clamp(1.35rem,3vw,1.9rem); margin:0 0 .7rem; }
.admin-main .intro { color:var(--muted); margin-bottom:1rem; }
.admin-tabs { display:flex; flex-wrap:wrap; gap:.55rem; margin-block:1.25rem; }
.admin-top { display:flex; align-items:flex-start; justify-content:space-between; gap:.8rem; }
.admin-top > div { min-width:0; }
.admin-top .subtle { overflow-wrap:anywhere; }
.admin-card { border:1px solid var(--line); background:var(--panel); border-radius:17px; padding:1.2rem; box-shadow:var(--shadow); margin-bottom:1rem; min-width:0; }
.admin-card.form-card { max-width:890px; }
.login-card { max-width:470px; margin:2.7rem auto; padding:clamp(1.2rem, 4vw, 2rem); }
.admin-form { display:grid; gap:.85rem; }
.admin-form .notice { margin:0; }
.metrics { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:.8rem; margin-block:1.2rem; }
.metric { margin:0; }
.metric strong { display:block; font:800 2rem/1.2 var(--title); color:var(--primary); }
.metric span { color:var(--muted); font-size:.9rem; }
.admin-list { display:grid; gap:.55rem; }
.admin-row { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:.45rem 1rem; padding:.75rem .85rem; border:1px solid var(--line); border-radius:12px; background:var(--panel); }
.admin-row > div { min-width:0; }
.admin-row strong { overflow-wrap:anywhere; }
.admin-row .actions { row-gap:.4rem; }
.variant,.photo-card { border:1px solid var(--line); border-radius:11px; padding:.75rem; background:var(--card-soft); }
.variant .two-fields { margin-bottom:.55rem; }
.option-list,.photo-gallery { display:grid; gap:.55rem; }
.option-row { display:grid; grid-template-columns:1fr .52fr auto; gap:.55rem; align-items:end; margin-bottom:.42rem; }
.photo-card { display:grid; grid-template-columns:65px 1fr; gap:.6rem; align-items:start; }
.photo-card > img { width:65px; height:65px; border-radius:9px; object-fit:cover; }
.photo-card .actions { grid-column:2; }
.admin-form fieldset { border:1px solid var(--line); border-radius:13px; padding:.8rem; margin:0; min-width:0; }
.admin-form legend { font-weight:730; padding-inline:.35rem; }
.admin-form fieldset > * + * { margin-top:.65rem; }
.admin-modal { width:min(800px, calc(100% - 30px)); }
.admin-modal h2 { font-size:1.7rem; }
.admin-modal-content { clear:both; }
.color-field input { padding:.15rem !important; }
pre { white-space:pre-wrap; overflow-wrap:anywhere; margin:0; font:inherit; }

.settings-tabs { display:flex; flex-wrap:wrap; gap:.5rem; margin-bottom:1.1rem; }
#settings-content > h3 { margin-bottom:.65rem; }
.hero-editor-top { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:.6rem 1rem; }
.hero-editor-top input[type="file"] { max-width:100%; width:min(360px,100%); }
.hero-editor-list { display:grid; gap:.75rem; padding:0; margin:1rem 0; list-style:none; }
.hero-editor-row { display:grid; grid-template-columns:minmax(100px,145px) minmax(0,1fr); gap:.8rem; align-items:start; padding:.75rem; background:var(--surface); border:1px solid var(--line); border-radius:12px; }
.hero-editor-row.hero-drop-target { outline:2px dashed var(--primary); outline-offset:1px; }
.hero-thumb { aspect-ratio:16/10; display:grid; overflow:hidden; border-radius:8px; background:var(--tint); cursor:grab; }
.hero-thumb img { width:100%; height:100%; object-fit:cover; pointer-events:none; }
.hero-row-inactive .hero-thumb { opacity:.65; }
.hero-editor-fields { min-width:0; display:grid; gap:.45rem; }
.hero-row-heading { display:flex; align-items:center; gap:.45rem; flex-wrap:wrap; }
.hero-framing summary { cursor:pointer; color:var(--primary); font-size:.88rem; font-weight:700; }
.hero-framing[open] { display:grid; gap:.45rem; }
.hero-editor-row input[type="range"] { padding:0; accent-color:var(--primary); }
.hero-editor-actions { margin-top:.65rem; }
.hero-editor-message { white-space:pre-line; margin:.7rem 0 0; }
.hero-upload-progress { margin-top:.6rem; overflow-wrap:anywhere; }
.hero-upload-progress progress { width:min(360px,100%); accent-color:var(--primary); }
.hero-preview-viewport { position:relative; overflow:hidden; min-height:1px; margin-top:.65rem; border:1px solid var(--line); border-radius:12px; background:var(--surface); }
.hero-preview-viewport iframe { position:absolute; top:0; border:0; transform-origin:top left; }
.hero-preview [data-preview-status]:empty { display:none; }

@media (max-width:1040px) {
  .header-inner { gap:.9rem; }
  .hero-inner { min-height:unset; }
}
@media (max-width:840px) {
  .wrap { width:calc(100% - 42px); }
  .header-inner { min-height:65px; }
  .site-header:not(.admin-header) .header-actions .nav-contact { display:none; }
  .hero-inner { gap:2rem; }
  .card-info { padding:.85rem; }
  .cards,.steps { gap:.8rem; }
  .cards { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .metrics { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:620px) {
  .wrap { width:calc(100% - 30px); }
  section[id] { scroll-margin-top:88px; }
  .header-inner { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:.48rem; min-height:62px; }
  .header-inner .wordmark { min-width:0; grid-area:1 / 1; }
  .mobile-menu { grid-area:1 / 2; display:grid; color:var(--ink); width:44px; height:44px; background:var(--panel); border-color:var(--line); }
  .mobile-menu:hover { background:var(--tint); }
  .main-nav { display:none; position:absolute; top:100%; inset-inline:0; align-items:stretch; gap:.2rem; padding:.4rem 15px .65rem; background:var(--panel); border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .main-nav.open { display:flex; flex-direction:column; }
  .main-nav a { padding:.48rem .3rem; }
  .header-actions { grid-area:1 / 3; }
  .bag-button { padding:.45rem .55rem; gap:.32rem; min-height:44px; }
  .bag-label { position:absolute; clip:rect(0,0,0,0); width:1px; height:1px; overflow:hidden; }
  .header-inner .wordmark img { max-width:min(130px,100%); max-height:45px; }
  .hero-inner { grid-template-columns:1fr; padding-block:2.6rem 2.35rem; gap:1.85rem; }
  .hero-inner:has(hero-photo-stack) { padding-bottom:3.8rem; }
  .hero-copy .eyebrow { margin-bottom:.85rem; }
  .hero-visual { width:calc(100% - 6px); margin-right:auto; }
  .hero-visual::before { inset:6px -6px -6px 6px; }
  .hero .intro { margin:1rem 0 1.25rem; }
  .hero .button { padding-inline:.82rem; min-height:44px; }
  .hero-stack-controls .button { min-height:38px; }
  .hero-stack-card { border-radius:14px; }
  .paper-stage,.hero-image { aspect-ratio:16/10; }
  .ribbon-inner { padding-block:.7rem; justify-content:flex-start; gap:.42rem 1.15rem; }
  .ribbon span { font-size:.77rem; }
  .ribbon i { width:26px; height:26px; }
  .section-head { display:block; margin-bottom:1.1rem; }
  .section-head .result-count { margin-top:.5rem !important; }
  .tools { flex-direction:column; gap:.65rem; }
  .search { order:-1; width:100%; }
  .steps,.about,.item-detail,.footer-grid { grid-template-columns:1fr; }
  .steps article { padding:1rem; }
  .steps i { margin-bottom:.5rem; }
  .about-paper { min-height:unset; aspect-ratio:1.56; }
  .footer-grid { gap:1rem; }
  .footer-grid > div:nth-child(2) > a { display:inline-block; margin-right:.7rem; }
  .drawer-head,.drawer-foot,.drawer-body { padding-inline:1rem; }
  .modal { padding:.9rem; }
  .modal .item-detail { clear:both; }
}
@media (max-width:460px) {
  .cards { grid-template-columns:1fr; }
  .card-image > img,.card-image > .placeholder { aspect-ratio:1.85; }
  .card-info { padding:1rem; }
  .two-fields { grid-template-columns:1fr; }
  .hero-editor-row { grid-template-columns:1fr; }
  .hero-thumb { width:clamp(120px,50%,180px); }
  .admin-top .button { padding-inline:.7rem; }
  .option-row { grid-template-columns:1fr; }
  .option-row .button { justify-self:start; }
}
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

.ui-icon { width:20px; height:20px; display:inline-block; }
:is(.button.small,.stepper,.chip) .ui-icon { width:16px; height:16px; }
:is(.mobile-menu,.bag-button) .ui-icon { width:24px; height:24px; }
[data-icon] > svg { display:block; }
:is(.paper-star,.envelope-seal,[data-icon="heart"]):not(.ribbon i,.steps i) .ui-icon { width:1.15em; height:1.15em; }
.chip:has(> .ui-icon) { display:inline-flex; align-items:center; gap:.4rem; }
.button.danger:hover,.button.danger:focus-visible { border-color:var(--danger-ink); }
.ui-status { display:flex; align-items:center; gap:.5rem; }
.ui-status > span { min-width:0; }
.button.ui-status { display:inline-flex; }
.button[aria-busy="true"] { min-inline-size:var(--pending-width); cursor:progress; opacity:.8; }
.toast[data-kind="error"] { color:var(--error-ink); background:var(--error-bg); border:1px solid var(--error-border); }
[data-ui-scale="1.025"] { scale:1.025; }
[data-ui-scale="0.975"] { scale:.975; }

.theme-control { position:relative; min-width:44px; min-height:44px; flex:none; }
.theme-glyph { display:grid; width:20px; height:20px; place-items:center; }
.theme-glyph > span { grid-area:1/1; display:grid; place-items:center; }
.theme-popup { position:absolute; z-index:2; top:calc(100% + .45rem); right:0; min-width:165px; padding:.35rem; background:var(--panel); color:var(--ink); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); }
.theme-popup label { display:flex; align-items:center; gap:.5rem; padding:.4rem .45rem; min-height:44px; white-space:nowrap; cursor:pointer; border-radius:8px; font-size:.85rem; }
.theme-popup label:has(:checked) { background:var(--tint); color:var(--primary); font-weight:700; }
.theme-popup input { accent-color:var(--primary); width:1rem; height:1rem; margin:0; }
.theme-popup .ui-icon { width:16px; height:16px; }
.cards,#bag-body,.admin-list,.photo-gallery,.hero-editor-list { position:relative; }
.ui-ghost { position:absolute !important; pointer-events:none; margin:0; z-index:1; }
.hero-thumb { position:relative; }
.hero-grip { position:absolute; right:.25rem; bottom:.25rem; padding:.2rem; display:grid; place-items:center; color:var(--ink); background:var(--panel); border-radius:5px; pointer-events:none; }
.hero-grip .ui-icon { width:16px; height:16px; }
@media (pointer:coarse) {
  .button.small,.chip { min-height:44px; }
  .stepper button { width:44px; height:44px; }
}
@media (prefers-reduced-motion:reduce) {
  [data-ui-scale] { scale:1 !important; }
}

.checkout-coupon { display:grid; gap:.65rem; margin:1rem 0; padding:.85rem; border:1px solid var(--line); border-radius:12px; background:var(--card-soft); }
.checkout-coupon h3 { font-size:1.08rem; }
.coupon-entry { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:.6rem; align-items:end; }
.coupon-entry input { text-transform:uppercase; }
.coupon-message { margin:0; }
.coupon-choices { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,13rem),1fr)); gap:.45rem 1rem; }
.coupon-history { display:grid; gap:.65rem; }
.coupon-history details { width:100%; }
.coupon-history details > summary { color:var(--primary); cursor:pointer; }
.coupon-history dl { display:grid; grid-template-columns:minmax(0,auto) minmax(0,1fr); gap:.3rem .65rem; overflow-wrap:anywhere; }
.coupon-history dd { margin:0; }

.promotion-card { width:min(34rem, calc(100% - 2rem)); max-height:calc(100dvh - 2rem); border:1px solid var(--line); border-radius:20px; padding:0; color:var(--ink); background:var(--panel); box-shadow:0 18px 55px #20141634; }
.promotion-card[open] { display:flex; flex-direction:column; overflow:hidden; }
.promotion-head { display:flex; justify-content:space-between; align-items:center; gap:.7rem; padding:.75rem 1rem; border-bottom:1px solid var(--line); flex:none; }
.promotion-head h2 { font-size:clamp(1.35rem,3.2vw,1.95rem); overflow-wrap:anywhere; }
.promotion-head button { margin-inline-start:auto; }
.promotion-body { display:grid; gap:.8rem; padding:1rem; min-height:0; overflow:auto; overscroll-behavior:contain; }
.promotion-art { display:grid; place-items:center; width:100%; height:min(42dvh, 19rem); background:var(--tint); overflow:hidden; border-radius:12px; }
.promotion-art img { width:100%; height:100%; min-height:0; object-fit:var(--promo-fit,contain); object-position:var(--promo-position,50% 50%); }
.promotion-art-empty { color:var(--muted); }
.promotion-body > .button { justify-self:start; }
.promotion-copy { white-space:pre-line; overflow-wrap:anywhere; }
.promotion-coupon { border:1px solid var(--line); border-radius:12px; padding:.65rem .75rem; display:grid; gap:.35rem; justify-items:start; }
.promotion-coupon small { color:var(--muted); }
.promo-preview-stage { display:grid; justify-items:center; border-radius:16px; padding:1rem; background:var(--backdrop); }
.promo-preview-stage .promotion-card { width:100%; max-width:34rem; max-height:unset; }
.promo-preview-stage[data-device="mobile"] .promotion-card { max-width:358px; }
.promo-preview-stage[data-device="mobile"] .promotion-art { height:min(37dvh, 15rem); }
.promo-preview-stage[data-theme="dark"] { --primary:#edb7c1; --accent:#49323a; --ink:#faeeee; }
.promo-preview-stage[data-theme="light"] { color-scheme:light; --primary:var(--brand-primary,#79454f); --accent:var(--brand-accent,#f3e3e2); --ink:var(--brand-ink,#111); --panel:#fff; --muted:#645c5b; --on-primary:#fff; --tint:#f9f0ef; --line:#ece2e0; --backdrop:#2d1d1b80; }
.promo-image-settings { display:grid; gap:.55rem; align-content:start; }
.promo-images { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr)); gap:.7rem; }
.promo-image-settings .promotion-art { height:9rem; }
.promo-item-results { display:grid; gap:.4rem; max-height:17rem; overflow:auto; padding:.3rem; }
.promo-product-choice { display:flex; gap:.55rem; align-items:center; min-height:56px; border:1px solid var(--line); border-radius:10px; background:var(--panel); color:var(--ink); padding:.35rem .5rem; text-align:left; }
.promo-product-choice[aria-pressed="true"] { border-color:var(--primary); background:var(--tint); }
.promo-thumb { width:54px; height:44px; border-radius:6px; overflow:hidden; flex:none; }
.promo-thumb > :is(img,.placeholder) { width:100%; height:100%; object-fit:contain; }
.promo-list-summary { display:flex; align-items:center; gap:.65rem; }
.promo-list-summary > div:last-child { min-width:0; overflow-wrap:anywhere; }
@media (max-width:620px) {
  .promo-dialog .promotion-art { height:min(37dvh, 15rem); }
  .promo-dialog .promotion-art img { object-fit:var(--promo-mobile-fit,var(--promo-fit,contain)); object-position:var(--promo-mobile-position,var(--promo-position,50% 50%)); }
  .promotion-body { padding:.8rem; }
}
