/* Pazar: the Dukkanoo market (quick commerce) theme. Hand-written, no framework. Logical properties only (RTL by dir="rtl"). Merchant brand from /theme/store.css (--st-*). */
@font-face { font-family: "Readex Pro"; src: url("fonts/ReadexPro.ttf") format("truetype"); font-weight: 160 700; font-style: normal; font-display: swap; }

:root {
  --st-primary: #12505c; --st-on-primary: #ffffff; --st-accent: #c8431f; --st-on-accent: #ffffff; --st-radius: 12px;
  --st-font: "Readex Pro", system-ui, sans-serif;
  --st-bg: #ffffff; --st-surface: #f4f5f6; --st-ink: #14181d; --st-muted: #59626c; --st-line: #e2e5e9; --st-ok: #1c7c4a; --st-danger: #b3261e;
  --st-wrap: 1280px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--st-bg); color: var(--st-ink); font-family: var(--st-font); font-size: 16px; line-height: 1.5; }
img { max-inline-size: 100%; block-size: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.25; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(24px, 3vw, 32px); }
h2 { font-size: clamp(20px, 2.4vw, 26px); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--st-primary); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; inset-inline-start: 8px; inset-block-start: -60px; z-index: 100; padding: 10px 16px; background: var(--st-ink); color: #fff; border-radius: 8px; }
.skip-link:focus { inset-block-start: 8px; }
.wrap { max-inline-size: var(--st-wrap); margin-inline: auto; padding-inline: 16px; }
.muted { color: var(--st-muted); font-size: 14px; }
.section { padding-block: 32px; }
.page { padding-block: 24px 48px; display: grid; gap: 24px; }
.prose { line-height: 1.7; } .prose h3, .prose h4 { margin-block: 20px 8px; } .prose p, .prose ul, .prose ol { margin-block: 0 12px; } .prose ul { list-style: disc; padding-inline-start: 20px; } .prose ol { list-style: decimal; padding-inline-start: 20px; }
.prose table { border-collapse: collapse; } .prose td, .prose th { border: 1px solid var(--st-line); padding: 6px 10px; }
.lead { color: var(--st-muted); max-inline-size: 70ch; }
.icon { flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-block-size: 44px; padding-inline: 20px; border: 1px solid transparent; border-radius: var(--st-radius); font-weight: 600; font-size: 15px; cursor: pointer; text-decoration: none; transition: transform 120ms ease, background-color 150ms ease, box-shadow 150ms ease; }
.btn:active { transform: scale(0.97); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-primary { background: var(--st-primary); color: var(--st-on-primary); }
.btn-primary:hover:not([disabled]) { box-shadow: 0 4px 14px rgba(20, 24, 29, 0.2); }
.btn-outline { background: transparent; border-color: var(--st-ink); color: var(--st-ink); }
.btn-outline:hover:not([disabled]) { background: var(--st-ink); color: #fff; }
.btn-light { background: #fff; color: var(--st-ink); }
.btn-sm { min-block-size: 36px; padding-inline: 16px; border-radius: 999px; font-size: 14px; }
.btn-lg { min-block-size: 52px; padding-inline: 28px; font-size: 16px; }
.btn-block { inline-size: 100%; }
.icon-btn { display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 999px; transition: background-color 150ms ease, transform 120ms ease; }
.icon-btn:hover { background: var(--st-surface); } .icon-btn:active { transform: scale(0.92); }

.drawer { position: fixed; inset: 0; z-index: 60; display: flex; }
.drawer-panel { inline-size: min(360px, 88vw); background: var(--st-bg); overflow-y: auto; padding: 8px 16px 24px; animation: slide-in 200ms ease; }
@keyframes slide-in { from { transform: translateX(-24px); opacity: 0; } }
[dir="rtl"] .drawer-panel { animation-name: slide-in-rtl; } @keyframes slide-in-rtl { from { transform: translateX(24px); opacity: 0; } }
.drawer-backdrop { flex: 1; border: 0; background: rgba(20, 24, 29, 0.5); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-block: 8px; font-weight: 700; }
.drawer-list { display: grid; } .drawer-list > li { border-block-end: 1px solid var(--st-line); }
.drawer-list a, .drawer-list summary { display: flex; align-items: center; justify-content: space-between; min-block-size: 48px; text-decoration: none; cursor: pointer; list-style: none; } .drawer-list summary::-webkit-details-marker { display: none; }
.drawer-list ul { padding-inline-start: 14px; } .drawer-list details[open] > summary .icon { transform: rotate(180deg); }
.drawer-langs { display: flex; gap: 16px; margin-block-start: 20px; }

/* home */
.slider { position: relative; overflow: hidden; background: var(--st-ink); }
.slides { position: relative; aspect-ratio: 16 / 6; min-block-size: 320px; }
.slide { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 500ms ease; color: #fff; }
.slide.is-active { opacity: 1; pointer-events: auto; }
.slide picture, .slide img { position: absolute; inset: 0; inline-size: 100%; block-size: 100%; object-fit: cover; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to inline-end, rgba(10, 14, 18, 0.7), rgba(10, 14, 18, 0.05) 70%); }
.slide-text { position: absolute; z-index: 2; inset-block: 0; inset-inline-start: clamp(16px, 7vw, 88px); max-inline-size: min(560px, 80%); display: grid; gap: 14px; align-content: center; justify-items: start; }
.slide-text h2 { font-size: clamp(26px, 4vw, 44px); } .slide-text p { font-size: clamp(15px, 1.6vw, 18px); opacity: 0.92; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; opacity: 0.9; }
.slider-btn { position: absolute; z-index: 3; inset-block-start: 50%; translate: 0 -50%; inline-size: 44px; block-size: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.9); color: var(--st-ink); cursor: pointer; transition: transform 120ms ease; }
.slider-btn:active { transform: scale(0.9); }
.slider-prev { inset-inline-start: 16px; } .slider-next { inset-inline-end: 16px; }
[dir="rtl"] .slider-btn .icon { transform: scaleX(-1); }
.slider-dots { position: absolute; z-index: 3; inset-block-end: 14px; inset-inline: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { inline-size: 10px; block-size: 10px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.55); cursor: pointer; transition: inline-size 200ms ease, background-color 200ms ease; }
.slider-dots button[aria-current] { inline-size: 28px; background: #fff; }
.strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: inline mandatory; scrollbar-width: none; padding-block: 4px; } .strip::-webkit-scrollbar { display: none; }
.section-head { display: flex; align-items: center; gap: 16px; margin-block-end: 16px; } .section-head h2 { flex: 1; }
.see-all { font-weight: 600; color: var(--st-primary); }
.cat-strip { margin-block-start: 16px; } .cat-tile { flex: 0 0 120px; display: grid; gap: 10px; justify-items: center; text-align: center; text-decoration: none; scroll-snap-align: start; font-weight: 500; font-size: 14px; }
.cat-icon { display: grid; place-items: center; inline-size: 96px; block-size: 96px; border-radius: 999px; background: var(--st-surface); color: var(--st-primary); overflow: hidden; transition: transform 150ms ease; } .cat-tile:hover .cat-icon { transform: scale(1.06); }
.cat-icon img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.rail { gap: 16px; } .rail-item { flex: 0 0 min(262px, 62vw); scroll-snap-align: start; }
.rail-buttons { display: flex; gap: 4px; }
.brand-tile { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border: 1px solid var(--st-line); border-radius: var(--st-radius); text-decoration: none; font-weight: 600; transition: border-color 150ms ease; } .brand-tile:hover { border-color: var(--st-ink); }
.brand-tile img { inline-size: 32px; block-size: 32px; object-fit: contain; }
.banner-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.banner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px; min-block-size: 160px; border-radius: var(--st-radius); background: var(--st-surface); text-decoration: none; overflow: hidden; }
.banner-text { display: grid; gap: 8px; z-index: 1; max-inline-size: 60%; } .banner strong { font-size: 20px; } .banner-cta { font-weight: 600; color: var(--st-primary); text-decoration: underline; }
.banner img { position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 45%; block-size: 100%; object-fit: cover; }

.badge { position: absolute; inset-block-start: 12px; inset-inline-start: 12px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; z-index: 2; }
.badge-sale { background: var(--st-accent); color: var(--st-on-accent); } .badge-new { background: var(--st-primary); color: var(--st-on-primary); }
.card-body { display: grid; gap: 8px; }
.card-brand { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--st-muted); text-decoration: none; }
.card-name { font-size: 15px; font-weight: 500; text-decoration: none; line-height: 1.4; } .card-name:hover { text-decoration: underline; }
.swatches { display: flex; gap: 6px; } .swatch, .dot { inline-size: 16px; block-size: 16px; border-radius: 999px; background: var(--sw, #ccc); box-shadow: inset 0 0 0 1px rgba(20, 24, 29, 0.25); }
.price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.price { font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; } .price-big { font-size: 28px; }
.from { font-size: 12px; font-weight: 500; color: var(--st-muted); }
.compare { color: var(--st-muted); font-variant-numeric: tabular-nums; }
.stock-note { font-size: 13px; font-weight: 500; color: var(--st-accent); }

/* listing */
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 6px; font-size: 14px; color: var(--st-muted); } .breadcrumbs li + li::before { content: "›"; margin-inline-end: 6px; } [dir="rtl"] .breadcrumbs li + li::before { content: "‹"; }
.breadcrumbs a { text-decoration: none; } .breadcrumbs a:hover { text-decoration: underline; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-block-size: 40px; padding-inline: 16px; border: 1px solid var(--st-line); border-radius: 999px; font-size: 14px; font-weight: 500; text-decoration: none; transition: border-color 150ms ease, background-color 150ms ease; } .chip:hover { border-color: var(--st-ink); }
.chip-remove { background: var(--st-surface); min-block-size: 32px; padding-inline: 12px; }
.listing-layout { display: grid; gap: 32px; grid-template-columns: 260px 1fr; align-items: start; }
.filters { display: grid; gap: 18px; position: sticky; inset-block-start: 16px; }
.filters-title { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.filters fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .filters legend { font-weight: 600; margin-block-end: 8px; padding: 0; }
.check { display: flex; align-items: center; gap: 10px; min-block-size: 32px; cursor: pointer; } .check input { inline-size: 18px; block-size: 18px; accent-color: var(--st-primary); } .check .count { margin-inline-start: auto; color: var(--st-muted); font-size: 13px; }
.price-range { display: flex; gap: 8px; } .price-range label { display: grid; gap: 4px; font-size: 13px; color: var(--st-muted); flex: 1; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"], select, textarea { inline-size: 100%; min-block-size: 44px; padding: 8px 12px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-bg); }
.search input[type="search"] { border: 0; min-block-size: 0; padding: 0; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-block-end: 20px; } .spacer { flex: 1; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; } .sort select { inline-size: auto; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-block-start: 32px; }
.page-link { display: inline-flex; align-items: center; gap: 4px; min-inline-size: 44px; min-block-size: 44px; justify-content: center; padding-inline: 12px; border: 1px solid var(--st-line); border-radius: var(--st-radius); text-decoration: none; font-weight: 500; } .page-link.is-current { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
.empty { display: grid; gap: 12px; justify-items: center; text-align: center; padding-block: 56px; color: var(--st-muted); } .empty h2 { color: var(--st-ink); }

/* product */
.product-layout { display: grid; gap: 40px; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
.gallery { display: grid; gap: 12px; }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--st-radius); background: var(--st-surface); overflow: hidden; display: grid; place-items: center; cursor: zoom-in; }
.gallery-img { inline-size: 100%; block-size: 100%; object-fit: contain; } .gallery-empty { color: var(--st-muted); }
.thumbs { display: flex; gap: 10px; flex-wrap: wrap; } .thumb { inline-size: 72px; block-size: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--st-radius); background: var(--st-surface); cursor: pointer; overflow: hidden; } .thumb[aria-current] { border-color: var(--st-ink); } .thumb img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.buy { display: grid; gap: 18px; }
.sku { font-size: 14px; color: var(--st-muted); }
.price-block { display: grid; gap: 4px; } .lowest { font-size: 13px; color: var(--st-muted); }
.option { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; } .option legend { font-weight: 600; padding: 0; margin-block-end: 6px; } .option legend span { font-weight: 400; color: var(--st-muted); }
.option-values { display: flex; flex-wrap: wrap; gap: 10px; }
.opt { min-block-size: 48px; padding-inline: 18px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-bg); cursor: pointer; font-weight: 500; transition: border-color 150ms ease, transform 120ms ease; } .opt:active { transform: scale(0.96); }
.opt[aria-pressed="true"] { border: 2px solid var(--st-ink); }
.opt[disabled] { border-style: dashed; color: var(--st-muted); text-decoration: line-through; cursor: not-allowed; }
.opt-swatch { display: grid; place-items: center; inline-size: 48px; padding: 0; border-radius: 999px; } .opt-swatch .dot { inline-size: 32px; block-size: 32px; }
.stock { font-weight: 600; font-size: 14px; color: var(--st-ok); } .stock[data-state="low"] { color: var(--st-accent); } .stock[data-state="out"] { color: var(--st-muted); }
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--st-line); border-radius: var(--st-radius); } .qty input { inline-size: 52px; text-align: center; border: 0; min-block-size: 44px; padding: 0; -moz-appearance: textfield; } .qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.assure { display: grid; gap: 10px; padding-block-start: 8px; border-block-start: 1px solid var(--st-line); } .assure li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--st-muted); }
.product-details { display: grid; gap: 32px; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
.product-details h2 { margin-block-end: 12px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 0; margin: 0; } .specs dt, .specs dd { margin: 0; padding: 10px 0; border-block-end: 1px solid var(--st-line); } .specs dt { color: var(--st-muted); padding-inline-end: 20px; }
.form-msg { color: var(--st-danger); font-size: 14px; }
.lightbox { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; background: rgba(10, 14, 18, 0.88); cursor: zoom-out; }
.lightbox img { max-inline-size: 94vw; max-block-size: 90vh; object-fit: contain; }
.lightbox .icon-btn { position: absolute; inset-block-start: 12px; inset-inline-end: 12px; color: #fff; }

/* cart and checkout */
.cart-layout, .checkout-layout { display: grid; gap: 32px; grid-template-columns: minmax(0, 1fr) 380px; align-items: start; }
.cart-lines { display: grid; }
.cart-line { display: grid; grid-template-columns: 80px 1fr auto auto auto; gap: 16px; align-items: center; padding-block: 16px; border-block-end: 1px solid var(--st-line); transition: opacity 200ms ease; } .cart-line.is-busy { opacity: 0.5; }
.cart-img { display: grid; place-items: center; inline-size: 80px; block-size: 80px; border-radius: var(--st-radius); background: var(--st-surface); overflow: hidden; } .cart-img img { object-fit: contain; inline-size: 100%; block-size: 100%; }
.cart-info { display: grid; gap: 2px; } .cart-name { font-weight: 600; } .cart-total { font-weight: 700; font-variant-numeric: tabular-nums; min-inline-size: 90px; text-align: end; }
.issue { color: var(--st-danger); font-size: 14px; font-weight: 500; }
.summary { display: grid; gap: 14px; padding: 24px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-surface); position: sticky; inset-block-start: 16px; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; } .sum-total { font-size: 18px; padding-block-start: 10px; border-block-start: 1px solid var(--st-line); }
.sum-lines { display: grid; gap: 12px; } .sum-lines li { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: start; font-size: 14px; } .sum-qty { display: grid; place-items: center; inline-size: 24px; block-size: 24px; border-radius: 999px; background: var(--st-ink); color: #fff; font-size: 12px; font-weight: 600; }
.sum-name { display: grid; } .sum-rows { display: grid; gap: 8px; }
.alert { padding: 12px 16px; border-radius: var(--st-radius); font-size: 14px; } .alert-warn { background: #fff4e5; color: #6b3d00; } .alert-error { background: #fdecea; color: var(--st-danger); }
.checkout { background: var(--st-surface); padding-block: 24px 56px; }
.checkout-form { display: grid; gap: 20px; }
.step { display: grid; gap: 16px; padding: 24px; background: var(--st-bg); border-radius: var(--st-radius); border: 1px solid var(--st-line); }
.step h2 { display: flex; align-items: center; gap: 12px; font-size: 20px; } .step-n { display: inline-grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 999px; background: var(--st-primary); color: var(--st-on-primary); font-size: 14px; }
.field-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 500; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--st-danger); }
.field-error { min-block-size: 0; color: var(--st-danger); font-size: 13px; font-weight: 400; } .hint { color: var(--st-muted); font-size: 13px; font-weight: 400; }
.choice-list { display: grid; gap: 10px; } .choice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--st-line); border-radius: var(--st-radius); cursor: pointer; transition: border-color 150ms ease; } .choice:has(input:checked) { border: 2px solid var(--st-ink); padding: 13px 15px; } .choice input { accent-color: var(--st-primary); inline-size: 18px; block-size: 18px; }
.choice > span { display: grid; flex: 1; } .choice .price-tag { font-weight: 700; margin-inline-start: auto; }
.segmented { display: inline-flex; padding: 4px; border-radius: var(--st-radius); background: var(--st-surface); inline-size: fit-content; } .segmented label { cursor: pointer; } .segmented input { position: absolute; opacity: 0; } .segmented span { display: inline-block; padding: 8px 20px; border-radius: calc(var(--st-radius) - 2px); font-weight: 600; font-size: 14px; color: var(--st-muted); } .segmented input:checked + span { background: #fff; color: var(--st-ink); box-shadow: 0 1px 3px rgba(20, 24, 29, 0.15); } .segmented input:focus-visible + span { outline: 3px solid var(--st-primary); }
.shipping-options h3 { font-size: 16px; margin-block-end: 8px; }
.step-final { gap: 14px; }
.return-box, .thanks-head { display: grid; gap: 14px; justify-items: center; text-align: center; padding-block: 48px; }
.spinner { inline-size: 40px; block-size: 40px; border: 4px solid var(--st-line); border-block-start-color: var(--st-primary); border-radius: 999px; animation: spin 0.9s linear infinite; } @keyframes spin { to { rotate: 360deg; } }
.thanks { max-inline-size: 760px; } .thanks-icon { display: grid; place-items: center; inline-size: 64px; block-size: 64px; border-radius: 999px; background: var(--st-ok); color: #fff; }
.notice-box { padding: 24px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-surface); display: grid; gap: 10px; } .instructions { margin: 0; white-space: pre-wrap; font-family: inherit; padding: 14px; background: #fff; border-radius: 8px; border: 1px dashed var(--st-line); }
.not-found { justify-items: center; text-align: center; padding-block: 64px; }
.search-big { max-inline-size: 520px; inline-size: 100%; }

/* footer */
.site-footer { margin-block-start: 48px; background: var(--st-surface); border-block-start: 1px solid var(--st-line); }
.footer-grid { display: grid; gap: 32px; padding-block: 40px 16px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.footer-about { display: grid; gap: 12px; align-content: start; grid-column: span 2; } .footer-brand { font-size: 18px; font-weight: 700; } .footer-about p { color: var(--st-muted); font-size: 14px; max-inline-size: 44ch; }
.footer-col { display: grid; gap: 10px; align-content: start; } .footer-title { font-weight: 600; font-size: 14px; } .footer-col a { color: var(--st-muted); text-decoration: none; font-size: 14px; } .footer-col a:hover { text-decoration: underline; }
.social { display: flex; gap: 12px; flex-wrap: wrap; font-size: 14px; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; padding-block: 12px; font-size: 13px; color: var(--st-muted); }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; border-block-start: 1px solid var(--st-line); font-size: 13px; color: var(--st-muted); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; } .pay-badges li { display: inline-grid; place-items: center; block-size: 28px; padding-inline: 10px; border: 1px solid var(--st-line); border-radius: 6px; background: var(--st-bg); font-size: 12px; font-weight: 600; color: var(--st-ink); }
.powered { color: var(--st-muted); text-decoration: none; font-size: 12px; }

@media (max-width: 900px) {
  .main-nav { display: none; } .menu-toggle { display: inline-grid; }
  .header-row { gap: 10px 12px; } .search { order: 5; flex-basis: 100%; } .cart-label { display: none; }
  .listing-layout, .product-layout, .product-details, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .filters, .summary { position: static; }
  .slides { aspect-ratio: 4 / 5; min-block-size: 360px; } .slide::after { background: linear-gradient(to top, rgba(10, 14, 18, 0.75), rgba(10, 14, 18, 0.05) 70%); } .slide-text { inset-inline: 16px; inset-block: auto 40px; max-inline-size: none; }
  .cart-line { grid-template-columns: 64px 1fr auto; } .cart-img { inline-size: 64px; block-size: 64px; } .cart-total { text-align: start; }
  .footer-about { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* ================================================================ Pazar (market) ================================================================ */
:root { --st-surface: #f3f6f3; --st-line: #dfe5df; --mk-warn: #b45309; --mk-warn-bg: #fff4e0; }
body.has-sheet { overflow: hidden; }
.bump { animation: bump 300ms ease; }

/* header */
.mk-header { position: sticky; inset-block-start: 0; z-index: 40; background: var(--st-bg); border-block-end: 1px solid var(--st-line); box-shadow: 0 1px 0 rgba(20, 24, 29, 0.03); }
.announcement { background: var(--st-primary); color: var(--st-on-primary); font-size: 13px; text-align: center; padding: 7px 16px; }
.mk-header-row { display: flex; align-items: center; gap: 10px 16px; padding-block: 10px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; color: var(--st-primary); }
.logo-mark { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border-radius: var(--st-radius); background: var(--st-primary); color: var(--st-on-primary); }
.logo-img { block-size: 38px; inline-size: auto; max-inline-size: 120px; object-fit: contain; border-radius: 8px; }
.menu-toggle { display: none; }
.mk-delivery-btn { display: inline-flex; align-items: center; gap: 8px; min-block-size: 46px; padding-inline: 12px; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-surface); cursor: pointer; text-align: start; max-inline-size: 280px; transition: background-color 150ms ease, transform 120ms ease; }
.mk-delivery-btn:hover { background: #e9efe9; } .mk-delivery-btn:active { transform: scale(0.98); }
.mk-delivery-btn .icon:first-child { color: var(--st-primary); flex: none; }
.mk-delivery-text { display: grid; min-inline-size: 0; line-height: 1.2; } .mk-delivery-text small { font-size: 11px; color: var(--st-muted); } .mk-delivery-text strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-status { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--st-surface); white-space: nowrap; }
.mk-status-dot { inline-size: 9px; block-size: 9px; border-radius: 999px; background: var(--st-muted); }
.mk-status[data-state="open"] { background: #e3f6e8; color: #14532d; } .mk-status[data-state="open"] .mk-status-dot { background: #16a34a; animation: pulse 2s ease-in-out infinite; }
.mk-status[data-state="closed"] { background: #f1f2f4; color: #4b5563; } .mk-status[data-state="closed"] .mk-status-dot { background: #9ca3af; }
.mk-status[data-state="paused"] { background: var(--mk-warn-bg); color: var(--mk-warn); } .mk-status[data-state="paused"] .mk-status-dot { background: #f59e0b; }
@keyframes pulse { 50% { box-shadow: 0 0 0 5px rgba(22, 163, 74, 0.18); } }
.search { flex: 1 1 260px; display: flex; align-items: center; gap: 8px; block-size: 46px; padding-inline: 16px 8px; border: 1px solid var(--st-line); border-radius: 999px; background: var(--st-bg); }
.search input { flex: 1; min-inline-size: 0; border: 0; outline: 0; background: transparent; color: var(--st-ink); font-size: 15px; }
.search:focus-within { outline: 3px solid var(--st-primary); outline-offset: 1px; }
.header-tools { display: flex; align-items: center; gap: 12px; margin-inline-start: auto; }
.lang-switch { position: relative; } .lang-switch summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; min-block-size: 44px; } .lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch ul { position: absolute; inset-inline-end: 0; z-index: 30; min-inline-size: 140px; padding: 6px; background: var(--st-bg); border: 1px solid var(--st-line); border-radius: var(--st-radius); box-shadow: 0 12px 28px rgba(20, 24, 29, 0.14); }
.lang-switch a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; } .lang-switch a:hover, .lang-switch a[aria-current] { background: var(--st-surface); }
.mk-cart-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; min-block-size: 46px; padding-inline: 14px; border: 0; border-radius: 999px; background: var(--st-primary); color: var(--st-on-primary); font-weight: 700; cursor: pointer; transition: transform 120ms ease, box-shadow 150ms ease; }
.mk-cart-btn:hover { box-shadow: 0 6px 16px rgba(20, 24, 29, 0.2); } .mk-cart-btn:active { transform: scale(0.96); }
.mk-cart-label { display: grid; line-height: 1.15; text-align: start; font-size: 13px; } .mk-cart-label strong { font-size: 14px; }
.cart-count { position: absolute; inset-block-start: -6px; inset-inline-end: -4px; min-inline-size: 22px; block-size: 22px; padding-inline: 6px; border-radius: 999px; background: var(--st-accent); color: var(--st-on-accent); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; border: 2px solid var(--st-bg); }
.mk-catnav { border-block-start: 1px solid var(--st-line); background: var(--st-bg); }
.mk-catnav-row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 8px; } .mk-catnav-row::-webkit-scrollbar { display: none; }
.mk-catlink { flex: none; padding: 7px 14px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; transition: background-color 150ms ease, color 150ms ease; } .mk-catlink:hover { background: var(--st-surface); color: var(--st-primary); }

/* home */
.mk-promise { display: grid; grid-template-columns: 1fr auto; gap: 12px 24px; align-items: center; margin-block-start: 16px; padding: 20px 24px; border-radius: calc(var(--st-radius) + 6px); background: linear-gradient(120deg, var(--st-primary), color-mix(in srgb, var(--st-primary) 70%, #000)); color: var(--st-on-primary); }
.mk-promise-main { display: flex; align-items: center; gap: 16px; grid-column: 1; }
.mk-promise-icon { display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 999px; background: var(--st-accent); color: var(--st-on-accent); flex: none; }
.mk-promise-title { font-size: clamp(22px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; } .mk-promise-text { opacity: 0.92; margin-block-start: 4px; }
.mk-promise-points { display: flex; flex-wrap: wrap; gap: 8px 20px; grid-column: 1; font-size: 14px; } .mk-promise-points li { display: inline-flex; align-items: center; gap: 8px; opacity: 0.95; }
.mk-promise .btn { grid-column: 2; grid-row: 1 / span 2; }
.mk-cat-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); margin-block-start: 14px; }
.mk-cat-tile { display: grid; gap: 8px; justify-items: center; text-align: center; text-decoration: none; padding: 12px 8px; border-radius: calc(var(--st-radius) + 4px); background: var(--st-surface); transition: transform 150ms ease, box-shadow 150ms ease, background-color 150ms ease; }
.mk-cat-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 24, 29, 0.1); background: #fff; } .mk-cat-tile:active { transform: scale(0.97); }
.mk-cat-icon { display: grid; place-items: center; inline-size: 88px; block-size: 88px; border-radius: 22px; overflow: hidden; color: var(--st-primary); background: #fff; } .mk-cat-icon img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.mk-cat-name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.mk-rail-section { padding-block: 22px 6px; } .mk-rail { gap: 12px; } .mk-rail-item { flex: 0 0 min(180px, 44vw); scroll-snap-align: start; }
.section { padding-block: 24px; }

/* product cards: dense, with the add -> - 1 + stepper */
.mk-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 178px), 1fr)); }
.mk-card { position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; padding: 10px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 2px); background: var(--st-bg); block-size: 100%; transition: box-shadow 150ms ease, border-color 150ms ease; }
.mk-card:hover { box-shadow: 0 8px 22px rgba(20, 24, 29, 0.09); border-color: #cdd6cd; }
.mk-card-media { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--st-radius); background: var(--st-surface); overflow: hidden; color: var(--st-muted); }
.mk-card-media img { inline-size: 100%; block-size: 100%; object-fit: contain; transition: transform 250ms ease; } .mk-card:hover .mk-card-media img { transform: scale(1.05); }
.mk-card .badge { inset-block-start: 6px; inset-inline-start: 6px; padding: 2px 8px; font-size: 11px; }
.mk-card-body { display: grid; gap: 2px; align-content: start; min-inline-size: 0; }
.mk-price-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; } .mk-price { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--st-ink); }
.mk-card .compare { font-size: 12px; }
.mk-card-name { font-size: 14px; font-weight: 600; line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-block-size: 2.6em; } .mk-card-name:hover { text-decoration: underline; }
.mk-card-unit { font-size: 12px; color: var(--st-muted); } .mk-unit { font-weight: 600; color: var(--st-muted); }
.mk-unit-price { font-size: 11px; color: var(--st-muted); font-variant-numeric: tabular-nums; }
.mk-unit-big { font-size: 16px; } .mk-choose { display: inline-flex; align-items: center; justify-content: center; min-block-size: 38px; border-radius: 999px; border: 1px solid var(--st-primary); color: var(--st-primary); font-weight: 700; font-size: 14px; text-decoration: none; }
.mk-stepper { display: flex; justify-content: flex-end; min-block-size: 38px; }
.mk-card { grid-template-rows: auto 1fr; } .mk-card-media { grid-row: 1; grid-column: 1; } .mk-card-body { grid-row: 2; grid-column: 1; }
.mk-card > .mk-stepper { grid-row: 1; grid-column: 1; align-self: end; justify-self: end; margin: 6px; z-index: 2; } .mk-card > .mk-choose { grid-row: 3; grid-column: 1; }
.mk-add { display: grid; place-items: center; inline-size: 38px; block-size: 38px; border: 1px solid var(--st-primary); border-radius: 999px; background: var(--st-bg); color: var(--st-primary); cursor: pointer; box-shadow: 0 2px 8px rgba(20, 24, 29, 0.16); transition: transform 120ms ease, background-color 150ms ease, color 150ms ease; }
.mk-add:hover { background: var(--st-primary); color: var(--st-on-primary); } .mk-add:active { transform: scale(0.88); } .mk-add[disabled] { opacity: 0.5; cursor: not-allowed; }
.mk-qtyctl { display: inline-flex; align-items: center; border-radius: 999px; background: var(--st-primary); color: var(--st-on-primary); box-shadow: 0 2px 8px rgba(20, 24, 29, 0.2); animation: pop 180ms ease; }
.mk-qtyctl button { display: grid; place-items: center; inline-size: 36px; block-size: 38px; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 18px; border-radius: 999px; transition: transform 100ms ease, background-color 150ms ease; } .mk-qtyctl button:hover { background: rgba(255, 255, 255, 0.16); } .mk-qtyctl button:active { transform: scale(0.82); }
.mk-qtyctl output { min-inline-size: 22px; text-align: center; font-weight: 800; font-variant-numeric: tabular-nums; }
@keyframes pop { from { transform: scale(0.85); opacity: 0.4; } }

