/* Zooland — стили темы. Основа: скилл shop-design (tokens + components), акцент zooland.
   Порядок: шрифты → токены → база → компоненты → страницы → WooCommerce. */

/* ---------- 1. Шрифты (self-host, только нужные подмножества) ---------- */
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Inter; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(../fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- 2. Токены ---------- */
:root {
  --accent: #f4571a;            /* оранжевый zooland */
  --accent-ink: #c2410c;        /* оранжевый для текста на белом: контраст 5.2:1 */
  --on-accent: #151515;         /* на оранжевом — тёмный текст: 5.3:1 (белый даёт 3.4) */
  --action: #151515;
  --on-action: #ffffff;
  --accent-deep: color-mix(in oklab, var(--accent) 80%, black);
  --accent-wash: color-mix(in oklab, var(--accent) 8%, white);
  --accent-wash-strong: color-mix(in oklab, var(--accent) 16%, white);
  --accent-band: color-mix(in oklab, var(--accent) 18%, white);
  --focus-ring: color-mix(in oklab, var(--accent) 45%, transparent);
  --action-hover: #3a3a3a;

  --bg: #ffffff; --surface: #ffffff; --surface-2: #f5f5f5; --surface-3: #f7f6f3; --price-panel: #f7f5f5;
  --line: #e8e8e8; --line-firm: #c9cdc4;
  --text: #151515; --text-soft: #333333; --muted: #5f6368;
  --inverse-bg: #151515; --inverse-text: #ffffff;
  --sale: #c20017; --urgent: #c62828; --success: #2e7d32; --warning: #b26a00;

  --font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-xs: 12px; --fs-sm: 14px; --fs-base: 16px; --fs-lg: 20px; --fs-xl: 28px;
  --fs-pdp-title: 32px; --fs-section: 40px; --lh-tight: 1.25; --lh-base: 1.5;

  --r-xs: 3px; --r: 10px; --r-lg: 12px; --r-pill: 24px;
  --shadow-pop: 0 4px 8px rgba(31, 31, 27, .10); --shadow-drawer: 0 0 40px rgba(0, 0, 0, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);

  --container: 1400px; --gutter: 24px; --section-gap: 64px; --sidebar: 240px; --grid-gap: 24px; --header-h: 129px;
}
@media (max-width: 767px) {
  :root { --gutter: 16px; --section-gap: 40px; --grid-gap: 12px; --fs-section: 26px; --fs-pdp-title: 22px; --header-h: 112px; }
}

/* ---------- 3. База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--font); font-size: var(--fs-base); line-height: var(--lh-base); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
h1, h2, h3, h4 { margin: 0 0 .5em; color: var(--text); line-height: var(--lh-tight); }
h2 { font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color .15s var(--ease); }
a:hover { color: var(--accent-ink); }
.link { color: var(--text); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
svg { flex-shrink: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; left: 12px; top: 12px; z-index: 300; width: auto; height: auto; clip: auto; padding: 10px 16px; background: var(--text); color: var(--bg); border-radius: var(--r); }
ul.plain { list-style: none; margin: 0; padding: 0; }
.nowrap { white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; } }

/* ---------- 4. Шапка ---------- */
.announce { background: var(--inverse-bg); color: var(--inverse-text); font-size: 13px; font-weight: 600; text-align: center; padding: 4px var(--gutter); line-height: 16px; }
.announce a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.announce b { color: #ffb38f; font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); }
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 6px 16px rgba(0,0,0,.04); }
.header-main { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-grid; justify-items: center; color: #2b2a33; line-height: 1; }
.logo:hover { color: #2b2a33; }
.logo-word { font-size: 30px; font-weight: 500; letter-spacing: .14em; transform: scaleX(.86); padding: 3px 4px 2px; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.logo-word i { font-style: normal; color: var(--accent); }
.logo-sub { margin-top: 4px; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.header-search { position: relative; max-width: 680px; width: 100%; }
.header-search input { width: 100%; height: 44px; padding: 0 16px 0 46px; background: var(--surface-2); border: 1px solid transparent; border-radius: var(--r-pill); font: inherit; font-size: var(--fs-base); color: var(--text); }
.header-search input::placeholder { color: var(--muted); }
.header-search input:focus { background: var(--surface); border-color: var(--line-firm); outline: none; box-shadow: 0 0 0 3px var(--focus-ring); }
.header-search > svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.header-contact { display: grid; line-height: 1.2; text-align: right; }
.header-contact a { font-weight: 700; white-space: nowrap; }
.header-contact small { color: var(--muted); font-size: var(--fs-xs); }
.header-icons { display: flex; gap: 6px; align-items: center; }
.icon-btn { position: relative; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: none; border: 0; cursor: pointer; color: var(--text); }
.icon-btn:hover { background: var(--surface-2); color: var(--text); }
.icon-btn .count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--accent); color: var(--on-accent); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; }
.icon-btn .count:empty, .icon-btn .count[data-count="0"] { display: none; }
.menu-btn { display: none; }
.header-nav { position: relative; display: flex; align-items: center; gap: 26px; height: 49px; border-top: 1px solid var(--line); }
.header-nav > .nav-item > a, .header-nav > a, .all-cats { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 49px; font-size: var(--fs-base); color: var(--text-soft); white-space: nowrap; }
.header-nav > .nav-item > a::after, .header-nav > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: transparent; transition: background .15s var(--ease); }
.header-nav > .nav-item:hover > a, .header-nav > .nav-item:focus-within > a, .header-nav > a:hover, .header-nav a[aria-current="page"] { color: var(--text); }
.header-nav > .nav-item:hover > a::after, .header-nav > .nav-item:focus-within > a::after, .header-nav > a:hover::after, .header-nav a[aria-current="page"]::after { background: var(--text); }
.all-cats { font-weight: 700; color: var(--text); background: none; border: 0; cursor: pointer; padding: 0; }
.header-nav .deals { color: var(--sale); font-weight: 600; }
.header-nav .push { margin-left: auto; }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 16px 24px rgba(0,0,0,.08); padding: 28px 0 32px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity .15s var(--ease), transform .15s var(--ease), visibility 0s linear .15s; }
.nav-item:hover > .mega, .nav-item:focus-within > .mega { visibility: visible; opacity: 1; transform: none; transition-delay: .08s, .08s, 0s; }
.mega-grid { display: flex; flex-wrap: wrap; gap: 28px; }
.mega-grid .circle { width: 128px; }
.mega-grid .circle-img { width: 110px; height: 110px; margin: 0 auto; }
.mega-all { display: inline-block; margin-top: 18px; }

@media (max-width: 1279px) { .header-nav .push, .header-nav .push ~ a { display: none; } }
@media (max-width: 1199px) { .header-contact { display: none; } }
@media (max-width: 1023px) {
  .header-main { grid-template-columns: auto 1fr auto; grid-template-rows: 56px auto; height: auto; gap: 0 8px; }
  .menu-btn { display: grid; }
  .logo { justify-self: start; }
  .logo-word { font-size: 24px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; max-width: none; padding-bottom: 10px; }
  .header-search > svg { top: calc(50% - 5px); }
  .header-nav { display: none; }
}
@media (max-width: 380px) { .logo-sub { display: none; } }

/* ---------- 5. Шторки ---------- */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(400px, 90vw); z-index: 100; background: var(--surface); box-shadow: var(--shadow-drawer); transform: translateX(-100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; display: flex; flex-direction: column; }
.drawer.is-right { inset: 0 0 0 auto; transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; transition: transform .25s var(--ease); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--line); }
.drawer-head .h { font-size: var(--fs-lg); font-weight: 700; margin: 0; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px 20px; overscroll-behavior: contain; }
.drawer-foot { padding: 16px 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), visibility 0s linear .2s; }
.scrim.is-open { opacity: 1; visibility: visible; transition: opacity .2s var(--ease); }
body.is-locked { overflow: hidden; }
.drawer-menu details { border-bottom: 1px solid var(--line); }
.drawer-menu summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; font-weight: 700; cursor: pointer; list-style: none; }
.drawer-menu summary::-webkit-details-marker { display: none; }
.drawer-menu summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid; border-bottom: 2px solid; transform: rotate(45deg); transition: transform .15s var(--ease); }
.drawer-menu details[open] summary::after { transform: rotate(-135deg); }
.drawer-menu ul { list-style: none; margin: 0 0 12px; padding: 0; }
.drawer-menu li a { display: flex; justify-content: space-between; padding: 9px 0; color: var(--text-soft); }
.drawer-menu li a small { color: var(--muted); }
.drawer-menu > a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 700; }
.drawer-contacts { margin-top: 20px; font-size: var(--fs-sm); color: var(--text-soft); display: grid; gap: 6px; }
.drawer-contacts a { font-weight: 700; color: var(--text); }

