/* Ікорка — стилі сайту v3, за мотивами yumi.market:
   біла сторінка, Montserrat, чорні кнопки, зелені/темні мітки, слайдер на всю ширину,
   плитки категорій встик, картки з тінню, що розкриваються при наведенні. */
:root {
  --ink: #000;
  --text: #1C1917;
  --muted: #6B7280;
  --navy: #060C3B;
  --green: #65A30D;
  --red: #EF4444;
  --roe: #E2402B;
  --grey: #F3F4F6;
  --zinc: #F4F4F5;
  --line: #E5E7EB;
  --tile: #F3F0EC;
  --shadow: 0 3px 12px rgba(15, 23, 42, .08);
  --shadow-hover: 0 8px 24px rgba(15, 23, 42, .14);
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --r: 12px;
  --wrap: 1440px;
  --gut: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 120px; }
body { margin: 0; background: #fff; color: var(--ink); font: 400 16px/1.5 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; border-radius: 6px; }
.ic { flex: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 820px; }
.center { text-align: center; margin: 0 auto; }
.center img { margin: 0 auto; }
.muted { color: var(--muted); }
.lead { font-size: 17px; color: #44403C; }
.empty { color: var(--muted); padding: 24px 0; }
.page { padding-top: 22px; padding-bottom: 80px; }
.page-h { font-size: 24px; font-weight: 600; margin: 22px 0 22px; }
.section { margin-top: 64px; }
.box { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); }
.empty-box { background: var(--grey); border-radius: var(--r); padding: 48px 24px; text-align: center; color: #44403C; display: grid; justify-items: center; gap: 4px; }

/* ---------- Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 1px solid var(--ink); border-radius: var(--r); padding: 11px 22px; cursor: pointer;
  background: var(--ink); color: #fff; font: 500 16px/1.25 var(--sans); white-space: nowrap;
  transition: background .15s, color .15s;
}
.btn:hover { background: #262626; }
.btn-big { min-height: 58px; padding: 0 28px; }
.btn-line, .btn-outline { background: #fff; color: var(--ink); }
.btn-line:hover, .btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: #D4D4D8; }
.btn-outline:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: wait; }
.icon-btn { display: inline-grid; place-items: center; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; border-radius: 10px; position: relative; font-size: 28px; line-height: 1; }
.icon-btn:hover { background: var(--grey); }
.more { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; }
.more:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Промо, верхня смуга */
.promo { display: block; background: var(--roe); color: #fff; text-align: center; padding: 7px 16px; font-size: 13px; font-weight: 500; }
.promo:hover { text-decoration: underline; }
.topbar { background: #000; color: #fff; font-size: 14px; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 46px; }
.topbar-phones { display: flex; align-items: center; gap: 32px; }
.tb-phone { display: inline-flex; align-items: center; gap: 6px; }
.tb-phone > a:first-child { margin-right: 4px; }
.tb-phone > a:first-child:hover { text-decoration: underline; }
.dot { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; flex: none; }
.dot-tg { background: #2AABEE; }
.dot-vb { background: #7360F2; }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.tb-hours { color: #A1A1AA; }
.lang-select { position: relative; }
.lang-select summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.lang-select summary::-webkit-details-marker { display: none; }
.flag { width: 22px; height: 15px; border-radius: 2px; background: linear-gradient(#0057B7 50%, #FFD700 50%); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 50; background: #fff; color: #000; border-radius: 10px; box-shadow: var(--shadow-hover); padding: 6px; display: grid; min-width: 150px; }
.lang-menu a { padding: 8px 12px; border-radius: 6px; }
.lang-menu a:hover, .lang-menu a[aria-current] { background: var(--grey); }

/* ---------- Шапка */
.head { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 1px 0 var(--line); }
.head-row { display: flex; align-items: center; gap: 40px; height: 100px; }
.logo { display: inline-flex; flex-direction: column; align-items: center; flex: none; line-height: 1; }
.logo-word { font: 600 36px/0.95 var(--serif); letter-spacing: .02em; text-transform: uppercase; }
.logo-i { position: relative; display: inline-block; }
.logo-dot { position: absolute; left: 50%; top: -.26em; width: .27em; height: .27em; margin-left: -.13em; border-radius: 50%;
  background: radial-gradient(circle at 34% 30%, #FFD0B5 0 16%, var(--roe) 52%, #9E2312 100%); }
.logo-sub { margin-top: 5px; padding: 2px 5px 1px; border: 1px solid currentColor; font: 500 8.5px/1.2 var(--sans); letter-spacing: .32em; text-transform: uppercase; padding-left: calc(5px + .32em); }
.burger { display: none; }
.nav { display: flex; align-items: center; gap: 32px; flex: 1; min-width: 0; }
.nav-link { display: inline-flex; align-items: center; gap: 8px; font: 400 16px/1.5 var(--sans); text-transform: uppercase; background: none; border: 0; padding: 6px 0; cursor: pointer; white-space: nowrap; }
.nav-link:hover, .nav-link[aria-expanded="true"] { text-decoration: underline; text-underline-offset: 6px; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 24px 40px rgba(15,23,42,.12); border-top: 1px solid var(--line); }
.mega-row { display: grid; grid-template-columns: 260px 1fr; gap: 40px; padding-top: 28px; padding-bottom: 32px; }
.mega-list { list-style: none; padding: 0; margin: 0; display: grid; align-content: start; gap: 4px; }
.mega-list a { display: block; padding: 8px 0; }
.mega-list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.mega-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; }
.mega-tiles a { display: grid; gap: 10px; text-align: center; text-transform: uppercase; font-size: 14px; }
.mega-tiles a > span:last-child { display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.mega-img { background: var(--tile); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.mega-img img { width: 62%; transition: transform .4s; }
.mega-tiles a:hover img { transform: scale(1.06) rotate(6deg); }
.search { display: flex; align-items: center; gap: 10px; width: 240px; height: 42px; padding: 0 14px; background: var(--zinc); border-radius: 8px; border: 1px solid transparent; color: #71717A; }
.search:focus-within { border-color: var(--ink); background: #fff; }
.search input { flex: 1; min-width: 0; border: 0; background: none; height: 100%; outline: none; font-size: 13px; font-weight: 500; color: var(--ink); }
.search input::placeholder { color: #A1A1AA; }
.search input::-webkit-search-cancel-button { display: none; }
.head-icons { display: flex; align-items: center; gap: 8px; }
.head-call { display: none; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--ink); color: #fff; font: 600 10.5px/18px var(--sans); text-align: center; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* ---------- Мобільне меню */
.drawer { position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,.4); }
.drawer-panel { position: absolute; inset: 0 auto 0 0; width: min(360px, 88vw); background: #fff; display: flex; flex-direction: column; overflow-y: auto; padding: 16px 20px 28px; animation: slide-in .22s ease both; }
@keyframes slide-in { from { transform: translateX(-100%); } }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.drawer-nav { display: grid; }
.drawer-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.drawer-contacts { display: grid; gap: 8px; margin-top: 24px; font-size: 15px; }
.drawer-contacts a { font-weight: 600; }
.drawer-contacts span { color: var(--muted); }
.drawer-langs { display: inline-flex; margin-top: 8px; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; justify-self: start; }
.drawer-langs a { padding: 8px 18px; font-weight: 500; }
.drawer-langs a[aria-current] { background: #000; color: #fff; }

/* ---------- Хлібні крихти */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 15px; color: #57534E; }
.crumbs a { color: #000; }
.crumbs a:hover { text-decoration: underline; }
.crumbs .ic { color: #A8A29E; }

/* ---------- Слайдер (на всю ширину, як у yumi) */
.slider { position: relative; overflow: hidden; background: var(--tile); }
.slides { display: flex; transition: transform .6s cubic-bezier(.4,0,.2,1); }
.slide { flex: 0 0 100%; display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 520px; padding: 0 var(--gut); position: relative; overflow: hidden; }
.slide-main { background: linear-gradient(100deg, #EFE5DA 0%, #F6F0E9 60%, #F2EBE3 100%); }
.slide-promo { background: linear-gradient(100deg, #F6DED3 0%, #FAEDE6 60%, #F5E2D9 100%); }
.slide-sets { background: linear-gradient(100deg, #E7EAEC 0%, #F2F3F4 60%, #EAECEE 100%); }
.slide-art { position: relative; height: 100%; min-height: 520px; }
.slide .tin { position: absolute; filter: drop-shadow(0 26px 30px rgba(70, 40, 20, .28)); }
.tin-a { width: min(420px, 62%); left: 18%; top: 50%; transform: translateY(-52%) rotate(-8deg); }
.tin-b { width: min(250px, 36%); left: 62%; top: 52%; }
.tin-c { width: min(170px, 25%); left: 6%; top: 12%; }
.slide-text { text-align: center; padding: 40px 0; }
.slide-title { font: italic 600 clamp(64px, 8vw, 128px)/.95 var(--serif); color: #7A3E22; margin: 0 0 18px; letter-spacing: -.01em; }
.slide-promo .slide-title { color: #A62A12; font-style: normal; }
.slide-sets .slide-title { color: #23272B; }
.slide-sub { font: 300 clamp(20px, 2.4vw, 34px)/1.25 var(--sans); text-transform: uppercase; color: #3F3F46; max-width: 18em; margin: 0 auto; letter-spacing: .01em; }
.slider-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.7); display: grid; place-items: center; cursor: pointer; }
.slider-arrow:hover { background: #fff; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }
.slider-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; background: rgba(6,12,59,.25); cursor: pointer; }
.slider-dots button[aria-current] { background: var(--navy); }

/* ---------- Плитки категорій (встик, підпис капсом зі стрілкою) */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin-top: 4px; }
.tile-amber .tile-img { background: #F6EFE0; }
.tile { display: flex; flex-direction: column; }
.tile-img { display: grid; place-items: center; aspect-ratio: 1; background: var(--tile); overflow: hidden; }
.tile-red .tile-img { background: #F5E9E3; }
.tile-black .tile-img { background: #EDEEEF; }
.tile-tobiko .tile-img { background: #EEF1E6; }
.tile-img img { width: 64%; filter: drop-shadow(0 18px 22px rgba(60,40,20,.2)); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.tile:hover .tile-img img { transform: scale(1.05) rotate(8deg); }
.tile-label { display: inline-flex; justify-content: center; align-items: center; gap: 8px; padding: 18px 8px 26px; font-size: 16px; text-transform: uppercase; text-align: center; }
.tile:hover .tile-label { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- Заголовки секцій */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sec-head h2 { margin: 0; font-size: 24px; }

/* ---------- Сітка і картка (yumi) */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); transition: box-shadow .2s; }
.card-inner { padding: 12px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.card-top { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 500; color: var(--text); min-height: 20px; }
.card-img { display: block; padding: 6px 12% 10px; }
.card-img img { aspect-ratio: 1; object-fit: contain; transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-img img { transform: rotate(10deg) scale(1.03); }
.card-img img:not([src^="/roe/"]) { object-fit: contain; mix-blend-mode: multiply; }
.card-body { display: flex; flex-direction: column; flex: 1; gap: 8px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { display: inline-block; padding: 4px 10px; border-radius: 12px; font-size: 14px; line-height: 20px; color: #fff; background: var(--green); }
.badge-hit { background: var(--navy); }
.badge-sale { background: var(--red); }
.card-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; color: #292524; }
.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: #44403C; }
.stock::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #84CC16; }
.stock-off { color: var(--muted); }
.stock-off::before { background: #D4D4D8; }
.card-title { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
.card-title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.price-rows { margin-top: auto; display: grid; gap: 2px; padding-top: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; }
.price-row b { font-size: 18px; font-weight: 600; }
.price-row b.is-sale { color: var(--red); }
.price-old { color: var(--muted); }
.price-opt span { color: #44403C; }
.price-opt b { color: var(--green); }
.opt-hint { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.opt-hint.on { color: #3F6212; }
.price-old s { font-size: 14px; }
.card-actions { display: flex; flex-direction: column; gap: 10px; padding: 0 16px 16px; }
.qty { display: flex; align-items: center; justify-content: space-between; height: 44px; border: 1px solid #D4D4D8; border-radius: var(--r); background: #fff; }
.qty button { width: 48px; height: 100%; border: 0; background: none; font-size: 22px; font-weight: 300; cursor: pointer; border-radius: var(--r); }
.qty button:hover { background: var(--grey); }
.qty input { flex: 1; min-width: 0; width: 40px; border: 0; text-align: center; font-size: 16px; background: none; -moz-appearance: textfield; padding: 0; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.card-actions .btn { height: 44px; }
/* На пристроях з мишею — дії з'являються під карткою при наведенні, як у yumi */
@media (hover: hover) and (pointer: fine) {
  .card-actions { position: absolute; left: 0; right: 0; top: calc(100% - 8px); background: #fff; border-radius: 0 0 var(--r) var(--r); padding-top: 8px;
    box-shadow: 0 14px 20px -6px rgba(15,23,42,.16); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; z-index: 6; }
  .card:hover, .card:focus-within { z-index: 7; box-shadow: var(--shadow-hover); }
  .card:hover .card-actions, .card:focus-within .card-actions { opacity: 1; visibility: visible; transform: none; }
}

/* ---------- Каталог */
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin-bottom: 28px; padding-bottom: 2px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 8px; border-radius: 10px; background: var(--grey); white-space: nowrap; border: 1px solid transparent; }
.chip img { width: 28px; height: 28px; }
.chip:hover { border-color: #D4D4D8; }
.chip.on { background: #fff; border-color: var(--ink); }
.mobile-tools { display: none; }
.catalog { display: grid; grid-template-columns: 274px 1fr; gap: 32px; align-items: start; }
.filters { position: sticky; top: 120px; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 18px; }
.filters-head b { font-weight: 600; }
.filters-head a { font-size: 12px; font-weight: 500; }
.filters-head a:hover { text-decoration: underline; }
.filters-close, .filters-apply { display: none !important; }
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line); }
.fgroup h2 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.fgroup ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.chk { display: flex; align-items: center; gap: 12px; padding: 5px 0; font-size: 16px; }
.chk::before { content: ''; width: 18px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1.5px #3F3F46; flex: none; }
.chk.on::before { background: #000 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat; box-shadow: none; }
.chk:hover { text-decoration: underline; text-underline-offset: 3px; }
.cnt { color: #44403C; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.sort-pop { position: relative; }
.sort-pop summary { list-style: none; cursor: pointer; }
.sort-pop summary::-webkit-details-marker { display: none; }
.select { display: inline-flex; align-items: center; gap: 24px; height: 48px; padding: 0 14px; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.pop { position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; background: #fff; border-radius: 10px; box-shadow: var(--shadow-hover); padding: 6px 0; min-width: 230px; display: grid; }
.pop a { padding: 9px 20px; }
.pop a:hover, .pop a[aria-current] { background: var(--grey); }

/* ---------- Товар (yumi) */
.product { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: start; margin-top: 28px; }
.gallery { display: grid; grid-template-columns: 96px 1fr; gap: 24px; }
.thumbs { display: grid; align-content: start; gap: 10px; }
.thumb { display: block; border-radius: 10px; padding: 8px; box-shadow: inset 0 0 0 1px var(--line); }
.thumb.on { box-shadow: inset 0 0 0 1.5px #000; }
.gallery-main { position: relative; }
.gallery-main .card-top { font-size: 15px; }
.gallery-main img { width: 78%; margin: 18px auto 10px; }
.gallery-main img:not([src^="/roe/"]) { width: 88%; mix-blend-mode: multiply; }
.accordions { display: grid; gap: 12px; margin-top: 36px; }
.acc summary { list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 56px; padding: 0 20px; background: var(--grey); border-radius: 8px; cursor: pointer; font-size: 16px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .ic { transition: transform .2s; }
.acc[open] summary .ic { transform: rotate(180deg); }
.acc-body { padding: 16px 20px 6px; font-size: 15px; }
.acc-body ul { padding-left: 1.1em; margin: 0 0 14px; }
.acc-body p { margin-bottom: 6px; }
.acc-body a:hover { text-decoration: underline; }
.spec { margin: 0; padding: 12px 20px 4px; display: grid; gap: 10px; font-size: 15px; }
.spec div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; }
.spec dt { color: #44403C; }
.spec dd { margin: 0; color: #57534E; }
.spec a { text-decoration: underline; text-underline-offset: 3px; }
.product-right { position: sticky; top: 124px; display: grid; gap: 14px; }
.product-h { font-size: 30px; font-weight: 500; line-height: 1.2; margin: 0; }
.product-sku { margin: -4px 0 6px; }
.price-table { display: grid; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price-table .price-row { font-size: 15px; }
.price-table .price-row b { font-size: 22px; font-weight: 500; }
.pill { padding: 3px 12px; border-radius: 8px; background: var(--grey); font-size: 14px; font-weight: 500; color: #292524; }
.pill-off { color: var(--muted); }
.buy-box { display: grid; gap: 12px; margin-top: 6px; }
.qty-wide { height: 58px; }
.btn-buy { width: 100%; }
.product-short { color: #44403C; margin: 6px 0 0; }
.share { display: flex; gap: 10px; margin-top: 8px; }
.share-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--navy); color: #fff; border: 0; cursor: pointer; }
.share-btn:hover { background: #121A5C; }

/* ---------- SEO-текст унизу сторінок */
.seo { margin-top: 72px; }
.seo-body { position: relative; max-height: 190px; overflow: hidden; max-width: 900px; color: #44403C; font-size: 15px; }
.seo-body::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(rgba(255,255,255,0), #fff); }
.seo.open .seo-body { max-height: none; }
.seo.open .seo-body::after { display: none; }
.seo-body h2 { font-size: 20px; font-weight: 500; color: #000; margin-top: 1.2em; }
.seo-body h2:first-child { margin-top: 0; }
.seo-toggle { margin-top: 10px; border: 0; background: none; padding: 0; font: 500 15px var(--sans); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }

/* ---------- Текстові сторінки */
.prose { max-width: 72ch; font-size: 16px; line-height: 1.7; color: #1C1917; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font-size: 20px; margin-top: 1.6em; }
.prose h3 { font-size: 17px; margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.contact-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 32px 0 0; }
.contact-list div { background: var(--grey); border-radius: var(--r); padding: 18px 20px; display: grid; gap: 4px; }
.contact-list dt { font-size: 13px; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 16px; font-weight: 600; }

/* ---------- Відгуки */
.reviews { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.reviews li { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 24px; }
.reviews p { margin: 10px 0 14px; }
.reviews footer { font-size: 14px; color: var(--muted); }
.reviews footer b { color: #000; font-weight: 600; }
.stars { color: #000; letter-spacing: 2px; }
.stars-off { color: #D4D4D8; }
.reviews-layout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: start; }
.reviews-layout .reviews { grid-template-columns: 1fr; }

/* ---------- Блог */
.posts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px 24px; }
.posts a { display: flex; flex-direction: column; height: 100%; }
.post-img { display: block; aspect-ratio: 4 / 3; background: var(--tile); overflow: hidden; margin-bottom: 14px; }
.post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post-img .post-art { object-fit: contain; padding: 14%; }
.posts a:hover .post-img img { transform: scale(1.04); }
.posts time { font-size: 13px; color: var(--muted); }
.posts h2 { font-size: 20px; font-weight: 500; margin: 4px 0 6px; }
.posts p { color: #44403C; font-size: 15px; }
.posts .more { margin-top: auto; text-transform: uppercase; font-size: 14px; }
.post-h { margin-top: 6px; font-size: 32px; font-weight: 500; }
.post-cover { border-radius: var(--r); margin: 20px 0 28px; width: 100%; }

/* ---------- Форми */
.form { display: grid; gap: 14px; padding: 28px; align-content: start; }
.form h2 { font-size: 20px; margin: 0 0 4px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: #44403C; }
.form input:not([type=radio]), .form textarea {
  width: 100%; border: 1px solid #D4D4D8; border-radius: 8px; padding: 12px 14px; font-size: 16px; color: #000; background: #fff;
}
.form input:focus, .form textarea:focus { outline: none; border-color: #000; }
.form input:user-invalid { border-color: var(--red); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.form legend { font-size: 14px; color: #44403C; margin-bottom: 6px; padding: 0; }
.choice { display: flex !important; flex-direction: row; align-items: center; gap: 10px !important; color: #000 !important; font-size: 15px !important; cursor: pointer; padding: 12px 14px; border-radius: 8px; border: 1px solid #D4D4D8; }
.choice:has(input:checked) { border-color: #000; }
.choice input { accent-color: #000; width: 18px; height: 18px; margin: 0; }
.rating { display: flex !important; flex-direction: row-reverse; justify-content: flex-end; gap: 2px !important; }
.rating legend { width: 100%; }
.rating input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.rating label { font-size: 30px; color: #D4D4D8; cursor: pointer; line-height: 1; }
.rating input:checked ~ label, .rating label:hover, .rating label:hover ~ label { color: #000; }
.rating input:focus-visible + label { outline: 2px solid var(--navy); border-radius: 4px; }
.form-msg { margin: 0; padding: 12px 14px; border-radius: 8px; background: #ECFCCB; color: #3F6212; font-size: 14px; }
.form-err { background: #FEE2E2; color: #B91C1C; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; }

/* ---------- Кошик */
.cart-layout { display: grid; grid-template-columns: 1fr 440px; gap: 32px; align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cart-item { display: grid; grid-template-columns: 96px 1fr auto; gap: 20px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item:first-child { border-top: 1px solid var(--line); }
.cart-item img { width: 96px; height: 96px; object-fit: contain; border-radius: 10px; background: var(--tile); padding: 8px; }
.cart-item h3 { margin: 0 0 4px; font-size: 16px; font-weight: 500; }
.cart-item h3 a:hover { text-decoration: underline; }
.cart-item .muted { font-size: 14px; }
.cart-item-right { display: flex; align-items: center; gap: 22px; }
.cart-item-right .qty { width: 140px; }
.cart-item-right b { font-size: 18px; font-weight: 600; min-width: 90px; text-align: right; }
.cart-remove { border: 0; background: none; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; padding: 4px 8px; border-radius: 6px; }
.cart-remove:hover { color: #000; background: var(--grey); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; padding: 22px 0; font-size: 18px; }
.cart-total b { font-size: 28px; font-weight: 600; }
.thanks { padding: 56px 0; }
.thanks-img { width: 140px; margin-bottom: 20px !important; }
.big404 { font: italic 600 140px/1 var(--serif); margin: 0; color: #7A3E22; }

/* ---------- Швидке замовлення */
.modal { border: 0; border-radius: 16px; padding: 32px; width: min(460px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(0,0,0,.25); }
.modal::backdrop { background: rgba(0, 0, 0, .45); }
.modal h2 { font-size: 24px; margin-bottom: 6px; }
.modal .form { padding: 0; margin-top: 10px; }
.modal-x { position: absolute; top: 12px; right: 12px; }
.modal-x button { border: 0; background: var(--grey); width: 38px; height: 38px; border-radius: 50%; font-size: 24px; line-height: 1; cursor: pointer; }

/* ---------- Тост */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 80; transform: translateX(-50%); display: flex; align-items: center; gap: 16px;
  background: #000; color: #fff; padding: 10px 10px 10px 20px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.25); font-size: 15px;
  animation: toast-in .25s ease both; max-width: calc(100vw - 32px); }
.toast a { color: #000; background: #fff; padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 500; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 16px); } }

/* ---------- Підвал (чорний, як у yumi) */
.foot { background: #000; color: #8B8B8F; padding: 60px 0 28px; margin-top: 96px; font-size: 15px; }
.foot .logo { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1fr 1.3fr 1.1fr 1fr 1fr; gap: 32px; }
.foot-h { font-size: 16px; font-weight: 500; color: #fff; margin-bottom: 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a:hover { color: #fff; }
.foot-phone { display: flex; align-items: center; gap: 6px; }
.foot-phone > a:first-child { color: #fff; margin-right: 4px; }
.socials { display: flex; gap: 18px; color: #fff; }
.socials a:hover { opacity: .7; }
.foot-bottom { border-top: 1px solid #27272A; margin-top: 44px; padding-top: 22px; font-size: 13px; color: #71717A; }

/* ---------- Нижня панель (мобільна) */
.tabbar { display: none; }

/* ---------- Адаптив */
@media (max-width: 1360px) {
  :root { --gut: 40px; }
  .head-row { gap: 28px; }
  .nav { gap: 24px; }
  .nav-link { font-size: 15px; }
  .search { width: 200px; }
}
@media (max-width: 1200px) {
  .nav-link .ic { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 1024px) {
  :root { --gut: 24px; }
  .topbar { display: none; }
  .nav { display: none; }
  .burger { display: inline-grid; margin-left: -8px; }
  .head-row { height: auto; flex-wrap: wrap; gap: 6px 10px; padding-top: 12px; padding-bottom: 14px; }
  .logo { margin-right: auto; }
  .logo-word { font-size: 30px; }
  .head-call { display: inline-grid; }
  .search { order: 5; width: 100%; height: 50px; background: #fff; border: 1px solid #D4D4D8; border-radius: 10px; }
  .search input { font-size: 16px; font-weight: 400; }
  .slide { grid-template-columns: 1fr; min-height: 0; padding: 0 var(--gut) 56px; }
  .slide-art { min-height: 300px; order: -1; }
  .slide-text { padding: 0; }
  .tin-a { width: min(300px, 58%); left: 20%; }
  .tin-b { width: min(180px, 34%); }
  .tin-c { width: min(120px, 22%); }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .mega-tiles { grid-template-columns: repeat(3, 1fr); }
  .catalog, .reviews-layout, .cart-layout, .product { grid-template-columns: 1fr; }
  .product-right { position: static; }
  .product-left { display: contents; }
  .gallery { order: 1; }
  .product-right { order: 2; }
  .accordions { order: 3; margin-top: 8px; }
  .product { gap: 24px; }
  .mobile-tools { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 24px; }
  .mobile-tools .btn, .mobile-tools summary { width: 100%; height: 50px; }
  .mobile-tools .pop { left: 0; right: auto; }
  .toolbar .sort-pop { display: none; }
  .filters { display: none; }
  .filters.open { display: block; position: fixed; inset: 0; z-index: 75; background: #fff; overflow-y: auto; padding: 18px var(--gut) 28px; }
  .filters.open .filters-close, .filters.open .filters-apply { display: inline-grid !important; }
  .filters.open .filters-apply { display: flex !important; width: 100%; margin-top: 24px; }
  .filters-head { gap: 16px; }
  .filters-head a { margin-left: auto; }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: #fff; border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 10px; font-size: 12px; color: #3F3F46; }
  .tabbar a[aria-current] { background: var(--grey); color: var(--navy); font-weight: 500; }
  .tab-ic { position: relative; display: block; }
  .tab-ic .cart-count { top: -6px; right: -10px; }
  body { padding-bottom: 72px; }
  .toast { bottom: 92px; }
  .foot { margin-top: 64px; }
}
@media (max-width: 640px) {
  :root { --gut: 16px; }
  .grid, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .card { box-shadow: none; }
  .card-inner { padding: 0; }
  .card-actions { padding: 12px 0 0; }
  .card-img { padding: 8px 6% 10px; }
  .card-top { font-size: 11.5px; }
  .card-row { flex-direction: column; align-items: flex-start; gap: 2px; font-size: 13px; }
  .card-title { font-size: 15px; }
  .price-row { font-size: 13px; }
  .price-row b { font-size: 16px; }
  .badge { font-size: 12.5px; padding: 3px 9px; }
  .qty button { width: 38px; }
  .slide-title { font-size: 64px; }
  .slide-sub { font-size: 19px; }
  .slide-art { min-height: 250px; }
  .slider-arrow { display: none; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .tile:last-child { grid-column: 1 / -1; }
  .tile:last-child .tile-img { aspect-ratio: 2 / 1; }
  .tile:last-child .tile-img img { width: 34%; }
  .tile-label { font-size: 13px; padding: 12px 6px 18px; }
  .page-h { font-size: 22px; margin: 16px 0; }
  .product-h { font-size: 24px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { display: none; }
  .spec div { grid-template-columns: 120px 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; gap: 14px; }
  .cart-item img { width: 72px; height: 72px; }
  .cart-item-right { grid-column: 1 / -1; justify-content: space-between; }
  .form { padding: 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
