/* ==========================================================================
   ПроПідлога — основні стилі
   ========================================================================== */

:root {
	--green: #559f34;
	--green-d: #3f8124;
	--green-dd: #2f6419;
	--green-l: #e8f3e0;
	--green-ll: #f4f9f0;
	--dark: #2a2c29;
	--dark-2: #353834;
	--text: #2c302b;
	--muted: #676d64;
	--line: #dde4d8;
	--bg-alt: #f6f8f4;
	--white: #fff;
	--danger: #c0392b;
	--radius: 10px;
	--radius-sm: 6px;
	--shadow: 0 6px 24px rgba(34, 52, 24, .08);
	--shadow-h: 0 12px 32px rgba(34, 52, 24, .14);
	--pad: clamp(16px, 3.2vw, 32px);
	--sec: clamp(48px, 6vw, 88px);
	--font: 'Mulish', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text);
	background: var(--white);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}
img, svg, video, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green-d); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-dd); }
h1, h2, h3, h4 { line-height: 1.22; margin: 0 0 .6em; color: var(--dark); font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(28px, 1.6vw + 18px, 46px); }
h2 { font-size: clamp(24px, 1vw + 17px, 34px); }
h3 { font-size: clamp(18px, .4vw + 15px, 21px); font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; }
button { font-family: inherit; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(85, 159, 52, .45); outline-offset: 2px; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.container--narrow { max-width: 900px; }
.section { padding: var(--sec) 0; }
.section__title { position: relative; padding-bottom: 18px; margin-bottom: clamp(20px, 2.5vw, 32px); }
.section__title::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 100%; height: 6px;
	border-top: 2px solid var(--green);
	border-bottom: 2px solid var(--green);
	opacity: .55;
}
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--white); padding: 8px 14px; }
.skip-link:focus { left: 8px; }
.ico { flex-shrink: 0; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* ---------- Кнопки ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 50px; padding: 12px 26px;
	border: 2px solid transparent; border-radius: var(--radius-sm);
	font-weight: 800; font-size: 15px; line-height: 1.2; letter-spacing: .02em;
	text-decoration: none; text-align: center; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.btn--primary { background: var(--green); color: var(--white); box-shadow: 0 6px 18px rgba(85, 159, 52, .32); }
.btn--primary:hover { background: var(--green-d); color: var(--white); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--green-d); border-color: var(--green); }
.btn--ghost:hover { background: var(--green); color: var(--white); }
.btn--sm { min-height: 42px; padding: 8px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn.loading { opacity: .6; pointer-events: none; }
.btn.added::after { content: '✓'; margin-left: 2px; }

/* ---------- Шапка ---------- */
.hdr { position: relative; z-index: 50; }
.hdr__top { background: var(--dark); color: #e9ece6; }
.hdr__top-inner { display: flex; align-items: center; gap: clamp(12px, 2vw, 28px); min-height: 92px; }
.hdr__logo { display: block; flex-shrink: 0; }
.hdr__logo img { width: auto; height: 64px; }
.hdr__tagline { margin: 0; font-size: 13px; line-height: 1.35; color: #b9bfb4; max-width: 190px; }
.hdr__city { margin-left: auto; }
.hdr__contacts { display: flex; flex-direction: column; align-items: flex-start; }
.hdr__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 800; font-size: 20px; text-decoration: none; white-space: nowrap; }
.hdr__phone .ico { color: var(--green); }
.hdr__phone:hover { color: #cfe8c2; }
.hdr__hours { font-size: 12.5px; color: #a9b0a3; padding-left: 28px; }
.hdr__icon { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: var(--white); transition: background-color .2s; flex-shrink: 0; }
.hdr__icon:hover { background: var(--green); color: var(--white); }
.hdr-cart__count { position: absolute; top: -3px; right: -3px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--green); color: var(--white); font-size: 12px; font-weight: 800; line-height: 20px; text-align: center; }
.hdr__burger { display: none; background: none; border: 0; color: var(--white); padding: 6px; margin-left: -6px; cursor: pointer; }
.hdr__bar { display: none; }

/* Перемикач міст */
.city-switch { display: flex; align-items: center; gap: 6px; min-width: 190px; }
.city-switch__ico { color: var(--green); display: inline-flex; }
.city-switch .ts-wrapper { flex: 1; min-width: 150px; }
.city-switch .ts-control { background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 255, 255, .22) !important; color: var(--white) !important; border-radius: var(--radius-sm); min-height: 42px; padding: 9px 34px 9px 12px !important; font-weight: 700; box-shadow: none !important; cursor: pointer; }
.city-switch .ts-control .item { color: var(--white); }
.city-switch .ts-wrapper.single .ts-control::after { border-color: #cfe8c2 transparent transparent !important; right: 13px; }
select.city-switch__select { background: transparent; color: inherit; border: 1px solid rgba(255, 255, 255, .25); border-radius: var(--radius-sm); padding: 8px 10px; }

/* Навігація */
.nav { background: var(--green); }
.nav__inner { display: flex; align-items: center; }
.nav__head, .nav__foot { display: none; }
.nav__menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0; width: 100%; }
.nav__menu > li { position: relative; }
.nav__menu a { display: block; padding: 14px clamp(10px, 1.2vw, 18px); color: var(--white); font-weight: 700; font-size: 15px; text-decoration: none; transition: background-color .2s; }
.nav__menu > li:first-child > a { padding-left: 0; }
.nav__menu > li > a:hover, .nav__menu > li.current-menu-item > a, .nav__menu > li.current-menu-ancestor > a { background: var(--green-d); }
.nav__menu > li:first-child > a:hover, .nav__menu > li:first-child.current-menu-item > a { background: transparent; text-decoration: underline; }
.nav__menu .sub-menu { list-style: none; margin: 0; padding: 8px 0; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--white); border-radius: 0 0 var(--radius-sm) var(--radius-sm); box-shadow: var(--shadow-h); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.nav__menu li:hover > .sub-menu, .nav__menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav__menu .sub-menu a { color: var(--text); padding: 9px 18px; font-weight: 600; }
.nav__menu .sub-menu a:hover { background: var(--green-ll); color: var(--green-d); }
.nav__menu > li.menu-item-has-children > a::after { content: ''; display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); }
.nav-overlay { display: none; }

/* ---------- Перший екран ---------- */
.hero { position: relative; background: linear-gradient(180deg, var(--green-ll) 0%, #fff 100%); padding: clamp(28px, 4vw, 64px) 0 clamp(36px, 4.5vw, 72px); overflow: hidden; }
.hero::before { content: ''; position: absolute; right: -120px; top: -140px; width: 520px; height: 520px; background: radial-gradient(closest-side, rgba(85, 159, 52, .14), transparent); pointer-events: none; }
.hero__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero--img .hero__inner, .hero--brand .hero__inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.hero__title { max-width: 880px; margin-bottom: .5em; }
.hero__intro { max-width: 760px; font-size: clamp(16px, .35vw + 14.5px, 19px); color: #444a41; }
.hero__intro p:last-child { margin-bottom: 0; }
.hero__btns { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: clamp(20px, 2.4vw, 32px); }
.hero__facts { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 26px; color: #4a5047; font-size: 15px; }
.hero__facts li { display: flex; align-items: center; gap: 8px; }
.hero__facts .ico { color: var(--green); }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow-h); }
.hero__media--logo { display: flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); min-height: 200px; padding: 28px; }
.hero__media--logo img { max-height: 160px; width: auto; box-shadow: none; aspect-ratio: auto; object-fit: contain; }
.hero__media--logo .brand-card__word { font-size: clamp(30px, 3vw, 44px); }
.hero__meta { display: flex; flex-wrap: wrap; gap: 6px 28px; margin: 14px 0 0; }
.hero__meta div { display: flex; gap: 6px; }
.hero__meta dt { color: var(--muted); }
.hero__meta dd { margin: 0; font-weight: 700; }
.hero--bg { padding: clamp(48px, 7vw, 120px) 0; background: var(--green-ll); }
.hero--bg::before { display: none; }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero--bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .94) 0%, rgba(255, 255, 255, .86) 42%, rgba(255, 255, 255, .25) 72%, rgba(255, 255, 255, 0) 100%); }
.hero--bg .hero__inner { z-index: 1; }
.hero--bg .hero__text { max-width: 760px; }
.hero--bg .hero__intro { color: #3c4239; }
.hero + .catalog { padding-top: clamp(32px, 4vw, 56px); }
.faq { background: var(--white); }
.hero--plain { padding-bottom: clamp(24px, 3vw, 40px); }
.hero--plain::before { display: none; }
.is-info .hero { background: var(--green-ll); }
.woocommerce-cart .hero, .woocommerce-checkout .hero { padding: 22px 0 18px; }
.woocommerce-cart .hero .hero__title, .woocommerce-checkout .hero .hero__title { margin-bottom: 0; }
.woocommerce-cart .section--content, .woocommerce-checkout .section--content { padding-top: clamp(24px, 3vw, 40px); }

/* Хлібні крихти */
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-d); text-decoration: underline; }
.crumbs .breadcrumb_last { color: var(--text); }