/* ---------- 6. Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: var(--r); font: inherit; font-size: 15px; font-weight: 700; line-height: 1.1; text-align: center; cursor: pointer; border: 1px solid transparent; transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), opacity .15s; }
.btn-primary { background: var(--action); color: var(--on-action); }
.btn-primary:hover { background: var(--action-hover); color: var(--on-action); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-deep); color: var(--on-accent); }
.btn-outline { background: var(--surface); color: var(--text); border-color: var(--text); }
.btn-outline:hover { background: var(--text); color: var(--bg); }
.btn-lg { height: 50px; font-size: 16px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: var(--fs-sm); }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .5; cursor: progress; }
.btn-close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.btn-close:hover { background: var(--surface-2); }

/* ---------- 7. Секции витрины ---------- */
.section { margin: var(--section-gap) 0; }
.section-head { text-align: center; max-width: 920px; margin: 0 auto 28px; }
.section-head h2 { font-size: var(--fs-section); font-weight: 700; line-height: 1.2; margin-bottom: 8px; letter-spacing: -.01em; }
.section-head p { color: var(--text-soft); margin: 0; }
.section--band { background: var(--surface-3); padding: 56px 0; margin: var(--section-gap) 0; }
.h1-band { background: var(--accent-band); padding: 36px var(--gutter); text-align: center; }
.h1-band h1 { font-size: var(--fs-xl); font-weight: 700; margin-bottom: 8px; }
.h1-band p { max-width: 980px; margin: 0 auto; color: var(--text-soft); }

