/* 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-opt-announcement-bg, var(--st-primary)); color: var(--st-opt-announcement-text, var(--st-on-primary)); font-size: 13px; text-align: center; padding: 7px 16px; }
.mk-header-row { position: relative; 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-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-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; }

/* Batch 7a: unit chooser (piece / packagings), weighed goods (kg, litre, metre), estimates. Logical properties only. */
.unit-choice { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; } .unit-choice legend { font-weight: 600; padding: 0; margin-block-end: 6px; }
.unit-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.unit-chip { position: relative; display: block; cursor: pointer; } .unit-chip input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.unit-chip-body { display: grid; gap: 2px; min-inline-size: 132px; padding: 10px 14px; border: 1.5px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-bg); transition: border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease; }
.unit-chip:hover .unit-chip-body { border-color: var(--st-ink); } .unit-chip:active .unit-chip-body { transform: scale(0.97); }
.unit-chip input:checked + .unit-chip-body { border-color: var(--st-primary); box-shadow: inset 0 0 0 1px var(--st-primary); }
.unit-chip input:focus-visible + .unit-chip-body { outline: 3px solid var(--st-primary); outline-offset: 2px; }
.unit-chip.is-disabled, .unit-chip.is-disabled input { cursor: not-allowed; } .unit-chip.is-disabled .unit-chip-body { border-style: dashed; color: var(--st-muted); opacity: 0.7; }
.unit-chip-units, .unit-chip-per, .unit-chip-out { font-size: 12px; color: var(--st-muted); } .unit-chip-price { font-weight: 700; font-variant-numeric: tabular-nums; }
.unit-chip-saving { justify-self: start; padding: 1px 8px; border-radius: 999px; background: var(--st-accent); color: var(--st-on-accent); font-size: 11px; font-weight: 700; }
.price-unit { font-size: 14px; font-weight: 500; color: var(--st-muted); } .qty-unit { padding-inline-end: 12px; font-size: 14px; color: var(--st-muted); }
.est-note { margin: 0; } .sum-max { font-size: 14px; color: var(--st-muted); }
.sum-lines li { grid-template-columns: minmax(28px, auto) 1fr auto; } .sum-qty { inline-size: auto; min-inline-size: 24px; padding-inline: 8px; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .unit-chip-body { transition: none; } .unit-chip:active .unit-chip-body { transform: none; } }
.mk-qtyctl output.is-wide { min-inline-size: 52px; font-size: 13px; } .mk-line-unit { font-size: 12px; color: var(--st-muted); }