/* listing: sidebar of categories on desktop, chips on phones */
.mk-page { gap: 16px; padding-block: 16px 40px; }
.mk-listing { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.mk-side { position: sticky; inset-block-start: 130px; display: grid; gap: 14px; padding: 14px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-bg); max-block-size: calc(100vh - 150px); overflow-y: auto; }
.mk-side-title { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; color: var(--st-muted); }
.mk-side-list { display: grid; gap: 2px; } .mk-side-sub { padding-inline-start: 12px; display: grid; gap: 2px; margin-block: 2px 6px; border-inline-start: 2px solid var(--st-line); }
.mk-side-link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 500; transition: background-color 150ms ease; } .mk-side-link:hover { background: var(--st-surface); }
.mk-side-link.is-current { background: var(--st-primary); color: var(--st-on-primary); font-weight: 700; } .mk-side-link .count { margin-inline-start: auto; font-size: 12px; opacity: 0.7; }
.mk-filters { display: grid; gap: 8px; padding-block-start: 10px; border-block-start: 1px solid var(--st-line); }
.mk-facet summary { cursor: pointer; font-weight: 700; font-size: 14px; padding-block: 4px; } .mk-facet { display: grid; gap: 2px; max-block-size: 220px; overflow-y: auto; }
.mk-chips { display: none; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-block: 2px; } .mk-chips::-webkit-scrollbar { display: none; }
.mk-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--st-line); background: var(--st-bg); text-decoration: none; font-weight: 600; font-size: 14px; } .mk-chip.is-active { background: var(--st-primary); border-color: var(--st-primary); color: var(--st-on-primary); } .mk-chip .count { font-size: 12px; opacity: 0.7; }
.mk-chips-sub { display: flex; } .mk-chips-sub .mk-chip { background: var(--st-surface); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-block-end: 12px; } .toolbar .spacer { flex: 1; } .sort { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; } .sort select { padding: 8px 10px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--st-line); text-decoration: none; font-size: 13px; }