/* Bento: баннеры собраны из настоящего текста и фото товаров; фото в потоке — ничего не наезжает */
.bento { display: grid; gap: 16px; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); grid-template-rows: repeat(2, minmax(190px, auto)); margin-top: 20px; }
.bento > :first-child { grid-row: 1 / 3; }
.bento-row { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 16px; }
.banner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 16px; overflow: hidden; border-radius: var(--r); background: var(--surface-2); padding: 24px; min-height: 170px; color: var(--text); }
.banner:hover { color: var(--text); }
.banner-text { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; align-self: stretch; min-width: 0; }
.banner .kicker { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink); }
.banner .t { font-size: 24px; font-weight: 700; line-height: 1.15; margin: 0; }
.banner p, .banner-text > span:not([class]) { margin: 0; color: var(--text-soft); font-size: var(--fs-sm); }
.banner .cta { margin-top: auto; padding-top: 8px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.banner-pics { display: flex; align-items: flex-end; }
.banner-pics img { width: 128px; height: 128px; object-fit: contain; background: #fff; border-radius: var(--r); box-shadow: var(--shadow-pop); transition: transform .4s var(--ease); }
.banner-pics img + img { margin-left: -28px; margin-bottom: 36px; }
.banner:hover .banner-pics img { transform: translateY(-4px); }
.banner--hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px; background: linear-gradient(135deg, var(--accent-band), #fff7f2 70%); padding: 40px; min-height: 400px; }
.banner--hero .t { font-size: clamp(30px, 3.2vw, 44px); letter-spacing: -.02em; }
.banner--hero .banner-text > p { font-size: var(--fs-base); }
.banner--hero .banner-pics { justify-content: center; }
.banner--hero .banner-pics img { width: min(220px, 50%); height: auto; aspect-ratio: 1; }
.banner--dark { background: var(--inverse-bg); color: var(--inverse-text); }
.banner--dark:hover { color: var(--inverse-text); }
.banner--dark .t, .banner--dark .banner-text > span:not([class]) { color: var(--inverse-text); }
.banner--dark .kicker { color: #ffb38f; }
.banner--wash { background: var(--accent-wash); }
.facts-inline { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 6px; font-size: var(--fs-sm); font-weight: 600; }
.facts-inline span { display: inline-flex; align-items: center; gap: 6px; }
@media (max-width: 1199px) { .banner:not(.banner--hero) .banner-pics img { width: 96px; height: 96px; } }
@media (max-width: 1023px) {
  .bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: none; }
  .bento > :first-child { grid-row: auto; grid-column: 1 / -1; }
  .banner--hero { min-height: 0; padding: 28px; }
}
@media (max-width: 767px) {
  .bento, .bento-row { grid-template-columns: minmax(0, 1fr); }
  .banner--hero { grid-template-columns: minmax(0, 1fr); padding: 22px 20px; }
  .banner--hero .banner-pics img { width: 140px; }
  .banner { padding: 20px; min-height: 0; }
}

/* Кружки категорий и брендов */
.circles { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; justify-content: safe center; }
.circles::-webkit-scrollbar { display: none; }
.circle { flex: 0 0 auto; width: 132px; text-align: center; scroll-snap-align: start; color: var(--text); }
.circle-img { width: 132px; height: 132px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; transition: border-color .15s var(--ease), transform .2s var(--ease); }
.circle-img img { width: 74%; height: 74%; object-fit: contain; }
.circle-img .letter { font-size: 34px; font-weight: 700; color: var(--accent-ink); }
.circle-label { display: block; margin-top: 10px; font-size: 15px; font-weight: 600; line-height: 1.25; }
.circle-meta { display: block; font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.circle:hover .circle-img { border-color: var(--accent); transform: translateY(-2px); }
@media (max-width: 767px) { .circles { justify-content: flex-start; gap: 14px; } .circle { width: 92px; } .circle-img { width: 92px; height: 92px; } .circle-label { font-size: 13px; } }

/* ---------- 8. Карточка товара в сетке ---------- */
.product-grid { display: grid; gap: 32px var(--grid-gap); grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; }
@media (max-width: 1199px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px var(--grid-gap); } }
.p-card { position: relative; display: flex; flex-direction: column; background: var(--surface); min-width: 0; }
.p-card__media { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--r); background: #fff; overflow: hidden; display: grid; place-items: center; }
.p-card__media img { width: 88%; height: 88%; object-fit: contain; transition: transform .3s var(--ease); }
.p-card:hover .p-card__media img { transform: scale(1.04); }
.p-card__badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; z-index: 2; }
.badge { display: inline-block; padding: 2px 6px; border-radius: var(--r-xs); font-size: var(--fs-xs); font-weight: 700; line-height: 16px; }
.badge--sale { background: var(--sale); color: #fff; }
.badge--new { background: var(--accent); color: var(--on-accent); }
.badge--out { background: var(--surface-2); color: var(--muted); }
.p-card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card__brand { font-size: var(--fs-xs); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.p-card__title { font-size: 15px; font-weight: 400; line-height: 21px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; min-height: 63px; margin: 0; }
.p-card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.p-card__packs { display: flex; flex-wrap: wrap; gap: 4px; }
.p-card__packs span { padding: 1px 7px; border: 1px solid var(--line); border-radius: var(--r-xs); font-size: var(--fs-xs); color: var(--text-soft); line-height: 18px; }
.p-card__price { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.price { font-size: var(--fs-lg); font-weight: 700; color: var(--text); white-space: nowrap; }
.price-from { font-size: var(--fs-sm); font-weight: 400; }
.price-old { font-size: var(--fs-sm); color: var(--muted); text-decoration: line-through; white-space: nowrap; }
.price-save { font-size: var(--fs-sm); color: var(--sale); font-weight: 600; white-space: nowrap; }
.p-card__add { position: relative; z-index: 2; margin-top: 10px; }
.p-card__add .btn { width: 100%; height: 40px; font-size: var(--fs-sm); }
@media (hover: hover) and (min-width: 768px) {
  .p-card__add { opacity: 0; transform: translateY(4px); transition: opacity .15s var(--ease), transform .15s var(--ease); }
  .p-card:hover .p-card__add, .p-card:focus-within .p-card__add { opacity: 1; transform: none; }
}

/* Ряд-слайдер */
.rail { position: relative; }
.rail-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--grid-gap)) / 4); gap: var(--grid-gap); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; margin: 0; padding: 0 0 4px; }
.rail-track::-webkit-scrollbar { display: none; }
.rail-track > * { scroll-snap-align: start; }
@media (max-width: 1199px) { .rail-track { grid-auto-columns: calc((100% - 2 * var(--grid-gap)) / 3); } }
@media (max-width: 767px) { .rail-track { grid-auto-columns: 46%; } }
.rail-btn { position: absolute; top: 30%; z-index: 3; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-pop); display: grid; place-items: center; cursor: pointer; }
.rail-btn[disabled] { opacity: 0; pointer-events: none; }
.rail-btn.prev { left: -20px; } .rail-btn.next { right: -20px; }
@media (max-width: 1023px) { .rail-btn { display: none; } }

