/*
 * Andermi – ühine alus kõigile kujundustele. Värvid/fondid/raadiused tulevad muutujatest (kuj-N.css).
 * Põhimõte: hele puhas taust, rõhuvärv (--a-accent) AINULT ostunuppudel, hindadel ja soodusmärgil.
 * Mobiil esimesena.
 */

:root {
	--a-bg: #fff;
	--a-surface: #f5f6f8;
	--a-ink: #15181d;
	--a-muted: #5d6573;
	--a-line: #e4e7ec;
	--a-accent: #0068b5;
	--a-accent-hover: #00548f;
	--a-accent-ink: #fff;
	--a-ok: #1d7a46;
	--a-wait: #a15c00;
	--a-radius: 12px;
	--a-radius-btn: 10px;
	--a-radius-img: 10px;
	--a-card-border: 1px solid var(--a-line);
	--a-card-shadow: none;
	--a-card-bg: #fff;
	--a-img-bg: #fff;
	--a-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--a-font-head: var(--a-font);
	--a-head-weight: 700;
	--a-head-spacing: -0.01em;
	--a-price-size: 1.9rem;

	/* Blocksy muutujad – lingid ja tavanupud neutraalsed, rõhuvärv ainult ostul. */
	--theme-font-family: var(--a-font);
	--theme-text-color: var(--a-ink);
	--theme-headings-color: var(--a-ink);
	--theme-link-initial-color: var(--a-ink);
	--theme-link-hover-color: var(--a-accent);
	--theme-border-color: var(--a-line);
	--theme-palette-color-1: var(--a-ink);
	--theme-palette-color-2: #000;
	--theme-palette-color-3: var(--a-muted);
	--theme-palette-color-4: var(--a-ink);
	--theme-palette-color-5: var(--a-line);
	--theme-palette-color-6: var(--a-surface);
	--theme-palette-color-7: var(--a-bg);
	--theme-palette-color-8: #fff;
	--theme-button-background-initial-color: var(--a-ink);
	--theme-button-background-hover-color: #000;
	--theme-button-text-initial-color: #fff;
	--theme-button-border-radius: var(--a-radius-btn);
	--theme-form-field-border-radius: var(--a-radius-img);
	--theme-normal-container-max-width: 1320px;
}

/* Blocksy muutujad uuesti body tasandil: :root arvutab var(--a-*) vaikeväärtustega, kujundus (body.kuj-N) muudab neid body-l. */
body {
	--a-font-head: var(--a-font);
	--theme-font-family: var(--a-font);
	--theme-text-color: var(--a-ink);
	--theme-headings-color: var(--a-ink);
	--theme-link-initial-color: var(--a-ink);
	--theme-link-hover-color: var(--a-accent);
	--theme-border-color: var(--a-line);
	--theme-palette-color-1: var(--a-ink);
	--theme-palette-color-2: #000;
	--theme-palette-color-3: var(--a-muted);
	--theme-palette-color-4: var(--a-ink);
	--theme-palette-color-5: var(--a-line);
	--theme-palette-color-6: var(--a-surface);
	--theme-palette-color-7: var(--a-bg);
	--theme-palette-color-8: #fff;
	--theme-button-background-initial-color: var(--a-ink);
	--theme-button-background-hover-color: #000;
	--theme-button-text-initial-color: #fff;
	--theme-button-border-radius: var(--a-radius-btn);
	--theme-form-field-border-radius: var(--a-radius-img);
	--theme-normal-container-max-width: 1320px;
}

