/* Пелюстка: стилі. Mobile-first, без фреймворків. */
:root {
  --bg: #fbf7f2; --paper: #f3ece3; --card: #fffdfa; --ink: #24211e; --ink2: #4a443e; --muted: #81776d; --line: #e8dfd4; --line2: #d9cdbf;
  --acc: #2f4a3c; --acc2: #3c5d4b; --acc-soft: #e5ece5; --rose: #f2e0da; --rose2: #e9c9c0; --wine: #8a2a3b; --gold: #a9834f;
  --ok: #3f7a52; --err: #b6403a;
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif; --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --r: 14px; --r2: 22px; --sh: 0 1px 2px rgba(60, 40, 20, .05), 0 6px 24px rgba(60, 40, 20, .06); --sh2: 0 18px 50px rgba(50, 30, 15, .16);
  --hdr: 60px; --tab: 62px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.55 var(--sans); padding-bottom: calc(var(--tab) + env(safe-area-inset-bottom)); overflow-x: hidden; }
body.no-tab { padding-bottom: 0; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: default; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; line-height: 1.15; }
h1, h2 { font-family: var(--serif); letter-spacing: -.01em; }
h1 { font-size: 34px; } h2 { font-size: 29px; } h3 { font-size: 17px; } h4 { font-size: 14px; }
p { margin: 0; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }
.wrap { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
.narrow { max-width: 980px; }
.muted { color: var(--muted); } .small { font-size: 13px; } .center { text-align: center; }
.link { color: var(--acc); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.hide-m { display: none !important; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--acc); font-weight: 600; margin-bottom: 10px; }
.fadein { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, transform .1s; border: 1.5px solid transparent; }
.btn:active { transform: scale(.98); }
.btn svg { width: 19px; height: 19px; }
.btn-p { background: var(--acc); color: #fff; } .btn-p:hover { background: var(--acc2); }
.btn-o { border-color: var(--line2); background: var(--card); color: var(--ink); } .btn-o:hover { border-color: var(--acc); color: var(--acc); }
.btn-l { background: #fffdfa; color: var(--acc); } .btn-l:hover { background: var(--rose); }
.btn-w { width: 100%; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn-on { background: var(--acc-soft); color: var(--acc); }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(251, 247, 242, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 12px; height: var(--hdr); }
.logo { display: inline-flex; align-items: center; gap: 9px; flex: none; }
.logo-m { width: 30px; height: 30px; stroke: none; }
.logo-m .pt { fill: var(--acc); } .logo-m .vn { fill: none; stroke: var(--rose); stroke-width: 1.5; }
.logo-t { font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1; letter-spacing: .01em; display: flex; flex-direction: column; }
.logo-t small { font-family: var(--sans); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-top: 3px; }
.hdr-nav { display: none; }
.search { position: relative; display: none; }
.search input { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); padding: 0 40px 0 42px; outline: none; transition: border-color .2s; }
.search input:focus { border-color: var(--acc); }
.search-i { position: absolute; left: 15px; top: 12px; color: var(--muted); }
.search-x { position: absolute; right: 6px; top: 6px; width: 32px; height: 32px; display: grid; place-items: center; color: var(--muted); }
.hdr-phone { display: none; }
.hdr-ic { margin-left: auto; display: flex; gap: 2px; }
.ico-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.ico-btn:hover { background: var(--paper); }
.ico-btn svg { width: 22px; height: 22px; }
.cnt { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--wine); color: #fff; font: 600 11px/18px var(--sans); text-align: center; font-style: normal; }
.cnt.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
body.searching .search { display: block; position: absolute; left: 0; right: 0; top: 0; height: var(--hdr); padding: 8px 12px; background: var(--bg); z-index: 3; }
body.searching .search input { height: 44px; }
body.searching .search-i { left: 27px; top: 20px; }
body.searching .search-x { right: 18px; top: 14px; }
.sugg { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--sh2); padding: 8px; max-height: 70vh; overflow: auto; }
body.searching .sugg { left: 12px; right: 12px; top: calc(100% - 2px); }
.sugg a[data-s] { display: grid; grid-template-columns: 44px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.sugg a[data-s]:hover, .sugg a.on { background: var(--paper); }
.sugg img { width: 44px; height: 54px; object-fit: cover; border-radius: 8px; background: var(--paper); }
.s-t { font-weight: 500; font-size: 14px; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.s-t small { color: var(--muted); font-weight: 400; font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sugg mark { background: var(--rose2); color: inherit; border-radius: 3px; padding: 0 1px; }
.s-all { display: block; text-align: center; padding: 10px; color: var(--acc); font-weight: 600; font-size: 14px; grid-template-columns: none !important; }
.s-empty { padding: 8px 10px; color: var(--muted); font-size: 14px; }
.s-cats { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 6px 8px; }

/* tabbar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: grid; grid-template-columns: repeat(5, 1fr); height: calc(var(--tab) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: rgba(255, 253, 250, .97); border-top: 1px solid var(--line); backdrop-filter: blur(10px); }
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 11px; color: var(--muted); font-weight: 500; }
.tabbar a.on { color: var(--acc); }
.tabbar svg { width: 23px; height: 23px; }
.tabbar .cnt { top: 6px; right: calc(50% - 22px); }
body.no-tab .tabbar { display: none; }

/* footer */
.ftr { background: #f1e9df; margin-top: 56px; padding: 40px 0 calc(24px); border-top: 1px solid var(--line); }
.ftr-in { display: grid; gap: 28px; grid-template-columns: 1fr 1fr; }
.ftr-brand { grid-column: 1 / -1; }
.ftr-brand p { color: var(--ink2); font-size: 14px; margin: 14px 0 10px; max-width: 420px; }
.ftr-phone { font-weight: 700; font-size: 18px; }
.ftr-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.ftr-col a:not(.logo) { display: block; padding: 4px 0; font-size: 14.5px; }
.ftr-col a:hover { color: var(--acc); }
.ftr-note { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line2); font-size: 13px; color: var(--muted); }
.ftr-note a { color: var(--acc); font-weight: 600; }

/* sections */
.sec { padding-top: 40px; padding-bottom: 8px; }
.sec-hd { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.sec-hd > a, .sec-r > a { color: var(--acc); font-weight: 600; font-size: 14px; white-space: nowrap; }
.sec-r { display: flex; align-items: center; gap: 14px; }
.row-nav { display: none; gap: 6px; }
.row-nav button { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line2); display: grid; place-items: center; background: var(--card); }
.row-nav button:hover { border-color: var(--acc); color: var(--acc); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); padding: 14px 0 8px; }
.crumbs a { display: inline-flex; align-items: center; gap: 4px; } .crumbs a:hover { color: var(--acc); } .crumbs svg { width: 15px; height: 15px; }
.cat-hd { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin: 2px 0 16px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 16px; margin: 0 -16px; scroll-padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); font-size: 14px; white-space: nowrap; flex: none; transition: all .15s; }
.chip:hover { border-color: var(--acc); }
.chip.on { background: var(--acc); border-color: var(--acc); color: #fff; }
.chip svg { width: 15px; height: 15px; }
.chips-l { flex-wrap: wrap; overflow: visible; margin: 0; padding: 0; }
.chips-l .chip { height: 44px; padding: 0 20px; font-size: 15px; }

/* hero */
.hero { position: relative; min-height: 560px; display: flex; align-items: flex-end; overflow: hidden; background: #e9dfd2; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero picture img { object-position: 50% 80%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251, 247, 242, .92) 0%, rgba(251, 247, 242, .7) 38%, rgba(251, 247, 242, 0) 62%); }
.hero-tx { position: relative; z-index: 1; padding-top: 34px; padding-bottom: 300px; align-self: flex-start; }
.hero h1 { font-size: 38px; line-height: 1.06; max-width: 560px; }
.hero p { margin-top: 14px; max-width: 470px; color: var(--ink2); font-size: 15.5px; }
.hero-cta { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.hero-cta .btn { flex: 1 1 auto; }
.hero .btn-l { border-color: var(--line2); }
.now-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px 16px; margin-top: -26px; position: relative; z-index: 2; box-shadow: var(--sh); font-size: 14px; }
.now-strip svg { color: var(--acc); }
.now-strip span { flex: 1 1 200px; }
.now-strip a { color: var(--acc); font-weight: 600; white-space: nowrap; }

/* occasions */
.occ-row { display: grid; grid-auto-flow: column; grid-auto-columns: 42%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 4px; margin: 0 -16px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
.occ-row::-webkit-scrollbar { display: none; }
.occ { scroll-snap-align: start; display: flex; flex-direction: column; gap: 2px; }
.occ-img { display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper); margin-bottom: 8px; }
.occ-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.occ:hover img { transform: scale(1.04); }
.occ b { font-weight: 600; font-size: 15px; line-height: 1.25; }
.occ small { color: var(--muted); font-size: 13px; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
.pc { position: relative; display: flex; flex-direction: column; min-width: 0; }
.pc-img { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.pc:hover .pc-img img { transform: scale(1.035); }
.badges { position: absolute; left: 8px; top: 8px; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.badge { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 253, 250, .92); color: var(--ink); letter-spacing: .02em; }
.b-hit { color: var(--acc); }
.b-deal { background: var(--wine); color: #fff; }
.b-type { color: var(--ink2); }
.fav { position: absolute; top: 8px; right: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 253, 250, .92); display: grid; place-items: center; color: var(--ink2); transition: transform .15s; }
.fav svg { width: 19px; height: 19px; }
.fav:hover { transform: scale(1.08); }
.fav.on { color: var(--wine); } .fav.on svg { fill: var(--wine); }
.pc-b { padding: 10px 2px 0; display: flex; flex-direction: column; flex: 1; }
.pc-t { font-family: var(--serif); font-size: 19px; font-weight: 600; line-height: 1.15; }
.pc-t:hover { color: var(--acc); }
.pc-s { font-size: 12.5px; color: var(--muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-f { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.pc-pr { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.price { font-weight: 700; font-size: 16.5px; white-space: nowrap; }
.price small { font-weight: 400; font-size: 12.5px; color: var(--muted); }
.price.sale { color: var(--wine); }
.old { color: var(--muted); text-decoration: line-through; font-size: 13px; white-space: nowrap; }
.add { flex: none; height: 40px; width: 40px; border-radius: 50%; background: var(--acc); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-weight: 600; font-size: 13.5px; transition: background .2s; }
.add:hover { background: var(--acc2); }
.add svg { width: 19px; height: 19px; }
.add span { display: none; }
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 6px; margin: 0 -16px; scroll-snap-type: x mandatory; scroll-padding: 0 16px; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .pc { scroll-snap-align: start; }

/* deal */
.deal { margin-top: 40px; display: grid; grid-template-columns: 1fr; background: var(--rose); border-radius: var(--r2); overflow: hidden; }
.deal-img { aspect-ratio: 4 / 4; overflow: hidden; background: var(--paper); }
.deal-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.deal-tx { padding: 24px 20px 26px; }
.deal-tx .eyebrow { color: var(--wine); }
.deal-tx h2 { font-size: 34px; }
.deal-tx > p { margin-top: 8px; color: var(--ink2); }
.deal-pr { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.deal-pr .price { font-size: 28px; color: var(--wine); }
.deal-pr .old { font-size: 16px; }
.deal-t { display: inline-flex; align-items: center; gap: 10px; margin-top: 12px; padding: 8px 14px; background: rgba(255, 253, 250, .7); border-radius: 12px; font-size: 13px; color: var(--ink2); }
.deal-t b { font-variant-numeric: tabular-nums; font-size: 17px; color: var(--ink); letter-spacing: .03em; }
.deal-cta { display: flex; gap: 10px; margin: 18px 0 10px; flex-wrap: wrap; }
.deal-cta .btn { flex: 1 1 140px; }

/* builder promo */
.bpromo { margin-top: 40px; display: grid; gap: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 16px; }
.bpromo-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bpromo-g img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; background: var(--paper); width: 100%; }
.bpromo-tx { padding: 4px 4px 6px; }
.bpromo-tx p { color: var(--ink2); margin-top: 10px; }
.ticks { list-style: none; padding: 0; margin: 14px 0 18px; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; }
.ticks svg { color: var(--acc); width: 18px; height: 18px; margin-top: 2px; }

/* how */
.how { display: grid; gap: 16px; }
.how-ph { margin: 0; border-radius: var(--r2); overflow: hidden; aspect-ratio: 4 / 3; background: var(--paper); }
.how-ph img { width: 100%; height: 100%; object-fit: cover; }
.how-ph2 { display: none; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.steps li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border: 0; }
.steps .n { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 19px; }
.steps b { font-size: 16px; }
.steps p { color: var(--ink2); font-size: 14px; margin-top: 2px; }
.g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* reminder banner */
.rem-banner { position: relative; margin-top: 44px; border-radius: var(--r2); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; background: #e9dfd2; }
.rem-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%; }
.rem-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36, 33, 30, .86) 0%, rgba(36, 33, 30, .62) 52%, rgba(36, 33, 30, .1) 85%); }
.rem-tx { position: relative; z-index: 1; color: #fff; padding: 24px 20px; max-width: 560px; }
.rem-tx .eyebrow { color: var(--rose); }
.rem-tx p { margin: 10px 0 18px; color: rgba(255, 255, 255, .88); }

/* perks */
.perks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.perk { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 14px; display: flex; flex-direction: column; gap: 4px; }
.perk-i { width: 40px; height: 40px; border-radius: 12px; background: var(--acc-soft); color: var(--acc); display: grid; place-items: center; margin-bottom: 6px; }
.perk b { font-size: 14.5px; line-height: 1.3; }
.perk span { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* catalog */
.occ-chips { margin-bottom: 14px; }
.cat-layout { display: block; }
.filters { display: none; }
.cat-tools { display: flex; gap: 10px; margin-bottom: 12px; }
.btn-f { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card); font-weight: 600; font-size: 14px; }
.btn-f i { font-style: normal; background: var(--acc); color: #fff; border-radius: 9px; min-width: 20px; height: 20px; font-size: 12px; display: grid; place-items: center; padding: 0 5px; }
.sel { flex: 1; min-width: 0; }
.sel select { width: 100%; height: 44px; border-radius: 999px; border: 1px solid var(--line2); background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2381776d' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px; padding: 0 38px 0 16px; appearance: none; -webkit-appearance: none; font-size: 14px; }
.active-f { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; align-items: center; }
.chip-x { height: 32px; padding: 0 10px 0 13px; font-size: 13px; background: var(--acc-soft); border-color: transparent; color: var(--acc); }
.chip-x svg { width: 14px; height: 14px; }
.reset { font-size: 13px; color: var(--muted); text-decoration: underline; padding: 0 6px; }
.fgroup { padding: 16px 0; border-bottom: 1px solid var(--line); }
.fgroup:last-child { border: 0; }
.fgroup h4 { margin-bottom: 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.chk { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14.5px; cursor: pointer; }
.chk input { position: absolute; opacity: 0; pointer-events: none; }
.cbx { width: 20px; height: 20px; border-radius: 6px; border: 1.5px solid var(--line2); display: grid; place-items: center; flex: none; background: var(--card); transition: all .15s; }
.cbx svg { width: 14px; height: 14px; stroke-width: 2.6; opacity: 0; color: #fff; }
.chk input:checked + .cbx { background: var(--acc); border-color: var(--acc); }
.chk input:checked + .cbx svg { opacity: 1; }
.chk input:focus-visible + .cbx { outline: 2px solid var(--acc); outline-offset: 2px; }
.chk em { margin-left: auto; font-style: normal; color: var(--muted); font-size: 12.5px; }
.sw-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); }
.swatches { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.swatch { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; background: var(--card); text-align: left; }
.swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .1); flex: none; }
.swatch.on { border-color: var(--acc); box-shadow: inset 0 0 0 1px var(--acc); }
.wchips { display: flex; flex-wrap: wrap; gap: 6px; }
.wchips .chip { height: 34px; padding: 0 13px; font-size: 13.5px; }
.empty { text-align: center; padding: 50px 16px; max-width: 460px; margin: 0 auto; }
.empty-i { width: 64px; height: 64px; border-radius: 50%; background: var(--rose); display: grid; place-items: center; margin: 0 auto 16px; color: var(--wine); }
.empty-i svg { width: 28px; height: 28px; }
.empty h3 { font-family: var(--serif); font-size: 26px; }
.empty p { color: var(--muted); margin: 8px 0 20px; }
.empty-cta { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* sheet (mobile filters) */
.sheet { position: fixed; inset: 0; z-index: 60; }
.sheet-bg { position: absolute; inset: 0; background: rgba(36, 33, 30, .45); animation: fadeb .2s; }
.sheet-p { position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; background: var(--bg); border-radius: 22px 22px 0 0; display: flex; flex-direction: column; animation: up .25s ease; }
.sheet-hd { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 6px; }
.sheet-hd h3 { font-family: var(--serif); font-size: 24px; }
.sheet-b { overflow: auto; padding: 0 16px; flex: 1; }
.sheet-f { display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fadeb { from { opacity: 0; } }
.x { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink2); }
.x:hover { background: var(--paper); }

/* product page */
.pp { display: grid; gap: 18px; }
.gal { position: relative; margin: 0 -16px; }
.gal-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--paper); }
.gal-main::-webkit-scrollbar { display: none; }
.gal-main figure { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; scroll-snap-align: start; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: cover; }
.gal-main .zoom img, .gal-thumbs .zoom img { transform: scale(1.9); transform-origin: 50% 32%; }
.gal-thumbs { display: none; }
.gal-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.gal-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(36, 33, 30, .25); }
.gal-dots i.on { background: var(--acc); width: 20px; border-radius: 4px; }
.gal .badges { left: 16px; top: 14px; }
.gal .fav { right: 16px; top: 14px; width: 42px; height: 42px; }
.pp-info h1 { font-size: 36px; }
.pp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 8px 0 14px; font-size: 13.5px; color: var(--muted); }
.rate { display: inline-flex; align-items: center; gap: 6px; }
.rate b { color: var(--ink); }
.stars { display: inline-flex; gap: 1px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); stroke: var(--gold); }
.stars svg.off { fill: none; stroke: var(--line2); }
.stock { color: var(--ok); font-weight: 500; }
.stock::before { content: ''; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: 1px; }
.pp-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pp-price .price { font-size: 30px; }
.save { font-size: 12.5px; font-weight: 600; color: var(--wine); background: var(--rose); padding: 3px 9px; border-radius: 999px; }
.per { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.opt { margin-top: 18px; }
.opt-l { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.opt-l b { color: var(--ink); }
.vars { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.var { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; transition: border-color .15s; min-width: 0; }
.var b { font-size: 14px; font-weight: 600; }
.var small { font-size: 12px; color: var(--muted); }
.var span { font-size: 13.5px; font-weight: 600; margin-top: 3px; }
.var:hover { border-color: var(--line2); }
.var.on { border-color: var(--acc); background: var(--acc-soft); }
.pp-dlv { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 12px; background: var(--acc-soft); font-size: 13.5px; color: var(--ink2); }
.pp-dlv svg { color: var(--acc); margin-top: 1px; }
.buy { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-top: 16px; }
.buy .btn-o { grid-column: 1 / -1; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line2); border-radius: 999px; height: 50px; background: var(--card); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--ink2); }
.qty button:disabled { opacity: .3; }
.qty svg { width: 17px; height: 17px; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.qty-s { height: 36px; } .qty-s button { width: 34px; }
.qty-l span { min-width: 64px; } .qty-l b { font-size: 18px; }
.pp-adds { margin-top: 20px; }
.pp-adds h4 { font-size: 14px; margin-bottom: 8px; }
.adds { display: grid; grid-auto-flow: column; grid-auto-columns: 62%; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 2px; margin: 0 -16px; }
.adds::-webkit-scrollbar { display: none; }
.add-c { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; min-width: 0; }
.add-c img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; background: var(--paper); flex: none; }
.add-c span { flex: 1; font-size: 13px; line-height: 1.25; min-width: 0; }
.add-c small { display: block; color: var(--muted); font-size: 12px; }
.add-c i { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line2); display: grid; place-items: center; flex: none; }
.add-c i svg { width: 14px; height: 14px; }
.add-c.on { border-color: var(--acc); background: var(--acc-soft); }
.add-c.on i { background: var(--acc); border-color: var(--acc); color: #fff; }
.pp-perks { display: grid; gap: 10px; margin-top: 20px; }
.pp-perks > div { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); }
.pp-perks svg { color: var(--acc); margin-top: 2px; }
.pp-perks b { display: block; color: var(--ink); font-size: 14px; font-weight: 600; }
.pp-more { margin-top: 30px; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin: 0 -16px 16px; padding: 0 16px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { padding: 12px 12px; font-weight: 500; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; margin-bottom: -1px; }
.tabs button.on { color: var(--ink); border-color: var(--acc); }
.tab-pane { max-width: 760px; }
.tab-pane p { margin-bottom: 10px; color: var(--ink2); }
.comp-grid { display: grid; gap: 16px; margin-bottom: 12px; }
.comp { margin: 0; padding-left: 18px; display: grid; gap: 6px; }
.size-d { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; text-align: center; font-size: 13px; color: var(--muted); }
.size-d b { display: block; color: var(--ink); font-size: 14px; }
.sd { width: 100%; height: auto; max-width: 260px; margin: 6px auto; display: block; stroke-width: 1; }
.sd-h { fill: var(--rose); stroke: var(--rose2); }
.sd-w { fill: var(--paper); stroke: var(--line2); }
.sd-l { stroke: var(--acc); fill: none; }
.sd-t { fill: var(--acc); stroke: none; font: 600 12px var(--sans); text-anchor: middle; }
.care { padding-left: 20px; display: grid; gap: 8px; color: var(--ink2); }
.rev-note { display: inline-block; font-size: 12px; color: var(--muted); background: var(--paper); border-radius: 6px; padding: 3px 8px; margin-bottom: 12px; }
.rev-sum { margin-bottom: 8px; }
.rev-big { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 44px; font-weight: 600; line-height: 1; }
.rev-big small { font-family: var(--sans); font-size: 13px; color: var(--muted); font-weight: 400; line-height: 1.5; }
.rev { padding: 14px 0; border-bottom: 1px solid var(--line); }
.rev-h { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.rev p { margin-bottom: 4px; }
.rev small { color: var(--muted); font-size: 12.5px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 250, .97); border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sticky-buy .p { flex: 1; display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
.sticky-buy small { color: var(--muted); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* builder */
.bld { display: grid; gap: 18px; padding-bottom: 80px; }
.bld-prev { display: grid; gap: 10px; }
.bp-stage { position: relative; border-radius: var(--r2); overflow: hidden; background: var(--paper); aspect-ratio: 4 / 4.6; }
.bp-img { position: absolute; inset: 0; display: grid; place-items: center; }
.bp-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; transition: transform .5s cubic-bezier(.3, .7, .3, 1), opacity .17s; transform-origin: 50% 62%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 9%, #000 91%, transparent), linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.bp-img img.swap { opacity: 0; }
.bp-stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; border-radius: var(--r2); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .03); }
.bp-n, .bp-z { position: absolute; top: 12px; z-index: 1; background: rgba(255, 253, 250, .94); border-radius: 999px; font-size: 12.5px; font-weight: 600; padding: 5px 11px; box-shadow: 0 1px 3px rgba(60, 40, 30, .08); }
.bp-n { font-size: 14px; padding: 6px 13px; }
.bp-n.pop, .bp-z.pop { animation: bp-pop .45s; }
@keyframes bp-pop { 40% { transform: scale(1.14); background: #fff; } }
.bp-n { left: 12px; } .bp-z { right: 12px; }
.bp-layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.bl { display: flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 6px; font-size: 12.5px; line-height: 1.25; min-width: 0; }
.bl > span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.bl small { display: block; color: var(--muted); font-size: 11px; }
.bl-i { width: 38px; height: 38px; border-radius: 8px; overflow: hidden; flex: none; background: var(--paper); display: grid; place-items: center; color: var(--muted); }
.bl-i img { width: 100%; height: 100%; object-fit: cover; }
.bp-note { display: flex; gap: 8px; font-size: 13px; color: var(--muted); align-items: flex-start; }
.bp-note svg { color: var(--acc); width: 18px; height: 18px; margin-top: 1px; }
.bstep { padding: 18px 0; border-bottom: 1px solid var(--line); }
.bstep:first-child { padding-top: 0; }
.bstep h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 12px; font-size: 17px; }
.bstep h3 small { flex-basis: 100%; font-weight: 400; font-size: 13px; color: var(--muted); padding-left: 38px; margin-top: -2px; }
.n { width: 28px; height: 28px; border-radius: 50%; background: var(--acc); color: #fff; display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.b-fl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; padding: 6px 6px 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .15s; min-width: 0; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--paper); margin-bottom: 6px; }
.tile b { font-size: 13.5px; font-weight: 600; line-height: 1.2; }
.tile small { font-size: 12px; color: var(--muted); }
.tile:hover { border-color: var(--line2); }
.tile.on { border-color: var(--acc); background: var(--acc-soft); }
.tile.on small { color: var(--acc); }
.tile-none { width: 100%; aspect-ratio: 1; border-radius: 10px; background: var(--paper); margin-bottom: 6px; display: grid; place-items: center; color: var(--muted); }
.b-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.b-sh { display: flex; flex-wrap: wrap; gap: 8px; }
.shade { display: inline-flex; align-items: center; gap: 9px; height: 46px; padding: 0 16px 0 8px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); font-size: 14px; font-weight: 500; }
.shade i { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .08); }
.shade.on { border-color: var(--acc); background: var(--acc-soft); }
.b-q { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.b-qp { font-size: 14px; color: var(--muted); }
.b-qp b { color: var(--ink); }
.b-sz { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.b-sz .var b { font-size: 17px; }
.b-sum { padding-top: 18px; }
.b-sum h3 { margin-bottom: 8px; }
.b-cta { display: grid; gap: 8px; margin-top: 14px; }
.bld-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 253, 250, .97); border-top: 1px solid var(--line); }
.bld-bar .p { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.2; }
.bld-bar small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bld-bar .price { font-size: 19px; }

/* cart */
.ci { position: relative; display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci-img { display: block; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--paper); }
.ci-a .ci-img { aspect-ratio: 1; }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-b { min-width: 0; padding-right: 30px; }
.ci-t { font-family: var(--serif); font-weight: 600; font-size: 18.5px; line-height: 1.2; display: block; }
.ci-v { font-size: 13px; color: var(--muted); margin: 2px 0 10px; }
.ci-r { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.ci-p { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.ci-del { position: absolute; top: 10px; right: -6px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.ci-del:hover { background: var(--paper); color: var(--err); }
.ci-del svg { width: 17px; height: 17px; }
.addons { margin-top: 22px; }
.addons h4 { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }
.add-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 40%; gap: 10px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 4px; margin: 0 -16px; scroll-padding: 0 16px; }
.add-grid::-webkit-scrollbar { display: none; }
.mini-row { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.mini-row::-webkit-scrollbar { display: none; }
.ad { display: flex; flex-direction: column; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 8px 10px; min-width: 0; }
.ad.on { border-color: var(--acc); }
.ad img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--paper); }
.ad .t { font-size: 13.5px; font-weight: 600; line-height: 1.25; margin-top: 4px; }
.ad .t small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.ad b { font-size: 14px; }
.ad .btn { height: 36px; padding: 0 10px; font-size: 13px; border: 1.5px solid var(--line2); background: var(--card); margin-top: 4px; }
.ad .btn svg { width: 15px; height: 15px; }
.ad .btn.btn-on { border-color: var(--acc); background: var(--acc-soft); color: var(--acc); }
.addons-s h4 { font-size: 19px; }
.cart-side, .co-sum { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 18px; margin-top: 20px; }
.ship { margin-bottom: 14px; }
.ship-t { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; }
.ship-t svg { color: var(--acc); }
.bar { height: 6px; border-radius: 3px; background: var(--paper); margin-top: 8px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--acc); border-radius: 3px; transition: width .4s; }
.sum { display: grid; gap: 7px; font-size: 14.5px; }
.sum > div { display: flex; justify-content: space-between; gap: 12px; }
.sum > div span:first-child { color: var(--ink2); }
.sum .disc span:last-child { color: var(--wine); }
.sum .total { padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--line); font-weight: 700; font-size: 18px; }
.sum .total span:first-child { color: var(--ink); }
.cart-side .btn, .cart-side p { margin-top: 14px; }
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-bg { position: absolute; inset: 0; background: rgba(36, 33, 30, .45); animation: fadeb .2s; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); display: flex; flex-direction: column; animation: slide .25s ease; }
@keyframes slide { from { transform: translateX(100%); } }
.drawer-hd { display: flex; align-items: center; justify-content: space-between; padding: 12px 12px 6px 18px; }
.drawer-hd h3 { font-family: var(--serif); font-size: 26px; }
.drawer-body { flex: 1; overflow: auto; padding: 0 18px; }
.drawer-body .ci { grid-template-columns: 64px 1fr; }
.drawer-body .ci-t { font-size: 17px; }
.drawer-body .sum { margin: 10px 0; }
.added { display: flex; gap: 8px; align-items: center; background: var(--acc-soft); color: var(--acc); padding: 10px 12px; border-radius: 12px; font-size: 13.5px; font-weight: 500; }
.added svg { width: 18px; height: 18px; flex: none; }
.cart-foot { position: sticky; bottom: 0; background: var(--bg); padding: 10px 0 calc(14px + env(safe-area-inset-bottom)); margin-top: 8px; border-top: 1px solid var(--line); }
.cart-link { display: block; text-align: center; padding: 10px; color: var(--acc); font-weight: 600; font-size: 14px; }

/* checkout */
.co-wrap { padding-bottom: 40px; }
.prefill { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px; background: var(--rose); border-radius: var(--r); padding: 12px 14px; font-size: 13.5px; margin-bottom: 14px; }
.prefill button { color: var(--wine); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.form-sec { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 18px 16px; margin-bottom: 12px; }
.form-sec > h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; margin-bottom: 14px; }
.fld { position: relative; margin-bottom: 12px; min-width: 0; }
.fld label { display: block; font-size: 13px; color: var(--ink2); margin-bottom: 5px; font-weight: 500; }
.fld input, .fld textarea { width: 100%; height: 50px; border: 1.5px solid var(--line2); border-radius: 12px; background: #fff; padding: 0 14px; outline: none; transition: border-color .15s; font-size: 16px; }
.fld textarea { height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.45; }
.fld input:focus, .fld textarea:focus { border-color: var(--acc); }
.fld .e { display: none; font-size: 12.5px; color: var(--err); margin-top: 4px; }
.fld.err input, .fld.err textarea { border-color: var(--err); }
.fld.err .e, .zones.err .e { display: block; }
.fld-row { display: grid; gap: 0 12px; }
.fld-row.keep { grid-template-columns: 1fr 1fr; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); border-radius: 14px; padding: 4px; margin-bottom: 14px; }
.seg2 button { height: 42px; border-radius: 11px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.seg2 button.on { background: #fff; color: var(--acc); box-shadow: var(--sh); }
.tgls { display: grid; gap: 4px; }
.tgl { display: flex; align-items: flex-start; gap: 12px; padding: 8px 0; cursor: pointer; }
.tgl input { position: absolute; opacity: 0; pointer-events: none; }
.sw { position: relative; width: 44px; height: 26px; border-radius: 13px; background: var(--line2); flex: none; transition: background .2s; margin-top: 1px; }
.sw::after { content: ''; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
.tgl input:checked + .sw { background: var(--acc); }
.tgl input:checked + .sw::after { transform: translateX(18px); }
.tgl input:focus-visible + .sw { outline: 2px solid var(--acc); outline-offset: 2px; }
.tgl-t { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.35; }
.tgl-t b { font-weight: 600; }
.tgl-t small { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.zones { display: grid; gap: 6px; margin-bottom: 14px; }
.zone { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.zone input { position: absolute; opacity: 0; pointer-events: none; }
.zone-b { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.zone-b b { font-size: 14.5px; }
.zone-b small { font-size: 12px; color: var(--muted); }
.zone-p { font-weight: 600; font-size: 14px; white-space: nowrap; }
.zone-p s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.zone:has(input:checked) { border-color: var(--acc); background: var(--acc-soft); }
.zone:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.zones.err .zone { border-color: var(--err); }
.zones .e { display: none; font-size: 12.5px; color: var(--err); }
.pickup { display: flex; gap: 12px; padding: 14px; border-radius: 12px; background: var(--acc-soft); font-size: 13.5px; }
.pickup svg { color: var(--acc); }
.pickup b { display: block; font-size: 15px; }
.pickup span { color: var(--ink2); }
.when2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.wopt { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; text-align: left; }
.wopt svg { color: var(--acc); width: 22px; height: 22px; }
.wopt span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.wopt b { font-size: 14.5px; }
.wopt small { font-size: 12px; color: var(--muted); }
.wopt.on { border-color: var(--acc); background: var(--acc-soft); }
.wopt:disabled { opacity: .5; }
.wopt[data-v=express] svg { color: var(--wine); }
.express-note { display: flex; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--rose); font-size: 13.5px; color: var(--ink2); }
.express-note svg { color: var(--wine); }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 64px; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 0 16px 4px; margin: 0 -16px 12px; }
.days::-webkit-scrollbar { display: none; }
.day { position: relative; display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; line-height: 1.2; cursor: pointer; }
.day small { font-size: 11px; color: var(--muted); white-space: nowrap; }
.day b { font-size: 20px; font-weight: 600; margin: 2px 0; display: grid; place-items: center; min-height: 24px; }
.day b svg { width: 20px; height: 20px; }
.day.on { border-color: var(--acc); background: var(--acc); color: #fff; }
.day.on small { color: rgba(255, 255, 255, .8); }
.day:disabled { opacity: .4; }
.day-x input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.day-x input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.slot { display: flex; flex-direction: column; align-items: flex-start; padding: 9px 12px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; line-height: 1.25; text-align: left; }
.slot b { font-size: 14.5px; font-variant-numeric: tabular-nums; }
.slot small { font-size: 11.5px; color: var(--ok); }
.slot.few small { color: var(--gold); }
.slot.on { border-color: var(--acc); background: var(--acc-soft); }
.slot:disabled { opacity: .45; background: var(--paper); }
.slot:disabled small { color: var(--muted); }
.card-ed { margin-top: 8px; }
.tpl { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 12px; }
.tpl > span { font-size: 13px; color: var(--muted); margin-right: 2px; }
.tpl .chip { height: 34px; padding: 0 13px; font-size: 13px; }
.card-grid { display: grid; gap: 12px; }
.cnt-c { position: absolute; right: 12px; bottom: 9px; font-size: 12px; color: var(--muted); background: rgba(255, 255, 255, .9); padding: 0 4px; font-variant-numeric: tabular-nums; }
.cnt-c.warn { color: var(--wine); font-weight: 600; }
.fld#f-card .e { display: none; }
.card-prev { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.card-prev > small { font-size: 12px; color: var(--muted); text-align: center; }
.pc-card { position: relative; width: 100%; max-width: 330px; aspect-ratio: 10 / 7; background: #fffaf3; border: 1px solid #eadfcf; border-radius: 6px; box-shadow: 0 10px 28px rgba(80, 50, 20, .12); padding: 22px 22px 18px; display: flex; flex-direction: column; justify-content: center; transform: rotate(-1.2deg); }
.pc-card p { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: #3b3129; overflow-wrap: anywhere; }
.pc-card .ph { color: #b9aa98; }
.pc-card i { align-self: flex-end; font-family: var(--serif); font-size: 16px; margin-top: 8px; color: #6b5a4a; }
.pc-pt { position: absolute; top: 10px; right: 12px; }
.pc-pt .logo-m { width: 20px; height: 20px; opacity: .6; }
.pc-card.sm { transform: none; aspect-ratio: auto; max-width: none; padding: 16px 18px; margin-top: 14px; box-shadow: none; }
.pc-card.sm p { font-size: 17px; }
.ph-ch { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 8px; padding-left: 56px; }
.ph-ch > span { font-size: 13px; color: var(--muted); }
.ph-ch .chip { height: 34px; padding: 0 14px; font-size: 13px; }
.opts { display: grid; gap: 8px; margin-bottom: 14px; }
.radio { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio .dot { width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line2); flex: none; display: grid; place-items: center; }
.radio input:checked ~ .dot { border-color: var(--acc); }
.radio input:checked ~ .dot::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--acc); }
.radio:has(input:checked) { border-color: var(--acc); background: var(--acc-soft); }
.radio:has(input:focus-visible) { outline: 2px solid var(--acc); outline-offset: 2px; }
.radio.dis { opacity: .5; cursor: default; }
.rt { flex: 1; display: flex; flex-direction: column; font-weight: 600; font-size: 14.5px; line-height: 1.3; min-width: 0; }
.rt small { font-weight: 400; color: var(--muted); font-size: 12.5px; }
.rr { font-size: 12px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.apay { display: inline-flex; align-items: center; gap: 2px; background: #111; color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 12px; }
.apay svg { width: 13px; height: 13px; fill: #fff; stroke: none; }
.co-sum h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 12px; }
.co-items { display: grid; gap: 10px; margin-bottom: 12px; }
.co-it { display: grid; grid-template-columns: 46px 1fr auto; gap: 10px; align-items: center; }
.co-it img { width: 46px; height: 52px; border-radius: 8px; object-fit: cover; background: var(--paper); }
.co-it .t { font-size: 13.5px; font-weight: 500; line-height: 1.3; min-width: 0; }
.co-it .t small { display: block; color: var(--muted); font-size: 12px; font-weight: 400; }
.co-it .price { font-size: 14px; }
.co-when { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--acc-soft); color: var(--acc); font-weight: 600; font-size: 13.5px; margin-bottom: 12px; }
.co-when svg { width: 18px; height: 18px; }
.co-pay { margin-top: 16px; }

/* test note */
.test-note { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--ink2); background: #fff6e6; border: 1px solid #f0dfbd; border-radius: 10px; padding: 9px 11px; margin-top: 12px; line-height: 1.4; }
.test-note svg { width: 16px; height: 16px; color: var(--gold); margin-top: 1px; }

/* pay */
body.bare .hdr, body.bare .ftr { display: none; }
body.bare { background: #efe8de; }
.pay-wrap { min-height: 100vh; display: flex; justify-content: center; padding: 14px 12px 40px; }
.pay { width: 100%; max-width: 440px; }
.pay-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; margin-bottom: 4px; }
.pay-back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--ink2); white-space: nowrap; }
.pay-back svg { width: 17px; height: 17px; }
.pay-sec { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.pay-sec svg { width: 14px; height: 14px; }
.pay .test-note { margin: 8px 0 12px; }
.pay-card { background: #fff; border-radius: 22px; box-shadow: var(--sh2); overflow: hidden; }
.pay-hd { padding: 18px 20px; background: var(--acc); color: #fff; }
.pay-m { display: flex; align-items: center; gap: 10px; font-size: 13.5px; opacity: .92; }
.pay-m .logo-m { width: 24px; height: 24px; } .pay-m .logo-m .pt { fill: var(--rose); } .pay-m .logo-m .vn { stroke: var(--acc); }
.pay-amt { font-size: 32px; font-weight: 700; margin-top: 8px; line-height: 1.1; }
.pay-amt small { display: block; font-size: 13px; font-weight: 400; opacity: .8; margin-top: 4px; }
.pay-b { padding: 18px 20px 20px; }
.pay-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pm { display: flex; align-items: center; justify-content: center; gap: 6px; height: 46px; border: 1.5px solid var(--line); border-radius: 12px; font-weight: 600; }
.pm.on { border-color: var(--ink); }
.pm svg { width: 18px; height: 18px; }
.pm:nth-child(2) svg { fill: currentColor; stroke: none; }
.test-hint { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--acc-soft); border-radius: 12px; padding: 10px 14px; font-size: 13px; margin-bottom: 14px; }
.test-hint b { font-variant-numeric: tabular-nums; letter-spacing: .03em; }
.test-hint button { color: var(--acc); font-weight: 700; white-space: nowrap; }
.pfld { margin-bottom: 12px; min-width: 0; }
.pfld label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 5px; }
.pfld input { width: 100%; height: 50px; border: 1.5px solid var(--line2); border-radius: 12px; padding: 0 14px; font-size: 16px; outline: none; font-variant-numeric: tabular-nums; }
.pfld input:focus { border-color: var(--acc); }
.pfld .e { display: none; color: var(--err); font-size: 12px; margin-top: 4px; }
.pfld.err input { border-color: var(--err); }
.pfld.err .e { display: block; }
.inp { position: relative; }
.brand-ic { position: absolute; right: 12px; top: 15px; font-size: 11px; font-weight: 800; letter-spacing: .05em; }
.brand-ic.visa { color: #1a3d8f; } .brand-ic.mc { color: #d2571f; }
.pfld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pay-btn { width: 100%; height: 54px; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 4px; }
.pay-btn svg { width: 18px; height: 18px; }
.pay-hint { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }
.pay-ft { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 12px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--muted); }
.pay-ft span { display: inline-flex; align-items: center; gap: 4px; }
.pay-ft svg { width: 13px; height: 13px; }
.sheet-ap { border: 1px solid var(--line); border-radius: 14px; padding: 4px 14px; margin-bottom: 16px; }
.sheet-ap .r { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sheet-ap .r:last-child { border: 0; }
.sheet-ap span { color: var(--muted); }
.faceid { display: flex; flex-direction: column; align-items: center; gap: 8px; color: var(--ink2); font-size: 14px; padding: 8px 0 14px; }
.faceid svg { width: 46px; height: 46px; color: var(--acc); stroke-width: 1.3; }
.apple-btn { width: 100%; height: 52px; border-radius: 12px; background: #000; color: #fff; font-weight: 600; font-size: 19px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.apple-btn svg { width: 20px; height: 20px; fill: #fff; stroke: none; }
.proc { text-align: center; padding: 20px 0 10px; }
.proc h3 { font-family: var(--serif); font-size: 26px; margin-top: 14px; }
.proc p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.spin { width: 52px; height: 52px; border-radius: 50%; border: 4px solid var(--acc-soft); border-top-color: var(--acc); margin: 0 auto; animation: spin .8s linear infinite; }
.spin.sm { width: 46px; height: 46px; margin: 0; }
@keyframes spin { to { transform: rotate(360deg); } }
.steps-p { display: grid; gap: 8px; text-align: left; max-width: 260px; margin: 18px auto 0; }
.steps-p div { display: flex; gap: 8px; align-items: center; font-size: 13.5px; color: var(--muted); }
.steps-p svg { width: 16px; height: 16px; opacity: .2; }
.steps-p .on { color: var(--ink); } .steps-p .done { color: var(--ok); } .steps-p .done svg { opacity: 1; }
.okc { width: 64px; height: 64px; border-radius: 50%; background: var(--acc); color: #fff; display: grid; place-items: center; margin: 0 auto; }
.okc svg { width: 30px; height: 30px; stroke-width: 2.4; }
.okc.bad { background: var(--err); }
.proc .pay-btn { margin-top: 18px; }

/* success */
.succ { padding-top: 22px; }
.succ-hd { text-align: center; max-width: 620px; margin: 0 auto 22px; }
.succ-hd h1 { margin-top: 14px; font-size: 36px; }
.succ-hd p { color: var(--ink2); margin-top: 8px; }
.onum { font-weight: 700; color: var(--acc); }
.succ-layout { display: grid; gap: 14px; }
.track, .box, .rem, .shop-cta { background: var(--card); border: 1px solid var(--line); border-radius: var(--r2); padding: 18px 16px; }
.track-hd { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.track-hd h3, .box h3, .rem h3 { font-family: var(--serif); font-size: 23px; }
.track-hd h3 { white-space: nowrap; font-size: 21px; }
.track-hd .btn-sm { padding: 0 12px; font-size: 13px; }
.tsteps { display: grid; }
.ts { position: relative; display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding-bottom: 18px; }
.ts::before { content: ''; position: absolute; left: 18px; top: 38px; bottom: 2px; width: 2px; background: var(--line); }
.ts:last-child::before { display: none; }
.ts.done::before { background: var(--acc); }
.ts-i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--muted); position: relative; z-index: 1; }
.ts-i svg { width: 19px; height: 19px; }
.ts.done .ts-i { background: var(--acc); color: #fff; }
.ts.cur .ts-i { background: var(--rose); color: var(--wine); box-shadow: 0 0 0 5px rgba(242, 224, 218, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(242, 224, 218, .25); } }
.ts-b { padding-top: 7px; min-width: 0; }
.ts-b b { display: block; font-size: 15px; }
.ts-b small { color: var(--muted); font-size: 13px; }
.ts:not(.done):not(.cur) b { color: var(--muted); font-weight: 500; }
.sent-ph { display: grid; gap: 12px; margin-top: 12px; animation: fade .5s; }
.sent-ph figure { margin: 0; background: #fff; padding: 8px 8px 0; border-radius: 6px; box-shadow: 0 8px 26px rgba(60, 40, 20, .14); max-width: 280px; transform: rotate(-1.5deg); }
.sent-ph img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 3px; background: var(--paper); }
.sent-ph figcaption { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); padding: 8px 2px 9px; }
.sent-ph figcaption svg { width: 15px; height: 15px; color: var(--acc); }
.sent-act { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sent-act p { flex-basis: 100%; font-size: 13.5px; color: var(--ink2); }
.ok-t { display: flex; gap: 6px; align-items: center; color: var(--ok) !important; font-weight: 600; }
.ok-t svg { width: 17px; height: 17px; }
.info-grid { display: grid; gap: 14px; align-content: start; }
.kv { display: grid; gap: 10px; font-size: 14px; }
.kv > div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; }
.kv span { color: var(--muted); }
.kv b { font-weight: 500; overflow-wrap: anywhere; }
.box .co-items { margin-top: 12px; }
.shop-cta { background: var(--acc); color: #fff; border: 0; display: grid; gap: 14px; }
.shop-cta h3 { font-family: var(--serif); font-size: 24px; }
.shop-cta p { opacity: .85; font-size: 14px; margin-top: 4px; }
.shop-cta .btn { justify-self: start; }
.st { display: inline-block; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-new { background: #fbe6d9; color: #a2501f; }
.st-ok { background: #e3ebf6; color: #2f5a93; }
.st-make { background: #f4e8f7; color: #7a3f8c; }
.st-photo { background: var(--rose); color: var(--wine); }
.st-road { background: #fff1cf; color: #8a6511; }
.st-done { background: var(--acc-soft); color: var(--acc); }

/* reminders */
.rem-hd { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.rem-hd > svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--rose); color: var(--wine); }
.rem-hd p { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.rem-t { margin-bottom: 14px; }
.rem-t .chip { height: 36px; font-size: 13.5px; }
.rem-grid { display: grid; gap: 0 12px; }
.seg3 { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: var(--paper); border-radius: 12px; padding: 4px; }
.seg3 button { height: 40px; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--ink2); white-space: nowrap; }
.seg3 button.on { background: #fff; color: var(--acc); font-weight: 600; box-shadow: var(--sh); }
.rem-f { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 4px; }
.rem-f .muted { flex: 1 1 220px; }
.rem-list h4 { margin: 18px 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.rl { position: relative; display: flex; gap: 12px; align-items: center; padding: 10px 40px 10px 12px; border-radius: 12px; background: var(--paper); margin-bottom: 6px; }
.rl > svg { color: var(--acc); }
.rl span { display: flex; flex-direction: column; font-size: 14px; line-height: 1.3; }
.rl small { color: var(--muted); font-size: 12.5px; }
.rl .ci-del { top: 50%; right: 4px; transform: translateY(-50%); }

/* delivery page */
.dl-grid { display: grid; gap: 14px; margin-top: 14px; }
.dl-grid .box h3 { margin-bottom: 12px; }
.ztab { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 10px; }
.ztab td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.ztab td:last-child { text-align: right; font-weight: 600; white-space: nowrap; padding-left: 12px; }
.ztab small { display: block; color: var(--muted); font-size: 12.5px; }
.dl-img { border-radius: 12px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 12px; }
.box p { color: var(--ink2); font-size: 14.5px; }

/* shop views */
.sv { padding-bottom: 20px; }
.sv-hd { display: grid; gap: 14px; margin-bottom: 18px; }
.sv-hd p { color: var(--ink2); max-width: 620px; margin-top: 6px; }
.seg { display: inline-grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--paper); border-radius: 14px; padding: 4px; justify-self: start; }
.seg a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; padding: 0 16px; border-radius: 11px; font-weight: 600; font-size: 14px; color: var(--ink2); }
.seg a.on { background: #fff; color: var(--acc); box-shadow: var(--sh); }
.tg-stage { display: grid; gap: 18px; justify-items: center; }
.phone-f { width: 100%; max-width: 390px; border-radius: 40px; padding: 10px; background: #1d1f22; box-shadow: var(--sh2); }
.tg { border-radius: 31px; overflow: hidden; background: #cfd9c9; display: flex; flex-direction: column; height: 720px; }
.tg-st { display: flex; justify-content: space-between; padding: 10px 22px 4px; font-size: 12.5px; font-weight: 600; background: #f6f6f4; }
.tg-st i { display: inline-block; width: 4px; height: 9px; background: #222; margin-left: 2px; border-radius: 1px; }
.tg-top { display: flex; align-items: center; gap: 10px; padding: 8px 12px 10px; background: #f6f6f4; border-bottom: 1px solid #e3e3e0; }
.tg-top > svg { color: #3390ec; }
.tg-av { width: 38px; height: 38px; border-radius: 50%; background: var(--acc); display: grid; place-items: center; }
.tg-av .logo-m { width: 22px; height: 22px; } .tg-av .logo-m .pt { fill: var(--rose); } .tg-av .logo-m .vn { stroke: var(--acc); }
.tg-top b { font-size: 14.5px; display: block; line-height: 1.2; }
.tg-top small { font-size: 12px; color: #8a8f94; }
.tg-chat { flex: 1; overflow: auto; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; background: #d6e0cf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M30 8c4 3 5 8 3 12-1 1.5-2 2.5-3 3.2-1-.7-2-1.7-3-3.2-2-4-1-9 3-12z' fill='%23c6d3bd'/%3E%3C/svg%3E"); }
.tg-chat > * { flex-shrink: 0; }
.tg-day { align-self: center; background: rgba(60, 80, 50, .35); color: #fff; font-size: 12px; padding: 3px 10px; border-radius: 10px; }
.tg-msg { position: relative; align-self: flex-start; max-width: 92%; background: #fff; border-radius: 14px 14px 14px 4px; padding: 8px 12px 18px; font-size: 13.5px; line-height: 1.45; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.tg-msg.new { padding: 0; overflow: hidden; width: 92%; }
.tg-ph img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 35%; }
.tg-tx { padding: 8px 12px 20px; }
.tg-msg .h { display: flex; align-items: center; gap: 6px; font-weight: 700; margin-bottom: 4px; }
.tg-msg .h svg { width: 16px; height: 16px; color: var(--acc); }
.tg-msg .l { color: #3a3f44; margin-top: 6px; }
.tg-msg .k { color: #8a8f94; }
.tg-msg.prev { opacity: .85; font-size: 13px; }
.tg-msg .tm { position: absolute; right: 10px; bottom: 4px; font-size: 11px; color: #9aa0a6; }
.tg-msg.me { align-self: flex-end; background: #e1f7cb; border-radius: 14px 14px 4px 14px; }
.tg-sum { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.paid, .cod { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 6px; }
.paid { background: #dff3e4; color: #2c7a45; } .cod { background: #fdeccf; color: #9a6410; }
.flags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.flag { font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; background: #eef0ee; color: #4a5048; }
.f-ex { background: #fde3e3; color: #a12c2c; } .f-an { background: #ebe4f4; color: #5e3f8a; } .f-call { background: #e3ebf6; color: #2f5a93; } .f-ph { background: var(--rose); color: var(--wine); } .f-ad { background: #fff1cf; color: #8a6511; }
.tg-card { margin-top: 8px; padding: 8px 10px; background: #fbf6ee; border-left: 3px solid var(--gold); border-radius: 6px; font-style: italic; color: #4a3f34; }
.tg-card .k { font-style: normal; }
.tg-kb { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; width: 92%; }
.tg-kb button { display: flex; align-items: center; justify-content: center; gap: 6px; height: 38px; border-radius: 10px; background: rgba(70, 95, 60, .42); color: #fff; font-size: 13px; font-weight: 600; backdrop-filter: blur(4px); padding: 0 6px; }
.tg-kb button svg { width: 15px; height: 15px; }
.tg-kb .wide { grid-column: 1 / -1; }
.tg-kb .hl { background: var(--acc); animation: glow 2s infinite; }
@keyframes glow { 50% { box-shadow: 0 0 0 4px rgba(47, 74, 60, .25); } }
.tg-kb button:disabled { opacity: .7; }
.tg-photo-msg { padding: 4px 4px 20px !important; max-width: 70%; }
.tg-photo-msg img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.tg-photo-msg > span:not(.tm) { display: block; padding: 6px 8px 0; font-size: 13px; }
.tg-in { display: flex; align-items: center; gap: 10px; padding: 10px 14px 14px; background: #f6f6f4; color: #8a8f94; font-size: 14px; }
.tg-in span { flex: 1; }
.tg-in svg:last-child { color: #3390ec; }
.tg-side { display: grid; gap: 12px; width: 100%; max-width: 420px; align-content: start; }
.note-c { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.note-c b { display: block; margin-bottom: 4px; }
.note-c p { font-size: 13.5px; color: var(--ink2); }
.note-c.soft { background: var(--rose); border: 0; }
.adm { background: #fff; border: 1px solid var(--line); border-radius: var(--r2); overflow: hidden; box-shadow: var(--sh); }
.adm-top { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.adm-top .logo-t { font-size: 21px; }
.adm-top .logo-m { width: 24px; height: 24px; }
.adm-user { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); }
.adm-user i { width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: var(--wine); font-style: normal; font-weight: 700; font-size: 12px; display: grid; place-items: center; }
.adm-body { display: block; }
.adm-nav { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 12px; border-bottom: 1px solid var(--line); background: #fcfaf7; }
.adm-nav::-webkit-scrollbar { display: none; }
.adm-nav span { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; font-size: 13.5px; color: var(--ink2); white-space: nowrap; }
.adm-nav span svg { width: 18px; height: 18px; }
.adm-nav span.on { background: var(--acc-soft); color: var(--acc); font-weight: 600; }
.adm-nav em { font-style: normal; background: var(--wine); color: #fff; font-size: 11px; font-weight: 700; border-radius: 9px; padding: 1px 6px; }
.adm-nav em.soft { background: var(--line2); color: var(--ink); }
.adm-main { padding: 16px; min-width: 0; }
.adm-main h2 { font-family: var(--sans); font-size: 20px; font-weight: 700; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.adm-main h2 small { font-size: 13px; color: var(--muted); font-weight: 400; }
.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.kpi small { display: block; font-size: 12px; color: var(--muted); }
.kpi b { font-size: 20px; }
.kpi b.acc { color: var(--wine); }
.kpi em { display: block; font-style: normal; font-size: 12px; color: var(--muted); }
.slotbar { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin-bottom: 14px; }
.slotbar h4 { font-size: 13px; color: var(--ink2); margin-bottom: 10px; }
.sb-cols { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; }
.sb-c { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.sb-b { width: 100%; max-width: 34px; height: 54px; background: var(--paper); border-radius: 6px; display: flex; align-items: flex-end; overflow: hidden; }
.sb-b i { display: block; width: 100%; background: var(--acc2); border-radius: 6px 6px 0 0; min-height: 2px; }
.sb-c b { font-size: 13px; }
.sb-c small { font-size: 10.5px; color: var(--muted); white-space: nowrap; }
.sb-c.now small { color: var(--wine); font-weight: 700; }
.sb-c.now .sb-b { box-shadow: inset 0 0 0 1.5px var(--wine); }
.adm-f { margin-bottom: 12px; padding: 2px 16px; }
.adm-f .chip { height: 34px; font-size: 13px; }
.orders { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 10px; }
.orders-hd { display: none; }
.ord { display: grid; grid-template-columns: 1fr auto; gap: 3px 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 13.5px; }
.ord:last-child { border: 0; }
.ord:hover { background: #fcfaf7; }
.ord.fresh { background: #fdf6ec; }
.ord.open { background: #fbf7f2; }
.o-n { font-weight: 700; grid-column: 1; grid-row: 1; }
.o-n small { font-weight: 400; color: var(--muted); margin-left: 6px; }
.o-s { grid-column: 2; grid-row: 1; text-align: right; font-weight: 700; }
.o-c { grid-column: 1; grid-row: 2; }
.o-c small { color: var(--muted); margin-left: 6px; }
.o-st { grid-column: 2; grid-row: 2; text-align: right; }
.o-p { grid-column: 1 / -1; grid-row: 3; color: var(--ink2); }
.o-d { grid-column: 1 / -1; grid-row: 4; font-weight: 600; color: var(--acc); }
.o-d.ex { color: #a12c2c; }
.o-empty { padding: 20px; color: var(--muted); font-size: 14px; }
.ord-x { grid-column: 1 / -1; margin-top: 10px; padding-top: 12px; border-top: 1px dashed var(--line2); cursor: default; }
.ox-grid { display: grid; gap: 12px; }
.ox-items { display: flex; gap: 12px; align-items: flex-start; }
.ox-items img { width: 64px; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--paper); flex: none; }
.ox-pay { margin-top: 6px; color: var(--muted); font-size: 12.5px; }
.ox-kv { display: grid; gap: 6px; }
.ox-kv > div { display: grid; grid-template-columns: 84px 1fr; gap: 8px; }
.ox-kv span { color: var(--muted); }
.ox-kv b { font-weight: 500; overflow-wrap: anywhere; }
.ox-sent { display: flex; gap: 6px; align-items: center; margin-top: 10px; color: var(--ok); font-weight: 600; font-size: 13px; }
.ox-sent svg { width: 16px; height: 16px; }
.acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.acts button { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line2); font-size: 13px; font-weight: 600; background: #fff; }
.acts button svg { width: 16px; height: 16px; }
.acts .p { background: var(--acc); border-color: var(--acc); color: #fff; }
.acts .hl { background: var(--wine); border-color: var(--wine); }
.acts .btn { height: 36px; font-size: 13px; }

/* modal & toast */
.modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.modal-bg { position: absolute; inset: 0; background: rgba(36, 33, 30, .5); animation: fadeb .2s; }
.modal-box { position: relative; width: 100%; max-width: 460px; background: var(--bg); border-radius: 22px 22px 0 0; padding: 22px 18px calc(20px + env(safe-area-inset-bottom)); max-height: 92vh; overflow: auto; animation: up .25s ease; }
.modal-box > .x { position: absolute; top: 10px; right: 10px; }
.modal-box h3 { font-family: var(--serif); font-size: 26px; padding-right: 40px; }
.modal-box .sub { color: var(--ink2); font-size: 14px; margin: 6px 0 14px; }
.modal-box .fld textarea { height: 100px; }
.oc-it { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin-bottom: 14px; }
.oc-it img { width: 52px; height: 62px; object-fit: cover; border-radius: 8px; background: var(--paper); }
.oc-it .t { font-weight: 600; font-size: 14px; line-height: 1.3; min-width: 0; }
.oc-it .t small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.oc-ok { text-align: center; padding: 6px 0; }
.oc-ok h3 { padding: 14px 0 0 !important; }
.oc-ok .btn { margin-top: 8px; }
.toast { position: fixed; left: 50%; top: calc(var(--hdr) + 10px); transform: translateX(-50%); z-index: 90; display: flex; align-items: center; gap: 14px; width: max-content; max-width: calc(100% - 24px); background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 14px; font-size: 14px; box-shadow: var(--sh2); animation: toast .3s ease; }
.toast button { color: var(--rose2); font-weight: 700; white-space: nowrap; }
@keyframes toast { from { opacity: 0; transform: translate(-50%, -8px); } }

/* ---------- ≥ 560 ---------- */
@media (min-width: 560px) {
  .occ-row { grid-auto-columns: 28%; }
  .row-scroll { grid-auto-columns: 31%; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .add-grid { grid-auto-columns: 26%; }
  .adds { grid-auto-columns: 40%; }
  .b-fl { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .b-tiles { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .perks { grid-template-columns: repeat(4, 1fr); }
  .kpis { grid-template-columns: repeat(4, 1fr); }
  .fld-row { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 0 0 auto; }
  .rem-grid { grid-template-columns: 1fr 1fr; }
  .rem-grid .fld:first-child:nth-last-child(4) { grid-column: 1 / -1; }
}

/* ---------- ≥ 720 ---------- */
@media (min-width: 720px) {
  .hero { min-height: 600px; align-items: center; }
  .hero::after { background: linear-gradient(90deg, rgba(251, 247, 242, .95) 0%, rgba(251, 247, 242, .82) 34%, rgba(251, 247, 242, 0) 62%); }
  .hero picture img { object-position: 70% 50%; }
  .hero-tx { padding-top: 0; padding-bottom: 40px; align-self: center; }
  .hero h1 { font-size: 54px; }
  .hero p { font-size: 17px; }
  .deal { grid-template-columns: 1fr 1.1fr; }
  .deal-img { aspect-ratio: auto; min-height: 440px; max-height: 560px; }
  .deal-tx { padding: 40px 40px; align-self: center; }
  .deal-tx h2 { font-size: 44px; }
  .bpromo { grid-template-columns: 1.1fr 1fr; align-items: center; padding: 22px; gap: 34px; }
  .rem-banner { min-height: 440px; align-items: center; }
  .rem-banner::after { background: linear-gradient(90deg, rgba(36, 33, 30, .75) 0%, rgba(36, 33, 30, .4) 45%, rgba(36, 33, 30, 0) 70%); }
  .rem-tx { padding: 40px; }
  .rem-tx h2 { font-size: 36px; }
  .card-grid { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .comp-grid { grid-template-columns: 1fr 280px; }
  .modal { align-items: center; }
  .modal-box { border-radius: 22px; padding: 26px 24px; }
  .sv-hd { grid-template-columns: 1fr auto; align-items: end; }
  .tg-stage { grid-template-columns: auto 1fr; align-items: start; justify-items: start; gap: 28px; }
  .dl-grid { grid-template-columns: 1fr 1fr; }
  .orders-hd { display: grid; grid-template-columns: 96px 1.1fr 1.4fr 1.2fr 90px 120px; gap: 12px; padding: 10px 14px; background: #fcfaf7; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
  .ord { grid-template-columns: 96px 1.1fr 1.4fr 1.2fr 90px 120px; gap: 12px; align-items: center; }
  .ord > span { grid-row: auto !important; grid-column: auto !important; min-width: 0; }
  .o-n small, .o-c small { display: block; margin: 0; }
  .o-p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .o-s, .o-st { text-align: left; }
  .ox-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- ≥ 960 (desktop) ---------- */
@media (min-width: 960px) {
  :root { --hdr: 76px; }
  body { padding-bottom: 0; font-size: 15.5px; }
  .tabbar { display: none; }
  .hide-m { display: grid !important; }
  .show-m { display: none !important; }
  .wrap { padding-left: 32px; padding-right: 32px; }
  .hdr-in { gap: 22px; }
  .logo-m { width: 34px; height: 34px; }
  .logo-t { font-size: 28px; }
  .hdr-nav { display: flex; gap: 22px; }
  .hdr-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink2); padding: 6px 0; border-bottom: 1.5px solid transparent; white-space: nowrap; }
  .hdr-nav a:hover, .hdr-nav a.on { color: var(--acc); border-color: var(--acc); }
  .search { display: block; flex: 1; max-width: 340px; margin-left: auto; }
  .search-x { display: none; }
  .hdr-phone { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.2; white-space: nowrap; }
  .hdr-phone small { font-weight: 400; font-size: 11.5px; color: var(--muted); }
  .hdr-ic { margin-left: 0; }
  h1 { font-size: 46px; } h2 { font-size: 38px; }
  .sec { padding-top: 64px; }
  .sec-hd { margin-bottom: 24px; }
  .row-nav { display: inline-flex; }
  .hero { min-height: 640px; }
  .hero h1 { font-size: 66px; max-width: 640px; }
  .now-strip { max-width: 760px; padding: 14px 20px; }
  .occ-row { grid-auto-flow: row; grid-template-columns: repeat(8, minmax(0, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .occ b { font-size: 14.5px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px 22px; }
  .row-scroll { grid-auto-columns: calc((100% - 66px) / 4); gap: 22px; margin: 0; padding: 0 0 6px; }
  .pc-t { font-size: 21px; }
  .add { width: auto; padding: 0 14px; border-radius: 999px; height: 38px; }
  .add span { display: inline; }
  .deal { margin-top: 64px; }
  .bpromo { margin-top: 64px; padding: 28px; }
  .how { grid-template-columns: 1fr 1.05fr 1fr; gap: 32px; align-items: center; }
  .how-ph { aspect-ratio: 3 / 4; }
  .how-ph2 { display: block; }
  .g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .rem-banner { margin-top: 64px; min-height: 480px; }
  .cat-layout { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: start; }
  .filters { display: block; position: sticky; top: calc(var(--hdr) + 16px); max-height: calc(100vh - var(--hdr) - 32px); overflow: auto; scrollbar-width: thin; padding-right: 6px; }
  .filters .fgroup:first-child { padding-top: 0; }
  .btn-f { display: none; }
  .cat-tools { justify-content: flex-end; }
  .sel { flex: 0 0 240px; }
  .cat-main .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .occ-chips { display: none; }
  .pp { grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: start; }
  .gal { margin: 0; display: grid; grid-template-columns: 76px 1fr; gap: 14px; position: sticky; top: calc(var(--hdr) + 16px); }
  .gal-main { border-radius: var(--r2); grid-column: 2; grid-row: 1; }
  .gal-thumbs { display: flex; flex-direction: column; gap: 10px; grid-column: 1; grid-row: 1; }
  .gal-thumbs button { width: 76px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--paper); }
  .gal-thumbs button.on { border-color: var(--acc); }
  .gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .gal-dots { display: none; }
  .gal .badges { left: 104px; } .gal .fav { right: 14px; }
  .pp-info { padding-top: 6px; }
  .pp-info h1 { font-size: 50px; }
  .buy { grid-template-columns: auto 1fr 1fr; }
  .buy .btn-o { grid-column: auto; }
  .adds { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; }
  .pp-perks { grid-template-columns: repeat(3, 1fr); }
  .tabs { margin: 0 0 18px; padding: 0; }
  .sticky-buy { display: none; }
  .bld { grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; padding-bottom: 20px; }
  .bld-prev { position: sticky; top: calc(var(--hdr) + 16px); }
  .bp-stage { aspect-ratio: 4 / 4.4; }
  .bld-bar { display: none; }
  .cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
  .cart-side { position: sticky; top: calc(var(--hdr) + 16px); margin-top: 0; }
  .add-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); overflow: visible; margin: 0; padding: 0; }
  .co-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
  .co-side { position: sticky; top: calc(var(--hdr) + 16px); }
  .co-sum { margin-top: 0; }
  .form-sec { padding: 22px 24px; }
  .days { margin: 0 0 12px; padding: 0 0 4px; grid-auto-columns: 1fr; grid-template-columns: repeat(8, 1fr); grid-auto-flow: row; }
  .ph-ch { padding-left: 56px; }
  .succ-layout { grid-template-columns: 1.15fr 1fr; gap: 20px; align-items: start; }
  .sent-ph { grid-template-columns: 240px 1fr; align-items: center; }
  .sent-act p { flex-basis: 100%; }
  .toast { top: auto; bottom: 24px; }
  .adm-body { display: grid; grid-template-columns: 200px 1fr; }
  .adm-nav { flex-direction: column; border-bottom: 0; border-right: 1px solid var(--line); padding: 14px 10px; }
  .adm-main { padding: 20px 24px; }
  .adm-f { flex-wrap: wrap; overflow: visible; margin: 0 0 12px; padding: 0; }
  .tg { height: 760px; }
  .ftr-in { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .ftr-brand { grid-column: auto; }
}
@media (min-width: 1200px) {
  .cat-main .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 18px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
.pp > *, .bld > *, .succ-layout > *, .cart-layout > *, .co-layout > *, .tg-stage > *, .how > *, .deal > *, .bpromo > *, .info-grid > *, .dl-grid > *, .cat-layout > *, .adm-body > * { min-width: 0; }