/* ---------- 9. Крошки, каталог ---------- */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 16px 0; font-size: var(--fs-sm); color: var(--text-soft); list-style: none; }
.breadcrumbs li { display: inline-flex; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: var(--muted); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }
@media (max-width: 767px) { .breadcrumbs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; } }

.cat-hero { text-align: center; padding: 4px 0 20px; }
.cat-hero h1 { font-size: 34px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.cat-hero .lead { color: var(--text-soft); max-width: 860px; margin: 0 auto; }
.cat-hero .facts-inline { justify-content: center; color: var(--text-soft); font-weight: 500; }
.cat-hero .facts-inline b { color: var(--text); }
.cat-circles { margin: 4px 0 24px; }
@media (max-width: 767px) { .cat-hero h1 { font-size: 24px; } }

.catalog { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); gap: 32px; align-items: start; }
.catalog--wide { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1023px) { .catalog { grid-template-columns: minmax(0, 1fr); } }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 12px; border-bottom: 1px solid var(--line); margin-bottom: 20px; font-size: var(--fs-sm); }
.toolbar .woocommerce-result-count { margin: 0; color: var(--muted); }
.toolbar .woocommerce-ordering { margin: 0 0 0 auto; }
.toolbar select, .select { height: 38px; padding: 0 32px 0 12px; border: 1px solid var(--line-firm); border-radius: var(--r); background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23151515' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center; font: inherit; font-size: var(--fs-sm); -webkit-appearance: none; appearance: none; cursor: pointer; }
.filter-toggle { display: none; }
@media (max-width: 1023px) { .filter-toggle { display: inline-flex; } }

/* Сайдбар фильтров (обёртка вокруг плагина Filter Everything) */
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; font-size: var(--fs-sm); }
.filters-head { display: none; }
.filters .wpc-filters-section, .filters .widget { border-bottom: 1px solid var(--line); padding: 14px 0; margin: 0; }
.filters .wpc-filter-title, .filters .widget-title { font-size: var(--fs-base); font-weight: 700; margin: 0 0 8px; color: var(--text); }
.filters ul { list-style: none; margin: 0; padding: 0; }
.filters li { margin: 0; }
.filters label { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; }
.filters input[type="checkbox"], .filters input[type="radio"] { width: 18px; height: 18px; accent-color: var(--accent); margin: 0; }
.filters .wpc-term-count, .filters .count { margin-left: auto; color: var(--muted); font-size: var(--fs-xs); }
.filters input[type="number"], .filters input[type="text"] { height: 36px; padding: 0 10px; border: 1px solid var(--line-firm); border-radius: var(--r); font: inherit; font-size: var(--fs-sm); width: 100%; }
.filters-apply { display: none; }
@media (max-width: 1023px) {
  .filters { position: fixed; inset: 0 0 0 auto; width: min(400px, 92vw); max-height: none; z-index: 100; background: var(--surface); padding: 0 20px; transform: translateX(100%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; box-shadow: var(--shadow-drawer); }
  .filters.is-open { transform: none; visibility: visible; transition: transform .25s var(--ease); }
  .filters-head { display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: var(--surface); padding: 12px 0; z-index: 2; border-bottom: 1px solid var(--line); }
  .filters-apply { display: block; position: sticky; bottom: 0; background: var(--surface); padding: 12px 0; }
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--surface); color: var(--text); border: 1px solid var(--line-firm); font-size: var(--fs-sm); }
.chip:hover { border-color: var(--text); color: var(--text); }
.chip small { color: var(--muted); }

