/* Eofent Storefront — WooCommerce overrides (loaded only when WooCommerce is active). */

/* Shop grid */
.ef-storefront ul.products {
	display: grid !important;
	grid-template-columns: repeat(var(--ef-shop-cols, 4), minmax(0, 1fr));
	gap: 24px;
	margin: 0 0 40px;
	padding: 0;
	list-style: none;
}
.ef-storefront ul.products::before, .ef-storefront ul.products::after { display: none; }
.ef-storefront ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
	display: flex;
	flex-direction: column;
	text-align: left;
}
@media (max-width: 1024px) { .ef-storefront ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .ef-storefront ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

.ef-storefront ul.products li.product a img {
	border-radius: var(--ef-radius);
	aspect-ratio: var(--ef-card-ratio, 1 / 1);
	object-fit: cover;
	margin: 0 0 12px !important;
	background: var(--ef-surface);
	transition: transform 0.3s ease;
}
.ef-storefront ul.products li.product:hover a img { transform: scale(1.02); }
.ef-storefront ul.products li.product .woocommerce-loop-product__title,
.ef-storefront ul.products li.product h2 { font-size: 1rem !important; font-weight: 600; padding: 0 !important; margin: 0 0 6px !important; }
.ef-storefront ul.products li.product .price { color: var(--ef-text) !important; font-weight: 700; font-size: 1rem !important; margin-bottom: 10px; }
.ef-storefront ul.products li.product .price del { color: var(--ef-muted); font-weight: 400; }
.ef-storefront ul.products li.product .price ins { text-decoration: none; color: var(--ef-accent); }
.ef-storefront ul.products li.product .star-rating { margin: 0 0 8px; }
.ef-storefront .star-rating span::before, .ef-storefront .star-rating::before { color: var(--ef-primary); }

.ef-storefront ul.products li.product .onsale,
.ef-storefront span.onsale {
	position: absolute;
	top: 12px; left: 12px; right: auto;
	min-height: 0; min-width: 0;
	line-height: 1;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--ef-primary);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	margin: 0;
}
.ef-storefront ul.products li.product { position: relative; }

/* Buttons everywhere */
body.ef-storefront a.button, body.ef-storefront button.button, body.ef-storefront input.button,
body.ef-storefront #respond input#submit, body.ef-storefront a.button.alt, body.ef-storefront button.button.alt,
body.ef-storefront input.button.alt, body.ef-storefront #respond input#submit.alt,
.ef-storefront .wc-block-components-button, .ef-storefront .wc-block-components-button:not(.is-link),
.ef-storefront .wc-block-mini-cart__footer-actions .wc-block-components-button {
	background: var(--ef-primary) !important;
	color: var(--ef-text) !important;
	border-radius: var(--ef-btn-radius, 999px) !important;
	font-weight: 700 !important;
	padding: 12px 22px;
	border: 0;
	text-transform: none;
	line-height: 1.2;
	transition: background 0.15s ease;
}
body.ef-storefront a.button:hover, body.ef-storefront button.button:hover, body.ef-storefront input.button:hover,
body.ef-storefront a.button.alt:hover, body.ef-storefront button.button.alt:hover,
.ef-storefront .wc-block-components-button:hover { background: var(--ef-primary-dark) !important; color: var(--ef-text) !important; }
body.ef-storefront a.button.disabled, body.ef-storefront button.button:disabled { opacity: 0.5; }
body.ef-storefront a.added_to_cart { display: inline-block; margin-left: 8px; font-weight: 600; font-size: 0.85rem; }

/* Result count / ordering / breadcrumb */
.ef-storefront .woocommerce-breadcrumb { font-size: 0.85rem; color: var(--ef-muted); margin: 0 0 20px; }
.ef-storefront .woocommerce-breadcrumb a { color: var(--ef-muted); text-decoration: none; }
.ef-storefront .woocommerce-result-count { color: var(--ef-muted); margin: 8px 0 24px; }
.ef-storefront .woocommerce-ordering select { padding: 10px 36px 10px 14px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.12); background: var(--ef-background); font: inherit; }
.ef-storefront .woocommerce-products-header__title { margin: 0 0 12px; }
.ef-storefront .term-description { color: var(--ef-muted); max-width: 70ch; }