/* ---------- Каталог ---------- */
.catalog { scroll-margin-top: 16px; }
.catalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; position: relative; margin-bottom: clamp(18px, 2vw, 26px); }
.catalog__title { margin-bottom: 0; flex: 1 1 100%; }
.catalog__count { position: absolute; right: 0; top: 4px; margin: 0; color: var(--muted); font-weight: 700; font-size: 15px; }
.catalog__layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(20px, 2.4vw, 36px); align-items: start; }
.catalog__main { min-width: 0; }
.catalog.is-loading .catalog__main { opacity: .45; pointer-events: none; transition: opacity .15s; }
.catalog__empty { padding: 36px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--bg-alt); text-align: center; }
.catalog__empty .btn { margin: 6px; }

/* Швидкі фільтри */
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.quick__btn { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 2px solid var(--line); border-radius: var(--radius-sm); color: var(--text); font-weight: 700; text-decoration: none; background: var(--white); transition: .2s; }
.quick__btn:hover { border-color: var(--green); color: var(--green-d); }
.quick__btn.is-active { background: var(--green); border-color: var(--green); color: var(--white); }

/* Фільтри */
.filters { position: sticky; top: 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.filters__form { padding: 6px 18px 18px; }
.filters__top { display: flex; align-items: center; justify-content: space-between; padding: 12px 0 8px; }
.filters__title { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; font-size: 17px; }
.filters__title .ico { color: var(--green); }
.filters__close { display: none; background: none; border: 0; padding: 4px; cursor: pointer; color: var(--text); }
.facet { border-top: 1px solid var(--line); }
.facet__title { list-style: none; display: flex; align-items: center; gap: 6px; padding: 14px 0; font-weight: 800; font-size: 15px; cursor: pointer; user-select: none; }
.facet__title::-webkit-details-marker { display: none; }
.facet__title .ico { margin-left: auto; color: var(--muted); transition: transform .2s; }
.facet[open] > .facet__title .ico { transform: rotate(180deg); }
.facet__n { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--green); color: var(--white); font-size: 12px; }
.facet__body { padding-bottom: 14px; }
.facet__list { list-style: none; margin: 0; padding-left: 0; }
.facet__list--scroll { max-height: 236px; overflow-y: auto; overscroll-behavior: contain; padding-right: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 5px 0; cursor: pointer; font-size: 15px; line-height: 1.3; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; border: 2px solid #b9c3b2; border-radius: 4px; background: var(--white); color: transparent; transition: .15s; }
.check input:checked + .check__box { background: var(--green); border-color: var(--green); color: var(--white); }
.check input:focus-visible + .check__box { outline: 3px solid rgba(85, 159, 52, .4); outline-offset: 1px; }
.check:hover .check__box { border-color: var(--green); }
.check__label { flex: 1; min-width: 0; }
.check__count { color: var(--muted); font-size: 13px; }
.check.is-empty { opacity: .45; cursor: default; }
.filters__actions { border-top: 1px solid var(--line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.filters__actions .btn { display: none; }
.filters__reset { font-weight: 700; color: var(--muted); }
.filters-overlay { display: none; }

/* Ціна */
.price-range__inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range__inputs label { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 10px; background: var(--white); }
.price-range__inputs label:focus-within { border-color: var(--green); }
.price-range__inputs span { color: var(--muted); font-size: 13px; }
.price-range__inputs input { width: 100%; min-width: 0; border: 0; padding: 10px 0; background: transparent; outline: 0; -moz-appearance: textfield; }
.price-range__inputs input::-webkit-outer-spin-button, .price-range__inputs input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.price-range__slider { position: relative; height: 28px; margin-top: 10px; }
.price-range__slider::before { content: ''; position: absolute; left: 0; right: 0; top: 13px; height: 4px; border-radius: 2px; background: var(--line); }
.price-range__slider input { position: absolute; left: 0; top: 4px; width: 100%; margin: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; height: 22px; }
.price-range__slider input::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); cursor: pointer; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.price-range__slider input::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 3px solid var(--green); cursor: pointer; }
.price-range__slider input::-moz-range-track { background: transparent; }

/* Панель над товарами */
.toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 12px; margin-bottom: 18px; }
.toolbar__filters { display: none; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; }
.toolbar__label { color: var(--muted); font-size: 14px; white-space: nowrap; }
.toolbar__sort .ts-wrapper { min-width: 220px; }