.woocommerce-pagination ul, .pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin: 36px 0; padding: 0; list-style: none; }
.woocommerce-pagination a, .woocommerce-pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r); font-size: var(--fs-sm); }
.woocommerce-pagination a:hover { border-color: var(--text); }
.woocommerce-pagination .current { background: var(--text); color: var(--bg); border-color: var(--text); }
.empty { text-align: center; padding: 56px 16px; color: var(--text-soft); }
.empty .h { font-size: var(--fs-lg); font-weight: 700; color: var(--text); margin-bottom: 8px; }

/* ---------- 10. Карточка товара (PDP) ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; align-items: start; padding-bottom: 24px; }
@media (max-width: 1023px) { .pdp { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--r); background: #fff; display: grid; place-items: center; overflow: hidden; max-width: 560px; margin: 0 auto; }
.gallery-main img { width: 88%; height: 88%; object-fit: contain; }
.gallery-main .p-card__badges { top: 14px; left: 14px; }
.gallery-note { text-align: center; font-size: var(--fs-xs); color: var(--muted); margin-top: 8px; }
@media (max-width: 1023px) { .gallery { position: static; } .gallery-main { max-width: 420px; } }
.pdp-title { font-size: var(--fs-pdp-title); font-weight: 400; line-height: 1.25; margin-bottom: 8px; letter-spacing: -.01em; }
.pdp-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: var(--fs-sm); color: var(--text-soft); margin-bottom: 14px; }
.pdp-meta a { font-weight: 700; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.pdp-lead { color: var(--text-soft); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.step { margin-bottom: 18px; border: 0; padding: 0; margin-inline: 0; min-width: 0; }
.step-title { display: flex; align-items: center; gap: 8px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.step-num { width: 20px; height: 20px; border-radius: 50%; background: var(--text); color: var(--bg); display: grid; place-items: center; font-size: 11px; letter-spacing: 0; }
.variants { display: flex; flex-wrap: wrap; gap: 8px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; pointer-events: none; }
.variant span { display: block; min-width: 104px; padding: 8px 12px; border: 1px solid var(--line-firm); border-radius: var(--r); background: var(--surface); cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease); }
.variant b { display: block; font-size: 15px; font-weight: 700; }
.variant small { display: block; font-size: 12px; color: var(--muted); white-space: nowrap; }
.variant em { display: block; font-style: normal; font-size: 11px; color: var(--success); }
.variant span:hover { border-color: var(--text); }
.variant input:checked + span { background: var(--text); border-color: var(--text); color: var(--bg); }
.variant input:checked + span small, .variant input:checked + span em { color: color-mix(in oklab, var(--bg) 78%, transparent); }
.variant input:focus-visible + span { outline: 3px solid var(--focus-ring); outline-offset: 2px; }
.variant input:disabled + span { opacity: .5; text-decoration: line-through; cursor: not-allowed; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-firm); border-radius: var(--r); height: 50px; }
.qty button { width: 40px; height: 100%; background: none; border: 0; font-size: 20px; cursor: pointer; }
.qty input { width: 40px; text-align: center; border: 0; font: inherit; font-weight: 600; -moz-appearance: textfield; appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.price-panel { background: var(--price-panel); border-radius: var(--r-lg); padding: 16px 18px; margin: 20px 0 14px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.price-panel .price { font-size: 28px; }
.price-panel .note { width: 100%; font-size: var(--fs-sm); color: var(--muted); }
.pdp-cta { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.pdp-cta .btn-primary { height: 50px; font-size: 16px; }
.stock-line { margin-top: 10px; font-size: var(--fs-sm); font-weight: 600; color: var(--success); }
.stock-line.is-out { color: var(--muted); }
.pdp-perks { display: grid; gap: 10px; margin: 20px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); font-size: var(--fs-sm); list-style: none; }
.pdp-perks li { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.pdp-perks svg { color: var(--accent-ink); margin-top: 1px; }
.pdp-perks a { text-decoration: underline; }
.pdp-section { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.pdp-section > h2 { font-size: var(--fs-lg); font-weight: 700; margin: 0; }
@media (max-width: 767px) { .pdp-section { grid-template-columns: minmax(0, 1fr); gap: 12px; } }
.prose { max-width: 820px; color: var(--text-soft); font-size: 15px; line-height: 1.65; }
.prose h2, .prose h3 { font-size: 17px; font-weight: 700; color: var(--text); margin: 22px 0 8px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 18px; }
.prose li::marker { color: var(--accent); }
.prose table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose td, .prose th { border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; vertical-align: top; text-align: left; }
.prose th { color: var(--text); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin: 0; }
.spec-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: var(--fs-sm); }
.spec-row dt { color: var(--muted); } .spec-row dd { margin: 0; font-weight: 600; }
@media (max-width: 767px) { .specs { grid-template-columns: minmax(0, 1fr); } }
.buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); box-shadow: 0 -1px 0 var(--line), 0 -6px 16px rgba(0,0,0,.05); transform: translateY(110%); transition: transform .2s var(--ease); }
.buy-bar.is-visible { transform: none; }
.buy-bar .container { display: flex; align-items: center; gap: 16px; padding-top: 10px; padding-bottom: 10px; }
.buy-bar .label { flex: 1; min-width: 0; font-size: var(--fs-sm); color: var(--text-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buy-bar .price { font-size: 22px; }
.buy-bar .btn { height: 44px; }
@media (max-width: 767px) { .buy-bar .label { display: none; } .buy-bar .btn { flex: 1; } }

/* ---------- 11. FAQ, факты, SEO-текст ---------- */
.faq { max-width: 920px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; font-weight: 400; color: var(--accent-ink); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--text-soft); margin: 0; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.facts li { background: var(--surface); border-radius: var(--r-lg); padding: 24px; }
.facts b { display: block; font-size: 32px; line-height: 1.1; letter-spacing: -.02em; margin-bottom: 6px; }
.facts b small { font-size: 18px; }
.facts span { color: var(--text-soft); font-size: var(--fs-sm); }
@media (max-width: 1023px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .facts { gap: 12px; } .facts li { padding: 16px; } .facts b { font-size: 24px; } }
.seo-text { max-width: 920px; margin: 0 auto; color: var(--text-soft); }
.seo-text h2 { font-size: 26px; text-align: center; margin-bottom: 16px; color: var(--text); }
.more-text { max-width: 920px; margin: 0 auto; }

