/* ==========================================================================
   MedLine — светлая тема для каталога медицинского оборудования
   ========================================================================== */
:root {
	--bg: #F4F7FA;
	--surface: #FFFFFF;
	--ink: #102A43;
	--ink-2: #334E68;
	--muted: #5E7892;
	--line: #D9E2EC;
	--line-2: #E8EEF4;
	--accent: #1849D6;
	--accent-hover: #1239AE;
	--accent-soft: #E9EFFD;
	--signal: #FFD46B;
	--screen: #0E2236;
	--ok: #127A52;
	--err: #C22E2E;

	--font: "Onest", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
	--r-lg: 24px;
	--r-md: 16px;
	--r-sm: 10px;
	--container: 1240px;
	--gap: clamp(16px, 2.4vw, 28px);
	--section: clamp(56px, 8vw, 104px);
	--header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--ink);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; color: var(--ink); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2 * var(--gap), var(--container)); margin-inline: auto; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 1000; background: var(--accent); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip-link:focus { top: 12px; color: #fff; }
.hp { position: absolute; left: -9999px; }
[hidden] { display: none !important; }

/* Buttons ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 46px; padding: 0 22px;
	border: 1.5px solid transparent; border-radius: 12px;
	font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none; white-space: nowrap;
	cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn--light { background: #fff; color: var(--accent); }
.btn--light:hover { background: var(--accent-soft); color: var(--accent-hover); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; border-radius: 10px; }
.btn--lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header ----------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.topbar { background: var(--bg); font-size: 13px; color: var(--muted); }
.topbar__inner { display: flex; gap: 28px; justify-content: flex-end; padding: 7px 0; }
.topbar a { color: var(--muted); text-decoration: none; }
.topbar a:hover { color: var(--accent); }
.header__inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand__link { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 34px; height: 34px; color: var(--accent); flex: none; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.custom-logo { max-height: 48px; width: auto; }

.nav { flex: 1; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 500; font-size: 15px; text-decoration: none; }
.nav__list a:hover, .nav__list .current-menu-item > a, .nav__list .current-product_cat-ancestor > a { color: var(--accent); background: var(--accent-soft); }
.nav__list .sub-menu { display: none; }
.nav__mobile-extra { display: none; }

.header__actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.header__phone { font-weight: 600; color: var(--ink); text-decoration: none; white-space: nowrap; }
.burger { display: none; width: 44px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.burger__line { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.burger[aria-expanded="true"] .burger__line:first-of-type { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:last-of-type { transform: translateY(-4px) rotate(-45deg); }

/* Sections --------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tint { background: var(--bg); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 48px); }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section__title { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 14px; }
.section__head--row .section__title { margin: 0; }
.section__lead { font-size: 18px; color: var(--muted); max-width: 62ch; margin: 0; }

/* Hero ------------------------------------------------------------------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); background: linear-gradient(180deg, var(--bg) 0%, #fff 100%); }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(34px, 5vw, 60px); line-height: 1.05; letter-spacing: -.035em; margin-bottom: 22px; max-width: 16ch; }
.hero__lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--ink-2); max-width: 52ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__facts { list-style: none; padding: 28px 0 0; margin: 36px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; font-size: 14px; color: var(--muted); }
.hero__facts strong { display: block; color: var(--ink); font-size: 16px; font-weight: 600; margin-bottom: 2px; }

/* Signature element: экран УЗИ */
.hero__screen { position: relative; }
.scan { background: var(--screen); border-radius: 28px; padding: 16px 16px 14px; box-shadow: 0 30px 60px -30px rgba(16, 42, 67, .55); color: #9FB3C6; font-size: 12px; }
.scan__bar, .scan__readout { display: flex; gap: 16px; flex-wrap: wrap; padding: 4px 6px; }
.scan__bar span:first-child { color: #fff; font-weight: 600; }
.scan__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--signal); }
.scan__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.scan__svg { width: 100%; margin: 6px 0; }
.scan__readout b { color: #fff; font-weight: 600; }
.scan__readout span:first-child b { color: var(--signal); }
.scan__sweep { animation: sweep 3.6s cubic-bezier(.45, 0, .55, 1) infinite; }
@keyframes sweep { from { transform: translateX(0); } to { transform: translateX(520px); } }

/* Categories ------------------------------------------------------------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.cat { position: relative; display: flex; flex-direction: column; padding: 32px; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; transition: border-color .2s; }
.cat:hover { border-color: var(--accent); }
.cat__icon { width: 88px; height: 88px; color: var(--accent); margin-bottom: 28px; }
.cat__icon svg { width: 100%; height: 100%; }
.cat__title { font-size: 22px; margin-bottom: 10px; }
.cat__title a { color: var(--ink); text-decoration: none; }
.cat__title a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.cat__desc { color: var(--muted); font-size: 15px; }
.cat__kids { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cat__kids a { position: relative; z-index: 1; display: inline-block; padding: 5px 10px; border-radius: 8px; background: var(--bg); color: var(--ink-2); font-size: 13px; text-decoration: none; }
.cat__kids a:hover { background: var(--accent-soft); color: var(--accent); }
.cat__foot { margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line-2); display: flex; justify-content: space-between; align-items: center; font-size: 14px; }
.cat__count { color: var(--muted); }
.cat__more { font-weight: 600; color: var(--accent); }

/* Tabs (главная) --------------------------------------------------------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 14px; flex-wrap: wrap; }
.tabs__btn { border: 0; background: transparent; padding: 10px 16px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.tabs__btn:hover { color: var(--accent); }
.tabs__btn[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs__panel > .btn { margin-top: 32px; }

/* Product grid & cards -------------------------------------------------- */
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
ul.products.columns-4, ul.products--4 { grid-template-columns: repeat(4, 1fr); }
ul.products.columns-2 { grid-template-columns: repeat(2, 1fr); }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: #AFC2D6; }
.card__media { display: grid; place-items: center; aspect-ratio: 4 / 3; background: var(--bg); padding: 18px; }
.card__img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.card__placeholder { width: 42%; color: #A9BCCF; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.card__cat { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.card__title { font-size: 17px; line-height: 1.3; margin-bottom: 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__excerpt { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.card__price { margin-top: auto; margin-bottom: 14px; }
.card__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.card__actions .btn { flex: 1 1 auto; }
.price-request { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); }
.price-request::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px #FFF3CF; }

.empty { padding: 40px; border: 1.5px dashed var(--line); border-radius: var(--r-md); background: #fff; text-align: center; }
.empty p { max-width: 56ch; margin: 0 auto 20px; color: var(--ink-2); }

/* Steps ------------------------------------------------------------------ */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.step { counter-increment: step; position: relative; padding-top: 64px; }
.step::before { content: counter(step); position: absolute; top: 0; left: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); font-weight: 700; }
.step::after { content: ""; position: absolute; top: 22px; left: 56px; right: -8px; height: 1.5px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 18px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

/* Split / features ------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.split__text p { font-size: 17px; color: var(--ink-2); max-width: 54ch; margin-bottom: 28px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.feature { background: #fff; padding: 28px; }
.feature h3 { font-size: 17px; }
.feature p { font-size: 15px; color: var(--muted); margin: 0; }

/* Service ---------------------------------------------------------------- */
.service { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(32px, 5vw, 72px); padding: clamp(32px, 5vw, 56px); border-radius: 28px; background: var(--ink); color: #C9D6E3; }
.service .section__title { color: #fff; }
.service__head p { font-size: 17px; margin: 0; }
.service__list { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 32px; }
.service__list div { border-top: 1px solid #2C4A66; padding-top: 16px; }
.service__list dt { color: #fff; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.service__list dd { margin: 0; font-size: 15px; }

/* FAQ -------------------------------------------------------------------- */
.faq { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(24px, 5vw, 72px); }
.faq__list { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq__item[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq__item p { color: var(--ink-2); max-width: 68ch; padding-bottom: 22px; margin: 0; }

/* Contact ---------------------------------------------------------------- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact__info p { color: var(--ink-2); font-size: 17px; max-width: 46ch; }
.contact__phone { display: inline-block; font-size: clamp(26px, 3vw, 34px); font-weight: 700; letter-spacing: -.02em; color: var(--ink); text-decoration: none; margin: 8px 0 28px; }
.contact__list { margin: 0; display: grid; gap: 16px; }
.contact__list dt { font-size: 13px; color: var(--muted); }
.contact__list dd { margin: 0; font-weight: 500; }
.contact__form { padding: clamp(24px, 4vw, 40px); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--bg); }

/* Forms ------------------------------------------------------------------ */
.request-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink-2); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
	width: 100%; min-height: 48px; padding: 12px 14px;
	border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff;
	transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.has-error input { border-color: var(--err); }
.field__error { color: var(--err); font-size: 13px; min-height: 0; }
.field__error:empty { display: none; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.request-form__product { grid-column: 1 / -1; padding: 12px 14px; background: var(--accent-soft); border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); }
.request-form__product strong { color: var(--ink); }
.request-form__foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.request-form__status { margin: 0; font-size: 14px; }
.request-form__status.is-ok { color: var(--ok); font-weight: 500; }
.request-form__status.is-err { color: var(--err); }
.request-form.is-sent .field, .request-form.is-sent .consent, .request-form.is-sent [data-submit-label] { display: none; }
.request-form.is-sent .request-form__status { font-size: 16px; padding: 16px; background: #E6F4EE; border-radius: var(--r-sm); width: 100%; }

/* Modal ------------------------------------------------------------------ */
.modal { width: min(640px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 40px 80px -20px rgba(16, 42, 67, .45); }
.modal::backdrop { background: rgba(16, 42, 67, .5); backdrop-filter: blur(3px); }
.modal[open] { animation: modal-in .22s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px); } }
.modal__box { position: relative; padding: clamp(24px, 4vw, 40px); }
.modal__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--bg); cursor: pointer; display: grid; place-items: center; color: var(--ink-2); }
.modal__close svg { width: 20px; height: 20px; }
.modal__close:hover { color: var(--accent); }
.modal__title { font-size: clamp(22px, 2.6vw, 28px); padding-right: 40px; }
.modal__lead { color: var(--muted); margin-bottom: 24px; }
body.modal-open { overflow: hidden; }

/* Archive ---------------------------------------------------------------- */
.archive-hero { background: var(--bg); padding: 28px 0 32px; }
.archive-hero__row { display: flex; gap: 24px; align-items: center; margin: 20px 0 28px; }
.archive-hero__icon { width: 84px; height: 84px; flex: none; padding: 14px; color: var(--accent); background: #fff; border: 1px solid var(--line); border-radius: 20px; }
.archive-hero__title { font-size: clamp(30px, 4vw, 46px); margin: 0 0 8px; }
.archive-hero__desc { color: var(--ink-2); max-width: 70ch; }
.archive-hero__desc p:last-child { margin: 0; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chips--sub { margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: 14px; font-weight: 500; text-decoration: none; }
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip--sub { padding: 6px 12px; font-size: 13px; background: transparent; }
.chip--sub span { color: var(--muted); }
.chip--sub.is-active span { color: #C9D6E3; }
.section--catalog { padding-top: 32px; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.toolbar .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-result-count { margin: 0; color: var(--muted); font-size: 14px; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { min-height: 42px; padding: 0 38px 0 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff 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' stroke='%23334E68' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; appearance: none; font-size: 14px; cursor: pointer; }
.woocommerce-pagination { margin-top: 40px; }
.woocommerce-pagination ul { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; flex-wrap: wrap; }
.woocommerce-pagination a, .woocommerce-pagination span { display: grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px; border-radius: var(--r-sm); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; font-weight: 500; }
.woocommerce-pagination a:hover { border-color: var(--accent); color: var(--accent); }
.woocommerce-pagination .current { background: var(--ink); border-color: var(--ink); color: #fff; }

.crumbs { font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs__sep { color: #B3C2D1; }

/* KP band ---------------------------------------------------------------- */
.kp-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 72px); padding: clamp(28px, 4vw, 44px); border-radius: var(--r-lg); background: var(--accent); color: #DCE6FB; }
.kp-band__title { color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.kp-band p { margin: 0; max-width: 60ch; }

/* Single product -------------------------------------------------------- */
.single-wrap { padding: 24px 0 var(--section); }
.product-top { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); margin-top: 24px; align-items: start; }
.product-top__gallery { position: sticky; top: calc(var(--header-h) + 24px); min-width: 0; }
.product-top__placeholder { display: grid; place-items: center; aspect-ratio: 1; background: var(--bg); border-radius: var(--r-lg); }
.product-top__placeholder .ml-icon { width: 36%; color: #A9BCCF; }
.product-top__cat { display: inline-block; font-size: 14px; font-weight: 500; text-decoration: none; margin-bottom: 12px; }
.product-top__title { font-size: clamp(28px, 3.4vw, 42px); letter-spacing: -.03em; }
.product-top__sku { font-size: 14px; color: var(--muted); }
.product-top__short { font-size: 17px; color: var(--ink-2); }
.product-top__short ul { padding-left: 20px; }
.specs-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 24px 0; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.specs-mini div { background: #fff; padding: 14px 16px; }
.specs-mini dt { font-size: 13px; color: var(--muted); }
.specs-mini dd { margin: 2px 0 0; font-weight: 600; }
.pricebox { padding: 24px; border-radius: var(--r-lg); background: var(--bg); margin: 24px 0; }
.pricebox__price .price-request { font-size: 22px; }
.pricebox__note { color: var(--muted); font-size: 14px; margin: 8px 0 20px; }
.pricebox__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.pricebox__actions .btn { flex: 1 1 200px; }
.pricebox__phone { display: inline-block; margin-top: 14px; font-size: 14px; color: var(--ink-2); }
.perks { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 20px; font-size: 14px; color: var(--ink-2); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.2l2.6 2.5L13 6.5' stroke='%231849D6' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }

/* WooCommerce gallery */
.woocommerce-product-gallery { position: relative; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery .flex-viewport, .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:only-child { border-radius: var(--r-lg); background: var(--bg); overflow: hidden; }
.woocommerce-product-gallery__image a { display: block; }
.woocommerce-product-gallery__image img { width: 100%; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
.woocommerce-product-gallery__trigger { position: absolute; top: 14px; right: 14px; z-index: 5; width: 40px; height: 40px; border-radius: 10px; background: #fff; font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ""; position: absolute; inset: 11px 13px 13px 11px; border: 2px solid var(--ink); border-radius: 50%; }
.woocommerce-product-gallery__trigger::after { content: ""; position: absolute; width: 7px; height: 2px; background: var(--ink); right: 9px; bottom: 12px; transform: rotate(45deg); }
.flex-control-thumbs { list-style: none; padding: 0; margin: 12px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.flex-control-thumbs img { border-radius: 12px; background: var(--bg); aspect-ratio: 1; object-fit: contain; cursor: pointer; opacity: .6; border: 1.5px solid transparent; mix-blend-mode: multiply; }
.flex-control-thumbs img.flex-active, .flex-control-thumbs img:hover { opacity: 1; border-color: var(--accent); }

/* Tabs on product page */
.woocommerce-tabs { margin-top: clamp(48px, 6vw, 80px); }
.woocommerce-tabs ul.tabs { list-style: none; margin: 0 0 32px; padding: 0; display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 14px 18px; font-weight: 600; color: var(--muted); text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li a:hover { color: var(--ink); }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--accent); }
.woocommerce-Tabs-panel { max-width: 860px; font-size: 17px; color: var(--ink-2); }
.woocommerce-Tabs-panel h2, .woocommerce-Tabs-panel h3 { color: var(--ink); margin-top: 1.4em; }
.woocommerce-Tabs-panel img { border-radius: var(--r-md); }
.shop_attributes { width: 100%; border-collapse: collapse; font-size: 15px; }
.shop_attributes th, .shop_attributes td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.shop_attributes th { width: 40%; font-weight: 500; color: var(--muted); }
.shop_attributes td p { margin: 0; }
.shop_attributes tr:nth-child(odd) { background: var(--bg); }
.tab-delivery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: none; }
.tab-delivery h3 { font-size: 18px; margin-top: 0; }
.tab-delivery p { font-size: 15px; }

.related, .upsells { margin-top: clamp(48px, 6vw, 80px); }
.related > h2, .upsells > h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 28px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error { list-style: none; padding: 14px 18px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--ink); margin: 0 0 20px; }
.woocommerce-error { background: #FBEAEA; }
.onsale { display: none; }

/* Pages ------------------------------------------------------------------ */
.page-wrap { padding: clamp(40px, 6vw, 72px) 0 var(--section); }
.page-title { font-size: clamp(30px, 4vw, 46px); }
.entry__content { max-width: 760px; font-size: 17px; color: var(--ink-2); }
.post-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.post-item__media img { border-radius: var(--r-md); aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; }
.post-item__date { font-size: 13px; color: var(--muted); }
.post-item__title { font-size: 20px; margin-top: 4px; }
.post-item__title a { color: var(--ink); text-decoration: none; }
.page-404 p { max-width: 56ch; color: var(--ink-2); font-size: 17px; margin-bottom: 28px; }

/* Footer ----------------------------------------------------------------- */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 64px 0 28px; font-size: 15px; color: var(--ink-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.brand__link--footer { margin-bottom: 16px; }
.footer__brand p { max-width: 40ch; color: var(--muted); }
.footer__title { font-size: 15px; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__list a { color: var(--ink-2); text-decoration: none; }
.footer__list a:hover { color: var(--accent); }
.footer__phone { font-weight: 700; color: var(--ink) !important; font-size: 17px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 1180px) {
	ul.products.columns-4, ul.products--4 { grid-template-columns: repeat(3, 1fr); }
	.header__phone { display: none; }
}
@media (max-width: 1024px) {
	:root { --header-h: 68px; }
	.burger { display: flex; }
	.site-header { backdrop-filter: none; background: #fff; }
	.nav { position: fixed; inset: calc(var(--header-h) + 34px) 0 0; background: #fff; padding: 20px var(--gap) 32px; overflow-y: auto; opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
	.nav.is-open { opacity: 1; transform: none; visibility: visible; }
	.nav__list { flex-direction: column; }
	.nav__list a { font-size: 18px; padding: 14px 8px; border-bottom: 1px solid var(--line-2); border-radius: 0; }
	.nav__mobile-extra { display: grid; gap: 16px; margin-top: 24px; }
	.nav__phone { font-size: 22px; font-weight: 700; color: var(--ink); text-decoration: none; }
	.hero__grid, .split, .contact, .faq, .service, .product-top { grid-template-columns: 1fr; }
	.hero__title { max-width: 18ch; }
	.hero__screen { max-width: 560px; }
	.cats { grid-template-columns: 1fr; }
	.cat { display: grid; grid-template-columns: 88px 1fr; column-gap: 24px; }
	.cat__icon { grid-row: span 4; margin: 0; }
	.cat > *:not(.cat__icon) { grid-column: 2; }
	.steps { grid-template-columns: 1fr; gap: 0; }
	.step { padding: 0 0 28px 64px; }
	.step::after { top: 52px; left: 21px; right: auto; bottom: 8px; width: 1.5px; height: auto; }
	.product-top__gallery { position: static; }
	.footer__grid { grid-template-columns: 1fr 1fr; }
	.post-list { grid-template-columns: repeat(2, 1fr); }
	.tab-delivery { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.topbar { display: none; }
	.nav { inset: var(--header-h) 0 0; }
	.header__cta { display: none; }
	ul.products, ul.products.columns-4, ul.products--4, ul.products.columns-2 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.card__body { padding: 14px; }
	.card__title { font-size: 15px; }
	.card__excerpt { display: none; }
	.card__actions .btn { flex-basis: 100%; }
	.hero__facts { grid-template-columns: 1fr; gap: 12px; }
	.features, .service__list, .specs-mini, .perks { grid-template-columns: 1fr; }
	.request-form { grid-template-columns: 1fr; }
	.cat { display: flex; padding: 24px; }
	.cat__icon { width: 64px; height: 64px; margin-bottom: 20px; }
	.archive-hero__icon { display: none; }
	.footer__grid, .post-list { grid-template-columns: 1fr; }
	.tabs { width: 100%; }
	.tabs__btn { flex: 1 1 auto; }
	.scan__readout span:last-child { display: none; }
}
@media (max-width: 400px) {
	ul.products, ul.products.columns-4, ul.products--4 { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