/* Tom Select — загальне оформлення під поля сайту */
.ts-wrapper.single .ts-control { border: 1px solid var(--line); border-radius: var(--radius-sm); min-height: 46px; padding: 11px 36px 11px 14px; background: var(--white); box-shadow: none; font-size: 15px; cursor: pointer; }
.ts-wrapper.single.focus .ts-control { border-color: var(--green); box-shadow: 0 0 0 3px rgba(85, 159, 52, .18); }
.ts-wrapper.single .ts-control::after { border-color: var(--green) transparent transparent; border-width: 6px 5px 0; right: 14px; margin-top: -2px; }
.ts-wrapper.single.dropdown-active .ts-control::after { border-color: transparent transparent var(--green); border-width: 0 5px 6px; }
.ts-dropdown { border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-h); margin-top: 4px; z-index: 60; font-size: 15px; color: var(--text); }
.ts-dropdown .option { padding: 10px 14px; }
.ts-dropdown .active { background: var(--green-ll); color: var(--green-dd); }
.ts-dropdown .selected { font-weight: 800; color: var(--green-d); }
.ts-control input { cursor: pointer; }

/* Сітка товарів */
ul.products::before, ul.products::after { display: none !important; }
ul.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); align-items: stretch; }
.related ul.products, .up-sells ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .25s, border-color .25s, transform .25s; height: 100%; }
.card:hover { box-shadow: var(--shadow-h); border-color: #cbd8c2; }
.card__img { display: block; aspect-ratio: 1 / 1; background: var(--bg-alt); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card__img img { transform: scale(1.04); }
.card--out .card__img img { opacity: .7; }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card__brand { margin: 0 0 4px; color: var(--green-d); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card__title { font-size: 16px; font-weight: 700; line-height: 1.35; margin: 0 0 8px; }
.card__title a { color: var(--dark); text-decoration: none; }
.card__title a:hover { color: var(--green-d); }
.card__specs { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.4; }
.card__foot { margin-top: auto; }
.card__stock { margin: 0 0 10px; font-size: 13px; color: var(--green-d); font-weight: 600; }
.card__stock.is-out { color: var(--danger); }
.card__buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.card__price { font-size: 20px; font-weight: 800; color: var(--dark); line-height: 1.2; }
.card__price del { display: block; font-size: 14px; font-weight: 600; color: var(--muted); }
.card__price ins { text-decoration: none; color: var(--danger); }
.price__unit { font-size: .72em; font-weight: 700; color: var(--muted); margin-left: 2px; }
.card__cart { padding-left: 14px; padding-right: 14px; }
.card .added_to_cart { display: block; width: 100%; margin-top: 8px; font-size: 14px; font-weight: 700; text-align: center; }

/* Пагінація */
.pager { display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 32px; }
.pager__list { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 0; padding: 0; }
.pager__link { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text); text-decoration: none; font-weight: 700; }
.pager__link:hover { border-color: var(--green); color: var(--green-d); }
.pager__link.is-current { background: var(--green); border-color: var(--green); color: var(--white); }
.pager__gap { padding: 8px 4px; color: var(--muted); }

/* ---------- Контент сторінок ---------- */
.section--content { padding-top: var(--sec); }
.is-landing .section--content { background: var(--bg-alt); }
.entry { font-size: 17px; }
.entry > *:last-child { margin-bottom: 0; }
.entry h2 { position: relative; padding-bottom: 16px; margin-top: clamp(40px, 5vw, 64px); margin-bottom: 24px; }
.entry h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; border-top: 2px solid var(--green); border-bottom: 2px solid var(--green); opacity: .55; }
.entry > h2:first-child, .entry > .wp-block-group:first-child > .wp-block-group__inner-container > h2:first-child, .entry > .wp-block-group:first-child > h2:first-child { margin-top: 0; }
.entry h3 { margin-top: 1.4em; }
.entry ul li, .entry ol li { margin-bottom: .4em; }
.entry blockquote { margin: 1.5em 0; padding: 16px 22px; border-left: 4px solid var(--green); background: var(--green-ll); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry img { border-radius: var(--radius-sm); }
.entry .wp-block-group { margin: 0; }
.entry .pp-note { color: var(--muted); font-size: 15px; }

/* Картки-посилання (типи покриття, класи, види) */
.entry .pp-cards, .entry .wp-block-columns.pp-cards { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin: 0 0 1.5em; align-items: stretch; }
.entry .pp-cards > .wp-block-column { display: flex; flex-direction: column; margin: 0 !important; flex-basis: auto !important; padding: 22px 22px 20px; background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); transition: box-shadow .25s; }
.entry .pp-cards > .wp-block-column:hover { box-shadow: var(--shadow); }
.entry .pp-cards h3 { margin: 0 0 .5em; font-size: 19px; }
.entry .pp-cards p { margin: 0 0 .8em; font-size: 16px; color: #4a5047; }
.entry .pp-cards p:last-child { margin-bottom: 0; margin-top: auto; padding-top: 6px; }
.entry .pp-cards p a { font-weight: 800; text-decoration: none; }
.entry .pp-cards p a::after { content: ' →'; }

/* Переваги / сервіс — без іконок-плиток, нумерація */
.entry .pp-features { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; margin: 0 0 1.5em; counter-reset: feat; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); overflow: hidden; }
.entry .pp-features > .wp-block-column { margin: 0 !important; flex-basis: auto !important; padding: 24px 24px 22px; counter-increment: feat; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-right: -1px !important; margin-bottom: -1px !important; }
.entry .pp-features > .wp-block-column::before { content: counter(feat, decimal-leading-zero); display: block; font-size: 30px; font-weight: 800; color: var(--green); line-height: 1; margin-bottom: 12px; }
.entry .pp-features h3 { font-size: 18px; margin: 0 0 .4em; }
.entry .pp-features p { margin: 0; font-size: 15.5px; color: #4a5047; }

/* Таблиця порівняння */
.entry .wp-block-table { margin: 0 0 1.2em; overflow-x: auto; }
.entry .wp-block-table table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius); overflow: hidden; font-size: 16px; min-width: 520px; }
.entry .wp-block-table th, .entry .wp-block-table td { padding: 13px 16px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.entry .wp-block-table thead th { background: var(--green); color: var(--white); border-color: var(--green); font-weight: 800; }
.entry .wp-block-table tbody tr:nth-child(even) td { background: var(--green-ll); }
.entry .wp-block-table tbody td:first-child { font-weight: 700; }

/* Кнопки в контенті */
.entry .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1em 0 1.5em; }
.entry .wp-block-button__link { display: inline-flex; align-items: center; min-height: 48px; padding: 12px 24px; border-radius: var(--radius-sm); background: var(--green); color: var(--white); font-weight: 800; text-decoration: none; }
.entry .wp-block-button__link:hover { background: var(--green-d); color: var(--white); }
.entry .is-style-outline .wp-block-button__link { background: transparent; color: var(--green-d); border: 2px solid var(--green); }
.entry .is-style-outline .wp-block-button__link:hover { background: var(--green); color: var(--white); }