/* PWA: install button, install and notification sheets (built by pwa.js), the order-status notification card. */
.pwa-press { transition: transform 120ms ease, background-color 150ms ease, box-shadow 150ms ease; } .pwa-press:active { transform: scale(0.96); }
.pwa-install-btn { color: var(--st-primary); } .pwa-install-btn .icon { animation: pwa-nudge 1.6s ease 0.6s 2; }
.pwa-drawer-install { margin-block: 12px; }
.pwa-sheet { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.pwa-sheet-backdrop { position: absolute; inset: 0; border: 0; background: rgba(20, 24, 29, 0.5); opacity: 0; transition: opacity 180ms ease; cursor: default; }
.pwa-sheet-panel { position: relative; inline-size: min(480px, 100%); display: grid; gap: 14px; padding: 22px 20px calc(20px + env(safe-area-inset-bottom, 0px)); background: var(--st-bg); border-start-start-radius: calc(var(--st-radius) + 8px); border-start-end-radius: calc(var(--st-radius) + 8px); box-shadow: 0 -12px 40px rgba(20, 24, 29, 0.2); transform: translateY(24px); opacity: 0; transition: transform 220ms ease, opacity 180ms ease; }
.pwa-sheet.is-open .pwa-sheet-backdrop { opacity: 1; } .pwa-sheet.is-open .pwa-sheet-panel { transform: none; opacity: 1; }
.pwa-sheet-title { margin: 0; font-size: 20px; }
.pwa-sheet-actions { display: grid; gap: 10px; }
.pwa-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pwa-step { display: flex; align-items: center; gap: 12px; }
.pwa-step-icon { flex: none; display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: var(--st-radius); background: var(--st-surface); color: var(--st-primary); }
.pwa-consent { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--st-line); border-radius: var(--st-radius); cursor: pointer; } .pwa-consent input { inline-size: 20px; block-size: 20px; margin: 2px 0 0; flex: none; accent-color: var(--st-primary); }
.pwa-notify h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 18px; } .pwa-notify [data-tone="ok"] { color: var(--st-ok); font-weight: 600; } .pwa-notify [data-tone="error"] { color: var(--st-danger); }
.pwa-notify .btn { justify-self: start; }
@media (min-width: 640px) { .pwa-sheet { align-items: center; } .pwa-sheet-panel { border-radius: calc(var(--st-radius) + 8px); } }
@keyframes pwa-nudge { 0%, 100% { transform: translateY(0); } 40% { transform: translateY(3px); } 70% { transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { .pwa-sheet-backdrop, .pwa-sheet-panel, .pwa-press { transition: none; } .pwa-install-btn .icon { animation: none; } }

/* Promotions (batch 8): coupon box, discount rows, line discounts, campaign lines and badges. */
.coupon { display: grid; gap: 8px; }
.coupon-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.coupon-form { display: flex; gap: 8px; }
.coupon-input { flex: 1; min-inline-size: 0; text-transform: uppercase; letter-spacing: 0.04em; }
.coupon-apply { min-block-size: 44px; padding-inline: 16px; }
.coupon-applied { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.coupon-chip { display: inline-flex; align-items: center; gap: 8px; min-block-size: 36px; padding-inline: 12px 6px; border: 1px dashed var(--st-ok); border-radius: 999px; background: #eef8f1; color: var(--st-ok); font-size: 14px; }
.coupon-chip strong { letter-spacing: 0.04em; }
.coupon-chip-sm { min-block-size: 22px; padding-inline: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.coupon-remove { display: grid; place-items: center; inline-size: 28px; block-size: 28px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: inherit; cursor: pointer; transition: transform 120ms ease, background-color 150ms ease; }
.coupon-remove:hover:not([disabled]) { background: rgba(28, 124, 74, 0.14); } .coupon-remove:active:not([disabled]) { transform: scale(0.88); }
.coupon-apply:active:not([disabled]) { transform: scale(0.96); }
.coupon-applied.is-new .coupon-chip { animation: coupon-pop 280ms ease; }
.coupon.is-busy { opacity: 0.7; } .coupon.is-busy .coupon-apply .icon { animation: spin 0.9s linear infinite; }
.coupon-msg { margin: 0; font-size: 13px; font-weight: 500; color: var(--st-danger); }
.coupon-msg[data-tone="ok"] { color: var(--st-ok); } .coupon-msg[data-tone="warn"] { color: #8a4b00; }
.sum-group { display: contents; }
.sum-discount { color: var(--st-ok); } .sum-promo { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; } .sum-neg { font-weight: 600; font-variant-numeric: tabular-nums; }
.sum-val { display: inline-flex; gap: 6px; align-items: baseline; } .sum-orig { color: var(--st-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.sum-note { display: flex; align-items: center; gap: 6px; margin: 0; color: var(--st-ok); font-size: 13px; }
.sum-goods { font-weight: 600; }
.sum-line-total { text-align: end; }
.line-disc { display: block; font-size: 12px; font-weight: 600; color: var(--st-ok); font-variant-numeric: tabular-nums; }
.promo-hint { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 12px; border-radius: var(--st-radius); background: #eef8f1; color: var(--st-ok); font-size: 14px; font-weight: 500; }
.promo-lines { display: grid; gap: 8px; margin: 4px 0; }
.promo-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 10px 12px; border: 1px solid var(--st-accent); border-radius: var(--st-radius); background: #fff7f3; color: var(--st-accent); }
.promo-title { flex: 1 1 auto; font-size: 14px; font-weight: 500; color: var(--st-ink); } .promo-kicker { font-weight: 700; color: var(--st-accent); }
.promo-badge { padding: 3px 12px; border-radius: 999px; background: var(--st-accent); color: var(--st-on-accent); font-size: 13px; font-weight: 700; white-space: nowrap; }
.mk-line-disc { font-size: 12px; font-weight: 600; color: var(--st-ok); }
@keyframes coupon-pop { 0% { transform: scale(0.9); opacity: 0.4; } 60% { transform: scale(1.05); } 100% { transform: scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .coupon-remove, .coupon-applied.is-new .coupon-chip, .coupon.is-busy .coupon-apply .icon { transition: none; animation: none; } .coupon-remove:active, .coupon-apply:active { transform: none; } }

/* returns (batch 8D): phone first cards, a sticky send bar, a vertical timeline */
.mk-returns { max-inline-size: 720px; }
.mk-rt-head { display: flex; align-items: center; gap: 14px; } .mk-rt-head h1 { font-size: 22px; } .mk-rt-head > div { display: grid; gap: 4px; justify-items: start; }
.mk-rt-badge { display: grid; place-items: center; flex: none; inline-size: 52px; block-size: 52px; border-radius: 16px; background: var(--st-primary); color: var(--st-on-primary); }
.mk-rt-badge-rejected, .mk-rt-badge-cancelled { background: var(--st-danger); } .mk-rt-badge-refunded, .mk-rt-badge-closed { background: var(--st-ok); }
.mk-rt-chip { display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--mk-warn-bg); color: var(--mk-warn); font-weight: 700; font-size: 13px; }
.mk-rt-chip-approved, .mk-rt-chip-received { background: var(--st-surface); color: var(--st-primary); } .mk-rt-chip-refunded, .mk-rt-chip-closed { background: var(--st-surface); color: var(--st-ok); } .mk-rt-chip-rejected, .mk-rt-chip-cancelled { background: var(--st-surface); color: var(--st-danger); }
.mk-rt-card { display: grid; gap: 14px; padding: 16px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-bg); } .mk-rt-card h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.mk-rt-flow, .mk-rt-form { display: grid; gap: 14px; }
.mk-rt-flow-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; } .mk-rt-flow-title { font-size: 18px; }
.mk-rt-items { display: grid; gap: 10px; }
.mk-rt-item { display: grid; gap: 12px; padding: 12px; border: 1px solid var(--st-line); border-radius: 12px; transition: border-color 150ms ease, background-color 150ms ease; }
.mk-rt-item.is-picked { border-color: var(--st-primary); background: var(--st-surface); box-shadow: 0 0 0 1px var(--st-primary); }
.mk-rt-item.is-blocked { background: var(--st-surface); } .mk-rt-item.is-blocked .mk-rt-pick { opacity: 0.6; cursor: default; }
.mk-rt-pick { display: flex; align-items: center; gap: 12px; min-block-size: 56px; cursor: pointer; } .mk-rt-pick input { inline-size: 22px; block-size: 22px; flex: none; accent-color: var(--st-primary); }
.mk-rt-pick:active { transform: scale(0.99); }
.mk-rt-thumb { inline-size: 56px; block-size: 56px; flex: none; border-radius: 12px; object-fit: cover; background: var(--st-surface); display: grid; place-items: center; color: var(--st-muted); }
.mk-rt-item-name { display: grid; min-inline-size: 0; }
.mk-rt-blocked { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--st-danger); font-size: 13px; }
.mk-rt-fields { display: grid; gap: 12px; } .mk-rt-fields.is-in { animation: fade-in 220ms ease; }
.mk-rt-photos { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-rt-photo { position: relative; inline-size: 88px; block-size: 88px; border-radius: 12px; overflow: hidden; background: var(--st-surface); animation: coupon-pop 240ms ease; } .mk-rt-photo img, .mk-rt-photos img { inline-size: 100%; block-size: 100%; object-fit: cover; display: block; border-radius: 12px; }
.mk-rt-photo-remove { position: absolute; inset-block-start: 4px; inset-inline-end: 4px; display: grid; place-items: center; inline-size: 32px; block-size: 32px; border: 0; border-radius: 999px; background: var(--st-ink); color: var(--st-bg); cursor: pointer; }
.mk-rt-photos-box > div { display: flex; gap: 10px; }
.mk-rt-submit-bar { position: sticky; inset-block-end: 0; z-index: 20; padding-block: 10px calc(10px + env(safe-area-inset-bottom)); background: var(--st-bg); border-block-start: 1px solid var(--st-line); margin-inline: -16px; padding-inline: 16px; display: grid; }
.is-busy { opacity: 0.7; cursor: progress; } .is-busy .icon { animation: spin 0.9s linear infinite; }
.mk-rt-steps { display: grid; gap: 0; padding: 14px 16px; border: 1px solid var(--st-line); border-radius: 14px; background: var(--st-surface); }
.mk-rt-step { position: relative; display: flex; align-items: center; gap: 12px; min-block-size: 48px; color: var(--st-muted); }
.mk-rt-step:not(:last-child)::after { content: ""; position: absolute; inset-inline-start: 14px; inset-block: 40px -8px; inline-size: 2px; background: var(--st-line); }
.mk-rt-step-text { display: grid; line-height: 1.3; }
.mk-rt-dot { display: grid; place-items: center; flex: none; inline-size: 30px; block-size: 30px; border-radius: 999px; border: 2px solid var(--st-line); background: var(--st-bg); z-index: 1; }
.mk-rt-step.is-done { color: var(--st-ink); } .mk-rt-step.is-done .mk-rt-dot { background: var(--st-ok); border-color: var(--st-ok); color: var(--st-on-primary); } .mk-rt-step.is-done:not(:last-child)::after { background: var(--st-ok); }
.mk-rt-step.is-current { color: var(--st-ink); } .mk-rt-step.is-current .mk-rt-dot { border-color: var(--st-primary); color: var(--st-primary); animation: coupon-pop 300ms ease; }
.mk-rt-list { display: grid; gap: 12px; } .mk-rt-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: start; font-size: 14px; }
.mk-rt-qty { padding: 2px 10px; border-radius: 999px; background: var(--st-ink); color: var(--st-bg); font-size: 12px; font-weight: 700; white-space: nowrap; } .mk-rt-name { display: grid; }
.mk-rt-total { display: flex; justify-content: space-between; gap: 12px; padding-block-start: 10px; border-block-start: 1px solid var(--st-line); font-size: 17px; } .mk-rt-paid { color: var(--st-ok); font-size: 15px; border: 0; padding: 0; }
.mk-rt-note { margin: 0; } .mk-rt-photos li { list-style: none; } .mk-rt-withdraw .is-armed { background: var(--st-danger); border-color: var(--st-danger); color: var(--st-on-primary); }
.mk-rt-lookup { gap: 14px; }

/* ---- content pages, blog, legal texts, cookie notice, WhatsApp button (batch 9B) ---- */
.rich { line-height: 1.7; overflow-wrap: anywhere; }
.rich h3 { font-size: 1.25rem; margin-block: 1.6em 0.5em; } .rich h4 { font-size: 1.05rem; margin-block: 1.3em 0.4em; }
.rich p, .rich ul, .rich ol, .rich table { margin-block: 0 1em; } .rich ul, .rich ol { padding-inline-start: 1.4em; }
.rich a { color: var(--st-primary); text-decoration: underline; text-underline-offset: 2px; }
.rich img { max-inline-size: 100%; block-size: auto; border-radius: var(--st-radius); }
.rich table { inline-size: 100%; border-collapse: collapse; font-size: 0.95em; display: block; overflow-x: auto; }
.rich th, .rich td { border: 1px solid var(--st-line); padding: 8px 10px; text-align: start; vertical-align: top; } .rich th { background: var(--st-surface); font-weight: 600; }
.content-article { max-inline-size: 820px; display: grid; gap: 16px; }
.content-updated { font-size: 13px; }
.store-info { display: grid; gap: 16px; max-inline-size: 820px; padding: 20px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-surface); }
.info-list { display: grid; gap: 14px; margin: 0; } .info-list dt { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-block-end: 4px; } .info-list dd { margin: 0; padding-inline-start: 26px; }
.hours { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; max-inline-size: 320px; } .hours li { display: flex; justify-content: space-between; gap: 16px; }
.contact-box { max-inline-size: 820px; display: grid; gap: 16px; } .contact-form { display: grid; gap: 14px; }
.contact-form textarea { inline-size: 100%; min-block-size: 120px; padding: 12px; border: 1px solid var(--st-line); border-radius: var(--st-radius); font: inherit; resize: vertical; }
.hp { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.alert-ok { padding: 12px 14px; border: 1px solid var(--st-ok); border-radius: var(--st-radius); color: var(--st-ok); background: var(--st-bg); }
.blog-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.blog-page .chip-row, .post-page .chip-row { list-style: none; margin: 0; padding: 0; }
.blog-page .chip, .post-page .chip { display: inline-flex; align-items: center; 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, transform 120ms ease; }
.blog-page .chip:hover, .post-page .chip:hover { border-color: var(--st-ink); } .blog-page .chip:active, .post-page .chip:active { transform: scale(0.96); } .blog-page .chip.is-active { background: var(--st-ink); color: #fff; border-color: var(--st-ink); }
.post-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.post-card { display: grid; align-content: start; border: 1px solid var(--st-line); border-radius: var(--st-radius); overflow: hidden; background: var(--st-bg); transition: transform 150ms ease, box-shadow 150ms ease; } .post-card:hover { box-shadow: 0 6px 20px rgb(0 0 0 / 8%); } .post-card:active { transform: scale(0.99); }
.post-cover img { display: block; inline-size: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.post-body { display: grid; gap: 8px; padding: 16px; } .post-body h2 { font-size: 1.1rem; margin: 0; } .post-body h2 a { text-decoration: none; } .post-body p { margin: 0; color: var(--st-muted); }
.post-more { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; color: var(--st-primary); }
.blog-empty { display: grid; justify-items: center; gap: 8px; padding-block: 48px; color: var(--st-muted); }
.post-hero { display: block; inline-size: 100%; max-inline-size: 820px; block-size: auto; border-radius: var(--st-radius); }
.related-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .related-links a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.legal-box { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-surface); }
.legal-heading { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 1rem; }
.legal-docs { display: grid; gap: 8px; }
.legal-doc { border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-bg); }
.legal-doc summary { cursor: pointer; padding: 12px 14px; min-block-size: 44px; font-weight: 600; transition: background-color 150ms ease; } .legal-doc summary:active { background: var(--st-surface); }
.legal-doc-body { max-block-size: 320px; overflow-y: auto; padding: 4px 14px 14px; font-size: 14px; }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 16px; } .legal-links a { text-decoration: underline; }
.wa-button { position: fixed; inset-inline-end: 16px; inset-block-end: 16px; z-index: 40; display: grid; place-items: center; inline-size: 52px; block-size: 52px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 25%); transition: transform 120ms ease; } .wa-button:hover { transform: scale(1.05); } .wa-button:active { transform: scale(0.93); }
.cookie-notice { position: fixed; inset-inline: 12px; inset-block-end: 12px; z-index: 45; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; max-inline-size: 720px; margin-inline: auto; padding: 12px 14px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: var(--st-bg); box-shadow: 0 6px 24px rgb(0 0 0 / 15%); font-size: 14px; animation: cookie-in 220ms ease; } .cookie-notice[hidden] { display: none; } .cookie-notice p { margin: 0; flex: 1 1 260px; }
.cookie-notice:not([hidden]) ~ .wa-button, body:has(.cookie-notice:not([hidden])) .wa-button { inset-block-end: 96px; }
@keyframes cookie-in { from { transform: translateY(12px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 760px) { .cookie-notice { inset-inline: 16px; margin-inline: 0; } }
@media print { .wa-button, .cookie-notice { display: none; } }
@media (prefers-reduced-motion: reduce) { .cookie-notice, .post-card, .wa-button { animation: none; transition: none; } }

/* ---- shopper accounts, order tracking and favourites (batch 9A/9C). Logical properties only; every press and selection has a light motion. */
.mk-account { position: relative; }
.mk-account-btn { position: relative; }
.mk-account.is-signed-in .mk-account-btn::after { content: ""; position: absolute; inset-block-start: 9px; inset-inline-end: 9px; inline-size: 9px; block-size: 9px; border-radius: 999px; background: var(--st-ok); border: 2px solid var(--st-bg); }
.mk-account-menu { position: absolute; inset-block-start: calc(100% + 6px); inset-inline-end: 0; z-index: 70; min-inline-size: 220px; display: grid; gap: 2px; padding: 8px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 2px); background: var(--st-bg); box-shadow: 0 12px 32px rgba(20, 24, 29, 0.16); animation: sg-in 160ms ease; }
.mk-account-name { padding: 6px 12px; border-block-end: 1px solid var(--st-line); margin-block-end: 4px; overflow-wrap: anywhere; }
.mk-account-link { display: flex; align-items: center; gap: 10px; min-block-size: 44px; padding-inline: 12px; border: 0; border-radius: 10px; background: transparent; text-decoration: none; text-align: start; cursor: pointer; font-weight: 500; font-size: 15px; transition: background-color 150ms ease, transform 120ms ease; }
.mk-account-link:hover { background: var(--st-surface); } .mk-account-link:active { transform: scale(0.97); }
.pwa-press:active { transform: scale(0.97); }

/* hearts */
.mk-fav { position: absolute; inset-block-start: 14px; inset-inline-end: 14px; z-index: 3; display: grid; place-items: center; inline-size: 36px; block-size: 36px; padding: 0; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--st-muted); cursor: pointer; box-shadow: 0 1px 4px rgba(20, 24, 29, 0.18); transition: color 150ms ease, transform 120ms ease, background-color 150ms ease; }
.mk-fav:hover { color: var(--st-danger); } .mk-fav:active { transform: scale(0.88); }
.mk-fav[aria-pressed="true"] { color: var(--st-danger); } .mk-fav[aria-pressed="true"] .icon { fill: currentColor; }
.mk-fav.is-pop .icon { animation: fav-pop 320ms ease; }
@keyframes fav-pop { 0% { transform: scale(1); } 40% { transform: scale(1.4); } 100% { transform: scale(1); } }
.mk-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.mk-fav-inline { position: static; flex: none; inline-size: 44px; block-size: 44px; border: 1px solid var(--st-line); box-shadow: none; background: var(--st-bg); }

/* cart notice, checkout address picker */
.mk-account-notice { display: grid; gap: 10px; } .mk-notice-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mk-saved { display: grid; gap: 8px; margin-block-end: 8px; } .mk-saved-title { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; }
.mk-saved-list { display: grid; gap: 8px; }
.mk-saved-item { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid var(--st-line); border-radius: var(--st-radius); background: #fff; cursor: pointer; transition: border-color 150ms ease, box-shadow 150ms ease, transform 120ms ease; }
.mk-saved-item:active { transform: scale(0.99); } .mk-saved-item:has(input:checked) { border-color: var(--st-primary); box-shadow: 0 0 0 1px var(--st-primary); }
.mk-saved-item input { margin-block-start: 3px; accent-color: var(--st-primary); } .mk-saved-item > span { display: grid; gap: 2px; }
.mk-save-address { margin-block-start: 6px; }

/* account pages */
.mk-account-page { gap: 20px; }
.mk-account-loading { display: flex; align-items: center; gap: 8px; }
.mk-account-layout { display: grid; gap: 20px; }
.mk-account-nav { display: flex; gap: 8px; overflow-x: auto; padding-block: 2px; scrollbar-width: none; } .mk-account-nav::-webkit-scrollbar { display: none; }
.mk-account-tab { flex: none; display: inline-flex; align-items: center; gap: 8px; min-block-size: 44px; padding-inline: 16px; border-radius: 999px; border: 1px solid var(--st-line); background: var(--st-bg); text-decoration: none; font-weight: 600; font-size: 14px; transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease, transform 120ms ease; }
.mk-account-tab:hover { background: var(--st-surface); }
.mk-account-tab[aria-current="page"] { background: var(--st-primary); border-color: var(--st-primary); color: var(--st-on-primary); }
.mk-account-body { display: grid; gap: 16px; align-content: start; min-inline-size: 0; }
.mk-account-card { display: grid; gap: 12px; padding: 20px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 2px); background: var(--st-bg); }
.mk-account-card > h2 { display: flex; align-items: center; gap: 8px; font-size: 18px; }
.mk-account-cards { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mk-account-link-card { justify-items: start; align-content: start; text-decoration: none; color: var(--st-primary); transition: transform 120ms ease, box-shadow 150ms ease; } .mk-account-link-card strong { color: var(--st-ink); }
.mk-account-link-card:hover { box-shadow: 0 6px 18px rgba(20, 24, 29, 0.1); } .mk-account-link-card:active { transform: scale(0.97); }
.mk-auth-card { display: grid; gap: 16px; max-inline-size: 460px; margin-inline: auto; inline-size: 100%; padding: 24px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 4px); background: var(--st-bg); }
.mk-track-card { max-inline-size: 560px; }
.mk-auth-links { display: grid; gap: 4px; justify-items: start; }
.mk-link { display: inline-flex; align-items: center; gap: 8px; min-block-size: 40px; color: var(--st-primary); font-weight: 600; font-size: 14px; text-decoration: none; transition: transform 120ms ease; } .mk-link:hover { text-decoration: underline; } .mk-link:active { transform: scale(0.97); }
.mk-form { display: grid; gap: 14px; }
.mk-field-check .check { align-items: flex-start; } .mk-field-check .check input { margin-block-start: 3px; flex: none; }
.mk-submit.is-busy .icon { animation: spin 0.9s linear infinite; }
.mk-notice { display: flex; align-items: center; gap: 6px; animation: coupon-pop 240ms ease; }
.is-armed { border-color: var(--st-danger) !important; color: var(--st-danger) !important; animation: coupon-pop 240ms ease; }
.mk-danger, .mk-danger-form .mk-submit { border-color: var(--st-danger); color: var(--st-danger); } .mk-danger-form .mk-submit { background: var(--st-danger); color: #fff; }
.mk-order-list { display: grid; gap: 10px; }
.mk-order-row { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 12px; padding: 14px 16px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 2px); background: var(--st-bg); text-decoration: none; transition: box-shadow 150ms ease, transform 120ms ease; }
.mk-order-row:hover { box-shadow: 0 6px 18px rgba(20, 24, 29, 0.1); } .mk-order-row:active { transform: scale(0.985); }
.mk-order-row-main { display: grid; gap: 4px; justify-items: start; } .mk-order-row-total { display: grid; gap: 2px; justify-items: end; text-align: end; }
.mk-order-row .icon { color: var(--st-muted); } .mk-thumbs { display: flex; gap: 4px; grid-column: 1 / -1; }
.mk-thumbs img { inline-size: 44px; block-size: 44px; object-fit: contain; border-radius: 8px; background: var(--st-surface); }
.mk-pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-block-start: 12px; }
.mk-chip { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; background: var(--st-surface); color: var(--st-primary); font-size: 13px; font-weight: 600; }
.mk-chip-delivered { color: var(--st-ok); } .mk-chip-cancelled, .mk-chip-refunded { color: var(--st-danger); }
.mk-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--st-surface); color: var(--st-muted); }
.mk-badge-ok { color: var(--st-ok); } .mk-badge-bad { color: var(--st-danger); } .mk-badge-info { color: var(--st-primary); }

/* the order page */
.mk-order { display: grid; gap: 16px; }
.mk-order-head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 8px 16px; }
.mk-order-number { font-size: 20px; }
.mk-track { display: grid; gap: 0; padding: 16px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 2px); background: var(--st-surface); }
.mk-track-step { position: relative; display: flex; align-items: flex-start; gap: 12px; padding-block-end: 18px; }
.mk-track-step:last-child { padding-block-end: 0; }
.mk-track-step::before { content: ""; position: absolute; inset-block: 28px 0; inset-inline-start: 13px; inline-size: 2px; background: var(--st-line); }
.mk-track-step:last-child::before { display: none; } .mk-track-step.is-done::before { background: var(--st-primary); }
.mk-dot { flex: none; display: grid; place-items: center; inline-size: 28px; block-size: 28px; border-radius: 999px; border: 2px solid var(--st-line); background: var(--st-bg); color: #fff; transition: background-color 200ms ease, border-color 200ms ease; }
.mk-track-step.is-done .mk-dot { background: var(--st-primary); border-color: var(--st-primary); animation: coupon-pop 280ms ease; }
.mk-track-step.is-current .mk-dot { border-color: var(--st-primary); color: var(--st-primary); animation: pulse-ring 1.8s ease infinite; }
.mk-track-step.is-bad .mk-dot { border-color: var(--st-danger); color: var(--st-danger); }
.mk-track-step.is-todo { color: var(--st-muted); }
.mk-track-text { display: grid; gap: 2px; padding-block-start: 3px; }
@keyframes pulse-ring { 0% { box-shadow: 0 0 0 0 rgba(18, 80, 92, 0.35); } 70% { box-shadow: 0 0 0 8px rgba(18, 80, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(18, 80, 92, 0); } }
.mk-order-box { display: grid; gap: 10px; padding: 16px 20px; border: 1px solid var(--st-line); border-radius: calc(var(--st-radius) + 2px); background: var(--st-bg); }
.mk-order-box > h2 { display: flex; align-items: center; gap: 8px; font-size: 17px; }
.mk-order-lines { display: grid; gap: 0; } .mk-order-line { display: grid; grid-template-columns: 56px 1fr auto auto; align-items: center; gap: 10px; padding-block: 10px; border-block-end: 1px solid var(--st-line); }
.mk-order-line .cart-img { inline-size: 56px; block-size: 56px; } .mk-order-line.is-na { opacity: 0.65; }
.mk-order-line-info { display: grid; gap: 2px; justify-items: start; min-inline-size: 0; } .mk-order-qty { color: var(--st-muted); font-size: 14px; }
.mk-order-sum { margin-block-start: 8px; } .sum-row { display: flex; justify-content: space-between; gap: 12px; }
.mk-ship-list, .mk-return-list { display: grid; gap: 10px; } .mk-ship { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mk-ship-icon { display: grid; place-items: center; inline-size: 44px; block-size: 44px; border-radius: var(--st-radius); background: var(--st-surface); color: var(--st-primary); } .mk-ship-info { display: grid; gap: 2px; flex: 1; }
.mk-return-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.mk-order-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-address-list, .mk-device-list { display: grid; gap: 10px; } .mk-address, .mk-device { grid-template-columns: auto 1fr; align-items: start; }
.mk-address .icon, .mk-device > .icon { color: var(--st-primary); margin-block-start: 4px; }
.mk-address-body, .mk-device-info { display: grid; gap: 2px; justify-items: start; min-inline-size: 0; } .mk-address-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.mk-device > :last-child { grid-column: 1 / -1; justify-self: start; }
.mk-fav-grid .mk-card { animation: coupon-pop 240ms ease; }
@media (min-width: 900px) {
  .mk-account-layout { grid-template-columns: 220px 1fr; align-items: start; }
  .mk-account-nav { flex-direction: column; overflow: visible; position: sticky; inset-block-start: 96px; } .mk-account-tab { border-radius: var(--st-radius); }
  .mk-order-row { grid-template-columns: 1fr auto auto auto; } .mk-thumbs { grid-column: auto; }
  .mk-fav-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
}
@media (max-width: 640px) { .mk-order-line { grid-template-columns: 48px 1fr auto; } .mk-order-line .sum-line-total { grid-column: 3; } .mk-order-qty { grid-column: 3; grid-row: 1; } .mk-account-menu { inset-inline-end: -48px; } }
@media (prefers-reduced-motion: reduce) { .mk-fav.is-pop .icon, .mk-account-menu, .mk-notice, .is-armed, .mk-track-step.is-done .mk-dot, .mk-track-step.is-current .mk-dot, .mk-fav-grid .mk-card, .mk-submit.is-busy .icon { animation: none; } .mk-account-link, .mk-link, .mk-order-row, .mk-account-tab { transition: none; } }

/* Design system: one size for every card, option chip, pack chip and cart line. Logical properties only; heights come from line counts (em), never pixels, so Arabic and long names cannot break a row. */
.mk-grid { grid-auto-rows: 1fr; }
.mk-rail-item { display: flex; } .mk-rail-item > .mk-card { flex: 1 1 0; min-inline-size: 0; }
.mk-card { grid-template-rows: auto 1fr auto; row-gap: 0; align-self: stretch; min-inline-size: 0; }
.mk-card-media { inline-size: 100%; } .mk-card-media > .icon { inline-size: 40px; block-size: 40px; }
.mk-card-body { display: flex; flex-direction: column; gap: 2px; margin-block-start: 8px; min-inline-size: 0; }
.mk-card-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; min-block-size: 2.6em; }
.mk-card-unit, .mk-unit-price { display: block; min-block-size: 1.4em; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-unit-price { min-block-size: 1.5em; }
.mk-price-row { display: grid; gap: 0; align-content: end; margin-block-start: auto; padding-block-start: 4px; min-inline-size: 0; }
.mk-price { line-height: 1.3; overflow-wrap: anywhere; }
.compare-slot { display: block; min-block-size: 1.4em; font-size: 12px; line-height: 1.4; }
.badge-stock { inset-block-start: auto; inset-block-end: 6px; background: rgba(20, 24, 29, 0.78); color: #fff; max-inline-size: calc(100% - 56px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .badge-out { background: var(--st-surface); color: var(--st-muted); box-shadow: inset 0 0 0 1px var(--st-line); max-inline-size: calc(100% - 12px); }
.mk-card > .mk-choose { margin-block-start: 8px; min-block-size: 38px; }
.mk-card > .mk-stepper { align-self: end; }

/* product page: option values in a predictable grid, text never wraps inside a chip */
.option-values { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
.opt { display: block; inline-size: 100%; min-inline-size: 0; min-block-size: 40px; padding-inline: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: center; }
.option-values:has(.opt-swatch) { grid-template-columns: repeat(auto-fill, 48px); }
.opt-swatch { display: grid; inline-size: 48px; padding: 0; }

/* packaging chips: one row of equal cards, five reserved lines (name, units, price, per piece, saving or stock) */
.unit-chips { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(148px, 24%, 220px); gap: 10px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: inline proximity; padding: 3px; margin: -3px; scrollbar-width: thin; }
.unit-chip { display: grid; min-inline-size: 0; scroll-snap-align: start; }
.unit-chip-body { grid-template-rows: repeat(5, auto); align-content: start; min-inline-size: 0; block-size: 100%; padding: 10px 12px; }
.unit-chip-body > * { display: block; min-inline-size: 0; min-block-size: 1.4em; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.unit-chip-body > strong { font-size: 15px; }
.unit-chip-saving, .unit-chip-out { align-self: start; justify-self: start; max-inline-size: 100%; } .unit-chip-saving:empty { visibility: hidden; padding: 0; }
.unit-chip-out { font-weight: 600; }

/* cart, drawer and checkout lines: fixed thumbnail, name on two lines, detail lines on one, price column aligned */
.cart-line { grid-template-columns: 80px minmax(0, 1fr) auto auto auto; } .cart-img { flex: none; }
.cart-info { min-inline-size: 0; align-content: center; }
.cart-name, .line-name, .mk-line-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; line-height: 1.3; }
.cart-info > .muted, .sum-name > .muted, .mk-line-unit { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cart-total { text-align: end; font-variant-numeric: tabular-nums; } .cart-total .line-disc { text-align: end; }
.mk-line { grid-template-columns: 56px minmax(0, 1fr) auto; } .mk-line-img { flex: none; } .mk-line-price { white-space: nowrap; }
.sum-lines li { grid-template-columns: minmax(28px, auto) minmax(0, 1fr) auto; } .sum-name { min-inline-size: 0; } .sum-line-total { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 900px) { .cart-line { grid-template-columns: 64px minmax(0, 1fr) auto; } .cart-total { text-align: end; } }

/* "Seçenekler" sits on the picture corner like the + button, so every card keeps its price on the same line (no extra button row under some cards). */
.mk-card > .mk-choose { grid-row: 1; grid-column: 1; align-self: end; justify-self: end; margin: 6px; z-index: 2; min-block-size: 38px; padding-inline: 14px; background: var(--st-bg); box-shadow: 0 2px 8px rgba(20, 24, 29, 0.16); transition: transform 120ms ease, background-color 150ms ease, color 150ms ease; }
.mk-card > .mk-choose:hover { background: var(--st-primary); color: var(--st-on-primary); }
.mk-card > .mk-choose:active { transform: scale(0.94); }

/* ================================================================ Theme options (batch 13) ================================================================
   The merchant's choices arrive as modifier classes on <body> (built from settings.<id> in layout/theme.liquid: o-card-shadow, o-ratio-portrait ...) and as --st-opt-<id> variables in /theme/store.css.
   Every default value is the look above, so only the non-default values have rules here. Logical properties only. */

/* colours of buttons: automatic contrast text is the default; "custom" uses the merchant's button text colour on primary buttons */
.o-btntext-custom :is(.btn-primary, .mk-cart-btn, .mk-cartbar-btn, .mk-qtyctl), .o-btntext-custom .mk-add:hover { color: var(--st-opt-button-text, var(--st-on-primary)); }

/* button style: filled (default) | outline (primary border and text on the page colour, so a fixed bar stays readable) */
.o-btn-outline :is(.btn-primary, .mk-cart-btn, .mk-cartbar-btn) { background: var(--st-bg); color: var(--st-primary); box-shadow: inset 0 0 0 2px var(--st-primary); }
.o-btn-outline :is(.btn-primary, .mk-cart-btn, .mk-cartbar-btn):hover:not([disabled]) { background: color-mix(in srgb, var(--st-primary) 10%, var(--st-bg)); box-shadow: inset 0 0 0 2px var(--st-primary); }

/* vertical rhythm: compact | normal (default) | airy */
.o-space-compact .section { padding-block: 14px; } .o-space-airy .section { padding-block: 40px; }
.o-space-compact .page { gap: 14px; padding-block: 14px 32px; } .o-space-airy .page { gap: 36px; padding-block: 36px 64px; }
.o-space-compact .mk-page { gap: 10px; padding-block: 10px 28px; } .o-space-airy .mk-page { gap: 28px; padding-block: 24px 56px; }

/* header: sticky or scrolling away, logo in the middle, search as an icon, the delivery promise banner */
.o-header-static .mk-header { position: static; }
.mk-search-icon { display: flex; align-items: center; }
.mk-delivery-banner { background: var(--st-surface); border-block-start: 1px solid var(--st-line); font-size: 13px; }
.mk-delivery-banner-row { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px 10px; min-block-size: 32px; padding-block: 6px; text-align: center; }
.mk-delivery-banner .icon { color: var(--st-primary); } .mk-delivery-banner strong { font-weight: 700; } .mk-delivery-banner span { color: var(--st-muted); }
@media (min-width: 901px) {
  .o-logo-center .mk-header-row .logo { position: absolute; inset-inline: 0; inset-block-start: 10px; z-index: 1; margin-inline: auto; inline-size: fit-content; block-size: 46px; justify-content: center; }
  .o-logo-center .mk-delivery-btn { max-inline-size: 220px; }
  .o-logo-center:not(.o-search-icon) .mk-header-row { flex-wrap: wrap; } .o-logo-center:not(.o-search-icon) .mk-search { order: 5; flex: 1 0 100%; }
}
@media (max-width: 900px) { .o-logo-center .mk-header-row .logo { justify-content: center; } }
.o-search-icon .mk-search { flex: 0 0 auto; inline-size: 46px; margin-inline-start: auto; padding-inline: 0; gap: 0; justify-content: center; border-color: transparent; background: transparent; overflow: hidden; }
.o-search-icon .header-tools { margin-inline-start: 0; }
.o-search-icon .mk-search .mk-search-icon { flex: none; inline-size: 46px; block-size: 46px; justify-content: center; border-radius: 999px; cursor: pointer; transition: background-color 150ms ease, transform 120ms ease; }
.o-search-icon .mk-search .mk-search-icon:hover { background: var(--st-surface); } .o-search-icon .mk-search .mk-search-icon:active { transform: scale(0.92); }
.o-search-icon .mk-search input[type="search"] { flex: 0 0 0; inline-size: 0; opacity: 0; }
.o-search-icon .mk-search:focus-within { position: absolute; inset-inline: 16px; inset-block-start: 10px; z-index: 5; inline-size: auto; block-size: 46px; padding-inline: 0 12px; gap: 4px; justify-content: flex-start; overflow: visible; border-color: var(--st-line); background: var(--st-bg); animation: sg-in 160ms ease; }
.o-search-icon .mk-search:focus-within input[type="search"] { flex: 1; inline-size: auto; opacity: 1; }
@media (max-width: 900px) { .o-search-icon .mk-search { flex-basis: auto; order: 5; margin-inline-start: 0; } .o-search-icon .mk-search:focus-within { inset-block-start: 8px; } }

/* product cards: style, image box, fit, second picture, name lines, add control, columns */
.o-card-plain .mk-card { padding: 0; border-color: transparent; background: transparent; } .o-card-plain .mk-card:hover { box-shadow: none; border-color: transparent; }
.o-card-shadow .mk-card { border-color: transparent; box-shadow: 0 2px 10px rgba(20, 24, 29, 0.1); } .o-card-shadow .mk-card:hover { border-color: transparent; box-shadow: 0 10px 26px rgba(20, 24, 29, 0.16); }
.o-ratio-portrait .mk-card-media { aspect-ratio: 3 / 4; } .o-ratio-landscape .mk-card-media { aspect-ratio: 4 / 3; }
.o-fit-cover .mk-card-media img { object-fit: cover; }
.mk-card-media .mk-card-img2 { position: absolute; inset: 0; opacity: 0; pointer-events: none; background: var(--st-surface); transition: opacity 220ms ease, transform 250ms ease; }
@media (hover: hover) { .mk-card:hover .mk-card-media .mk-card-img2 { opacity: 1; } }
.mk-card:has(:focus-visible) .mk-card-media .mk-card-img2 { opacity: 1; }
.o-lines-1 .mk-card-name { -webkit-line-clamp: 1; line-clamp: 1; min-block-size: 1.3em; }
.mk-add-label, .mk-add-out { display: none; }
.o-add-none .mk-card-name::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.o-add-none .mk-card > .mk-stepper, .o-add-none .mk-card > .mk-choose { display: none; }
.o-add-button .mk-add-label { display: inline; }
.o-add-button .mk-card > .mk-stepper { grid-row: 3; align-self: stretch; justify-self: stretch; margin: 8px 0 0; min-block-size: 44px; }
.o-add-button .mk-card .mk-add { display: inline-flex; align-items: center; justify-content: center; gap: 8px; inline-size: 100%; block-size: 44px; padding-inline: 12px; border-radius: 999px; background: var(--st-primary); color: var(--st-on-primary); font-size: 14px; font-weight: 700; box-shadow: none; }
.o-add-button .mk-card .mk-add:hover { background: color-mix(in srgb, var(--st-primary) 86%, #000); color: var(--st-on-primary); }
.o-btntext-custom.o-add-button .mk-card .mk-add { color: var(--st-opt-button-text, var(--st-on-primary)); }
.o-btn-outline.o-add-button .mk-card .mk-add { background: var(--st-bg); color: var(--st-primary); box-shadow: inset 0 0 0 2px var(--st-primary); }
.o-add-button .mk-card .mk-qtyctl { inline-size: 100%; justify-content: space-between; } .o-add-button .mk-card .mk-qtyctl button { block-size: 44px; inline-size: 48px; }
.o-add-button .mk-card > .mk-choose { grid-row: 3; align-self: stretch; justify-self: stretch; margin: 8px 0 0; min-block-size: 44px; box-shadow: none; }
.o-add-button .mk-card > .mk-add-out { display: grid; place-items: center; grid-row: 3; margin-block-start: 8px; min-block-size: 44px; border-radius: 999px; background: var(--st-surface); color: var(--st-muted); font-size: 14px; font-weight: 600; }
.mk-stepper[data-once].is-active .mk-add { background: var(--st-primary); color: var(--st-on-primary); }
.mk-stepper.is-added .mk-add { animation: pop 260ms ease; }
@media (min-width: 1100px) {
  .o-cols-3 .mk-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .o-cols-4 .mk-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .o-cols-5 .mk-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 900px) { .o-colsm-1 .mk-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mk-stepper.is-added .mk-add, .o-search-icon .mk-search:focus-within { animation: none; } }

/* product page: thumbnails beside the picture, stock count, the sticky buy bar on phones (the basket bar moves above it, so they never overlap) */
@media (min-width: 641px) {
  .o-thumbs-side .mk-gallery { grid-template-columns: 72px minmax(0, 1fr); align-items: start; }
  .o-thumbs-side .mk-gallery .gallery-main { grid-column: 2; grid-row: 1; }
  .o-thumbs-side .mk-gallery .thumbs { grid-column: 1; grid-row: 1; flex-direction: column; flex-wrap: nowrap; align-self: stretch; block-size: 0; min-block-size: 100%; overflow-y: auto; scrollbar-width: none; }
}
.stock-left { margin: 0; font-size: 14px; font-weight: 600; color: var(--mk-warn); }
.mk-buybar { display: none; }
@media (max-width: 900px) {
  .tpl-product.o-stickybuy .mk-buybar { position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 36; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--st-bg); border-block-start: 1px solid var(--st-line); box-shadow: 0 -6px 18px rgba(20, 24, 29, 0.1); }
  .mk-buybar-price { display: grid; line-height: 1.2; min-inline-size: 0; } .mk-buybar-price .price { font-size: 20px; } .mk-buybar-price .price-unit { font-size: 12px; }
  .mk-buybar .mk-bar-stepper { display: block; flex: 1 1 auto; max-inline-size: 260px; min-block-size: 44px; }
  .mk-buybar .mk-add-wide { inline-size: 100%; border-radius: 999px; } .mk-buybar .mk-qtyctl { inline-size: 100%; justify-content: space-between; } .mk-buybar .mk-qtyctl button { inline-size: 56px; block-size: 44px; }
  .tpl-product.o-stickybuy .mk-cartbar { inset-block-end: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .tpl-product.o-stickybuy { padding-block-end: 156px; }
  .tpl-product.o-stickybuy .wa-button { inset-block-end: 152px; } .tpl-product.o-stickybuy .cookie-notice { inset-block-end: 84px; }
}
