@import url("./assets/fonts.css");

:root {
  font-family: Inter, Arial, sans-serif;
  color: #171d18;
  background: #f5f6f2;
  --ink: #171d18;
  --green: #193c2b;
  --muted: #5c685f;
  --line: #e3e8dd;
  --lime: #dafa87;
  --white: #fff;
  font-synthesis: none;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-block-end: 76px; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3 { margin: 0; }
.wrap { width: min(calc(100% - 88px), 1328px); margin-inline: auto; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip:focus { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 12px; background: white; }
:focus-visible { outline: 2px solid #52853d; outline-offset: 4px; }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 24px; }

.utility { background: var(--green); color: #f1f8ee; font-size: 12px; }
.utility-inner, .location { display: flex; align-items: center; }
.utility-inner { justify-content: space-between; min-height: 32px; gap: 12px; }
.location { gap: 6px; font-weight: 550; }
.location .icon { width: 14px; height: 14px; color: var(--lime); }
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { display: grid; grid-template-columns: auto minmax(160px, 1fr) auto; gap: clamp(20px, 4vw, 57px); align-items: center; min-height: 66px; }
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-size: 21px; font-weight: 800; letter-spacing: -.068em; white-space: nowrap; }
.brand-tech { color: #476a3c; margin-left: 3px; }
.nav-links { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 0 26px; font-size: 14px; font-weight: 650; }
.nav-links > a, .catalog-nav > a { padding: 8px 0 10px; border-bottom: 2px solid transparent; }
.nav-links > a[aria-current="page"], .catalog-nav > a[aria-current="page"] { color: #315b34; border-bottom-color: #728f4d; }
.nav-links a:hover, .text-button:hover { color: #416841; }
.catalog-nav > a { display: flex; align-items: center; gap: 4px; }
.catalog-nav > a .icon { width: 14px; height: 14px; transform: rotate(90deg); transition: transform .16s ease; }
.catalog-nav > a[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.catalog-menu { position: absolute; top: 100%; left: 0; z-index: 6; display: grid; grid-template-columns: minmax(128px, .75fr) minmax(0, 1.25fr); width: min(550px, 100%); overflow: hidden; border: 1px solid #dfe7db; border-radius: 0 0 15px 15px; background: white; box-shadow: 0 17px 31px #10241a26; }
.menu-categories { padding: 7px; background: #f0f4ed; border-right: 1px solid #dfe7db; }
.menu-categories button, .menu-models a { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 11px 10px; border: 0; border-radius: 7px; font-size: inherit; line-height: 1.3; text-align: left; }
.menu-categories button { width: 100%; background: transparent; color: var(--ink); }
.menu-categories button[aria-pressed="true"] { background: #e0ebd8; color: var(--green); }
.catalog-menu .icon { width: 16px; height: 16px; }
.menu-models { padding: 7px; }
.menu-models .menu-all { margin: 0 0 3px; background: #edf3e9; color: var(--green); }
.menu-model-list { max-height: min(50vh, 340px); overflow: auto; }
.menu-models a:hover { background: #edf3e9; }
.catalog-menu :focus-visible { outline-offset: -2px; }
.search { position: relative; display: flex; align-items: center; min-width: 0; gap: 6px; padding: 0 12px; height: 43px; border: 1px solid #edf0e9; border-radius: 10px; background: #f4f6f1; }
.search:focus-within { border-color: #78946f; }
.search button { display: grid; place-items: center; border: 0; background: transparent; color: #506455; padding: 3px; }
.search .icon { width: 18px; height: 18px; }
.search input { background: transparent; width: 100%; min-width: 0; border: 0; outline: none; font-size: 14px; padding: 8px 0; color: var(--ink); }
.search input::placeholder { color: #626d64; }
.search-suggestions { position: absolute; z-index: 7; top: calc(100% + 5px); left: 0; width: 100%; max-height: min(55vh, 386px); overflow: auto; border: 1px solid #dfe7db; border-radius: 12px; background: #fff; box-shadow: 0 17px 31px #10241a26; padding: 5px; }
.search-suggestions a { display: grid; grid-template-columns: 43px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 6px 9px; min-height: 54px; border-radius: 7px; font-size: 13px; font-weight: 700; }
.search-suggestions a:hover, .search-suggestions [aria-selected="true"] { background: #edf3e9; }
.search-suggestions img { width: 43px; height: 39px; object-fit: contain; mix-blend-mode: multiply; }
.search-suggestions small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 500; }
.search-suggestions .icon { color: #496b47; }
.bag-button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 43px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px; background: white; font-size: 13px; font-weight: 700; white-space: nowrap; }
.bag-button:hover, .button-outline:hover { background: #edf4e9; }
.bag-count { min-width: 19px; padding: 2px 4px; border-radius: 20px; background: var(--lime); font-size: 11px; }

.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 435px; display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; margin-top: 23px; border-radius: 26px; color: white; background: radial-gradient(ellipse at 78% 90%, #41604a, transparent 54%), linear-gradient(105deg, #152d22, #10241a 63%, #193628); }
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 0;
  width: min(740px, 100%);
  height: min(500px, 100%);
  pointer-events: none;
  background: radial-gradient(ellipse, #baf2a43d, transparent 70%);
  transform: translate3d(calc(var(--duo-light-x, 0px) - 50%), calc(var(--duo-light-y, 0px) - 50%), 0);
  opacity: 0;
  transition: opacity .3s ease;
}
.hero.is-tracking::before { opacity: 1; }
.hero-art { grid-column: 2; grid-row: 1; padding: 44px clamp(24px, 5vw, 74px) 44px 0; }
.hero-art img {
  width: min(94%, 630px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 28px 25px #050e08a6);
  transform: perspective(1250px)
    translate3d(var(--duo-x, 0px), var(--duo-y, 0px), 0)
    rotateX(var(--duo-rotate-x, 0deg))
    rotateY(var(--duo-rotate-y, 0deg))
    rotateZ(var(--duo-roll, 0deg))
    scale(var(--duo-scale, 1));
  transition: transform .36s cubic-bezier(.2, .7, .3, 1);
}
.hero.is-tracking .hero-art img {
  --duo-scale: 1.025;
  transition-duration: .17s;
}
.hero-content { grid-column: 1; grid-row: 1; padding: 44px 0 47px clamp(26px, 5.2vw, 76px); }
.hero-kicker { display: flex; align-items: center; gap: 8px; color: #e0f3d8; font-size: 12px; font-weight: 700; letter-spacing: .11em; text-transform: uppercase; }
.hero-kicker span, .hero-caption span { width: 7px; height: 7px; flex: none; background: var(--lime); border-radius: 50%; }
.hero h1 { margin-top: 18px; font-size: clamp(56px, 6.6vw, 94px); line-height: .95; letter-spacing: -.065em; font-weight: 800; }
.hero h1 em { display: block; color: var(--lime); font-style: normal; }
.hero-description { margin-top: 20px; max-width: 345px; color: #e0e9df; font-size: 15px; line-height: 1.55; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; border-radius: 10px; min-height: 46px; padding: 9px 16px; font-size: 14px; font-weight: 750; line-height: 1.2; }
.hero-button { margin-top: 22px; color: #172510; background: var(--lime); }
.hero-button:hover { background: #ebffaa; }
.hero-button:focus-visible { outline-color: #f4ffc5; }
.hero-hours { display: flex; align-items: center; gap: 9px; margin-top: 20px; color: #e0e9df; }
.hero-hours .icon { color: var(--lime); }
.hero-hours h2 { font-size: 13px; font-weight: 750; }
.hero-hours p { margin-top: 3px; font-size: 12px; }
.hero-caption { position: absolute; right: 23px; bottom: 21px; display: flex; gap: 7px; align-items: center; border-radius: 20px; padding: 8px 11px; background: #10261ccc; color: #f0f5ee; font-size: 11px; font-weight: 600; }
.hero-caption span { background: #e5e4db; }

.catalog, .popular { margin-top: 34px; }
.section-heading, .catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.section-heading { margin-bottom: 15px; }
.section-heading h1, .info-panel h1 { font-size: clamp(30px, 4.2vw, 48px); font-weight: 800; letter-spacing: -.065em; line-height: 1.05; }
.section-heading h2, .catalog-title h2, .pickup h2 { font-size: clamp(24px, 3.1vw, 34px); font-weight: 800; letter-spacing: -.06em; line-height: 1.1; }
.text-button { display: inline-flex; align-items: center; gap: 7px; border: 0; padding: 6px 0 6px 7px; background: transparent; color: var(--green); font-size: 13px; font-weight: 700; white-space: nowrap; }
.text-button .icon { width: 16px; height: 16px; }
.categories { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.category { position: relative; isolation: isolate; display: flex; align-items: flex-start; min-width: 0; height: 95px; overflow: hidden; border: 1px solid #e6ebe2; border-radius: 15px; background: var(--tile, #eef2eb); padding: 14px 12px; text-align: left; font-size: clamp(13px, 1.35vw, 17px); font-weight: 750; letter-spacing: -.035em; transition: background .18s, border-color .18s; }
.category:hover { border-color: #8ca887; }
.category[aria-pressed="true"] { border-color: #617d55; background: #e2efda; }
.category img { position: absolute; z-index: -1; right: 2%; bottom: -13%; width: 53%; height: 94%; object-fit: contain; mix-blend-mode: multiply; transition: transform .22s ease; }
.category:hover img { transform: translateY(-5px); }
.category .icon { position: absolute; bottom: 11px; left: 12px; width: 15px; height: 15px; color: #496b47; }
.category[data-filter="mac"] img, .category[data-filter="iphone"] img { right: 0; width: 62%; }
.catalog-head { margin-top: 32px; margin-bottom: 14px; }
.catalog-title { display: flex; align-items: baseline; flex-wrap: wrap; gap: 7px 12px; min-width: 0; }
.catalog-title h2 { font-size: clamp(22px, 2.55vw, 30px); overflow-wrap: anywhere; }
.catalog-title p { font-size: 13px; color: var(--muted); }
.sort select { width: min(100%, 180px); border: 1px solid var(--line); border-radius: 9px; background: white; padding: 9px 8px; color: var(--ink); font-size: 13px; }
.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product { display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 9px; border: 1px solid var(--line); border-radius: 17px; background: white; }
.product-art { position: relative; display: grid; place-items: center; width: 100%; height: clamp(150px, 17vw, 218px); border: 0; border-radius: 11px; background: #f3f5f1; overflow: hidden; }
.product-art img { width: 82%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .24s ease; }
.product-art:hover img { transform: scale(1.055); }
.product-info { display: flex; flex-direction: column; min-width: 0; padding: 11px 4px 3px; }
.product-desc { margin-top: 5px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.product-stock { margin-top: 5px; color: var(--muted); font-size: 11px; }
[data-stock-state="available"] { color: #255b3b; font-weight: 700; }
[data-stock-state="out"] { color: #894337; }
#select-item:disabled { opacity: .55; cursor: default; }
.product h3 button { display: block; border: 0; padding: 0; background: transparent; text-align: left; font-size: clamp(14px, 1.5vw, 18px); font-weight: 760; letter-spacing: -.035em; }
.product h3 button:hover { color: #4a6941; }
.product-footer { display: flex; justify-content: space-between; align-items: center; gap: 3px; margin-top: auto; padding-top: 11px; }
.product-price { font-size: clamp(14px, 1.7vw, 21px); font-weight: 800; letter-spacing: -.04em; white-space: nowrap; }
.product-price small { font-size: .62em; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.product-add, .close { display: grid; place-items: center; width: 35px; height: 35px; padding: 0; border: 1px solid #e3ecdc; border-radius: 9px; color: var(--green); background: #eef4e9; flex: none; }
.product-add:hover, .close:hover { background: #dfebd4; }
.empty { grid-column: 1 / -1; padding: 32px 24px; border: 1px dashed #aebbaa; border-radius: 15px; color: var(--muted); background: #fff; }
.empty .text-button { padding-left: 0; margin-top: 10px; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; max-width: 330px; margin: 21px auto 0; }
.pagination p { font-size: 13px; color: var(--muted); text-align: center; }

.pickup { display: grid; grid-template-columns: auto 1fr auto; gap: 17px; align-items: center; margin-top: 19px; padding: 21px; background: #e7f0e1; border: 1px solid #dde9d6; border-radius: 17px; }
.pickup h2 { font-size: clamp(21px, 2.5vw, 27px); }
.pickup p { margin-top: 6px; font-size: 13px; color: var(--muted); line-height: 1.5; }
.pickup-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; color: #fff; background: var(--green); }
.button-outline { border: 1px solid #a9c1a2; background: transparent; color: var(--green); white-space: nowrap; }
.footer a:not(.brand) { color: var(--green); font-size: 13px; }
.footer a:not(.brand):hover { text-decoration: underline; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 32px; padding: 18px 0 75px; border-top: 1px solid var(--line); }
.social-links { position: fixed; z-index: 4; right: max(18px, env(safe-area-inset-right)); bottom: max(15px, env(safe-area-inset-bottom)); display: flex; gap: 5px; padding: 5px; border: 1px solid #dce7d9; border-radius: 30px; background: #fff; box-shadow: 0 5px 20px #10241a30; }
.social-link { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: var(--social-color); transition: transform .16s ease; }
.social-link:hover { transform: translateY(-2px); }
.social-link .icon { width: 21px; height: 21px; }
.social-link[data-service="telegram"] { --social-color: #1588ba; }
.social-link[data-service="vk"] { --social-color: #0879f3; }
.social-link[data-service="whatsapp"] { --social-color: #1a8d4b; }

.info { padding-top: 34px; }
.info-panel { max-width: 830px; padding: clamp(19px, 4.5vw, 48px); border: 1px solid var(--line); border-radius: 22px; background: white; }
.info-panel h1 { margin-bottom: 24px; }
.info-panel h2 { margin-top: 22px; margin-bottom: 7px; font-size: 21px; letter-spacing: -.03em; }
.info-panel p, .info-panel dd { color: var(--muted); font-size: 15px; line-height: 1.55; }
.info-panel .info-link { padding-left: 0; margin-top: 8px; }
.contact-details { margin: 0; }
.contact-details div + div { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.contact-details dt { font-size: 15px; font-weight: 750; }
.contact-details dd { margin: 4px 0 0; }
.contact-details .info-muted { font-size: 13px; }

body:has(dialog[open]) { overflow: hidden; }
dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100% - 24px); overflow: auto; border: 1px solid var(--line); border-radius: 20px; padding: 24px; color: var(--ink); background: #fff; box-shadow: 0 14px 70px #111b1640; }
dialog::backdrop { background: #101e18a8; }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.dialog-header h2 { font-weight: 800; font-size: clamp(23px, 4vw, 32px); letter-spacing: -.055em; }
#product-dialog { --detail-padding: clamp(14px, 3.5vw, 26px); width: min(920px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; }
#product-detail { padding: 0 var(--detail-padding) var(--detail-padding); }
#product-detail > .dialog-header {
  position: sticky;
  z-index: 2;
  top: 0;
  align-items: center;
  margin-inline: calc(-1 * var(--detail-padding));
  padding: 14px var(--detail-padding);
  background: white;
  border-bottom: 1px solid var(--line);
}
.detail-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); gap: 19px; }
.detail-art { display: grid; align-items: center; justify-items: center; overflow: hidden; background: #f3f5f1; border-radius: 13px; min-height: 185px; padding: 15px; }
.detail-art img { width: 100%; height: 195px; object-fit: contain; mix-blend-mode: multiply; }
.detail-art img[src*="/ipad"] { transform: scale(1.78); }
.detail-summary { font-size: 14px; line-height: 1.5; color: var(--muted); }
.detail-config { margin: 14px 0; padding: 0; border: 0; }
.detail-config legend { margin-bottom: 7px; font-size: 13px; font-weight: 700; }
.option-row { display: flex; flex-wrap: wrap; gap: 6px; }
.option-row label { display: inline-flex; }
.option-row span { display: inline-flex; border: 1px solid var(--line); border-radius: 7px; padding: 7px 9px; font-size: 12px; font-weight: 650; cursor: pointer; }
.option-row input:checked + span { border-color: #587b52; background: #e5efdf; }
.option-row input:focus-visible + span { outline: 2px solid #52853d; outline-offset: 2px; }
.color-name { margin-left: 4px; color: var(--muted); font-weight: 550; }
.color-row { display: flex; flex-wrap: wrap; gap: 5px; }
.color-row label { display: inline-flex; border-radius: 50%; border: 1px solid transparent; padding: 4px; cursor: pointer; }
.color-row label:has(input:checked) { border-color: #426b45; }
.color-row label:has(input:focus-visible) { outline: 2px solid #52853d; outline-offset: 2px; }
.swatch { width: 26px; height: 26px; border-radius: 50%; background: var(--swatch); border: 1px solid #1620182c; }
.detail-price { font-size: 24px; font-weight: 800; letter-spacing: -.05em; margin-bottom: 9px; }
.purchase-details, .model-details { margin-top: 19px; border: 1px solid var(--line); border-radius: 14px; padding: clamp(13px, 2.8vw, 22px); }
.purchase-details h3, .model-heading h3 { font-size: clamp(18px, 3vw, 24px); letter-spacing: -.04em; }
.purchase-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; margin: 13px 0 0; }
.purchase-list > div { border-top: 1px solid var(--line); padding-top: 8px; }
.purchase-list dt { font-size: 13px; font-weight: 750; }
.purchase-list dd { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.purchase-list a, .model-heading a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.model-details { background: #f4f6f1; }
.model-heading { display: flex; align-items: baseline; flex-wrap: wrap; justify-content: space-between; gap: 6px 14px; }
.model-heading a { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; }
.model-heading a .icon { width: 14px; height: 14px; }
.model-tabs { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: #99ad93 transparent; margin: 8px 0 12px; border-bottom: 1px solid var(--line); }
.model-tabs button { flex: none; border: 0; border-bottom: 2px solid transparent; padding: 8px 0; background: transparent; color: var(--muted); font-size: 13px; font-weight: 650; }
.model-tabs button:hover, .model-tabs button[aria-selected="true"] { color: var(--green); }
.model-tabs button[aria-selected="true"] { border-bottom-color: var(--green); }
.model-tabs button:focus-visible { outline-offset: -2px; }
.model-specs { margin: 0; }
.model-specs > div { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 10px; padding: 7px 0; border-bottom: 1px dotted #c6d1c2; font-size: 14px; line-height: 1.4; }
.model-specs > div:last-child { border-bottom: 0; }
.model-specs dt { color: var(--muted); }
.model-specs dd { margin: 0; overflow-wrap: anywhere; }
.button-primary { background: var(--green); color: #fff; }
.button-primary:hover { background: #2b533d; }
.bag-list { list-style: none; margin: 0 0 15px; padding: 0; }
.bag-item { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.bag-item picture { display: grid; place-items: center; height: 56px; padding: 5px; background: #f1f4ed; border-radius: 8px; }
.bag-item img { width: 100%; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.bag-item strong { font-size: 15px; }
.bag-item p, .bag-note { color: var(--muted); font-size: 13px; margin-top: 4px; line-height: 1.45; }
#bag-dialog { max-height: calc(100dvh - 24px); }
.bag-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.checkout { padding-top: 12px; }
.checkout h3 { margin: 16px 0 11px; font-size: 20px; letter-spacing: -.035em; }
.checkout-steps { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.checkout-steps li { display: inline-flex; align-items: center; gap: 5px; border-radius: 7px; padding: 5px 7px; background: #f1f4ee; color: var(--muted); font-size: 12px; }
.checkout-steps li[aria-current="step"] { background: #e4eee1; color: var(--green); font-weight: 750; }
.checkout-steps span { font-weight: 750; }
.checkout-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.checkout-wide { grid-column: 1 / -1; }
.checkout-fields label, .checkout-address { display: block; font-size: 13px; font-weight: 650; }
.checkout-optional { color: var(--muted); font-size: 11px; font-weight: 500; }
.checkout-fields :is(input, textarea), .checkout-address textarea { display: block; width: 100%; margin-top: 5px; border: 1px solid #c7d0c5; border-radius: 8px; padding: 9px; background: #fff; color: var(--ink); font: inherit; font-weight: 500; }
.checkout-address { margin-top: 9px; }
.checkout-choices { display: grid; gap: 6px; margin: 0 0 10px; padding: 0; border: 0; min-width: 0; }
.checkout-choices label { display: flex; align-items: center; gap: 9px; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; font-size: 13px; }
.checkout-choices label:has(input:checked) { border-color: #85a47e; background: #f1f6ef; }
.checkout-choices input { flex: none; margin: 0; accent-color: var(--green); }
.checkout-prices { margin: 12px 0 8px; font-size: 13px; }
.checkout-prices > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.checkout-prices > div:last-child { font-weight: 750; }
.checkout-prices dd { text-align: right; margin: 0; }
.request-text { width: 100%; margin-top: 12px; min-height: 110px; padding: 8px; border: 1px solid #96a993; border-radius: 8px; font: inherit; }
.action-status { font-size: 13px; color: var(--green); margin-top: 8px; min-height: 1em; }

@media (max-width: 930px) {
  .wrap { width: calc(100% - 44px); }
  .header-inner { gap: 19px; }
  .hero { min-height: 373px; }
  .hero-content { padding-block: 37px; }
}
@media (max-width: 700px) {
  .purchase-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wrap { width: calc(100% - 28px); }
  .header-inner { grid-template-columns: 1fr auto; gap: 8px; padding-block: 8px 4px; }
  .nav-links { gap: 0 16px; font-size: 13px; }
  .nav-links > a, .catalog-nav > a { padding: 6px 0; }
  .search { grid-row: 2; grid-column: 1 / -1; }
  .bag-button { grid-column: 2; grid-row: 1; min-height: 38px; }
  .hero { margin-top: 14px; min-height: 0; grid-template-columns: 1fr; border-radius: 17px; background: radial-gradient(ellipse at 66% 91%, #41604a, transparent 58%), #152d22; }
  .hero-content { padding: 21px 19px 0; grid-column: 1; grid-row: 1; }
  .hero h1 { font-size: clamp(41px, 9vw, 62px); }
  .hero h1 em { display: inline; }
  .hero-kicker { font-size: 9px; letter-spacing: .06em; }
  .hero-description { margin-top: 12px; font-size: 13px; }
  .hero-button { margin-top: 13px; }
  .hero-hours { margin-top: 13px; }
  .hero-art { grid-column: 1; grid-row: 2; padding: 17px 22px 28px; }
  .hero-art img { width: min(100%, 300px); }
  .hero-caption { right: 9px; bottom: 9px; }
  .catalog, .popular { margin-top: 25px; }
  .categories { grid-template-columns: repeat(5, minmax(92px, 1fr)); gap: 7px; overflow-x: auto; padding: 2px 3px 5px; margin: -2px -3px -5px; scrollbar-width: thin; scrollbar-color: #98a893 transparent; }
  .category { height: 78px; padding: 10px 8px; }
  .category .icon { left: 8px; bottom: 8px; }
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .product-art { height: clamp(126px, 34vw, 198px); }
  .product-price { font-size: clamp(15px, 4.15vw, 19px); }
  .pickup { grid-template-columns: auto 1fr auto; gap: 10px; padding: 14px; }
  .footer { align-items: flex-start; flex-direction: column; }
  .social-links { right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); gap: 4px; padding: 4px; }
  .social-link { width: 44px; height: 44px; }
  .info { padding-top: 24px; }
}
@media (max-width: 400px) {
  #bag-dialog { padding: 15px; }
  .checkout-fields { grid-template-columns: minmax(0, 1fr); }
  .checkout-steps li { padding-inline: 5px; }
  .catalog-head { align-items: start; }
  .sort select { max-width: 137px; font-size: 12px; }
  .pickup > div:nth-child(2) { grid-column: 2 / -1; }
  .pickup .button { grid-column: 2; justify-self: start; }
  .detail-grid { grid-template-columns: 1fr; gap: 12px; }
  .detail-art { min-height: 120px; }
  .detail-art img { height: 118px; }
  .model-specs > div { font-size: 13px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
}
@media (hover: none) and (pointer: coarse) {
  .hero-art img { animation: duo-sway 4.8s ease-in-out; }
}
@keyframes duo-sway {
  0%, 100% { transform: translate3d(0, 0, 0); }
  26% { transform: translate3d(-12px, -4px, 0) rotate(-2deg); }
  72% { transform: translate3d(12px, -2px, 0) rotate(2deg); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .hero.is-tracking::before { opacity: 0; }
  .hero-art img { animation: none; transform: none; }
}