/* ---------- FAQ ---------- */
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: #c6d8ba; box-shadow: var(--shadow); }
.faq__q { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q h3 { margin: 0; font-size: clamp(16px, .3vw + 15px, 18.5px); }
.faq__ico { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--green-l); color: var(--green-d); flex-shrink: 0; transition: transform .25s, background-color .2s; }
.faq__item[open] .faq__ico { transform: rotate(180deg); background: var(--green); color: var(--white); }
.faq__a { padding: 0 22px 18px; color: #444a41; }
.faq__a p:last-child { margin-bottom: 0; }

/* ---------- Бренди ---------- */
.brands__filters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 26px; }
.brands__filter span { display: block; font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.brand-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.brand-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; height: 100%; transition: box-shadow .25s; }
.brand-card:hover { box-shadow: var(--shadow-h); }
.brand-card__logo { display: flex; align-items: center; justify-content: center; height: 110px; margin-bottom: 14px; border-radius: var(--radius-sm); background: var(--bg-alt); text-decoration: none; padding: 14px; }
.brand-card__logo img { max-height: 80px; width: auto; object-fit: contain; }
.brand-card__word { font-weight: 800; font-size: 24px; color: var(--dark); letter-spacing: .02em; text-align: center; line-height: 1.1; }
.brand-card__name { font-size: 19px; margin: 0 0 8px; }
.brand-card--nologo .brand-card__name { font-size: 24px; padding-bottom: 10px; margin-bottom: 10px; border-bottom: 2px solid var(--green-l); }
.brand-card__name a { color: var(--dark); text-decoration: none; }
.brand-card__meta { margin: 0 0 14px; font-size: 14.5px; }
.brand-card__meta div { display: flex; gap: 6px; padding: 3px 0; }
.brand-card__meta dt { color: var(--muted); flex-shrink: 0; }
.brand-card__meta dt::after { content: ':'; }
.brand-card__meta dd { margin: 0; font-weight: 600; }
.brand-card__btn { margin-top: auto; }
.brands__empty { padding: 24px; text-align: center; color: var(--muted); }

.brand-logos { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; }
.brand-logos__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; height: 100%; min-height: 150px; padding: 18px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); text-decoration: none; text-align: center; transition: border-color .2s, box-shadow .2s; }
.brand-logos__item:hover { border-color: var(--green); box-shadow: var(--shadow); }
.brand-logos__img { display: flex; align-items: center; justify-content: center; min-height: 56px; }
.brand-logos__img img { max-height: 56px; width: auto; }
.brand-logos__img .brand-card__word { font-size: 22px; }
.brand-logos__name { display: none; }
.brand-logos__img:has(img) + .brand-logos__name { display: block; font-weight: 800; color: var(--dark); }
.brand-logos__n { font-size: 13.5px; color: var(--muted); }
.brand-logos__more { text-align: left; }

.feature-cards { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: clamp(14px, 1.6vw, 22px); align-items: stretch; }
.feature-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); height: 100%; }
.feature-card__logo { display: flex; align-items: center; min-height: 48px; margin-bottom: 12px; }
.feature-card__logo img { max-height: 48px; width: auto; }
.feature-card__logo .brand-card__word { font-size: 22px; text-align: left; }
.entry .feature-card__title { margin: 0 0 .4em; font-size: 19px; }
.feature-card__text { color: #4a5047; font-size: 15.5px; }
.feature-card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }

