/* Yekan Bakh FaNum, fontiran.com, used under the company's commercial license */
@font-face { font-family: "YekanBakh"; font-weight: 300; font-display: swap; src: url("/assets/fonts/YekanBakhFaNum-Light.woff2") format("woff2"); }
@font-face { font-family: "YekanBakh"; font-weight: 400 500; font-display: swap; src: url("/assets/fonts/YekanBakhFaNum-Regular.woff2") format("woff2"); }
@font-face { font-family: "YekanBakh"; font-weight: 600; font-display: swap; src: url("/assets/fonts/YekanBakhFaNum-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "YekanBakh"; font-weight: 700; font-display: swap; src: url("/assets/fonts/YekanBakhFaNum-Bold.woff2") format("woff2"); }
@font-face { font-family: "YekanBakh"; font-weight: 800 900; font-display: swap; src: url("/assets/fonts/YekanBakhFaNum-ExtraBold.woff2") format("woff2"); }

:root {
  --text-1: #101828;
  --text-2: #344054;
  --text-3: #475467;
  --text-4: #667085;
  --text-5: #98a2b3;
  --line: #eaecf0;
  --line-2: #d0d5dd;
  --bg: #ffffff;
  --bg-2: #f9fafb;
  --bg-3: #f2f4f7;
  --brand: #0580fa;
  --brand-hover: #0470dc;
  --brand-soft: #f0f7ff;
  --green: #1aae68;
  --green-dark: #138a52;
  --red: #d92d20;
  --red-text: #b42318;
  --red-soft: #fef3f2;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "YekanBakh", Tahoma, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-1);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i.fill { fill: currentColor; stroke: none; }
.i .dot { fill: currentColor; }

.container { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: 16px; }
.container-md { width: 100%; max-width: 800px; margin-inline: auto; padding-inline: 16px; }
.container-sm { width: 100%; max-width: 640px; margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--text-4); }
.only-m { display: none !important; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: var(--r-sm); font-weight: 600; font-size: 14px; transition: background .15s, border-color .15s; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-primary:disabled { background: var(--bg-3); color: var(--text-5); cursor: not-allowed; }
.btn-outline { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-2); font-weight: 600; background: #fff; box-shadow: var(--shadow); }
.btn-outline:hover { background: var(--bg-2); }
.btn-block { width: 100%; }
.btn-white { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px; border-radius: var(--r-sm); background: #fff; color: var(--text-2); font-weight: 600; border: 1px solid var(--line-2); box-shadow: var(--shadow); white-space: nowrap; }
.btn-white .i { width: 16px; height: 16px; }
.link { color: var(--brand); font-size: 13px; }

/* header */
.hdr { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.nav { display: flex; gap: 24px; }
.nav a { color: var(--text-3); font-size: 14px; }
.nav a:hover { color: var(--text-1); }
.hdr-tools { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }
.hdr-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-weight: 600; font-size: 14px; }
.hdr-phone .i { width: 18px; height: 18px; }
.hdr-sep { width: 4px; height: 18px; margin-inline: 4px; background: radial-gradient(circle, var(--line-2) 1.5px, transparent 1.6px) 0 0 / 4px 6px; }
.ibtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-2); background: #fff; box-shadow: var(--shadow); }
.ibtn:hover { background: var(--bg-2); }

/* hero */
.hero { margin-top: 24px; }
.slider { position: relative; overflow: hidden; border-radius: var(--r-lg); aspect-ratio: 5 / 2; background: var(--bg-3); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.dots { position: absolute; z-index: 2; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; padding: 5px 8px; border-radius: 99px; background: rgba(255, 255, 255, .7); backdrop-filter: blur(4px); }
.dots button { width: 8px; height: 8px; border-radius: 99px; background: var(--text-5); transition: width .2s; }
.dots button.on { width: 18px; background: var(--text-2); }

/* offers */
.offers { margin-top: 24px; display: flex; gap: 20px; align-items: stretch; padding: 20px; border-radius: var(--r-lg); color: #fff;
  background-color: var(--green);
  background-image: radial-gradient(rgba(255, 255, 255, .12) 2px, transparent 2.5px), radial-gradient(rgba(255, 255, 255, .08) 2px, transparent 2.5px);
  background-size: 34px 34px, 34px 34px; background-position: 0 0, 17px 17px; }
.offers-head { width: 190px; flex: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.offers-text h2 { font-size: 22px; font-weight: 800; line-height: 1.5; }
.offers-text p { font-size: 13px; opacity: .92; margin-top: 4px; }
.offers-badge { order: 2; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe27a, #f5b301 70%); color: #8a5a00; font-size: 34px; font-weight: 900; box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.offers-head .btn-white { order: 3; }
.offers-track { flex: 1; min-width: 0; background: #fff; border-radius: var(--r-md); padding: 16px; color: var(--text-1); }

/* carousel */
.carousel { position: relative; }
.car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { scroll-snap-align: start; flex: 0 0 196px; }
.car-btn { position: absolute; top: 40%; z-index: 3; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255, 255, 255, .92); border: 1px solid var(--line); color: var(--text-2); box-shadow: 0 2px 8px rgba(16, 24, 40, .12); }
.car-btn.prev { right: 4px; }
.car-btn.next { left: 4px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }

/* product card */
.card { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.card-wrap { display: flex; flex-direction: column; gap: 10px; }
.card-img { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; background: var(--bg-3); border: 1px solid var(--line); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.03); }
.noimg { display: grid; place-items: center; width: 100%; height: 100%; color: var(--text-5); }
.noimg .i { width: 40px; height: 40px; stroke-width: 1.2; }
.ribbon { position: absolute; top: 10px; right: 10px; display: inline-flex; align-items: center; gap: 2px; padding: 0 8px 0 6px; height: 24px; border-radius: 99px; background: var(--red-soft); color: var(--red-text); border: 1px solid #fecdca; font-size: 12px; font-weight: 600; }
.ribbon .i { width: 14px; height: 14px; }
.card-meta { margin-top: 4px; font-size: 12px; color: var(--text-4); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta i { font-style: normal; margin-inline: 4px; }
.card-title { font-size: 14px; font-weight: 600; line-height: 1.7; color: var(--text-1); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 48px; }
.card-oos { font-size: 13px; font-weight: 700; color: var(--red-text); }
.card-price { font-size: 15px; font-weight: 800; }
.card-price small { font-size: 12px; font-weight: 400; color: var(--text-4); }
.card-add { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-4); font-size: 13px; font-weight: 600; background: #fff; }
.card-add .i { width: 18px; height: 18px; }
.card-add:disabled { cursor: not-allowed; }

/* categories */
.cats { margin-top: 36px; }
.sec-title { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px; background: #fff; text-align: center; font-weight: 600; font-size: 13px; color: var(--text-2); }
.cat img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; background: var(--bg-3); }
.cat:hover { background: var(--bg-2); }

/* faq */
.faq { margin-top: 48px; text-align: center; }
.faq h2 { font-size: 18px; font-weight: 800; }
.faq > .muted { font-size: 13px; margin-bottom: 18px; }
.faq details { text-align: right; border: 1px solid var(--line); border-radius: var(--r-sm); margin-top: 10px; background: #fff; box-shadow: var(--shadow); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 16px; font-weight: 600; color: var(--text-1); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-4); transition: transform .2s; }
.faq details[open] summary .i { transform: rotate(180deg); }
.faq details p { padding: 0 16px 14px; color: var(--text-3); font-size: 13px; line-height: 2; }

/* promo bar */
.promo { display: flex; align-items: center; justify-content: center; min-height: 60px; margin-top: 48px; color: #fff; font-size: 15px;
  background-color: var(--green);
  background-image: radial-gradient(rgba(255, 255, 255, .14) 2px, transparent 2.5px), radial-gradient(rgba(255, 255, 255, .09) 2px, transparent 2.5px);
  background-size: 30px 30px, 30px 30px; background-position: 0 0, 15px 15px; }
.promo strong { font-weight: 800; }

/* footer */
.ftr { margin-top: 48px; border-top: 1px solid var(--line); background: #fff; }
.promo + .ftr, main:has(> .promo:last-child) + .ftr { margin-top: 0; }
.ftr-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 32px; padding-block: 36px 28px; }
.ftr-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ftr-brand img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.ftr-brand strong { display: block; font-size: 14px; font-weight: 800; }
.ftr-brand span { display: block; font-size: 12px; color: var(--text-4); }
.ftr-about p { font-size: 13px; color: var(--text-3); line-height: 2; }
.ftr-col h4 { font-size: 14px; font-weight: 800; margin-bottom: 12px; }
.ftr-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ftr-col a { font-size: 13px; color: var(--text-3); }
.ftr-col a:hover { color: var(--text-1); }
.ftr-contact li { display: flex; align-items: flex-start; gap: 10px; font-size: 13px; color: var(--text-3); }
.ftr-ico { display: grid; place-items: center; width: 32px; height: 32px; flex: none; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-3); }
.ftr-ico .i { width: 16px; height: 16px; }
.ftr-contact li > a, .ftr-contact li > span:last-child { padding-top: 4px; }
.enamad { display: inline-grid; place-items: center; min-width: 96px; min-height: 96px; padding: 6px; border: 1px solid var(--line); border-radius: var(--r-md); }
.enamad img { max-width: 88px; }
.ftr-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 16px; border-top: 1px solid var(--line); }
.copy { font-size: 12px; color: var(--text-4); }
.socials { display: flex; gap: 8px; }
.socials a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-2); }
.socials a:hover { background: var(--bg-2); }
.socials .i { width: 18px; height: 18px; }

/* listing */
.listing { display: grid; grid-template-columns: 280px 1fr; gap: 24px; align-items: start; margin-top: 28px; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 16px; background: #fff; }
.f-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.f-head strong { font-size: 15px; font-weight: 800; }
.f-sec { border-bottom: 1px solid var(--line); }
.f-sec summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 12px 0; font-weight: 600; cursor: pointer; }
.f-sec summary::-webkit-details-marker { display: none; }
.f-sec summary .i { width: 18px; height: 18px; color: var(--text-4); transition: transform .2s; }
.f-sec[open] summary .i { transform: rotate(180deg); }
.check { display: flex; align-items: center; gap: 8px; padding: 4px 0 8px; color: var(--text-3); cursor: pointer; }
.check input { width: 16px; height: 16px; accent-color: var(--brand); }
.f-toggle { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 600; cursor: pointer; }
.f-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.f-toggle i { position: relative; width: 36px; height: 20px; border-radius: 99px; background: var(--bg-3); border: 1px solid var(--line-2); transition: background .2s; }
.f-toggle i::after { content: ""; position: absolute; top: 1px; right: 1px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(16, 24, 40, .2); transition: transform .2s; }
.f-toggle input:checked + i { background: var(--brand); border-color: var(--brand); }
.f-toggle input:checked + i::after { transform: translateX(-16px); }
.f-price { display: flex; gap: 8px; padding-bottom: 14px; }
.f-price input { width: 50%; height: 40px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--r-sm); text-align: center; }
.sortbar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.sort-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--text-2); }
.sort-opts { display: flex; gap: 14px; flex-wrap: wrap; }
.sort-opts button { color: var(--text-4); font-size: 13px; }
.sort-opts button.on { color: var(--green); font-weight: 700; }
.count { margin-inline-start: auto; color: var(--text-4); font-size: 13px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 16px; }
.empty-note { padding: 40px 0; text-align: center; color: var(--text-4); }

/* product page */
.pd { margin-top: 20px; }
.crumbs { display: flex; align-items: center; gap: 6px; color: var(--text-4); font-size: 13px; margin-bottom: 16px; }
.crumbs .i { width: 16px; height: 16px; }
.crumbs a:hover { color: var(--text-1); }
.pd-top { display: grid; grid-template-columns: 380px 1fr 280px; gap: 24px; align-items: start; }
.pd-img { position: relative; aspect-ratio: 1; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--bg-3); }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-brand { font-size: 13px; color: var(--text-3); }
.pd-brand strong { color: var(--text-1); }
.pd-info h1 { font-size: 18px; font-weight: 800; line-height: 1.7; margin-top: 4px; }
.pd-sub { font-size: 13px; color: var(--text-4); margin-top: 6px; }
.pd-buy { border: 1px solid var(--line); border-radius: var(--r-md); padding: 6px 16px 16px; background: #fff; box-shadow: var(--shadow); }
.pd-buy ul { list-style: none; margin: 0 0 14px; padding: 0; }
.pd-buy li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.pd-buy li .i { color: var(--text-4); }
.pd-oos { display: grid; place-items: center; height: 44px; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-text); font-weight: 700; }
.pd-price { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.tabs { margin-top: 36px; }
.tab-bar { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.tab-bar button { position: relative; padding: 10px 2px; color: var(--text-4); font-weight: 600; white-space: nowrap; }
.tab-bar button.on { color: var(--brand); }
.tab-bar button.on::after { content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 2px; background: var(--brand); border-radius: 2px; }
.tab-panel { display: none; padding: 18px 0; }
.tab-panel.on { display: block; }
.reviews, .related { margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); }
.reviews h2, .related h2 { font-size: 17px; font-weight: 800; }
.related > .muted { font-size: 13px; margin-bottom: 16px; }
.rv { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: center; margin-top: 16px; }
.rv-cta { border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px; }
.rv-cta strong { display: block; font-weight: 800; }
.rv-cta p { color: var(--text-4); font-size: 13px; margin: 4px 0 14px; }
.rv-cta .btn-outline { width: 100%; justify-content: center; }
.rv-empty { text-align: center; }

/* rich text */
.rich { color: var(--text-2); line-height: 2.1; font-size: 14px; }
.rich h2 { font-size: 22px; font-weight: 800; color: var(--text-1); margin: 22px 0 10px; line-height: 1.6; }
.rich h3 { font-size: 17px; font-weight: 800; color: var(--text-1); margin: 18px 0 8px; }
.rich p { margin: 0 0 12px; }
.rich ul, .rich ol { padding-inline-start: 22px; margin: 0 0 12px; }
.rich li p { margin: 0; }
.rich a { color: var(--brand); }
.rich strong { color: var(--text-1); }
.rich > :first-child { margin-top: 0; }

/* static pages and forms */
.static { margin-top: 32px; }
.static h1 { font-size: 18px; font-weight: 800; margin-bottom: 14px; }
.box { border: 1px solid var(--line); border-radius: var(--r-md); padding: 24px; background: #fff; box-shadow: var(--shadow); }
.contact-intro { margin-bottom: 24px; }
.form { display: grid; gap: 18px; }
.fld { display: grid; gap: 6px; }
.fld > span { font-size: 13px; font-weight: 600; color: var(--text-2); }
.fld em { color: var(--red); font-style: normal; }
.fld input, .fld textarea { width: 100%; border: 1px solid var(--line-2); border-radius: var(--r-sm); padding: 10px 14px; background: #fff; box-shadow: var(--shadow); outline: none; transition: border-color .15s, box-shadow .15s; }
.fld input { height: 44px; }
.fld textarea { resize: vertical; min-height: 120px; }
.fld input:focus, .fld textarea:focus { border-color: #9bccfd; box-shadow: 0 0 0 4px rgba(41, 146, 251, .18); }
.fld.bad input, .fld.bad textarea { border-color: #fda29b; }
.form-msg { font-size: 13px; padding: 10px 12px; border-radius: var(--r-sm); background: var(--bg-2); color: var(--text-2); }
.form-msg.ok { background: #ecfdf3; color: #067647; }
.form-msg.err { background: var(--red-soft); color: var(--red-text); }

/* empty states */
.center-page { display: grid; place-items: center; min-height: 52vh; padding-block: 48px; }
.empty { width: 100%; max-width: 520px; text-align: center; padding: 40px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background-image: linear-gradient(var(--bg-2) 1px, transparent 1px), linear-gradient(90deg, var(--bg-2) 1px, transparent 1px); background-size: 28px 28px; }
.empty-ico { display: inline-grid; place-items: center; width: 56px; height: 56px; border: 1px solid var(--line-2); border-radius: var(--r-md); background: #fff; color: var(--text-2); box-shadow: var(--shadow); margin-bottom: 14px; }
.empty h1 { font-size: 17px; font-weight: 800; }
.empty p { color: var(--text-3); font-size: 13px; margin: 6px 0 18px; }

/* auth */
.bare { background: var(--bg-2); }
.auth { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-back { display: inline-flex; align-items: center; gap: 6px; width: 100%; max-width: 380px; margin-bottom: 12px; color: var(--text-2); font-weight: 600; font-size: 13px; }
.auth-back .i { width: 18px; height: 18px; }
.auth-card { width: 100%; max-width: 380px; display: grid; gap: 14px; justify-items: center; text-align: center; padding: 32px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: 0 12px 16px -4px rgba(16, 24, 40, .08); }
.auth-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; }
.auth-card h1 { font-size: 18px; font-weight: 800; }
.auth-card > p { color: var(--text-3); font-size: 13px; margin-top: -8px; }
.auth-card .fld { width: 100%; text-align: right; }

/* mobile chrome */
.bnav { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; justify-content: space-around; height: 64px; padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid var(--line); }
.bnav a, .bnav button { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--text-4); font-size: 11px; }
.bnav .on { color: var(--text-1); }
.overlay { position: fixed; inset: 0; z-index: 60; background: rgba(12, 17, 29, .5); }
.drawer { position: fixed; top: 0; bottom: 0; right: 0; z-index: 61; width: min(86vw, 320px); background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 12px; overflow-y: auto; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.drawer-head .logo img { width: 36px; height: 36px; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 10px 4px; border-bottom: 1px solid var(--bg-3); font-weight: 600; color: var(--text-2); }
.drawer-nav h4 { margin-top: 14px; padding: 6px 4px; font-size: 12px; color: var(--text-4); }
.drawer-phone { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-weight: 600; }
.search { position: fixed; inset: 0; z-index: 70; background: #fff; display: flex; flex-direction: column; }
.search-box { display: flex; align-items: center; gap: 10px; padding: 16px; border-bottom: 1px solid var(--line); max-width: 760px; width: 100%; margin-inline: auto; }
.search-field { flex: 1; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: var(--r-sm); color: var(--text-4); }
.search-field input { flex: 1; border: 0; outline: none; background: none; color: var(--text-1); }
.search-results { list-style: none; margin: 0 auto; padding: 8px 16px; width: 100%; max-width: 760px; overflow-y: auto; }
.search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 4px; border-bottom: 1px solid var(--bg-3); }
.search-results img, .search-results .noimg { width: 52px; height: 52px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg-3); }
.search-results strong { display: block; font-weight: 600; }
.search-results small { color: var(--text-4); font-size: 12px; }
.search-results .none { padding: 24px 4px; color: var(--text-4); text-align: center; }

/* cart */
.cart-btn { position: relative; display: inline-flex; }
.badge { position: absolute; top: -7px; left: -7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }
.card-add[data-add] { color: var(--text-2); }
.card-add[data-add]:hover { background: var(--bg-2); }
.toast { position: fixed; z-index: 90; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-radius: var(--r-sm); background: var(--text-1); color: #fff; font-size: 13px; box-shadow: 0 12px 24px -6px rgba(16, 24, 40, .3); white-space: nowrap; }
.toast a { color: #9bccfd; font-weight: 700; }
.cart { display: grid; grid-template-columns: 1fr 360px; gap: 24px; align-items: start; margin-top: 28px; }
.cart-items h1 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.cart-list { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--r-md); }
.ci { display: grid; grid-template-columns: 88px 1fr auto auto; gap: 16px; align-items: center; padding: 16px; border-bottom: 1px solid var(--line); }
.ci:last-child { border-bottom: 0; }
.ci-img img { width: 88px; height: 88px; border-radius: var(--r-sm); object-fit: cover; background: var(--bg-3); }
.ci-title { display: block; font-weight: 700; }
.ci-body small { color: var(--text-4); font-size: 12px; }
.ci-price { margin-top: 4px; font-weight: 800; }
.ci-price small { font-weight: 400; color: var(--text-4); }
.ci-oos { color: var(--red-text); font-weight: 700; font-size: 13px; }
.qty { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 4px; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.qty button { display: grid; place-items: center; width: 30px; height: 30px; color: var(--text-2); border-radius: 6px; }
.qty button:hover { background: var(--bg-2); }
.qty button:disabled { color: var(--text-5); cursor: not-allowed; }
.qty .i { width: 16px; height: 16px; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; }
.ci-del { color: var(--text-4); padding: 6px; border-radius: 6px; }
.ci-del:hover { color: var(--red); background: var(--red-soft); }
.cart-side { position: sticky; top: calc(var(--header-h) + 16px); }
.sum-row { display: flex; align-items: center; justify-content: space-between; padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.sum-row strong { font-size: 18px; font-weight: 800; }
.sum-row small { font-size: 12px; font-weight: 400; color: var(--text-4); }
.pay-error { display: grid; gap: 12px; padding: 14px; border: 1px solid #fda29b; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red-text); text-align: center; }
.pay-error strong { font-weight: 800; }
.pay-support { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }

@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .pd-top { grid-template-columns: 320px 1fr; }
  .pd-buy { grid-column: 1 / -1; }
}

@media (max-width: 767px) {
  :root { --header-h: 64px; }
  .only-d { display: none !important; }
  .only-m { display: inline-flex !important; }
  body:not(.bare) { padding-bottom: 72px; }
  .hdr-in { gap: 10px; }
  .hero { margin-top: 12px; }
  .slider { border-radius: var(--r-md); }
  .offers { flex-direction: column; margin-inline: -16px; border-radius: 0; padding: 18px 0 18px 16px; gap: 14px; }
  .offers-head { width: auto; flex-direction: row; text-align: right; padding-left: 0; padding-right: 16px; }
  .offers-badge { order: 0; width: 52px; height: 52px; font-size: 24px; }
  .offers-text { flex: 1; }
  .offers-text h2 { font-size: 17px; }
  .offers-track { border-radius: var(--r-md) 0 0 var(--r-md); }
  .car-btn { display: none; }
  .car-track > * { flex-basis: 156px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat img { width: 80px; height: 80px; }
  .ftr-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .ftr-about { grid-column: 1 / -1; }
  .ftr-bottom { flex-direction: column-reverse; }
  .listing { grid-template-columns: 1fr; margin-top: 16px; }
  .filters { position: fixed; inset: 0; z-index: 80; border-radius: 0; overflow-y: auto; display: none; }
  .filters.open { display: block; }
  .sortbar { gap: 10px; }
  .sort-label { display: none; }
  .sort-opts { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
  .sort-opts button { white-space: nowrap; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .pd-top { grid-template-columns: 1fr; }
  .rv { grid-template-columns: 1fr; }
  .box { padding: 18px; }
  .rich h2 { font-size: 19px; }
  .cart { grid-template-columns: 1fr; margin-top: 16px; }
  .cart-side { position: static; }
  .ci { grid-template-columns: 64px 1fr auto; gap: 10px 12px; }
  .ci-img img { width: 64px; height: 64px; }
  .ci .qty { grid-column: 2 / 4; justify-self: start; }
  .ci-del { grid-column: 3; grid-row: 1; align-self: start; }
  .toast { bottom: 84px; }
  .bnav .badge { top: -6px; left: -10px; }
}