/* ---------- 12. Мини-корзина, корзина ---------- */
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.cart-line .t { font-size: var(--fs-sm); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cart-line .v { font-size: var(--fs-xs); color: var(--muted); margin-top: 2px; }
.cart-line .row { display: flex; align-items: center; gap: 12px; margin-top: 8px; }
.cart-line .qty { height: 32px; }
.cart-line .qty button { width: 28px; font-size: 16px; }
.cart-line .qty input { width: 30px; font-size: var(--fs-sm); }
.cart-line .remove { font-size: var(--fs-xs); color: var(--muted); text-decoration: underline; background: none; border: 0; padding: 0; cursor: pointer; }
.cart-line .p { font-weight: 700; white-space: nowrap; }
.free-ship { font-size: var(--fs-sm); margin: 14px 0 4px; }
.free-ship .bar { height: 6px; border-radius: 3px; background: var(--surface-2); overflow: hidden; margin-top: 6px; }
.free-ship .bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .3s var(--ease); }
.totals { display: flex; justify-content: space-between; font-size: var(--fs-lg); font-weight: 700; }
.mini-empty { text-align: center; padding: 48px 0; color: var(--text-soft); }
.toast { position: fixed; top: calc(var(--header-h) + 12px); right: 16px; z-index: 120; background: var(--text); color: var(--bg); border-radius: var(--r); padding: 12px 16px; font-size: var(--fs-sm); box-shadow: var(--shadow-pop); opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease), transform .2s var(--ease); pointer-events: none; }
.toast.is-visible { opacity: 1; transform: none; }