/* ---------- Контакти ---------- */
.contacts { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; margin-bottom: 1.5em; }
.contacts__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.entry .contacts__list li { margin: 0; }
.contacts__item { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.contacts__item .ico { color: var(--green); margin-top: 3px; }
.contacts__label { margin: 0 0 2px; font-size: 14px; color: var(--muted); }
.contacts__item a, .contacts__item span { font-weight: 800; color: var(--dark); text-decoration: none; word-break: break-word; }
.contacts__item a:hover { color: var(--green-d); }
.contacts__map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.contacts__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.contacts__route { position: absolute; left: 16px; bottom: 16px; }

/* ---------- Блог ---------- */
.posts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); align-items: stretch; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); height: 100%; transition: box-shadow .25s; }
.post-card:hover { box-shadow: var(--shadow-h); }
.post-card__img { display: block; aspect-ratio: 16 / 9; background: var(--green-ll); overflow: hidden; }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__ph { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.post-card__ph img { width: 96px; height: 96px; object-fit: contain; opacity: .7; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.post-card__date { margin: 0 0 6px; font-size: 13.5px; color: var(--muted); }
.post-card__title { font-size: 19px; margin: 0 0 8px; }
.post-card__title a { color: var(--dark); text-decoration: none; }
.post-card__title a:hover { color: var(--green-d); }
.post-card__text { color: #4a5047; font-size: 15.5px; }
.post-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; }
.nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.nav-links .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--text); font-weight: 700; }
.nav-links .current { background: var(--green); border-color: var(--green); color: var(--white); }
.article__date { color: var(--muted); margin: 0; }
.article__cover { margin: 0 0 28px; }
.article__cover img { width: 100%; border-radius: var(--radius); }
.article__cta { margin-top: 40px; padding: 26px 28px; border-radius: var(--radius); background: var(--green-ll); border: 1px solid #d2e5c5; }
.article__cta-title { font-weight: 800; font-size: 20px; margin-bottom: 6px; color: var(--dark); }
.article__cta-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* ---------- WooCommerce: картка товару ---------- */
.single-product .site-main { padding: 24px 0 var(--sec); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3.5vw, 56px); align-items: start; position: relative; }
.single-product div.product .woocommerce-product-gallery { width: 100% !important; float: none !important; margin: 0; position: relative; }
.single-product div.product .summary { width: 100% !important; float: none !important; margin: 0; }
.single-product div.product .woocommerce-tabs, .single-product div.product .related { grid-column: 1 / -1; }
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { border-radius: var(--radius); }
.woocommerce-product-gallery .flex-control-thumbs { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; padding: 0; margin: 10px 0 0; }
.woocommerce-product-gallery .flex-control-thumbs img { border-radius: var(--radius-sm); cursor: pointer; opacity: .65; }
.woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; outline: 2px solid var(--green); }
.woocommerce-product-gallery__trigger { position: absolute; right: 12px; top: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow); font-size: 0; }
.woocommerce-product-gallery__trigger::before { content: ''; position: absolute; left: 12px; top: 11px; width: 12px; height: 12px; border: 2px solid var(--dark); border-radius: 50%; }
.woocommerce-product-gallery__trigger::after { content: ''; position: absolute; left: 24px; top: 24px; width: 2px; height: 7px; background: var(--dark); transform: rotate(-45deg); }
.single__brand { margin: 0 0 6px; font-weight: 700; color: var(--muted); }
.single__brand a { text-transform: uppercase; letter-spacing: .04em; font-weight: 800; text-decoration: none; }
.product_title { font-size: clamp(24px, 1vw + 18px, 34px); }
.summary .price { font-size: clamp(26px, 1vw + 20px, 34px); font-weight: 800; color: var(--dark); margin: 0 0 14px; }
.summary .price del { font-size: .6em; color: var(--muted); margin-right: 8px; }
.summary .price ins { text-decoration: none; color: var(--danger); }
.single__keyspecs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0 0 20px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.single__keyspecs div { padding: 10px 14px; border-bottom: 1px solid var(--line); }
.single__keyspecs div:nth-child(odd) { border-right: 1px solid var(--line); }
.single__keyspecs dt { font-size: 13px; color: var(--muted); }
.single__keyspecs dd { margin: 0; font-weight: 800; }
.stock { font-weight: 700; color: var(--green-d); }
.stock.out-of-stock { color: var(--danger); }
.summary form.cart { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 0 0 18px; }
.summary form.cart .calc { flex: 1 1 100%; }
.quantity { display: flex; flex-direction: column; }
.quantity .qty { width: 110px; height: 52px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-align: center; font-weight: 800; font-size: 17px; }
.quantity__label { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.single_add_to_cart_button { min-height: 52px; padding: 12px 34px; border: 0; border-radius: var(--radius-sm); background: var(--green); color: var(--white); font-weight: 800; font-size: 16px; cursor: pointer; box-shadow: 0 6px 18px rgba(85, 159, 52, .32); flex: 1 1 200px; }
.single_add_to_cart_button:hover { background: var(--green-d); }
.calc { padding: 16px 18px; border: 1px solid #d2e5c5; border-radius: var(--radius); background: var(--green-ll); }
.calc__title { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-weight: 800; }
.calc__title .ico { color: var(--green); }
.calc__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 12px; }
.calc__field span { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 4px; }
.calc__field input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.calc__field input:focus { border-color: var(--green); outline: 0; box-shadow: 0 0 0 3px rgba(85, 159, 52, .18); }
.calc__result { margin: 12px 0 0; font-weight: 700; }
.calc__result b { color: var(--green-d); }
.single__help { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 0 0 18px; }
.single__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; color: var(--dark); text-decoration: none; font-size: 18px; }
.single__phone .ico { color: var(--green); }
.single__info { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.single__info li { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg-alt); font-size: 15px; line-height: 1.5; }
.single__info .ico { color: var(--green); flex-shrink: 0; margin-top: 2px; }
.single__info a { font-weight: 800; white-space: nowrap; }
.product_meta { font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.woocommerce-tabs { margin-top: clamp(24px, 3vw, 48px); }
.woocommerce-tabs .tabs { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; border-bottom: 2px solid var(--line); }
.woocommerce-tabs .tabs li { margin-bottom: -2px; }
.woocommerce-tabs .tabs a { display: block; padding: 12px 22px; font-weight: 800; color: var(--muted); text-decoration: none; border-bottom: 3px solid transparent; }
.woocommerce-tabs .tabs li.active a { color: var(--dark); border-color: var(--green); }
.woocommerce-Tabs-panel { padding: 24px 0 0; max-width: 900px; font-size: 16.5px; }
.woocommerce-product-attributes { width: 100%; border-collapse: collapse; }
.woocommerce-product-attributes th, .woocommerce-product-attributes td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.woocommerce-product-attributes th { width: 40%; color: var(--muted); font-weight: 600; }
.woocommerce-product-attributes td p { margin: 0; }
.woocommerce-product-attributes tr:nth-child(odd) { background: var(--bg-alt); }
.related { margin-top: clamp(32px, 4vw, 64px); }
.related > h2 { position: relative; padding-bottom: 16px; }
.related > h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 6px; border-top: 2px solid var(--green); border-bottom: 2px solid var(--green); opacity: .55; }
.onsale { display: none; }