/* Pagination */
/* Pagination: pills in the theme colors (body carries .woocommerce itself, so no descendant combinator) */
body.ef-storefront .woocommerce-pagination { margin: 40px 0 8px; text-align: center; }
body.ef-storefront .woocommerce-pagination ul.page-numbers { border: 0; margin: 0; padding: 0; display: inline-flex; gap: 8px; justify-content: center; list-style: none; white-space: normal; }
body.ef-storefront .woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; padding: 0; float: none; overflow: visible; display: inline-block; }
body.ef-storefront .woocommerce-pagination ul.page-numbers li a,
body.ef-storefront .woocommerce-pagination ul.page-numbers li span,
body.ef-storefront .ef-pagination .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	margin: 0;
	border: 2px solid var(--ef-surface);
	border-radius: var(--ef-btn-radius, 999px);
	background: var(--ef-surface);
	color: var(--ef-text);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
body.ef-storefront .woocommerce-pagination ul.page-numbers li a:hover,
body.ef-storefront .ef-pagination a.page-numbers:hover { border-color: var(--ef-primary); background: var(--ef-background); transform: translateY(-1px); }
body.ef-storefront .woocommerce-pagination ul.page-numbers li span.current,
body.ef-storefront .ef-pagination .page-numbers.current { background: var(--ef-primary); border-color: var(--ef-primary); color: var(--ef-text); }
body.ef-storefront .woocommerce-pagination .page-numbers.next,
body.ef-storefront .woocommerce-pagination .page-numbers.prev { background: var(--ef-text); border-color: var(--ef-text); color: #fff; }
body.ef-storefront .woocommerce-pagination .page-numbers.next:hover,
body.ef-storefront .woocommerce-pagination .page-numbers.prev:hover { background: var(--ef-primary); border-color: var(--ef-primary); color: var(--ef-text); }

/* Single product */
/* minmax(0,1fr): a plain 1fr lets the gallery's min-content (three stacked slides) blow the track up to 4500px+ */
body.ef-storefront div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
body.ef-storefront div.product > * { grid-column: 2; min-width: 0; }
body.ef-storefront div.product .woocommerce-product-gallery { grid-column: 1; grid-row: 1 / span 8; width: 100% !important; float: none !important; margin: 0 !important; }
body.ef-storefront div.product .woocommerce-product-gallery img { border-radius: var(--ef-radius); }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs { display: flex; gap: 8px; margin-top: 12px; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 72px; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; opacity: 0.6; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; }
body.ef-storefront div.product .summary { width: 100% !important; float: none !important; margin: 0 !important; }
body.ef-storefront div.product .product_title { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 8px; }
body.ef-storefront div.product p.price { color: var(--ef-text); font-size: 1.5rem; font-weight: 800; margin: 0 0 16px; }
body.ef-storefront div.product p.price ins { text-decoration: none; color: var(--ef-accent); }
body.ef-storefront div.product .woocommerce-product-details__short-description { color: var(--ef-muted); margin-bottom: 20px; }
body.ef-storefront div.product form.cart { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 24px; }
body.ef-storefront div.product form.cart .quantity .qty { width: 80px; padding: 12px; border-radius: 999px; border: 1px solid rgba(0,0,0,0.15); font: inherit; text-align: center; }
body.ef-storefront div.product form.cart .button { padding: 14px 32px; font-size: 1rem; }
body.ef-storefront div.product .product_meta { font-size: 0.85rem; color: var(--ef-muted); }
body.ef-storefront div.product .product_meta > span { display: block; margin-bottom: 4px; }
body.ef-storefront div.product .woocommerce-tabs { grid-column: 1 / -1; margin-top: 32px; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs { padding: 0; margin: 0 0 20px; border-bottom: 1px solid rgba(0,0,0,0.1); display: flex; gap: 4px; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs::before, body.ef-storefront div.product .woocommerce-tabs ul.tabs::after,
body.ef-storefront div.product .woocommerce-tabs ul.tabs li::before, body.ef-storefront div.product .woocommerce-tabs ul.tabs li::after { display: none; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li { border: 0; background: transparent; border-radius: 0; padding: 0; margin: 0; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li a { padding: 12px 16px; font-weight: 600; color: var(--ef-muted); border-bottom: 3px solid transparent; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li.active a { color: var(--ef-text); border-bottom-color: var(--ef-primary); }
body.ef-storefront div.product section.related, body.ef-storefront div.product section.upsells { grid-column: 1 / -1; margin-top: 48px; }
@media (max-width: 860px) {
	body.ef-storefront div.product { grid-template-columns: minmax(0, 1fr); }
	body.ef-storefront div.product > * { grid-column: 1; }
	body.ef-storefront div.product .woocommerce-product-gallery { grid-row: auto; }
}

/* Notices */
.ef-storefront .woocommerce-message, .ef-storefront .woocommerce-info, .ef-storefront .woocommerce-error,
.ef-storefront .wc-block-components-notice-banner {
	border: 0;
	border-left: 4px solid var(--ef-primary);
	border-radius: 12px;
	background: var(--ef-surface);
	color: var(--ef-text);
	padding: 14px 18px 14px 48px;
}
.ef-storefront .woocommerce-message::before, .ef-storefront .woocommerce-info::before { color: var(--ef-primary-dark); }
.ef-storefront .woocommerce-error { border-left-color: var(--ef-accent); }

/* Forms (checkout, account, coupon) */
body.ef-storefront form .form-row input.input-text, body.ef-storefront form .form-row textarea,
body.ef-storefront form .form-row select, .ef-storefront .wc-block-components-text-input input,
.ef-storefront .wc-block-components-form .wc-block-components-text-input input {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid rgba(0,0,0,0.15);
	font: inherit;
	background: var(--ef-background);
}
body.ef-storefront form .form-row input.input-text:focus { outline: none; border-color: var(--ef-primary); }
.ef-storefront .woocommerce-form-login, .ef-storefront .woocommerce-form-register, .ef-storefront .woocommerce-checkout #customer_details { max-width: 100%; }

/* Cart & checkout blocks accent */
.ef-storefront .wc-block-components-checkout-step__title, .ef-storefront .wc-block-components-title { font-family: var(--ef-font-heading); }
.ef-storefront .wc-block-components-product-name { font-weight: 600; }
.ef-storefront .wc-block-components-order-summary-item__image img, .ef-storefront .wc-block-cart-item__image img { border-radius: 10px; }
.ef-storefront .wc-block-components-radio-control__input:checked { border-color: var(--ef-primary-dark); }
.ef-storefront .wc-block-components-radio-control__input:checked::before { background: var(--ef-primary-dark); }

/* My account */
.ef-storefront .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.ef-storefront .woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 600; }
.ef-storefront .woocommerce-MyAccount-navigation li.is-active a { background: var(--ef-surface); }
.ef-storefront table.shop_table { border: 0; border-radius: 0; }
.ef-storefront table.shop_table th, .ef-storefront table.shop_table td { border-color: rgba(0,0,0,0.08); }

/* Cart drawer (Mini-Cart block) */
.ef-storefront .wc-block-mini-cart__drawer { font-family: var(--ef-font-body); }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.ef-storefront .wc-block-mini-cart__drawer .wc-block-components-title { font-family: var(--ef-font-heading); font-weight: 800; }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-cart-item__image img { border-radius: 10px; }
.ef-storefront .wc-block-mini-cart__footer { border-top: 1px solid rgba(0,0,0,0.08); }
.ef-storefront .wc-block-mini-cart__footer-actions .wc-block-components-button.outlined,
.ef-storefront .wc-block-mini-cart__footer-actions .wc-block-mini-cart__footer-cart { background: transparent !important; border: 2px solid var(--ef-primary); color: var(--ef-text) !important; }
.ef-storefront .wc-block-mini-cart__shopping-button a { background: var(--ef-primary); color: var(--ef-text); border-radius: var(--ef-btn-radius, 999px); padding: 12px 22px; text-decoration: none; font-weight: 700; }
.ef-storefront .single_add_to_cart_button.loading { opacity: 0.6; }

/* Cart drawer look (0.4.0): heading band, round close button, bordered items.
   Colors are variables so a site can override them via eofent_sf_css_vars:
   --ef-drawer-head (band), --ef-drawer-head-text, --ef-drawer-item-border, --ef-drawer-close */
.ef-storefront .wc-block-mini-cart__drawer {
	--ef-drawer-head: var(--ef-text);
	--ef-drawer-head-text: #fff;
	--ef-drawer-item-border: rgba(0, 0, 0, 0.1);
	--ef-drawer-close: var(--ef-primary);
	padding-top: 0;
}
.ef-storefront.ef-drawer-light .wc-block-mini-cart__drawer { --ef-drawer-head: var(--ef-surface); --ef-drawer-head-text: var(--ef-text); }
.ef-storefront.ef-drawer-gradient .wc-block-mini-cart__drawer { --ef-drawer-head: var(--ef-gradient); }
.ef-storefront.ef-drawer-close-accent .wc-block-mini-cart__drawer { --ef-drawer-close: var(--ef-accent); }
.ef-storefront.ef-drawer-close-accent .wc-block-components-drawer__close { color: #fff; }
.ef-storefront.ef-drawer-close-text .wc-block-mini-cart__drawer { --ef-drawer-close: var(--ef-text); }
.ef-storefront.ef-drawer-close-text .wc-block-components-drawer__close { color: #fff; }
.ef-storefront.ef-drawer-plain .wc-block-mini-cart__drawer .wc-block-cart-items__row { border-color: transparent; padding: 8px 0; }
.ef-storefront.ef-no-cart-badge .ef-mini-cart .wc-block-mini-cart__badge { display: none !important; }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-mini-cart__template-part { padding-top: 0; }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-mini-cart__title,
.ef-storefront .wc-block-mini-cart__drawer .wc-block-mini-cart__empty-cart-wrapper .wc-block-mini-cart__title {
	background: var(--ef-drawer-head);
	color: var(--ef-drawer-head-text);
	margin: 0 0 16px;
	padding: 22px 72px 22px 24px;
	font-size: 1.25rem;
}
.ef-storefront .wc-block-mini-cart__drawer .wc-block-mini-cart__title .wc-block-mini-cart__title-count { opacity: 0.8; }
.ef-storefront .wc-block-components-drawer__close {
	top: 14px !important;
	right: 16px !important;
	margin: 0 !important; /* Woo sets a negative margin that pushes the button off the drawer */
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--ef-drawer-close);
	color: var(--ef-text);
	opacity: 1;
	display: grid;
	place-items: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}
.ef-storefront .wc-block-components-drawer__close:hover { filter: brightness(0.92); }
.ef-storefront .wc-block-components-drawer__close svg { width: 22px; height: 22px; }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-cart-items { display: grid; gap: 12px; padding: 0 16px; }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-cart-items__row {
	border: 1px solid var(--ef-drawer-item-border);
	border-radius: var(--ef-radius, 14px);
	padding: 14px;
	margin: 0;
	background: var(--ef-background);
}
.ef-storefront .wc-block-mini-cart__drawer .wc-block-cart-items__row::after { display: none; }
.ef-storefront .wc-block-mini-cart__drawer .wc-block-cart-item__prices .price { font-weight: 700; }

/* ---------- Shop layout: filter panel + grid (0.4.0) ---------- */
.ef-shop-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 960px) { .ef-shop-layout { grid-template-columns: 1fr; gap: 24px; } }
.ef-shop-title { margin: 0 0 12px; font-size: clamp(1.8rem, 3vw, 2.6rem); text-transform: uppercase; letter-spacing: 0.01em; }
.ef-shop-intro { color: var(--ef-muted); margin-bottom: 20px; }
.ef-shop-intro p:last-child { margin-bottom: 0; }
.ef-filter { background: var(--ef-surface); border: var(--ef-border-w, 2px) solid var(--ef-border); border-radius: var(--ef-radius, 16px); padding: 18px 20px 12px; }
.ef-filter-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.1); margin-bottom: 6px; font-size: 1.05rem; }
.ef-filter-clear { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ef-muted); }
.ef-filter-title { font-size: 1rem; margin: 16px 0 8px; }
.ef-filter-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ef-filter-list li { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ef-filter-list a { text-decoration: none; padding: 6px 8px; border-radius: 8px; flex: 1 1 auto; }
.ef-filter-list a:hover { background: var(--ef-background); }
.ef-filter-cats li.is-current > a { background: var(--ef-background); font-weight: 700; box-shadow: inset 3px 0 0 var(--ef-primary); }
.ef-filter-count { font-size: 0.75rem; color: var(--ef-muted); padding-right: 6px; }
.ef-filter-tags label { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 8px; cursor: pointer; flex: 1 1 auto; }
.ef-filter-tags label:hover { background: var(--ef-background); }
.ef-filter-tags input { width: 18px; height: 18px; accent-color: var(--ef-primary); margin: 0; }
.ef-filter-tags label span:first-of-type { flex: 1 1 auto; }
.ef-filter noscript .ef-btn { margin-top: 12px; width: 100%; }
@media (max-width: 960px) { .ef-shop-side { order: 2; } .ef-shop-main { order: 1; } .ef-shop-title { font-size: 1.6rem; } }

/* result count + ordering row */
.ef-storefront .woocommerce-notices-wrapper:empty { display: none; }
.ef-storefront .woocommerce-result-count { margin: 6px 0 16px; color: var(--ef-muted); font-size: 0.9rem; float: left; }
.ef-storefront .woocommerce-ordering { float: right; margin: 0 0 16px; }
.ef-storefront .woocommerce-ordering select { padding: 8px 36px 8px 14px; border: 1.5px solid var(--ef-border, rgba(0,0,0,0.15)); background: var(--ef-background); font: inherit; font-size: 0.9rem; }
.ef-storefront .ef-shop-grid { clear: both; }

/* loop grid = block grid */
/* li.product keeps WooCommerce's semantics (and its float/width rules are neutralised) */
body.ef-storefront ul.products.ef-shop-grid li.product { float: none; width: auto; margin: 0; padding: 0; list-style: none; }
.ef-storefront ul.products.ef-shop-grid { display: grid !important; grid-template-columns: repeat(var(--ef-cols, 4), minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
@media (max-width: 1024px) { .ef-storefront ul.products.ef-shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px)  { .ef-storefront ul.products.ef-shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ef-storefront .related.products > h2, .ef-storefront .upsells.products > h2 { margin-top: 48px; }

/* ---------- Single product: summary card, styled qty + button, boxed tabs (0.4.0) ---------- */
body.ef-storefront div.product .summary {
	background: var(--ef-surface); border: var(--ef-border-w, 2px) solid var(--ef-border); border-radius: var(--ef-radius, 16px); padding: 28px;
}
body.ef-storefront div.product .summary .product_title { margin-top: 0; }
body.ef-storefront div.product .summary .woocommerce-product-rating { margin-bottom: 12px; }
body.ef-storefront div.product .summary .woocommerce-review-link { color: var(--ef-muted); font-size: 0.85rem; }
body.ef-storefront div.product .summary p.price, body.ef-storefront div.product .summary span.price { font-size: 1.6rem !important; font-weight: 800; color: var(--ef-text) !important; margin: 4px 0 12px; font-family: var(--ef-font-heading); }
body.ef-storefront div.product .summary .price del { color: var(--ef-muted); font-weight: 400; font-size: 1.1rem; }
body.ef-storefront div.product .summary .price ins { text-decoration: none; color: var(--ef-accent); }
body.ef-storefront div.product .summary .stock { font-size: 0.85rem; font-weight: 600; }
body.ef-storefront div.product .summary .stock.in-stock { color: var(--ef-accent); }
body.ef-storefront div.product form.cart { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 18px 0; }
body.ef-storefront div.product form.cart .quantity { display: inline-flex; }
body.ef-storefront div.product form.cart .quantity .qty { width: 84px; height: 50px; padding: 0 12px; border-radius: var(--ef-btn-radius, 999px); border: 2px solid var(--ef-border); background: var(--ef-background); font: inherit; font-weight: 700; text-align: center; }
body.ef-storefront div.product form.cart .single_add_to_cart_button,
body.ef-storefront div.product form.cart button.button {
	display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 28px !important;
	border-radius: var(--ef-btn-radius, 999px) !important; background: var(--ef-primary) !important; color: var(--ef-text) !important; border: 2px solid var(--ef-primary) !important;
	font-weight: 800 !important; font-size: 0.95rem !important; text-transform: uppercase; letter-spacing: 0.04em; cursor: pointer; line-height: 1;
}
body.ef-storefront div.product form.cart .single_add_to_cart_button:hover { background: var(--ef-primary-dark) !important; border-color: var(--ef-primary-dark) !important; transform: translateY(-1px); }
body.ef-storefront div.product form.cart .single_add_to_cart_button::before { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'><path d='M3 4h2l2.4 11h11l2-7H7M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/></svg>") center / contain no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2'><path d='M3 4h2l2.4 11h11l2-7H7M9 20a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm8 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/></svg>") center / contain no-repeat; }
body.ef-storefront div.product .product_meta { border-top: 1px solid rgba(0,0,0,0.1); padding-top: 14px; margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 14px; }
body.ef-storefront div.product .product_meta > span { display: inline-flex; gap: 4px; margin: 0; }
body.ef-storefront div.product .product_meta a { color: var(--ef-text); font-weight: 600; text-decoration: none; background: var(--ef-background); border: 1px solid rgba(0,0,0,0.12); border-radius: 999px; padding: 1px 9px; }
body.ef-storefront div.product .product_meta a:hover { border-color: var(--ef-primary); }
/* tabs: boxed panel, pill tabs */
body.ef-storefront div.product .woocommerce-tabs { border: var(--ef-border-w, 2px) solid var(--ef-border); border-radius: var(--ef-radius, 16px); padding: 20px 28px 28px; background: var(--ef-background); }
body.ef-storefront div.product .woocommerce-tabs ul.tabs { border-bottom: 1px solid rgba(0,0,0,0.1); margin: 0 0 22px; gap: 6px; flex-wrap: wrap; padding-bottom: 12px !important; overflow: visible; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li { border: 0 !important; background: transparent !important; border-radius: 0 !important; padding: 0 !important; margin: 0 !important; box-shadow: none !important; display: inline-block; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li a { display: inline-block; padding: 10px 18px !important; border-radius: var(--ef-btn-radius, 999px) !important; border: 2px solid var(--ef-surface) !important; background: var(--ef-surface); color: var(--ef-text) !important; font-weight: 700 !important; text-transform: uppercase; letter-spacing: 0.03em; font-size: 0.82rem; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li a:hover { border-color: var(--ef-primary) !important; }
body.ef-storefront div.product .woocommerce-tabs ul.tabs li.active a { background: var(--ef-primary); border-color: var(--ef-primary) !important; color: var(--ef-text) !important; }
body.ef-storefront div.product .woocommerce-tabs .panel h2:first-child { font-size: 1.3rem; margin-top: 0; }
body.ef-storefront div.product .woocommerce-tabs table.shop_attributes { border-collapse: collapse; width: 100%; }
body.ef-storefront div.product .woocommerce-tabs table.shop_attributes th, body.ef-storefront div.product .woocommerce-tabs table.shop_attributes td { border-bottom: 1px solid rgba(0,0,0,0.08); padding: 10px 8px; text-align: left; font-style: normal; }
/* reviews */
body.ef-storefront #reviews .commentlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
body.ef-storefront #reviews .comment_container { display: grid; grid-template-columns: 52px 1fr; gap: 14px; background: var(--ef-surface); border-radius: var(--ef-radius, 16px); padding: 16px; }
body.ef-storefront #reviews .comment_container img.avatar { width: 52px; height: 52px; border-radius: 999px; }
body.ef-storefront #reviews .comment-text p.meta { color: var(--ef-muted); font-size: 0.85rem; }
body.ef-storefront #reviews .comment-text .star-rating { float: none; margin-bottom: 6px; }
body.ef-storefront #review_form_wrapper { margin-top: 24px; }
body.ef-storefront #review_form .comment-form textarea, body.ef-storefront #review_form .comment-form input[type="text"], body.ef-storefront #review_form .comment-form input[type="email"] { width: 100%; border: 2px solid var(--ef-surface); border-radius: 12px; padding: 12px; font: inherit; }
body.ef-storefront #review_form .comment-form input[type="text"]:focus, body.ef-storefront #review_form .comment-form textarea:focus { outline: none; border-color: var(--ef-primary); }
body.ef-storefront #review_form .comment-form .stars a { color: var(--ef-primary); }
body.ef-storefront #review_form #submit { background: var(--ef-primary); color: var(--ef-text); border: 0; border-radius: var(--ef-btn-radius, 999px); padding: 12px 24px; font-weight: 800; cursor: pointer; }
body.ef-storefront section.related > h2, body.ef-storefront section.upsells > h2 { margin-bottom: 16px; }
body.ef-storefront .woocommerce-breadcrumb { font-size: 0.85rem; color: var(--ef-muted); margin-bottom: 18px; }
body.ef-storefront .woocommerce-breadcrumb a { color: var(--ef-text); text-decoration: none; }
body.ef-storefront .woocommerce-breadcrumb a:hover { text-decoration: underline; }
@media (max-width: 860px) { body.ef-storefront div.product .summary { padding: 18px; } body.ef-storefront div.product .woocommerce-tabs { padding: 14px 16px 20px; } }

/* Product gallery: main image in a bordered frame, thumbnail strip underneath (WooCommerce flexslider) */
body.ef-storefront div.product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper { border: var(--ef-border-w, 2px) solid var(--ef-border); border-radius: var(--ef-radius, 16px); overflow: hidden; background: var(--ef-surface); }
body.ef-storefront div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img { border-radius: 0; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs { list-style: none; padding: 0; margin: 12px 0 0; flex-wrap: wrap; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 84px; margin: 0; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs img { border-radius: 10px; opacity: 0.55; border: 2px solid transparent; cursor: pointer; transition: opacity 0.15s ease, border-color 0.15s ease; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs img:hover { opacity: 0.85; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ef-primary); }
body.ef-storefront div.product .woocommerce-product-gallery .flex-direction-nav { position: absolute; top: 50%; left: 0; right: 0; display: flex; justify-content: space-between; transform: translateY(-50%); padding: 0 10px; pointer-events: none; list-style: none; margin: 0; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-direction-nav a { pointer-events: auto; width: 40px; height: 40px; border-radius: 999px; background: var(--ef-background); color: var(--ef-text); display: grid; place-items: center; text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.15); font-size: 0; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-direction-nav a::before { content: "‹"; font-size: 26px; line-height: 1; }
body.ef-storefront div.product .woocommerce-product-gallery .flex-direction-nav a.flex-next::before { content: "›"; }
body.ef-storefront div.product .woocommerce-product-gallery__trigger { background: var(--ef-background); border-radius: 999px; }