/* ---------- 13. Поиск: выпадашка ---------- */
.search-pop { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: 8px; max-height: 70vh; overflow-y: auto; }
.search-pop[hidden] { display: none; }
.search-pop a.res { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r); }
.search-pop a.res:hover, .search-pop a.res[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.search-pop img { width: 48px; height: 48px; object-fit: contain; }
.search-pop .t { font-size: var(--fs-sm); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.search-pop .p { font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.search-pop .all { display: block; padding: 10px 8px 4px; font-weight: 700; font-size: var(--fs-sm); text-decoration: underline; }
.search-pop .none { padding: 12px 8px; color: var(--muted); font-size: var(--fs-sm); }

/* ---------- 14. Страницы-тексты ---------- */
.page-narrow { max-width: 820px; margin: 0 auto; padding-bottom: 24px; }
.page-narrow h1 { font-size: 34px; margin-bottom: 18px; }
.page-narrow .entry { font-size: 16px; line-height: 1.7; color: var(--text-soft); }
.page-narrow .entry h2 { font-size: 22px; color: var(--text); margin: 32px 0 10px; }
.page-narrow .entry table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; }
.page-narrow .entry td, .page-narrow .entry th { border-bottom: 1px solid var(--line); padding: 10px 12px 10px 0; text-align: left; vertical-align: top; }
.page-narrow .entry th { color: var(--text); width: 45%; font-weight: 600; }
.info-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.info-cards > div { background: var(--surface-2); border-radius: var(--r-lg); padding: 20px; }
.info-cards span { display: block; font-size: var(--fs-sm); color: var(--muted); }
.info-cards b { display: block; font-size: 20px; color: var(--text); }
.wc-page { padding-bottom: 24px; }
.wc-page > h1 { font-size: 30px; margin: 4px 0 20px; }
.woocommerce:has(> .woocommerce-cart-form) > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
@media (max-width: 600px) { .info-cards { grid-template-columns: minmax(0, 1fr); } }
.brand-index { columns: 4 200px; column-gap: 32px; }
.brand-index a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); break-inside: avoid; }
.brand-index small { color: var(--muted); }