/* ---------- WooCommerce: повідомлення, кошик, чекаут ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews { list-style: none; margin: 0 0 20px; padding: 14px 18px; border-radius: var(--radius-sm); background: var(--green-ll); border-left: 4px solid var(--green); display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.woocommerce-error { background: #fdf0ee; border-color: var(--danger); flex-direction: column; align-items: flex-start; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border: 2px solid var(--green); border-radius: var(--radius-sm); background: var(--white); color: var(--green-d); font-weight: 800; font-size: 15px; text-decoration: none; cursor: pointer; transition: .2s; }
.woocommerce .button:hover { background: var(--green); color: var(--white); }
.woocommerce .button.alt, .woocommerce #place_order, .woocommerce .checkout-button { background: var(--green); color: var(--white); box-shadow: 0 6px 18px rgba(85, 159, 52, .3); }
.woocommerce .button.alt:hover, .woocommerce #place_order:hover, .woocommerce .checkout-button:hover { background: var(--green-d); border-color: var(--green-d); }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; cursor: not-allowed; }

.is-info .woocommerce { margin-bottom: 0; }
.woocommerce-cart-form__contents, .shop_table { width: 100%; border-collapse: collapse; background: var(--white); }
.shop_table th, .shop_table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.shop_table thead th { font-size: 14px; color: var(--muted); font-weight: 700; }
.woocommerce-cart-form .product-thumbnail img { width: 84px; border-radius: var(--radius-sm); }
.woocommerce-cart-form .product-name a { font-weight: 700; color: var(--dark); text-decoration: none; }
.woocommerce-cart-form .product-remove a { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--bg-alt); color: var(--danger); text-decoration: none; font-size: 20px; }
.woocommerce-cart-form .actions .coupon { display: none; }
.woocommerce-cart-form .actions { text-align: right; }
.variation { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 4px; flex-wrap: wrap; }
.variation dt, .variation dd { margin: 0; }
.variation dd p { margin: 0; }
.cart-collaterals { margin-top: 28px; display: flex; justify-content: flex-end; }
.cart_totals { width: 100%; max-width: 460px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.cart_totals h2 { font-size: 22px; }
.cart_totals .shop_table th, .cart_totals .shop_table td { padding: 10px 0; background: transparent; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 16px; margin-top: 12px; }
.woocommerce-shipping-methods { list-style: none; margin: 0; padding: 0; }
.woocommerce-shipping-destination, .woocommerce-shipping-calculator { display: none; }
.woocommerce-shipping-methods li { margin: 0 0 8px; }

.woocommerce-checkout .col2-set { display: block; width: 100%; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { float: none; width: 100%; max-width: none; }
.woocommerce-checkout .col2-set .col-2 { margin-top: 10px; }
form.checkout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); grid-template-rows: auto 1fr; gap: 0 clamp(20px, 3vw, 44px); align-items: start; }
form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; }
form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0 0 14px; }
form.checkout #order_review { grid-column: 2; grid-row: 2; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); position: sticky; top: 16px; }
.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #order_review_heading { font-size: 22px; }
.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.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; background: transparent; }
.woocommerce-checkout-review-order-table thead th { font-size: 14px; color: var(--muted); font-weight: 700; }
.woocommerce-checkout-review-order-table .product-total, .woocommerce-checkout-review-order-table tfoot td { text-align: right; white-space: nowrap; }
.woocommerce-checkout-review-order-table .product-name { padding-right: 12px; font-weight: 600; }
.woocommerce-checkout-review-order-table .order-total td, .woocommerce-checkout-review-order-table .order-total th { font-size: 19px; font-weight: 800; color: var(--dark); border-bottom: 0; }
tr.woocommerce-shipping-totals { display: flex; flex-direction: column; border-bottom: 1px solid var(--line); }
tr.woocommerce-shipping-totals th, tr.woocommerce-shipping-totals td { display: block; border-bottom: 0; width: 100%; text-align: left !important; white-space: normal !important; }
tr.woocommerce-shipping-totals th { border-bottom: 0; padding-bottom: 4px; }
.woocommerce-shipping-methods li { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 11px 12px; margin: 0 0 8px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 15px; line-height: 1.4; cursor: pointer; }
.woocommerce-shipping-methods li:has(input:checked) { border-color: var(--green); box-shadow: 0 0 0 1px var(--green); }
.woocommerce-shipping-methods input[type="radio"] { margin: 3px 0 0; accent-color: var(--green); flex-shrink: 0; }
.woocommerce-shipping-methods label { cursor: pointer; }
.woocommerce-checkout-payment input[type="radio"], .woocommerce-form__input-checkbox { accent-color: var(--green); }
.form-row { margin: 0 0 14px; padding: 0; }
.form-row label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 5px; }
.form-row .required { color: var(--danger); text-decoration: none; }
.form-row .optional { color: var(--muted); font-weight: 400; }
.form-row input.input-text, .form-row textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.form-row textarea { min-height: 96px; }
.form-row input.input-text:focus, .form-row textarea:focus { border-color: var(--green); outline: 0; box-shadow: 0 0 0 3px rgba(85, 159, 52, .18); }
.form-row.woocommerce-invalid input.input-text { border-color: var(--danger); }
.form-row-first, .form-row-last { width: calc(50% - 7px); display: inline-block; vertical-align: top; }
.form-row-first { margin-right: 10px; }
#billing_country_field { display: none !important; }
.woocommerce-checkout-payment ul.payment_methods { list-style: none; margin: 18px 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.woocommerce-checkout-payment li.wc_payment_method { padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.woocommerce-checkout-payment li.wc_payment_method > label { font-weight: 800; cursor: pointer; }
.woocommerce-checkout-payment li.wc_payment_method img { display: inline-block; max-height: 24px; vertical-align: middle; margin-left: 6px; }
.payment_box { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.payment_box p { margin: 0; }
#place_order { width: 100%; min-height: 56px; font-size: 17px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.woocommerce-order-overview { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.blockUI.blockOverlay { background: rgba(255, 255, 255, .6) !important; }

/* ---------- Футер ---------- */
.ftr { background: var(--dark); color: #c7ccc2; padding: clamp(40px, 5vw, 64px) 0 0; font-size: 15px; }
.ftr a { color: #e4e8e0; text-decoration: none; }
.ftr a:hover { color: #a9dc8d; }
.ftr__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, .8fr)) minmax(0, 1.2fr); gap: clamp(24px, 3vw, 44px); }
.ftr__logo img { height: 64px; width: auto; }
.ftr__about { margin: 16px 0; line-height: 1.55; max-width: 340px; }
.ftr__social { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.ftr__social a { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ftr__social a:hover { background: var(--green); color: var(--white); }
.ftr__title { margin: 0 0 14px; font-weight: 800; color: var(--white); font-size: 16.5px; }
.ftr__menu, .ftr__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.ftr__list li { display: flex; gap: 10px; align-items: flex-start; }
.ftr__list .ico { color: var(--green); margin-top: 3px; }
.ftr__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: clamp(32px, 4vw, 48px); padding-top: 20px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .12); }
.ftr__copy { margin: 0; font-size: 13.5px; color: #9ea597; }
.pay-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges__item { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 40px; border-radius: 6px; background: var(--white); padding: 4px 10px; }
.pay-badges__item svg { width: 100%; height: 100%; }
.summary .pay-badges__item { border: 1px solid var(--line); }

/* Підказка міста */
.city-hint { position: fixed; z-index: 90; left: 50%; bottom: 20px; transform: translateX(-50%); width: min(420px, calc(100% - 24px)); padding: 16px 18px; border-radius: var(--radius); background: var(--white); box-shadow: 0 16px 48px rgba(0, 0, 0, .22); border-top: 4px solid var(--green); display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.city-hint__text { margin: 0; font-size: 16px; }
.city-hint__btns { display: flex; gap: 8px; }

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (max-width: 1279px) {
	.hdr__tagline { display: none; }
	ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
	.catalog__layout { grid-template-columns: 250px minmax(0, 1fr); }
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hdr__hours { display: none; }
	.nav__menu a { font-size: 14px; padding-left: 9px; padding-right: 9px; }
}

/* Мобільна шапка + фільтри у висувній панелі */
@media (max-width: 960px) {
	.hdr__top-inner { min-height: 68px; gap: 10px; }
	.hdr__burger { display: inline-flex; }
	.hdr__logo img { height: 48px; }
	.hdr__city, .hdr__contacts { display: none; }
	.hdr__tg { margin-left: auto; }
	.hdr__icon { width: 42px; height: 42px; }
	.hdr__bar { display: block; background: var(--green); }
	.hdr__bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 52px; }
	.hdr__bar-phone { display: inline-flex; align-items: center; gap: 7px; color: var(--white); font-weight: 800; font-size: 17px; text-decoration: none; white-space: nowrap; }
	.hdr__bar .city-switch { min-width: 0; }
	.hdr__bar .city-switch__ico { color: var(--white); }
	.hdr__bar .city-switch .ts-wrapper { min-width: 140px; }
	.hdr__bar .city-switch .ts-control { background: rgba(255, 255, 255, .14) !important; border-color: rgba(255, 255, 255, .35) !important; min-height: 38px; padding-top: 7px !important; padding-bottom: 7px !important; }

	.nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 100; width: min(360px, 88vw); background: var(--white); transform: translateX(-105%); transition: transform .3s ease; overflow-y: auto; box-shadow: var(--shadow-h); }
	.nav.is-open { transform: none; }
	.nav__inner { flex-direction: column; align-items: stretch; padding-top: 14px; padding-bottom: 24px; min-height: 100%; }
	.nav__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
	.nav__head img { height: 46px; width: auto; }
	.nav__close { background: none; border: 0; padding: 4px; color: var(--text); cursor: pointer; }
	.nav__menu { flex-direction: column; }
	.nav__menu > li { border-bottom: 1px solid var(--line); }
	.nav__menu a, .nav__menu > li:first-child > a { color: var(--dark); padding: 14px 0; font-size: 17px; }
	.nav__menu > li > a:hover, .nav__menu > li.current-menu-item > a, .nav__menu > li:first-child > a:hover { background: transparent; color: var(--green-d); text-decoration: none; }
	.nav__menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0 0 8px 14px; min-width: 0; }
	.nav__menu .sub-menu a { padding: 8px 0; font-size: 15.5px; }
	.nav__menu > li.menu-item-has-children > a::after { display: none; }
	.nav__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; padding-top: 20px; }
	.nav-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(20, 24, 18, .5); opacity: 0; visibility: hidden; transition: .3s; display: block; }
	.nav-overlay.is-open { opacity: 1; visibility: visible; }

	.catalog__layout { grid-template-columns: minmax(0, 1fr); }
	.filters { position: fixed; top: 0; right: 0; bottom: 0; z-index: 100; width: min(380px, 92vw); border-radius: 0; border: 0; transform: translateX(105%); transition: transform .3s ease; overflow-y: auto; overscroll-behavior: contain; }
	.filters.is-open { transform: none; box-shadow: var(--shadow-h); }
	.filters__form { padding-bottom: 96px; }
	.filters__close { display: inline-flex; }
	.filters__actions { position: fixed; bottom: 0; right: 0; width: min(380px, 92vw); padding: 12px 18px 16px; background: var(--white); border-top: 1px solid var(--line); transform: translateX(105%); transition: transform .3s ease; z-index: 101; }
	.filters.is-open .filters__actions { transform: none; }
	.filters__actions .btn { display: inline-flex; }
	.filters-overlay { position: fixed; inset: 0; z-index: 99; background: rgba(20, 24, 18, .5); opacity: 0; visibility: hidden; transition: .3s; display: block; }
	.catalog.filters-open .filters-overlay { opacity: 1; visibility: visible; }
	.toolbar { justify-content: space-between; }
	.toolbar__filters { display: inline-flex; min-height: 46px; }
	.facet__list--scroll { max-height: none; }

	.hero--img .hero__inner, .hero--brand .hero__inner { grid-template-columns: minmax(0, 1fr); }
	.hero--bg::after { background: linear-gradient(180deg, rgba(255, 255, 255, .9) 0%, rgba(255, 255, 255, .84) 100%); }
	.hero__bg { object-position: 80% 50%; }
	.hero__media { max-width: 640px; }
	.hero__media--logo { min-height: 140px; max-width: 360px; }
	.single-product div.product { grid-template-columns: minmax(0, 1fr); }
	form.checkout { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
	form.checkout #customer_details, form.checkout #order_review_heading, form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	form.checkout #order_review_heading { margin-top: 24px; }
	.contacts { grid-template-columns: minmax(0, 1fr); }
	.contacts__map { min-height: 340px; }
	.posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.brands__filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
	.brand-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.catalog__count { position: static; flex-basis: 100%; }
	.toolbar__label { display: none; }
	.toolbar__sort .ts-wrapper { min-width: 0; width: 190px; }
	.related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.single__keyspecs { grid-template-columns: minmax(0, 1fr); }
	.single__keyspecs div:nth-child(odd) { border-right: 0; }
	.calc__row { grid-template-columns: minmax(0, 1fr); }
	.ftr__grid { grid-template-columns: minmax(0, 1fr); }
	.ftr__bottom { flex-direction: column; align-items: flex-start; }
	.woocommerce-cart-form__contents thead { display: none; }
	.woocommerce-cart-form__contents tr.cart_item { display: grid; grid-template-columns: 76px minmax(0, 1fr) 34px; gap: 4px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
	.woocommerce-cart-form__contents tr.cart_item td { border: 0; padding: 0; }
	.woocommerce-cart-form__contents .product-thumbnail { grid-row: 1 / span 4; grid-column: 1; }
	.woocommerce-cart-form__contents .product-thumbnail img { width: 76px; }
	.woocommerce-cart-form__contents .product-remove { grid-column: 3; grid-row: 1; }
	.woocommerce-cart-form__contents .product-name, .woocommerce-cart-form__contents .product-price, .woocommerce-cart-form__contents .product-quantity, .woocommerce-cart-form__contents .product-subtotal { grid-column: 2; }
	.woocommerce-cart-form__contents .product-name { grid-row: 1; }
	.woocommerce-cart-form__contents td::before { content: attr(data-title) ': '; color: var(--muted); font-size: 13.5px; }
	.woocommerce-cart-form__contents td.product-name::before, .woocommerce-cart-form__contents td.product-remove::before, .woocommerce-cart-form__contents td.product-thumbnail::before { display: none; }
	.woocommerce-cart-form__contents .product-quantity { display: flex; align-items: center; gap: 8px; }
	.woocommerce-cart-form__contents .quantity .qty { height: 42px; width: 80px; }
	.woocommerce-cart-form__contents tr:not(.cart_item) td { display: block; border: 0; }
}

@media (max-width: 600px) {
	ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.card__body { padding: 10px 10px 12px; }
	.card__title { font-size: 14.5px; }
	.card__specs { font-size: 13px; }
	.card__price { font-size: 17px; }
	.card__buy { flex-direction: column; align-items: stretch; }
	.card__cart { width: 100%; }
	.posts { grid-template-columns: minmax(0, 1fr); }
	.brands__filters { grid-template-columns: minmax(0, 1fr); }
	.hero__btns .btn { flex: 1 1 100%; }
	.hero__facts { flex-direction: column; gap: 8px; }
	.entry { font-size: 16px; }
	.faq__q { padding: 15px 16px; }
	.faq__a { padding: 0 16px 16px; }
	.form-row-first, .form-row-last { width: 100%; margin-right: 0; }
	.contacts__route { left: 12px; right: 12px; bottom: 12px; }
	.woocommerce-tabs .tabs a { padding: 10px 14px; }
	.single__help .btn { flex: 1 1 100%; }
}

@media (max-width: 480px) {
	.hdr__logo img { height: 42px; }
	.hdr__top-inner { gap: 6px; }
	.hdr__icon { width: 40px; height: 40px; }
	.hdr__bar-phone { font-size: 15.5px; }
	.hdr__bar .city-switch .ts-wrapper { min-width: 118px; }
	.hdr__bar .city-switch__ico { display: none; }
	.brand-grid { grid-template-columns: minmax(0, 1fr); }
	.toolbar__sort .ts-wrapper { width: 160px; }
	.toolbar__filters { padding-left: 14px; padding-right: 14px; }
	.related ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.city-hint { bottom: 12px; }
}

@media (max-width: 374px) {
	.hdr__bar-phone .ico { display: none; }
	.hdr__bar .city-switch .ts-wrapper { min-width: 108px; }
	.hdr__bar .city-switch .ts-control { padding-left: 9px !important; padding-right: 26px !important; font-size: 14px; }
	ul.products { grid-template-columns: minmax(0, 1fr); }
	.related ul.products { grid-template-columns: minmax(0, 1fr); }
	.toolbar { flex-wrap: wrap; }
	.toolbar__sort, .toolbar__sort .ts-wrapper, .toolbar__filters { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
