/* BestShop — site stilleri */
:root {
  --ink: #15171a;
  --ink-2: #4a4f57;
  --muted: #7d838c;
  --line: #e6e7ea;
  --bg: #ffffff;
  --soft: #f4f4f2;
  --accent: #ff4f2e;
  --accent-dark: #df3a1b;
  --accent-soft: #fff0eb;
  --sun: #ffd84d;
  --ok: #1f9d55;
  --ok-soft: #e7f6ed;
  --wa: #25d366;
  --radius: 14px;
  --wrap: 1240px;
  --font: "Noto Sans Georgian", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sr-only:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 999; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Icons */
.ico { display: inline-flex; width: 22px; height: 22px; flex: none; }
.ico svg { width: 100%; height: 100%; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--accent); color: #fff; border: 0; padding: 13px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2; transition: background .15s, transform .1s; }
.btn:hover { background: var(--accent-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: var(--line); color: var(--muted); cursor: not-allowed; }
.btn--block { width: 100%; }
.btn--sm { padding: 10px 14px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: var(--soft); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--ink); color: #fff; }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #1fb457; }
.btn.is-added { background: var(--ok); }
.icon-btn { border: 0; background: transparent; width: 42px; height: 42px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; }
.icon-btn:hover { background: var(--soft); }

/* Top bar */
.topbar { background: var(--ink); color: #fff; font-size: 13px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 38px; }
.topbar__msg { display: flex; align-items: center; gap: 8px; }
.topbar__msg .ico { width: 18px; height: 18px; color: var(--sun); }
.topbar__msg b { color: var(--sun); }

.lang { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.lang button { border: 0; background: transparent; color: inherit; padding: 3px 8px; border-radius: 6px; font-weight: 700; font-size: 12px; opacity: .7; }
.lang button:hover, .lang button[aria-pressed="true"] { opacity: 1; background: rgba(255,255,255,.15); }
.lang--dark { margin-top: 20px; }
.lang--dark button { border: 1px solid var(--line); opacity: 1; padding: 8px 14px; font-size: 14px; }
.lang--dark button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: var(--bg); z-index: 60; }
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--bg); border-bottom: 1px solid var(--line); }
.header__main { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.menu-btn { display: none; }
.logo { font-weight: 900; font-size: 26px; letter-spacing: -.03em; white-space: nowrap; font-family: "Noto Sans", var(--font); }
.logo span { color: var(--accent); }
.logo--light { color: #fff; }
.search { flex: 1; display: flex; background: var(--soft); border-radius: 999px; border: 2px solid transparent; transition: border-color .15s, background .15s; min-width: 0; }
.search:focus-within { border-color: var(--accent); background: var(--bg); }
.search input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 18px; outline: none; }
.search input::-webkit-search-cancel-button { cursor: pointer; }
.search button { border: 0; background: transparent; padding: 0 16px; display: flex; align-items: center; }
.cart-btn { position: relative; display: flex; align-items: center; gap: 8px; border: 0; background: transparent; padding: 8px 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
.cart-btn:hover { background: var(--soft); }
.cart-btn .ico { width: 26px; height: 26px; }
.badge { position: absolute; top: 2px; left: 26px; min-width: 19px; height: 19px; padding: 0 5px; background: var(--accent); color: #fff; border-radius: 999px; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; font-variant-numeric: tabular-nums; }
.badge.pop { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.35); } }

.catnav { border-top: 1px solid var(--line); }
.catnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.catnav ul::-webkit-scrollbar { display: none; }
.catnav button { border: 0; background: transparent; padding: 12px 14px; font-weight: 600; font-size: 14px; white-space: nowrap; border-bottom: 3px solid transparent; }
.catnav button:hover, .catnav button[aria-current="true"] { border-bottom-color: var(--accent); }

/* Hero */
.hero { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; padding-block: 24px 8px; }
.hero__main { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 22px; padding: 48px 44px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; min-height: 340px; }
.hero__main::after { content: ""; position: absolute; right: -90px; top: -90px; width: 340px; height: 340px; background: var(--accent); border-radius: 50%; }
.hero__main > * { position: relative; z-index: 1; max-width: 540px; }
.hero__tag { background: var(--sun); color: var(--ink); font-weight: 800; font-size: 13px; padding: 5px 12px; border-radius: 999px; margin-bottom: 16px; }
.hero__main h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; margin-bottom: 14px; }
.hero__main p { color: #c9ccd1; font-size: 17px; margin: 0 0 24px; }
.hero__side { display: grid; gap: 16px; }
.promo { border-radius: 22px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; min-height: 162px; transition: transform .15s; }
.promo:hover { transform: translateY(-2px); }
.promo h2 { font-size: 22px; font-weight: 900; margin: 0 0 4px; }
.promo p { margin: 0; font-size: 14px; }
.promo--sun { background: var(--sun); }
.promo--soft { background: var(--soft); }

/* Perks */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-block: 16px; }
.perk { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.perk__ico { width: 42px; height: 42px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); padding: 10px; }
.perk strong { display: block; font-size: 14px; }
.perk span:not(.ico) { font-size: 12.5px; color: var(--muted); }

/* Sections */
.section { padding-block: 26px; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section__head h2 { font-size: 26px; font-weight: 900; margin: 0; }
.section__head a { font-weight: 700; font-size: 14px; color: var(--accent); white-space: nowrap; }

.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.cat { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 16px 8px; border-radius: var(--radius); background: var(--soft); border: 0; font-weight: 700; font-size: 14px; transition: transform .15s; }
.cat:hover { transform: translateY(-3px); }
.cat__img { width: 72px; height: 72px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.cat__img .ico { width: 34px; height: 34px; }
.cat__img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Product grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 10px 14px; background: var(--bg); transition: box-shadow .15s, border-color .15s; min-width: 0; }
.card:hover { border-color: transparent; box-shadow: 0 10px 30px rgba(21,23,26,.10); }
.card__img { position: relative; display: block; border: 0; padding: 0; background: var(--soft); border-radius: 10px; overflow: hidden; aspect-ratio: 1 / 1; max-width: 100%; margin-bottom: 10px; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__title { font-size: 14.5px; font-weight: 600; margin: 0 0 6px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card__title button { all: unset; cursor: pointer; }
.card__title button:hover { color: var(--accent); }
.card__ship { font-size: 12px; color: var(--ok); font-weight: 700; margin-bottom: 6px; }
.card .btn { margin-top: auto; width: 100%; }
.sale { position: absolute; top: 8px; left: 8px; z-index: 1; padding: 5px 9px; border-radius: 8px; background: var(--sun); color: var(--ink); font-weight: 900; font-size: 12.5px; }
.soldout { position: absolute; inset: auto 8px 8px; z-index: 1; padding: 5px 9px; border-radius: 8px; background: rgba(21,23,26,.82); color: #fff; font-weight: 700; font-size: 12px; text-align: center; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 8px; font-size: 18px; font-weight: 900; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.price del { color: var(--muted); font-size: 13px; font-weight: 500; }
.price.is-sale ins { color: var(--accent); text-decoration: none; }
.price ins { text-decoration: none; }

.list-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.list-head h1 { font-size: 30px; font-weight: 900; margin: 0; }
.list-head p { margin: 4px 0 0; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.sort select { border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; background: var(--bg); }
.empty { padding: 40px 0; text-align: center; color: var(--muted); font-size: 17px; }

/* Band */
.band { background: var(--accent); color: #fff; border-radius: 22px; padding: 34px 36px; display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-block: 16px; }
.band h2 { font-size: 26px; font-weight: 900; margin: 0 0 4px; }
.band p { margin: 0; opacity: .92; }

/* Footer */
.footer { background: var(--ink); color: #c4c8ce; padding-block: 48px 24px; font-size: 14px; margin-top: 32px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; }
.footer h3 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a:hover, .footer button:hover { color: var(--sun); }
.footer button { all: unset; cursor: pointer; }
.footer .logo { display: inline-block; margin-bottom: 8px; }
.social { display: flex !important; gap: 14px !important; margin-top: 12px !important; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 32px; padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 13px; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { border: 1px solid rgba(255,255,255,.22); border-radius: 6px; padding: 3px 8px; font-size: 12px; font-weight: 700; }

/* WhatsApp float */
.wa-float { position: fixed; right: calc(18px + env(safe-area-inset-right, 0px)); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); transition: transform .15s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 30px; height: 30px; }

/* Drawers & modals */
.drawer, .modal { position: fixed; inset: 0; z-index: 100; }
.drawer__bg, .modal__bg { position: absolute; inset: 0; background: rgba(15,16,18,.5); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(400px, 92vw); background: var(--bg); display: flex; flex-direction: column; padding: calc(16px + env(safe-area-inset-top, 0px)) 20px calc(16px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.drawer--left .drawer__panel { left: 0; padding-left: max(20px, env(safe-area-inset-left, 0px)); animation: inL .25s ease-out; }
.drawer--right .drawer__panel { right: 0; padding-right: max(20px, env(safe-area-inset-right, 0px)); animation: inR .25s ease-out; }
@keyframes inL { from { transform: translateX(-100%); } }
@keyframes inR { from { transform: translateX(100%); } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.drawer__head h2 { margin: 0; font-size: 22px; font-weight: 900; }
.drawer__cats { list-style: none; margin: 0; padding: 0; }
.drawer__cats button { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 14px 4px; font-weight: 600; text-align: left; }
.drawer__cats .ico { color: var(--muted); }

.modal { display: flex; align-items: center; justify-content: center; padding: 16px; }
.modal__box { position: relative; background: var(--bg); border-radius: 20px; width: 100%; max-width: 480px; max-height: calc(100% - 8px); overflow-y: auto; padding: 28px; animation: up .25s ease-out; }
.modal__box--wide { max-width: 900px; }
@keyframes up { from { transform: translateY(16px); opacity: 0; } }
.modal__x { position: absolute; top: 12px; right: 12px; z-index: 2; background: var(--soft); }
.modal__box h2 { font-size: 24px; font-weight: 900; padding-right: 40px; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pd__img { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--soft); aspect-ratio: 1 / 1; max-width: 100%; }
.pd__img img { width: 100%; height: 100%; object-fit: cover; }
.pd__info { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.pd__cat { font-size: 13px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.pd__info h1 { font-size: 26px; font-weight: 800; margin: 0; padding-right: 36px; }
.pd .price { font-size: 30px; margin: 0; }
.pd .price del { font-size: 17px; }
.pd__desc { color: var(--ink-2); margin: 0; }
.pd__buy { display: flex; gap: 10px; align-items: stretch; }
.pd__buy .btn { flex: 1; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { border: 0; background: transparent; width: 40px; height: 44px; font-size: 18px; font-weight: 700; }
.qty button:hover { background: var(--soft); }
.qty span { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.qty--sm button { width: 32px; height: 32px; font-size: 16px; }
.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.trust li { display: flex; align-items: center; gap: 10px; padding: 11px 14px; background: var(--soft); border-radius: 12px; font-size: 14px; font-weight: 600; }
.trust li::before { content: "✓"; color: #fff; background: var(--ok); width: 22px; height: 22px; flex: none; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
.link-wa { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: #128c4b; font-size: 14px; }
.link-wa .ico { width: 20px; height: 20px; }

/* Cart */
.cart__body { flex: 1; overflow-y: auto; margin-inline: -4px; padding-inline: 4px; }
.cart__empty { text-align: center; padding: 48px 0; display: grid; justify-items: center; gap: 16px; color: var(--muted); }
.cart__empty .ico { width: 56px; height: 56px; color: var(--line); }
.ci { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ci__img { width: 72px; height: 72px; border-radius: 10px; overflow: hidden; background: var(--soft); border: 0; padding: 0; }
.ci__img img { width: 100%; height: 100%; object-fit: cover; }
.ci__info { min-width: 0; }
.ci__name { font-size: 14px; font-weight: 600; margin: 0 0 4px; line-height: 1.3; }
.ci__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; }
.ci__price { font-weight: 800; font-variant-numeric: tabular-nums; }
.ci__rm { border: 0; background: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; padding: 0; }
.ci__rm:hover { color: var(--accent); }
.cart__foot { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 10px; }
.sumrow { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-variant-numeric: tabular-nums; }
.sumrow--total { font-size: 19px; font-weight: 900; }
.sumrow .free { color: var(--ok); font-weight: 700; }
.ship-prog { padding: 12px 14px; background: #fff7dc; border-radius: 12px; font-size: 14px; }
.ship-prog__bar { height: 8px; background: rgba(21,23,26,.1); border-radius: 999px; overflow: hidden; margin-top: 8px; }
.ship-prog__bar span { display: block; height: 100%; background: var(--accent); border-radius: 999px; transition: width .3s; }
.ship-prog.is-done { background: var(--ok-soft); color: var(--ok); font-weight: 700; }

/* Checkout */
.field { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font-size: 14px; font-weight: 700; padding: 0; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--bg); min-height: 48px; }
.field textarea { resize: vertical; min-height: 0; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-err input { border-color: var(--accent); }
.err { color: var(--accent-dark); font-size: 13px; font-weight: 600; min-height: 0; }
.err:empty { display: none; }
.pay-opts { grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-opts legend { margin-bottom: 6px; }
.radio { display: flex; align-items: center; gap: 8px; border: 2px solid var(--line); border-radius: 12px; padding: 12px; font-weight: 600 !important; font-size: 14px; cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.radio:has(input:focus-visible) { outline: 3px solid var(--accent); outline-offset: 2px; }
.co-sum { background: var(--soft); border-radius: 12px; padding: 14px; display: grid; gap: 6px; margin-bottom: 14px; }
.done__ico { width: 64px; height: 64px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 4px auto 14px; }
.done__ico .ico { width: 32px; height: 32px; }
#co-done { display: grid; gap: 10px; }
#co-done h2 { padding: 0; margin: 0; }
#co-done p { margin: 0; }

.info { display: grid; gap: 18px; margin-top: 8px; }
.info > div { display: flex; gap: 14px; align-items: flex-start; }
.info h3 { font-size: 16px; margin: 2px 0 4px; }
.info p { margin: 0; color: var(--ink-2); font-size: 15px; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 120; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.25); animation: up .25s ease-out; max-width: calc(100% - 32px); }

.bottombar { display: none; }

/* Responsive */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(3, 1fr); }
  .perks { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .topbar .lang { display: none; }
  .topbar__in { justify-content: center; text-align: center; }
  .header__main { flex-wrap: wrap; gap: 6px 8px; min-height: 0; padding-block: 8px 10px; }
  .menu-btn { display: inline-flex; margin-left: -8px; }
  .logo { font-size: 22px; flex: 1; }
  .cart-btn__label { display: none; }
  .search { order: 3; flex-basis: 100%; }
  .catnav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 14px 4px; gap: 10px; }
  .hero__main { padding: 30px 22px; min-height: 0; border-radius: 18px; }
  .hero__main::after { width: 190px; height: 190px; right: -70px; top: -70px; }
  .hero__main p { font-size: 15px; }
  .hero__side { grid-template-columns: 1fr 1fr; gap: 10px; }
  .promo { min-height: 120px; padding: 16px; border-radius: 18px; }
  .promo h2 { font-size: 16px; }
  .promo p { font-size: 12.5px; }
  .perks { gap: 8px; }
  .perk { padding: 10px; gap: 8px; flex-direction: column; align-items: flex-start; }
  .perk__ico { width: 36px; height: 36px; padding: 8px; }
  .section { padding-block: 18px; }
  .section__head h2 { font-size: 21px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat { padding: 12px 4px; font-size: 12.5px; }
  .cat__img { width: 58px; height: 58px; }
  .cat__img .ico { width: 28px; height: 28px; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card { padding: 8px 8px 10px; }
  .card__title { font-size: 13.5px; }
  .price { font-size: 16px; }
  .card .btn { padding: 9px 10px; font-size: 13px; }
  .band { flex-direction: column; align-items: flex-start; padding: 24px; }
  .band h2 { font-size: 21px; }
  .list-head h1 { font-size: 24px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: 1 / -1; }
  .wa-float { display: none; }
  .modal { padding: 0; align-items: flex-end; }
  .modal__box { border-radius: 20px 20px 0 0; max-height: 92%; padding: 22px max(18px, env(safe-area-inset-right, 0px)) calc(22px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); }
  .pd { grid-template-columns: 1fr; gap: 16px; }
  .pd__img { max-width: 360px; width: 100%; margin-inline: auto; }
  .pd__info h1 { font-size: 21px; padding: 0; }
  .pd .price { font-size: 26px; }
  .bottombar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--bg); border-top: 1px solid var(--line); height: calc(62px + env(safe-area-inset-bottom, 0px)); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); }
  .bottombar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
  .bottombar a:last-child { color: #128c4b; }
  .bottombar .badge { top: 6px; left: calc(50% + 4px); }
  .toast { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 440px) {
  .pay-opts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ===== v3: hesap, galeri, yorumlar, bölge, iade ===== */
.acct-btn { padding-inline: 10px; }
.acct-btn .cart-btn__label { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.card__rate { font-size: 12.5px; font-weight: 700; margin: -2px 0 4px; font-variant-numeric: tabular-nums; }
.stars { color: #e5a800; letter-spacing: 1px; white-space: nowrap; }
.stars i { color: #d9dbdf; font-style: normal; }
.vbadge { position: absolute; right: 8px; top: 8px; z-index: 1; width: 30px; height: 30px; border-radius: 50%; background: rgba(21,23,26,.75); color: #fff; display: flex; align-items: center; justify-content: center; }
.vbadge .ico { width: 14px; height: 14px; margin-left: 2px; }

.gal { min-width: 0; display: grid; gap: 10px; align-content: start; }
.pd__img video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); box-shadow: 0 2px 10px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; }
.gal__nav--l { left: 10px; }
.gal__nav--r { right: 10px; }
.gal__nav .ico { width: 20px; height: 20px; }
.gal__count { position: absolute; bottom: 10px; right: 10px; z-index: 2; background: rgba(21,23,26,.72); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; font-variant-numeric: tabular-nums; }
.gal__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.gal__thumb { flex: 0 0 64px; height: 64px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--soft); cursor: pointer; }
.gal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gal__thumb.is-on { border-color: var(--ink); }
.gal__thumb--video { background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; }
.gal__thumb--video .ico { width: 22px; height: 22px; }
.pd__rate { display: inline-flex; gap: 6px; align-items: center; font-weight: 700; font-size: 14px; }
.trust a { text-decoration: underline; text-underline-offset: 3px; }

.rv { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; justify-items: start; }
.rv__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; width: 100%; }
.rv__head h2 { margin: 0; font-size: 20px; padding: 0; }
.rv__avg { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; }
.rv__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; width: 100%; }
.rv__list li { border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.rv__list p { margin: 6px 0 0; color: var(--ink-2); overflow-wrap: anywhere; }
.rv__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.rv__ver { color: var(--ok); font-size: 12px; font-weight: 700; }
.rv__form { width: 100%; background: var(--soft); border-radius: 14px; padding: 16px; }
.rv__form h3 { font-size: 16px; margin-bottom: 10px; }
.rv__form textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; background: var(--bg); resize: vertical; }
.rv__label { font-size: 13px; font-weight: 700; }
.rv__stars { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.rv__stars input { position: absolute; opacity: 0; pointer-events: none; }
.rv__stars label { font-size: 30px; line-height: 1; color: #d0d3d8; cursor: pointer; padding: 0 2px; transition: color .1s; }
.rv__stars label:hover, .rv__stars label:hover ~ label, .rv__stars input:checked ~ label { color: #e5a800; }
.rv__stars input:focus-visible + label { outline: 3px solid var(--accent); border-radius: 4px; }
.rv__msg { color: var(--accent-dark); font-size: 14px; font-weight: 600; margin: 8px 0 0; }
.rv__msg:empty { display: none; }
.rv__thanks { margin: 0; font-weight: 700; color: var(--ok); }

.seg { display: flex; background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; margin: 14px 0 18px; }
.seg button { flex: 1; border: 0; background: transparent; padding: 9px 8px; border-radius: 9px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.seg button[aria-selected="true"] { background: var(--bg); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.acct-form { display: grid; gap: 0; }
.acct-form .field input:disabled { background: var(--soft); color: var(--muted); }
.form-msg { margin: 0 0 12px; font-weight: 600; font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.is-err { color: var(--accent-dark); }
.form-msg.is-ok { color: var(--ok); }
.acct-disc { display: inline-block; background: var(--ok-soft); color: var(--ok); font-weight: 800; padding: 6px 12px; border-radius: 999px; margin: 4px 0 0; font-size: 14px; }
.acct-out { margin-top: 16px; }
.my-orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.my-orders li { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 6px; }
.my-orders__top { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.my-orders__items { font-size: 14px; color: var(--ink-2); }
.my-orders__tot { font-size: 14px; }
.st { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--soft); white-space: nowrap; }
.st--new { background: var(--accent-soft); color: var(--accent-dark); }
.st--confirmed { background: #e7f0fb; color: #2b6cb0; }
.st--shipped { background: #efe9fb; color: #6b46c1; }
.st--delivered { background: var(--ok-soft); color: var(--ok); }
.st--cancelled { color: var(--muted); }

.co-acct { display: flex; align-items: center; gap: 8px; background: var(--soft); border-radius: 12px; padding: 10px 12px; font-size: 14px; margin: 0 0 16px; }
.co-acct .ico { width: 18px; height: 18px; color: var(--muted); }
.co-acct a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.co-acct b { color: var(--ok); }
.field select:disabled { background: var(--soft); color: var(--muted); }
.eta { display: flex; align-items: center; gap: 8px; margin: -4px 0 14px; padding: 10px 12px; border-radius: 12px; background: var(--ok-soft); color: var(--ok); font-weight: 700; font-size: 14px; }
.eta .ico { width: 18px; height: 18px; }
.cbx { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; font-weight: 600; cursor: pointer; margin: 0 0 14px; }
.cbx input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.cbx a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.field--terms .cbx { margin: 0; }
.field--terms.has-err .cbx { color: var(--accent-dark); }
.sumrow--disc { color: var(--ok); font-weight: 700; }

.info__row { display: flex; gap: 14px; align-items: flex-start; }
.info__row > div { min-width: 0; }
.terms { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 10px; color: var(--ink-2); font-size: 14.5px; }
.terms b { color: var(--ink); }

@media (max-width: 768px) {
  .acct-btn .cart-btn__label { display: none; }
  .bottombar { grid-template-columns: repeat(5, 1fr); }
  .gal__thumb { flex-basis: 56px; height: 56px; }
}

/* ===== v4: teslimat ücreti, ikinci telefon ===== */
.place-opts { grid-template-columns: 1fr 1fr; gap: 8px; }
.place-opts legend { margin-bottom: 6px; }
.place-opts .radio { justify-content: space-between; }
.place-opts .radio span { flex: 1; }
.place-fee { font-variant-numeric: tabular-nums; }
.place-opts.has-err .radio { border-color: var(--accent); }
.place-opts .err { grid-column: 1 / -1; }
.refuse-note { font-size: 13px; color: var(--ink-2); background: #fff7dc; border-radius: 10px; padding: 10px 12px; margin: 0 0 14px; }
.fees { border-collapse: collapse; margin: 6px 0 4px; font-size: 15px; font-variant-numeric: tabular-nums; }
.fees th { text-align: left; font-weight: 600; padding: 4px 16px 4px 0; }
.fees td { padding: 4px 16px 4px 0; font-weight: 800; }
.fees td.muted { font-weight: 500; }
.fees__free { color: var(--ok); font-weight: 700; margin: 4px 0 6px !important; }
@media (max-width: 440px) { .place-opts { grid-template-columns: 1fr; } }