/* product */
.mk-product { display: grid; grid-template-columns: minmax(0, 480px) minmax(0, 1fr); gap: 32px; align-items: start; }
.mk-gallery { display: grid; gap: 10px; } .mk-buy { display: grid; gap: 12px; align-content: start; } .mk-buy h1 { font-size: clamp(22px, 3vw, 30px); }
.mk-buy-row { display: flex; }
.mk-stepper-big { display: block; inline-size: min(100%, 320px); }
.mk-stepper-big .mk-add-wide { inline-size: 100%; border-radius: 999px; }
.mk-stepper-big .mk-qtyctl { inline-size: 100%; justify-content: space-between; } .mk-stepper-big .mk-qtyctl button { inline-size: 56px; block-size: 52px; } .mk-stepper-big .mk-qtyctl output { font-size: 20px; }
.mk-desc { display: grid; gap: 10px; padding-block-start: 12px; max-inline-size: 760px; }
.assure { display: grid; gap: 8px; color: var(--st-muted); font-size: 14px; } .assure li { display: flex; align-items: center; gap: 10px; }
.option { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .option legend { font-weight: 700; font-size: 14px; padding: 0; } .option-values { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-block-size: 40px; padding-inline: 16px; border: 1.5px solid var(--st-line); border-radius: 999px; background: #fff; cursor: pointer; font-weight: 600; transition: border-color 150ms ease, background-color 150ms ease; } .opt[aria-pressed="true"] { border-color: var(--st-primary); background: var(--st-primary); color: var(--st-on-primary); } .opt:disabled { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.stock { font-size: 14px; font-weight: 600; color: var(--st-ok); } .stock[data-state="low"] { color: var(--mk-warn); } .stock[data-state="out"] { color: var(--st-danger); }

/* sheets: cart drawer and delivery dialog */
.mk-sheet { position: fixed; inset: 0; z-index: 70; display: flex; }
.mk-sheet-end { justify-content: flex-end; } .mk-sheet-center { align-items: center; justify-content: center; }
.mk-sheet-backdrop { position: absolute; inset: 0; z-index: 0; border: 0; background: rgba(20, 24, 29, 0.5); cursor: default; animation: fade 180ms ease; }
.mk-sheet-panel { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 12px; background: var(--st-bg); padding: 16px; overflow-y: auto; }
.mk-sheet-end .mk-sheet-panel { inline-size: min(420px, 100vw); block-size: 100%; animation: sheet-in 220ms ease; }
.mk-sheet-center .mk-sheet-panel { inline-size: min(560px, calc(100vw - 24px)); max-block-size: calc(100vh - 24px); border-radius: calc(var(--st-radius) + 6px); animation: pop 200ms ease; }
@keyframes sheet-in { from { transform: translateX(32px); opacity: 0.3; } } [dir="rtl"] .mk-sheet-end .mk-sheet-panel { animation-name: sheet-in-rtl; } @keyframes sheet-in-rtl { from { transform: translateX(-32px); opacity: 0.3; } } @keyframes fade { from { opacity: 0; } }
.mk-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; } .mk-sheet-head h2 { display: flex; align-items: center; gap: 10px; font-size: 20px; }
.mk-lines { display: grid; gap: 4px; flex: 1; align-content: start; }
.mk-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding-block: 8px; border-block-end: 1px solid var(--st-line); }
.mk-line-img { display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 10px; background: var(--st-surface); overflow: hidden; } .mk-line-img img { inline-size: 100%; block-size: 100%; object-fit: contain; }
.mk-line-info { display: grid; gap: 2px; min-inline-size: 0; } .mk-line-name { font-size: 14px; font-weight: 600; line-height: 1.3; } .mk-line-price { font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.mk-line .mk-qtyctl button { inline-size: 32px; block-size: 34px; }
.mk-empty-cart { display: grid; gap: 12px; justify-items: center; text-align: center; padding-block: 40px; color: var(--st-muted); flex: 1; align-content: center; }
.mk-sheet-foot { display: grid; gap: 10px; padding-block-start: 12px; border-block-start: 1px solid var(--st-line); position: sticky; inset-block-end: -16px; background: var(--st-bg); padding-block-end: 4px; }
.mk-progress { display: grid; gap: 10px; padding: 12px; border-radius: var(--st-radius); background: var(--st-surface); }
.mk-progress-row p { font-size: 13px; font-weight: 600; margin-block-end: 6px; }
.mk-progress-row[data-state="warn"] p { color: var(--mk-warn); } .mk-progress-row[data-state="ok"] p { color: #14532d; } .mk-progress-row[data-state="bad"] p { color: var(--st-danger); } .mk-progress-row[data-state="hint"] p { color: var(--st-muted); font-weight: 500; margin: 0; }
.mk-bar { block-size: 8px; border-radius: 999px; background: #dde4dd; overflow: hidden; } .mk-bar span { display: block; block-size: 100%; inline-size: 0; border-radius: 999px; background: var(--mk-warn); transition: inline-size 300ms ease, background-color 300ms ease; }
.mk-progress-row[data-state="ok"] .mk-bar span { background: #16a34a; } .mk-progress-row[data-state="info"] .mk-bar span { background: var(--st-accent); }
.mk-cartbar { position: fixed; inset-inline: 12px; inset-block-end: 12px; z-index: 35; display: none; }
.mk-cartbar-btn { display: flex; align-items: center; gap: 12px; inline-size: 100%; min-block-size: 54px; padding-inline: 12px 18px; border: 0; border-radius: 999px; background: var(--st-primary); color: var(--st-on-primary); font-size: 16px; font-weight: 700; cursor: pointer; box-shadow: 0 10px 28px rgba(20, 24, 29, 0.32); transition: transform 120ms ease; } .mk-cartbar-btn:active { transform: scale(0.98); }
.mk-cartbar-count { display: grid; place-items: center; min-inline-size: 30px; block-size: 30px; border-radius: 999px; background: var(--st-accent); color: var(--st-on-accent); font-size: 14px; } .mk-cartbar-label { flex: 1; text-align: start; }

/* delivery dialog */
.mk-delivery-form { display: grid; gap: 12px; } .mk-delivery-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-delivery-result, .mk-zone { display: grid; gap: 6px; padding: 12px 14px; border-radius: var(--st-radius); background: #e8f6ec; border: 1px solid #b9e3c5; }
.mk-delivery-result[data-state="none"], .mk-zone[data-state="none"] { background: #fdecea; border-color: #f4c2bd; color: var(--st-danger); }
.mk-result-head { font-weight: 800; } .mk-fact { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.field input, .field select, .field textarea { min-block-size: 44px; padding: 8px 12px; border: 1px solid var(--st-line); border-radius: 10px; background: #fff; }

/* checkout */
.mk-checkout { background: var(--st-surface); } .mk-problem { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.mk-slots { display: grid; gap: 12px; } .mk-slot-days { display: flex; gap: 8px; } .mk-slot-days button { padding: 8px 18px; border: 1.5px solid var(--st-line); border-radius: 999px; background: #fff; font-weight: 700; cursor: pointer; } .mk-slot-days button[aria-selected="true"] { background: var(--st-primary); border-color: var(--st-primary); color: var(--st-on-primary); }
.mk-slot-list { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.mk-slot { position: relative; display: block; } .mk-slot input { position: absolute; opacity: 0; } .mk-slot span { display: grid; place-items: center; min-block-size: 44px; border: 1.5px solid var(--st-line); border-radius: 10px; background: #fff; font-weight: 600; font-variant-numeric: tabular-nums; cursor: pointer; transition: border-color 150ms ease, background-color 150ms ease; }
.mk-slot input:checked + span { border-color: var(--st-primary); background: var(--st-primary); color: var(--st-on-primary); } .mk-slot input:disabled + span { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; } .mk-slot input:focus-visible + span { outline: 3px solid var(--st-primary); outline-offset: 2px; }
.choice .icon { color: var(--st-primary); flex: none; }
.mk-eta-box { display: flex; align-items: center; gap: 16px; padding: 20px 24px; border-radius: calc(var(--st-radius) + 4px); background: var(--st-primary); color: var(--st-on-primary); }
.mk-eta-icon { display: grid; place-items: center; inline-size: 56px; block-size: 56px; border-radius: 999px; background: var(--st-accent); color: var(--st-on-accent); flex: none; }
.mk-eta-value { font-size: 26px; font-weight: 800; letter-spacing: -0.01em; } .mk-eta-box .muted { color: inherit; opacity: 0.85; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-grid; }
  .mk-header-row { flex-wrap: wrap; gap: 8px 10px; padding-block: 8px; }
  .mk-header-row .logo { order: 1; flex: 1; } .menu-toggle { order: 0; } .header-tools { order: 2; margin-inline-start: 0; } .mk-delivery-btn { order: 3; flex: 1 1 auto; max-inline-size: none; } .mk-status { order: 4; } .mk-search { order: 5; flex-basis: 100%; }
  .mk-cart-label { display: none; } .mk-cart-btn { padding-inline: 12px; }
  .mk-catnav { display: none; }
  .mk-listing { grid-template-columns: 1fr; } .mk-side { display: none; } .mk-chips { display: flex; }
  .mk-product { grid-template-columns: 1fr; gap: 16px; }
  .mk-promise { grid-template-columns: 1fr; padding: 16px; } .mk-promise .btn { grid-column: 1; grid-row: auto; justify-self: start; }
  .mk-promise-icon { inline-size: 44px; block-size: 44px; }
  .mk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .mk-card { padding: 8px; }
  .mk-cat-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; } .mk-cat-icon { inline-size: 72px; block-size: 72px; }
  .mk-cartbar { display: block; } .mk-cartbar[hidden] { display: none; } body { padding-block-end: 76px; }
  .mk-sheet-center { align-items: flex-end; } .mk-sheet-center .mk-sheet-panel { inline-size: 100vw; border-end-start-radius: 0; border-end-end-radius: 0; max-block-size: 92vh; }
  .mk-eta-box { padding: 16px; }
}

/* search suggestions (suggest.js): a listbox under the header search, logical properties only */
.search { position: relative; }
.sg-panel { position: absolute; z-index: 40; inset-inline-start: 0; inset-block-start: calc(100% + 8px); inline-size: max(100%, 440px); max-inline-size: calc(100vw - 32px); max-block-size: min(72vh, 560px); overflow-y: auto; padding: 6px; background: var(--st-bg); color: var(--st-ink); border: 1px solid var(--st-line); border-radius: var(--st-radius); box-shadow: 0 16px 36px rgba(20, 24, 29, 0.16); animation: sg-in 140ms ease; }
.sg-panel[hidden] { display: none; }
.sg-group + .sg-group { margin-block-start: 4px; padding-block-start: 4px; border-block-start: 1px solid var(--st-line); }
.sg-title { padding: 8px 12px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--st-muted); }
.sg-opt { display: flex; align-items: center; gap: 12px; min-block-size: 48px; padding: 6px 12px; border-radius: calc(var(--st-radius) * 0.75); color: var(--st-ink); text-decoration: none; transition: background-color 120ms ease, transform 120ms ease; }
.sg-opt.is-active, .sg-opt:hover { background: var(--st-surface); }
.sg-opt:active { transform: scale(0.99); }
.sg-thumb { flex: none; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: 8px; background: var(--st-surface); color: var(--st-muted); overflow: hidden; }
.sg-thumb img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.sg-body { flex: 1; min-inline-size: 0; display: grid; gap: 2px; }
.sg-name { min-inline-size: 0; font-size: 15px; line-height: 20px; overflow: hidden; text-overflow: ellipsis; }
.sg-product .sg-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; }
.sg-link .sg-name, .sg-all .sg-name { flex: 1; white-space: nowrap; }
.sg-meta { font-size: 12px; color: var(--st-muted); }
.sg-hit { background: transparent; color: var(--st-primary); font-weight: 700; }
.sg-price { flex: none; display: grid; justify-items: end; gap: 0; font-variant-numeric: tabular-nums; text-align: end; }
.sg-now { font-weight: 700; font-size: 14px; }
.sg-compare { font-size: 12px; color: var(--st-muted); }
.sg-out { font-size: 12px; color: var(--st-muted); }
.sg-lead { flex: none; color: var(--st-muted); }
.sg-arrow { flex: none; color: var(--st-muted); transition: transform 150ms ease; }
.sg-opt.is-active .sg-arrow { transform: translateX(3px); }
[dir="rtl"] .sg-arrow { scale: -1 1; }
.sg-all { margin-block-start: 4px; border-block-start: 1px solid var(--st-line); border-start-start-radius: 0; border-start-end-radius: 0; font-weight: 600; color: var(--st-primary); }
.sg-none { margin: 0; padding: 14px 12px; color: var(--st-muted); font-size: 14px; }
@keyframes sg-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .sg-panel { inline-size: 100%; max-block-size: 70vh; } }

.empty-sub { margin: 8px 0 0; font-size: 14px; font-weight: 600; color: var(--st-ink); }
.empty-chips { justify-content: center; }
.mk-chips.empty-chips { display: flex; flex-wrap: wrap; overflow: visible; }
