/* =====================================================================
   Svarunica — site stylesheet (mobile first)
   Dark "night" frame (header, hero, feature bands, footer) around light
   cream shop pages. Forest green + ochre. Cormorant Garamond headings.
   ===================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
	--night: #141a16;
	--night-2: #1d2520;
	--forest: #1f3d2b;
	--forest-2: #2d5a40;
	--ochre: #c89b4a;
	--ochre-2: #b5863a;
	--ochre-text: #8a6424;         /* ochre dark enough for text on cream */
	--cream: #f4efe4;
	--card: #fffaf0;
	--line: #e4dccb;
	--ink: #1b1c19;
	--text: #3b3a35;
	--muted: #6f6b60;
	--sale: #a6362b;

	--f-head: "Marcellus", Georgia, "Times New Roman", serif;
	--f-body: "Alegreya Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r: 6px;
	--r-lg: 10px;
	--shadow: 0 1px 2px rgba(27, 28, 25, .06), 0 4px 14px rgba(27, 28, 25, .06);
	--shadow-hover: 0 10px 30px rgba(27, 28, 25, .14);

	--btn-h: 48px;
	--gutter: 16px;
	--gap: 12px;
	--section: 3.5rem;

	/* legacy names still used by plugins / older markup */
	--svar-primary: var(--forest);
	--svar-primary-dark: var(--forest-2);
	--svar-secondary: var(--ochre);
	--svar-bg: var(--cream);
	--svar-surface: var(--card);
	--svar-border: var(--line);
	--svar-text: var(--text);
	--svar-dark: var(--ink);
	--svar-sale: var(--sale);
	--svar-radius: var(--r);
	--svar-shadow: var(--shadow);
	--svar-heading-font: var(--f-head);

	--theme-font-family: var(--f-body);
	--theme-link-initial-color: var(--forest);
	--theme-link-hover-color: var(--forest-2);
	--theme-button-background-initial-color: var(--forest);
	--theme-button-background-hover-color: var(--forest-2);
}
@media (min-width: 690px) { :root { --gutter: 24px; --gap: 20px; --section: 4.5rem; --btn-h: 46px; } }
@media (min-width: 1000px) { :root { --gutter: 32px; --gap: 24px; --section: 5.5rem; } }

/* one gutter everywhere: Blocksy containers use the full width minus our gutter */
:root, body { --theme-container-edge-spacing: calc(100vw - 2 * var(--gutter)); --theme-normal-container-max-width: 1240px; }

/* ---------- 2. Base ---------- */
html body, html body #main-container, html body .site-main { background-color: var(--cream); color: var(--text); }
body { font-family: var(--f-body); font-size: 17px; line-height: 1.6; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; }
@media (min-width: 690px) { body { font-size: 18px; } }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--forest-2); }
::selection { background: var(--forest); color: #fff; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4, h5, h6, .entry-title, .page-title, .product_title, .woocommerce-loop-product__title, .widget-title, .ct-widget-title, .ct-module-title {
	font-family: var(--f-head); font-weight: 400; color: var(--ink); letter-spacing: .01em; line-height: 1.18;
}
h1, .page-title, .product_title { font-size: clamp(2.1rem, 5.5vw, 3rem); }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 3vw, 1.6rem); }
h4 { font-size: 1.25rem; }

/* ---------- 3. Buttons: one system ---------- */
.button, a.button, button.button, .wp-element-button, .wp-block-button__link, button[type="submit"], input[type="submit"],
.added_to_cart, .checkout-button, #place_order, .single_add_to_cart_button, .wpforms-submit, .wpcf7-submit {
	display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
	min-height: var(--btn-h); padding: 0 1.5rem; box-sizing: border-box;
	font-family: var(--f-body); font-size: 1.02rem; font-weight: 500; line-height: 1.2; letter-spacing: .015em; text-transform: none; text-align: center; text-decoration: none;
	border-radius: var(--r); border: 2px solid var(--forest); background: var(--forest); color: #fff;
	cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.button:hover, .wp-element-button:hover, .wp-block-button__link:hover, button[type="submit"]:hover, input[type="submit"]:hover,