body {
	background: var(--a-bg);
	color: var(--a-ink);
	font-family: var(--a-font);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .woocommerce-loop-product__title, .product_title {
	font-family: var(--a-font-head);
	font-weight: var(--a-head-weight);
	letter-spacing: var(--a-head-spacing);
}

/* ---------- Päis ---------- */
#header .site-logo-container img,
#header .custom-logo { max-height: 44px; width: auto; }
@media (min-width: 1000px) {
	#header .site-logo-container img, #header .custom-logo { max-height: 56px; }
}

/* ---------- Usaldusriba ---------- */
.andermi-usp {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.andermi-usp__item {
	display: flex; align-items: center; gap: 10px; margin: 0;
	padding: 10px 12px; background: var(--a-surface); border-radius: var(--a-radius);
	font-size: 0.82rem; line-height: 1.25;
}
.andermi-usp__item strong { display: block; font-weight: 600; font-size: 0.88rem; }
.andermi-usp__item small { display: block; color: var(--a-muted); font-size: 0.78rem; }
.andermi-usp__icon { flex: 0 0 auto; color: var(--a-ink); width: 24px; height: 24px; }
@media (min-width: 900px) {
	.andermi-usp { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
	.andermi-usp__item { padding: 14px 16px; }
}
.andermi-usp-bar { border-bottom: 1px solid var(--a-line); background: var(--a-bg); }
.andermi-usp-bar .andermi-usp { max-width: 1320px; margin: 0 auto; padding: 8px 16px; gap: 6px 16px; }
.andermi-usp-bar .andermi-usp__item { background: none; padding: 4px 0; }
.andermi-usp-bar .andermi-usp__item small { display: none; }
.andermi-usp-bar .andermi-usp__icon { width: 20px; height: 20px; }
@media (max-width: 899px) {
	.andermi-usp-bar .andermi-usp { display: flex; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
	.andermi-usp-bar .andermi-usp__item { flex: 0 0 auto; }
}

/* ---------- Tootekaardid ---------- */
[data-products] .product,
ul.products li.product {
	background: var(--a-card-bg);
	border: var(--a-card-border);
	border-radius: var(--a-radius);
	box-shadow: var(--a-card-shadow);
	padding: 10px 10px 14px;
	display: flex; flex-direction: column;
	transition: box-shadow .2s, transform .2s, border-color .2s;
}
[data-products] .product:hover { border-color: var(--a-ink); }
[data-products] .product .ct-media-container,
ul.products li.product .ct-media-container {
	background: var(--a-img-bg); border-radius: var(--a-radius-img); overflow: hidden;
	aspect-ratio: 1 / 1;
}
[data-products] .product .ct-media-container img {
	object-fit: contain !important; width: 100%; height: 100%; padding: 4%;
	mix-blend-mode: multiply;
}
/* Telerite kategooriates laiad pildid: pildiala 4:3 (body-klass andermi-lai-pilt, modules/shop.php). */
.andermi-lai-pilt [data-products] .product .ct-media-container,
.andermi-lai-pilt ul.products li.product .ct-media-container { aspect-ratio: 4 / 3; }
.andermi-lai-pilt [data-products] .product .ct-media-container img { padding: 3%; }
.woocommerce-loop-product__title {
	font-size: 0.92rem !important; line-height: 1.3 !important; font-weight: 500 !important;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	margin: 10px 0 6px !important;
}
[data-products] .product .price {
	color: var(--a-accent); font-weight: 700; font-size: 1.15rem; margin-top: auto;
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
}
[data-products] .product .price del { color: var(--a-muted); font-weight: 400; font-size: 0.85rem; opacity: 1; order: 2; }
[data-products] .product .price ins { text-decoration: none; order: 1; }
[data-products] .product .ct-woo-card-actions { margin-top: 10px; }
/* Kategooria + seisukord/garantii pildi all, nime kohal (nagu vanal saidil). */
[data-products] .product > figure { order: -2; }
[data-products] .product .entry-meta { order: -1; margin: 10px 0 0 !important; font-size: 0.8rem; line-height: 1.35; color: var(--a-muted); }
[data-products] .product .entry-meta a { color: inherit; }
[data-products] .product .andermi-garantii { order: 0; margin-top: 2px; font-size: 0.8rem; line-height: 1.35; font-weight: 600; color: var(--and-sale-ink, #b42020); }

.andermi-esto--loop { font-size: 0.8rem; color: var(--a-muted); margin-top: 2px; }
.andermi-stock { font-size: 0.8rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.andermi-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.andermi-stock--laos { color: var(--a-ok); }
.andermi-stock--tellimisel { color: var(--a-wait); }
.andermi-stock--pole { color: var(--a-muted); }
[data-products] .andermi-stock { margin-top: 6px; }

/* Ostunupud – ainus koht rõhuvärviga (koos hindadega). */
.add_to_cart_button, .single_add_to_cart_button, .ajax_add_to_cart,
.woocommerce .button.alt, .wc-block-components-checkout-place-order-button, .checkout-button {
	background: var(--a-accent) !important; color: var(--a-accent-ink) !important;
	border-color: var(--a-accent) !important; border-radius: var(--a-radius-btn) !important;
	font-weight: 600 !important;
}
.add_to_cart_button:hover, .single_add_to_cart_button:hover, .checkout-button:hover { background: var(--a-accent-hover) !important; }
[data-products] .add_to_cart_button { width: 100%; justify-content: center; min-height: 42px; }

/* Soodusmärk */
.onsale.andermi-badge, span.onsale {
	background: var(--a-accent) !important; color: var(--a-accent-ink) !important;
	border-radius: var(--a-radius-btn); font-weight: 700; font-size: 0.85rem;
	padding: 4px 10px; min-height: 0; min-width: 0; line-height: 1.4;
	top: 12px !important; left: 12px !important; right: auto !important;
}

/* ---------- Tooteleht ---------- */
.single-product .product_title { font-size: clamp(1.35rem, 4.5vw, 2rem); line-height: 1.2; margin-bottom: 10px; }
.single-product .entry-summary .price {
	color: var(--a-accent) !important; font-size: var(--a-price-size) !important; font-weight: 800;
	display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-bottom: 4px;
}
.single-product .entry-summary .price del { font-size: 1rem; color: var(--a-muted); font-weight: 400; order: 2; }
.single-product .entry-summary .price ins { text-decoration: none; order: 1; }
.andermi-save {
	display: inline-block; font-weight: 700; color: var(--a-accent);
	background: color-mix(in srgb, var(--a-accent) 10%, transparent);
	padding: 3px 10px; border-radius: var(--a-radius-btn); font-size: 0.9rem; margin-bottom: 10px;
}
.andermi-esto {
	display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline;
	padding: 10px 12px; border: 1px dashed var(--a-line); border-radius: var(--a-radius);
	margin: 6px 0 12px; font-size: 0.9rem;
}
.andermi-esto__sum { font-weight: 700; font-size: 1.05rem; color: var(--a-accent); }
.andermi-esto__txt { color: var(--a-muted); }
.single-product .entry-summary .andermi-stock { font-size: 0.95rem; margin-bottom: 14px; display: flex; }
.single-product .entry-summary form.cart { display: flex; gap: 10px; align-items: stretch; margin-bottom: 16px; }
.single-product .entry-summary .single_add_to_cart_button { flex: 1; min-height: 52px; font-size: 1.05rem !important; }
.single-product .entry-summary .woocommerce-product-details__short-description { color: var(--a-muted); font-size: 0.95rem; }

.andermi-delivery { list-style: none; margin: 0 0 16px; padding: 0; border: 1px solid var(--a-line); border-radius: var(--a-radius); }
.andermi-delivery li {
	display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 14px; margin: 0;
	font-size: 0.88rem; border-top: 1px solid var(--a-line);
}
.andermi-delivery li:first-child { border-top: 0; }
.andermi-delivery__what { font-weight: 600; }
.andermi-delivery__when { color: var(--a-muted); grid-row: 2; }
.andermi-delivery__price { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-weight: 600; }

.woocommerce-product-gallery { background: var(--a-img-bg); border-radius: var(--a-radius); }
.woocommerce-product-gallery img { mix-blend-mode: multiply; }
.woocommerce-product-gallery .ct-media-container img { cursor: zoom-in; }
/* Täisekraani galerii: tume läbipaistmatu taust (Blocksy 0,7 jättis lehe läbi paistma), valged nupud jäävad nähtavaks. */
.woocommerce .pswp__bg, .woocommerce-page .pswp__bg { background: #111 !important; opacity: .96 !important; }
/* Galerii ruuduna, pilt tervikuna (Blocksy vaikimisi 3:4 + cover lõikas laiad sülearvutipildid). */
.single-product .woocommerce-product-gallery .ct-media-container { aspect-ratio: 1 / 1 !important; }
.single-product .woocommerce-product-gallery .ct-media-container img { aspect-ratio: auto !important; object-fit: contain !important; width: 100%; height: 100%; }

.andermi-specs { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.andermi-specs th, .andermi-specs td { padding: 9px 12px; border-bottom: 1px solid var(--a-line); text-align: left; vertical-align: top; }
.andermi-specs th { width: 45%; font-weight: 500; color: var(--a-muted); }
.andermi-specs tr:nth-child(odd) { background: var(--a-surface); }

/* Vanalt saidilt toodud kirjelduste spetsifikatsiooniplokid (.specs-3col/.spec-item) – sama välimus kui tabelil. */
.specs-3col > div { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 0 40px !important; }
.specs-3col h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.03em; margin: 18px 0 6px; }
.specs-grid { display: block; font-size: 0.92rem; }
.spec-item { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--a-line); }
.spec-item:last-child { border-bottom: 0; }
.spec-name { flex: 0 0 45%; color: var(--a-muted); }
.spec-item .spec-name:only-child { flex: 1; color: inherit; }
.spec-value { font-weight: 600; }

/* ---------- Kategoorialeht ---------- */
.woocommerce-products-header .page-title, .ct-hero-section h1 { font-size: clamp(1.5rem, 5vw, 2.3rem); }
.term-description, .ct-hero-section .page-description { color: var(--a-muted); max-width: 70ch; }
.andermi-cat-long { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--a-line); max-width: 75ch; color: var(--a-ink); }
.andermi-cat-long h2 { font-size: 1.35rem; }
.ct-sidebar .widget-title, .ct-sidebar .widget h3 { font-size: 0.95rem; text-transform: none; font-weight: 700; }
.ct-sidebar .widget { padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--a-line); }
.ct-sidebar .woocommerce-widget-layered-nav-list { max-height: 260px; overflow: auto; }
.ct-sidebar .woocommerce-widget-layered-nav-list li { font-size: 0.9rem; padding: 3px 0; }
.ct-sidebar .count { color: var(--a-muted); font-size: 0.8rem; }

/* ---------- Avaleht ---------- */
.home .entry-content > * { max-width: 1320px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
.andermi-hero {
	background: var(--a-surface); border-radius: var(--a-radius);
	padding: 32px 20px !important; margin-top: 16px !important; margin-bottom: 20px !important;
}
.home .entry-content > .andermi-hero { padding-left: 20px; padding-right: 20px; max-width: calc(1320px - 32px); width: calc(100% - 32px); }
.andermi-hero h1 { font-size: clamp(1.7rem, 6vw, 3rem); line-height: 1.1; margin: 0 0 12px; max-width: 18ch; }
.andermi-hero p { font-size: 1.05rem; color: var(--a-muted); max-width: 52ch; }
.andermi-hero .wp-block-buttons { margin-top: 20px; gap: 10px; }
.andermi-hero .wp-block-button__link { border-radius: var(--a-radius-btn); padding: 14px 22px; font-weight: 600; }
.andermi-hero .is-style-outline .wp-block-button__link { background: transparent; color: var(--a-ink); border: 1.5px solid var(--a-ink); }
@media (min-width: 900px) { .andermi-hero { padding: 64px 56px !important; } }

.andermi-section-title { font-size: clamp(1.3rem, 4vw, 1.75rem); margin: 40px auto 16px !important; }

.andermi-cats { list-style: none; padding: 0 16px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.andermi-cats__item { margin: 0; }
.andermi-cats__item a {
	display: flex; flex-direction: column; align-items: center; gap: 8px; text-decoration: none;
	padding: 12px; background: var(--a-card-bg); border: var(--a-card-border); border-radius: var(--a-radius);
	box-shadow: var(--a-card-shadow); height: 100%; box-sizing: border-box; text-align: center;
}
.andermi-cats__img { width: 100%; aspect-ratio: 4 / 3; background: var(--a-img-bg); border-radius: var(--a-radius-img); display: flex; overflow: hidden; }
.andermi-cats__img img { width: 100%; height: 100%; object-fit: contain; padding: 10%; box-sizing: border-box; mix-blend-mode: multiply; }
.andermi-cats__name { font-weight: 600; font-size: 0.95rem; }
@media (min-width: 700px) { .andermi-cats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.andermi-jura { background: var(--a-ink); color: #fff; border-radius: var(--a-radius); padding: 32px 20px !important; margin-top: 40px !important; }
.home .entry-content > .andermi-jura { max-width: calc(1320px - 32px); width: calc(100% - 32px); }
.andermi-jura h2 { color: #fff; margin-top: 0; }
.andermi-jura p { color: rgba(255,255,255,.8); }
.andermi-jura .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link { color: #fff; border: 1.5px solid #fff; background: transparent; border-radius: var(--a-radius-btn); }
.andermi-jura .wp-block-buttons .wp-block-button.is-style-outline .wp-block-button__link:hover { color: var(--a-ink); background: #fff; }
@media (min-width: 900px) { .andermi-jura { padding: 48px 56px !important; } }

.home .woocommerce ul.products, .home [data-products] { margin-bottom: 8px; }
@media (max-width: 689px) {
	[data-products] { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
}

/* ---------- Testsaidi kujunduse valija ---------- */
.andermi-switch {
	position: fixed; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 9999;
	display: flex; gap: 4px; align-items: center; padding: 5px; border-radius: 999px;
	background: rgba(20, 20, 20, .92); color: #fff; font: 500 12px/1 system-ui, sans-serif; box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.andermi-switch span { padding: 0 8px; opacity: .7; }
.andermi-switch a { color: #fff; text-decoration: none; padding: 7px 11px; border-radius: 999px; white-space: nowrap; }
.andermi-switch a[aria-current] { background: #fff; color: #111; }

/* ===================== Ülevaatuse parandused (etapp 4) ===================== */

/* Päis: logo on nimi – saidi pealkirja tekst topelt ei kuvata. */
#header .site-title-container { display: none; }

/* Avalehe plokid: sisu joondub vasakule (constrained-paigutus tsentreeris pealkirja eraldi). */
.andermi-hero > *, .andermi-jura > * { margin-left: 0 !important; margin-right: 0 !important; }

/* Tootekaart: pilt → nimi → hind → kuumakse → saadavus → nupp; hind ja allolev joondub rea põhja. */
[data-products] .product .woocommerce-loop-product__title { order: 1; }
[data-products] .product .price { order: 2; margin-top: auto; padding-top: 6px; }
[data-products] .product .andermi-esto--loop { order: 3; }
[data-products] .product .andermi-stock { order: 4; }
[data-products] .product .ct-woo-card-actions { order: 5; }
[data-products] .andermi-esto.andermi-esto--loop {
	display: block; border: 0; padding: 0; margin: 2px 0 0; background: none; box-shadow: none;
	font-size: 0.8rem; color: var(--a-muted);
}

/* Murupuru: väike, tavaline kiri. */
.ct-breadcrumbs { font-size: 0.8rem; text-transform: none; letter-spacing: 0; color: var(--a-muted); }
.ct-breadcrumbs a { color: var(--a-muted); }

/* Kategooria päis (Blocksy type-1): kompaktne, vasakule joondatud. */
.woocommerce-archive .hero-section[data-type="type-1"] { margin-bottom: 20px; }
.woocommerce-archive .hero-section .entry-header { text-align: left; }
.woocommerce-archive .hero-section .page-title { margin: 8px 0 6px; }
.woocommerce-archive .hero-section .page-description { font-size: 0.95rem; margin: 0; }
.woo-listing-top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.woo-listing-top .woocommerce-ordering { margin-left: auto; }

/* Filtrid mobiilis/tahvlis: külgriba on vasakult avanev paneel. */
.andermi-filter-btn, .andermi-filter-head { display: none; }
@media (max-width: 999.98px) {
	.andermi-filter-btn {
		display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; margin: 0 0 14px;
		border: 1px solid var(--a-ink); border-radius: var(--a-radius-btn); background: var(--a-bg); color: var(--a-ink);
		font: 600 0.92rem/1 var(--a-font); cursor: pointer;
	}
	.andermi-filter-btn__n {
		display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px;
		border-radius: 999px; background: var(--a-ink); color: var(--a-bg); font-size: 0.75rem;
	}
	#sidebar {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 10001; width: min(88vw, 380px); margin: 0;
		background: var(--a-bg); overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 32px;
		transform: translateX(-105%); visibility: hidden; transition: transform .25s ease, visibility .25s;
		box-shadow: 0 0 40px rgba(0, 0, 0, .2);
	}
	body.andermi-filters-open #sidebar { transform: none; visibility: visible; }
	body.andermi-filters-open { overflow: hidden; }
	body.andermi-filters-open::after { content: ""; position: fixed; inset: 0; z-index: 10000; background: rgba(0, 0, 0, .45); }
	.andermi-filter-head {
		display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; z-index: 2;
		background: var(--a-bg); padding: 14px 0; margin-bottom: 12px; border-bottom: 1px solid var(--a-line); font-size: 1.1rem;
	}
	.andermi-filter-close { background: none; border: 0; color: var(--a-ink); font-size: 30px; line-height: 1; padding: 2px 8px; cursor: pointer; }
}

/* Tooteleht: hind ja „Säästad“ ühel real. */
.single-product .entry-summary { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; }
.single-product .entry-summary > * { flex: 0 0 100%; min-width: 0; }
.single-product .entry-summary > .price, .single-product .entry-summary > .andermi-save { flex: 0 0 auto; margin-bottom: 8px; }

/* Tooteleht mobiilis: pilt, nimi, hind, kuumakse ja „Lisa korvi“ mahuvad esimesele ekraanile. */
@media (max-width: 689.98px) {
	.single-product [data-vertical-spacing] { padding-top: 12px; }
	.single-product .product-entry-wrapper { gap: 12px; }
	.single-product .ct-breadcrumbs { white-space: nowrap; overflow-x: auto; scrollbar-width: none; font-size: 0.75rem; margin-bottom: 8px; }
	.single-product .product_title { font-size: 1.3rem; margin-bottom: 6px; }
	.single-product .entry-summary .price { font-size: 1.7rem !important; }
	.andermi-esto { padding: 8px 12px; margin: 0 0 10px; }
	.single-product .entry-summary .andermi-stock { margin-bottom: 10px; }
	.single-product .entry-summary .single_add_to_cart_button { min-height: 48px; }
}

/* Hinnafilter: Woo liugur (Blocksy ei laadi Woo liuguri stiili). */
.price_slider { position: relative; height: 4px; margin: 20px 10px 18px; background: var(--a-line); border-radius: 4px; }
.price_slider .ui-slider-range { position: absolute; top: 0; height: 100%; background: var(--a-ink); border-radius: 4px; }
.price_slider .ui-slider-handle {
	position: absolute; top: 50%; z-index: 2; width: 22px; height: 22px; margin-left: -11px; transform: translateY(-50%);
	background: var(--a-bg); border: 2px solid var(--a-ink); border-radius: 50%; cursor: grab; touch-action: none;
}
.price_slider .ui-slider-handle:focus-visible { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.price_slider_amount { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.price_slider_amount .price_label { order: -1; font-size: 0.9rem; }
.price_slider_amount .button { min-height: 36px; padding: 6px 14px; font-size: 0.85rem; }

/* Filtrivalikud märkeruutudena (valitud = täidetud). */
.ct-sidebar .wc-layered-nav-term a { display: inline-flex; align-items: center; gap: 10px; color: var(--a-ink); text-decoration: none; padding: 2px 0; }
.ct-sidebar .wc-layered-nav-term a::before {
	content: ""; flex: 0 0 18px; height: 18px; box-sizing: border-box;
	border: 1.5px solid var(--a-muted); border-radius: 4px; background: var(--a-bg) center / 12px no-repeat;
}
.ct-sidebar .wc-layered-nav-term.chosen a::before {
	background-color: var(--a-ink); border-color: var(--a-ink);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2 4.8 9 10 3' fill='none' stroke='%23fff' stroke-width='2'/%3E%3C/svg%3E");
}
.ct-sidebar .wc-layered-nav-term a:hover::before { border-color: var(--a-ink); }
.ct-sidebar [class^="wc-brand-list"] { list-style: none; padding: 0; margin: 0; max-height: 260px; overflow: auto; }
.ct-sidebar [class^="wc-brand-list"] li { font-size: 0.9rem; padding: 3px 0; }
.woocommerce-archive .hero-section .page-title { font-size: clamp(1.5rem, 5.5vw, 2.2rem); line-height: 1.15; }

/* Avaleht: ühtlane 16 px külgvaru kõigil plokkidel, ilma Blocksy ülemise vahe ja kitsenduseta. */
.home main > .ct-container-full { padding-top: 0; }
.home .entry-content.is-layout-constrained > * { max-width: 1320px !important; width: 100%; }
.home .entry-content.is-layout-constrained > .andermi-hero,
.home .entry-content.is-layout-constrained > .andermi-jura { max-width: calc(1320px - 32px) !important; width: calc(100% - 32px); }
.andermi-cats { padding-left: 16px; padding-right: 16px; }

/* Tooteleht: sakid ja meta rahulikumaks; kategooria on juba murupurus. */
.woocommerce-tabs .tabs li a, .woocommerce-tabs .tabs li.active a { color: var(--a-ink); }
.single-product .product_meta { font-size: 0.85rem; color: var(--a-muted); }
.single-product .product_meta > span { text-transform: none; letter-spacing: 0; font-weight: 400; }
.single-product .product_meta > span > * { text-transform: none; font-weight: 600; color: var(--a-ink); }
.single-product .product_meta .posted_in { display: none; }

/* --- Päise otsinguväli (live-tulemused pildi ja hinnaga) --- */
.ct-header-text:has(.ct-search-form) { flex: 1 1 auto; width: 100%; max-width: 640px; }
[data-device="mobile"] .ct-header-text:has(.ct-search-form) { max-width: none; }
#header [data-device="desktop"] [data-row*="middle"]:has(.ct-search-form) { --middle-column-width: min(600px, 48vw); }
[data-device="desktop"] [data-row*="middle"] [data-column="middle"] > [data-items] { width: 100%; }
.ct-header-text .ct-search-form { width: 100%; padding-inline: 0; --theme-form-field-height: 46px; }
.ct-header-text .ct-search-form-inner { border-radius: var(--a-radius-btn, 999px); background: #fff; }
.ct-header-text .ct-search-form input[type="search"] { font-family: var(--a-font, inherit); font-size: 16px; background: transparent; padding-inline-start: 18px; }
.ct-header-text .ct-search-results { font-family: var(--a-font, inherit); border-radius: 14px; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); }
.ct-header-text .ct-search-item { gap: 12px; }
.ct-header-text .ct-search-item .price { font-weight: 700; color: var(--a-ink, inherit); font-size: 15px; }
.ct-header-text .ct-search-item .price del { font-weight: 400; color: var(--a-muted, #777); font-size: 13px; margin-inline-end: 4px; }
.ct-header-text .ct-search-more { font-weight: 600; color: var(--a-accent, inherit); }

/* Tooteleht mobiilis/tahvlis: „Lisa korvi“ kohe saadavuse järel (esimesele ekraanile), lühikirjeldus selle alla. */
@media (max-width: 999.98px) {
	.single-product .entry-summary-items > .woocommerce-product-details__short-description,
	.single-product .entry-summary-items > .ct-product-divider,
	.single-product .entry-summary-items > .andermi-delivery,
	.single-product .entry-summary-items > .product_meta { order: 1; }
}

/* ---------- Võrdlus ---------- */
.andermi-cmp-btn {
	display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0;
	color: var(--a-muted); font: inherit; font-size: 0.82rem; cursor: pointer; min-height: 32px;
}
.andermi-cmp-btn:hover { color: var(--a-ink); background: none; }
.andermi-cmp-btn[aria-pressed="true"] { color: var(--a-ink); font-weight: 600; }
.andermi-cmp-btn[aria-pressed="true"] svg { color: var(--a-accent); }
[data-products] .product .andermi-cmp-btn { order: 6; align-self: center; margin-top: 4px; }
.single-product .entry-summary .andermi-cmp-btn { margin: 0 0 10px; font-size: 0.9rem; }

.andermi-cmp-bar {
	position: fixed; z-index: 90; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); transform: translateX(-50%);
	width: min(560px, calc(100% - 24px)); display: flex; align-items: center; gap: 10px;
	padding: 8px 8px 8px 16px; background: var(--a-ink); color: #fff; border-radius: 999px;
	box-shadow: 0 8px 28px rgba(0, 0, 0, .25); font-size: 0.9rem;
}
.andermi-cmp-bar__txt { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.andermi-cmp-bar__clear { background: none; border: 0; color: rgba(255, 255, 255, .75); font: inherit; font-size: 0.85rem; cursor: pointer; padding: 8px 4px; }
.andermi-cmp-bar__clear:hover { color: #fff; background: none; }
.andermi-cmp-bar__go {
	background: var(--a-accent); color: var(--a-accent-ink) !important; border-radius: 999px; padding: 10px 18px;
	font-weight: 600; text-decoration: none; white-space: nowrap;
}
.andermi-cmp-bar__go:hover { background: var(--a-accent-hover); }
.andermi-cmp-bar__go.is-disabled { opacity: .5; pointer-events: none; }

.andermi-cmp__tools { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.andermi-cmp__diff { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; }
.andermi-cmp__clear { background: none; border: 0; color: var(--a-muted); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px 0; }
.andermi-cmp__clear:hover { background: none; color: var(--a-ink); }
.andermi-cmp__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; background: var(--a-card-bg); border-radius: var(--a-radius); border: 1px solid var(--a-line); }
.andermi-cmp__table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: calc(110px + var(--cmp-n, 2) * 150px); table-layout: fixed; margin: 0; font-size: 0.88rem; }
.andermi-cmp__table th, .andermi-cmp__table td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--a-line); vertical-align: top; text-align: left; overflow-wrap: anywhere; }
.andermi-cmp__table tbody th, .andermi-cmp__corner {
	position: sticky; left: 0; z-index: 1; width: 110px; background: var(--a-surface); color: var(--a-muted); font-weight: 600;
}
.andermi-cmp__table tbody tr:last-child > * { border-bottom: 0; }
.andermi-cmp.only-diff tr.is-same { display: none; }
.andermi-cmp__prod { position: relative; font-weight: 400; background: var(--a-card-bg); }
.andermi-cmp__prod .price { font-weight: 700; font-size: 1.1rem; color: var(--a-ink); margin: 6px 0 2px; }
.andermi-cmp__prod .price del { font-size: 0.8rem; color: var(--a-muted); font-weight: 400; }
.andermi-cmp__prod .price ins { text-decoration: none; }
.andermi-cmp__prod .andermi-stock { margin: 6px 0 10px; }
.andermi-cmp__prod .button { width: 100%; justify-content: center; min-height: 40px; font-size: 0.85rem; }
.andermi-cmp__img { display: block; aspect-ratio: 1; max-width: 170px; background: var(--a-img-bg); border-radius: var(--a-radius-img); overflow: hidden; margin: 0 22px 8px 0; }
.andermi-cmp__img img { width: 100%; height: 100%; object-fit: contain; }
.andermi-cmp__name { display: block; font-weight: 600; line-height: 1.3; color: var(--a-ink); text-decoration: none; }
.andermi-cmp__remove {
	position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; display: grid; place-items: center;
	border-radius: 50%; background: var(--a-surface); color: var(--a-ink); text-decoration: none; font-size: 1.1rem; line-height: 1;
}
.andermi-cmp__na { color: var(--a-muted); }
@media (min-width: 700px) {
	.andermi-cmp__table { min-width: calc(180px + var(--cmp-n, 2) * 200px); }
	.andermi-cmp__table tbody th, .andermi-cmp__corner { width: 180px; }
}
body.has-cmp-bar { padding-bottom: 76px; }

/* Tootelehe all: lisatarvikud ja seotud tooted – pealkiri mobiilis väiksem. */
.single-product .ct-module-title { font-size: clamp(1.3rem, 4.5vw, 1.75rem); margin-bottom: 16px; }
.andermi-acc { margin-top: 40px; }

/* --- Etapp 6: infolehed, vormid, jalus, küpsiste bänner --- */
.andermi-lead { font-size: 1.15rem; color: var(--a-ink); }
.andermi-note { font-size: .875rem; color: var(--a-muted); border-left: 3px solid var(--a-line); padding-left: 12px; }
.andermi-store { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0 0 1em; }
.andermi-store dt { font-weight: 600; color: var(--a-muted); }
.andermi-store dd { margin: 0; }
.andermi-table { border-collapse: collapse; margin-bottom: 1em; }
:not(.entry-content) > .andermi-table { width: 100%; }
.andermi-table th, .andermi-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--a-line); vertical-align: top; }
.andermi-table td:last-child, .andermi-table th:last-child { text-align: right; white-space: nowrap; }
.entry-content .wp-block-details { border: 1px solid var(--a-line); border-radius: var(--a-radius-img); background: var(--a-card-bg); padding: 0; margin: 0 0 8px; }
.entry-content .wp-block-details summary { cursor: pointer; padding: 14px 16px; font-weight: 600; }
.entry-content .wp-block-details > :not(summary) { padding: 0 16px 14px; margin: 0; }

/* Vormid (kontakt, taganemine) */
.andermi-form p, .andermi-tg__form p { margin: 0 0 14px; }
.andermi-form label, .andermi-tg__form label { display: block; font-weight: 600; margin-bottom: 4px; }
.andermi-form input:not([type=checkbox]), .andermi-form textarea, .andermi-tg__form input:not([type=checkbox]), .andermi-tg__form textarea { width: 100%; max-width: 560px; }
.andermi-tg__items { border: 1px solid var(--a-line); border-radius: var(--a-radius-img); padding: 12px 16px; margin: 0 0 14px; max-width: 560px; }
.andermi-tg__items label { font-weight: 400; display: flex; gap: 8px; align-items: center; margin: 4px 0; }
.andermi-tg__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.andermi-tg__error { color: #b32d2e; font-weight: 600; }
.andermi-tg__done, .andermi-form__ok { background: #eaf6ee; border-radius: var(--a-radius-img); padding: 16px; }
.andermi-tg__summary { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.andermi-tg__summary dt { font-weight: 600; color: var(--a-muted); }
.andermi-tg__summary dd { margin: 0; }
.andermi-tg__confirm, .andermi-tg__form .button, .andermi-form .button { background: var(--a-accent); color: var(--a-accent-ink); border-radius: var(--a-radius-btn); padding: 12px 24px; }
.andermi-form__note { font-size: .85rem; color: var(--a-muted); }

/* Kampaaniabänner (sünkroonitud muster) */
.andermi-campaign { background: var(--a-card-bg); border-radius: var(--a-radius); box-shadow: var(--a-card-shadow); border: var(--a-card-border); padding: 24px 20px; margin: 24px 0; }
.andermi-campaign h2 { margin-top: 0; }

/* Jalus */
.andermi-footer-wrap { background: var(--a-surface); border-top: 1px solid var(--a-line); }
.andermi-footer { max-width: var(--theme-normal-container-max-width, 1290px); margin: 0 auto; padding: 32px 16px 16px; gap: 24px; }
.andermi-footer__title { font-size: 1rem; margin: 0 0 10px; }
.andermi-footer__links { list-style: none; padding: 0; margin: 0; }
.andermi-footer__links li { margin: 0 0 6px; }
.andermi-footer .andermi-store { font-size: .95rem; }

/* Küpsiste bänner */
.andermi-consent { position: fixed; z-index: 99999; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; }
.andermi-consent[hidden], .andermi-consent [hidden] { display: none !important; }
.andermi-consent-done .andermi-consent { display: none !important; }
.andermi-consent__box { background: #fff; color: var(--a-ink); max-width: 640px; width: 100%; border-radius: var(--a-radius); box-shadow: 0 8px 40px rgba(0,0,0,.18); padding: 16px 18px; font-size: .92rem; }
.andermi-consent__title { font-weight: 700; margin: 0 0 4px; font-size: 1rem; }
.andermi-consent__text { margin: 0 0 12px; }
.andermi-consent__opts { display: grid; gap: 6px; margin: 0 0 12px; }
.andermi-consent__opts[hidden] { display: none; }
.andermi-consent__opts label { display: flex; gap: 8px; align-items: center; }
.andermi-consent__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.andermi-consent__btns .button { border-radius: var(--a-radius-btn); padding: 10px 18px; min-height: 44px; }
.andermi-consent__all, .andermi-consent__save { background: var(--a-ink); color: #fff; }
.andermi-consent__min { background: #fff; color: var(--a-ink); border: 1px solid var(--a-ink); }
.andermi-consent__set { background: none; border: 0; text-decoration: underline; color: var(--a-ink); padding: 10px 6px; min-height: 44px; cursor: pointer; }
.andermi-tarne-wrap { overflow-x: auto; }
@media (max-width: 599px) { .andermi-consent__all, .andermi-consent__min { flex: 1 1 40%; } .andermi-table { font-size: .9rem; } .andermi-table th, .andermi-table td { padding: 8px 6px; } .andermi-table td:last-child { white-space: normal; } }
.andermi-form input:not([type=checkbox]):not([type=hidden]), .andermi-form textarea, .andermi-tg__form input:not([type=checkbox]):not([type=hidden]), .andermi-tg__form textarea { background: #fff; border: 1px solid var(--a-line); border-radius: var(--a-radius-img); padding: 12px 14px; min-height: 48px; font-size: 16px; }
.andermi-form input:focus, .andermi-form textarea:focus, .andermi-tg__form input:focus, .andermi-tg__form textarea:focus { border-color: var(--a-ink); outline: 2px solid transparent; }
/* Kassa (Woo plokid): siltide vaikevärv #797570 jäi beežil taustal alla WCAG AA 4,5:1. */
.wc-block-components-text-input label, .wc-block-components-combobox .wc-block-components-combobox-control label, .wc-blocks-components-select .wc-blocks-components-select__label { color: var(--a-muted) !important; opacity: 1 !important; }
.andermi-usp-bar .andermi-usp:focus-visible { outline: 2px solid var(--a-ink); outline-offset: 2px; }
/* Mobiilimenüü nupp oli 18×18 px – puutepind 44 px kõrgeks ilma paigutust muutmata. */
.ct-header-trigger { position: relative; }
.ct-header-trigger::after { content: ""; position: absolute; inset: -13px -5px; }

/* ---------- Päis nagu vanal saidil (inc/header.php) ---------- */
.andermi-topbar { background: var(--a-surface, #f4f4f4); border-bottom: 1px solid var(--a-line, #e6e6e6); font-size: 14px; }
.andermi-topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.andermi-topbar__contact { display: flex; gap: 24px; margin: 0; }
.andermi-topbar__contact a, .andermi-topbar__links a { color: var(--a-ink, #333); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.andermi-topbar__links ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.andermi-topbar__links a { font-weight: 600; }
.andermi-topbar a:hover { color: var(--a-accent); }
@media (max-width: 999px) { .andermi-topbar { display: none; } }

.andermi-htools { display: flex; align-items: center; gap: 14px; width: 100%; }
.andermi-htools__search { flex: 1; min-width: 0; }
.andermi-htools__sale { flex: none; padding: 9px 20px; border: 2px solid var(--a-accent); border-radius: 999px; color: var(--a-accent); font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; }
.andermi-htools__sale:hover { background: var(--a-accent); color: #fff; }
.andermi-htools__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--a-ink, #333); }
.andermi-htools__icon:hover { color: var(--a-accent); }

.andermi-mega { position: static; flex: none; }
.andermi-mega__btn { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px; border: 0; border-radius: 999px; background: #212121; color: #fff; font: 600 15px/1 var(--a-font); cursor: pointer; }
.andermi-mega__btn::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.andermi-mega.is-open .andermi-mega__btn::after { transform: translateY(2px) rotate(-135deg); }
.andermi-mega__panel { position: absolute; z-index: 100; left: 50%; transform: translateX(-50%); top: 100%; width: min(1540px, calc(100vw - 32px)); min-height: 420px; padding: 20px; background: #fff; border-radius: 0 0 var(--a-radius, 20px) var(--a-radius, 20px); box-shadow: 0 20px 40px rgba(0,0,0,.12); }
.andermi-mega__list, .andermi-mega__list ul { list-style: none; margin: 0; padding: 0; }
.andermi-mega__list { width: 280px; border-right: 1px solid var(--a-line, #e6e6e6); }
.andermi-mega__list > li > a { display: block; padding: 10px 14px; border-radius: 12px; color: var(--a-ink, #333); font-weight: 600; text-decoration: none; }
.andermi-mega__list > li.is-active > a { background: var(--a-surface, #f4f4f4); color: var(--a-accent); }
.andermi-mega__list > li > .sub-menu { display: none; position: absolute; top: 20px; left: 320px; right: 20px; bottom: 20px; overflow: auto; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 24px 32px; align-content: start; }
.andermi-mega__list > li.is-active > .sub-menu { display: grid; }
.andermi-mega__list > li > .sub-menu > li > a { display: block; margin-bottom: 8px; color: var(--a-ink, #333); font-weight: 700; text-decoration: none; }
.andermi-mega__list .sub-menu .sub-menu a { display: block; padding: 3px 0; color: var(--a-muted, #6b6b6b); font-size: 14px; text-decoration: none; }
.andermi-mega__list a:hover { color: var(--a-accent); }
#header [data-row="middle"] { position: relative; }

/* Mobiil/tahvel: otsing all täislaiuses; Kategooriad, Sooduspakkumised ja ikoonid on menüüs/ostukorvis. */
@media (max-width: 999px) {
	.andermi-mega, .andermi-htools__sale, .andermi-htools__icon { display: none; }
}
/* Blocksy põhirida: logo | tööriistad (venib) | ostukorv. */
#header [data-device="desktop"] [data-row="middle"] > .ct-container { grid-template-columns: auto 1fr auto; column-gap: 24px; }
#header [data-device="desktop"] [data-row="middle"] [data-column="middle"] { justify-content: stretch; }
#header [data-device="desktop"] [data-row="middle"] [data-column="middle"] > [data-items], #header [data-id="text"] { width: 100%; }
#header [data-id="text"] .entry-content, #header .ct-header-text:has(.andermi-htools) { width: 100%; max-width: none; flex: 1; }

/* Mobiilimenüü sahtel: läbipaistmatu paneel, tumendav taust (klõps sulgeb – andermi.js), sakid (inc/header.php). */
#offcanvas { background: rgba(0,0,0,.6); }
#offcanvas .ct-panel-inner, [data-header*="type-1"] #offcanvas .ct-panel-inner { background: #14171c; opacity: 1; backdrop-filter: none; -webkit-backdrop-filter: none; }
#offcanvas .ct-panel-content, #offcanvas .ct-panel-content-inner { background: none; opacity: 1; overscroll-behavior: contain; }
.andermi-mtabs { display: flex; width: 100%; gap: 0; margin: 0 0 16px; border-bottom: 1px solid #2e333b; }
.andermi-mtabs button { flex: 1; padding: 12px 8px; border: 0; border-bottom: 2px solid transparent; background: none; color: #8b929c; font: 600 15px/1 var(--a-font); text-transform: uppercase; letter-spacing: .03em; cursor: pointer; }
.andermi-mtabs button[aria-selected="true"] { color: #fff; border-bottom-color: #fff; }
.andermi-mpages { display: none; width: 100%; }
.andermi-mpages ul, .andermi-mpages li { display: block; list-style: none; margin: 0; padding: 0; }
/* Sama nagu KATEGOORIAD (Blocksy mobile-menu: valge, 700, 20px). */
.andermi-mpages a { display: block; padding: 10px 0; color: #fff; font-weight: 700; font-size: 20px; line-height: 1.4; text-decoration: none; opacity: 1; }
@media (hover: hover) { .andermi-mpages a:hover { color: var(--a-accent, #fff); } }
.andermi-mpages a:focus-visible { color: var(--a-accent, #fff); }
.andermi-mpages .current-menu-item > a { color: #fff; }
/* KATEGOORIAD: peakategooria akordion (andermi.js andermiMacc) – kogu rida on nupp, nool pöörab avatult 180°. */
#offcanvas .andermi-macc { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 48px; margin: 0; padding: 5px 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; font-family: var(--theme-font-family, inherit); font-size: var(--theme-font-size, 20px); font-weight: var(--theme-font-weight, 700); line-height: 1.4; letter-spacing: normal; text-align: start; text-transform: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
#offcanvas .andermi-macc__name { flex: 1; min-width: 0; }
#offcanvas .andermi-macc__icon { flex: none; width: 16px; height: 16px; fill: currentColor; transition: transform .25s ease; }
#offcanvas .andermi-macc[aria-expanded="true"] .andermi-macc__icon { transform: rotate(180deg); }
#offcanvas .andermi-macc:focus-visible { outline: 2px solid #6cb4ff; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { #offcanvas .andermi-macc__icon { transition: none; } }
/* „Vaata kõiki →“ – brändi sinise hele toon (tumedal taustal loetav, kontrast ≥ 7:1). */
#offcanvas .mobile-menu .andermi-mall > .ct-menu-link { color: #6cb4ff; font-weight: 700; }
#offcanvas .mobile-menu .andermi-mall > .ct-menu-link > span { margin-inline-start: .35em; }
/* Blocksy aktiivne/hover = --a-accent (#0068b5) – tumedal taustal halvasti loetav. */
#offcanvas [data-id="mobile-menu"] { --theme-link-active-color: #fff; --theme-link-hover-color: #fff; }
/* Hierarhia: peakategooria 20px/700, 2. tase 17px/600, 3. tase 16px/400 helehall. */
#offcanvas [data-id="mobile-menu"] .sub-menu { --theme-font-size: 17px; --theme-font-weight: 600; }
#offcanvas [data-id="mobile-menu"] .sub-menu .sub-menu { --theme-font-size: 16px; --theme-font-weight: 400; --theme-link-initial-color: #c9ced6; }
@media (hover: hover) { #offcanvas .mobile-menu .andermi-mall > .ct-menu-link:hover { color: #9fceff; } }
.andermi-mtabs--lehed .andermi-mpages { display: block; }
.andermi-mtabs--lehed [data-id="mobile-menu"] { display: none; }
/* Kerimislukk (andermi.js): iOS Safari ignoreerib body overflow'd – keha fikseeritakse. */
html.andermi-lock, html.andermi-lock body { overflow: hidden; }
html.andermi-lock body { position: fixed; left: 0; right: 0; width: 100%; }

/* ---------- Avaleht nagu vanal saidil (inc/front-page.php) ---------- */
.andermi-fp { display: grid; grid-template-columns: minmax(0, 1fr); gap: 56px; padding: 24px 0 56px; }
.andermi-fp > * { min-width: 0; }
.andermi-fp h2 { margin: 0; font-size: clamp(24px, 3vw, 40px); }
.andermi-fp-top { display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.andermi-fp-cats { background: var(--a-surface, #f4f4f4); border-radius: var(--a-radius, 20px); padding: 16px 20px; }
.andermi-fp-cats ul { list-style: none; margin: 0; padding: 0; }
.andermi-fp-cats a { display: flex; align-items: center; gap: 12px; padding: 14px 10px; color: var(--a-ink, #333); font-weight: 500; text-decoration: none; }
.andermi-fp-cats a:hover { color: var(--a-accent); }
.andermi-fp-cats img { width: 28px; height: 28px; object-fit: contain; }
.andermi-fp-cats__ico { flex: none; width: 28px; height: 28px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; transition: background-color .15s; }
.andermi-fp-banner img { display: block; width: 100%; height: auto; border-radius: var(--a-radius, 20px); }
.andermi-fp-jura { border: 1px solid var(--a-line, #e6e6e6); border-radius: var(--a-radius, 20px); padding: 20px; }
.andermi-fp-jura h2 { font-size: 22px; line-height: 1.3; margin-bottom: 16px; }
.andermi-fp-jura > img { display: block; width: 100%; height: auto; border-radius: 16px; background: #f4f4f4; }
.andermi-fp-jura__p, .andermi-fp-mini a { display: flex; gap: 16px; align-items: center; color: var(--a-ink, #333); text-decoration: none; }
.andermi-fp-jura__p { margin-top: 16px; }
.andermi-fp-jura__p img, .andermi-fp-mini img { width: 64px; height: auto; flex: none; }
.andermi-fp-mini__name { display: block; font-weight: 600; }
.andermi-fp .price { color: var(--a-accent); font-weight: 700; }
.andermi-fp-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.andermi-fp-pill { padding: 10px 20px; border-radius: 999px; background: var(--a-surface, #f4f4f4); color: var(--a-ink, #333); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.andermi-fp-reviews .andermi-fp-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 20px 0 0; padding: 0 0 8px; }
.andermi-fp-reviews li { scroll-snap-align: start; padding: 20px; background: #fafafa; border: 1px solid var(--a-line, #e6e6e6); }
.andermi-fp-reviews p { margin: 12px 0 0; }
.andermi-fp-stars { display: block; color: #f5c518; letter-spacing: 2px; }
.andermi-fp-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.andermi-fp-feature__banner { position: relative; display: block; overflow: hidden; border-radius: var(--a-radius, 20px); }
.andermi-fp-feature__banner img { display: block; width: 100%; height: auto; }
.andermi-fp-feature__txt { position: absolute; inset: 32px 0 auto; display: grid; justify-items: center; gap: 10px; color: #fff; text-align: center; }
.andermi-fp-feature__ules { font-size: 15px; letter-spacing: .05em; opacity: .85; }
.andermi-fp-feature__h { font-size: clamp(28px, 3vw, 42px); font-weight: 700; }
.andermi-fp-btn { padding: 10px 20px; border-radius: 999px; background: #212121; color: #fff; font-size: 14px; font-weight: 600; }
.andermi-fp-mini { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; list-style: none; margin: 0; padding: 0; }
.andermi-fp-mini a { padding: 16px; border: 1px solid var(--a-line, #e6e6e6); border-radius: var(--a-radius, 20px); align-items: flex-start; }
.andermi-fp-mini__body { display: grid; gap: 6px; }
/* Konversiooni lisad 29.10: alampealkiri, JURA kasti link, usaldusriba, Google'i hinne, poe kutse, SEO-tekst. */
.andermi-fp-sub { margin: 6px 0 0; color: var(--a-muted); font-size: 15px; }
.andermi-fp-jura__all { display: inline-block; margin-top: 14px; color: var(--a-accent); font-weight: 600; text-decoration: none; }
.andermi-fp-jura__all:hover { text-decoration: underline; }
.andermi-fp-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-content: start; min-width: 0; }
.andermi-fp-banner, .andermi-fp-banner picture { display: block; }
/* Pakkumisala (asendas pildibänneri 29.10): sinine taust, pealkiri + nupud, 3 päris soodustoodet. */
.andermi-hero2 { display: grid; grid-template-rows: 1fr auto; gap: 22px; min-height: 419px; padding: 32px; border-radius: var(--a-radius, 20px); color: #fff; background: radial-gradient(circle at 88% 0%, rgba(30, 163, 216, .55), transparent 50%), linear-gradient(135deg, #0c3a50 0%, #17789f 100%); }
.andermi-hero2 p { margin: 0; }
.andermi-hero2__ules { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #d32f2f; font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.andermi-hero2__h { margin: 14px 0 10px !important; max-width: 20ch; font-size: clamp(28px, 2.6vw, 40px); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; }
.andermi-hero2__p { max-width: 46ch; font-size: 16px; line-height: 1.5; opacity: .92; }
.andermi-hero2__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.andermi-hero2__btns .andermi-fp-btn { padding: 13px 22px; font-size: 15px; text-decoration: none; }
.andermi-hero2__cta { background: var(--and-cta, #c44a09); color: #fff; }
.andermi-hero2__cta:hover { background: var(--and-cta-hover, #9e3b05); color: #fff; }
.andermi-hero2__ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6); }
.andermi-hero2__ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.andermi-hero2__tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
.andermi-hero2__tiles a { position: relative; display: grid; gap: 4px; height: 100%; padding: 10px 12px 12px; border-radius: 14px; background: #fff; color: var(--a-ink, #333); text-decoration: none; transition: transform .15s; }
.andermi-hero2__tiles a:hover { transform: translateY(-2px); }
.andermi-hero2__tiles img { width: 100%; height: 96px; object-fit: contain; }
.andermi-hero2__badge { position: absolute; z-index: 2; top: 8px; left: 8px; padding: 3px 8px; border-radius: 999px; background: #d32f2f; color: #fff; font-size: 12px; font-weight: 700; }
.andermi-hero2__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.3; }
.andermi-hero2__price { font-size: 16px; font-weight: 700; color: #d32f2f; }
.andermi-hero2__price del { margin-left: 4px; color: var(--a-muted); font-size: 12px; font-weight: 400; opacity: 1; }
.andermi-hero2__price ins { text-decoration: none; }
@media (max-width: 999px) {
	.andermi-hero2 { min-height: 0; gap: 18px; padding: 22px 18px; }
	.andermi-hero2__h { font-size: 26px; }
	.andermi-hero2__p { font-size: 15px; }
	.andermi-hero2__tiles { gap: 8px; }
	.andermi-hero2__tiles a { padding: 8px; }
	.andermi-hero2__tiles img { height: 72px; }
	.andermi-hero2__name { font-size: 12px; }
	.andermi-hero2__price { font-size: 14px; }
	.andermi-hero2__price del { display: block; margin: 0; }
}
@media (min-width: 1000px) { .andermi-fp-cats, .andermi-fp-jura { align-self: stretch; } }
@media (max-width: 480px) { .andermi-hero2__cta { flex: 1 1 100%; text-align: center; } .andermi-hero2__ghost { display: none; } }
.andermi-fp-usp .andermi-usp { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.andermi-fp-row--sale .andermi-fp-head h2::after { content: "%"; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; margin-left: 12px; border-radius: 50%; background: #d32f2f; color: #fff; font-size: .6em; vertical-align: .2em; }
.andermi-fp-g { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--a-ink); }
.andermi-fp-g__score { font-size: 22px; font-weight: 700; }
.andermi-fp-g .andermi-fp-stars { display: inline; font-size: 18px; }
.andermi-fp-reviews li { display: flex; flex-direction: column; gap: 10px; border-radius: var(--a-radius, 20px); }
.andermi-fp-reviews li p { flex: 1; margin: 0; line-height: 1.55; }
.andermi-fp-reviews li strong { font-size: 14px; }
.andermi-fp-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--a-surface, #f4f4f4); border-radius: var(--a-radius, 20px); overflow: hidden; }
.andermi-fp-visit__img img { display: block; width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.andermi-fp-visit__body { display: grid; align-content: center; justify-items: start; gap: 14px; padding: clamp(24px, 4vw, 56px); }
.andermi-fp-visit__body p { margin: 0; line-height: 1.6; }
.andermi-fp-visit__ules { color: var(--a-accent); font-size: 14px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.andermi-fp-visit .andermi-kt__status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; }
.andermi-fp-visit__hours { color: var(--a-muted); font-size: 14px; }
.andermi-fp-visit__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.andermi-fp-visit__btns .andermi-fp-btn { padding: 13px 24px; font-size: 15px; text-decoration: none; }
/* Omaniku nägu poe kutses (avaleht, kategooriad) – 05.11.2026 */
.andermi-cs__who { display: flex; align-items: center; gap: 12px; font-size: 15px; }
.andermi-cs__who img.andermi-cs__face { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
/* Kategoorialehe „Vaata ja proovi Võru poes“ */
.andermi-cs { margin: 40px 0 8px; }
.andermi-cs h2 { margin: 0; font-size: clamp(22px, 2.4vw, 28px); }
.andermi-cs .andermi-fp-visit__img img { aspect-ratio: 4 / 3; object-position: 50% 70%; }
.andermi-fp-btn--accent { background: var(--a-accent); }
.andermi-fp-btn--accent:hover { background: var(--a-accent-hover, #126180); color: #fff; }
.andermi-fp-btn--ghost { background: #fff; color: var(--a-ink, #333); border: 1px solid var(--a-line, #e6e6e6); }
.andermi-fp-btn--ghost:hover { border-color: var(--a-ink, #333); color: var(--a-ink, #333); }
.andermi-fp-seo { max-width: 860px; padding-top: 32px; border-top: 1px solid var(--a-line, #e6e6e6); color: var(--a-muted); font-size: 15px; line-height: 1.7; }
.andermi-fp .andermi-fp-seo h2 { margin-bottom: 12px; color: var(--a-ink); font-size: 20px; }
.andermi-fp-seo a { color: var(--a-accent); }
/* JURA kast v2 (29.10): 3 sakki hea–parem–parim, raadionupud + CSS. */
.andermi-jx { display: flex; flex-direction: column; gap: 12px; }
.andermi-fp .andermi-jx h2 { margin: 0; font-size: 21px; }
.andermi-jx__sub { margin: -6px 0 0; color: var(--a-muted); font-size: 14px; }
.andermi-jx__r { position: absolute; opacity: 0; pointer-events: none; }
.andermi-jx__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 999px; background: var(--a-surface, #f4f4f4); }
.andermi-jx__tabs label { padding: 8px 4px; border-radius: 999px; font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap; cursor: pointer; color: var(--a-muted); transition: background .15s, color .15s; }
.andermi-jx__tabs label:hover { color: var(--a-ink); }
#andermi-jx1:checked ~ .andermi-jx__tabs label:nth-child(1), #andermi-jx2:checked ~ .andermi-jx__tabs label:nth-child(2), #andermi-jx3:checked ~ .andermi-jx__tabs label:nth-child(3) { background: #212121; color: #fff; }
#andermi-jx1:focus-visible ~ .andermi-jx__tabs label:nth-child(1), #andermi-jx2:focus-visible ~ .andermi-jx__tabs label:nth-child(2), #andermi-jx3:focus-visible ~ .andermi-jx__tabs label:nth-child(3) { outline: 2px solid var(--a-accent); outline-offset: 2px; }
.andermi-jx__p { position: relative; display: none; justify-items: center; gap: 6px; padding: 14px 4px 4px; color: var(--a-ink, #333); text-align: center; text-decoration: none; }
#andermi-jx1:checked ~ .andermi-jx__panels .andermi-jx__p:nth-child(1), #andermi-jx2:checked ~ .andermi-jx__panels .andermi-jx__p:nth-child(2), #andermi-jx3:checked ~ .andermi-jx__panels .andermi-jx__p:nth-child(3) { display: grid; }
.andermi-jx__p img { width: 100%; height: 190px; object-fit: contain; transition: transform .2s; }
.andermi-jx__p:hover img { transform: scale(1.04); }
.andermi-jx__badge { position: absolute; z-index: 2; top: 6px; left: 0; padding: 4px 10px; border-radius: 999px; background: #d32f2f; color: #fff; font-size: 13px; font-weight: 700; }
.andermi-jx__badge--soft { background: #e7f3f9; color: var(--a-accent); }
.andermi-jx__name { font-weight: 600; font-size: 16px; line-height: 1.3; }
.andermi-jx__price { font-size: 22px; font-weight: 800; color: var(--a-accent); }
.andermi-jx__price del { margin-left: 6px; color: var(--a-muted); font-size: 14px; font-weight: 400; opacity: 1; }
.andermi-jx__price ins { text-decoration: none; color: #d32f2f; }
.andermi-jx .andermi-esto--loop { margin: 0; color: var(--a-muted); font-size: 14px; }
.andermi-jx__cta { margin-top: 6px; width: 100%; padding: 12px 20px; background: var(--and-cta, #c44a09); text-align: center; }
.andermi-jx__p:hover .andermi-jx__cta { background: var(--and-cta-hover, #9e3b05); }
.andermi-jx__trust { display: grid; gap: 4px; list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--a-line, #e6e6e6); font-size: 13px; color: var(--a-ink); }
.andermi-jx__trust li::before { content: "✓"; margin-right: 8px; color: var(--and-stock, #1e7b34); font-weight: 700; }
.andermi-jx .andermi-fp-jura__all { margin-top: auto; }
@media (max-width: 1199px) { .andermi-fp-top { grid-template-columns: 260px minmax(0, 1fr); } .andermi-fp-jura { display: none; } }
@media (max-width: 999px) {
	.andermi-fp { gap: 40px; padding-top: 12px; }
	.andermi-fp-top, .andermi-fp-feature, .andermi-fp-visit { grid-template-columns: minmax(0, 1fr); }
	.andermi-fp-top { gap: 14px; }
	/* Kategooriad mobiilis horisontaalse ikooniribana (≤ 1 klikk igasse põhikategooriasse). */
	.andermi-fp-cats { background: none; padding: 0; border-radius: 0; }
	.andermi-fp-cats ul { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding-bottom: 2px; }
	.andermi-fp-cats ul::-webkit-scrollbar { display: none; }
	.andermi-fp-cats li { flex: 0 0 auto; scroll-snap-align: start; }
	.andermi-fp-cats a { flex-direction: column; justify-content: center; gap: 6px; min-width: 84px; min-height: 84px; padding: 10px 12px; white-space: nowrap; background: var(--a-surface, #f4f4f4); border-radius: 14px; font-size: 12.5px; line-height: 1.2; text-align: center; }
	.andermi-fp-main { gap: 14px; }
	.andermi-fp-usp .andermi-usp { gap: 8px; }
	.andermi-fp-usp .andermi-usp__item { padding: 10px; }
	.andermi-fp-reviews .andermi-fp-scroll { grid-auto-columns: 80%; }
	/* Tooteread mobiilis pühitava karussellina (~2,2 kaarti nähtaval), mitte 3 rida üksteise all. */
	.andermi-fp-scroll ul.products { grid-auto-flow: column; grid-template-columns: none !important; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
	.andermi-fp-scroll ul.products::-webkit-scrollbar { display: none; }
	.andermi-fp-scroll ul.products > li { scroll-snap-align: start; }
	.andermi-fp-mini { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.andermi-fp-mini > li { scroll-snap-align: start; }
	.andermi-fp-reviews .andermi-fp-scroll { scrollbar-width: none; }
	.andermi-fp-head { align-items: center; margin-bottom: 14px; }
	.andermi-fp-head > div { flex: 1 1 0; min-width: 0; }
	.andermi-fp-head h2 { font-size: 22px; line-height: 1.25; overflow-wrap: normal; word-break: normal; hyphens: manual; }
	.andermi-fp-row .andermi-fp-sub, .andermi-fp-row--sale .andermi-fp-head h2::after { display: none; }
	.andermi-fp-cats ul { -webkit-mask-image: linear-gradient(to right, #000 82%, transparent); mask-image: linear-gradient(to right, #000 82%, transparent); }
	.andermi-fp-head .andermi-fp-pill { flex: none; padding: 8px 14px; font-size: 13px; }
	.andermi-fp-sub { font-size: 14px; }
	.andermi-fp-visit__img img { min-height: 0; aspect-ratio: 16 / 10; }
	.andermi-fp-visit__btns, .andermi-fp-visit__btns .andermi-fp-btn { width: 100%; text-align: center; }
}

/* ---------- Soovinimekiri (modules/wishlist.php) ---------- */
.andermi-wl-btn {
	display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; padding: 6px 0;
	color: var(--a-muted); font: inherit; cursor: pointer; min-height: 32px;
}
.andermi-wl-btn:hover, .andermi-wl-btn:focus-visible { color: var(--a-accent); background: none; }
.andermi-wl-btn[aria-pressed="true"] { color: #d6336c; }
.andermi-wl-btn[aria-pressed="true"] path { fill: currentColor; }
[data-products] .product { position: relative; }
[data-products] .product .andermi-wl-btn--loop {
	position: absolute; z-index: 3; top: 10px; right: 10px; width: 40px; height: 40px; padding: 0; justify-content: center;
	border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
}
.single-product .entry-summary .andermi-wl-btn--single { margin: -14px 0 18px; font-size: 16px; color: var(--a-ink); }
.single-product .entry-summary .andermi-wl-btn--single[aria-pressed="true"] { color: #d6336c; }
.andermi-wl__tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 16px; color: var(--a-muted); }
.andermi-wl__clear { background: none; border: 0; color: var(--a-muted); text-decoration: underline; font: inherit; cursor: pointer; padding: 6px 0; }
.andermi-wl__clear:hover { background: none; color: var(--a-ink); }
.andermi-htools__icon { position: relative; }
.andermi-htools__count, .andermi-bbar__count {
	position: absolute; top: -2px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
	background: var(--a-accent); color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}
.andermi-htools__count[hidden], .andermi-bbar__count[hidden] { display: none; }

/* ---------- Mobiili alumine riba (nagu vanal saidil, < 1025 px) ---------- */
.andermi-bbar { display: none; }
@media (max-width: 1024px) {
	.andermi-bbar {
		position: fixed; z-index: 95; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-around;
		padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid rgba(0, 0, 0, .08);
		box-shadow: 0 -2px 10px rgba(0, 0, 0, .06);
	}
	.andermi-bbar__item {
		flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; min-height: 48px; padding: 4px 2px;
		background: none; border: 0; color: var(--a-ink, #333); font: inherit; font-size: 11px; font-weight: 600; text-decoration: none; cursor: pointer;
	}
	.andermi-bbar__item:hover, .andermi-bbar__item:focus-visible { background: none; color: var(--a-accent); }
	.andermi-bbar__icon { position: relative; display: grid; place-items: center; width: 28px; height: 26px; }
	body.has-bbar { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
	body.has-bbar .andermi-cmp-bar { bottom: calc(72px + env(safe-area-inset-bottom)); }
	body.has-bbar.has-cmp-bar { padding-bottom: calc(136px + env(safe-area-inset-bottom)); }
}

/* ---------- Kleepuv päis (WoodMart „stick“ eeskujul, varjuta, ei peitu) ----------
 * Töölaual (omanik 29.10): kogu päis koos ülemise ribaga (kontakt, USP, lingid) jääb üles; kerides
 * (body.andermi-stuck, andermi.js) riba 40 → 32 px ja põhirida 84 → 68 px (29.10: enne 120 → 80). Mobiilis nagu vanal: riba peidus,
 * üles jääb 70 px rida, otsingurida peidus. Kõrguse vahe tasandab #header margin-bottom → sisu ei hüppa (CLS 0).
 */
#header { position: sticky; top: var(--admin-bar, 0px); z-index: 80; background: var(--a-bg, #fff); transition: margin-bottom .2s ease, top .2s ease; }
#header [data-row="middle"] > .ct-container { transition: min-height .2s ease; }
html { scroll-padding-top: 120px; }
@media (min-width: 1000px) {
	.andermi-topbar { position: sticky; top: var(--admin-bar, 0px); z-index: 81; }
	.andermi-topbar__in { transition: min-height .2s ease; }
	#header { top: calc(var(--admin-bar, 0px) + 40px); }
	body.andermi-stuck .andermi-topbar__in { min-height: 32px; }
	#header [data-device="desktop"] [data-row="middle"] { --height: 84px; }
	#header [data-device="desktop"] [data-row="middle"] > .ct-container { min-height: 84px; }
	body.andermi-stuck #header { top: calc(var(--admin-bar, 0px) + 32px); margin-bottom: 24px; } /* 8 + 16 px */
	body.andermi-stuck #header [data-device="desktop"] [data-row="middle"] { --height: 68px; }
	body.andermi-stuck #header [data-device="desktop"] [data-row="middle"] > .ct-container { min-height: 68px; }
}
@media (max-width: 999.98px) {
	html { scroll-padding-top: 80px; }
	body.andermi-stuck #header { margin-bottom: 46px; transition: none; }
	body.andermi-stuck #header [data-device="mobile"] [data-row="bottom"] { display: none; }
}
@media (prefers-reduced-motion: reduce) { #header, #header [data-row="middle"] > .ct-container, .andermi-topbar__in { transition: none; } }

/* Kategoorialehe navigatsioon (modules/catnav.php): töölaual külgriba plokk, mobiilis/tahvlis kerivad nupud. */
.andermi-catnav ul { list-style: none; padding: 0; margin: 0; }
.andermi-catnav li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 4px 0; font-size: 0.92rem; }
.andermi-catnav li a { color: var(--a-ink); text-decoration: none; }
.andermi-catnav li a:hover { color: var(--a-accent); }
.andermi-catnav li a[aria-current] { font-weight: 700; }
.andermi-catnav .count { flex: none; min-width: 28px; padding: 1px 7px; border: 1px solid var(--a-line); border-radius: 999px; text-align: center; }
.andermi-catnav__up { display: inline-block; margin-bottom: 8px; color: var(--a-muted); font-size: 0.88rem; text-decoration: none; }
.andermi-catnav__up:hover { color: var(--a-ink); }
.andermi-catchips { display: none; }
@media (max-width: 999.98px) {
	.andermi-catnav { display: none; }
	.andermi-catchips { display: block; margin: 0 -16px 14px; }
	.andermi-catchips ul {
		display: flex; gap: 8px; list-style: none; margin: 0; padding: 2px 16px; overflow-x: auto; scrollbar-width: none;
		scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
	}
	.andermi-catchips ul::-webkit-scrollbar { display: none; }
	.andermi-catchips li { flex: none; scroll-snap-align: start; }
	.andermi-catchips a {
		display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border: 1px solid var(--a-line); border-radius: 999px;
		background: var(--a-surface); color: var(--a-ink); font-size: 0.9rem; text-decoration: none; white-space: nowrap;
	}
	.andermi-catchips a[aria-current] { background: var(--a-ink); border-color: var(--a-ink); color: var(--a-bg); }
}

/* ---------- Ostukorvi külgpaneel (andermi-core modules/minicart.php, andermi.js) ---------- */
html.andermi-noscroll { overflow: hidden; scrollbar-gutter: stable; } /* kerimisriba koht jääb – leht ei nihku */
.andermi-drawer { position: fixed; inset: 0; z-index: 1000; }
.admin-bar .andermi-drawer { top: var(--wp-admin--admin-bar--height, 0px); } /* admin-riba ei kata paneeli pealkirja */
.andermi-drawer[hidden] { display: none; }
.andermi-drawer__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity .2s ease; }
.andermi-drawer__panel {
	position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%);
	background: #fff; box-shadow: -8px 0 30px rgba(0, 0, 0, .15); transform: translateX(100%); transition: transform .25s ease; outline: 0;
}
.andermi-drawer.is-open .andermi-drawer__bg { opacity: 1; }
.andermi-drawer.is-open .andermi-drawer__panel { transform: none; }
.andermi-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px 12px 20px; border-bottom: 1px solid var(--a-line, #e6e6e6); }
.andermi-drawer__head h2 { margin: 0; font-size: 20px; }
.andermi-drawer__x { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--a-ink, #333); cursor: pointer; }
.andermi-drawer__x:hover { background: var(--a-surface, #f4f4f4); color: var(--a-ink, #333); }
.andermi-drawer__load { color: var(--a-muted, #666); }
.andermi-fsp { padding: 14px 20px; background: var(--a-surface, #f4f4f4); font-size: 14px; }
.andermi-fsp:empty { display: none; }
.andermi-fsp p { margin: 0 0 8px; }
.andermi-fsp__bar { height: 6px; border-radius: 3px; background: #dcdcdc; overflow: hidden; }
.andermi-fsp__bar span { display: block; height: 100%; border-radius: 3px; background: var(--and-cta, var(--a-accent)); transition: width .3s ease; }
.andermi-fsp.is-free p::before { content: "✓ "; color: var(--and-stock, #1e7b34); font-weight: 700; }
.andermi-fsp.is-free .andermi-fsp__bar span { background: var(--and-stock, #1e7b34); }
.andermi-drawer .widget_shopping_cart_content { flex: 1; display: flex; flex-direction: column; min-height: 0; padding: 8px 20px 20px; overflow-y: auto; }
.andermi-drawer .woocommerce-mini-cart { flex: 1; margin: 0; padding: 0; list-style: none; }
.andermi-drawer .woocommerce-mini-cart-item { position: relative; display: grid; grid-template-columns: 72px 1fr; gap: 14px; align-items: center; padding: 14px 36px 14px 0; border-bottom: 1px solid var(--a-line, #e6e6e6); }
.andermi-drawer .woocommerce-mini-cart-item .ct-media-container img { width: 72px; height: 72px; object-fit: contain; border-radius: 8px; }
.andermi-drawer .woocommerce-mini-cart-item .product-title { display: block; color: var(--a-ink, #333); font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; }
.andermi-drawer .woocommerce-mini-cart-item .quantity { display: block; margin-top: 4px; color: var(--a-muted, #666); font-size: 14px; }
.andermi-drawer .woocommerce-mini-cart-item .quantity .amount { color: var(--a-ink, #333); font-weight: 700; }
.andermi-drawer .woocommerce-mini-cart-item .remove { position: absolute; top: 50%; right: 0; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; color: var(--a-muted, #666); }
.andermi-drawer .woocommerce-mini-cart-item .remove:hover { background: var(--a-surface, #f4f4f4); color: var(--and-sale, #d62828); }
.andermi-drawer .woocommerce-mini-cart__total { display: flex; justify-content: space-between; margin: 16px 0 12px; font-size: 17px; }
.andermi-drawer .woocommerce-mini-cart__buttons { display: grid; gap: 10px; margin: 0; }
.andermi-drawer .woocommerce-mini-cart__buttons .button { display: flex; align-items: center; justify-content: center; min-height: 48px; margin: 0; border-radius: var(--a-radius-btn, 999px); font-weight: 600; text-align: center; }
.andermi-drawer .woocommerce-mini-cart__buttons .button:not(.checkout) { order: 2; background: #fff !important; border: 1px solid var(--a-line, #d5d5d5) !important; color: var(--a-ink, #333) !important; }
.andermi-drawer .woocommerce-mini-cart__buttons .checkout { order: 1; background: var(--and-cta, var(--a-accent)) !important; color: #fff !important; }
.andermi-drawer .woocommerce-mini-cart__empty-message { margin: 24px 0; color: var(--a-muted, #666); text-align: center; }
@media (prefers-reduced-motion: reduce) { .andermi-drawer__bg, .andermi-drawer__panel { transition: none; } }
/* Blocksy päise ostukorvi hõljumisaken (läbipaistev, segunes taustaga) – klõps avab niikuinii külgpaneeli */
#header .ct-header-cart .ct-cart-content { display: none !important; }

/* ---------- Populaarsed otsingud (tühja otsinguvälja all, header.php andermi_popular_searches) ---------- */
.andermi-htools__search { position: relative; }
.andermi-sugg { position: absolute; z-index: 60; top: calc(100% + 8px); left: 0; right: 0; padding: 14px 16px 16px; border-radius: 14px; background: #fff; box-shadow: 0 12px 32px rgba(0, 0, 0, .14); text-align: start; }
.andermi-sugg[hidden] { display: none; }
.andermi-sugg__t { margin: 0 0 10px; color: var(--a-muted, #666); font-size: 13px; font-weight: 600; }
.andermi-sugg ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.andermi-sugg a { display: inline-block; padding: 7px 14px; border: 1px solid var(--a-line, #e0e0e0); border-radius: 999px; color: var(--a-ink, #333); font-size: 14px; text-decoration: none; }
.andermi-sugg a:hover, .andermi-sugg a:focus-visible { border-color: var(--a-accent); color: var(--a-accent); }
.andermi-drawer .wc-empty-cart-message .cart-empty { margin: 32px 0 16px; padding: 0; border: 0; background: none; color: var(--a-muted, #666); text-align: center; }
.andermi-drawer .wc-empty-cart-message .cart-empty::before { display: none; }
.andermi-drawer .return-to-shop { margin: 0; text-align: center; }

/* JURA leht (/jura/) – maaletooja nõue: kujundus nagu vanal saidil (logo + pealkiri, punased nupud + karussell,
   tekst/video vaheldumisi, 5 ikooniga eelist). Mõõdud ja värvid vana lehe järgi (01.11.2026). */
.andermi-jl { --j-red: #d92b2b; --j-ink: #242424; --j-text: #666; color: var(--j-text); font-size: 16px; line-height: 1.6; }
.andermi-jl h1, .andermi-jl h2, .andermi-jl h3 { color: var(--j-ink); font-weight: 700; line-height: 1.4; margin: 0 0 16px; }
.andermi-jl h1 { font-size: 28px; }
.andermi-jl h2 { font-size: 24px; }
.andermi-jl h3 { font-size: 20px; margin-bottom: 20px; }
.andermi-jl p, .andermi-jl ul { margin: 0 0 16px; }
.andermi-jl .wp-block-columns { gap: 0 20px; margin: 0; }
.andermi-jl__side { flex: 0 0 24% !important; }
.andermi-jl__main { flex: 1 1 0 !important; min-width: 0; }
.andermi-jl__top { align-items: flex-end; margin-bottom: 0; }
.andermi-jl__top h2 { margin-bottom: 0; }
.andermi-jl__logo { margin: 10px 0; }
.andermi-jl__logo img { width: 100%; max-width: 318px; height: auto; }
.andermi-jl__hero { align-items: center; margin-bottom: 50px !important; }
.andermi-jl__btns { flex-direction: column; align-items: stretch !important; gap: 20px; width: 90%; }
.andermi-jl__btns .wp-block-button { width: 100%; }
.andermi-jl__btns .wp-block-button__link { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 42px; padding: 5px 20px; border-radius: 5px; background: var(--j-red); color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0; text-transform: uppercase; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .15); }
.andermi-jl__btns .wp-block-button__link:hover, .andermi-jl__btns .wp-block-button__link:focus-visible { background: #c02424; color: #fff; }
.andermi-jl__slider { position: relative; overflow: hidden; aspect-ratio: 1200 / 514; background: #f2f2f2; }
.andermi-jl__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.andermi-jl__track::-webkit-scrollbar { display: none; }
.andermi-jl__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.andermi-jl__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .7); color: var(--j-ink); font-size: 28px; line-height: 1; cursor: pointer; }
.andermi-jl__nav--prev { left: 10px; }
.andermi-jl__nav--next { right: 10px; }
.andermi-jl__center { text-align: center; margin-bottom: 40px; }
.andermi-jl__center h2 { margin-top: 32px; }
.andermi-jl__row { align-items: flex-start; padding: 10px 0; }
.andermi-jl__row > .wp-block-column { flex: 1 1 0 !important; min-width: 0; }
.andermi-jl__row .wp-block-embed { margin: 0; }
.andermi-jl__row ul { padding-left: 20px; }
.andermi-jl__icons { margin-top: 25px !important; text-align: center; }
.andermi-jl__icons > .wp-block-column { flex: 1 1 0 !important; min-width: 0; padding: 0 10px; }
.andermi-jl__icons .wp-block-image { margin: 0 0 15px; }
.andermi-jl__icons .wp-block-image img { width: 84px; height: 84px; }
.andermi-jl-page .hero-section, .andermi-jl-page .entry-header { display: none; }
@media (max-width: 781px) {
	.andermi-jl .wp-block-columns { flex-wrap: wrap !important; gap: 16px; }
	.andermi-jl__side, .andermi-jl__main, .andermi-jl__row > .wp-block-column, .andermi-jl__icons > .wp-block-column { flex: 1 1 100% !important; }
	.andermi-jl__top { text-align: center; margin-bottom: 20px !important; }
	.andermi-jl__logo img { max-width: 200px; margin: 0 auto; }
	.andermi-jl__btns { width: 100%; gap: 12px; }
	.andermi-jl__row { padding: 16px 0; }
	.andermi-jl__icons > .wp-block-column { flex-basis: calc(50% - 8px) !important; }
}
@media (max-width: 480px) {
	.andermi-jl__icons > .wp-block-column { flex-basis: 100% !important; }
}

/* YouTube „lite“: eelvaade + nupp, iframe (youtube-nocookie) alles klikil – kiirem leht, küpsiseid enne klikki pole. */
.andermi-yt { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; padding: 0; border: 0; background: #000 center / cover no-repeat; cursor: pointer; }
.andermi-yt::after { content: ""; position: absolute; top: 50%; left: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); border-radius: 12px; background: #e00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 30px no-repeat; opacity: .9; }
.andermi-yt:hover::after, .andermi-yt:focus-visible::after { opacity: 1; }
.andermi-yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
div.andermi-yt::after { content: none; } /* mängiv video: esitusnupp ära */
/* Tootelehe video nupp (shop.php `_andermi_video`): ostunupu all, kompaktne rida – mitte 16:9 kast (esimene ekraan jääb ostule). */
.andermi-yt.andermi-pvideo { display: inline-flex; align-self: flex-start; align-items: center; gap: 10px; width: auto; max-width: 100%; aspect-ratio: auto; margin: 4px 0 16px; padding: 8px 18px 8px 8px; border: 1px solid var(--a-line); border-radius: var(--a-radius-btn); background: var(--a-card-bg); color: var(--a-ink); font: inherit; font-weight: 600; font-size: .95rem; line-height: 1.3; text-align: left; }
.andermi-yt.andermi-pvideo::after { content: none; }
.andermi-yt.andermi-pvideo:hover, .andermi-yt.andermi-pvideo:focus-visible { border-color: var(--a-ink); }
.andermi-pvideo__play { flex: none; width: 34px; height: 34px; border-radius: 50%; background: #e00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M9 7v10l8-5z'/%3E%3C/svg%3E") center / 20px no-repeat; }
/* Video silt põhipildi nurgas (shop.php .andermi-gvideo, andermi.js tõstab .flexy-view sisse). Enne tõstmist peidus. */
.ct-product-gallery-container > .andermi-gvideo { display: none; }
.andermi-gvideo-host { position: relative; }
.andermi-yt.andermi-gvideo { position: absolute; left: 12px; bottom: 12px; z-index: 3; display: inline-flex; align-items: center; gap: 8px; width: auto; aspect-ratio: auto; padding: 6px 16px 6px 6px; border: 0; border-radius: 999px; background: rgba(20, 20, 20, .78); color: #fff; font: inherit; font-weight: 700; font-size: .9rem; line-height: 1.2; box-shadow: 0 4px 14px rgba(0,0,0,.25); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.andermi-yt.andermi-gvideo::after { content: none; }
.andermi-yt.andermi-gvideo:hover, .andermi-yt.andermi-gvideo:focus-visible { background: rgba(0, 0, 0, .92); }
.andermi-gvideo .andermi-pvideo__play { width: 30px; height: 30px; background-size: 18px; }
.andermi-gvideo__len { font-weight: 500; opacity: .85; }
/* Töölaual on pildi alumine serv sageli esimesest ekraanist allpool → silt üles; soodusmärgi korral selle alla. */
@media (min-width: 1000px) {
	.andermi-yt.andermi-gvideo { top: 16px; bottom: auto; left: 16px; }
	.ct-product-gallery-container:has(.onsale) .andermi-yt.andermi-gvideo { top: 60px; }
}
/* Video suures aknas (andermi.js [data-yt-modal]) – 16:9, mahub ekraanile nii laiuses kui kõrguses. */
.andermi-ytm { width: min(1200px, calc(100vw - 32px), calc((100vh - 96px) * 16 / 9)); max-width: none; padding: 0; border: 0; border-radius: 12px; background: #000; overflow: visible; }
.andermi-ytm::backdrop { background: rgba(0,0,0,.82); }
.andermi-ytm .andermi-yt { border-radius: 12px; overflow: hidden; }
.andermi-ytm__x { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-size: 28px; line-height: 40px; cursor: pointer; }
.andermi-ytm__x:hover, .andermi-ytm__x:focus-visible { background: rgba(255,255,255,.28); }

/* Tootelehe osade riba (Tooteinfo · Tehnilised andmed · Arvustused) nagu vanal saidil – kinnitub päise alla (top: andermi.js). */
.andermi-pnav { position: sticky; top: var(--andermi-pnav-top, 0px); z-index: 60; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 20px; padding: 5px; border-radius: 999px; background: #f2f2f2; box-shadow: 0 1px 0 rgba(0, 0, 0, .04); }
.andermi-pnav::-webkit-scrollbar { display: none; }
.andermi-pnav a { flex: 0 0 auto; padding: 10px 24px; border-radius: 999px; color: var(--a-ink, #242424); font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background .15s ease, color .15s ease; }
.andermi-pnav a:hover { background: rgba(0, 0, 0, .06); }
.andermi-pnav a.is-active { background: var(--a-accent, #1d86b5); color: #fff; }
.single-product .woocommerce-Tabs-panel, .single-product #reviews { scroll-margin-top: calc(var(--andermi-pnav-top, 120px) + 100px); }
@media (max-width: 689.98px) {
	.andermi-pnav { margin: 0 -16px 16px; border-radius: 0; padding: 6px 12px; }
	.andermi-pnav a { padding: 8px 16px; font-size: 14px; }
}

/* 05.11.2026: avalehe külgmenüü töölaual ära (kordas päise osakonnariba). Töölaual: [bänner + populaarsed kategooriad 4×2] [JURA kast],
   usaldusriba täislaiuses 5 veerus selle all. Mobiilis: ikooniriba → bänner → usaldusriba (kategooriakaardid peidus). */
.andermi-fp-catgrid { display: none; }
@media (min-width: 1000px) {
	.andermi-fp-cats, body.kuj-4 .andermi-fp-top > .andermi-fp-cats { display: none; } /* kuj-4.css laeb hiljem (display:flex) */
	.andermi-fp-top { grid-template-columns: minmax(0, 1fr) 360px; }
	.andermi-hero2 { min-height: 0; }
	/* Vasak veerg venib JURA kasti kõrguseks, kategooriakaardid täidavad ülejäänu (ei jää tühja rida usaldusriba kohale). */
	.andermi-fp-main { align-self: stretch; grid-template-rows: auto 1fr; }
	.andermi-fp-catgrid { display: block; }
	.andermi-fp-catgrid ul { display: grid; height: 100%; grid-auto-rows: 1fr; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; list-style: none; margin: 0; padding: 0; }
	.andermi-fp-catgrid a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; height: 100%; padding: 10px 8px; text-align: center; background: #fff; border: 1px solid var(--a-line, #e6e6e6); border-radius: 14px; color: var(--a-ink, #333); font-weight: 600; font-size: 15px; line-height: 1.25; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
	.andermi-fp-catgrid a:hover { border-color: var(--a-accent); box-shadow: 0 8px 20px rgba(0, 0, 0, .07); color: var(--a-accent); }
	.andermi-fp-catgrid__img { flex: none; display: flex; align-items: center; justify-content: center; width: 100%; height: 72px; overflow: hidden; }
	.andermi-fp .andermi-fp-catgrid__img img { display: block; width: auto !important; height: auto !important; max-width: 100%; max-height: 72px; object-fit: contain; }
	.andermi-fp-top + .andermi-fp-usp { margin-top: -32px; }
	.andermi-fp-usp .andermi-usp { grid-template-columns: repeat(5, minmax(0, 1fr)); }
	body.kuj-4 .andermi-fp > .andermi-fp-usp .andermi-usp__item--kodu { grid-column: auto; }
}
/* Laial ekraanil pakkumisala kahes veerus: tekst vasakul, 3 soodustoodet paremal (täidab tühja parema poole, kategooriad tõusevad ülespoole). */
@media (min-width: 1200px) {
	.andermi-hero2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); grid-template-rows: none; align-items: center; gap: 28px; padding: 30px 30px 30px 34px; }
	.andermi-hero2__h { font-size: clamp(32px, 2.5vw, 42px); }
	.andermi-hero2__p { font-size: 15.5px; }
	.andermi-hero2__btns { flex-wrap: nowrap; gap: 8px; }
	.andermi-hero2__btns .andermi-fp-btn { padding: 12px 16px; font-size: 14px; white-space: nowrap; }
	.andermi-hero2__tiles { gap: 10px; }
	.andermi-hero2__tiles a { align-content: start; }
	.andermi-hero2__tiles img { height: 120px; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
	.andermi-fp-top { grid-template-columns: minmax(0, 1fr); }
	.andermi-fp-usp .andermi-usp { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 999px) { .andermi-fp-top + .andermi-fp-usp { margin-top: -26px; } }

/* 05.11.2026 avalehe analüüsi parandused. */
/* Arvustused: kerimisriba peidus, nooled pealkirja kõrval. */
.andermi-fp-reviews .andermi-fp-scroll { scrollbar-width: none; }
.andermi-fp-reviews .andermi-fp-scroll::-webkit-scrollbar { display: none; }
.andermi-fp-revnav { display: flex; align-items: center; gap: 8px; flex: none; }
.andermi-fp-arrow { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--a-line, #e6e6e6); border-radius: 50%; background: #fff; color: var(--a-ink, #333); font-size: 22px; line-height: 1; cursor: pointer; }
.andermi-fp-arrow:hover { border-color: var(--a-accent); color: var(--a-accent); }
@media (max-width: 999px) { .andermi-fp-arrow { display: none; } }
/* Usaldusribas Google'i hinde täht kollane. */
.andermi-usp__item--google .andermi-usp__icon { color: #f5b301; fill: #f5c518; }
/* JURA riba bänneri all, kui JURA kast on peidus (< 1200 px). */
.andermi-fp-jstrip { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border: 1px solid var(--a-line, #e6e6e6); border-radius: 14px; background: #fff; color: var(--a-ink, #333); text-decoration: none; }
.andermi-fp-jstrip > span:first-child { display: grid; gap: 2px; flex: 1; min-width: 0; }
.andermi-fp-jstrip strong { font-size: 15px; }
.andermi-fp-jstrip small { color: var(--a-muted); font-size: 13px; line-height: 1.35; }
.andermi-fp-jstrip__go { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--and-cta, #c44a09); color: #fff; font-weight: 700; }
@media (min-width: 1200px) { .andermi-fp-jstrip { display: none; } }
@media (min-width: 1000px) and (max-width: 1199px) { .andermi-fp-main { grid-template-rows: none; } }
/* SEO-tekst: mobiilis 1. lõik + „Loe edasi“. */
.andermi-fp-seo__more { display: none; }
@media (max-width: 999px) {
	.andermi-fp-seo__t:not(:checked) ~ p:not(:first-of-type) { display: none; }
	.andermi-fp-seo__t:not(:checked) ~ .andermi-fp-seo__more { display: inline-block; margin-top: 8px; color: var(--a-accent); font-weight: 600; cursor: pointer; text-decoration: underline; }
	/* Brändid ühe pühitava reana (enne 4 rida). */
	body.kuj-4 .andermi-fp .andermi-fp-brands ul { display: flex; gap: 18px; overflow-x: auto; scrollbar-width: none; padding: 16px 14px; }
	body.kuj-4 .andermi-fp .andermi-fp-brands ul::-webkit-scrollbar { display: none; }
	body.kuj-4 .andermi-fp .andermi-fp-brands li { flex: 0 0 auto; }
}

/* Horisontaalselt keritavad read mobiilis (andermi.js): hääbuv serv, nooled, edenemisriba. */
.andermi-hs-btn, .andermi-hs-bar { display: none; }
@media (max-width: 999px) {
	[data-andermi-hs].hs-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 44px), transparent); }
	[data-andermi-hs].hs-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px); mask-image: linear-gradient(90deg, transparent, #000 24px); }
	[data-andermi-hs].hs-l.hs-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 44px), transparent); }
	.andermi-hs-host { position: relative; }
	.andermi-hs-btn {
		position: absolute; z-index: 3; display: grid; place-items: center; width: 34px; height: 34px; margin: -17px 0 0; padding: 0;
		border: 1px solid rgba(0,0,0,.08); border-radius: 50%; background: #fff; color: var(--a-ink, #222);
		box-shadow: 0 2px 8px rgba(0,0,0,.18); cursor: pointer; -webkit-tap-highlight-color: transparent;
	}
	.andermi-hs-btn[hidden] { display: none; }
	.andermi-hs-btn:active { transform: scale(.92); }
	.andermi-hs-bar { position: absolute; z-index: 1; display: block; height: 3px; border-radius: 3px; background: rgba(0,0,0,.08); pointer-events: none; }
	.andermi-hs-bar[hidden] { display: none; }
	.andermi-hs-bar::before {
		content: ""; position: absolute; inset: 0 auto 0 0; width: calc(var(--w, 1) * 100%); border-radius: inherit; background: var(--a-ink, #333);
		transform: translateX(calc(var(--x, 0) * (1 / var(--w, 1) - 1) * 100%));
	}
}
/* Sisepolsterdusega read: snap ei tohi esimest kaarti serva alla nihutada (scrollLeft 16 lehe avamisel). */
.andermi-catchips ul, .andermi-subcats ul { scroll-padding-inline: 16px; }

/* Laoseisu / hinna teavitus (andermi-core/modules/alerts.php) */
.andermi-alert { margin: 0 0 18px; scroll-margin-top: 140px; }
.andermi-alert--stock { padding: 14px 16px; border: 1px solid var(--a-line); border-radius: var(--a-radius); background: var(--a-surface); }
.andermi-alert__title { margin: 0 0 10px; font-weight: 700; font-size: 1rem; }
.andermi-alert__row { display: flex; gap: 8px; }
.andermi-alert__row input[type="email"] { flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 12px; border: 1px solid var(--a-line); border-radius: var(--a-radius-btn); background: #fff; font-size: 16px; }
.andermi-alert__row .button { flex: 0 0 auto; height: 44px; padding: 0 16px; border-radius: var(--a-radius-btn); background: var(--a-accent); color: var(--a-accent-ink); font-weight: 600; }
.andermi-alert__row .button:hover { background: var(--a-accent-hover); }
.andermi-alert__check { display: flex; align-items: center; gap: 8px; margin: 10px 0 0; font-size: .9rem; cursor: pointer; }
.andermi-alert__note { margin: 8px 0 0; font-size: .78rem; color: var(--a-muted); }
.andermi-alert__msg { margin: 10px 0 0; font-weight: 600; color: var(--a-ok); }
.andermi-alert__msg.is-err { color: #b42318; }
.andermi-alert__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.andermi-alert--price summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; font-size: .9rem; color: var(--a-muted); text-decoration: underline; text-underline-offset: 3px; list-style: none; }
.andermi-alert--price summary::-webkit-details-marker { display: none; }
.andermi-alert--price summary::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9'/%3E%3Cpath d='M13.7 21a2 2 0 0 1-3.4 0'/%3E%3C/svg%3E") center / contain no-repeat; }
.andermi-alert--price[open] summary { margin-bottom: 10px; color: var(--a-ink); }

/* Tarnija kampaaniad (andermi-core modules/kampaaniad.php, 06.11.2026). */
.andermi-kamp { display: block; margin: 0 0 16px; border-radius: 12px; overflow: hidden; line-height: 0; background: #e9e9e9; }
.andermi-kamp img { display: block; width: 100%; height: auto; }
.andermi-kamp:focus-visible { outline: 3px solid var(--a-accent); outline-offset: 2px; }
.andermi-sale-end { flex: 0 0 100%; display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 0.9rem; color: #b3261e; }
.andermi-sale-end svg { flex: none; }
.andermi-jx__kamp { align-self: center; padding: 2px 10px; border-radius: 999px; background: #1b1b1b; color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.andermi-fp-jstrip--kamp img { flex: none; width: 56px; height: 56px; object-fit: contain; border-radius: 8px; background: #f4f4f4; }
.andermi-fp-jstrip__ules { font-size: 12px !important; font-weight: 600; text-transform: uppercase; letter-spacing: .03em; color: #b3261e !important; }
.andermi-fp-jstrip--kamp > span:not(.andermi-fp-jstrip__go) { display: grid; gap: 2px; flex: 1; min-width: 0; }
.andermi-fp-jstrip__hind { white-space: nowrap; font-size: 14px; }
.andermi-fp-jstrip__hind b { font-size: 17px; color: #d32f2f; }
.andermi-fp-jstrip__hind s { color: var(--a-muted); margin-left: 4px; }
.andermi-fp-jstrip__hind em { font-style: normal; font-weight: 700; color: #fff; background: #d32f2f; border-radius: 999px; padding: 1px 7px; margin-left: 6px; font-size: 12px; }

/* Esiletõst (andermi-core modules/kampaaniad.php, 09.11.2026: Sony Bravia 6 OLED) – tume „OLED“ plokk, eristub valgel lehel. */
.andermi-esile { --e-bg: #0b0b10; --e-ink: #f4f4f7; --e-muted: #b4b4c2; --e-line: rgba(255,255,255,.14); --e-glow: #7b5cff;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); margin: 0 0 32px; border-radius: var(--a-radius); overflow: hidden;
	background: radial-gradient(120% 90% at 100% 0%, rgba(123,92,255,.28), transparent 60%), var(--e-bg); color: var(--e-ink); }
.andermi-esile__img { position: relative; min-height: 100%; background: #1a1a22; }
.andermi-esile__img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.andermi-esile__body { padding: 28px 32px 26px; display: flex; flex-direction: column; gap: 12px; }
.andermi-esile__ules { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #c9bcff; }
.andermi-esile__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61,220,132,.2); }
.andermi-esile .andermi-esile__title { margin: 0; color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.1; letter-spacing: -0.02em; }
.andermi-esile__text { margin: 0; color: var(--e-muted); line-height: 1.55; }
.andermi-esile__pros { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; margin: 2px 0 4px; padding: 0; list-style: none; font-size: 14px; }
.andermi-esile__pros li { position: relative; padding-left: 20px; }
.andermi-esile__pros li::before { content: ""; position: absolute; left: 0; top: .45em; width: 10px; height: 6px; border: solid #3ddc84; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.andermi-esile__pick { margin: 4px 0 -4px; font-size: 13px; font-weight: 600; color: var(--e-muted); }
.andermi-esile__sizes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.andermi-esile__size { display: grid; gap: 2px; height: 100%; padding: 12px 12px 10px; border: 1px solid var(--e-line); border-radius: 10px; background: rgba(255,255,255,.04); color: var(--e-ink); text-decoration: none; transition: border-color .15s, background .15s, transform .15s; }
.andermi-esile__size:hover, .andermi-esile__size:focus-visible { border-color: var(--e-glow); background: rgba(123,92,255,.14); transform: translateY(-2px); color: #fff; }
.andermi-esile__size:focus-visible { outline: 2px solid #c9bcff; outline-offset: 2px; }
.andermi-esile__inch { font-size: 1.6rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.andermi-esile__price { margin-top: 6px; font-size: 1.05rem; font-weight: 700; color: #fff; }
.andermi-esile__was { font-size: 12px; color: var(--e-muted); white-space: nowrap; }
.andermi-esile__was em { font-style: normal; font-weight: 700; color: #fff; background: #d32f2f; border-radius: 999px; padding: 1px 6px; margin-left: 2px; }
.andermi-esile__visit { align-self: flex-start; margin-top: 4px; font-size: 14px; font-weight: 600; color: #c9bcff; text-decoration: underline; text-underline-offset: 3px; }
.andermi-esile__visit:hover { color: #fff; }
.woocommerce-products-header + .andermi-esile, .andermi-esile + .woocommerce-notices-wrapper { margin-top: 0; }
@media (max-width: 899px) {
	.andermi-esile { grid-template-columns: 1fr; margin-bottom: 24px; }
	.andermi-esile__img { aspect-ratio: 16 / 9; min-height: 0; }
	.andermi-esile__body { padding: 20px 16px 18px; }
	.andermi-esile__pros { grid-template-columns: 1fr; }
	.andermi-esile__sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Esiletõst „kino“ (20.11.2026, WiiM Bar): video + kodukino ehitaja. Valik raadionuppudega, :has() näitab skeemi ja hinna. */
.andermi-kino { --e-glow: #2ec5e8; background: radial-gradient(120% 90% at 100% 0%, rgba(46,197,232,.24), transparent 60%), var(--e-bg); }
.andermi-kino .andermi-esile__ules { color: #9fe6f7; }
.andermi-kino__video { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; background: #1a1a22; }
.andermi-kino__video::after { width: 76px; height: 54px; box-shadow: 0 6px 24px rgba(0,0,0,.45); transition: transform .2s cubic-bezier(.2,.8,.2,1); }
.andermi-kino__video:hover::after, .andermi-kino__video:focus-visible::after { transform: translate(-50%, -50%) scale(1.08); }
.andermi-kino__vlbl { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.66); color: #fff; font-size: 13px; font-weight: 600; }
.andermi-esile__img > .andermi-yt:not(button) { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.andermi-kino__build { margin: 4px 0 0; padding: 0; border: 0; min-width: 0; }
.andermi-kino__build legend { padding: 0; margin-bottom: 8px; }
.andermi-kino__opts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.andermi-kino__opt { position: relative; display: grid; align-content: start; gap: 2px; margin: 0; padding: 10px 12px; font-size: inherit; border: 1px solid var(--e-line); border-radius: 10px; background: rgba(255,255,255,.04); cursor: pointer; transition: border-color .15s, background .15s; }
.andermi-kino__opt:hover { border-color: rgba(46,197,232,.6); }
.andermi-kino__opt:has(:checked) { border-color: var(--e-glow); background: rgba(46,197,232,.14); box-shadow: inset 0 0 0 1px var(--e-glow); }
.andermi-kino__opt:has(:focus-visible) { outline: 2px solid #9fe6f7; outline-offset: 2px; }
.andermi-kino__r { position: absolute; opacity: 0; pointer-events: none; }
.andermi-kino__ch { font-size: 1.35rem; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: #fff; }
.andermi-kino__lbl { font-size: 12px; line-height: 1.3; color: var(--e-muted); }
.andermi-kino__out { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; align-items: start; margin-top: 12px; }
.andermi-kino__map { width: 100%; height: auto; display: block; }
.andermi-kino__map .k-room { fill: rgba(255,255,255,.03); stroke: var(--e-line); }
.andermi-kino__map .k-tv { fill: #6b6b7a; }
.andermi-kino__map .k-sofa { fill: rgba(255,255,255,.08); }
.andermi-kino__map .k-you { fill: #9fe6f7; }
.andermi-kino__map .k-spk { fill: #3a3a46; transition: fill .25s, opacity .25s; }
.andermi-kino__map .k-wave { fill: none; stroke: var(--e-glow); stroke-width: 2; opacity: 0; }
.andermi-kino__map .k-bar, .andermi-kino:has([data-sub]:checked) .k-sub, .andermi-kino:has([data-rear]:checked) .k-rear { fill: var(--e-glow); }
.andermi-kino__map .k-bar .k-wave, .andermi-kino:has([data-sub]:checked) .k-sub .k-wave, .andermi-kino:has([data-rear]:checked) .k-rear .k-wave { animation: andermi-kino-wave 2.2s ease-out infinite; }
.andermi-kino__map .k-wave2 { animation-delay: .5s !important; }
@keyframes andermi-kino-wave { 0% { opacity: .9; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .andermi-kino__map .k-wave { animation: none !important; opacity: .5 !important; } .andermi-kino__map .k-spk:not(.k-bar) .k-wave { opacity: 0 !important; } .andermi-kino:has([data-sub]:checked) .k-sub .k-wave, .andermi-kino:has([data-rear]:checked) .k-rear .k-wave { opacity: .5 !important; } }
/* Paneelid samas lahtris üksteise peal: ploki kõrgus = pikim paneel, valiku vahetamisel midagi ei hüppa (21.11). */
.andermi-kino__panels { display: grid; }
.andermi-kino__panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 10px; visibility: hidden; }
.andermi-kino__panel[data-s="0"] { visibility: visible; }
.andermi-kino:has(.andermi-kino__r:checked:not([value="0"])) .andermi-kino__panel[data-s="0"] { visibility: hidden; }
.andermi-kino:has(.andermi-kino__r[value="1"]:checked) .andermi-kino__panel[data-s="1"],
.andermi-kino:has(.andermi-kino__r[value="2"]:checked) .andermi-kino__panel[data-s="2"] { visibility: visible; }
.andermi-kino__panel a { transition: background-color .15s, color .15s; } /* Blocksy a{transition:all} viivitaks peitmist */
.andermi-kino__sum { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.andermi-kino__total { font-size: 1.9rem; font-weight: 800; line-height: 1; color: #fff; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.andermi-kino__month { font-size: 13px; color: #9fe6f7; }
.andermi-kino__items { margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--e-muted); }
.andermi-kino__items li { display: flex; justify-content: space-between; gap: 10px; padding: 2px 0; }
.andermi-kino__items a { color: var(--e-ink); text-decoration: none; }
.andermi-kino__items a:hover { text-decoration: underline; }
.andermi-kino__items span { white-space: nowrap; font-variant-numeric: tabular-nums; }
.andermi-kino__btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.andermi-kino__btns .andermi-fp-btn { padding: 13px 24px; font-size: 15px; text-decoration: none; }
.andermi-kino__add[aria-busy="true"] { opacity: .7; pointer-events: none; }
.andermi-kino__more { font-size: 14px; font-weight: 600; color: #9fe6f7; text-decoration: underline; text-underline-offset: 3px; }
.andermi-kino__more:hover { color: #fff; }
@media (max-width: 899px) {
	.andermi-kino .andermi-esile__img { aspect-ratio: 16 / 9; }
	.andermi-kino__out { grid-template-columns: 1fr; }
	.andermi-kino__map { max-width: 220px; justify-self: center; }
	.andermi-kino__lbl { font-size: 11px; }
	.andermi-kino__opt { padding: 9px 9px; }
}
