/*
Theme Name: Elite Go Karts
Theme URI: https://elitegokarts.com
Author: Elite Go Karts
Description: Custom WooCommerce theme for Elite Go Karts — kart parts and racing gear.
Version: 1.0.0
Requires PHP: 8.0
Text Domain: elitegokarts
*/

/* ── Tokens ─────────────────────────────────────────────── */
:root {
  --ink: #0B0F14;
  --asphalt: #141A22;
  --steel: #1E2631;
  --steel-2: #2A3442;
  --line: #E5E7EB;
  --line-2: #D1D5DB;
  --soft: #F4F5F7;
  --paper: #FFFFFF;
  --text: #0F172A;
  --muted: #64748B;
  --red: #E3132B;
  --red-d: #B80F23;
  --yellow: #FFC400;
  --yellow-d: #E0AC00;
  --green: #15803D;
  --radius: 12px;
  --radius-s: 8px;
  --shadow: 0 10px 30px rgba(2, 6, 23, .08);
  --shadow-2: 0 18px 50px rgba(2, 6, 23, .16);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 3vw, 32px);
}

/* ── Reset ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
.container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { flex: none; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
body.drawer-open { overflow: hidden; }

/* ── Type helpers ───────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.eyebrow--light { color: #fff; opacity: .85; }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--red { color: var(--red); }
.section-title { font-size: clamp(26px, 3.2vw, 38px); text-transform: uppercase; letter-spacing: -.02em; position: relative; padding-bottom: 14px; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; background: linear-gradient(90deg, var(--red) 0 60%, var(--yellow) 60%); border-radius: 3px; }
.section__head { max-width: 680px; margin-bottom: 28px; }
.section__head p { color: var(--muted); margin: 14px 0 0; font-size: 17px; }
.section__head--light { color: #fff; }
.section__head--light p { color: rgba(255,255,255,.7); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); white-space: nowrap; }
.link-arrow:hover { color: var(--red-d); }
.section { padding: clamp(44px, 6vw, 80px) 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--ink); color: #fff; }

/* ── Buttons, badges, chips ─────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: var(--radius-s); font-weight: 700; line-height: 1.2; border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-d); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: var(--yellow-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--steel); }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.45); }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn--outline { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn--outline:hover { border-color: var(--ink); }
.btn--sm { padding: 9px 14px; font-size: 14px; border-radius: 7px; }
.btn--lg { padding: 15px 26px; font-size: 17px; }
.btn--block { width: 100%; }
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.badge--red { background: var(--red); color: #fff; }
.badge--grey { background: var(--steel); color: #fff; }
.badge--green { background: var(--green); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--paper); border: 1.5px solid var(--line-2); font-size: 13.5px; font-weight: 600; color: var(--text); transition: border-color .15s, background .15s, color .15s; }
.chip sup { font-size: 10px; color: var(--muted); font-weight: 600; vertical-align: 0; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip.is-active sup { color: rgba(255,255,255,.7); }
.chips--big .chip { padding: 11px 16px; font-size: 15px; }
.chips--head .chip { background: rgba(255,255,255,.92); }

/* ── Top bar ────────────────────────────────────────────── */
.topbar { background: var(--ink); color: rgba(255,255,255,.85); font-size: 13px; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 38px; }
.topbar__usps { display: flex; gap: 26px; overflow: hidden; }
.topbar__usps li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.topbar__usps .icon { color: var(--yellow); }
.topbar__contact { display: flex; gap: 18px; }
.topbar__contact a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: #fff; }
.topbar__contact a:hover { color: var(--yellow); }