/* ---------- 15. Футер ---------- */
.site-footer { background: var(--surface-2); color: var(--text-soft); margin-top: var(--section-gap); padding: 48px 0 24px; font-size: var(--fs-sm); }
.footer-cols { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr; gap: 32px; }
.footer-cols h2 { font-size: var(--fs-base); font-weight: 700; color: var(--text); margin-bottom: 12px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-cols a:hover { color: var(--text); text-decoration: underline; }
.footer-about p { margin: 12px 0 0; }
.footer-contacts a.phone { font-size: 18px; font-weight: 700; color: var(--text); }
.socials { display: flex; gap: 8px; margin-top: 12px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; background: var(--surface); display: grid; place-items: center; color: var(--text); }
.socials a:hover { background: var(--text); color: var(--bg); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
@media (max-width: 1023px) { .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 16px; } .footer-contacts { grid-column: 1 / -1; } }

/* ---------- 16. Плавающее ---------- */
.to-top { position: fixed; right: 16px; bottom: 16px; z-index: 30; width: 44px; height: 44px; border-radius: var(--r); background: var(--text); color: var(--bg); border: 0; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s linear .2s; }
.to-top.is-visible { opacity: 1; visibility: visible; transition: opacity .2s; }
body:has(.buy-bar.is-visible) .to-top { bottom: 80px; }

/* ---------- 17. WooCommerce: уведомления, корзина, оформление, кабинет ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--r); background: var(--surface-2); font-size: var(--fs-sm); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.woocommerce-error { background: #fdecec; color: #7a1010; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; height: 44px; padding: 0 20px; border-radius: var(--r); background: var(--action); color: var(--on-action); border: 0; font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; }
.woocommerce .button:hover { background: var(--action-hover); color: var(--on-action); }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; }
.woocommerce .button.alt, #place_order { width: 100%; height: 52px; font-size: 16px; }
.woocommerce form .form-row { display: grid; gap: 6px; margin: 0 0 14px; padding: 0; }
.woocommerce form .form-row label { font-size: var(--fs-sm); font-weight: 600; }
.woocommerce form .form-row .required { color: var(--sale); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-input-wrapper select, .coupon .input-text { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-firm); border-radius: var(--r); background: var(--surface); font: inherit; color: var(--text); }
.woocommerce form .form-row textarea { height: 96px; padding: 12px 14px; }
.woocommerce form .form-row :is(input, textarea, select):focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px var(--focus-ring); }
.woocommerce-invalid :is(input, select) { border-color: var(--urgent) !important; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 0 40px; align-items: start; }
form.checkout > :not(#order_review) { grid-column: 1; }
form.checkout > #order_review { grid-column: 2; grid-row: 1 / span 4; }
form.checkout #customer_details { display: grid; gap: 8px; }
form.checkout .woocommerce-additional-fields h3 { display: none; }
form.checkout h3 { font-size: var(--fs-lg); display: flex; align-items: center; gap: 10px; margin: 0 0 16px; }
#order_review { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface-2); border-radius: var(--r-lg); padding: 24px; }
#order_review_heading { display: none; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: 16px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table th:last-child { text-align: right; }
.woocommerce-checkout-review-order-table .order-total { font-size: var(--fs-lg); }
#shipping_method { list-style: none; margin: 0; padding: 0; }
.wc_payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.wc_payment_method { padding: 12px 14px; border: 1px solid var(--line-firm); border-radius: var(--r); background: var(--surface); }
.wc_payment_method .payment_box { font-size: var(--fs-sm); color: var(--muted); margin-top: 6px; }
.woocommerce-terms-and-conditions-wrapper { font-size: var(--fs-sm); margin-bottom: 14px; }
.woocommerce-form__label-for-checkbox { display: flex !important; gap: 10px; align-items: flex-start; }
.woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; accent-color: var(--accent); margin-top: 2px; }
.woocommerce-cart-form { min-width: 0; }
.woocommerce:has(> .woocommerce-cart-form) { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 40px; align-items: start; }
.shop_table.cart { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.shop_table.cart th { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.shop_table.cart td { padding: 14px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.shop_table.cart .product-thumbnail img { width: 72px; height: 72px; object-fit: contain; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.shop_table.cart .product-remove a { font-size: 22px; color: var(--muted); }
.shop_table.cart .quantity input { width: 64px; height: 40px; text-align: center; border: 1px solid var(--line-firm); border-radius: var(--r); font: inherit; }
.shop_table.cart td.actions { text-align: right; }
.shop_table.cart td.actions .coupon { display: inline-flex; gap: 8px; float: left; }
.cart-collaterals { position: sticky; top: calc(var(--header-h) + 16px); background: var(--surface-2); border-radius: var(--r-lg); padding: 24px; }
.cart_totals h2 { font-size: var(--fs-lg); }
.cart_totals table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); margin-bottom: 16px; }
.cart_totals th, .cart_totals td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.cart_totals td { text-align: right; }
.wc-proceed-to-checkout .button { width: 100%; height: 52px; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { display: none; }
@media (max-width: 1023px) {
  form.checkout, .woocommerce:has(> .woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); }
  form.checkout > #order_review { grid-column: 1; grid-row: auto; }
  #order_review, .cart-collaterals { position: static; }
  .shop_table.cart thead { display: none; }
  .shop_table.cart tr.cart_item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .shop_table.cart tr.cart_item td { border: 0; padding: 0; }
  .shop_table.cart .product-thumbnail { grid-row: 1 / 4; }
  .shop_table.cart .product-remove { grid-column: 3; grid-row: 1; }
  .shop_table.cart .product-price { display: none; }
  .shop_table.cart td.actions .coupon { float: none; display: flex; margin-bottom: 10px; }
}
.woocommerce-order { max-width: 760px; margin: 0 auto; }
.woocommerce-thankyou-order-received { font-size: var(--fs-lg); font-weight: 700; }
.woocommerce-order-overview { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.woocommerce-order-overview li { background: var(--surface-2); border-radius: var(--r); padding: 12px 16px; font-size: var(--fs-sm); }
.checkout-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; border-bottom: 1px solid var(--line); }
.checkout-header .secure { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--text-soft); }
.checkout-header .phone { font-weight: 700; }
@media (max-width: 600px) { .checkout-header .secure { display: none; } }
