/* Eofent Storefront — global styles. Variables (--ef-*) are injected from Storefront settings. */

/* ---------- Base ---------- */
body.ef-storefront {
	margin: 0;
	background: var(--ef-background);
	color: var(--ef-text);
	font-family: var(--ef-font-body);
	font-size: 16px;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
}
body.ef-storefront *, body.ef-storefront *::before, body.ef-storefront *::after { box-sizing: border-box; }
/* Never let anything widen the page sideways on phones (carousel scroll width, off-screen cart drawer).
   overflow: clip keeps position: sticky working, unlike hidden. */
body.ef-storefront { overflow-x: clip; }
.ef-site { overflow-x: clip; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; } /* footer sits at the bottom on short pages */
.ef-site > .ef-main { flex: 1 0 auto; }
.ef-site > .ef-footer-wrap { flex: 0 0 auto; }
@media (max-width: 960px) { .ef-showcase { overflow: hidden; } }
body.ef-storefront img { max-width: 100%; height: auto; }
body.ef-storefront a { color: inherit; }
body.ef-storefront h1, body.ef-storefront h2, body.ef-storefront h3, body.ef-storefront h4 {
	font-family: var(--ef-font-heading);
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.5em;
	font-weight: 800;
}
body.ef-storefront h1 { font-size: clamp(2rem, 4vw, 3rem); }
body.ef-storefront h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
body.ef-storefront h3 { font-size: 1.35rem; }
body.ef-storefront p { margin: 0 0 1em; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }
.skip-link:focus { position: fixed; left: 8px; top: 8px; z-index: 9999; padding: 8px 12px; background: var(--ef-text); color: #fff; clip: auto; width: auto; height: auto; }

.ef-container { width: min(100% - 2 * var(--ef-gutter, 16px), var(--ef-container, 1200px)); margin-inline: auto; }
/* Constrained sections always centre their content, even when the active theme has no layout
   support (classic theme without theme.json) — mirrors WordPress' own constrained-layout rule. */
body.ef-storefront .ef-section > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { max-width: min(100% - 2 * var(--ef-gutter, 16px), var(--ef-container, 1200px)); margin-inline: auto; }
/* Full-width layout (Appearance → Page layout → Full width): the outer edges get a gutter, the
   header keeps logo left / icons right, the footer columns spread across the window. */
body.ef-layout-full .ef-header-actions { margin-left: auto; }
body.ef-layout-full .ef-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
@media (min-width: 1500px) { body.ef-layout-full .ef-footer-grid { grid-template-columns: 2.4fr 1fr 1fr 1fr; gap: 64px; } }
.ef-narrow { width: min(100%, 760px); margin-inline: auto; }
.ef-main { padding-block: 32px 72px; }
.ef-is-home .ef-main { padding-block: 0 24px; }

.ef-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.78rem;
	font-weight: 700;
	color: var(--ef-primary-dark);
	margin-bottom: 8px;
}
.ef-dark-card .ef-eyebrow, .has-white-color.ef-eyebrow { color: var(--ef-primary); }