/* ── Header ─────────────────────────────────────────────── */
.header { position: sticky; top: 0; z-index: 60; background: var(--asphalt); color: #fff; transition: box-shadow .2s; }
.header.is-stuck { box-shadow: 0 10px 30px rgba(0,0,0,.35); }
/* Covers the sub-pixel gap some mobile browsers leave above a sticky header. */
.header::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--asphalt); }
.topbar { margin-bottom: -1px; padding-bottom: 1px; }
.header__inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 84px; }
.header__menu-btn { display: none; align-items: center; gap: 8px; font-weight: 700; color: #fff; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #fff; }
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: .95; text-transform: uppercase; font-weight: 900; letter-spacing: -.02em; }
.logo__top { font-size: 13px; letter-spacing: .3em; color: var(--yellow); }
.logo__bottom { font-size: 24px; }
.logo--footer .logo__bottom, .logo--drawer .logo__bottom { font-size: 22px; }
.search { display: flex; align-items: stretch; background: #fff; border-radius: var(--radius-s); overflow: hidden; border: 2px solid transparent; transition: border-color .15s, box-shadow .15s; }
.search:focus-within { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255,196,0,.25); }
.search input { flex: 1; min-width: 0; border: 0; padding: 12px 16px; font-size: 15px; color: var(--text); outline: none; background: transparent; }
.search button { width: 54px; display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #fff; transition: background .15s; }
.search button:hover { background: var(--red-d); }
.header__search { max-width: 640px; width: 100%; justify-self: center; }
.header__icons { display: flex; gap: 6px; }
.icon-box { position: relative; display: inline-flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 12px; border-radius: var(--radius-s); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; transition: background .15s; }
.icon-box:hover { background: rgba(255,255,255,.08); }
.cart-count { position: absolute; top: 2px; right: 6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }

/* Nav bar */
.navbar { background: var(--steel); border-top: 1px solid rgba(255,255,255,.06); }
.navbar__inner { display: flex; }
.menu { display: flex; flex-wrap: nowrap; gap: 2px; width: 100%; }
.menu > li { position: relative; }
.menu > li > a { display: inline-flex; align-items: center; gap: 4px; padding: 13px 11px; font-size: 13.5px; font-weight: 700; color: #fff; white-space: nowrap; border-bottom: 3px solid transparent; transition: background .15s, border-color .15s; }
.menu > li > a .icon { opacity: .6; }
.menu > li:hover > a, .menu > li.is-open > a { background: rgba(255,255,255,.06); border-bottom-color: var(--red); }
.menu > li.menu-item--accent > a { color: var(--yellow); }
.menu .submenu-toggle { display: none; }
.menu .sub-menu { position: absolute; left: 0; top: 100%; z-index: 70; min-width: 260px; padding: 10px 0; background: #fff; color: var(--text); border-radius: 0 0 var(--radius-s) var(--radius-s); box-shadow: var(--shadow-2); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.menu > li.is-open > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.menu > li:last-child .sub-menu, .menu > li:nth-last-child(2) .sub-menu { left: auto; right: 0; }
.menu .sub-menu a { display: block; padding: 8px 18px; font-size: 14px; font-weight: 500; }
.menu .sub-menu a:hover { background: var(--soft); color: var(--red); }
.menu .sub-menu__all { margin-top: 6px; border-top: 1px solid var(--line); padding-top: 6px; }
.menu .sub-menu__all a { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.drawer.is-open { visibility: visible; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(2,6,23,.6); opacity: 0; transition: opacity .2s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; left: 0; bottom: 0; width: min(380px, 88vw); background: var(--asphalt); color: #fff; transform: translateX(-100%); transition: transform .25s; display: flex; flex-direction: column; overflow-y: auto; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid rgba(255,255,255,.08); }
.drawer__close { color: #fff; }
.search--drawer { margin: 16px 18px 6px; }
.drawer__menu { padding: 8px 0; }
.drawer__menu > li { position: relative; border-bottom: 1px solid rgba(255,255,255,.06); }
.drawer__menu > li > a { display: block; padding: 13px 54px 13px 18px; font-weight: 700; }
.drawer__menu > li > a .icon { display: none; }
.drawer__menu .submenu-toggle { position: absolute; top: 6px; right: 10px; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; color: #fff; border-radius: 8px; transition: transform .2s; }
.drawer__menu li.is-open > .submenu-toggle { transform: rotate(180deg); }
.drawer__menu .sub-menu { display: none; padding: 0 0 10px; background: rgba(0,0,0,.25); }
.drawer__menu li.is-open > .sub-menu { display: block; }
.drawer__menu .sub-menu a { display: block; padding: 9px 18px 9px 30px; font-size: 14px; color: rgba(255,255,255,.85); }
.drawer__menu .sub-menu__all a { color: var(--yellow); font-weight: 700; }
.drawer__contact { margin-top: auto; padding: 18px; display: grid; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.drawer__contact a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }

/* ── Hero ───────────────────────────────────────────────── */
.hero { position: relative; color: #fff; background: var(--ink); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background:
  radial-gradient(900px 400px at 15% 0%, rgba(227,19,43,.35), transparent 60%),
  radial-gradient(700px 400px at 95% 100%, rgba(255,196,0,.18), transparent 60%),
  linear-gradient(180deg, #0B0F14 0%, #141A22 100%); }
.hero__bg::after { content: ""; position: absolute; inset: 0; opacity: .07; background-image:
  linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%),
  linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%);
  background-size: 28px 28px; background-position: 0 0, 14px 14px; mask-image: linear-gradient(90deg, transparent 55%, #000 100%); -webkit-mask-image: linear-gradient(90deg, transparent 55%, #000 100%); }
.hero__inner { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: clamp(44px, 7vw, 96px) 0; }
.hero h1 { font-size: clamp(32px, 4.6vw, 58px); text-transform: uppercase; letter-spacing: -.025em; margin: 14px 0 18px; line-height: 1.02; }
.hero__text > p { font-size: 18px; color: rgba(255,255,255,.78); max-width: 580px; margin-bottom: 26px; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__stats { display: flex; gap: 34px; margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-size: 26px; font-weight: 900; color: var(--yellow); }
.hero__stats span { font-size: 13px; color: rgba(255,255,255,.65); }
.hero__mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hero__tile { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); background: var(--steel) center/cover no-repeat; overflow: hidden; box-shadow: var(--shadow-2); transform: rotate(0); transition: transform .2s; }
.hero__tile:nth-child(2) { transform: translateY(24px); }
.hero__tile:nth-child(3) { transform: translateY(-24px); }
.hero__tile:hover { transform: scale(1.03); z-index: 1; }
.hero__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(2,6,23,.85)); }
.hero__tile span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.hero__tile .icon { color: var(--yellow); }

/* ── Departments ────────────────────────────────────────── */
.depts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s, border-color .2s; }
.dept:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: transparent; }
.dept__img { aspect-ratio: 4 / 3; background: var(--soft) center/cover no-repeat; }
.dept__body { padding: 16px 18px 18px; display: grid; gap: 4px; position: relative; }
.dept__icon { position: absolute; top: -22px; right: 16px; width: 44px; height: 44px; border-radius: 10px; background: var(--ink); color: var(--yellow); display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow); }
.dept__name { font-weight: 800; font-size: 17px; text-transform: uppercase; letter-spacing: -.01em; padding-right: 50px; }
.dept__blurb { color: var(--muted); font-size: 14px; }
.dept__count { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--red); }

/* ── Engines ────────────────────────────────────────────── */
.engines__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.engine { position: relative; padding: 24px 22px 20px; border-radius: var(--radius); background: var(--steel); border: 1px solid rgba(255,255,255,.06); display: grid; gap: 4px; overflow: hidden; transition: transform .2s, background .2s; }
.engine::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: linear-gradient(180deg, var(--red), var(--yellow)); }
.engine:hover { transform: translateY(-4px); background: var(--steel-2); }
.engine__name { font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; }
.engine__sub { color: rgba(255,255,255,.6); font-size: 14px; }
.engine__count { margin-top: 12px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; color: var(--yellow); }

/* ── Brands ─────────────────────────────────────────────── */
.brands__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.brands__grid--index { grid-template-columns: repeat(5, 1fr); }
.brand { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 86px; padding: 14px; border-radius: var(--radius-s); background: var(--paper); border: 1px solid var(--line); text-align: center; transition: border-color .15s, box-shadow .15s, transform .15s; }
.brand span { font-weight: 800; font-size: 15px; text-transform: uppercase; letter-spacing: .02em; }
.brand small { color: var(--muted); font-size: 12px; }
.brand:hover { border-color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }

/* ── USPs / popular / CTA ───────────────────────────────── */
.home-products--karts { padding-bottom: 0; }
.home-products--karts .pcard__title { font-size: 16px; font-weight: 700; }
.usps { padding-top: 0; }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.usp { padding: 24px; border-radius: var(--radius); background: var(--soft); }
.usp .icon { color: var(--red); margin-bottom: 12px; }
.usp h3 { font-size: 17px; margin-bottom: 8px; }
.usp p { color: var(--muted); font-size: 14.5px; margin: 0; }
.popular { padding-top: 0; }
.cta { padding-bottom: clamp(44px, 6vw, 80px); }
.cta__box { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: clamp(28px, 4vw, 48px); border-radius: var(--radius); background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cta__box::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(227,19,43,.45), transparent 70%); }
.cta__box h2 { font-size: clamp(22px, 2.6vw, 30px); margin: 10px 0; }
.cta__box p { color: rgba(255,255,255,.7); margin: 0; }
.cta__btns { display: flex; gap: 12px; flex-wrap: wrap; position: relative; }

/* ── Product grid & cards ───────────────────────────────── */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
/* WooCommerce's clearfix pseudo-elements would otherwise occupy grid cells. */
.woocommerce ul.products::before, .woocommerce ul.products::after, .products::before, .products::after { display: none !important; content: none !important; }
.products.columns-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: var(--shadow-2); transform: translateY(-3px); border-color: transparent; }
.pcard__img { position: relative; display: block; aspect-ratio: 1 / 1; background: #fff; overflow: hidden; }
.pcard__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; transition: transform .25s; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 1; }
.pcard__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; flex: 1; border-top: 1px solid var(--line); }
.pcard__brand { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.pcard__title { font-size: 15px; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.pcard__title a { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__title a:hover { color: var(--red); }
.pcard__sku { font-size: 12px; color: var(--muted); }
.pcard__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.pcard__price, .price { font-weight: 800; font-size: 18px; }
.price del { color: var(--muted); font-weight: 500; font-size: .85em; margin-right: 6px; }
.price ins { text-decoration: none; color: var(--red); }
.price--ask { font-size: 14px; color: var(--muted); font-weight: 600; }
.pcard .add_to_cart_button.loading { opacity: .6; pointer-events: none; }
.pcard .add_to_cart_button.added::after { content: " ✓"; }
.pcard .added_to_cart { display: none; }

/* ── Shop archive ───────────────────────────────────────── */
.shop { padding: 18px 0 70px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb .sep { display: inline-flex; opacity: .6; }
.shop__head { margin-bottom: 26px; }
.shop__head--img { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: #fff; min-height: 220px; display: flex; align-items: flex-end; }
.shop__hero { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .5; }
.shop__head--img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,15,20,.95) 20%, rgba(11,15,20,.55) 70%, rgba(11,15,20,.3)); }
.shop__head--img .shop__headtext { position: relative; z-index: 1; padding: 30px; }
.shop__title { font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; letter-spacing: -.02em; }
.shop__desc { margin: 10px 0 0; max-width: 720px; color: var(--muted); }
.shop__head--img .shop__desc { color: rgba(255,255,255,.8); }
.chips--head { margin-top: 16px; }
.shop__layout { display: grid; grid-template-columns: 270px 1fr; gap: 32px; align-items: start; }
.shop__sidebar { position: sticky; top: 150px; }
.filters-wrap { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.filters-wrap > summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; font-size: 13px; cursor: pointer; }
.filters-wrap > summary::-webkit-details-marker { display: none; }
.filters-wrap > summary .icon--down { margin-left: auto; transition: transform .2s; }
.filters-wrap[open] > summary .icon--down { transform: rotate(180deg); }
.filters { padding: 0 16px 16px; display: grid; gap: 20px; }
.filter__title { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.filter__list { display: grid; gap: 2px; }
.filter__list--scroll { max-height: 300px; overflow: auto; padding-right: 4px; }
.filter__list a { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; font-size: 14px; }
.filter__list a sup { font-size: 11px; color: var(--muted); vertical-align: 0; margin-left: auto; }
.filter__list a:hover { background: var(--soft); }
.filter__list a.is-active { background: var(--ink); color: #fff; }
.filter__list a.is-active sup { color: rgba(255,255,255,.7); }
.filter__list a.is-strong { font-weight: 700; color: var(--red); }
.shop__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.shop__count { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.shop__count .woocommerce-result-count { margin: 0; }
.shop__clear { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--red); }
.woocommerce-ordering select, .orderby { padding: 9px 36px 9px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F172A' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center/16px; appearance: none; font-size: 14px; font-weight: 600; }
.shop__empty { padding: 60px 20px; text-align: center; max-width: 520px; margin: 0 auto; }
.shop__empty h2 { font-size: 26px; margin-bottom: 10px; }
.shop__empty p { color: var(--muted); margin-bottom: 20px; }
.woocommerce-pagination { margin-top: 32px; }
.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.page-numbers li .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 12px; border-radius: var(--radius-s); border: 1.5px solid var(--line-2); font-weight: 700; }
.page-numbers li .page-numbers:hover { border-color: var(--ink); }
.page-numbers li .page-numbers.current { background: var(--ink); color: #fff; border-color: var(--ink); }
.page-numbers li .page-numbers.dots { border: 0; }

/* ── Single product ─────────────────────────────────────── */
.sp { padding: 18px 0 70px; }
.sp__top { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: start; margin-bottom: 44px; }
.sp__gallery { position: sticky; top: 150px; }
.sp__main { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sp__main img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.sp__thumbs { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.sp__thumb { width: 72px; height: 72px; border: 2px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; transition: border-color .15s; }
.sp__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.sp__thumb.is-active, .sp__thumb:hover { border-color: var(--red); }
.sp__meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.sp__brand { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.sp__sku { font-size: 13px; color: var(--muted); }
.sp__title { font-size: clamp(24px, 2.8vw, 34px); letter-spacing: -.015em; margin-bottom: 14px; }
.sp__price { font-size: 30px; font-weight: 900; margin-bottom: 8px; }
.sp__price del { font-size: 20px; }
.sp__stock { margin-bottom: 16px; }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.stock--in { color: var(--green); }
.stock--out { color: var(--muted); }
.stock--out a { color: var(--red); text-decoration: underline; }
.sp__fits { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sp__fitslabel { font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sp__short { color: var(--muted); margin-bottom: 18px; }
.sp__actions { margin-bottom: 22px; }
.sp__actions form.cart { display: flex; gap: 12px; align-items: stretch; flex-wrap: wrap; }
.quantity { display: inline-flex; align-items: stretch; border: 2px solid var(--line-2); border-radius: var(--radius-s); overflow: hidden; }
.quantity input.qty { width: 62px; text-align: center; border: 0; font-weight: 700; font-size: 16px; -moz-appearance: textfield; }
.quantity input.qty::-webkit-outer-spin-button, .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-btn { width: 42px; font-size: 20px; font-weight: 700; color: var(--text); background: var(--soft); transition: background .15s; }
.qty-btn:hover { background: var(--line); }
.sp__actions .single_add_to_cart_button { flex: 1; min-width: 220px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: var(--radius-s); background: var(--red); color: #fff; font-weight: 800; font-size: 17px; border: 0; transition: background .15s; }
.sp__actions .single_add_to_cart_button:hover { background: var(--red-d); }
.sp__trust { display: grid; gap: 12px; padding: 18px; border-radius: var(--radius); background: var(--soft); }
.sp__trust li { display: flex; gap: 12px; font-size: 14px; line-height: 1.4; color: var(--muted); }
.sp__trust strong { color: var(--text); }
.sp__trust .icon { color: var(--red); margin-top: 2px; }
.sp__trust a { color: var(--red); text-decoration: underline; }
.sp__bottom { display: grid; grid-template-columns: 1fr 320px; gap: 32px; align-items: start; }
.sp__acc details { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: #fff; }
.sp__acc summary { list-style: none; display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: .04em; cursor: pointer; }
.sp__acc summary::-webkit-details-marker { display: none; }
.sp__acc details[open] summary .icon { transform: rotate(180deg); }
.sp__content { padding: 0 20px 20px; }
.sp__sidebox { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 16px; background: #fff; }
.sp__sidebox h3 { font-size: 16px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 12px; }
.sp__sidebox--dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.sp__sidebox--dark p { color: rgba(255,255,255,.7); font-size: 14.5px; }
.sp__sidephone { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-weight: 700; color: var(--yellow); }
.sp__related { margin-top: 48px; }

/* ── Content pages ──────────────────────────────────────── */
.page { padding: 18px 0 70px; }
.page__wrap { max-width: 820px; margin-inline: auto; }
.page__wrap--wide { max-width: none; }
.page__wrap--center { text-align: center; padding-top: 50px; }
.page__wrap--center .search--inline { max-width: 520px; margin: 24px auto; border: 1.5px solid var(--line-2); }
.page__head { margin: 10px 0 26px; }
.page__head h1 { font-size: clamp(30px, 4vw, 44px); text-transform: uppercase; letter-spacing: -.02em; }
.page__article h2 a:hover { color: var(--red); }
.entry, .prose { font-size: 16.5px; line-height: 1.7; }
.entry h2, .prose h2 { font-size: 24px; margin: 1.6em 0 .5em; }
.entry h3, .prose h3 { font-size: 19px; margin: 1.4em 0 .4em; }
.entry ul, .prose ul { list-style: disc; padding-left: 1.3em; margin: 0 0 1em; }
.entry ol, .prose ol { list-style: decimal; padding-left: 1.3em; margin: 0 0 1em; }
.entry li, .prose li { margin-bottom: .35em; }
.entry a, .prose a { color: var(--red); text-decoration: underline; }
.entry table, .prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 15px; }
.entry th, .entry td, .prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry th, .prose th { background: var(--soft); }
.entry img, .prose img { border-radius: var(--radius-s); }
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0; }
.contact-card { padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.contact-card strong { display: block; text-transform: uppercase; letter-spacing: .08em; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.contact-card a { text-decoration: none; font-weight: 700; color: var(--text); }

/* ── Notices, toast ─────────────────────────────────────── */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; margin: 0 0 18px; padding: 14px 18px; border-radius: var(--radius-s); border-left: 5px solid var(--green); background: #F0FDF4; font-size: 15px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.woocommerce-info { border-left-color: var(--ink); background: var(--soft); }
.woocommerce-error { border-left-color: var(--red); background: #FEF2F2; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; padding: 8px 14px; border-radius: 7px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 200; transform: translate(-50%, 20px); opacity: 0; padding: 14px 20px; border-radius: 10px; background: var(--ink); color: #fff; box-shadow: var(--shadow-2); font-size: 15px; transition: transform .25s, opacity .25s; max-width: calc(100vw - 32px); }
.toast.is-in { transform: translate(-50%, 0); opacity: 1; }
.toast a { color: var(--yellow); font-weight: 700; margin-left: 8px; text-decoration: underline; }

/* ── Cart / checkout / account (WooCommerce defaults, tidied) ── */
.woocommerce-cart .page__wrap, .woocommerce-checkout .page__wrap, .woocommerce-account .page__wrap { max-width: none; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--ink); color: #fff; border-radius: var(--radius-s); font-weight: 700; padding: 12px 20px; border: 0; }
.woocommerce .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: var(--steel); color: #fff; }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce #place_order, .woocommerce .checkout-button { background: var(--red) !important; color: #fff !important; }
.woocommerce .button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover { background: var(--red-d) !important; }
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; }
.woocommerce table.shop_table th { background: var(--soft); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-cart .coupon input { padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); }
.woocommerce form .form-row input.input-text:focus { border-color: var(--ink); outline: none; }
.woocommerce-MyAccount-navigation ul li a { display: block; padding: 10px 12px; border-radius: 8px; font-weight: 600; }
.woocommerce-MyAccount-navigation ul li.is-active a, .woocommerce-MyAccount-navigation ul li a:hover { background: var(--soft); color: var(--red); }
.wc-block-components-notice-banner { border-radius: var(--radius-s); }
.wp-block-woocommerce-cart, .wp-block-woocommerce-checkout { font-family: var(--font); }

/* ── Checkout ───────────────────────────────────────────── */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; padding-bottom: 60px; }
.co__main { min-width: 0; }
.woocommerce-checkout .page__head { display: none; }
.co ul, .co ol { list-style: none; padding: 0; margin: 0; }
.co__contact .form-row { grid-column: auto; }
.co__label { display: block; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #475569; margin: 0 0 14px; }
.co__sec { padding: 26px 0; border-top: 1px solid var(--line); }
.co__sec:first-child { border-top: 0; padding-top: 10px; }
.co .form-row { margin: 0 0 14px; padding: 0; }
.co .form-row label { display: block; font-size: 13.5px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.co .form-row label .optional { color: var(--muted); font-weight: 400; }
.co .form-row label .required { color: var(--red); text-decoration: none; }
.co .form-row input.input-text, .co .form-row textarea, .co .form-row select, .co .select2-container .select2-selection--single { width: 100%; padding: 12px 13px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); background: #fff; font-size: 15px; line-height: 1.3; height: auto; }
.co .form-row textarea { min-height: 96px; resize: vertical; }
.co .form-row input.input-text::placeholder, .co .form-row textarea::placeholder { color: #94A3B8; }
.co .form-row input.input-text:focus, .co .form-row textarea:focus, .co .form-row select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(11,15,20,.08); }
.co .select2-container .select2-selection--single { display: flex; align-items: center; }
.co .select2-container--default .select2-selection--single .select2-selection__rendered { padding: 0; line-height: 1.3; color: var(--text); }
.co .select2-container--default .select2-selection--single .select2-selection__arrow { height: 100%; right: 8px; }
.co .form-row.woocommerce-invalid input.input-text, .co .form-row.woocommerce-invalid select { border-color: var(--red); }
.co .woocommerce-billing-fields__field-wrapper, .co .woocommerce-shipping-fields__field-wrapper, .co__contact { display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; }
.co .form-row-wide, .co .form-row:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.co .form-row-first, .co .form-row-last { width: auto; float: none; }
.co #ship-to-different-address { margin: 4px 0 0; font-size: 15px; font-weight: 600; }
.co #ship-to-different-address label { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; }
.co #ship-to-different-address input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.co .shipping_address { margin-top: 18px; }
.co__notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #F5E6B8; background: #FFFBEB; border-radius: var(--radius-s); font-size: 14px; color: #713F12; margin-bottom: 14px; line-height: 1.45; }
.co__notice .icon { color: #B45309; margin-top: 2px; }
.co__hint { margin: 0; padding: 14px; border: 1px dashed var(--line-2); border-radius: var(--radius-s); color: var(--muted); font-size: 14.5px; }
.co__hint--warn { border-style: solid; border-color: #FECACA; background: #FEF2F2; color: #991B1B; }
.co__hint a { color: inherit; text-decoration: underline; }
.co__ship { display: grid; gap: 10px; }
.co__shipopt { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); cursor: pointer; transition: border-color .15s, background .15s; }
.co__shipopt:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.co__shipopt input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; flex: none; }
.co__shipname { flex: 1; display: flex; flex-direction: column; font-size: 15px; }
.co__shipname small { color: var(--muted); font-size: 13px; }
.co__shipcost { font-weight: 800; }
.co .egk-shipping.processing { opacity: .5; }
.co #payment { background: transparent; border-radius: 0; }
.co #payment ul.payment_methods { padding: 0; border: 0; margin: 0 0 20px; display: grid; gap: 10px; list-style: none; }
.co #payment ul.payment_methods li { margin: 0; padding: 18px 18px 16px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); line-height: 1.45; }
.co #payment ul.payment_methods li:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.co #payment ul.payment_methods li input[type=radio] { display: none; }
.co #payment ul.payment_methods li:has(~ li) input[type=radio], .co #payment ul.payment_methods li + li input[type=radio] { display: inline-block; width: 18px; height: 18px; accent-color: var(--ink); margin: 0 10px 0 0; vertical-align: -3px; }
.co #payment ul.payment_methods label { display: block; font-size: 17px; font-weight: 700; cursor: pointer; margin: 0; }
.co__rec { display: inline-flex; align-items: center; gap: 4px; margin-left: 2px; padding: 4px 9px; border-radius: 999px; background: #fff; border: 1px solid var(--line-2); font-size: 12px; font-weight: 600; color: var(--green); vertical-align: 2px; }
.co__rec .icon { color: var(--green); }
.co #payment div.payment_box { background: transparent; padding: 10px 0 0; margin: 0; font-size: 14.5px; color: var(--muted); }
.co #payment div.payment_box::before { display: none; }
.co #payment div.payment_box p { margin: 0; }
.co #payment div.payment_box p::before { content: "— "; }
.co__payicons { display: flex; gap: 8px; margin-top: 14px; }
.co__payicon { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 28px; border-radius: 5px; background: var(--ink); color: #fff; }
.co__payicon--text { flex-direction: column; font-size: 10px; font-weight: 800; letter-spacing: .04em; line-height: 1; }
.co__payicon--text small { font-size: 6px; font-weight: 600; letter-spacing: 0; opacity: .8; margin-top: 2px; }
.co #payment .place-order { padding: 20px 0 0; border-top: 1px solid var(--line); }
.co .woocommerce-terms-and-conditions-wrapper { margin-bottom: 16px; font-size: 14px; color: var(--muted); }
.co .woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text p { margin: 0 0 10px; }
.co .form-row.validate-required.woocommerce-validated { }
.co .woocommerce-form__label-for-checkbox { display: inline-flex; gap: 10px; align-items: flex-start; }
.co .woocommerce-form__label-for-checkbox input { width: 18px; height: 18px; accent-color: var(--ink); margin: 2px 0 0; }
.co #place_order { width: 100%; padding: 16px 24px; font-size: 17px; font-weight: 800; border-radius: var(--radius-s); }
.co__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.co__secure .icon { color: var(--green); }
/* order summary */
.co__side { position: sticky; top: 100px; }
.co__sum { border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); overflow: hidden; }
.co__sum > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 20px; font-weight: 800; font-size: 15px; cursor: pointer; }
.co__sum > summary::-webkit-details-marker { display: none; }
.co__sum > summary .icon { transition: transform .2s; }
.co__sum[open] > summary .icon { transform: rotate(180deg); }
.co__sum > summary .co__sumtotal { margin-left: auto; font-size: 17px; }
.co__sumbody { padding: 0 20px 20px; }
.co table.woocommerce-checkout-review-order-table { width: 100%; border: 0; border-collapse: collapse; background: transparent; margin: 0; }
.co table.woocommerce-checkout-review-order-table th, .co table.woocommerce-checkout-review-order-table td { border: 0; padding: 8px 0; background: transparent; font-size: 14.5px; text-align: left; vertical-align: middle; }
.co .co__item { display: flex; align-items: center; gap: 12px; }
.co .co__thumb { position: relative; width: 56px; height: 56px; flex: none; border: 1px solid var(--line); border-radius: 8px; background: #fff; overflow: hidden; }
.co .co__thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.co .co__qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.co .co__itemname { font-weight: 600; line-height: 1.3; }
.co .co__itemname small { display: block; color: var(--muted); font-weight: 400; font-size: 12.5px; }
.co .co__itemprice { text-align: right !important; font-weight: 700; white-space: nowrap; }
.co tr.cart_item td { padding: 8px 0; }
.co tbody tr:last-child td { padding-bottom: 14px; }
.co tfoot tr th, .co tfoot tr td { padding: 6px 0; }
.co tfoot tr:first-child th, .co tfoot tr:first-child td { border-top: 1px solid var(--line-2) !important; padding-top: 14px; }
.co tfoot th { font-weight: 500; color: var(--muted); }
.co tfoot td { text-align: right !important; font-weight: 600; }
.co tfoot tr.order-total th, .co tfoot tr.order-total td { border-top: 1px solid var(--line-2) !important; padding-top: 12px; font-size: 17px; font-weight: 800; color: var(--text); }
.co tfoot tr.order-total td .amount { font-weight: 900; }
.co tfoot small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }
.co__coupon { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-2); }
.co__coupon form { display: flex; gap: 8px; }
.co__coupon input { flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: var(--radius-s); background: #fff; font-size: 14px; }
.co__coupon button { padding: 10px 14px; border-radius: var(--radius-s); background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; }
.co__trust { display: grid; gap: 10px; margin-top: 16px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); font-size: 13.5px; color: var(--muted); }
.co__trust li { display: flex; gap: 10px; align-items: flex-start; }
.co__trust .icon { color: var(--red); flex: none; margin-top: 1px; }
.co__trust b { color: var(--text); }
.co .blockUI.blockOverlay { border-radius: var(--radius-s); }
.woocommerce-checkout .woocommerce-NoticeGroup { margin-bottom: 18px; }
.woocommerce-checkout .woocommerce-error li { width: 100%; }
.co__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 10px 0 18px; }
.co__head h1 { font-size: clamp(28px, 3.6vw, 40px); text-transform: uppercase; letter-spacing: -.02em; }
.co__back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--red); font-size: 14px; }

@media (max-width: 1023px) {
  .co { grid-template-columns: 1fr; gap: 0; }
  .co__side { position: static; order: -1; margin-bottom: 8px; }
  .co__trust { display: none; }
}
@media (max-width: 720px) {
  .co .woocommerce-billing-fields__field-wrapper, .co .woocommerce-shipping-fields__field-wrapper, .co__contact { grid-template-columns: 1fr; }
  .co .form-row-first, .co .form-row-last { grid-column: 1 / -1; }
  .co__sec { padding: 22px 0; }
}

/* ── Footer ─────────────────────────────────────────────── */
.footer { background: var(--ink); color: rgba(255,255,255,.78); margin-top: auto; }
.footer__stripe { height: 6px; background: repeating-linear-gradient(90deg, var(--red) 0 48px, var(--yellow) 48px 96px); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 40px; }
.footer__brand p { margin: 18px 0 20px; font-size: 14.5px; max-width: 360px; }
.footer__contact { display: grid; gap: 8px; font-size: 14px; }
.footer__contact a, .footer__contact span { display: inline-flex; align-items: center; gap: 10px; }
.footer__contact a:hover { color: var(--yellow); }
.footer__contact .icon { color: var(--yellow); }
.footer__col h4 { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__col ul { display: grid; gap: 7px; font-size: 14.5px; }
.footer__col a:hover { color: var(--yellow); }
.footer__sub { margin-top: 24px; }
.footer__brands { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 14px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px 0 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.55); }
.footer__pay { display: inline-flex; align-items: center; gap: 8px; }
.footer__pay::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--green); }

/* ── Back to top ────────────────────────────────────────── */
.totop { position: fixed; left: 20px; bottom: 20px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: var(--shadow-2); border: 2px solid rgba(255,255,255,.15); opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .2s, transform .2s, visibility .2s, background .15s; }
.totop .icon { transform: rotate(-90deg); }
.totop.is-visible { opacity: 1; visibility: visible; transform: none; }
.totop:hover { background: var(--red); }

/* ── Cookie consent ─────────────────────────────────────── */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; padding: 0 16px 16px; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__box { pointer-events: auto; max-width: 980px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-2); animation: consent-in .3s ease; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.consent__text { font-size: 14px; color: var(--muted); }
.consent__text strong { display: block; color: var(--text); font-size: 15px; margin-bottom: 2px; }
.consent__text p { margin: 0; }
.consent__text a { color: var(--red); text-decoration: underline; }
.consent__btns { display: flex; gap: 8px; flex: none; }
.footer__cookies { color: inherit; text-decoration: underline; font-size: inherit; }
.footer__cookies:hover { color: #fff; }

/* ── Department utility tiles ───────────────────────────── */
.dept--util { background: var(--ink); color: #fff; border-color: var(--ink); justify-content: center; align-items: center; text-align: center; padding: 28px 20px; gap: 10px; }
.dept--util .icon { color: var(--yellow); }
.dept--util .dept__name { padding: 0; }
.dept--util .dept__blurb { color: rgba(255,255,255,.65); }
.dept--util .dept__count { color: var(--yellow); }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .depts__grid { grid-template-columns: repeat(3, 1fr); }
  .brands__grid { grid-template-columns: repeat(4, 1fr); }
  .brands__grid--index { grid-template-columns: repeat(4, 1fr); }
  .menu > li > a { padding: 13px 8px; font-size: 13px; }
  .menu > li > a .icon { display: none; }
}
@media (max-width: 1023px) {
  .topbar__usps li:nth-child(n+2) { display: none; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 14px; min-height: 70px; }
  .header__menu-btn { display: inline-flex; }
  .header__search { grid-column: 1 / -1; max-width: none; margin-bottom: 12px; }
  .header__inner { grid-template-areas: "menu logo icons" "search search search"; }
  .header__menu-btn { grid-area: menu; }
  .header__logo { grid-area: logo; justify-self: center; }
  .header__icons { grid-area: icons; }
  .header__search { grid-area: search; }
  .icon-box span:not(.cart-count) { display: none; }
  .navbar { display: none; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__mosaic { grid-template-columns: repeat(4, 1fr); }
  .hero__tile:nth-child(2), .hero__tile:nth-child(3) { transform: none; }
  .engines__grid, .usps__grid { grid-template-columns: repeat(2, 1fr); }
  .products, .products.columns-3 { grid-template-columns: repeat(3, 1fr); }
  .shop__layout { grid-template-columns: 1fr; gap: 20px; }
  .shop__sidebar { position: static; }
  .sp__top { grid-template-columns: 1fr; gap: 28px; }
  .sp__gallery { position: static; }
  .sp__bottom { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .topbar__contact { display: none; }
  .topbar__usps li:first-child { font-size: 12px; }
  .depts__grid, .brands__grid, .brands__grid--index { grid-template-columns: repeat(2, 1fr); }
  .hero__mosaic { grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero__stats { gap: 20px; flex-wrap: wrap; }
  .products, .products.columns-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard__body { padding: 12px; }
  .pcard__title { font-size: 14px; }
  .pcard__foot .btn { width: 100%; }
  .engines__grid, .usps__grid { grid-template-columns: 1fr; }
  .cta__box { flex-direction: column; align-items: flex-start; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .shop__head--img .shop__headtext { padding: 20px; }
  .dept__name { font-size: 15px; }
}
@media (max-width: 720px) {
  .consent__box { flex-direction: column; align-items: stretch; }
  .consent__btns { display: grid; grid-template-columns: 1fr 1fr; }
  .totop { width: 42px; height: 42px; left: 14px; bottom: 14px; }
}
@media (max-width: 420px) {
  .hero__btns .btn { width: 100%; }
}
