/*
 * Édességker Webshop - how the shop looks: product cards, product page, cart,
 * checkout, account, partner registration.
 *
 * Meant to run inside an existing Astra site (edessegker.hu), so it never
 * restyles the rest of it: rules for generic elements are scoped to shop
 * pages (body.ek-shop, set by storefront.php); the rest only match
 * WooCommerce / WholesaleX markup or this plugin's own .ek-* classes. The
 * stand-alone header, footer, palette and front page are in site.css.
 *
 * Contrast (measured): ink 17:1 / text 10:1 / muted 5.6:1 on white, and at
 * least 5.1:1 for muted on every tint. White on raspberry 4.8:1. Raspberry
 * as small text only on white; on a tint it is --ek-brand-d.
 */

/* Gabarito (SIL Open Font License, assets/fonts/OFL.txt), served from the
   site itself: loading it from Google would hand every visitor's address to
   Google, which EU courts have found unlawful. One variable file per script
   covers weights 400-900. */
@font-face {
	font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap;
	src: url("fonts/gabarito-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Gabarito"; font-style: normal; font-weight: 400 900; font-display: swap;
	src: url("fonts/gabarito-latin.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
	--ek-ink: #3D0703;          /* headings, prices, primary text - the logo's outline brown */
	--ek-text: #5A3A35;         /* body copy */
	--ek-muted: #7D625D;        /* secondary text */
	--ek-brand: #E11150;        /* raspberry: buttons, links on hover */
	--ek-brand-d: #C00E44;
	--ek-surface: #F8F5F2;      /* product photo frames, panels */
	--ek-line: #EEE7E2;
	--ek-line-strong: #E0D5CF;
	--ek-pink: #FFF0F4;
	--ek-butter: #FFF7DE;
	--ek-mint: #EAF6EF;
	--ek-sky: #EAF2FD;
	--ek-r: 12px;
	--ek-r-lg: 16px;
	--ek-wrap: 1320px;          /* content width: Astra's header container (site-content-width) */
	--ek-gutter: 20px;          /* side space, as Astra's header */
	--ek-focus: 0 0 0 3px rgba(225, 17, 80, .25);
	--ek-font: "Gabarito", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ek-upscale: 1.5;           /* a photo is never shown larger than 1.5x its real size */

}

/* =========================================================================
   Base (shop pages only)
   ====================================================================== */

/* Headings weigh one class and one element (body.ek-shop + :where): enough
   to beat the site's own theme typography - Astra prints it as
   `h1, .entry-content :where(h1)`, on edessegker.hu Marcellus at 48-72px -
   and little enough that the component rules below still win (a card title
   is an h2 too). Links and text stay as weak as a bare element. */
:where(.ek-shop #content), :where(.ek-shop #content) :is(button, input, select, textarea, .button) { font-family: var(--ek-font); }
:where(.ek-shop #content) { color: var(--ek-text); }
html body.ek-shop :where(#content) :where(h1, h2, h3, h4, h5, h6, .entry-title),
.product_title, .woocommerce-loop-product__title, .woocommerce-products-header__title {
	font-family: var(--ek-font);
	color: var(--ek-ink);
	font-weight: 700;
	letter-spacing: -.015em;
	text-wrap: balance;
}
html body.ek-shop :where(#content) :where(h1, .entry-title), .woocommerce-products-header__title { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.12; }
/* Astra's typography settings print `.entry-title { font-weight: 600 }`. */
.ek-shop .site-content .entry-title, .site-content .woocommerce-products-header__title { font-weight: 700; }
html body.ek-shop :where(#content) :where(h2) { font-size: clamp(20px, 2vw, 26px); line-height: 1.2; }
html body.ek-shop :where(#content) :where(h3) { font-size: 17px; line-height: 1.3; letter-spacing: -.01em; }
:where(.ek-shop #content) a { color: var(--ek-ink); text-underline-offset: .18em; }
:where(.ek-shop #content) a:hover, :where(.ek-shop #content) a:focus { color: var(--ek-brand-d); }

/* Astra boxes content in white or grey cards; the shop sits on the page itself. */
.ek-shop.ast-separate-container,
.ek-shop.ast-separate-container .ast-article-single,
.ek-shop.ast-separate-container .ast-article-post,
.ek-shop .ast-woocommerce-container,
.ek-shop .site-content { background: transparent; }
.ek-shop.ast-separate-container .ast-article-single { padding: 0; }
.ek-shop .site-content > .ast-container { padding-top: 24px; padding-bottom: 72px; }
/* Astra adds 64px above and below #primary on archive pages, on top of this padding. */
body.ek-shop.ast-plain-container.ast-no-sidebar #primary { margin-top: 0; margin-bottom: 0; }
.ek-shop .entry-content > :last-child { margin-bottom: 0; }
.ek-shop .entry-header { margin-bottom: 20px; }

/* =========================================================================
   Product search field ([ek_search])
   ====================================================================== */

/* [ek_search] - the product search field. */
.ek-search {
	display: flex; align-items: center; gap: 8px;
	width: clamp(200px, 20vw, 300px); height: 40px; padding: 0 14px;
	background: var(--ek-surface); border: 1px solid transparent; border-radius: 9999px;
	color: var(--ek-muted); transition: border-color .15s, background .15s;
}
.ek-search:focus-within { background: #FFFFFF; border-color: var(--ek-ink); }
.ek-search .ek-icon { width: 16px; height: 16px; flex: none; }
.ek-search input[type="search"] {
	flex: 1; min-width: 0; height: 100%; padding: 0; margin: 0;
	border: 0; background: transparent; box-shadow: none; outline: none;
	font-size: 14px; color: var(--ek-ink);
}
.ek-search input::placeholder { color: var(--ek-muted); opacity: 1; }


/* =========================================================================
   Buttons, fields, notices
   ====================================================================== */

:where(.ek-shop #content) :is(.button, a.button, button.button, input.button),
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt,
.woocommerce #place_order, .wc-proceed-to-checkout .checkout-button,
.ek-btn--primary {
	background: var(--ek-brand); color: #FFFFFF; border: 0; border-radius: 9999px;
	padding: 10px 20px; font-family: var(--ek-font); font-size: 14px; font-weight: 600; line-height: 1.2; letter-spacing: .01em;
	text-transform: none; box-shadow: none; transition: background .15s, color .15s, border-color .15s;
}
:where(.ek-shop #content) :is(.button, a.button, button.button, input.button):hover,
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover,
.woocommerce #place_order:hover, .wc-proceed-to-checkout .checkout-button:hover,
.ek-btn--primary:hover { background: var(--ek-brand-d); color: #FFFFFF; }
/* Astra names the basket drawer's buttons (phones) with up to seven classes; its id outweighs them. */
#astra-mobile-cart-drawer .woocommerce-mini-cart__buttons a.button { font-family: var(--ek-font); }
.woocommerce button.button:disabled, .woocommerce button.button:disabled[disabled] { background: var(--ek-line-strong); color: var(--ek-muted); opacity: 1; }

.ek-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 40px; padding: 9px 18px; border-radius: 9999px;
	font-family: var(--ek-font); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
}
.ek-btn--lg { min-height: 46px; padding: 12px 24px; font-size: 15px; }
/* Astra underlines links inside page content; buttons and arrow links are not prose. */
.entry-content a:is(.ek-btn, .ek-link-arrow, .ek-showcase__tile), .ek-guest a.ek-btn { text-decoration: none; }
/* Registration buttons mean nothing to a partner who is logged in. */
.logged-in a.ek-btn[href*="partner-regisztracio"]:not([href*="redirect"]),
.logged-in .ek-cta-band { display: none; }
.ek-btn--ghost { color: var(--ek-ink); background: transparent; border: 1px solid var(--ek-line-strong); }
.ek-btn--ghost:hover { color: var(--ek-ink); border-color: var(--ek-ink); }
.ek-btn--light { color: var(--ek-ink); background: #FFFFFF; }
.ek-btn--light:hover { color: var(--ek-ink); background: var(--ek-pink); }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.ek-shop .select2-container .select2-selection--single,
.wsx-input, .wholesalex-form-wrapper input[type="text"], .wholesalex-form-wrapper input[type="email"],
.wholesalex-form-wrapper input[type="password"] {
	background: #FFFFFF; border: 1px solid var(--ek-line-strong); border-radius: 10px;
	color: var(--ek-ink); font-family: var(--ek-font); font-size: 16px; padding: 9px 12px; min-height: 44px; box-shadow: none;
}
.ek-shop .select2-container .select2-selection--single { padding: 6px 4px; }
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.wsx-input:focus { border-color: var(--ek-ink); box-shadow: var(--ek-focus); outline: none; }
.woocommerce form .form-row label, .wsx-form-label { font-weight: 600; font-size: 13px; color: var(--ek-ink); }
.woocommerce form .form-row .required { color: var(--ek-brand-d); }

.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noreviews,
.wc-block-components-notice-banner {
	background: var(--ek-surface); color: var(--ek-ink); border: 0; border-radius: var(--ek-r);
	box-shadow: none; font-size: 14px; padding: 13px 18px 13px 46px;
}
.woocommerce-message::before, .woocommerce-info::before { color: var(--ek-brand); top: 13px; left: 18px; }
.woocommerce-error { background: var(--ek-pink); }
.woocommerce-error::before { color: var(--ek-brand-d); top: 13px; left: 18px; }
.woocommerce-message .button, .woocommerce-info .button { padding: 7px 14px; font-size: 13px; }

/* =========================================================================
   Shop page: header, toolbar, pagination
   ====================================================================== */

.woocommerce-breadcrumb, .woocommerce-breadcrumb a {
	font-size: 13px; color: var(--ek-muted); text-decoration: none;
}
.woocommerce-breadcrumb a:hover { color: var(--ek-ink); }
.woocommerce-products-header { margin-bottom: 8px; }
.woocommerce .woocommerce-result-count { font-size: 13px; color: var(--ek-muted); margin: 0 0 20px; line-height: 38px; }
.woocommerce .woocommerce-ordering { margin: 0 0 20px; }
.woocommerce .woocommerce-ordering select {
	height: 38px; padding: 0 36px 0 14px; border: 1px solid var(--ek-line-strong); border-radius: 9999px;
	background-color: #FFFFFF; color: var(--ek-ink); font-family: var(--ek-font); font-size: 13px; font-weight: 500;
}

.woocommerce nav.woocommerce-pagination { margin-top: 48px; }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 6px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border-radius: 9999px; color: var(--ek-ink); font-size: 14px; font-weight: 600; background: transparent; padding: 0 10px;
}
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ek-ink); color: #FFFFFF; }
.woocommerce nav.woocommerce-pagination ul li a:hover { background: var(--ek-surface); color: var(--ek-ink); }

/* =========================================================================
   Photo frames
   A square on the warm-grey surface, the product centred inside it. The
   photo fills the frame but never past 1.5x its real size (--ek-nw/--ek-nh,
   printed by storefront.php): a 168 x 300 photo stays sharp instead of being
   stretched into a page-tall blur. multiply drops the white backgrounds of
   the product shots onto the frame colour.
   ====================================================================== */

.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a,
.woocommerce div.product div.images .woocommerce-product-gallery__image,
.ek-showcase__tile {
	position: relative; display: block; aspect-ratio: 1 / 1;
	background: var(--ek-surface); border-radius: var(--ek-r); overflow: hidden;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a img,
.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg),
.ek-showcase__tile img {
	position: absolute; inset: 0; margin: auto;
	width: 84%; height: 84%;
	max-width: calc(var(--ek-nw, 4000px) * var(--ek-upscale));
	max-height: calc(var(--ek-nh, 4000px) * var(--ek-upscale));
	object-fit: contain; mix-blend-mode: multiply;
	border-radius: 0; background: transparent; box-shadow: none;
	transition: transform .4s ease, opacity .3s ease;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image > a { position: absolute; inset: 0; display: block; }
.woocommerce div.product div.images .woocommerce-product-gallery__image img:not(.zoomImg) { width: 86%; height: 86%; }
/* The drawing for products without a photo needs no blending or zoom. */
img.ek-no-photo { mix-blend-mode: normal; }

/* =========================================================================
   Product cards
   ====================================================================== */

.woocommerce ul.products, .woocommerce-page ul.products { column-gap: 20px; row-gap: 36px; }
/* Shop, category and search pages: the filter column takes the room of the
   fifth column (the catalogue section below), so four or three to a row. */
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product {
	background: transparent; border: 0; padding: 0; margin: 0;
	display: flex; flex-direction: column;
}
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap { position: relative; margin: 0; }
.woocommerce ul.products li.product .astra-shop-thumbnail-wrap > a img { margin: auto; }

/* Hover: the second photo if there is one, otherwise a slow zoom. */
.woocommerce ul.products li.product .ek-card-alt { opacity: 0; }
.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap > a:has(.ek-card-alt) img:not(.ek-card-alt) { opacity: 0; }
.woocommerce ul.products li.product:hover .ek-card-alt { opacity: 1; }
.woocommerce ul.products li.product:hover .astra-shop-thumbnail-wrap > a:not(:has(.ek-card-alt)) img:not(.ek-no-photo) { transform: scale(1.05); }

.ek-card-badge {
	position: absolute; left: 10px; top: 10px; z-index: 2;
	background: #FFFFFF; color: var(--ek-ink); border-radius: 9999px;
	padding: 3px 9px; font-size: 11px; font-weight: 600; line-height: 1.4; letter-spacing: .01em;
}

.woocommerce ul.products li.product .astra-shop-summary-wrap {
	padding: 12px 2px 0; display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
	font-size: 13.5px; font-weight: 500; line-height: 1.4; letter-spacing: 0; margin: 0; padding: 0;
	color: var(--ek-ink); text-wrap: pretty;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 2.8em;
}
.woocommerce ul.products li.product .ast-loop-product__link:hover .woocommerce-loop-product__title { color: var(--ek-brand-d); }
.woocommerce ul.products li.product .price {
	color: var(--ek-ink); font-size: 15px; font-weight: 700; margin: 0; font-variant-numeric: tabular-nums;
}
.woocommerce .price .woocommerce-price-suffix { font-size: .76em; font-weight: 500; color: var(--ek-muted); }

/* "Kosárba teszem": quiet until hovered, so the grid reads as photos. */
.woocommerce ul.products li.product .button.add_to_cart_button {
	margin-top: auto; width: 100%; min-height: 36px; padding: 8px 14px;
	background: transparent; color: var(--ek-ink); border: 1px solid var(--ek-line-strong);
	font-size: 13px;
}
.woocommerce ul.products li.product .button.add_to_cart_button:hover { background: var(--ek-ink); border-color: var(--ek-ink); color: #FFFFFF; }
.woocommerce ul.products li.product .button.add_to_cart_button.loading { opacity: .6; }
.woocommerce ul.products li.product .button.add_to_cart_button.added { border-color: var(--ek-ink); }
.woocommerce ul.products li.product a.added_to_cart {
	font-size: 13px; font-weight: 600; color: var(--ek-brand-d); text-align: center; padding: 2px 0 0;
}
/* A visitor gets WooCommerce's "Read more" for a product they cannot buy -
   the whole card links there anyway. */
.woocommerce ul.products li.product a.button.product_type_simple:not(.add_to_cart_button),
.woocommerce ul.products li.product .ast-shop-product-out-of-stock { display: none; }

/* "Ár bejelentkezés után" - WholesaleX's stand-in for the price. Scoped to
   .price: WholesaleX uses .wsx-link for other links too (lost password). */
.price .wsx-link {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px;
	background: var(--ek-pink); color: var(--ek-brand-d); border-radius: 9999px;
	font-size: 12px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.price .wsx-link::before {
	content: ""; width: 12px; height: 12px; background: currentColor; flex: none;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M17 9V7a5 5 0 0 0-10 0v2H5v13h14V9h-2zM9 7a3 3 0 0 1 6 0v2H9V7z'/%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'%3E%3Cpath d='M17 9V7a5 5 0 0 0-10 0v2H5v13h14V9h-2zM9 7a3 3 0 0 1 6 0v2H9V7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.price .wsx-link:hover { background: var(--ek-brand); color: #FFFFFF; }

/* =========================================================================
   Product page
   ====================================================================== */

/* Photo and details sit in their own row (.ek-product-top, opened and closed
   in storefront.php), so whatever sticks stops at the end of that row instead
   of riding over "Kapcsolódó termékek" below. */
.ek-product-top {
	display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	column-gap: clamp(28px, 4vw, 56px); align-items: start;
}
.ek-product-top > * { grid-column: 1 / -1; }
/* WooCommerce floats these at 48% through `.woocommerce #content div.product
   div.images`; the #content here outranks it without !important. */
.woocommerce.single-product #content div.product .ek-product-top > div.images,
.woocommerce.single-product #content div.product .ek-product-top > .woocommerce-product-gallery { grid-column: 1; width: 100%; float: none; margin: 0; }
.woocommerce.single-product #content div.product .ek-product-top > div.summary { grid-column: 2; width: 100%; float: none; margin: 0; }
.ek-product-top > span.onsale { grid-column: 1; grid-row: 1; }
/* The photo stays in view while the (longer) details scroll past. The
   details are never pinned: with the sections open they outgrow the screen.
   Photo + thumbnails are up to ~800px tall, so only screens with room for
   all of it below the 77px header pin it - a pinned element taller than the
   screen hides its own bottom (the thumbnails) until the row ends. */
@media (min-width: 922px) and (min-height: 900px) {
	.woocommerce.single-product #content div.product .ek-product-top > .woocommerce-product-gallery { position: sticky; top: 88px; }
}

.woocommerce div.product div.images .woocommerce-product-gallery__image { border-radius: var(--ek-r-lg); }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger {
	top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
	background: #FFFFFF; z-index: 5;
}
.woocommerce div.product div.images .flex-control-thumbs {
	display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; margin: 10px 0 0;
}
.woocommerce div.product div.images .flex-control-thumbs li { width: auto; margin: 0; }
.woocommerce div.product div.images .flex-control-thumbs img {
	aspect-ratio: 1 / 1; object-fit: contain; padding: 6px; mix-blend-mode: multiply;
	background: var(--ek-surface); border-radius: 10px; border: 1px solid transparent; opacity: .7;
	transition: opacity .2s, border-color .2s;
}
.woocommerce div.product div.images .flex-control-thumbs img.flex-active,
.woocommerce div.product div.images .flex-control-thumbs img:hover { opacity: 1; border-color: var(--ek-ink); }

.woocommerce div.product .summary .woocommerce-breadcrumb { margin-bottom: 12px; }
.woocommerce div.product .product_title {
	font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 12px;
}
.woocommerce div.product p.price, .woocommerce div.product span.price {
	color: var(--ek-ink); font-size: 24px; font-weight: 700; margin: 0 0 6px; font-variant-numeric: tabular-nums;
}
.woocommerce div.product .summary .price .wsx-link { font-size: 13px; padding: 7px 13px; }
/* For a visitor the "A nettó ár partnereinknek látható" box replaces both of
   WholesaleX's "Ár bejelentkezés után" links (price slot and cart slot). */
body.woocommerce:not(.logged-in) div.product .summary > .price,
body.woocommerce:not(.logged-in) div.product .summary > div:has(> a.wsx-link:only-child),
.woocommerce div.product .summary > p:empty { display: none; }

.ek-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 10px 0 20px; padding: 0; }
.ek-chips li {
	margin: 0; padding: 4px 10px; border-radius: 9999px; background: var(--ek-surface);
	font-size: 12px; font-weight: 600; color: var(--ek-text);
}
.ek-chips li:first-child { background: var(--ek-mint); color: var(--ek-ink); }

.woocommerce div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 24px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity {
	margin: 0; display: inline-flex; align-items: center; height: 46px; padding: 0 3px;
	border: 1px solid var(--ek-line-strong); border-radius: 9999px; background: #FFFFFF;
}
.woocommerce .quantity .qty {
	width: 56px; height: 100%; padding: 0; border: 0; background: transparent; box-shadow: none;
	text-align: center; font-family: var(--ek-font); font-size: 16px; font-weight: 700; color: var(--ek-ink); font-variant-numeric: tabular-nums;
	-moz-appearance: textfield;
}
.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.woocommerce .quantity .minus, .woocommerce .quantity .plus,
.woocommerce .quantity .ast-qty-placeholder {
	width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%; background: transparent; color: var(--ek-ink);
	font-size: 18px; line-height: 1; cursor: pointer; text-decoration: none;
}
.woocommerce .quantity .minus:hover, .woocommerce .quantity .plus:hover { background: var(--ek-surface); color: var(--ek-ink); }
.woocommerce div.product form.cart .single_add_to_cart_button {
	flex: 1 1 200px; min-height: 46px; padding: 12px 24px; font-size: 15px; font-weight: 600;
}

.ek-guest { background: var(--ek-pink); border-radius: var(--ek-r-lg); padding: 20px; margin: 4px 0 24px; font-size: 14px; }
.ek-guest p { margin: 0 0 14px; color: var(--ek-text); }
.ek-guest .ek-guest__title { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; color: var(--ek-ink); margin-bottom: 6px; }
.ek-guest__title .ek-icon { width: 18px; height: 18px; color: var(--ek-brand-d); }
.ek-guest .ek-guest__cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.ek-guest .ek-btn--ghost { background: #FFFFFF; border-color: #FFFFFF; }
.ek-guest .ek-btn--ghost:hover { border-color: var(--ek-ink); }

.ek-accordion { border-top: 1px solid var(--ek-line); }
.ek-accordion details { border-bottom: 1px solid var(--ek-line); }
.ek-accordion summary {
	display: flex; justify-content: space-between; align-items: center; gap: 16px;
	padding: 14px 0; cursor: pointer; list-style: none;
	font-size: 15px; font-weight: 600; color: var(--ek-ink);
}
.ek-accordion summary::-webkit-details-marker { display: none; }
.ek-accordion summary::after {
	content: ""; width: 9px; height: 9px; flex: none; margin-right: 4px;
	border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
	transform: translateY(-3px) rotate(45deg); transition: transform .2s;
}
.ek-accordion details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.ek-accordion details > :not(summary) { margin: 0 0 16px; font-size: 14px; }
.ek-accordion ul { padding-left: 20px; }
.ek-accordion li { margin: 0 0 6px; }
.ek-facts { display: grid; margin: 0 0 16px; }
.ek-facts > div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 7px 0; }
.ek-facts > div + div { border-top: 1px solid var(--ek-line); }
.ek-facts dt { font-size: 13px; color: var(--ek-muted); margin: 0; }
.ek-facts dd { margin: 0; font-weight: 600; color: var(--ek-ink); font-variant-numeric: tabular-nums; word-break: break-word; }

.woocommerce div.product .related.products, .woocommerce div.product .up-sells { margin-top: 64px; }
.related.products > h2, .woocommerce .up-sells > h2 { font-size: clamp(20px, 2vw, 24px); margin: 0 0 20px; }

/* =========================================================================
   Cart and checkout
   ====================================================================== */

/* Cart: items left, totals right (WooCommerce stacks them, totals at 48%). */
.woocommerce-cart .entry-content > .woocommerce {
	display: grid; grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px; align-items: start;
}
/* Astra's auto side margins on page-content grandchildren (see the front
   page section) would shrink and centre these grid items. */
body.woocommerce-cart .entry-content[data-ast-blocks-layout] > .woocommerce > * { margin-left: 0; margin-right: 0; }
.woocommerce-cart .entry-content > .woocommerce > :not(.woocommerce-cart-form):not(.cart-collaterals) { grid-column: 1 / -1; }
.woocommerce-cart .entry-content > .woocommerce > .cart-collaterals { grid-column: 2; width: 100%; position: sticky; top: 110px; }
/* Narrower: totals under the products. (Not tied to Astra's
   [data-ast-blocks-layout], which only some page layouts print.) */
@media (max-width: 1100px) {
	.woocommerce-cart .entry-content > .woocommerce { grid-template-columns: minmax(0, 1fr); }
	body.woocommerce-cart .entry-content > .woocommerce > .cart-collaterals { grid-column: 1; position: static; max-width: 480px; margin: 24px 0 0 auto; }
}
@media (max-width: 921px) {
	body.woocommerce-cart .entry-content > .woocommerce > .cart-collaterals { max-width: none; margin: 16px 0 0; }
}
.woocommerce-cart .cart-collaterals .cart_totals { width: 100%; float: none; }
.woocommerce table.shop_table thead, .woocommerce table.shop_table thead th { background: transparent; }
/* Money never wraps ("19 / 842,48 Ft" in a narrow column). */
.woocommerce table.shop_table td.product-price, .woocommerce table.shop_table td.product-subtotal,
.woocommerce table.shop_table td.product-total,
.woocommerce table.shop_table :is(tr.cart-subtotal, tr.order-total, tr.tax-rate, tr.tax-total, tr.fee) td { white-space: nowrap; }
.woocommerce-shipping-calculator { white-space: normal; font-size: 13px; color: var(--ek-muted); }
/* "Szállítás ide: …" / "A szállítási módok a pénztárban frissülnek": the
   choice is delivery or pickup, both in Hungary - nothing to estimate. */
.woocommerce-cart .cart_totals .woocommerce-shipping-destination { display: none; }

.woocommerce table.shop_table {
	border: 0; border-radius: 0; border-collapse: collapse; background: transparent; margin-bottom: 24px;
}
.woocommerce table.shop_table th {
	font-size: 12px; font-weight: 600; color: var(--ek-muted); text-transform: none; letter-spacing: 0;
	background: transparent; border-bottom: 1px solid var(--ek-line); padding: 10px 12px;
}
.woocommerce table.shop_table td { border-top: 1px solid var(--ek-line); padding: 14px 12px; color: var(--ek-ink); font-size: 14px; }
.woocommerce table.shop_table td.product-name a { font-weight: 600; text-decoration: none; }
.woocommerce table.shop_table td.product-thumbnail img,
.woocommerce table.shop_table img {
	width: 60px; aspect-ratio: 1 / 1; object-fit: contain; padding: 5px; mix-blend-mode: multiply;
	background: var(--ek-surface); border: 0; border-radius: 10px;
}
.woocommerce table.shop_table .quantity { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--ek-line-strong); border-radius: 9999px; padding: 0 2px; }
.woocommerce table.shop_table .quantity .qty { width: 48px; font-size: 14px; }
.woocommerce table.shop_table .quantity .minus, .woocommerce table.shop_table .quantity .plus { width: 30px; height: 30px; font-size: 16px; }
.woocommerce a.remove {
	width: 28px; height: 28px; line-height: 26px; font-size: 18px; font-weight: 400;
	color: var(--ek-muted) !important; border-radius: 50%; background: transparent;
}
.woocommerce a.remove:hover { background: var(--ek-pink); color: var(--ek-brand-d) !important; }
/* The basket dropdown and drawer (Astra's mini cart). Astra draws the ring
   as a separate 28px ::before and sizes the × on its own, so the two drifted
   apart, and the product name ran under the button. One box for both, and
   room for it beside the name. */
.woocommerce .widget_shopping_cart ul.woocommerce-mini-cart li.mini_cart_item.woocommerce-mini-cart-item { padding-right: 42px; }
.woocommerce .woocommerce-mini-cart .mini_cart_item a.remove.remove_from_cart_button {
	top: 12px; right: 0; left: auto; width: 26px; height: 26px; margin: 0; padding: 0;
	display: grid; place-items: center; line-height: 1; border-radius: 50%; background: transparent;
}
.woocommerce .woocommerce-mini-cart .mini_cart_item a.remove.remove_from_cart_button::before {
	top: 0; left: 0; width: 100%; height: 100%; box-sizing: border-box; border: 1px solid var(--ek-line-strong); border-radius: 50%;
}
.woocommerce .woocommerce-mini-cart .mini_cart_item a.remove.remove_from_cart_button svg,
.woocommerce .woocommerce-mini-cart .mini_cart_item a.remove.remove_from_cart_button .ahfb-svg-iconset { width: 14px; height: 14px; }
.woocommerce .woocommerce-mini-cart .mini_cart_item a.remove.remove_from_cart_button:hover { background: var(--ek-pink); }
.woocommerce .woocommerce-mini-cart .mini_cart_item a.remove.remove_from_cart_button:hover::before { border-color: var(--ek-brand-d); }
.woocommerce-cart table.cart td.actions { padding-top: 20px; }
.woocommerce-cart table.cart td.actions .button { background: transparent; color: var(--ek-ink); border: 1px solid var(--ek-line-strong); }
.woocommerce-cart table.cart td.actions .button:hover { border-color: var(--ek-ink); background: transparent; color: var(--ek-ink); }

/* The summary panels: the cart's totals and the checkout's order review.
   Astra frames the review with 2px borders through `form #order_review…:not(…#…)`
   (two ids' weight): #content outweighs it. */
.woocommerce .cart-collaterals .cart_totals,
body.woocommerce-checkout #content form #order_review_heading,
body.woocommerce-checkout #content form #order_review { background: var(--ek-surface); border: 0; margin: 0; }
.woocommerce .cart-collaterals .cart_totals { border-radius: var(--ek-r-lg); padding: 24px; }
body.woocommerce-checkout #content form #order_review_heading { border-radius: var(--ek-r-lg) var(--ek-r-lg) 0 0; padding: 24px 24px 8px; }
body.woocommerce-checkout #content form #order_review { border-radius: 0 0 var(--ek-r-lg) var(--ek-r-lg); padding: 0 24px 24px; }
/* Astra puts the cart's heading on a grey bar of its own. */
.woocommerce-cart .cart-collaterals .cart_totals > h2 { background: transparent; border: 0; padding: 0; margin: 0 0 8px; }
.woocommerce .cart-collaterals .cart_totals > h2, body.woocommerce-checkout #content form #order_review_heading,
.woocommerce .woocommerce-billing-fields > h3, .woocommerce .woocommerce-shipping-fields h3, .woocommerce .woocommerce-additional-fields > h3 { font-size: 19px; line-height: 1.25; }
.woocommerce .woocommerce-billing-fields > h3, .woocommerce .woocommerce-additional-fields > h3 { margin: 0 0 16px; }

/* Totals as rows: label left, amount right, one line between rows. As a
   table, WooCommerce drew the cart's with separate borders - the label's
   bottom edge and the amount's top edge - so every row had two staggered
   lines; and a wide cell (the delivery choice) squeezed the labels. */
.woocommerce .cart_totals table.shop_table,
.woocommerce .cart_totals table.shop_table > tbody,
body.woocommerce-checkout #content #order_review table.shop_table,
body.woocommerce-checkout #content #order_review table.shop_table > :is(thead, tbody, tfoot) {
	display: block; width: 100%; margin: 0; border: 0; border-radius: 0; background: transparent;
}
.woocommerce .cart_totals table.shop_table tr,
body.woocommerce-checkout #content #order_review table.shop_table tr {
	display: flex; justify-content: space-between; align-items: baseline; gap: 4px 16px;
	padding: 12px 0; border-top: 1px solid var(--ek-line-strong);
}
.woocommerce .cart_totals table.shop_table tr:first-child,
body.woocommerce-checkout #content #order_review table.shop_table thead tr { border-top: 0; }
.woocommerce .cart_totals table.shop_table tr :is(th, td),
body.woocommerce-checkout #content #order_review table.shop_table tr :is(th, td) {
	display: block; width: auto; margin: 0; padding: 0; border: 0; background: transparent;
	font-size: 14px; line-height: 1.45;
}
.woocommerce .cart_totals table.shop_table tr th,
body.woocommerce-checkout #content #order_review table.shop_table tr th { flex: none; text-align: left; font-weight: 500; color: var(--ek-muted); }
.woocommerce .cart_totals table.shop_table tr td,
body.woocommerce-checkout #content #order_review table.shop_table tr td {
	margin-left: auto; text-align: right !important; font-weight: 600; color: var(--ek-ink); font-variant-numeric: tabular-nums;
}
/* Phones: WooCommerce hides the labels and writes them into the cells instead. */
.woocommerce .cart_totals table.shop_table tr td::before { display: none; }
.woocommerce .cart_totals table.shop_table tbody th { display: block; }
/* The products in the review: name with the quantity under it, total right. */
body.woocommerce-checkout #content #order_review table.shop_table thead th { font-size: 12px; font-weight: 600; }
body.woocommerce-checkout #content #order_review table.shop_table tbody td.product-name { flex: 1 1 auto; min-width: 0; margin: 0; text-align: left !important; }
body.woocommerce-checkout #content #order_review table.shop_table tbody td.product-total { flex: none; white-space: nowrap; }
body.woocommerce-checkout #content #order_review table.shop_table .product-quantity { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ek-muted); }
.woocommerce .cart_totals table.shop_table tr.order-total :is(th, td),
body.woocommerce-checkout #content #order_review table.shop_table tr.order-total :is(th, td) { font-size: 17px; font-weight: 700; color: var(--ek-ink); }
.woocommerce .cart_totals tr.order-total strong, body.woocommerce-checkout #order_review tr.order-total strong { font-weight: inherit; }
.woocommerce :is(.cart_totals, #order_review) tr.order-total .includes_tax { display: block; font-size: 12px; font-weight: 500; color: var(--ek-muted); }

/* Delivery: the label on its own line, then each way as a card - the
   pickup address under its name. */
.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals,
body.woocommerce-checkout #content #order_review table.shop_table tr.woocommerce-shipping-totals { display: block; }
.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals th,
body.woocommerce-checkout #content #order_review table.shop_table tr.woocommerce-shipping-totals th { margin-bottom: 10px; }
.woocommerce .cart_totals table.shop_table tr.woocommerce-shipping-totals td,
body.woocommerce-checkout #content #order_review table.shop_table tr.woocommerce-shipping-totals td { margin: 0; text-align: left !important; font-weight: 400; }
/* `#content :is(…, #order_review)` weighs three ids: Astra prints the list's
   indent as `ul#shipping_method li:not(.elementor-widget-… #shipping_method li)`. */
#content :is(.cart_totals, #order_review) ul#shipping_method { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
#content :is(.cart_totals, #order_review) ul#shipping_method li {
	margin: 0; padding: 11px 14px; text-indent: 0; line-height: 1.4; text-align: left; list-style: none;
	background: #FFFFFF; border: 1px solid var(--ek-line-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
#content :is(.cart_totals, #order_review) ul#shipping_method li:has(input[type="radio"]) { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; cursor: pointer; }
/* The whole card picks it, not only its name. */
#content :is(.cart_totals, #order_review) ul#shipping_method li:has(input[type="radio"]) label::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
#content :is(.cart_totals, #order_review) ul#shipping_method li:has(input[type="radio"]):hover { border-color: var(--ek-muted); }
#content :is(.cart_totals, #order_review) ul#shipping_method li:has(input:checked) { border-color: var(--ek-ink); box-shadow: inset 0 0 0 1px var(--ek-ink); }
#content :is(.cart_totals, #order_review) ul#shipping_method li input[type="radio"] { width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--ek-ink); cursor: pointer; }
#content :is(.cart_totals, #order_review) ul#shipping_method li label {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin: 0; text-indent: 0;
	font-size: 14px; font-weight: 600; line-height: 1.4; color: var(--ek-ink); cursor: pointer;
}
#content :is(.cart_totals, #order_review) ul#shipping_method .ek-rate__cost { font-variant-numeric: tabular-nums; white-space: nowrap; }
#content :is(.cart_totals, #order_review) ul#shipping_method .ek-rate__cost--free { color: #1E5F2C; }
#content :is(.cart_totals, #order_review) ul#shipping_method li .ek-pickup { grid-column: 2; margin-top: 4px; font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--ek-muted); }

.wc-proceed-to-checkout { padding: 4px 0 0; }
.wc-proceed-to-checkout .checkout-button, .woocommerce #place_order { display: block; width: 100%; min-height: 48px; margin: 0; font-size: 15px; font-weight: 600; text-align: center; }

/* Payment: the same cards as delivery; the chosen one's note under it. */
body.woocommerce-checkout #content #payment { background: transparent; border-radius: 0; padding: 0; margin-top: 4px; }
body.woocommerce-checkout #content #payment ul.payment_methods { list-style: none; display: grid; gap: 8px; margin: 0; padding: 4px 0 20px; border: 0; }
body.woocommerce-checkout #content #payment ul.payment_methods li {
	margin: 0; padding: 12px 14px; line-height: 1.4; list-style: none;
	background: #FFFFFF; border: 1px solid var(--ek-line-strong); border-radius: 10px; transition: border-color .15s, box-shadow .15s;
}
body.woocommerce-checkout #content #payment ul.payment_methods li:has(> input:checked) { border-color: var(--ek-ink); box-shadow: inset 0 0 0 1px var(--ek-ink); }
body.woocommerce-checkout #content #payment ul.payment_methods li > input[type="radio"] { width: 16px; height: 16px; margin: 0 10px 0 0; vertical-align: -3px; accent-color: var(--ek-ink); cursor: pointer; }
body.woocommerce-checkout #content #payment ul.payment_methods li > label { display: inline; margin: 0; font-size: 14px; font-weight: 600; color: var(--ek-ink); cursor: pointer; }
body.woocommerce-checkout #content #payment div.payment_box {
	margin: 8px 0 0; padding: 0 0 0 26px; background: transparent; border-radius: 0;
	font-size: 13px; line-height: 1.5; color: var(--ek-muted);
}
body.woocommerce-checkout #content #payment div.payment_box::before { display: none; }
body.woocommerce-checkout #content #payment div.payment_box p { margin: 0; }
body.woocommerce-checkout #content #payment div.form-row { padding: 0; margin: 0; }
.woocommerce-privacy-policy-text { font-size: 13px; line-height: 1.5; color: var(--ek-muted); }
.woocommerce-privacy-policy-text p { margin: 0 0 14px; }
.woocommerce-terms-and-conditions-wrapper .woocommerce-form__label-for-checkbox { font-size: 14px; font-weight: 500; color: var(--ek-ink); }

/* Thank-you page and the account's order page: what a transfer needs. */
.ek-transfer { max-width: 560px; margin: 8px 0 32px; padding: 20px 22px; background: var(--ek-butter); border-radius: var(--ek-r-lg); }
.ek-shop .ek-transfer .ek-transfer__title { margin: 0 0 8px; font-size: 18px; }
.woocommerce .ek-transfer table.ek-transfer__table { width: 100%; margin: 0; border: 0; border-collapse: collapse; background: transparent; }
.woocommerce .ek-transfer table.ek-transfer__table :is(th, td) {
	padding: 7px 0; border: 0; border-top: 1px solid rgba(61, 7, 3, .08); background: transparent;
	font-size: 14px; line-height: 1.45; text-align: left; vertical-align: top;
}
.woocommerce .ek-transfer table.ek-transfer__table tr:first-child :is(th, td) { border-top: 0; }
.woocommerce .ek-transfer table.ek-transfer__table th { width: 38%; padding-right: 16px; font-weight: 500; color: var(--ek-muted); }
.woocommerce .ek-transfer table.ek-transfer__table td { color: var(--ek-ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.ek-transfer__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--ek-text); }
.woocommerce-order-details .ek-pickup-title, .woocommerce-order .ek-pickup-title { margin: 28px 0 8px; font-size: 19px; }
.woocommerce-order .ek-pickup { font-size: 15px; line-height: 1.6; }

/* =========================================================================
   An order: the thank-you page, the account's order page
   (#content: Astra frames these in grey boxes through up to four classes)
   ====================================================================== */

#content .woocommerce-order .woocommerce-thankyou-order-received {
	position: relative; margin: 0 0 24px; padding: 14px 18px 14px 48px; border-radius: var(--ek-r);
	background: var(--ek-mint); color: var(--ek-ink); font-size: 15px; font-weight: 600; line-height: 1.5;
}
#content .woocommerce-order .woocommerce-thankyou-order-received::before {
	content: ""; position: absolute; left: 18px; top: 16px; width: 18px; height: 18px; background: #1E7A3A;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%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'%3E%3Cpath d='M12 2a10 10 0 1 0 0 20 10 10 0 0 0 0-20zm-1.2 14.2-4-4 1.4-1.4 2.6 2.6 5.6-5.6 1.4 1.4-7 7z'/%3E%3C/svg%3E") center / contain no-repeat;
}
#content ul.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 0 0 28px; padding: 0; list-style: none; }
#content ul.woocommerce-order-overview::before, #content ul.woocommerce-order-overview::after { display: none; }
#content ul.woocommerce-order-overview li {
	float: none; margin: 0; padding: 0 22px; border: 0; border-left: 1px solid var(--ek-line-strong);
	font-size: 12px; line-height: 1.4; text-transform: none; letter-spacing: 0; color: var(--ek-muted);
}
#content ul.woocommerce-order-overview li:first-child { padding-left: 0; border-left: 0; }
#content ul.woocommerce-order-overview li strong { display: block; margin-top: 3px; font-size: 15px; font-weight: 700; color: var(--ek-ink); }

#content :is(.woocommerce-order-details, .woocommerce-customer-details) { max-width: 760px; margin: 0 0 36px; }
#content :is(.woocommerce-order-details, .woocommerce-customer-details) h2 { margin: 0 0 10px; padding: 0; border: 0; background: transparent; font-size: 19px; }
#content table.woocommerce-table--order-details { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; background: transparent; }
#content table.woocommerce-table--order-details :is(th, td) {
	padding: 12px 0; border: 0; border-top: 1px solid var(--ek-line); background: transparent;
	font-size: 14px; line-height: 1.45; text-align: left; vertical-align: top;
}
#content table.woocommerce-table--order-details :is(th, td):last-child { padding-left: 16px; text-align: right; }
#content table.woocommerce-table--order-details thead th { padding-top: 0; border-top: 0; font-size: 12px; font-weight: 600; color: var(--ek-muted); }
#content table.woocommerce-table--order-details tbody td.product-name a { font-weight: 600; text-decoration: none; }
#content table.woocommerce-table--order-details .product-quantity { display: block; margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--ek-muted); }
#content table.woocommerce-table--order-details tbody td.product-total { white-space: nowrap; font-variant-numeric: tabular-nums; }
#content table.woocommerce-table--order-details tfoot th { font-weight: 500; color: var(--ek-muted); }
#content table.woocommerce-table--order-details tfoot td { font-weight: 600; color: var(--ek-ink); font-variant-numeric: tabular-nums; }
#content table.woocommerce-table--order-details .shipped_via { font-weight: 500; color: var(--ek-muted); }

#content .woocommerce-customer-details .woocommerce-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 0; }
#content .woocommerce-customer-details .woocommerce-columns::before, #content .woocommerce-customer-details .woocommerce-columns::after { display: none; }
#content .woocommerce-customer-details .woocommerce-column { float: none; width: auto; margin: 0; padding: 18px 20px; background: var(--ek-surface); border-radius: var(--ek-r-lg); }
#content .woocommerce-customer-details .woocommerce-column .woocommerce-column__title { margin: 0 0 8px; font-size: 16px; }
#content .woocommerce-customer-details address { margin: 0; padding: 0; border: 0; border-radius: 0; font-size: 14px; font-style: normal; line-height: 1.6; color: var(--ek-ink); }
#content .woocommerce-customer-details > address { padding: 18px 20px; background: var(--ek-surface); border-radius: var(--ek-r-lg); max-width: 420px; }
#content .woocommerce-customer-details address p { margin: 6px 0 0; }

/* The account's order list. */
#content table.woocommerce-orders-table { width: 100%; margin: 0; border: 0; border-radius: 0; border-collapse: collapse; background: transparent; }
#content table.woocommerce-orders-table :is(th, td) {
	padding: 14px 16px 14px 0; border: 0; border-top: 1px solid var(--ek-line); background: transparent;
	font-size: 14px; line-height: 1.45; text-align: left; vertical-align: middle;
}
#content table.woocommerce-orders-table thead th { padding-top: 0; border-top: 0; font-size: 12px; font-weight: 600; color: var(--ek-muted); }
#content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-number a { font-weight: 700; text-decoration: none; }
#content table.woocommerce-orders-table :is(th, td):is(.woocommerce-orders-table__cell-order-actions, .woocommerce-orders-table__header-order-actions) { padding-right: 0; text-align: right; }
#content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button { margin: 2px 0 2px 6px; padding: 7px 14px; font-size: 13px; }
#content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.view {
	background: transparent; color: var(--ek-ink); border: 1px solid var(--ek-line-strong);
}
#content table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions .button.view:hover { border-color: var(--ek-ink); }
@media (max-width: 921px) {
	#content table.woocommerce-orders-table tr { display: block; padding: 10px 0; border-top: 1px solid var(--ek-line); }
	#content table.woocommerce-orders-table tbody tr:first-child { border-top: 0; }
	#content table.woocommerce-orders-table tr td { display: flex; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right !important; }
	#content table.woocommerce-orders-table tr td::before { float: none; flex: none; font-weight: 500; color: var(--ek-muted); }
	#content table.woocommerce-orders-table tr td.woocommerce-orders-table__cell-order-actions { justify-content: flex-end; padding-top: 8px; }
	#content table.woocommerce-orders-table tr td.woocommerce-orders-table__cell-order-actions::before { display: none; }
}

/* The cart on phones and tablets: each product a row of its own - photo,
   name and unit price, then quantity and total - instead of WooCommerce's
   stack of labelled cells ("Termék:", "Ár:", …) one under the other. */
@media (max-width: 921px) {
	.woocommerce-cart #content table.shop_table.cart, .woocommerce-cart #content table.shop_table.cart tbody { display: block; width: 100%; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item {
		display: grid; grid-template-columns: 64px minmax(0, 1fr) auto;
		grid-template-areas: "thumb name remove" "thumb price price" "thumb qty total";
		gap: 2px 14px; align-items: start; padding: 16px 0; border-top: 1px solid var(--ek-line);
	}
	.woocommerce-cart #content table.shop_table.cart tr.cart_item:first-child { border-top: 0; padding-top: 4px; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td {
		display: block; min-width: 0; min-height: 0; padding: 0; border: 0; background: transparent; text-align: left !important;
	}
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td::before { display: none; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-thumbnail { grid-area: thumb; line-height: 0; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-thumbnail img { width: 64px; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-name { grid-area: name; font-size: 14px; line-height: 1.35; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-remove { grid-area: remove; line-height: 0; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-remove a.remove { margin: 0; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-price { grid-area: price; font-size: 13px; line-height: 1.4; color: var(--ek-muted); }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-price::after { content: " / db"; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-quantity { grid-area: qty; margin-top: 10px; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-quantity .quantity { margin: 0; }
	.woocommerce-cart #content table.shop_table.cart tr.cart_item td.product-subtotal { grid-area: total; align-self: center; margin-top: 10px; text-align: right !important; font-size: 15px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
	.woocommerce-cart #content table.shop_table.cart tr:not(.cart_item) { display: block; }
	.woocommerce-cart #content table.shop_table.cart td.actions { display: block; padding: 16px 0 0; border-top: 1px solid var(--ek-line); text-align: right !important; }
	.woocommerce-cart #content table.shop_table.cart td.actions .button { margin: 0; }
}

/* Radios and boxes in the shop's own colour instead of the browser's blue. */
.ek-shop #content :is(input[type="radio"], input[type="checkbox"]) { accent-color: var(--ek-ink); }
.woocommerce-checkout #ship-to-different-address { margin: 8px 0 0; font-size: 15px; }
.woocommerce-checkout #ship-to-different-address label { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ek-ink); cursor: pointer; }
.woocommerce-checkout #ship-to-different-address input { width: 16px; height: 16px; margin: 0; }

/* =========================================================================
   Account and partner registration
   ====================================================================== */

.woocommerce-account .woocommerce-MyAccount-navigation ul {
	list-style: none; margin: 0; padding: 8px; background: var(--ek-surface); border: 0; border-radius: var(--ek-r-lg);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li { border: 0; margin: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
	display: block; padding: 9px 14px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 600; color: var(--ek-ink);
}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover { background: #FFFFFF; color: var(--ek-brand-d); }
.woocommerce form.login, .woocommerce form.register, .woocommerce form.lost_reset_password {
	border: 1px solid var(--ek-line); border-radius: var(--ek-r-lg); background: #FFFFFF; padding: 24px;
}
/* The account page's login (a visitor; partners usually log in on the partner page). */
.woocommerce-account:not(.logged-in) .entry-content > .woocommerce,
.woocommerce-lost-password .entry-content > .woocommerce { max-width: 460px; }
.woocommerce-account:not(.logged-in) .entry-content > .woocommerce > h2 { display: none; }
.woocommerce form.login .form-row { margin: 0 0 14px; padding: 0; }
.woocommerce form.login .woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; font-size: 14px; font-weight: 500; color: var(--ek-ink); cursor: pointer; }
.woocommerce form.login .woocommerce-form-login__rememberme input { width: 16px; height: 16px; margin: 0; }
.woocommerce form.login .woocommerce-form-login__submit { display: block; float: none; width: 100%; min-height: 46px; margin: 0 0 14px; font-size: 15px; }
.woocommerce form.login .lost_password, .ek-login-register { margin: 0; font-size: 14px; }
.ek-login-register { margin-top: 16px; color: var(--ek-text); }
.ek-login-register a { font-weight: 600; }
.woocommerce form.lost_reset_password p:first-child { margin: 0 0 16px; font-size: 14px; color: var(--ek-text); }
.woocommerce form.lost_reset_password .form-row { float: none; width: 100%; padding: 0; margin: 0 0 14px; }
.woocommerce form.lost_reset_password .button { width: 100%; min-height: 46px; }

.wholesalex-form-wrapper, .wsx-form-wrapper { font-family: var(--ek-font); color: var(--ek-text); }
.wholesalex-form-wrapper :is(.wsx-form-title, .wholesalex-registration-form-title, .wsx-reg-form-heading-text, .wsx-login-form-title) {
	font-family: var(--ek-font); font-weight: 700; color: var(--ek-ink); letter-spacing: -.01em;
}
.wholesalex-form-wrapper :is(button, .wsx-btn, input[type="submit"]) {
	background: var(--ek-brand); color: #FFFFFF; border: 0; border-radius: 9999px;
	padding: 11px 24px; font-family: var(--ek-font); font-weight: 600; font-size: 15px; box-shadow: none; cursor: pointer;
}
.wholesalex-form-wrapper :is(button, .wsx-btn, input[type="submit"]):hover { background: var(--ek-brand-d); }
.wsx-form-field-warning-message, .wsx-field-error, .wholesalex-error-message { color: var(--ek-brand-d); font-size: 14px; }
/* A whole-form message (e.g. "awaiting approval") - a notice, not a field hint. */
.wholesalex-form-wrapper .wsx-form-field-warning-message.other_error:not(:empty) {
	background: var(--ek-pink); color: var(--ek-ink); font-style: normal; font-size: 14px; line-height: 1.5;
	border-radius: 10px; padding: 12px 16px; margin-bottom: 18px;
}

/* The SalesNG description, in the first folding section. */
.ek-description p { margin: 0 0 .8em; }
.ek-description p:last-child { margin-bottom: 0; }

/* =========================================================================
   Introduction ([ek_intro]): label and heading left, the owner's text right
   ====================================================================== */

.ek-intro { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 12px clamp(28px, 5vw, 80px); align-items: start; }
.ek-intro__label { margin: 0 0 8px; font-size: 12px; font-weight: 600; line-height: 1.4; letter-spacing: .08em; text-transform: uppercase; color: var(--ek-brand-d); }
.ek-intro__head h2 { margin: 0; }
.entry-content .ek-intro__pills, .ek-intro__pills { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.ek-intro__pills li { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 13.5px; font-weight: 600; color: var(--ek-ink); }
.ek-intro__pills .ek-icon { width: 17px; height: 17px; color: var(--ek-brand-d); flex: none; }
.ek-intro__body { max-width: 42em; font-size: 16px; line-height: 1.65; color: var(--ek-text); }
.ek-intro__body p { margin: 0 0 12px; }
.ek-intro__body > :last-child { margin-bottom: 0; }
.ek-intro__body .ek-intro__more { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
@media (max-width: 921px) { .ek-intro { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 544px) { .ek-intro__body { font-size: 15px; } }

/* =========================================================================
   Photo collage ([ek_showcase])
   ====================================================================== */

.ek-showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-bottom: 24px; }
.ek-showcase__tile { background: #FFFFFF; border-radius: var(--ek-r-lg); transition: transform .3s ease; }
.ek-showcase__tile:nth-child(even) { transform: translateY(24px); }
.ek-showcase__tile:hover img { transform: scale(1.05); }
.ek-showcase__tile img { mix-blend-mode: normal; }

/* =========================================================================
   Catalogue filters (includes/catalog.php, assets/catalog.js)
   A column left of the products on desktop, a drawer on phones. html.ek-js
   is set before the page paints; without it the panel simply sits above
   the products with its own "Szűrés" button.
   ====================================================================== */

.ek-catalog { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 36px; align-items: start; }
.ek-catalog__main { min-width: 0; transition: opacity .15s; }
.ek-catalog.is-loading .ek-catalog__main { opacity: .45; pointer-events: none; }
.ek-filters { position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow-y: auto; overscroll-behavior: contain; padding: 0 6px 16px 0; scrollbar-width: thin; }
.ek-site .ek-filters { top: 84px; max-height: calc(100vh - 100px); }
.admin-bar.ek-site .ek-filters { top: 116px; max-height: calc(100vh - 132px); }
.ek-filters__head { display: none; }
.ek-filters__form { margin: 0; }
.ek-filters-toggle, .ek-filters-backdrop { display: none; }

.ek-facet { margin: 0; padding: 14px 0; border: 0; border-top: 1px solid var(--ek-line); min-width: 0; }
.ek-facet:first-child { border-top: 0; padding-top: 0; }
/* .ek-filters: outweighs the shop's heading sizes (the category title is an h3). */
.ek-filters .ek-facet__title { display: block; float: none; width: 100%; margin: 0 0 8px; padding: 0; font-family: var(--ek-font); font-size: 12px; line-height: 1.4; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--ek-muted); }
.ek-facet ul { list-style: none; margin: 0; padding: 0; }
.ek-facet li { margin: 0; }
.ek-filters .ek-facet__link {
	display: flex; align-items: center; gap: 8px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px;
	font-size: 14px; line-height: 1.35; color: var(--ek-ink); text-decoration: none;
}
.ek-filters .ek-facet__link:hover { background: var(--ek-surface); color: var(--ek-ink); }
.ek-filters .ek-facet__link.is-current { background: var(--ek-pink); color: var(--ek-brand-d); font-weight: 600; }
.ek-count { margin-left: auto; padding-left: 8px; font-size: 12px; font-weight: 500; color: var(--ek-muted); font-variant-numeric: tabular-nums; }
.ek-facet__link.is-current .ek-count { color: var(--ek-brand-d); }

.ek-check { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; line-height: 1.35; color: var(--ek-ink); cursor: pointer; }
.ek-check input {
	-webkit-appearance: none; appearance: none; flex: none; width: 16px; height: 16px; margin: 0;
	border: 1.5px solid var(--ek-line-strong); border-radius: 4px; background: #FFFFFF; cursor: pointer;
	display: grid; place-content: center; transition: background .12s, border-color .12s;
}
.ek-check input::before {
	content: ""; width: 10px; height: 10px; background: #FFFFFF; transform: scale(0); transition: transform .12s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%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'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ek-check input:checked { background: var(--ek-ink); border-color: var(--ek-ink); }
.ek-check input:checked::before { transform: scale(1); }
.ek-check input:focus-visible { outline: 2px solid var(--ek-ink); outline-offset: 2px; }
.ek-check:hover input:not(:checked) { border-color: var(--ek-ink); }
.ek-check__label { min-width: 0; overflow-wrap: anywhere; }
.ek-facet__more > summary { display: inline-block; padding: 4px 0; font-size: 13px; font-weight: 600; color: var(--ek-brand-d); cursor: pointer; list-style: none; }
.ek-facet__more > summary::-webkit-details-marker { display: none; }
.ek-facet__more[open] > summary { display: none; }

.ek-price { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; color: var(--ek-muted); }
.ek-filters .ek-price input {
	width: 100%; height: 36px; min-height: 0; padding: 0 10px; margin: 0;
	border: 1px solid var(--ek-line-strong); border-radius: 8px; background: #FFFFFF;
	font-family: var(--ek-font); font-size: 14px; color: var(--ek-ink); box-shadow: none; -moz-appearance: textfield;
}
.ek-filters .ek-price input:focus { border-color: var(--ek-ink); box-shadow: var(--ek-focus); outline: none; }

.ek-filters__actions { display: flex; align-items: center; gap: 14px; padding-top: 14px; border-top: 1px solid var(--ek-line); }
.ek-filters__clear { font-size: 13px; font-weight: 600; color: var(--ek-brand-d); }
/* With the script every change applies at once; the button is only needed in the phone drawer. */
.ek-js .ek-filters__apply { display: none; }

/* The chosen filters, removable, above the products. */
.ek-chosen { clear: both; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0 0 20px; padding: 0; }
.ek-chosen li { margin: 0; }
.ek-chosen__chip {
	display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px 5px 12px; border-radius: 9999px;
	background: var(--ek-surface); color: var(--ek-ink); font-size: 13px; font-weight: 500; line-height: 1.3; text-decoration: none;
}
.ek-chosen__chip .ek-icon { width: 14px; height: 14px; color: var(--ek-muted); }
.ek-chosen__chip:hover { background: var(--ek-pink); color: var(--ek-brand-d); }
.ek-chosen__chip:hover .ek-icon { color: var(--ek-brand-d); }
.ek-chosen__clear { margin-left: 4px; font-size: 13px; font-weight: 600; color: var(--ek-brand-d); }
.ek-empty { margin-top: 16px; }
.ek-catalog--empty { display: block; }
.ek-empty + .ek-empty__cta { margin: 12px 0 0; }

/* Next to the filters: four products a row on wide screens, three below. */
@media (min-width: 922px) and (max-width: 1199px) {
	.ek-catalog__main ul.products:not(.elementor-grid).columns-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 921px) {
	.ek-catalog { display: block; }
	.ek-filters { position: static; max-height: none; overflow: visible; padding: 0 0 8px; margin-bottom: 16px; }
	.ek-js .ek-filters-toggle { display: inline-flex; float: left; min-height: 38px; padding: 8px 14px; margin: 0 10px 16px 0; font-size: 14px; }
	.ek-filters-toggle .ek-icon { width: 16px; height: 16px; }
	/* The drawer. */
	.ek-js .ek-filters {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 100001; width: min(88vw, 360px); max-height: none; margin: 0;
		padding: 0 20px 96px; overflow-y: auto; background: #FFFFFF;
		transform: translateX(-100%); visibility: hidden; transition: transform .25s ease, visibility 0s .25s;
	}
	.ek-filters-open .ek-filters { transform: none; visibility: visible; transition: transform .25s ease; }
	.ek-js .ek-filters__head {
		display: flex; align-items: center; justify-content: space-between; gap: 12px;
		position: sticky; top: 0; z-index: 1; margin: 0 -20px 4px; padding: 14px 20px 10px; background: #FFFFFF;
	}
	.ek-filters__head h2 { margin: 0; font-size: 18px; }
	.ek-filters__close { display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: var(--ek-surface); color: var(--ek-ink); cursor: pointer; }
	.ek-filters__close .ek-icon { width: 18px; height: 18px; }
	.ek-js .ek-filters__actions {
		position: fixed; bottom: 0; left: 0; z-index: 2; width: min(88vw, 360px); box-sizing: border-box;
		padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); background: #FFFFFF; border-top: 1px solid var(--ek-line);
	}
	.ek-js .ek-filters__apply { display: inline-flex; flex: 1; }
	.ek-filters-backdrop {
		display: block; position: fixed; inset: 0; z-index: 100000; background: rgba(61, 7, 3, .45);
		opacity: 0; pointer-events: none; transition: opacity .25s;
	}
	.ek-filters-open .ek-filters-backdrop { opacity: 1; pointer-events: auto; }
	.ek-filters-open, .ek-filters-open body { overflow: hidden; }
	.ek-chosen { margin-bottom: 16px; }
}

/* =========================================================================
   Tablets and phones (Astra's mobile header starts at 921px)
   ====================================================================== */

@media (max-width: 921px) {
	.ek-product-top { grid-template-columns: minmax(0, 1fr); }
	.woocommerce.single-product #content div.product .ek-product-top > div.images, .woocommerce.single-product #content div.product .ek-product-top > .woocommerce-product-gallery,
	.woocommerce.single-product #content div.product .ek-product-top > div.summary { grid-column: 1; }
	.woocommerce.single-product #content div.product .ek-product-top > div.summary { margin-top: 28px; }
	.ek-showcase { padding-bottom: 24px; }
}
@media (max-width: 544px) {
	.ek-shop .site-content > .ast-container { padding-top: 16px; padding-bottom: 56px; }
	.woocommerce ul.products, .woocommerce-page ul.products { column-gap: 12px; row-gap: 28px; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 13px; }
	.woocommerce ul.products li.product .price { font-size: 14px; }
	.woocommerce ul.products li.product .button.add_to_cart_button { min-height: 36px; padding: 7px 10px; font-size: 12.5px; }
	.ek-card-badge { left: 8px; top: 8px; font-size: 10.5px; padding: 3px 8px; }
	.woocommerce .woocommerce-result-count { margin-bottom: 12px; line-height: 1.4; }
	.ek-showcase { gap: 8px; }
	.ek-showcase__tile:nth-child(even) { transform: translateY(14px); }
	.ek-facts > div { grid-template-columns: 120px 1fr; }
}

/* =========================================================================
   Legal & Informational Pages (includes/pages.php)
   Rólunk, Szállítás és fizetés, Kapcsolat, ÁSZF, Adatkezelési, Impresszum
   Scoped with `html body .ek-doc` so theme / Additional CSS page-id rules
   never alter heading or body font sizes across pages.
   ====================================================================== */

html body .ek-doc {
	max-width: var(--ek-wrap); margin: 0 auto;
	font-family: var(--ek-font); color: var(--ek-text);
	font-size: 15px; line-height: 1.65; letter-spacing: 0;
}
html body .ek-doc :is(h1, h2, h3, h4) {
	font-family: var(--ek-font); color: var(--ek-ink);
	font-weight: 700; letter-spacing: -.015em; text-wrap: balance;
}
html body .ek-doc a:not(.ek-btn) {
	color: var(--ek-ink); text-decoration: underline; text-underline-offset: .18em;
}
html body .ek-doc a:not(.ek-btn):hover { color: var(--ek-brand-d); }

/* Page hero banner (identical across all info & legal pages) */
html body .ek-doc .ek-page-hero {
	padding: clamp(26px, 3.8vw, 48px); border-radius: 22px; margin: 0 0 32px;
	background: linear-gradient(135deg, var(--ek-pink) 0%, var(--ek-butter) 100%);
}
html body .ek-doc .ek-page-hero .ek-eyebrow {
	display: inline-block; margin: 0 0 12px; padding: 4px 12px; border-radius: 9999px; background: #FFFFFF;
	font-size: 12px; font-weight: 600; line-height: 1.4; color: var(--ek-brand-d); letter-spacing: .02em;
}
html body .ek-doc .ek-page-hero h1 {
	margin: 0 0 12px; font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.1; letter-spacing: -.02em; color: var(--ek-ink);
}
html body .ek-doc .ek-page-hero .ek-lede {
	margin: 0; max-width: 54em; font-size: 16px; line-height: 1.6; color: var(--ek-text);
}

/* Sections */
html body .ek-doc .ek-doc-section { margin-top: 40px; scroll-margin-top: 96px; }
html body .ek-doc .ek-doc-section > h2 {
	margin: 0 0 16px; font-size: clamp(20px, 2.1vw, 25px); font-weight: 700; line-height: 1.22; color: var(--ek-ink);
}
html body .ek-doc .ek-doc-section p { margin: 0 0 14px; font-size: 15px; line-height: 1.65; color: var(--ek-text); }
html body .ek-doc .ek-doc-section p:last-child { margin-bottom: 0; }
html body .ek-doc .ek-doc-section ul:not([class]),
html body .ek-doc .ek-doc-section ol:not([class]) { margin: 0 0 16px; padding-left: 22px; font-size: 15px; line-height: 1.65; }
html body .ek-doc .ek-doc-section ul:not([class]) li,
html body .ek-doc .ek-doc-section ol:not([class]) li { margin: 0 0 8px; }

/* Callout boxes & check lists */
html body .ek-doc .ek-callout-box {
	padding: 22px 24px; border-radius: var(--ek-r-lg);
	background: var(--ek-surface); border: 1px solid var(--ek-line);
}
html body .ek-doc .ek-callout-box--summary { background: var(--ek-butter); border-color: rgba(61, 7, 3, .1); margin-bottom: 24px; }
html body .ek-doc .ek-callout-box h3 { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ek-ink); }
html body .ek-doc .ek-check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
html body .ek-doc .ek-check-list li {
	display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start;
	margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ek-text);
}
html body .ek-doc .ek-check-list .ek-icon { width: 20px; height: 20px; color: var(--ek-brand-d); margin-top: 2px; }

/* Info cards grid (2 or 3 columns) */
html body .ek-doc .ek-info-cards { display: grid; gap: 16px; }
html body .ek-doc .ek-info-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html body .ek-doc .ek-info-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
html body .ek-doc .ek-info-card {
	position: relative; padding: 22px 24px; border-radius: var(--ek-r-lg);
	background: #FFFFFF; border: 1px solid var(--ek-line-strong);
	display: flex; flex-direction: column; gap: 8px;
}
html body .ek-doc .ek-info-card__icon {
	width: 38px; height: 38px; border-radius: 50%; background: var(--ek-pink); color: var(--ek-ink);
	display: grid; place-items: center; margin-bottom: 4px;
}
html body .ek-doc .ek-info-card:nth-child(2) .ek-info-card__icon { background: var(--ek-butter); }
html body .ek-doc .ek-info-card:nth-child(3) .ek-info-card__icon { background: var(--ek-mint); }
html body .ek-doc .ek-info-card:nth-child(4) .ek-info-card__icon { background: var(--ek-sky); }
html body .ek-doc .ek-info-card__icon .ek-icon { width: 20px; height: 20px; }
html body .ek-doc .ek-info-card .ek-badge {
	position: absolute; top: 20px; right: 20px; padding: 3px 10px; border-radius: 9999px;
	background: var(--ek-surface); color: var(--ek-ink); font-size: 11.5px; font-weight: 600; line-height: 1.4;
}
html body .ek-doc .ek-info-card h3 { margin: 0; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--ek-ink); }
html body .ek-doc .ek-info-card p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--ek-text); }
html body .ek-doc .ek-info-card__sub { margin-top: 6px !important; padding-top: 10px; border-top: 1px solid var(--ek-line); font-size: 13.5px !important; }
html body .ek-doc .ek-meta-list { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 7px; font-size: 14px; line-height: 1.5; color: var(--ek-text); }
html body .ek-doc .ek-meta-list li { margin: 0; padding-top: 7px; border-top: 1px solid var(--ek-line); }
html body .ek-doc .ek-meta-list li:first-child { padding-top: 0; border-top: 0; }
html body .ek-doc .ek-meta-list strong { color: var(--ek-ink); }

/* Table of contents in legal documents */
html body .ek-doc .ek-toc {
	padding: 20px 24px; border-radius: var(--ek-r-lg); background: var(--ek-surface); border: 1px solid var(--ek-line);
	margin: 0 0 32px;
}
html body .ek-doc .ek-toc strong { display: block; margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ek-ink); }
html body .ek-doc .ek-toc ol {
	margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; font-size: 14px; line-height: 1.55;
}
html body .ek-doc .ek-toc li { margin: 0 0 6px; break-inside: avoid; }
html body .ek-doc .ek-toc a { text-decoration: none; font-weight: 500; color: var(--ek-ink); }
html body .ek-doc .ek-toc a:hover { color: var(--ek-brand-d); text-decoration: underline; }

/* Statutory & GDPR tables */
html body .ek-doc .ek-table-wrap { overflow-x: auto; margin: 12px 0 18px; border: 1px solid var(--ek-line-strong); border-radius: var(--ek-r); background: #FFFFFF; }
html body .ek-doc table.ek-doc-table { width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
html body .ek-doc table.ek-doc-table th,
html body .ek-doc table.ek-doc-table td {
	padding: 12px 16px; border: 0; border-top: 1px solid var(--ek-line); text-align: left; vertical-align: top;
}
html body .ek-doc table.ek-doc-table tr:first-child :is(th, td) { border-top: 0; }
html body .ek-doc table.ek-doc-table thead th {
	background: var(--ek-surface); color: var(--ek-ink); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; border-bottom: 1px solid var(--ek-line-strong);
}
html body .ek-doc table.ek-doc-table tbody th { width: 32%; background: var(--ek-surface); color: var(--ek-ink); font-weight: 600; }
html body .ek-doc table.ek-doc-table code { padding: 2px 6px; border-radius: 5px; background: var(--ek-surface); font-size: 12.5px; color: var(--ek-ink); }

/* Bottom CTA band */
html body .ek-doc .ek-cta-band {
	display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap;
	margin-top: 48px; padding: clamp(24px, 3.6vw, 38px); border-radius: 20px; background: var(--ek-pink);
}
html body .ek-doc .ek-cta-band h2 { margin: 0 0 6px; font-size: clamp(20px, 2.1vw, 25px); font-weight: 700; line-height: 1.22; color: var(--ek-ink); }
html body .ek-doc .ek-cta-band p { color: var(--ek-text); margin: 0; max-width: 38em; font-size: 15px; line-height: 1.6; }
.woocommerce-terms-and-conditions .ek-toc { display: none; }
.woocommerce-terms-and-conditions .ek-page-hero { padding: 18px 20px; margin-bottom: 18px; }
.woocommerce-terms-and-conditions .ek-page-hero h1 { font-size: 22px; }

@media (max-width: 921px) {
	html body .ek-doc .ek-info-cards--2,
	html body .ek-doc .ek-info-cards--3 { grid-template-columns: minmax(0, 1fr); }
	html body .ek-doc .ek-toc ol { columns: 1; }
}
@media (max-width: 544px) {
	html body .ek-doc .ek-page-hero { padding: 22px 18px; border-radius: 18px; }
	html body .ek-doc table.ek-doc-table tbody th,
	html body .ek-doc table.ek-doc-table tbody td { display: block; width: auto; }
	html body .ek-doc table.ek-doc-table tbody th { border-bottom: 0; padding-bottom: 4px; }
	html body .ek-doc table.ek-doc-table tbody td { border-top: 0; padding-top: 2px; }
	html body .ek-doc .ek-cta-band .ek-btn { width: 100%; }
}