/* Buttons (core button block + our own) */
body.ef-storefront .wp-block-button__link,
.ef-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 26px;
	border-radius: var(--ef-btn-radius, 999px);
	background: var(--ef-primary);
	color: var(--ef-text);
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	border: 2px solid var(--ef-primary);
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
	line-height: 1.2;
}
body.ef-storefront .wp-block-button__link:hover, .ef-btn:hover { background: var(--ef-primary-dark); border-color: var(--ef-primary-dark); transform: translateY(-1px); }
body.ef-storefront .is-style-outline .wp-block-button__link { background: transparent; color: var(--ef-text); }
body.ef-storefront .is-style-outline .wp-block-button__link:hover { background: var(--ef-primary); }
body.ef-storefront .ef-btn-light .wp-block-button__link { color: #fff; border-color: #fff; background: transparent; }
body.ef-storefront .ef-btn-light .wp-block-button__link:hover { background: #fff; color: var(--ef-text); }
body.ef-storefront .ef-pill .wp-block-button__link { padding: 9px 18px; font-size: 0.9rem; border-color: rgba(0, 0, 0, 0.12); background: var(--ef-background); }
body.ef-storefront .ef-pill .wp-block-button__link:hover { border-color: var(--ef-primary); background: var(--ef-primary); }
.ef-btn-dark { background: var(--ef-text); border-color: var(--ef-text); color: #fff; }
.ef-btn-dark:hover { background: #000; border-color: #000; }

/* ---------- Announcement + header ---------- */
.ef-announcement {
	background: var(--ef-text);
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	text-align: center;
	padding: 8px 0;
	letter-spacing: 0.02em;
}
.ef-header {
	position: relative;
	z-index: 50;
	background: var(--ef-background);
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.ef-header-inner {
	display: flex;
	align-items: center;
	gap: var(--ef-header-gap, 20px);
	min-height: var(--ef-header-min, 64px);
	padding: var(--ef-header-pad, 12px) 0;
}
.ef-logo { display: inline-flex; align-items: center; text-decoration: none; flex: 0 1 auto; min-width: 0; }
/* body.ef-storefront img { height:auto } must not win here (bug: giant logo) */
body.ef-storefront .ef-logo-img, .ef-logo-img { height: var(--ef-logo-h, 40px); max-height: none; width: auto; max-width: none; }
.ef-logo-text {
	font-family: var(--ef-font-heading);
	font-weight: 900;
	font-size: calc(clamp(1.1rem, 1.6vw, 1.5rem) * var(--ef-name-scale, 1));
	letter-spacing: -0.02em;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 280px;
}
.ef-nav { flex: 1 1 auto; min-width: 0; display: flex; justify-content: center; }
/* Menu placement (Header & footer → Menu placement) */
body.ef-nav-left .ef-nav { justify-content: flex-start; padding-left: 12px; }
body.ef-nav-left .ef-nav-list { justify-content: flex-start; }
@media (min-width: 961px) {
	body.ef-nav-below .ef-header-inner { flex-wrap: wrap; row-gap: 0; }
	body.ef-nav-below .ef-logo { order: 1; }
	body.ef-nav-below .ef-header-actions { order: 2; margin-left: auto; }
	body.ef-nav-below .ef-nav { order: 3; flex-basis: 100%; justify-content: center; border-top: 1px solid rgba(0, 0, 0, 0.06); padding: 4px 0; }
	body.ef-nav-below.ef-header-dark .ef-nav { border-top-color: rgba(255, 255, 255, 0.1); }
	body.ef-nav-below .ef-nav-list a { padding: 12px 16px; letter-spacing: 0.02em; }
}
.ef-nav-list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: 2px; flex-wrap: nowrap; overflow: visible; } /* visible: dropdowns must not be clipped */
.ef-nav-list::-webkit-scrollbar { display: none; }
.ef-nav-list li { position: relative; flex: 0 0 auto; }
.ef-nav-list a {
	display: block;
	padding: 10px 12px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 700;
	font-size: calc(1rem * var(--ef-nav-scale, 1));
	white-space: nowrap;
	transition: background 0.15s ease;
}
.ef-nav-list a:hover { background: var(--ef-surface); }
.ef-nav-list .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 220px;
	padding: 8px;
	margin: 0;
	list-style: none;
	background: var(--ef-background);
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.ef-nav-list li:hover > .sub-menu, .ef-nav-list li:focus-within > .sub-menu { display: block; }
.ef-nav-list .sub-menu { left: 50%; transform: translateX(-50%); padding-top: 10px; }
.ef-nav-list .sub-menu::before { content: ""; position: absolute; top: -8px; left: 0; right: 0; height: 12px; } /* hover bridge */
.ef-caret { display: inline-block; width: 7px; height: 7px; margin-left: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-3px) rotate(45deg); vertical-align: middle; opacity: 0.8; }
body.ef-header-dark .ef-nav-list .sub-menu a { color: #fff; }
@media (max-width: 960px) { .ef-nav-list .sub-menu { transform: none; left: 0; padding-top: 0; } }
.ef-nav-list .sub-menu a { border-radius: 10px; }

.ef-header-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.ef-lang { display: flex; gap: 2px; margin-right: 4px; }
.ef-lang a { font-size: 0.75rem; font-weight: 700; padding: 6px 8px; border-radius: 999px; text-decoration: none; color: var(--ef-muted); }
.ef-lang a.is-current { background: var(--ef-surface); color: var(--ef-text); }
.ef-search { position: relative; display: flex; align-items: center; }
.ef-search input {
	width: 190px;
	padding: 10px 40px 10px 14px;
	border-radius: 999px;
	border: 1px solid rgba(0, 0, 0, 0.12);
	background: var(--ef-surface);
	font: inherit;
	font-size: 0.9rem;
	transition: width 0.2s ease, border-color 0.15s ease;
}
.ef-search input:focus { outline: none; border-color: var(--ef-primary); width: 240px; }
.ef-search button { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: transparent; padding: 6px; cursor: pointer; color: var(--ef-muted); display: grid; place-items: center; }
.ef-icon-btn {
	position: relative;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	color: var(--ef-text);
	text-decoration: none;
	transition: background 0.15s ease;
}
.ef-icon-btn:hover { background: var(--ef-surface); }
.ef-cart-count {
	position: absolute;
	top: 2px;
	right: 2px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--ef-primary);
	color: var(--ef-text);
	font-size: 0.7rem;
	font-weight: 800;
	display: grid;
	place-items: center;
}
.ef-mini-cart .wc-block-mini-cart__button { padding: 8px 10px; border-radius: 999px; color: var(--ef-text); }
.ef-mini-cart .wc-block-mini-cart__button:hover { background: var(--ef-surface); }
.ef-mini-cart .wc-block-mini-cart__badge { background: var(--ef-primary); color: var(--ef-text); border-color: var(--ef-background); }

.ef-menu-toggle { display: none; }

@media (max-width: 1100px) {
	.ef-search input { width: 150px; }
}
@media (max-width: 960px) {
	.ef-header-inner { flex-wrap: wrap; }
	.ef-menu-toggle {
		display: grid;
		gap: 5px;
		width: 42px;
		height: 42px;
		place-content: center;
		border: 0;
		background: transparent;
		cursor: pointer;
		order: -1;
	}
	.ef-menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ef-text); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
	.ef-menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ef-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.ef-menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.ef-logo { flex: 1 1 auto; justify-content: center; }
	.ef-logo-text { max-width: 60vw; }
	.ef-nav {
		display: none;
		flex-basis: 100%;
		padding: 8px 0 16px;
		border-top: 1px solid rgba(0, 0, 0, 0.06);
	}
	.ef-nav.is-open { display: block; }
	.ef-nav-list { flex-direction: column; gap: 0; overflow: visible; }
	.ef-nav-list a { padding: 12px 8px; border-radius: 10px; }
	.ef-nav-list .sub-menu { display: block; position: static; box-shadow: none; border: 0; padding: 0 0 0 16px; }
	.ef-search { display: none; }
	/* phone: the search lives inside the opened menu, full width */
	.ef-header-inner:has(.ef-nav.is-open) .ef-search { display: flex; order: 4; flex-basis: 100%; margin: 0 0 8px; }
	.ef-header-inner:has(.ef-nav.is-open) .ef-search input, .ef-header-inner:has(.ef-nav.is-open) .ef-search input:focus { width: 100%; }
	.ef-header-inner:has(.ef-nav.is-open) .ef-nav { order: 5; }
}

/* Sticky: the <header> wrapper is a direct child of .ef-site, so it can stick for the whole page
   (a sticky element only sticks inside its parent — that was the 0.3 bug). */
body.ef-sticky-header .ef-header-wrap { position: sticky; top: 0; z-index: 50; }
body.ef-sticky-header.admin-bar .ef-header-wrap { top: 32px; }
@media (max-width: 782px) { body.ef-sticky-header.admin-bar .ef-header-wrap { top: 46px; } }

/* ---------- Dark header (default): same color as the footer, white text ---------- */
body.ef-header-dark .ef-header { background: var(--ef-text); color: #fff; border-bottom-color: rgba(255, 255, 255, 0.08); }
body.ef-header-dark .ef-logo-text, body.ef-header-dark .ef-nav-list a, body.ef-header-dark .ef-icon-btn,
body.ef-header-dark .ef-mini-cart .wc-block-mini-cart__button, body.ef-header-dark .ef-menu-toggle { color: #fff; }
body.ef-header-dark .ef-menu-toggle span { background: #fff; }
body.ef-header-dark .ef-nav-list a:hover, body.ef-header-dark .ef-icon-btn:hover,
body.ef-header-dark .ef-mini-cart .wc-block-mini-cart__button:hover { background: rgba(255, 255, 255, 0.12); }
body.ef-header-dark .ef-nav-list .sub-menu { background: var(--ef-text); border-color: rgba(255, 255, 255, 0.1); }
body.ef-header-dark .ef-lang a { color: rgba(255, 255, 255, 0.7); }
body.ef-header-dark .ef-lang a.is-current { background: rgba(255, 255, 255, 0.14); color: #fff; }
body.ef-header-dark .ef-search input { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
body.ef-header-dark .ef-search input::placeholder { color: rgba(255, 255, 255, 0.6); }
body.ef-header-dark .ef-search button { color: #fff; }
body.ef-header-dark .ef-mini-cart .wc-block-mini-cart__badge { border-color: var(--ef-text); }
body.ef-header-dark .ef-announcement { background: var(--ef-primary); color: var(--ef-text); }
@media (max-width: 960px) { body.ef-header-dark .ef-nav { border-top-color: rgba(255, 255, 255, 0.1); } }
body.ef-no-ratings .ef-card-rating, body.ef-no-ratings .star-rating, body.ef-no-ratings .woocommerce-product-rating { display: none !important; }
body.ef-storefront .ef-newsletter-form input, body.ef-storefront .ef-search input, body.ef-storefront .woocommerce-ordering select { border-radius: var(--ef-btn-radius, 999px); }

/* ---------- Sections ---------- */
.ef-section-head { margin-bottom: 20px; }
.ef-section-title { margin: 0; }
.ef-section-link { margin: 0; font-weight: 700; }
.ef-section-link a { text-decoration: none; color: var(--ef-primary-dark); }
.ef-section-link a:hover { text-decoration: underline; }
body.ef-storefront .ef-hero.wp-block-cover { padding-inline: 0; } /* WP's 1em cover padding would shift the hero edge 16px from the header's */
/* .has-custom-content-position.has-custom-content-position (WP core) resets the inner margin — outrank it */
body.ef-storefront .ef-hero .wp-block-cover__inner-container, body.ef-storefront .ef-hero.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container { width: min(100% - 2 * var(--ef-gutter, 16px), var(--ef-container, 1200px)); margin: 0 auto; }
/* Third-party theme CSS must never recolor hero text (seen with the Hostinger AI theme). */
body.ef-storefront .ef-hero .has-white-color, body.ef-storefront .ef-hero h1, body.ef-storefront .ef-hero p { color: #fff !important; }
body.ef-storefront .ef-hero .ef-eyebrow { color: var(--ef-primary) !important; }
.ef-hero .ef-eyebrow { color: var(--ef-primary); }
.ef-promo .wp-block-cover__inner-container h3 { font-size: 1.7rem; }
.ef-promo .wp-block-cover__inner-container p { max-width: 36ch; }
.ef-soft-card h3 { margin-top: 4px; }
.ef-popular-row { font-size: 0.9rem; color: var(--ef-muted); }
.ef-popular-row a { color: var(--ef-text); text-decoration: none; }
.ef-popular-row a:hover { text-decoration: underline; }
.ef-tags .ef-section-title { margin-bottom: 20px; }

/* ---------- Pages / posts ---------- */
.ef-page-header { margin-bottom: 28px; }
.ef-page-title { margin: 0; }
.ef-entry > * { max-width: 100%; }
.ef-post-thumb img { border-radius: var(--ef-radius); }
.ef-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 900px) { .ef-post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .ef-post-grid { grid-template-columns: 1fr; } }
.ef-post-card-media img { border-radius: var(--ef-radius); aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.ef-post-card-title { font-size: 1.2rem; }
.ef-post-card-title a { text-decoration: none; }
.ef-pagination { margin-top: 40px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; } /* pill styles: woocommerce.css */
.ef-404 { text-align: center; padding: 60px 0; }

/* ---------- Newsletter + footer ---------- */
.ef-newsletter { background: var(--ef-primary); color: var(--ef-text); }
.ef-newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: var(--ef-nl-pad, 28px) 0; flex-wrap: wrap; }
.ef-newsletter-title { margin: 0 0 4px; font-size: 1.35rem; }
.ef-newsletter-text { margin: 0; max-width: 46ch; }
.ef-newsletter-form { display: block; flex: 0 1 460px; }
.ef-newsletter-form input {
	flex: 1;
	padding: 14px 18px;
	border-radius: 999px;
	border: 2px solid transparent;
	font: inherit;
	background: #fff;
}
.ef-newsletter-form input:focus { outline: none; border-color: var(--ef-text); }

.ef-footer { background: var(--ef-surface); padding-top: 56px; }
.ef-footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
@media (max-width: 900px) { .ef-footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .ef-footer-grid { grid-template-columns: 1fr; } }
.ef-footer-logo { font-family: var(--ef-font-heading); font-weight: 900; font-size: 1.4rem; margin: 0 0 8px; }
.ef-footer-about { color: var(--ef-muted); max-width: 40ch; }
.ef-footer-contact { display: grid; gap: 6px; margin: 4px 0 12px; font-size: 0.9rem; color: var(--ef-muted); }
.ef-footer-line { display: flex; align-items: flex-start; gap: 8px; color: inherit; text-decoration: none; line-height: 1.5; }
.ef-footer-line svg { flex: 0 0 auto; margin-top: 3px; color: var(--ef-primary); }
a.ef-footer-line:hover span { text-decoration: underline; }
body.ef-footer-dark .ef-footer-contact { color: rgba(255, 255, 255, 0.75); }
.ef-social { flex-wrap: wrap; }
.ef-footer-col h3 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px; }
.ef-footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ef-footer-col a { text-decoration: none; color: var(--ef-text); opacity: 0.85; }
.ef-footer-col a:hover { opacity: 1; text-decoration: underline; }
.ef-social { display: flex; gap: 8px; margin-top: 12px; }
.ef-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; background: var(--ef-background); color: var(--ef-text); }
.ef-footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 20px 0 28px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-size: 0.85rem; color: var(--ef-muted); }
.ef-footer-bottom p { margin: 0; }
.ef-footer-credit a { color: inherit; }

/* Gradient option: same text rules as dark, background = --ef-gradient (Appearance → gradient colors) */
body.ef-header-gradient .ef-header { background: var(--ef-gradient); border-bottom-color: rgba(255, 255, 255, 0.12); }
body.ef-header-gradient .ef-nav-list .sub-menu { background: var(--ef-text); }
body.ef-footer-gradient.ef-footer-dark .ef-footer, body.ef-footer-gradient .ef-footer { background: var(--ef-gradient-footer, var(--ef-gradient)); } /* must outrank the .ef-footer-dark rule below */

/* Dark footer (default): same color as the header, so header / content / footer read as three bands */
body.ef-footer-dark .ef-footer { background: var(--ef-text); color: #fff; }
body.ef-footer-dark .ef-footer-about, body.ef-footer-dark .ef-footer-bottom { color: rgba(255, 255, 255, 0.7); }
body.ef-footer-dark .ef-footer-col a { color: #fff; }
body.ef-footer-dark .ef-footer-col h3 { color: var(--ef-primary); }
body.ef-footer-dark .ef-social a { background: rgba(255, 255, 255, 0.1); color: #fff; }
body.ef-footer-dark .ef-social a:hover { background: var(--ef-primary); color: var(--ef-text); }
body.ef-footer-dark .ef-footer-bottom { border-top-color: rgba(255, 255, 255, 0.12); }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
	body.ef-storefront * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Header search suggestions (max 3, no scrollbar) ---------- */
.ef-search-results {
	position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
	width: min(380px, calc(100vw - 32px));
	background: var(--ef-background); color: var(--ef-text);
	border: 1.5px solid var(--ef-border, rgba(0, 0, 0, 0.1)); border-radius: var(--ef-radius, 16px);
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16); padding: 10px; overflow: hidden;
}
.ef-sr-title { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ef-muted); padding: 4px 8px 8px; border-bottom: 1px solid rgba(0, 0, 0, 0.08); margin-bottom: 4px; }
.ef-sr-item { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 12px; text-decoration: none; color: inherit; }
.ef-sr-item:hover, .ef-sr-item:focus { background: var(--ef-surface); }
.ef-sr-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; background: var(--ef-surface); display: block; }
.ef-sr-body { display: grid; gap: 2px; min-width: 0; }
.ef-sr-name { font-weight: 700; font-family: var(--ef-font-heading); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ef-sr-rating { display: flex; align-items: center; gap: 6px; font-size: 0.75rem; color: var(--ef-muted); }
.ef-sr-rating .ef-stars { display: inline-flex; gap: 1px; }
.ef-sr-rating .ef-star { width: 11px; height: 11px; }
.ef-sr-price { font-weight: 700; font-size: 0.9rem; }
.ef-sr-price del { color: var(--ef-muted); font-weight: 400; margin-right: 4px; }
.ef-sr-more { display: block; text-align: center; padding: 10px 8px 6px; margin-top: 4px; border-top: 1px solid rgba(0, 0, 0, 0.08); font-weight: 700; font-size: 0.85rem; text-decoration: none; color: var(--ef-primary-dark); }
.ef-sr-more:hover { text-decoration: underline; }
.ef-sr-empty { padding: 14px 8px; color: var(--ef-muted); font-size: 0.9rem; }
body.ef-header-dark .ef-search-results { color: var(--ef-text); }
@media (max-width: 960px) {
	.ef-search { display: none; }
	/* phone: the search lives inside the opened menu, full width */
	.ef-header-inner:has(.ef-nav.is-open) .ef-search { display: flex; order: 4; flex-basis: 100%; margin: 0 0 8px; }
	.ef-header-inner:has(.ef-nav.is-open) .ef-search input, .ef-header-inner:has(.ef-nav.is-open) .ef-search input:focus { width: 100%; }
	.ef-header-inner:has(.ef-nav.is-open) .ef-nav { order: 5; }
}

/* FAQ accordions (core "Details" block) */
body.ef-storefront .wp-block-details { border: var(--ef-border-w, 2px) solid var(--ef-border); border-radius: var(--ef-radius, 16px); background: var(--ef-surface); padding: 0; margin: 0 0 12px; overflow: hidden; }
body.ef-storefront .wp-block-details > summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 700; font-family: var(--ef-font-heading); font-size: 1.05rem; position: relative; }
body.ef-storefront .wp-block-details > summary::-webkit-details-marker { display: none; }
body.ef-storefront .wp-block-details > summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 999px; background: var(--ef-primary); color: var(--ef-text); display: grid; place-items: center; font-weight: 800; font-size: 1.1rem; line-height: 1; }
body.ef-storefront .wp-block-details[open] > summary::after { content: "−"; }
body.ef-storefront .wp-block-details[open] > summary { border-bottom: 1px solid rgba(0, 0, 0, 0.08); }
body.ef-storefront .wp-block-details > :not(summary) { padding: 0 20px; }
body.ef-storefront .wp-block-details > p { margin: 14px 0; }
body.ef-storefront .wp-block-details > :last-child { padding-bottom: 6px; }

/* ---------- Page title band (under the header) ---------- */
/* Band size (%) scales padding AND the title together, so 75 % really reads as a smaller band */
.ef-page-band { padding: var(--ef-band-pad, 4px) 0; }
.ef-page-band-inner { display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap; }
.ef-page-band-title { margin: 0; font-size: calc(clamp(1.05rem, 1.7vw, 1.45rem) * var(--ef-band-title, 1) * var(--ef-band-scale, 0.75) / 0.75); line-height: 1.3; text-transform: uppercase; letter-spacing: 0.02em; }
.ef-page-band-sub { margin: 0; opacity: 0.85; max-width: 60ch; font-size: calc(0.9rem * var(--ef-band-scale, 0.75) / 0.75); }
.ef-page-band.is-accent { background: var(--ef-accent); color: #fff; }
.ef-page-band.is-dark { background: var(--ef-text); color: #fff; }
.ef-page-band.is-gradient { background: var(--ef-gradient); color: #fff; }
.ef-page-band.is-surface { background: var(--ef-surface); color: var(--ef-text); border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.ef-page-band.is-surface .ef-page-band-title { border-left: 4px solid var(--ef-accent); padding-left: 12px; }
.ef-page-band.is-line { background: transparent; color: var(--ef-text); border-bottom: 2px solid var(--ef-accent); }
.ef-page-band.is-sticky { position: sticky; z-index: 40; top: 0; }
body.ef-sticky-header .ef-page-band.is-sticky { top: var(--ef-header-h, 76px); }
body.ef-sticky-header.admin-bar .ef-page-band.is-sticky { top: calc(var(--ef-header-h, 76px) + 32px); }
/* Boxed band: the color only spans the content column, so it reads as part of the page, not as a
   third site-wide bar between the full-width header and footer */
.ef-page-band.is-boxed { background: transparent !important; border: 0 !important; padding: 12px 0 0; }
.ef-page-band.is-boxed .ef-page-band-inner { padding: var(--ef-band-pad, 4px) 16px; border-radius: calc(var(--ef-radius, 16px) * 0.6); }
.ef-page-band.is-boxed.is-accent .ef-page-band-inner { background: var(--ef-accent); color: #fff; }
.ef-page-band.is-boxed.is-dark .ef-page-band-inner { background: var(--ef-text); color: #fff; }
.ef-page-band.is-boxed.is-gradient .ef-page-band-inner { background: var(--ef-gradient); color: #fff; }
.ef-page-band.is-boxed.is-surface .ef-page-band-inner { background: var(--ef-surface); color: var(--ef-text); }
.ef-page-band.is-boxed.is-line .ef-page-band-inner { padding-left: 0; padding-right: 0; border-radius: 0; border-bottom: 2px solid var(--ef-accent); }
.ef-page-band.is-boxed.is-sticky { background: var(--ef-background) !important; }
.ef-page-band + .ef-main { padding-top: 28px; }
.ef-page-band + .ef-main .ef-shop-intro:first-child { margin-top: 0; }

/* Sticky header: anchors, focus targets and scrollIntoView() land below the header, not under it */
body.ef-sticky-header .ef-main :is(h1, h2, h3, h4, form, button, input, a, li, section, article, details, table, .ef-card) { scroll-margin-top: calc(var(--ef-header-h, 72px) + 16px); }

/* Language dropdown (Header → language switcher) */
.ef-lang-dd { position: relative; margin-right: 6px; }
.ef-lang-current { display: inline-flex; align-items: center; gap: 2px; font: inherit; font-size: 0.78rem; font-weight: 700; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(0, 0, 0, 0.15); background: transparent; color: var(--ef-text); cursor: pointer; }
body.ef-header-dark .ef-lang-current { color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.ef-lang-menu { position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; margin: 0; padding: 6px; list-style: none; background: var(--ef-background); color: var(--ef-text); border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 12px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14); z-index: 60; display: none; }
.ef-lang-dd.is-open .ef-lang-menu, .ef-lang-dd:focus-within .ef-lang-menu { display: block; }
.ef-lang-menu a { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: inherit; font-size: 0.9rem; }
.ef-lang-menu a:hover, .ef-lang-menu a:focus { background: var(--ef-surface); }
.ef-lang-menu a.is-current { font-weight: 700; }
.ef-lang-code { font-size: 0.72rem; font-weight: 700; color: var(--ef-muted); width: 24px; }

/* Content pages: text and heading size (Appearance → Content text / headings) */
.ef-page-content, .ef-post-content, .ef-entry, .ef-main .entry-content { font-size: calc(1rem * var(--ef-content-scale, 1)); }
.ef-entry h1, .ef-entry h2, .ef-entry h3, .ef-post-content h1, .ef-post-content h2, .ef-post-content h3 { font-size: calc(var(--ef-h-base, 1.6em) * var(--ef-heading-scale, 1)); }
.ef-entry h1, .ef-post-content h1 { --ef-h-base: 2.2em; }
.ef-entry h2, .ef-post-content h2 { --ef-h-base: 1.6em; }
.ef-entry h3, .ef-post-content h3 { --ef-h-base: 1.25em; }
.ef-page-title { font-size: calc(2rem * var(--ef-heading-scale, 1)); }

/* About page starter (Pages → About) */
.ef-entry .ef-about-hero { border-radius: var(--ef-radius, 16px); overflow: hidden; background: var(--ef-surface); margin: 0 0 32px; }
.ef-entry .ef-about-hero .wp-block-media-text__content { padding: 32px; }
.ef-entry .ef-about-hero .wp-block-media-text__media img { object-fit: cover; height: 100%; }
.ef-entry .ef-facts { gap: 16px; margin: 0 0 32px; }
.ef-entry .ef-facts .wp-block-column { background: var(--ef-surface); border-radius: var(--ef-radius, 16px); padding: 20px 22px; }
.ef-entry .ef-fact { margin: 0; font-size: 2rem; line-height: 1; color: var(--ef-primary-dark); }
.ef-entry .ef-fact-label { margin: 6px 0 0; color: var(--ef-muted); font-size: 0.9rem; }

/* Newsletter: field + button on one row, quiet note below, success text replaces the row */
.ef-newsletter-row { display: flex; gap: 8px; }
.ef-newsletter-row input { flex: 1 1 auto; min-width: 0; }
.ef-newsletter-note { margin: 8px 2px 0; font-size: 0.8rem; opacity: 0.85; }
.ef-newsletter-done { margin: 0; font-weight: 700; padding: 12px 16px; background: rgba(255, 255, 255, 0.85); color: var(--ef-text); border-radius: 12px; }
@media (max-width: 600px) { .ef-newsletter-row { flex-direction: column; } }