.checkout-button:hover, #place_order:hover, .single_add_to_cart_button:hover, .wpforms-submit:hover {
	background: var(--forest-2); border-color: var(--forest-2); color: #fff; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(31, 61, 43, .25);
}
.button:disabled, .button.disabled, button[disabled], .ct-cart-form-actions button[disabled], .variations_button .single_add_to_cart_button.disabled { opacity: .65 !important; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* outline (secondary) */
.is-style-outline > .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link, .svar-btn--outline {
	background: transparent !important; color: var(--forest) !important; border: 2px solid var(--forest) !important;
}
.is-style-outline > .wp-block-button__link:hover, .svar-btn--outline:hover { background: var(--forest) !important; color: #fff !important; }

/* on dark backgrounds: ochre primary, cream outline */
.svar-dark .wp-block-button__link, .svar-hero .wp-block-button__link { background: var(--ochre); border-color: var(--ochre); color: var(--ink); }
.svar-dark .wp-block-button__link:hover, .svar-hero .wp-block-button__link:hover { background: #d8ad5f; border-color: #d8ad5f; color: var(--ink); }
.svar-dark .is-style-outline > .wp-block-button__link, .svar-hero .is-style-outline > .wp-block-button__link { color: var(--cream) !important; border-color: rgba(244, 239, 228, .85) !important; }
.svar-dark .is-style-outline > .wp-block-button__link:hover, .svar-hero .is-style-outline > .wp-block-button__link:hover { background: var(--cream) !important; color: var(--ink) !important; }

/* text link with arrow */
.svar-more { font-weight: 700; color: var(--forest); text-decoration: none; white-space: nowrap; display: inline-flex; align-items: center; gap: .35rem; }
.svar-more::after { content: "→"; transition: transform .2s; }
.svar-more:hover::after { transform: translateX(3px); }

/* ---------- 4. Forms ---------- */
input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], select, textarea,
.woocommerce form .form-row .input-text, .select2-container .select2-selection--single {
	min-height: var(--btn-h); border: 1.5px solid #d6ccb6 !important; border-radius: var(--r) !important; background: #fff !important; color: var(--ink);
	font-family: var(--f-body); font-size: 1rem; padding-inline: .9rem; box-shadow: none;
}
textarea { padding-block: .75rem; min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--forest) !important; outline: none; box-shadow: 0 0 0 3px rgba(31, 61, 43, .15) !important; }
.select2-container .select2-selection--single .select2-selection__rendered { line-height: calc(var(--btn-h) - 3px); padding-left: 0; }
.select2-container .select2-selection--single .select2-selection__arrow { height: calc(var(--btn-h) - 3px); }
label, .woocommerce form .form-row label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.required, .woocommerce form .form-row .required, .woocommerce-page .required { color: var(--sale) !important; text-decoration: none; }

/* ---------- 5. Header (dark, sticky; transparent over the home hero) ---------- */
#header [data-row*="middle"] {
	background: var(--night); --theme-border-color: transparent; --height: 64px;
	border-bottom: 1px solid rgba(200, 155, 74, .25); box-shadow: none; transition: background-color .3s, border-color .3s;
}
@media (min-width: 1000px) { #header [data-row*="middle"] { --height: 76px; } }
#header .site-title, #header .site-description { display: none; }
#header .site-logo-container img { max-height: 40px; width: auto; filter: brightness(0) invert(1); }
@media (min-width: 1000px) { #header .site-logo-container img { max-height: 48px; } }
#header .menu > li > a {
	font-family: var(--f-body); text-transform: none; font-size: .98rem; font-weight: 500; letter-spacing: .02em;
	--theme-link-initial-color: rgba(244, 239, 228, .82); --theme-link-hover-color: #fff; --theme-link-active-color: #fff; color: rgba(244, 239, 228, .82);
}
#header .menu > li.current-menu-item > a, #header .menu > li > a:hover { color: #fff; }
#header .menu > li.current-menu-item > a { box-shadow: inset 0 -2px 0 var(--ochre); }
#header .ct-header-account, #header .ct-header-cart > a, #header .ct-cart-item, #header .ct-cart-total, #header .ct-header-trigger { color: var(--cream); --theme-icon-color: var(--cream); --theme-link-initial-color: var(--cream); }
#header .ct-header-cart svg, #header .ct-header-account svg, #header .ct-header-trigger svg { fill: var(--cream); }
#header .ct-header-trigger .ct-icon rect { fill: var(--cream); }
#header .ct-cart-item .ct-dynamic-count-cart { background: var(--ochre); color: var(--ink); }
#header .menu .sub-menu { border-radius: var(--r); background: var(--night-2); }
/* account drop-down (logged in): light text on the dark panel */
#header .ct-header-account-dropdown { background: var(--night-2); border-radius: var(--r); color: var(--cream); --theme-text-color: var(--cream); --theme-link-initial-color: var(--cream); --theme-link-hover-color: var(--ochre); --theme-link-active-color: var(--ochre); }
#header .ct-header-account-dropdown a { color: var(--cream); }
#header .ct-header-account-dropdown a:hover, #header .ct-header-account-dropdown [class*=current-menu-] > a { color: var(--ochre); }
/* mini cart: a light card, so links, prices and buttons look as they do in the shop */
#header .ct-cart-content { width: 340px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-hover); color: var(--text); --mini-cart-background-color: var(--card); --mini-cart-divider-color: var(--line); --theme-text-color: var(--text); --theme-link-initial-color: var(--ink); --theme-link-hover-color: var(--forest-2); }
#header .ct-cart-content .total, #header .ct-cart-content .woocommerce-mini-cart__total { --theme-text-color: var(--ink); color: var(--ink); }
#header .ct-cart-content a:not(.button) { color: var(--ink); }
#header .ct-cart-content a:not(.button):hover { color: var(--forest-2); }
#header .ct-cart-content .remove svg { fill: var(--muted); }
#header .ct-cart-content .remove:hover svg { fill: var(--sale); }
#header .ct-cart-content .woocommerce-mini-cart__buttons { grid-column-gap: 10px; }
#header .ct-cart-content .woocommerce-mini-cart__buttons .button { padding: 0 .4rem; font-size: .95rem; background: var(--forest); border-color: var(--forest); color: #fff; }
#header .ct-cart-content .woocommerce-mini-cart__buttons .button:not(.checkout) { background: transparent; color: var(--forest); }
#header .ct-cart-content .woocommerce-mini-cart__buttons .button:hover { background: var(--forest-2); border-color: var(--forest-2); color: #fff; }

body:not(.home) #header { position: sticky; top: 0; z-index: 60; }
body.home #header { position: absolute; top: 0; left: 0; right: 0; z-index: 60; }
body.home.svar-scrolled #header { position: fixed; }
body.home:not(.svar-scrolled) #header [data-row*="middle"] { background: linear-gradient(180deg, rgba(10, 14, 11, .7), rgba(10, 14, 11, 0)); border-bottom-color: transparent; }
body.admin-bar #header { top: var(--admin-bar, 0px); }

/* phone menu panel */
#offcanvas .ct-panel-inner { background: var(--night); }
#offcanvas .mobile-menu a, #offcanvas .ct-menu-link { font-family: var(--f-head); font-size: 1.7rem; font-weight: 400; color: var(--cream); --theme-link-initial-color: var(--cream); padding-block: .45rem; }
#offcanvas .current-menu-item > a, #offcanvas .current-menu-item > .ct-sub-menu-parent > a { color: var(--ochre); }
#offcanvas .ct-toggle-close { --theme-icon-color: var(--cream); }
.svar-offcanvas-extra { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(244, 239, 228, .15); display: grid; gap: .75rem; font-family: var(--f-body); }
.svar-offcanvas-extra a, #offcanvas .svar-offcanvas-extra a { font-family: var(--f-body); font-size: 1rem; font-weight: 600; padding: 0; color: rgba(244, 239, 228, .82); text-decoration: none; font-size: 1rem; display: flex; align-items: center; gap: .6rem; }
.svar-offcanvas-extra a:hover { color: #fff; }
.svar-offcanvas-extra svg { width: 20px; height: 20px; fill: none; stroke: var(--ochre); stroke-width: 1.8; }

/* ---------- 6. Page headers / breadcrumbs ---------- */
body.home .hero-section, body.home .page-title { display: none; }
body.home .site-main > article, body.home [data-vertical-spacing] { padding-top: 0; margin-top: 0; }
body.home .entry-content > * + * { margin-block-start: 0; }
body.home #main-container, body.home .site-main { padding-top: 0; margin-top: 0; }

.hero-section, .hero-section[data-type] { min-height: 0; padding: 0; text-align: left; background: transparent !important; --min-height: 0px; }
.hero-section[data-type] .entry-header { max-width: var(--theme-normal-container-max-width) !important; width: var(--theme-container-width, 100%) !important; margin-inline: auto !important; padding-block: 1.75rem 0 !important; text-align: left !important; justify-content: flex-start !important; align-items: flex-start !important; }
.hero-section[data-type] .page-title { margin: 0; text-align: left !important; }
.hero-section .page-description { color: var(--muted); max-width: 65ch; margin-top: .5rem; }
[data-vertical-spacing] { --theme-content-vertical-spacing: 1.75rem; }
@media (min-width: 1000px) { [data-vertical-spacing] { --theme-content-vertical-spacing: 2.5rem; } }

.ct-breadcrumbs, .woocommerce-breadcrumb { font-size: .85rem; color: var(--muted); text-transform: none; margin-bottom: 1rem; }
.ct-breadcrumbs a { color: var(--muted); }
.ct-breadcrumbs a:hover { color: var(--forest); }

/* ---------- 7. Product grid + cards ---------- */
[data-products] { --grid-columns-gap: var(--gap); }
ul.products { align-items: stretch; gap: var(--gap) !important; row-gap: calc(var(--gap) * 1.25) !important; margin: 0; padding: 0; }
@media (max-width: 689px) { ul.products, .svar-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; --shop-columns: repeat(2, minmax(0, 1fr)) !important; } }

ul.products li.product {
	position: relative; display: flex; flex-direction: column; text-align: left; margin: 0;
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
	box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s;
}
ul.products li.product:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
ul.products li.product figure { margin: 0 !important; overflow: hidden; }
ul.products li.product .ct-media-container { border-radius: 0 !important; display: block; aspect-ratio: 1 / 1; background: #ebe4d5; }
ul.products li.product img { width: 100%; height: 100%; aspect-ratio: 1 / 1 !important; object-fit: cover; transition: transform .6s ease; }
ul.products li.product:hover img { transform: scale(1.05); }

ul.products li.product .woocommerce-loop-product__title {
	font-size: 1.12rem; line-height: 1.2; margin: 0; padding: .8rem .8rem 0;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: calc(2 * 1.2em + .8rem);
}
ul.products li.product .woocommerce-loop-product__title a { color: var(--ink); text-decoration: none; }
ul.products li.product .price {
	display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .45rem;
	padding: .4rem .8rem 0; margin: 0 0 auto; font-size: 1.08rem; font-weight: 700; color: var(--forest);
}
ul.products li.product .price del { order: 2; color: var(--muted); font-weight: 400; font-size: .85rem; opacity: 1; }
ul.products li.product .price ins { text-decoration: none; color: var(--sale); }
ul.products li.product .ct-woo-card-actions, ul.products li.product > .button { margin: .8rem; margin-top: .75rem; }
ul.products li.product .ct-woo-card-actions { display: block; }
ul.products li.product .button {
	display: flex; width: 100%; min-height: 42px; padding: 0 .35rem; font-size: .88rem; white-space: nowrap;
	background: transparent; color: var(--forest); border: 1.5px solid var(--forest);
}
ul.products li.product .button:hover, ul.products li.product .button.loading { background: var(--forest); color: #fff; box-shadow: none; transform: none; }
ul.products li.product .added_to_cart { display: none !important; }
ul.products li.product .button.added::after { content: " ✓"; }
@media (min-width: 690px) {
	ul.products li.product .woocommerce-loop-product__title { font-size: 1.25rem; padding: 1rem 1rem 0; min-height: calc(2 * 1.2em + 1rem); }
	ul.products li.product .price { padding: .45rem 1rem 0; font-size: 1.15rem; }
	ul.products li.product .ct-woo-card-actions, ul.products li.product > .button { margin: 1rem; }
	ul.products li.product .button { min-height: 44px; font-size: .95rem; }
}
@media (max-width: 389px) { ul.products li.product .button { font-size: .82rem; } }

/* badges */
.onsale, span.onsale, .ct-woo-badge-sale, .out-of-stock-badge, .ct-woo-badge-out-of-stock {
	position: absolute; top: .6rem !important; left: .6rem !important; right: auto !important; z-index: 2;
	min-height: 0; min-width: 0; margin: 0; padding: .3rem .6rem; border-radius: 4px;
	font-family: var(--f-body); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2;
}
.onsale, span.onsale, .ct-woo-badge-sale { background: var(--ochre); color: var(--ink); }
.out-of-stock-badge, .ct-woo-badge-out-of-stock { background: var(--ink); color: var(--cream); }

/* listing toolbar: category select + sort on one row on phones */
.woo-listing-top { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.woo-listing-top .woocommerce-result-count { margin: 0; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.woo-listing-top .woocommerce-ordering { margin: 0 0 0 auto; }
.woocommerce-ordering select, .svar-cat-select select {
	min-height: 44px; padding: 0 2.4rem 0 .9rem !important; font-family: var(--f-body); font-size: .98rem; font-weight: 500; color: var(--ink);
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none' stroke='%231f3d2b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 6 8 2.5 11.5 6M4.5 10 8 13.5 11.5 10'/%3E%3C/svg%3E") no-repeat right .8rem center / 15px 15px !important;
	-webkit-appearance: none; appearance: none; border: 1.5px solid #d6ccb6; border-radius: var(--r); cursor: pointer;
}
.svar-cat-select { display: none; margin: 0; flex: 1; }
.svar-cat-select select { width: 100%; }
@media (max-width: 999px) {
	.svar-cat-select { display: block; }
	.woo-listing-top .woocommerce-result-count { display: none; }
}
.svar-toolbar { display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; }
.svar-toolbar .woocommerce-ordering { margin: 0; }

/* pagination */
.ct-pagination { margin-top: 2.5rem; }
.ct-pagination .page-numbers { min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--r); font-weight: 700; }
.ct-pagination .page-numbers.current { background: var(--forest); color: #fff; }

/* ---------- 8. Shop sidebar ---------- */
#sidebar .widget, #sidebar .ct-sidebar > * { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; margin-bottom: 1.25rem; box-shadow: none; }
#sidebar .widget-title, #sidebar .ct-widget-title { font-size: 1.35rem; margin-bottom: .6rem; }
.widget_product_categories ul { list-style: none; margin: 0; padding: 0; }
.widget_product_categories li { position: relative; padding: 0; margin: 0; }
.widget_product_categories > ul > li + li { border-top: 1px solid var(--line); }
.widget_product_categories li > a { display: block; padding: .55rem 2.2rem .55rem 0; color: var(--ink); text-decoration: none; font-size: 1.02rem; font-weight: 500; line-height: 1.3; }
.widget_product_categories li > a:hover { color: var(--forest); }
.widget_product_categories li.current-cat > a { color: var(--forest); font-weight: 700; }
.widget_product_categories li .count { color: var(--muted); font-size: .82rem; margin-left: .3rem; font-variant-numeric: lining-nums; }
.widget_product_categories ul.children { margin: -.15rem 0 .6rem .15rem; padding-left: .9rem; border-left: 1px solid #d9cfba; }
.widget_product_categories li.svar-closed > ul.children { display: none; }
.widget_product_categories ul.children li > a { padding-block: .28rem; font-size: .97rem; font-weight: 400; color: var(--text); }
.widget_product_categories ul.children li.current-cat > a { color: var(--forest); font-weight: 700; }
.svar-cat-toggle { position: absolute; right: -.35rem; top: .35rem; width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; border-radius: 50%; min-height: 0; padding: 0; }
.widget_product_categories ul.children .svar-cat-toggle { top: .05rem; }
.svar-cat-toggle::before { content: ""; display: block; width: 6px; height: 6px; margin: 0 auto; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
li:not(.svar-closed) > .svar-cat-toggle::before { transform: rotate(-135deg) translate(-2px, -2px); }
.svar-cat-toggle:hover { background: var(--cream); transform: none; box-shadow: none; }
.svar-cat-toggle:hover::before { border-color: var(--forest); }
@media (max-width: 999px) { body.woocommerce #sidebar { display: none; } }

/* ---------- 9. Single product ---------- */
.single-product [data-vertical-spacing] { --theme-content-vertical-spacing: 1rem; }
@media (min-width: 1000px) { .single-product [data-vertical-spacing] { --theme-content-vertical-spacing: 2rem; } }
.single-product .product-entry-wrapper { gap: 1.5rem; }
@media (min-width: 1000px) {
	.single-product .product-entry-wrapper { gap: 3.5rem; }
	.single-product .woocommerce-product-gallery { position: sticky; top: 100px; align-self: start; }
	.single-product .entry-summary { position: static !important; }
}
@media (max-width: 689px) {
	/* gallery edge to edge on phones */
	.single-product .woocommerce-product-gallery { margin-inline: calc(-1 * var(--gutter)); }
	.single-product .woocommerce-product-gallery .ct-media-container, .single-product .flexy-view { border-radius: 0 !important; }
	.single-product .flexy-pills, .single-product .flex-control-thumbs { padding-inline: var(--gutter); }
	/* thumbnails: one row that scrolls sideways, instead of several rows under the photo */
	.single-product .flexy-pills ol { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; }
	.single-product .flexy-pills ol::-webkit-scrollbar { display: none; }
	.single-product .flexy-pills li { flex: 0 0 68px !important; width: 68px !important; max-width: none !important; margin: 0 !important; scroll-snap-align: start; }
}
.single-product .flexy-view, .single-product .woocommerce-product-gallery .ct-media-container { border-radius: var(--r-lg); overflow: hidden; }
.single-product .flexy-pills img, .single-product .flex-control-thumbs img { border-radius: var(--r); border: 1px solid var(--line); }
.single-product .flexy-pills .active img { border-color: var(--forest); }
.single-product .flexy-arrow-prev, .single-product .flexy-arrow-next { width: 40px; height: 40px; background: rgba(255, 250, 240, .9); }

.single-product .product_title { margin-bottom: .35rem; }
.single-product .entry-summary .price { font-size: 1.75rem; font-weight: 700; color: var(--forest); font-family: var(--f-body); margin-bottom: .5rem; display: flex; gap: .6rem; align-items: baseline; }
.single-product .entry-summary .price del, .svar-sticky-atc__price del, .ct-floating-bar .price del { opacity: 1; }
.single-product .entry-summary .price del { font-size: 1.1rem; color: var(--muted); font-weight: 400; order: 2; }
.single-product .entry-summary .price ins { text-decoration: none; color: var(--sale); }
.single-product .stock { font-size: .92rem; font-weight: 700; display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 1rem; }
.single-product .stock.in-stock { color: var(--forest); }
.single-product .stock.in-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #3f8f5a; }
.single-product .stock.out-of-stock { color: var(--sale); }

/* quantity + add to cart: one row, equal height */
.single-product form.cart .ct-cart-actions { display: flex; gap: .6rem; align-items: stretch; flex-wrap: nowrap; }
.single-product form.cart .quantity { --quantity-height: 54px; height: 54px; width: 116px; flex: none; margin: 0 !important; border-radius: var(--r); }
.single-product form.cart .quantity input { min-height: 0 !important; height: 100% !important; border: 1.5px solid #d6ccb6 !important; font-weight: 700; font-size: 1.05rem; }
.single-product form.cart .single_add_to_cart_button { flex: 1; min-height: 54px; height: 54px; font-size: 1.05rem; margin: 0 !important; }
.single-product form.cart .variations select { min-height: 48px; }

.svar-trust { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); font-size: .95rem; overflow: hidden; }
.svar-trust li { display: flex; align-items: center; gap: .75rem; margin: 0; padding: .7rem 1rem; }
.svar-trust li + li { border-top: 1px solid var(--line); }
.svar-trust svg { width: 22px; height: 22px; fill: none; stroke: var(--forest); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.svar-trust a { color: var(--text); text-decoration: none; font-weight: 600; flex: 1; }
.svar-trust a::after { content: "›"; float: right; color: var(--muted); font-size: 1.2rem; line-height: 1; }
.svar-trust a:hover { color: var(--forest); }

.single-product .entry-summary .ct-product-divider, .single-product .entry-summary hr { border-color: var(--line); margin-block: 1.5rem; }
.single-product .woocommerce-product-details__short-description { font-size: 1.02rem; line-height: 1.75; }

.single-product .product_meta { font-size: .85rem; color: var(--muted); display: grid; gap: .5rem; }
.single-product .product_meta > span { text-transform: none !important; font-weight: 700; letter-spacing: 0; }
.single-product .product_meta a { text-transform: none !important; font-weight: 600; letter-spacing: 0; color: var(--forest); }
.single-product .product_meta .tagged_as { font-weight: 700; line-height: 2; }
.single-product .product_meta .sku, .single-product .product_meta > span > *, .single-product .product_meta a { opacity: 1 !important; }
.single-product .product_meta .tagged_as a { display: inline-block; font-weight: 500; font-size: .78rem; color: var(--text); background: #ece5d6; border-radius: 999px; padding: .05rem .6rem; text-decoration: none; line-height: 1.7; }
.single-product .product_meta .tagged_as a:hover { background: var(--line); color: var(--ink); }

/* tabs */
.woocommerce-tabs { margin-top: var(--section); }
.woocommerce-tabs ul.tabs, .woocommerce-tabs[data-type] ul.tabs { display: flex !important; flex-direction: row !important; flex-wrap: nowrap !important; gap: 1.75rem; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; justify-content: flex-start !important; padding: 0; margin-bottom: 1.5rem; }
.woocommerce-tabs ul.tabs::before, .woocommerce-tabs ul.tabs::after, .woocommerce-tabs ul.tabs li::before, .woocommerce-tabs ul.tabs li::after { display: none !important; }
.woocommerce-tabs ul.tabs li { flex: none !important; width: auto !important; margin: 0 !important; border: 0 !important; background: none !important; }
.woocommerce-tabs ul.tabs li a { display: block; padding: .75rem 0; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-family: var(--f-body); font-size: .95rem; font-weight: 700; text-transform: none; letter-spacing: 0; color: var(--muted); white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { color: var(--ink); border-bottom-color: var(--ochre); }
.woocommerce-tabs .woocommerce-Tabs-panel h2:first-child { display: none; }
.woocommerce-tabs table.shop_attributes th, .woocommerce-tabs table.shop_attributes td { padding: .6rem .75rem; border-color: var(--line); font-style: normal; }

.related, .up-sells, .upsells { margin-top: var(--section); }
.related > h2, .upsells > h2, .related .ct-module-title, .up-sells .ct-module-title { text-align: left; font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 1.25rem; }

/* sticky add-to-cart bar (phones) */
.svar-sticky-atc { display: none; }
@media (max-width: 689px) {
	.svar-sticky-atc {
		display: flex; position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; align-items: center; justify-content: space-between; gap: 1rem;
		padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .12); transform: translateY(110%); transition: transform .25s;
	}
	.svar-sticky-atc.is-visible { transform: none; }
	.svar-sticky-atc__price { font-weight: 700; font-size: 1.2rem; color: var(--forest); }
	.svar-sticky-atc__price del { font-size: .85rem; color: var(--muted); font-weight: 400; }
	.svar-sticky-atc__price ins { text-decoration: none; }
	.svar-sticky-atc .button { min-height: 46px; padding: 0 1.5rem; }
}

/* ---------- 10. Cart ---------- */
.woocommerce-cart table.cart, .woocommerce-cart .cart_totals {
	background: var(--card); border: 1px solid var(--line) !important; border-radius: var(--r-lg) !important; box-shadow: var(--shadow); overflow: hidden;
}
@media (min-width: 1000px) { .ct-woocommerce-cart-form { gap: 2rem; } .woocommerce-cart .cart_totals { position: sticky; top: 100px; } }
.woocommerce-cart table.cart th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; padding: 1rem; border-bottom: 1px solid var(--line); }
.woocommerce-cart table.cart td { padding: 1rem; border-top: 1px solid var(--line); vertical-align: middle; }
.woocommerce-cart table.cart .product-name a { font-family: var(--f-head); font-size: 1.25rem; line-height: 1.2; display: inline-block; font-weight: 400; color: var(--ink); text-decoration: none; }
.woocommerce-cart table.cart .product-thumbnail img { width: 84px; border-radius: var(--r); aspect-ratio: 1; object-fit: cover; }
.woocommerce-cart table.cart .product-remove a, .woocommerce-cart table.cart .remove { color: var(--muted) !important; }
.woocommerce-cart table.cart .product-subtotal { font-weight: 700; color: var(--ink); }
.woocommerce-cart .actions { padding: 1rem !important; background: #faf5ea; }
.woocommerce-cart .actions .coupon { display: flex; gap: .5rem; align-items: stretch; flex-wrap: nowrap; margin-bottom: .75rem; }
.woocommerce-cart .actions .coupon .input-text { flex: 1; min-width: 0; width: auto !important; margin: 0 !important; }
.woocommerce-cart .actions .coupon .button {
	background: transparent; color: var(--forest); border: 2px solid var(--forest); flex: none; width: auto; margin: 0 !important;
}
.woocommerce-cart .actions .coupon .button:hover { background: var(--forest); color: #fff; }
.woocommerce-cart .actions button[name="update_cart"] { border-color: transparent; background: transparent; color: var(--muted); padding: 0 .5rem; min-height: 40px; float: right; }
.woocommerce-cart .actions button[name="update_cart"]:not(:disabled) { color: var(--forest); text-decoration: underline; box-shadow: none; transform: none; }
@media (max-width: 689px) {
	.woocommerce-cart table.cart thead { display: none; }
	.woocommerce-cart table.cart td { border-top: 0; }
	.woocommerce-cart table.cart tr.cart_item { border-bottom: 1px solid var(--line); }
	.woocommerce-cart .actions button[name="update_cart"] { float: none; width: 100%; }
}
.cart_totals { padding: 1.25rem !important; }
.cart_totals > h2 { font-size: 1.6rem; margin: 0 0 .75rem; }
.cart_totals table th, .cart_totals table td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: .75rem 0 !important; border-color: var(--line) !important; border-style: solid !important; font-size: .98rem; }
.cart_totals table .order-total th, .cart_totals table .order-total td, .woocommerce-checkout-review-order-table .order-total th, .woocommerce-checkout-review-order-table .order-total td { font-size: 1.15rem; font-weight: 700; color: var(--ink); }
.cart_totals .wc-proceed-to-checkout { padding: 1rem 0 0; }
.cart_totals .checkout-button { width: 100%; min-height: 54px; font-size: 1.05rem; margin: 0 !important; }
.cart-empty.woocommerce-info { text-align: center; }
.return-to-shop .button { margin-inline: auto; }

/* ---------- 11. Checkout ---------- */
.woocommerce-checkout form.checkout { display: grid; gap: 1.5rem; }
@media (min-width: 1000px) {
	.woocommerce-checkout form.checkout { grid-template-columns: minmax(0, 1fr) 440px; align-items: start; column-gap: 2rem; }
	.woocommerce-checkout .ct-order-review { position: sticky; top: 100px; }
}
.woocommerce-checkout #customer_details, .woocommerce-checkout .ct-order-review {
	background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.25rem; box-shadow: var(--shadow); width: auto !important; margin: 0 !important;
}
@media (min-width: 690px) { .woocommerce-checkout #customer_details, .woocommerce-checkout .ct-order-review { padding: 1.75rem; } }
.woocommerce-checkout h3, .woocommerce-checkout #order_review_heading { font-size: 1.6rem; margin: 0 0 1rem; }
.woocommerce-checkout .form-row { margin-bottom: .9rem !important; }
.woocommerce-checkout .woocommerce-shipping-fields h3, .woocommerce-checkout #ship-to-different-address { font-family: var(--f-body); font-size: 1rem; font-weight: 700; }
.woocommerce-checkout .woocommerce-form__label-for-checkbox { display: flex !important; align-items: center; gap: .6rem; font-weight: 600; }
.woocommerce-checkout .woocommerce-additional-fields { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.woocommerce-checkout-review-order-table thead th { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.woocommerce-checkout-review-order-table .cart_item td { font-size: .95rem; }

/* payment methods: one compact list */
.woocommerce-checkout #payment { background: transparent !important; border-radius: 0; margin: 1.25rem 0 0 !important; padding: 0 !important; }
.woocommerce-checkout #payment .place-order { padding: 0 !important; margin: 0 !important; }
.woocommerce-checkout #payment ul.payment_methods { padding: 0 !important; margin: 0 0 1.25rem; border: 1.5px solid var(--line) !important; border-radius: var(--r-lg); overflow: hidden; background: #fff; display: block; }
.woocommerce-checkout #payment ul.payment_methods > li {
	display: grid !important; grid-template-columns: 22px 1fr; column-gap: .75rem; align-items: start;
	margin: 0 !important; padding: .9rem 1rem !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: #fff;
}
.woocommerce-checkout #payment ul.payment_methods > li + li { border-top: 1px solid var(--line) !important; }
.woocommerce-checkout #payment ul.payment_methods > li:has(> input:checked) { background: #f7f2e6; box-shadow: inset 3px 0 0 var(--forest) !important; }
.woocommerce-checkout #payment ul.payment_methods > li > input[type="radio"] { margin: .05rem 0 0 !important; width: 20px; height: 20px; accent-color: var(--forest); position: static !important; opacity: 1 !important; }
.woocommerce-checkout #payment ul.payment_methods > li > label { margin: 0 !important; padding: 0 !important; font-weight: 700; font-size: .97rem; line-height: 1.35; display: flex !important; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods > li > label::before { display: none !important; }
.woocommerce-checkout #payment ul.payment_methods > li > label img { max-height: 22px; width: auto; margin: 0 0 0 auto !important; }
.woocommerce-checkout #payment .payment_box { grid-column: 2 / -1; margin: .6rem 0 0 !important; padding: .1rem 0 .1rem .9rem !important; background: transparent !important; border: 0 !important; border-left: 2px solid var(--ochre) !important; border-radius: 0; font-size: .9rem; color: var(--text); }
.woocommerce-checkout #payment .payment_box::before { display: none !important; }
.woocommerce-checkout #payment .payment_box p { margin: 0; }
.woocommerce-checkout #payment li.payment_method_bacs > label::after {
	content: "QR"; font-size: .68rem; font-weight: 700; letter-spacing: .08em; color: var(--ink); background: var(--ochre); padding: .15rem .45rem; border-radius: 3px;
}
.woocommerce-checkout .woocommerce-privacy-policy-text { font-size: .85rem; color: var(--muted); }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper .form-row { margin-top: .75rem !important; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox { display: flex !important; align-items: flex-start; gap: .6rem; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox input { margin-top: .2rem; flex: none; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper label.checkbox > .required { display: none; }
.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text::after { content: " *"; color: var(--sale); }
.woocommerce-checkout input[type="radio"], .woocommerce-checkout input[type="checkbox"] { accent-color: var(--forest); }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 1.1rem; margin-top: .5rem; }

/* ---------- 12. Notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper .woocommerce-message, .wc-block-components-notice-banner {
	background: var(--card) !important; color: var(--text) !important; border: 1px solid var(--line) !important; border-left: 4px solid var(--forest) !important;
	border-radius: var(--r) !important; box-shadow: none !important; outline: 0 !important; padding: .9rem 1rem !important; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem;
}
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none !important; }
.woocommerce-error { border-left-color: var(--sale) !important; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin-left: auto; min-height: 38px; padding: 0 1rem; font-size: .9rem; background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
.woocommerce-cart .woocommerce-message .button { display: none; }
.woocommerce-checkout .woocommerce-notices-wrapper:empty, .woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info { margin-bottom: 0; }

/* ---------- 13. UPN QR (thank-you, My Account) ---------- */
.svar-upn { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--ochre); border-radius: var(--r-lg); padding: 1.25rem; margin: 1.5rem 0 2rem; box-shadow: var(--shadow); }
.svar-upn h2 { font-size: 1.6rem; margin-top: 0; }
.svar-upn__img { display: block; max-width: 100%; width: 560px; height: auto; margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.woocommerce-order-overview { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .75rem; padding: 0 !important; margin: 0 0 1.5rem !important; }
.woocommerce-order-overview li { margin: 0 !important; padding: .8rem 1rem !important; border: 1px solid var(--line) !important; border-radius: var(--r); background: var(--card); font-size: .8rem !important; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.woocommerce-order-overview li strong { display: block; margin-top: .2rem; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--ink); }

/* ---------- 14. My Account ---------- */
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 1.5rem; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li { margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: .8rem 1rem; color: var(--text); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover, .woocommerce-account .woocommerce-MyAccount-navigation li:hover a { background: var(--cream); color: var(--forest); }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a, .woocommerce-account .woocommerce-MyAccount-navigation li.is-active a:hover { background: var(--forest); color: #fff; }
.woocommerce-account .woocommerce-form-login, .woocommerce-account .woocommerce-form-register { background: var(--card); border: 1px solid var(--line) !important; border-radius: var(--r-lg) !important; padding: 1.5rem !important; box-shadow: var(--shadow); margin: 0 !important; }
.woocommerce-account .woocommerce-form-login .button, .woocommerce-account .woocommerce-form-register .button { width: 100%; margin-top: .5rem; }
.woocommerce-account table.shop_table { background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }

/* ---------- 15. Blog / pages ---------- */
.entries .entry-card, article.entry-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.entries .entry-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.entry-card .entry-title { font-size: 1.5rem; }
.entry-card .entry-meta { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.single-post .entry-content, .page .entry-content { font-size: 1.05rem; line-height: 1.8; }
.single-post .entry-content > p:first-of-type { font-size: 1.15rem; }
.entry-content img { border-radius: var(--r-lg); }
.entry-content blockquote { border-left: 3px solid var(--ochre); font-family: var(--f-body); font-size: 1.3rem; font-style: italic; line-height: 1.5; color: var(--ink); }

/* ---------- 16. Footer (dark) ---------- */
.svar-footer { background: var(--night); color: rgba(244, 239, 228, .72); margin-top: var(--section); font-size: .95rem; border-top: 1px solid rgba(200, 155, 74, .25); }
.svar-footer__inner { max-width: 1240px; margin: 0 auto; padding: 3rem var(--gutter) 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
.svar-footer__about { grid-column: 1 / -1; }
.svar-footer__contact-col { grid-column: 1 / -1; }
@media (min-width: 690px) { .svar-footer__inner { grid-template-columns: repeat(3, 1fr); } .svar-footer__contact-col { grid-column: auto; } }
@media (min-width: 1000px) { .svar-footer__inner { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; padding-top: 4rem; } .svar-footer__about { grid-column: auto; } }
.svar-footer h4 { color: var(--cream); font-size: 1.3rem; margin: 0 0 .9rem; }
.svar-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.svar-footer a { color: rgba(244, 239, 228, .72); text-decoration: none; }
.svar-footer a:hover { color: var(--ochre); }
.svar-footer__logo { max-height: 42px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.svar-footer__about p { max-width: 40ch; margin: 0; }
.svar-footer__bottom { max-width: 1240px; margin: 0 auto; padding: 1.25rem var(--gutter) calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid rgba(244, 239, 228, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .82rem; color: rgba(244, 239, 228, .5); }
.svar-footer__bottom a { color: rgba(244, 239, 228, .5); }
#footer, footer.ct-footer { display: none !important; }

/* ---------- 17. Misc ---------- */
#trp-floater-ls, .trp-language-switcher-container.trp-floater-ls-names { display: none !important; }
.wpforms-container .wpforms-field { padding: 0 0 .9rem !important; }
.wpforms-container input[type="text"], .wpforms-container input[type="email"], .wpforms-container textarea { max-width: 100% !important; width: 100% !important; }
.wpforms-submit { width: 100%; }
.wpforms-container .wpforms-required-label { color: var(--sale) !important; }
.svar-dark .wpforms-required-label, .svar-dark .wpforms-container .wpforms-required-label { color: #e9b8a8 !important; }
.wpcf7-not-valid-tip { color: var(--sale) !important; }
.cmplz-always-active { color: var(--forest) !important; }
/* long consent sentences above checkboxes read as body text, not as a bold label */
.wpforms-field-checkbox > .wpforms-field-label { font-weight: 400 !important; font-size: .9rem !important; line-height: 1.5 !important; }
@media (min-width: 690px) { .wpforms-submit { width: auto; } }

/* ---------- 18. Cookie consent (Complianz) in site colours ---------- */
html body .cmplz-cookiebanner.cmplz-cookiebanner {
	--cmplz_banner_background_color: var(--card);
	--cmplz_banner_border_color: var(--line);
	--cmplz_banner_border_width: 1px;
	--cmplz_banner_border_radius: 10px;
	--cmplz_text_color: var(--text);
	--cmplz_hyperlink_color: var(--forest);
	--cmplz_button_border_radius: 6px;
	--cmplz_button_font_size: 15px;
	--cmplz_button_accept_background_color: var(--forest);
	--cmplz_button_accept_border_color: var(--forest);
	--cmplz_button_accept_text_color: #fff;
	--cmplz_button_deny_background_color: transparent;
	--cmplz_button_deny_border_color: var(--forest);
	--cmplz_button_deny_text_color: var(--forest);
	--cmplz_button_settings_background_color: transparent;
	--cmplz_button_settings_border_color: var(--line);
	--cmplz_button_settings_text_color: var(--ink);
	--cmplz_slider_active_color: var(--forest);
	--cmplz_category_header_always_active_color: var(--forest);
	font-family: var(--f-body) !important;
	box-shadow: 0 18px 50px rgba(20, 26, 22, .25) !important;
}
.cmplz-cookiebanner .cmplz-title { font-family: var(--f-head) !important; font-size: 1.35rem !important; font-weight: 400 !important; color: var(--ink) !important; }
.cmplz-cookiebanner .cmplz-btn { min-height: 44px !important; font-weight: 700 !important; font-family: var(--f-body) !important; }
.cmplz-cookiebanner .cmplz-logo { display: none !important; }
.cmplz-cookiebanner .cmplz-links ul, .cmplz-cookiebanner ul.cmplz-links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.cmplz-cookiebanner .cmplz-links li:empty, .cmplz-cookiebanner .cmplz-documents:empty { display: none !important; }
@media (max-width: 689px) {
	html body .cmplz-cookiebanner.cmplz-cookiebanner { left: 8px !important; right: 8px !important; bottom: 8px !important; top: auto !important; width: auto !important; max-width: none !important; margin: 0 !important; transform: none !important; max-height: 75vh; }
	.cmplz-cookiebanner .cmplz-message { font-size: 13px !important; line-height: 1.5 !important; }
}

/* ---------- Type: Marcellus (titles) + Alegreya Sans (text) ---------- */
ul.products li.product .woocommerce-loop-product__title { font-family: var(--f-body); font-weight: 500; font-size: 1.06rem; letter-spacing: 0; line-height: 1.25; }
.price, .amount, .svar-sticky-atc__price, .woocommerce-cart table.cart .product-subtotal { font-variant-numeric: lining-nums tabular-nums; }
.widget-title, .ct-widget-title { font-size: 1.3rem; }

/* ---------- Newsletter band (home: last section; other pages: above the footer) ---------- */
.svar-news { margin-bottom: calc(-1 * var(--section)) !important; border-bottom: 1px solid rgba(244, 239, 228, .08); }
.svar-news__grid { display: grid; gap: 1.5rem; align-items: center; }
.svar-news p { color: rgba(244, 239, 228, .78); }
@media (min-width: 1000px) { .svar-news__grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.svar-news .wpforms-container { margin: 0 !important; }
.svar-news .wpforms-field-label, .svar-news label, .svar-news .wpforms-field-label-inline { color: var(--cream) !important; }
.svar-news .wpforms-field-description, .svar-news .wpforms-field-sublabel { color: rgba(244, 239, 228, .6) !important; font-size: .8rem !important; }
.svar-news input[type="text"], .svar-news input[type="email"] { background: rgba(255, 255, 255, .06) !important; border-color: rgba(244, 239, 228, .25) !important; color: var(--cream) !important; }
.svar-news .wpforms-submit { background: var(--ochre) !important; border-color: var(--ochre) !important; color: var(--ink) !important; }
body.home .svar-footer { margin-top: var(--section); border-top-color: transparent; }
.svar-news .svar-title { margin: 0 0 .75rem; color: var(--cream); font-size: clamp(2rem, 6vw, 3rem); line-height: 1.1; }
.svar-news--global { background: var(--night); color: rgba(244, 239, 228, .82); margin: var(--section) 0 0 !important; padding-block: var(--section); }
.svar-news--global .svar-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--gutter); box-sizing: content-box; }
.svar-news--global + .svar-footer { margin-top: 0; border-top-color: transparent; }
.svar-news .wpforms-submit-container { margin-top: .5rem !important; }
.wpforms-container, .wpforms-container input, .wpforms-container label, .wpforms-container button, .wpforms-container .wpforms-field-label-inline { font-family: var(--f-body) !important; }
.svar-news .wpforms-submit { border-radius: var(--r) !important; min-height: 46px; padding: 0 1.6rem !important; font-weight: 700 !important; font-size: 1rem !important; }
/* phone: Blocksy shows the sort select as an icon-only button with its own arrows svg; one icon is enough */
@media (max-width: 689px) { .woocommerce-ordering select { background-image: none !important; } }
/* light text on a dark ground reads heavier: one step lighter so both hero buttons look the same weight */
.svar-dark .is-style-outline > .wp-block-button__link, .svar-hero .is-style-outline > .wp-block-button__link { font-weight: 400; }

/* preformatted blocks in old content (e.g. author credits): read as normal text, not typewriter */
.entry-content pre.wp-block-preformatted { font-family: var(--f-body); font-size: inherit; line-height: 1.6; white-space: pre-wrap; overflow-wrap: break-word; background: transparent; border: 0; padding: 0; color: var(--text); }
/* Blocksy sets 1.8 for content; Alegreya Sans has a small x-height, so 1.6 reads as evenly spaced */
.entry-content, .entry-content p, .entry-content li { line-height: 1.6; }
