:root {
  --cream: #f6f0e6;
  --milk: #fbf8f2;
  --sand: #ece2d1;
  --gold: #b8913f;
  --gold-2: #d9b866;
  --choco: #3a2820;
  --ink: #221a16;
  --muted: #7d6f64;
  --line: #e4d9c7;
  --sale: #b2362c;
  --tg: #2aa3e0;
  --r: 18px;
  --shadow: 0 18px 50px -24px rgba(58, 40, 32, .35);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); background: var(--milk); color: var(--ink); line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.kicker { display: inline-block; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 10px; }
.kicker.light { color: var(--gold-2); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.05; letter-spacing: -.01em; }
h2 { font-size: clamp(32px, 5vw, 50px); }
em { font-style: italic; color: var(--gold); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn.sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn.full { width: 100%; }
.btn-dark { background: var(--choco); color: var(--cream); }
.btn-dark:hover { background: var(--ink); box-shadow: var(--shadow); }
.btn-line { border: 1.5px solid var(--choco); color: var(--choco); }
.btn-line:hover { background: var(--choco); color: var(--cream); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #fff; }
.btn-gold:hover { box-shadow: 0 10px 30px -10px var(--gold); }
.btn-tg { background: var(--tg); color: #fff; }
.btn-tg:hover { background: #1d8fc8; }
.btn .tg, .tg { fill: currentColor; stroke: none; }
.link-btn { display: block; margin: 12px auto 0; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; transition: background .2s; }
.icon-btn:hover { background: var(--sand); }
.badge { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: #fff; font-size: 11px; font-style: normal; font-weight: 800; display: grid; place-items: center; }
.badge[hidden] { display: none; }
.badge.bump { animation: bump .45s; }
@keyframes bump { 40% { transform: scale(1.5); } }

/* announce */
.announce { background: var(--choco); color: var(--cream); font-size: 13px; overflow: hidden; height: 34px; display: flex; align-items: center; }
.announce-track { display: flex; gap: 48px; white-space: nowrap; animation: marquee 32s linear infinite; padding-left: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(251, 248, 242, .88); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.header.scrolled { border-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 16px; height: 70px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-s { font-family: var(--serif); font-size: 40px; font-weight: 700; line-height: 1; background: linear-gradient(160deg, #e8cf87, var(--gold) 55%, #8d6a26); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-txt { display: flex; flex-direction: column; line-height: 1.1; }
.brand-txt b { font-family: var(--serif); font-size: 20px; letter-spacing: .12em; color: var(--gold); }
.brand-txt small { font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.brand.light .brand-txt small { color: #b9a996; }
.nav { display: flex; gap: 28px; margin-left: auto; font-weight: 600; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--gold); transform: scaleX(0); transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 2px; }
.burger { display: none; flex-direction: column; gap: 6px; }
.burger span { display: block; width: 20px; height: 1.6px; background: var(--ink); }

/* hero */
.hero { padding: 48px 0 30px; background: radial-gradient(1100px 500px at 85% 10%, #efe2c8 0, transparent 60%), var(--milk); }
.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(46px, 7vw, 86px); margin-bottom: 18px; }
.lead { font-size: 17px; color: var(--muted); max-width: 520px; }
.hero-cta { display: flex; gap: 12px; margin: 28px 0 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 32px; flex-wrap: wrap; }
.hero-stats b { display: block; font-family: var(--serif); font-size: 32px; color: var(--choco); }
.hero-stats small { color: var(--muted); font-size: 13px; }
.hero-media { position: relative; height: 560px; }
.hm { position: absolute; border-radius: 200px 200px var(--r) var(--r); overflow: hidden; box-shadow: var(--shadow); }
.hm img { width: 100%; height: 100%; object-fit: cover; }
.hm-1 { left: 12%; top: 0; width: 52%; height: 88%; z-index: 2; animation: floaty 7s ease-in-out infinite; }
.hm-2 { right: 0; top: 14%; width: 38%; height: 58%; border-radius: var(--r); }
.hm-3 { left: 0; bottom: 0; width: 30%; height: 40%; border-radius: var(--r); z-index: 3; border: 5px solid var(--milk); }
.hero-badge { position: absolute; right: 6%; bottom: 4%; z-index: 4; width: 130px; height: 130px; border-radius: 50%; background: var(--choco); color: var(--cream); display: grid; place-content: center; text-align: center; font-family: var(--serif); font-size: 22px; line-height: 1; animation: spin-slow 18s linear infinite; }
.hero-badge small { font-family: var(--sans); font-size: 11px; letter-spacing: .2em; color: var(--gold-2); margin-top: 6px; text-transform: uppercase; }
@keyframes floaty { 50% { transform: translateY(-12px); } }
@keyframes spin-slow { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }

/* categories */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 24px; }
.cat-card { position: relative; aspect-ratio: 3/4; border-radius: var(--r); overflow: hidden; text-align: left; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(34, 26, 22, .75)); }
.cat-card span { position: absolute; left: 14px; bottom: 12px; z-index: 1; color: #fff; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.cat-card:hover img { transform: scale(1.06); }

/* section */
.section { padding: 80px 0 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.sec-head.center { justify-content: center; text-align: center; }
.tools { display: flex; gap: 10px; flex-wrap: wrap; }
.search-in { display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; min-width: 250px; }
.search-in input { border: 0; outline: 0; font: inherit; background: none; width: 100%; }
.search-in svg { color: var(--muted); flex: none; }
.select, .input { height: 46px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font: inherit; color: var(--ink); outline: 0; width: 100%; transition: border-color .2s, box-shadow .2s; }
.select { width: auto; border-radius: 999px; cursor: pointer; }
.input:focus, .select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 145, 63, .15); }
textarea.input { height: 84px; padding: 12px 16px; resize: vertical; }
.input.err { border-color: var(--sale); animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.input.big { height: 58px; font-size: 18px; border-radius: 16px; margin-top: 26px; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 22px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: 14px; transition: all .2s; }
.chip:hover { border-color: var(--choco); }
.chip.active { background: var(--choco); border-color: var(--choco); color: var(--cream); }
.chip.chip-sale { color: var(--sale); }
.chip.chip-sale.active { background: var(--sale); border-color: var(--sale); color: #fff; }

/* product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 18px; }
.card { animation: rise .5s both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
.card-media { position: relative; aspect-ratio: 3/4.2; border-radius: var(--r); overflow: hidden; background: var(--sand); cursor: pointer; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card-media img { transform: scale(1.05); }
.tag { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 5px 11px; border-radius: 999px; background: var(--milk); color: var(--choco); font-size: 12px; font-weight: 800; }
.tag.sale { background: var(--sale); color: #fff; }
.fav { position: absolute; right: 10px; top: 10px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; transition: transform .2s; }
.fav:hover { transform: scale(1.1); }
.fav.on svg, .fav-big.on svg { fill: var(--sale); stroke: var(--sale); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 42px; border-radius: 999px; background: rgba(251, 248, 242, .95); font-weight: 700; font-size: 14px; opacity: 0; transform: translateY(10px); transition: all .3s; }
.card:hover .quick { opacity: 1; transform: none; }
.card-body { padding: 14px 4px 0; }
.card-title { font-family: var(--serif); font-size: 22px; font-weight: 600; line-height: 1.15; cursor: pointer; }
.swatches { display: flex; gap: 6px; margin: 8px 0 10px; }
.sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .15); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-weight: 800; font-size: 17px; color: var(--choco); }
.price s { display: block; font-weight: 500; font-size: 13px; color: var(--muted); }
.price.sale { color: var(--sale); }
.add { width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--choco); color: var(--cream); display: grid; place-items: center; transition: transform .2s, background .2s; }
.add:hover { background: var(--gold); transform: rotate(90deg); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

/* sale */
.sale-sec { margin-top: 90px; }
.sale-in { display: grid; grid-template-columns: 1fr 1.1fr; border-radius: 28px; overflow: hidden; background: var(--choco); color: var(--cream); }
.sale-copy { padding: 56px 48px; }
.sale-copy h2 { font-size: clamp(54px, 8vw, 96px); }
.sale-copy em { color: var(--gold-2); }
.sale-copy p { color: #d9cbb8; margin: 12px 0 22px; max-width: 420px; }
.countdown { display: flex; gap: 10px; margin-bottom: 26px; }
.countdown span { min-width: 64px; padding: 10px 6px; border-radius: 14px; background: rgba(255, 255, 255, .08); text-align: center; font-size: 11px; color: #cdbda7; }
.countdown b { display: block; font-family: var(--serif); font-size: 30px; color: #fff; line-height: 1.1; }
.sale-imgs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.sale-imgs img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.step { padding: 26px 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.step i { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--cream); color: var(--gold); font-family: var(--serif); font-size: 24px; font-style: normal; font-weight: 700; margin-bottom: 14px; }
.step b { display: block; font-size: 17px; margin-bottom: 4px; }
.step p { color: var(--muted); font-size: 14px; }
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.perks div { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--cream); }
.perks span { grid-row: span 2; font-size: 26px; }
.perks small { color: var(--muted); }

/* reviews */
.reviews { overflow: hidden; }
.rv-track-wrap { mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.rv-track { display: flex; gap: 16px; width: max-content; animation: marquee 50s linear infinite; padding: 6px 0; }
.rv-track:hover { animation-play-state: paused; }
.review { width: 330px; padding: 24px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.review .stars { color: var(--gold); letter-spacing: 2px; }
.review p { margin: 10px 0 16px; font-size: 15px; }
.review-who { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--choco); display: grid; place-items: center; font-weight: 800; }
.review-who small { display: block; color: var(--muted); font-size: 13px; }

/* instagram */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-grid a { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 12px; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ig-grid a::after { content: "♥ Ko'rish"; position: absolute; inset: 0; display: grid; place-items: center; background: rgba(58, 40, 32, .5); color: #fff; font-weight: 700; opacity: 0; transition: opacity .3s; }
.ig-grid a:hover::after { opacity: 1; }
.ig-grid a:hover img { transform: scale(1.08); }

/* contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding-bottom: 90px; }
.contact-card { padding: 44px; border-radius: 28px; background: var(--cream); }
.contact-list { list-style: none; margin: 24px 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list span { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; font-size: 20px; flex: none; }
.contact-list small { display: block; color: var(--muted); font-size: 13px; }
.contact-list b, .contact-list a { font-weight: 700; font-size: 16px; }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.contact-media { border-radius: 28px; overflow: hidden; min-height: 360px; }
.contact-media img { width: 100%; height: 100%; object-fit: cover; }

/* footer */
.footer { background: var(--ink); color: #b9a996; padding: 34px 0; font-size: 14px; }
.footer-in { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .made a { color: var(--gold-2); }

/* cart bar */
.cart-bar { position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; display: none; justify-content: space-between; align-items: center; height: 56px; padding: 0 22px; border-radius: 999px; background: var(--choco); color: var(--cream); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .45); font-size: 15px; }
.cart-bar[hidden] { display: none !important; }

/* overlay / drawer / modal */
.overlay { position: fixed; inset: 0; z-index: 50; background: rgba(34, 26, 22, .45); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.on { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 60; width: min(440px, 100%); background: var(--milk); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 30px; }
.drawer-head small { font-family: var(--sans); font-size: 15px; color: var(--muted); }
.drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.drawer-foot { padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.drawer-foot[hidden] { display: none; }
.ci { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci img { width: 84px; height: 108px; object-fit: cover; border-radius: 12px; }
.ci b { display: block; font-size: 15px; }
.ci small { color: var(--muted); font-size: 13px; }
.ci-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.ci-price { font-weight: 800; }
.ci-del { font-size: 13px; color: var(--muted); text-decoration: underline; margin-top: 6px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { width: 34px; height: 34px; font-size: 18px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.cart-empty .big { font-family: var(--serif); font-size: 28px; color: var(--ink); margin-bottom: 6px; }
.free-ship { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.free-ship .bar { height: 5px; border-radius: 3px; background: var(--sand); margin-top: 8px; overflow: hidden; }
.free-ship .bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold-2), var(--gold)); transition: width .5s; }
.sum-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.sum-row.total { font-size: 18px; padding: 10px 0 14px; }
.sum-row.total b { font-size: 22px; color: var(--choco); }
.sum-row.disc { color: var(--sale); }

.modal { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 20px; background: rgba(34, 26, 22, .5); opacity: 0; pointer-events: none; transition: opacity .3s; overflow-y: auto; }
.modal.on { opacity: 1; pointer-events: auto; }
.modal-box { position: relative; width: 100%; background: var(--milk); border-radius: 26px; padding: 30px; transform: translateY(24px) scale(.98); transition: transform .35s cubic-bezier(.2, .8, .2, 1); max-height: calc(100dvh - 40px); overflow-y: auto; }
.modal.on .modal-box { transform: none; }
.modal-box.wide { max-width: 980px; }
.modal-box.narrow { max-width: 520px; }
.modal-box.center { text-align: center; }
.modal-x { position: absolute; right: 14px; top: 14px; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: #fff; font-size: 16px; box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .3); }

/* product modal */
.pm { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.pm-media { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3/4; background: var(--sand); }
.pm-media img { width: 100%; height: 100%; object-fit: cover; }
.pm-body h3 { font-size: 38px; margin-bottom: 8px; }
.pm-price { font-size: 26px; font-weight: 800; color: var(--choco); margin: 6px 0 14px; }
.pm-price s { font-size: 16px; font-weight: 500; color: var(--muted); margin-left: 10px; }
.pm-price.sale { color: var(--sale); }
.pm-body p { color: var(--muted); }
.opt-label { font-size: 13px; font-weight: 700; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.opt-label span { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.sizes, .colors { display: flex; gap: 8px; flex-wrap: wrap; }
.size { min-width: 50px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; transition: all .2s; }
.size.active { background: var(--choco); color: var(--cream); border-color: var(--choco); }
.color { width: 36px; height: 36px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .2s; }
.color.active { box-shadow: 0 0 0 2px var(--gold); }
.pm-buy { display: flex; gap: 10px; margin-top: 22px; align-items: center; }
.pm-buy .qty button { width: 40px; height: 48px; }
.pm-buy .btn { flex: 1; }
.fav-big { width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.hint { font-size: 13px; color: var(--muted); margin-top: 12px; }
.hint.center { text-align: center; }
.ig-link { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--gold); font-weight: 700; }

/* checkout */
.co { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.co h3 { font-size: 34px; }
.co-sub { color: var(--muted); margin: 6px 0 18px; font-size: 14px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.co > *, .two > *, .pm > * { min-width: 0; }
.field { display: block; }
.field span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.pay-sub { font-size: 13px; font-weight: 700; margin: 18px 0 8px; text-transform: uppercase; letter-spacing: .08em; }
.opts { display: grid; gap: 8px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; text-align: left; transition: border-color .2s; }
.opt.active { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 145, 63, .12); }
.opt .radio { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; }
.opt.active .radio { border: 5px solid var(--gold); }
.opt b { display: block; font-size: 15px; }
.opt small { color: var(--muted); font-size: 13px; }
.opt .end { margin-left: auto; font-weight: 700; font-size: 14px; white-space: nowrap; }
.co-side { padding: 22px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); align-self: start; }
.sum-list { margin: 12px 0; max-height: 260px; overflow-y: auto; }
.sum-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.sum-item img { width: 54px; height: 70px; object-fit: cover; border-radius: 10px; }
.sum-item small { display: block; color: var(--muted); font-size: 12px; }
.qty.sm button { width: 28px; height: 28px; font-size: 15px; }
.promo { display: flex; gap: 8px; margin: 12px 0; }
.promo .input { height: 42px; }

/* success */
.check { width: 76px; height: 76px; margin: 6px auto 16px; border-radius: 50%; background: var(--tg); color: #fff; display: grid; place-items: center; animation: pop .5s; }
.check svg { width: 36px; height: 36px; }
@keyframes pop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } }
#successContent h3 { font-size: 34px; margin-bottom: 8px; }
#successContent > p { color: var(--muted); }
.receipt { margin: 18px 0; padding: 16px; border-radius: 14px; background: #fff; border: 1px dashed var(--line); text-align: left; font-size: 14px; }
.receipt div { display: flex; justify-content: space-between; gap: 14px; padding: 4px 0; }
.receipt div span:last-child { font-weight: 700; text-align: right; }
.success-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* search */
.search-results { margin-top: 14px; display: grid; gap: 6px; }
.sr { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; cursor: pointer; }
.sr:hover { background: var(--cream); }
.sr img { width: 52px; height: 66px; object-fit: cover; border-radius: 10px; }
.sr small { display: block; color: var(--muted); font-size: 13px; }
.sr .end { font-weight: 700; font-size: 14px; }

/* toast */
.toast { position: fixed; left: 50%; top: 20px; z-index: 90; transform: translate(-50%, -150%); display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--cream); font-size: 14px; font-weight: 600; transition: transform .4s cubic-bezier(.2, .8, .2, 1); max-width: calc(100% - 32px); }
.toast.on { transform: translate(-50%, 0); }
.toast i { color: var(--gold-2); font-style: normal; }
.toast-btn { color: var(--gold-2); text-decoration: underline; font-weight: 700; }

/* responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(4, 1fr); }
  .steps, .perks { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav { position: fixed; top: 104px; left: 0; right: 0; flex-direction: column; gap: 0; padding: 8px 16px 16px; background: var(--milk); border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .35s; z-index: -1; }
  .nav.on { transform: none; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .header-actions { margin-left: auto; }
  .hero-in { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: 28px; }
  .hero-media { height: 420px; }
  .cats { grid-template-columns: repeat(5, 150px); overflow-x: auto; scrollbar-width: none; }
  .sale-in { grid-template-columns: 1fr; }
  .sale-copy { padding: 36px 24px; }
  .sale-imgs img { min-height: 200px; }
  .contact { grid-template-columns: 1fr; }
  .contact-card { padding: 28px 22px; }
  .pm, .co { grid-template-columns: 1fr; gap: 20px; }
  .pm-media { aspect-ratio: 4/4.4; }
  .cart-bar { display: flex; }
}
@media (max-width: 560px) {
  .header-in { height: 64px; gap: 6px; }
  .brand-s { font-size: 34px; }
  .brand-txt b { font-size: 17px; }
  .icon-btn { width: 40px; height: 40px; }
  .nav { top: 98px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .card-title { font-size: 18px; }
  .price { font-size: 15px; }
  .add { width: 38px; height: 38px; }
  .quick { display: none; }
  .tools, .search-in { width: 100%; min-width: 0; }
  .tools .select { width: 100%; }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
  .steps, .perks { grid-template-columns: 1fr; }
  .section { padding-top: 60px; }
  .modal { padding: 0; align-items: end; }
  .modal-box { border-radius: 24px 24px 0 0; padding: 22px 16px calc(22px + env(safe-area-inset-bottom)); max-height: 94dvh; }
  .two { grid-template-columns: 1fr; }
  .hero-media { height: 360px; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .hero-stats b { font-size: 26px; }
  .hero-stats small { font-size: 12px; line-height: 1.3; display: block; }
  .hero-badge { width: 100px; height: 100px; font-size: 18px; }
  .review { width: 280px; }
  .countdown span { min-width: 56px; }
  .footer-in { flex-direction: column; text-align: center; }
  .footer { padding-bottom: 90px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
