/* tokens.css */
/* Design tokens, from the Elementor global kit (#7), the header/footer templates and the site's Additional CSS. */
:root {
	--dc-color-text: #00001b;
	--dc-color-accent: #2b70ab;      /* M7: text, buttons, prices, badges (5.2:1 on white, 4.6:1 on the page background; IS 5568 / WCAG AA) */
	--dc-color-accent-dark: #245d8f; /* hover */
	--dc-color-brand: #3582bd;       /* the original brand blue: large title bands only (large text needs 3:1) */
	--dc-color-accent-bright: #2b85d9;
	--dc-color-dark: #1e1e2d;
	--dc-color-border: #e8ecf0;
	--dc-color-muted: #8a9bb0;
	--dc-color-danger: #e05a6a;
	--dc-color-success: #2e7d56;
	--dc-color-bg: #eef1f3;        /* kit body background */
	--dc-color-surface: #ffffff;
	--dc-color-whatsapp: #25d366;
	--dc-color-on-dark: #ffffff;
	--dc-color-on-dark-muted: #c9ccd6;

	--dc-font: "Discovery", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
	--dc-weight-light: 300;
	--dc-weight-regular: 400;
	--dc-weight-medium: 500;
	--dc-weight-semibold: 600;
	--dc-weight-bold: 700;

	--dc-size-h1: clamp(1.75rem, 1.2rem + 2vw, 2.25rem); /* kit primary: 36px */
	--dc-size-h2: 1.5rem;                                /* kit secondary: 24px */
	--dc-size-body: 1rem;                                /* kit accent: 16px */
	--dc-size-small: 0.875rem;

	--dc-container: 1440px;
	--dc-gutter: 16px;
	--dc-radius: 3px;
	--dc-radius-lg: 10px;
	--dc-radius-pill: 999px;
	--dc-shadow-header: 0 2px 10px rgb(0 0 27 / 0.12);
	--dc-shadow-dialog: 0 10px 40px rgb(0 0 27 / 0.25);

	/* Breakpoints (reference only; custom properties can't be used in media queries):
	   mobile < 768px, tablet 768–1024px, desktop >= 1025px (Elementor kit). */
}

/* base.css */
/* Base element styles. RTL-first: logical properties only (margin-inline-start, padding-inline-end, inset-inline…). */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	font-family: var(--dc-font);
	font-size: var(--dc-size-body);
	font-weight: var(--dc-weight-regular);
	color: var(--dc-color-text);
	background: var(--dc-color-bg);
	line-height: 1.5;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--dc-color-accent); }
h1, h2, h3, h4 { font-weight: var(--dc-weight-bold); line-height: 1.2; }
h1 { font-size: var(--dc-size-h1); }
h2 { font-size: var(--dc-size-h2); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--dc-color-accent); outline-offset: 2px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus {
	position: fixed !important; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100000;
	width: auto; height: auto; margin: 0; clip: auto; clip-path: none; padding: 10px 14px;
	background: var(--dc-color-surface); color: var(--dc-color-text); border-radius: var(--dc-radius);
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* layout.css */
/* Page layout. */
.container { width: 100%; max-width: var(--dc-container); margin-inline: auto; padding-inline: var(--dc-gutter); }
@media (min-width: 1025px) { .container { padding-inline: 24px; } }
.site-content { min-height: 40vh; }
.site-content:focus { outline: none; }

/* ---- page title band + breadcrumb (shop pages, content pages, posts) ---- */
.page-head__title { margin: 8px 0 20px; font-size: var(--dc-size-h1); line-height: 1.25; }
@media (min-width: 1025px) { .page-head__title, .woocommerce-products-header__title { text-align: center; } } /* mobile: right-aligned */
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 16px 0 8px; padding: 0; font-size: var(--dc-size-small); color: #5b6472; }
.breadcrumb li + li::before { content: "/"; margin-inline-end: 4px; color: #9aa3ae; }
.breadcrumb a { color: #5b6472; text-decoration: none; }
.breadcrumb a:hover { color: var(--dc-color-accent); text-decoration: underline; }

/* header.css */
/* Announcement bar, sticky header, primary navigation with dropdowns, mobile drawer. */

/* ---- announcement bar ---- */
.announcement {
	display: block; overflow: hidden; background: var(--dc-color-accent); color: var(--dc-color-on-dark);
	font-size: 1.125rem; font-weight: var(--dc-weight-medium); line-height: 2.2; white-space: nowrap; text-decoration: none;
}
.announcement__track { display: flex; justify-content: center; width: max-content; margin-inline: auto; }
.announcement__group { display: inline-flex; flex-shrink: 0; }
.announcement__item { padding-inline: 0.75em; }
.announcement__sep { padding-inline: 0.75em; }
/* Duration is set by main.js from the text width and the speed setting (px/s); 20s is the no-JS fallback. */
.announcement--scroll .announcement__track { justify-content: flex-start; margin-inline: 0; animation: dc-marquee var(--dc-marquee-duration, 20s) linear infinite; }
.announcement--scroll:hover .announcement__track,
.announcement--scroll:focus-within .announcement__track { animation-play-state: paused; }
/* RTL: content flows right-to-left, so the track moves toward the right (positive X). */
/* main.js sets --dc-marquee-shift to one group's width and adds enough copies to cover the screen, so the loop never shows a gap. */
@keyframes dc-marquee { from { transform: translateX(0); } to { transform: translateX(var(--dc-marquee-shift, 33.333%)); } }
@media (prefers-reduced-motion: reduce) {
	.announcement--scroll .announcement__track { animation: none; justify-content: center; margin-inline: auto; }
	.announcement--scroll .announcement__group[aria-hidden="true"] { display: none; }
}
@media (max-width: 767px) { .announcement { font-size: 0.95rem; } }

/* ---- header ---- */
.site-header { position: sticky; inset-block-start: 0; z-index: 900; background: var(--dc-color-bg); box-shadow: var(--dc-shadow-header); }
.admin-bar .site-header { inset-block-start: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar .site-header { inset-block-start: 0; } }

.site-header__main {
	display: grid; align-items: center; gap: 12px 24px;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "logo search actions";
	padding-block: 10px;
}
.site-logo { grid-area: logo; display: inline-flex; align-items: center; text-decoration: none; color: inherit; }
.site-logo__img--header { display: block; width: 110px; height: auto; }
@media (min-width: 768px) { .site-logo__img--header { width: 92px; } }
.site-header__search { grid-area: search; justify-self: center; width: 100%; max-width: 460px; }
.site-header__actions { grid-area: actions; display: flex; align-items: center; gap: 6px; }
.site-header__burger.icon-button { display: none; }

.icon-button {
	display: inline-flex; align-items: center; justify-content: center; position: relative;
	min-width: 44px; min-height: 44px; padding: 8px; border: 0; background: none; color: var(--dc-color-text);
	cursor: pointer; text-decoration: none; border-radius: var(--dc-radius);
}
.icon-button:hover { color: var(--dc-color-accent); }

/* XootiX side cart basket from [xoo_wsc_cart] */
.site-header__cart { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
/* The plugin's 42px line box put the basket 6px above the other icons, and smaller: same 26px box, centred, like them. */
.site-header__cart .xoo-wsc-sc-bkcont, .site-header__cart .xoo-wsc-sc-bki { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.site-header__cart .xoo-wsc-sc-bki img { display: block; width: auto; height: 26px; }

/* search */
.search-form { position: relative; display: flex; align-items: center; }
.search-form__input {
	width: 100%; min-height: 44px; padding-block: 8px; padding-inline: 18px 48px;
	border: 1px solid #d5dbe1; border-radius: var(--dc-radius-pill); background: var(--dc-color-surface);
	font-size: 1rem;
}
.search-form__input::placeholder { color: #6b7280; }
.search-form__input:focus { border-color: var(--dc-color-accent); outline: none; box-shadow: 0 0 0 3px rgb(53 130 189 / 0.2); }
.search-form__button {
	position: absolute; inset-inline-end: 4px; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; background: none; color: var(--dc-color-accent); cursor: pointer; border-radius: 50%;
}
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }

/* ---- primary navigation (desktop) ---- */
.primary-nav { padding-block: 0 12px; }
.primary-nav__menu, .primary-nav__menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.primary-nav__menu { display: flex; flex-wrap: nowrap; justify-content: space-between; }
.primary-nav__menu > li { position: relative; }
/* The 15 categories need more room than the header has at full size (todo §15, 2026-11-23). Like production: one row,
   compact labels (thin spaces around "|", inc/template-tags.php), 13 px text; below ~1,450 px the icon, text and spacing
   scale down together. An item never shrinks below its content, so a label can't run under the next icon. */
.primary-nav__menu { gap: 4px; }
.primary-nav__menu > li { flex: 0 0 auto; }
.primary-nav__menu > li > a {
	display: flex; align-items: center; gap: 2px; min-height: 44px; padding-inline: 0;
	color: var(--dc-color-text); text-decoration: none; font-size: clamp(0.6875rem, 0.9vw, 0.8125rem); font-weight: var(--dc-weight-medium);
	white-space: nowrap;
}
.primary-nav__menu > li > a img {
	flex-shrink: 0; width: clamp(22px, 2.5vw, 36px); height: clamp(22px, 2.5vw, 36px); margin: 0 !important; margin-inline-end: 4px !important;
}
/* 1025–1319 px (e.g. 1280 px laptops): 15 items can't fit side by side, so each item stacks a small icon over its label
   (Nir 2026-11-23). */
@media (min-width: 1025px) and (max-width: 1319px) {
	.primary-nav__menu > li > a { flex-direction: column; justify-content: center; gap: 3px; min-height: 52px; font-size: 0.75rem; line-height: 1.1; }
	.primary-nav__menu > li > a img { width: 28px; height: 28px; margin: 0 !important; }
	.primary-nav__menu .submenu-toggle { width: 14px; height: 52px; }
}
.primary-nav__menu > li > a:hover, .primary-nav__menu > li.current-menu-item > a, .primary-nav__menu > li.current-menu-ancestor > a { color: var(--dc-color-accent); }
.submenu-toggle {
	display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 44px; padding: 0;
	border: 0; background: none; color: inherit; cursor: pointer;
}
.submenu-toggle .icon { transition: transform 0.2s; }
.menu-item-has-children > a + .submenu-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.primary-nav__menu > li { display: flex; align-items: center; }
.primary-nav__menu .sub-menu {
	position: absolute; inset-block-start: 100%; inset-inline-start: 0; z-index: 950;
	display: grid; grid-template-columns: repeat(2, minmax(150px, 1fr)); gap: 0 24px; min-width: 360px;
	padding: 14px 18px; background: #f3f4f5; box-shadow: var(--dc-shadow-header); border-radius: 0 0 var(--dc-radius) var(--dc-radius);
	visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.primary-nav__menu > li:hover > .sub-menu,
.primary-nav__menu > li:focus-within > .sub-menu,
.primary-nav__menu > li.is-open > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-nav__menu .sub-menu a { display: block; padding: 10px 4px; color: var(--dc-color-text); text-decoration: none; font-size: 0.9375rem; }
.primary-nav__menu .sub-menu a:hover { color: var(--dc-color-accent); }


/* ---- mobile ---- */
@media (max-width: 1024px) {
	.site-header__main { gap: 8px; }
	.site-header__burger.icon-button { display: inline-flex; }
	.site-logo { justify-self: center; }
	.site-header__search { max-width: none; }
	.primary-nav { display: none; }
}
@media (max-width: 1024px) {
	/* Today's mobile order: menu + account on the right, logo centered, wishlist + cart on the left (cart at the edge). */
	.site-header__main {
		grid-template-columns: auto auto minmax(0, 1fr) auto minmax(0, 1fr) auto auto; column-gap: 0;
		grid-template-areas: "burger account . logo . wishlist cart" "search search search search search search search";
	}
	.site-header__actions { display: contents; }
	.site-header__burger { grid-area: burger; }
	.site-header__account { grid-area: account; }
	.site-header__wishlist { grid-area: wishlist; }
	.site-header__cart { grid-area: cart; }
}

/* drawer */
.drawer { position: fixed; inset: 0; z-index: 1000; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgb(0 0 27 / 0.45); }
.drawer__panel {
	position: absolute; inset-block: 0; inset-inline-start: 0; width: min(88vw, 380px); overflow-y: auto;
	background: var(--dc-color-surface); padding: 12px 16px 32px; box-shadow: var(--dc-shadow-dialog);
	animation: dc-drawer-in 0.2s ease-out;
}
@keyframes dc-drawer-in { from { transform: translateX(100%); } to { transform: none; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; }
.drawer__title { margin: 0; font-size: 1.25rem; }
.drawer__search { margin-block: 8px 12px; }
.drawer-menu, .drawer-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.drawer-menu > li { display: flex; flex-wrap: wrap; align-items: center; border-block-end: 1px solid var(--dc-color-border); }
.drawer-menu > li > a { flex: 1; display: flex; align-items: center; gap: 8px; min-height: 48px; color: var(--dc-color-text); text-decoration: none; font-weight: var(--dc-weight-medium); }
.drawer-menu > li > a img { width: 32px; height: 32px; margin: 0 !important; }
.drawer-menu .submenu-toggle { width: 48px; height: 48px; }
.drawer-menu .sub-menu { flex-basis: 100%; display: none; padding-block-end: 8px; padding-inline-start: 40px; }
.drawer-menu li.is-open > .sub-menu { display: block; }
.drawer-menu .sub-menu a { display: block; padding: 10px 0; color: var(--dc-color-text); text-decoration: none; }
html.has-drawer-open { overflow: hidden; }

/* ---- live search suggestions ---- */
.search-form__results {
	position: absolute; inset-block-start: calc(100% + 6px); inset-inline: 0; z-index: 960; list-style: none; margin: 0; padding: 6px;
	background: var(--dc-color-surface); border-radius: var(--dc-radius-lg); box-shadow: var(--dc-shadow-dialog); max-height: min(70vh, 520px); overflow-y: auto;
}
.search-form__results[hidden] { display: none; }
.search-result a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--dc-radius); color: var(--dc-color-text); text-decoration: none; }
.search-result[aria-selected="true"] a, .search-result a:hover { background: #f1f5f9; }
.search-result img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; background: #fff; }
.search-result__name { flex: 1; font-size: 0.95rem; line-height: 1.3; }
.search-result__price { font-weight: var(--dc-weight-bold); white-space: nowrap; }
.search-result__stock { display: block; font-size: 0.8rem; color: var(--dc-color-danger); }
.search-result--all a { justify-content: center; color: var(--dc-color-accent); font-weight: var(--dc-weight-medium); }
.search-result--empty { padding: 12px; text-align: center; color: #555; }
/* Matching categories above the products (core module product-search). */
.search-result--term a { gap: 10px; padding-block: 6px; }
.search-result__kind { flex-shrink: 0; padding: 2px 8px; border-radius: 999px; background: #e8f0fb; color: var(--dc-color-accent); font-size: 0.75rem; font-weight: var(--dc-weight-medium); }
.search-result--term + .search-result:not(.search-result--term) { margin-block-start: 4px; padding-block-start: 4px; border-block-start: 1px solid #e5e7eb; }

/* footer.css */
/* Footer and floating WhatsApp button. */
.site-footer { margin-block-start: 48px; background: var(--dc-color-dark); color: var(--dc-color-on-dark); }
.site-footer a { color: var(--dc-color-on-dark); text-decoration: none; }
.site-footer a:hover { color: #9fcbee; text-decoration: underline; }
.site-footer__grid {
	display: grid; gap: 32px 40px; padding-block: 56px 32px;
	grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 1024px) { .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Mobile: "מידע חשוב" and "פרטי התקשרות" stacked in one column, next to "מבצעים חמים" (RTL: first column = right). */
@media (max-width: 600px) {
	.site-footer__grid {
		grid-template-columns: 1fr 1fr; gap: 24px 16px; padding-block: 36px 24px;
		grid-template-areas: "brand brand" "legal sales" "contact sales" "news news";
		align-items: start;
	}
	.site-footer__brand { grid-area: brand; }
	.site-footer__legal { grid-area: legal; }
	.site-footer__sales { grid-area: sales; }
	.site-footer__contact { grid-area: contact; }
	.site-footer__newsletter { grid-area: news; }
}

.site-footer__title { margin: 0 0 16px; font-size: 1.25rem; font-weight: var(--dc-weight-bold); color: var(--dc-color-on-dark); }
.site-logo--footer { margin-block-end: 16px; }
.site-logo__img--footer { width: 122px; height: auto; }

.footer-links, .footer-branches, .footer-contact, .footer-social { list-style: none; margin: 0; padding: 0; }
.footer-links li { margin-block-end: 10px; }
.footer-links--sales { margin-block-end: 16px; }
.footer-branches { margin-block: 16px; }
.footer-branches li, .footer-contact li { display: flex; align-items: flex-start; gap: 8px; margin-block-end: 10px; }
.footer-branches .icon, .footer-contact .icon { flex-shrink: 0; color: var(--dc-color-accent); margin-block-start: 2px; }
.footer-social { display: flex; gap: 10px; }
.footer-social__link {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border: 1px solid rgb(255 255 255 / 0.4); border-radius: 50%;
}
.site-footer__newsletter p { color: var(--dc-color-on-dark-muted); }

.site-footer__bottom {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
	padding-block: 16px 24px; border-block-start: 1px solid rgb(255 255 255 / 0.12); font-size: var(--dc-size-small); color: var(--dc-color-on-dark-muted);
}
.site-footer__bottom p { margin: 0; }

.whatsapp-float {
	position: fixed; inset-block-end: 24px; inset-inline-start: 24px; z-index: 800;
	display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px;
	border-radius: 50%; background: var(--dc-color-whatsapp); color: #fff; box-shadow: 0 4px 14px rgb(0 0 0 / 0.25);
}
.whatsapp-float:hover { color: #fff; transform: scale(1.05); }
@media (max-width: 767px) { .whatsapp-float { inset-block-end: 88px; inset-inline-start: 16px; width: 52px; height: 52px; } }

/* ---- newsletter form (drinkcenter-core "newsletter") on the dark footer ---- */
.site-footer .dc-form { gap: 10px; }
.site-footer .dc-form__field:not(.dc-form__field--consent) label {
	position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; /* visually hidden; placeholder shows it */
}
.site-footer .dc-form__field input[type="email"] { background: #fff; color: var(--dc-color-text); border-color: transparent; }
.site-footer .dc-form__field--consent label { color: var(--dc-color-on-dark); font-size: var(--dc-size-small); }
.site-footer .dc-form__field--consent a { color: var(--dc-color-on-dark); text-decoration: underline; }
.site-footer .dc-form__submit { justify-self: start; min-width: 140px; }
.site-footer .dc-form__message.is-success { color: #7fd6a4; }
.site-footer .dc-form__message.is-error, .site-footer .dc-form__error { color: #ff9aa6; }

/* components.css */
/* Shared components: buttons, age gate. */
.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 22px; border: 2px solid transparent; border-radius: var(--dc-radius);
	font-weight: var(--dc-weight-medium); font-size: 1rem; line-height: 1.2; text-align: center; text-decoration: none; cursor: pointer;
}
/* a./button. prefixes: same specificity as WooCommerce's ".woocommerce a.button" (grey), and loaded after it, so ours wins on shop pages. */
.button--primary, a.button.button--primary, button.button.button--primary { background: var(--dc-color-accent); border-color: var(--dc-color-accent); color: #fff; }
.button--primary:hover, a.button.button--primary:hover, button.button.button--primary:hover { background: var(--dc-color-accent-dark); border-color: var(--dc-color-accent-dark); color: #fff; text-decoration: none; }
.button--outline, a.button.button--outline, button.button.button--outline { background: var(--dc-color-surface); border-color: var(--dc-color-accent); color: var(--dc-color-accent); }
.button--outline:hover { background: #f1f7fc; }
.button--block { display: flex; width: 100%; }

/* ---- age gate ---- */
.age-gate { position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; padding: 16px; }
.age-gate[hidden] { display: none; }
.age-gate__backdrop { position: absolute; inset: 0; background: rgb(0 0 27 / 0.6); }
.age-gate__dialog {
	position: relative; width: min(100%, 520px); padding: 24px; border-radius: var(--dc-radius-lg);
	background: var(--dc-color-surface); box-shadow: var(--dc-shadow-dialog); animation: dc-fade-in 0.25s ease-out;
}
@keyframes dc-fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.age-gate__head { display: flex; align-items: flex-start; justify-content: space-between; margin-block-end: 12px; }
.age-gate__icon { color: var(--dc-color-text); }
.age-gate__close { color: var(--dc-color-accent); border: 2px solid var(--dc-color-accent); min-width: 32px; min-height: 32px; padding: 4px; margin: -4px; }
.age-gate__kicker { margin: 0 0 4px; font-size: 1.05rem; }
.age-gate__title { margin: 0 0 24px; font-size: 1.4rem; font-weight: var(--dc-weight-bold); }
.age-gate__actions { display: grid; gap: 14px; }
html.has-age-gate { overflow: hidden; }

/* ---- promo popup ---- */
.promo { position: fixed; inset: 0; z-index: 9990; display: grid; place-items: center; padding: 16px; }
.promo[hidden] { display: none; }
.promo__backdrop { position: absolute; inset: 0; background: rgb(0 0 27 / 0.55); }
.promo__dialog { position: relative; width: min(372px, 100%); animation: dc-fade-up 0.35s ease-out; }
@media (max-width: 767px) { .promo__dialog { width: min(321px, 100%); } }
@keyframes dc-fade-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.promo__link { display: block; }
.promo__image { display: block; width: 100%; height: auto; max-height: calc(100vh - 48px); object-fit: contain; }
.promo__close {
	position: absolute; inset-block-start: 10px; inset-inline-end: 10px; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; border-radius: var(--dc-radius); background: var(--dc-color-accent-bright); color: #fff; cursor: pointer;
}
html.has-promo { overflow: hidden; }

/* ---- site forms (drinkcenter-core) ---- */
.dc-form { display: grid; gap: 12px; }
.dc-form__hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dc-form__field { display: grid; gap: 4px; }
.dc-form__field label { font-weight: var(--dc-weight-medium); font-size: var(--dc-size-small); }
.dc-form__field input[type="text"], .dc-form__field input[type="email"], .dc-form__field input[type="tel"], .dc-form__field textarea {
	width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #c9d1da; border-radius: var(--dc-radius); background: #fff; font-size: 1rem;
}
.dc-form__field input:focus, .dc-form__field textarea:focus { border-color: var(--dc-color-accent); outline: none; box-shadow: 0 0 0 3px rgb(53 130 189 / 0.2); }
.dc-form__field [aria-invalid="true"] { border-color: var(--dc-color-danger); }
.dc-form__field--consent label { display: flex; align-items: flex-start; gap: 8px; font-weight: var(--dc-weight-regular); }
.dc-form__field--consent input { width: 18px; height: 18px; margin-block-start: 3px; flex-shrink: 0; }
.dc-form__req { color: var(--dc-color-danger); }
.dc-form__error { color: var(--dc-color-danger); font-size: var(--dc-size-small); }
.dc-form__message { margin: 0; min-height: 1.5em; font-weight: var(--dc-weight-medium); }
.dc-form__message.is-success { color: var(--dc-color-success); }
.dc-form__message.is-error { color: var(--dc-color-danger); }
.dc-form.is-sent .dc-form__field, .dc-form.is-sent .dc-form__submit { display: none; }

/* shop.css */
/* Shop: breadcrumb, archive header, filters column, product grid, product card, pagination, archive description. */


/* ---- archive header ---- */
.woocommerce-products-header { margin-block: 8px 20px; }
.woocommerce-products-header__title { margin: 0; font-size: var(--dc-size-h1); }
@media (max-width: 767px) { /* Phones: a tighter title (Nir). */
	.woocommerce-products-header { margin-block: 4px 6px !important; }
	.woocommerce-products-header__title { line-height: 1.15; }
	.breadcrumb:has(+ .woocommerce-products-header) ol { margin-block: 12px 0; }
}
.site-main--shop .woocommerce-result-count { margin: 0 0 14px; color: #5b6472; font-size: var(--dc-size-small); }
.site-main--shop .woocommerce-notices-wrapper:empty { display: none; }

/* ---- layout ---- */
.shop-layout { display: grid; gap: 24px; }
@media (min-width: 1025px) {
	.shop-layout--filters { grid-template-columns: 260px minmax(0, 1fr); align-items: start; }
	.shop-filters { position: sticky; inset-block-start: 150px; max-height: calc(100vh - 170px); overflow-y: auto; padding-inline-end: 4px; scrollbar-width: thin; }
	.shop-filters__open, .shop-filters__head, .shop-filters__done { display: none !important; }
	/* "ניקוי הסינון" sits in the footer (beside "הצגת המוצרים" on phones); on desktop it goes to the top. */
	.shop-filters { display: flex; flex-direction: column; }
	.shop-filters > * { flex-shrink: 0; }
	.shop-filters__foot { order: -1; }
	/* Logged in: the admin bar pushes the sticky header down; keep the same gap below it. */
	.admin-bar .shop-filters { inset-block-start: calc(150px + var(--wp-admin--admin-bar--height, 32px)); max-height: calc(100vh - 170px - var(--wp-admin--admin-bar--height, 32px)); }
}

/* ---- filters ---- */
.shop-filter.is-empty { display: none; }
/* "ניקוי הסינון": JetSmartFilters shows it (removes .hide) while a filter is active. */
.shop-filters .jet-smart-filters-remove-filters { margin-block-end: 12px; }
.shop-filters .jet-remove-all-filters.hide { display: none; }
.shop-filters .jet-remove-all-filters__button {
	display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; padding: 8px 14px;
	border: 1px solid var(--dc-color-accent); border-radius: var(--dc-radius); background: var(--dc-color-surface); color: var(--dc-color-accent);
	font: inherit; font-weight: var(--dc-weight-semibold); cursor: pointer;
}
.shop-filters .jet-remove-all-filters__button::before { content: "×"; font-size: 1.25em; line-height: 1; }
.shop-filters .jet-remove-all-filters__button:hover { background: var(--dc-color-accent); color: #fff; }
.shop-filters .jet-remove-all-filters__button:focus-visible { outline: 2px solid var(--dc-color-accent); outline-offset: 2px; } /* No option left under the other sections' choices (inc/facets.php). */
.shop-filter { margin-block-end: 12px; background: var(--dc-color-surface); border-radius: var(--dc-radius); }
.shop-filter .jet-filter { padding: 12px 14px; }
.shop-filter .jet-filter-label { margin: 0; padding: 0; border: 0; background: none; font-size: 1rem; font-weight: var(--dc-weight-semibold); }
/* Price slider, as today's: blue bar between the handles, white handles with a blue ring, values centred below. */
.shop-filter .jet-range__slider { margin: 10px 8px 14px; }
.shop-filter .jet-range__slider__track { height: 4px; border-radius: 2px; background: #dfe3e8; color: var(--dc-color-accent); }
.shop-filter .jet-range__slider .jet-range__slider__input { height: 22px; }
.shop-filter .jet-range__slider .jet-range__slider__input::-webkit-slider-thumb { width: 18px; height: 18px; background: #fff; border: 3px solid var(--dc-color-accent); box-sizing: border-box; }
.shop-filter .jet-range__slider .jet-range__slider__input::-moz-range-thumb { width: 18px; height: 18px; background: #fff; border: 3px solid var(--dc-color-accent); box-sizing: border-box; }
.shop-filter .jet-range__slider .jet-range__slider__input:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px rgb(43 112 171 / 0.35); }
.shop-filter .jet-range__slider .jet-range__slider__input:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px rgb(43 112 171 / 0.35); }
.shop-filter .jet-range__values { text-align: center; font-size: 0.875rem; color: var(--dc-color-text); }
.shop-filter--collapsible .jet-filter-label {
	display: flex; align-items: center; justify-content: space-between; cursor: pointer; min-height: 32px;
}
/* Chevron (down; flips up when open). */
.shop-filter--collapsible .jet-filter-label::after {
	content: ""; flex-shrink: 0; width: 14px; height: 14px; margin-inline-start: 8px; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s;
}
.shop-filter--collapsible.is-open .jet-filter-label::after { transform: rotate(180deg); }
.shop-filter--collapsible .jet-filter-label + * { display: none; margin-block-start: 10px; }
.shop-filter--collapsible.is-open .jet-filter-label + * { display: block; }
.shop-filter .jet-checkboxes-list-wrapper { max-height: 260px; overflow-y: auto; scrollbar-width: thin; }
/* Checkmark drawn in CSS (the theme removes JetSmartFilters' inline SVG icon). */
.shop-filter .jet-checkboxes-list__checked-icon { display: none; }
.shop-filter .jet-checkboxes-list__decorator { position: relative; margin-inline-end: 8px; }
.shop-filter .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator { background: var(--dc-color-accent); border-color: var(--dc-color-accent); }
.shop-filter .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator::after {
	content: ""; position: absolute; inset-block-start: 45%; inset-inline-start: 50%; width: 5px; height: 9px;
	border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -60%) rotate(45deg);
}
[dir="rtl"] .shop-filter .jet-checkboxes-list__input:checked + .jet-checkboxes-list__button .jet-checkboxes-list__decorator::after { transform: translate(50%, -60%) rotate(45deg); }
/* The only option left in a section (shop.js markOnly): looks chosen, can't be changed, not part of the query. */
.shop-filter .is-only label { cursor: default; }
.shop-filter .is-only .jet-checkboxes-list__decorator { background: var(--dc-color-accent); border-color: var(--dc-color-accent); opacity: 0.6; }
.shop-filter .is-only .jet-checkboxes-list__decorator::after {
	content: ""; position: absolute; inset-block-start: 45%; inset-inline-start: 50%; width: 5px; height: 9px;
	border-right: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -60%) rotate(45deg);
}
[dir="rtl"] .shop-filter .is-only .jet-checkboxes-list__decorator::after { transform: translate(50%, -60%) rotate(45deg); }
.shop-filter .is-only .jet-color-image-list__decorator > * { border-color: #2ccc3c; opacity: 0.6; }

@media (max-width: 1024px) {
	/* "סינון מוצרים" on the result count's line, at the far (left) end, bottom edges aligned; a smaller gap under the title. */
	.woocommerce-products-header { margin-block-end: 10px; }
	.shop-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-block-end: 14px; }
	.shop-toolbar .woocommerce-result-count { margin: 0; }
	.shop-filters__open, .woocommerce button.button.shop-filters__open { display: inline-flex; flex-shrink: 0; min-height: 40px; padding: 6px 14px; } /* Beats WooCommerce's ".woocommerce button.button { display: inline-block }", which left the icon and text misaligned. */
	.shop-filters__open.is-active svg { fill: currentColor; } /* A filter is active. */
	.shop-filters {
		position: fixed; inset: 0; z-index: 1000; overflow-y: auto; padding: 12px 16px 24px; background: var(--dc-color-bg);
		visibility: hidden; transform: translateX(-100%); /* From the left, the button's side. */ transition: transform 0.2s ease-out, visibility 0.2s;
	}
	.shop-filters.is-open { visibility: visible; transform: none; }
	.shop-filters { display: flex; flex-direction: column; }
	.shop-filters > * { flex-shrink: 0; }
	.shop-filters__head { display: flex; align-items: center; justify-content: space-between; margin-block-end: 8px; }
	.shop-filters__title { margin: 0; font-size: 1.25rem; }
	/* Footer pinned to the bottom: "ניקוי הסינון" (while a filter is active) beside "הצגת המוצרים". */
	.shop-filters__foot {
		position: sticky; inset-block-end: -24px; display: flex; gap: 10px; align-items: stretch;
		margin: auto -16px -24px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
		background: var(--dc-color-bg); box-shadow: 0 -4px 12px rgb(0 0 0 / 0.06);
	}
	.shop-filters__foot .jet-smart-filters-remove-filters { flex: 0 0 40%; margin: 0; }
	.shop-filters__foot .jet-smart-filters-remove-filters:has(.jet-remove-all-filters.hide) { display: none; }
	.shop-filters__foot .jet-remove-all-filters, .shop-filters__foot .jet-remove-all-filters__button { height: 100%; }
	.shop-filters__done { flex: 1; margin: 0; }
	html.has-filters-open { overflow: hidden; }
	html.has-filters-open .dc-consent { display: none; } /* Would cover the footer buttons; back when the panel closes. */
}

/* ---- product grid ---- */
.site-main ul.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; list-style: none; margin: 0; padding: 0; }
@media (min-width: 768px) { .site-main ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1025px) { .site-main ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
/* WooCommerce's own layout CSS floats items at 48%/22% with a more specific selector; neutralise it inside the grid. */
.site-main ul.products[class*="columns-"] li.product,
.site-main ul.products li.product { display: flex; margin: 0; padding: 0; width: auto; float: none; clear: none; }
.site-main ul.products li.product::before, .site-main ul.products::before, .site-main ul.products::after { display: none; }

/* ---- product card ---- */
.product-card {
	position: relative; display: flex; flex-direction: column; width: 100%; overflow: hidden;
	background: var(--dc-color-surface); border-radius: var(--dc-radius-lg); text-align: center;
	transition: box-shadow 0.3s ease;
}
/* Hover (as today's Elementor card): shadow on the card, image zooms, title grows a little, button grows. */
.product-card:hover { box-shadow: 0 10px 28px rgb(0 0 27 / 0.14); }
.product-card__media { position: relative; overflow: hidden; background: var(--dc-color-surface); }
.product-card__image { display: block; }
.product-card__image img { display: block; width: 100%; aspect-ratio: 1; object-fit: contain; padding: 44px 12px 4px; transition: transform 0.4s ease; }
.product-card:hover .product-card__image img { transform: scale(1.1); }
.product-card__badge {
	position: absolute; inset-block-start: 14px; inset-inline-start: 0; z-index: 1; max-width: calc(100% - 56px);
	padding: 6px 12px; background: var(--dc-color-accent); color: #fff; font-size: 0.875rem; font-weight: var(--dc-weight-bold);
	line-height: 1.2; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border-right: 7px solid #00001b; /* physical right, as today */
}
.product-card__badge:hover { background: var(--dc-color-accent-dark); color: #fff; }
.product-card__badge-text { display: block; overflow: hidden; text-overflow: ellipsis; }
/* Slightly too long: main.js adds .is-tight (narrow padding). Still too long (main.js adds .is-scrolling + --dc-badge-shift): pan slowly to the end and back instead of "…". */
.product-card__badge.is-tight { padding-inline: 4px; }
.product-card__badge.is-scrolling { text-overflow: clip; }
.product-card__badge.is-scrolling .product-card__badge-text {
	display: inline-block; overflow: visible; text-overflow: clip;
	animation: dc-badge-pan var(--dc-badge-duration, 8s) ease-in-out infinite;
}
@keyframes dc-badge-pan {
	0%, 20% { transform: translateX(0); }
	50%, 70% { transform: translateX(var(--dc-badge-shift, 0)); }
	100% { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
	.product-card__badge.is-scrolling { text-overflow: ellipsis; }
	.product-card__badge.is-scrolling .product-card__badge-text { display: block; overflow: hidden; text-overflow: ellipsis; animation: none; }
}
.product-card__wishlist { position: absolute; inset-block-start: 8px; inset-inline-end: 8px; z-index: 1; }
.wishlist-button {
	display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; background: none;
	color: var(--dc-color-accent); cursor: pointer; text-decoration: none;
}
.wishlist-button__icon { fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform 0.3s ease, fill 0.3s ease; }
.wishlist-button:hover .wishlist-button__icon, .wishlist-button[aria-pressed="true"] .wishlist-button__icon { fill: currentColor; transform: scale(1.25); }
.wishlist-button.is-busy { opacity: 0.5; pointer-events: none; }

.product-card__body { display: flex; flex: 1; flex-direction: column; padding: 10px 12px 16px; }
.product-card__title { margin: 0 0 10px; font-size: 1.0625rem; font-weight: var(--dc-weight-bold); line-height: 1.3; transition: transform 0.3s ease; }
.product-card:hover .product-card__title { transform: scale(1.04); }
.product-card__title a { color: var(--dc-color-text); text-decoration: none; }
.product-card__title a:hover { color: var(--dc-color-accent); }

.product-card__specs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 12px; list-style: none; margin: 0 0 8px; padding: 0; font-size: 0.875rem; }
.product-card__specs li { display: inline-flex; align-items: center; gap: 4px; }
.product-card__specs .icon { color: #5b6472; }
.product-card__origin { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin: 0 0 10px; font-size: 0.875rem; }
.product-card__flag { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.product-card__sep { color: #9aa3ae; }

.site-main .product-card__price,
.site-main ul.products li.product .product-card__price .price { margin-block: auto 12px; padding-block-start: 6px; font-size: 1.125rem; font-weight: var(--dc-weight-bold); color: var(--dc-color-accent); }
.site-main ul.products li.product .product-card__price .price { display: block; margin: 0; padding: 0; }
.product-card__price del { color: #5f6b7a; font-weight: var(--dc-weight-regular); margin-inline-end: 6px; }
.product-card__price ins { text-decoration: none; }

/* The column never grows past the card (Nir 2026-11-23: on a phone with enlarged text, e.g. Galaxy S23+ at 130 %, the
   button and the − 1 + row overflowed the card). The quantity parts shrink only when the card is too narrow. */
.product-card__actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; justify-items: center; }
.product-card__actions > * { min-width: 0; max-width: 100%; }
.product-card__actions .qib-button-wrapper { max-width: 100%; }
.site-main .product-card__actions .qib-button { flex: 0 1 auto; width: 41px; min-width: 28px; padding-inline: 0; }
.site-main .product-card__actions .wqpmb_quantity { flex: 0 1 auto; width: 60px; min-width: 36px; }
/* legacy/additional.css forces the box to 60 px with !important; in cards it may shrink with its column. */
.site-main .product-card__actions .qib-button-wrapper .quantity input.qty { width: 100% !important; min-width: 0 !important; padding-inline: 2px; }
.product-card__actions .loop-qty-wrapper .quantity { display: inline-flex; align-items: center; }
.product-card__actions .quantity .qty { width: 52px; min-height: 40px; text-align: center; border: 1px solid #d5dbe1; border-radius: var(--dc-radius); }
/* Scoped under ul.products li.product so WooCommerce's ".woocommerce a.button { display: inline-block }" can't win:
   with inline-block the extra min-height went below the text and the label sat high. */
.site-main .product-card__actions .button,
.site-main ul.products li.product .product-card__actions .button {
	display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 9px 12px 7px; /* Discovery sits ~1.5px high: optical centering */
	border-radius: var(--dc-radius-pill); background: var(--dc-color-accent); color: #fff; text-decoration: none; border: 0;
	font-size: 1.125rem; font-weight: var(--dc-weight-bold); line-height: 1.2; text-align: center; text-wrap: balance;
	transition: transform 0.3s ease, background-color 0.2s;
}
.site-main .product-card__actions .button:hover { background: var(--dc-color-accent-dark); color: #fff; transform: scale(1.04); }
.product-card__actions .added_to_cart { font-size: var(--dc-size-small); }
.site-main .product-card__actions .product-card__notify.button,
.site-main ul.products li.product .product-card__actions .product-card__notify.button { background: var(--dc-color-surface); color: var(--dc-color-accent); border: 2px solid var(--dc-color-accent); }
.site-main .product-card__actions .product-card__notify.button:hover { background: #f1f7fc; color: var(--dc-color-accent-dark); }
.product.outofstock .product-card__image img { opacity: 0.6; }

@media (max-width: 767px) {
	.product-card__body { padding: 8px 8px 12px; }
	.product-card__image img { padding: 40px 6px 2px; }
	.product-card__title { font-size: 0.95rem; }
	.product-card__badge { font-size: 0.75rem; padding: 4px 8px; inset-block-start: 10px; }
	.product-card__specs, .product-card__origin { font-size: 0.8rem; }
	.site-main .product-card__actions .button,
	.site-main ul.products li.product .product-card__actions .button { padding-inline: 8px; font-size: 1rem; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.product-card:hover .product-card__image img, .product-card:hover .product-card__title, .site-main .product-card__actions .button:hover { transform: none; }
}

/* ---- pagination (as today's Elementor loop grid: 36px circles, current page blue) ---- */
.woocommerce-pagination { margin-block: 24px; }
/* WooCommerce's default CSS boxes the list and divides the items (".woocommerce nav.woocommerce-pagination ul/li"): removed. */
.site-main nav.woocommerce-pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; border: 0; white-space: normal; }
.site-main nav.woocommerce-pagination ul.page-numbers li { border: 0; margin: 0; padding: 0; float: none; overflow: visible; }
.site-main .woocommerce-pagination .page-numbers a.page-numbers,
.site-main .woocommerce-pagination .page-numbers span.page-numbers {
	display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0;
	border: 1.5px solid var(--dc-color-border); border-radius: 50%; background: #fff; color: var(--dc-color-dark);
	font-size: 0.85rem; font-weight: var(--dc-weight-semibold); line-height: 1; text-decoration: none; transition: all 0.18s;
}
.site-main .woocommerce-pagination .page-numbers a.page-numbers:hover,
.site-main .woocommerce-pagination .page-numbers span.page-numbers.current { background: #3581bc; border-color: #3581bc; color: #fff; }
.site-main .woocommerce-pagination .page-numbers span.page-numbers.dots { border: 0; background: transparent; color: var(--dc-color-muted); }

/* ---- archive description, with "קרא עוד / קרא פחות" (the full text stays in the HTML for search engines) ---- */
.archive-description { max-width: 1100px; margin: 32px auto 0; padding: 24px; background: var(--dc-color-surface); border-radius: var(--dc-radius-lg); line-height: 1.7; }
.archive-description h2, .archive-description h3 { font-size: 1.25rem; }
.readmore__content { position: relative; }
.readmore.is-collapsed .readmore__content { max-height: 12.5em; overflow: hidden; }
.readmore.is-collapsed .readmore__content::after {
	content: ""; position: absolute; inset-inline: 0; inset-block-end: 0; height: 4em;
	background: linear-gradient(to bottom, rgb(255 255 255 / 0), var(--dc-color-surface));
}
.readmore__toggle {
	display: inline-flex; margin-block-start: 12px; padding: 8px 18px; border: 0; border-radius: var(--dc-radius);
	background: #f1f1f1; color: #446084; font-weight: var(--dc-weight-semibold); cursor: pointer;
}
.readmore__toggle:hover { background: #e7e9ec; }

/* ---- product carousel (related products, home) ---- */
.carousel { position: relative; }
.site-main ul.products.carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 20px) / 5); grid-template-columns: none; gap: 20px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 8px 16px; overscroll-behavior-x: contain;
}
.site-main ul.products.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > li { scroll-snap-align: start; }
@media (max-width: 1024px) { .site-main ul.products.carousel__track { grid-auto-columns: calc((100% - 2 * 16px) / 3); gap: 16px; } }
@media (max-width: 767px) { .site-main ul.products.carousel__track { grid-auto-columns: calc((100% - 12px) / 2); gap: 12px; } }
.carousel__nav {
	position: absolute; inset-block-start: 40%; z-index: 3; display: inline-flex; align-items: center; justify-content: center;
	width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 10px rgb(0 0 27 / 0.18); cursor: pointer; color: var(--dc-color-text);
}
.carousel__nav[disabled] { opacity: 0; pointer-events: none; }
.carousel__nav--prev { inset-inline-start: -12px; }
.carousel__nav--next { inset-inline-end: -12px; }
.carousel__nav--prev .icon { transform: rotate(-90deg); }  /* RTL: previous is to the right */
.carousel__nav--next .icon { transform: rotate(90deg); }
@media (max-width: 767px) { .carousel__nav { display: none; } }

/* M7 (contrast): WooCommerce fades old prices in product lists (opacity .7 over the blue). */
ul.products li.product .product-card .price del, .product-card .price del .amount { color: #5f6b7a; opacity: 1; }

/* Country filter: a country without a flag yet shows JetSmartFilters' grey "no image" placeholder; show an empty circle
   instead (the name says it all). Flags are added on the country (Products → Attributes → ארץ יצור). */
.shop-filter img[src*="jet-smart-filters/assets/images/placeholder"] { visibility: hidden; }
.shop-filter .jet-color-image-list__decorator:has(img[src*="jet-smart-filters/assets/images/placeholder"]) { border-radius: 50%; box-shadow: inset 0 0 0 1px #d5dbe1; }

/* product.css */
/* Single product page. */
.site-main--shop div.product { display: grid; gap: 24px; max-width: 1130px; margin: 24px auto 40px; }
@media (min-width: 900px) { .site-main--shop div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }

/* image column */
.product-media { position: relative; }
@media (min-width: 900px) { .product-media { position: sticky; inset-block-start: 160px; } .admin-bar .product-media { inset-block-start: calc(160px + var(--wp-admin--admin-bar--height, 32px)); } }
.product-media__wishlist { position: absolute; inset-block-start: 4px; inset-inline-start: 4px; z-index: 2; } /* top right in RTL, as today */
/* WooCommerce's default CSS floats images/summary at 48% (".woocommerce-page #content div.product div.summary", an ID selector, so ours is scoped under #content too); the grid replaces it. */
#content .site-main--shop div.product div.images { width: 100%; float: none; margin: 0; }
.woocommerce-product-gallery__image img { display: block; width: 100%; max-height: 560px; object-fit: contain; }
.woocommerce-product-gallery__trigger { display: none; }
.product-media__note { margin: 40px 0 0; text-align: center; font-size: 0.8125rem; font-style: italic; color: #3b4250; }

/* summary column */
#content .site-main--shop div.product div.summary { width: 100%; float: none; margin: 0; }
.product_title.entry-title { margin: 0 0 40px; font-size: 2rem; line-height: 1.25; }
.product-english-name { margin: 0 0 22px; color: var(--dc-color-text); font-weight: var(--dc-weight-medium); text-align: right; }
.product-specs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; list-style: none; margin: 0 0 26px; padding: 0; font-weight: var(--dc-weight-medium); }
.product-specs .orig-icon { width: 20px; height: 20px; }
.product-specs li { display: inline-flex; align-items: center; gap: 6px; }
.product-specs .icon { color: #5b6472; }
.product-specs__flag { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
/* Sale strip above the title, dark bar on its physical right (as today). */
.product-sale-badge {
	display: table; margin-block-end: 22px; padding: 8px 20px; background: var(--dc-color-accent); color: #fff;
	font-size: 1.125rem; font-weight: var(--dc-weight-bold); line-height: 1.3; text-decoration: none; border-right: 9px solid #00001b;
}
.product-sale-badge:hover { background: var(--dc-color-accent-dark); color: #fff; }
.site-main--shop div.product p.price, .site-main--shop div.product span.price { margin: 0 0 18px; font-size: 1.75rem; font-weight: var(--dc-weight-bold); color: var(--dc-color-text); }
.site-main--shop div.product p.price del { color: #5f6b7a; font-size: 1.25rem; font-weight: var(--dc-weight-regular); }
.site-main--shop div.product p.price ins { text-decoration: none; }

.product-badges { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; margin: 0 0 20px; padding: 0; }
.product-badges { margin-block-end: 40px; }
.product-badges li { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 0 6px; text-align: center; font-size: 1rem; font-weight: var(--dc-weight-medium); }
@media (max-width: 767px) { .product-badges li { font-size: 0.8125rem; gap: 6px; } .product-badges .orig-icon { width: 30px; height: 30px; } }
.product-badges .orig-icon { width: 35px; height: 35px; }
.product-badges li + li { border-inline-start: 1px solid var(--dc-color-border); }
.product-badges .icon { color: var(--dc-color-text); }

/* stock + add to cart */
.site-main--shop div.product .stock { margin: 0 0 10px; font-size: var(--dc-size-small); }
.site-main--shop div.product .stock.in-stock { color: #6b6300; font-weight: var(--dc-weight-medium); } /* olive, as today */
.site-main--shop div.product .stock.out-of-stock { color: var(--dc-color-danger); font-weight: var(--dc-weight-semibold); }
.site-main--shop div.product form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 20px; }
.single-product .site-main--shop div.product form.cart .button { margin: 0; }
.site-main--shop div.product form.cart::before, .site-main--shop div.product form.cart::after { display: none; }
.site-main--shop div.product form.cart .quantity { float: none; margin: 0; }
.site-main--shop div.product form.cart .qty { width: 56px; min-height: 48px; text-align: center; border: 1px solid #d5dbe1; border-radius: var(--dc-radius); }
.site-main--shop div.product form.cart .button,
.site-main--shop div.product form.cart .single_add_to_cart_button {
	float: none; min-height: 50px; padding: 12px 36px; border: 0; border-radius: var(--dc-radius-pill);
	background: var(--dc-color-dark); color: #fff; font-weight: var(--dc-weight-bold); font-size: 1rem;
}
.site-main--shop div.product form.cart .button:hover { background: #000; color: #fff; }
/* "Buy now" (Quick Buy Now plugin): the blue button, as today. */
.site-main--shop div.product form.cart .wc-buy-now-btn,
.site-main--shop div.product form.cart .wc-quick-buy-now { background: var(--dc-color-accent); }
.site-main--shop div.product form.cart .wc-buy-now-btn:hover { background: var(--dc-color-accent-dark); }

/* back in stock */
.back-in-stock { margin-block: 4px 20px; }
.back-in-stock__panel { margin-block-start: 14px; padding: 18px; background: var(--dc-color-surface); border: 1px solid var(--dc-color-border); border-radius: var(--dc-radius-lg); }
.back-in-stock__title { margin: 0 0 4px; font-size: 1.125rem; font-weight: var(--dc-weight-bold); }
.back-in-stock__text { margin: 0 0 12px; }

/* accordions (native <details>: keyboard and screen-reader friendly without JS) */
.product-accordions { border-block-start: 1px solid #d5dbe1; }
.product-accordion { border-block-end: 1px solid #d5dbe1; }
.product-accordion summary {
	display: flex; align-items: center; justify-content: space-between; min-height: 48px; cursor: pointer; list-style: none;
	font-weight: var(--dc-weight-semibold);
}
.product-accordion summary::-webkit-details-marker { display: none; }
.product-accordion summary::after {
	content: ""; width: 14px; height: 14px; background: currentColor; transition: transform 0.2s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.product-accordion[open] summary::after { transform: rotate(180deg); }
.product-accordion__body { padding-block-end: 16px; line-height: 1.7; }

/* related carousel */
.related-carousel { grid-column: 1 / -1; margin-block: 24px 8px; }
.related-carousel__title { margin: 0 0 18px; text-align: center; font-size: 1.75rem; }
/* sticky add to cart (mobile) */
.sticky-atc {
	position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 850; display: flex; align-items: center; justify-content: center;
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--dc-color-surface); box-shadow: 0 -4px 16px rgb(0 0 27 / 0.12);
}
.sticky-atc[hidden] { display: none; }
.sticky-atc__price { font-weight: var(--dc-weight-bold); font-size: 1.125rem; }
.site-main--shop div.product .product-card__price del { color: #5f6b7a; opacity: 1; } /* WooCommerce fades span.price del inside product pages (related cards) */
.sticky-atc__price del { font-size: 0.9rem; color: #5f6b7a; }
/* Higher specificity than WooCommerce's ".woocommerce button.button" (grey). */
.single-product .sticky-atc button.sticky-atc__button.button { flex: 1; min-height: 44px; border: 0; border-radius: var(--dc-radius-pill); background: #00001b; color: #fff; }
.single-product .sticky-atc button.sticky-atc__button.button:hover, .single-product .sticky-atc button.sticky-atc__button.button:focus-visible { background: #000; color: #fff; }

@media (min-width: 768px) { .sticky-atc { display: none !important; } }

/* Buttons as today. Desktop (RTL): "קנה עכשיו" | "הוספה לסל" | quantity. Mobile: quantity, then full-width buttons.
   Note: the Quick Buy Now button also carries the class "single_add_to_cart_button", hence the :not(). */
.site-main--shop div.product form.cart > * { order: 3; }
.site-main--shop div.product form.cart > .yith-wapo-container { order: 0; flex-basis: 100%; } /* product options above the buttons */
.site-main--shop div.product form.cart .wc-buy-now-btn { order: 1; }
.site-main--shop div.product form.cart .single_add_to_cart_button:not(.wc-buy-now-btn) { order: 2; }
.site-main--shop div.product form.cart .single_add_to_cart_button,
.site-main--shop div.product form.cart .wc-buy-now-btn { min-width: 190px; min-height: 64px; padding: 12px 24px; font-size: 1rem; font-weight: var(--dc-weight-medium); }
/* Quantity (Quantity Plus Minus plugin): plain − / + around a small white box, as today. */
.site-main--shop div.product form.cart .qib-button-wrapper { display: inline-flex; align-items: center; gap: 4px; }
.site-main--shop div.product form.cart .qib-button { background: transparent; border: 0; box-shadow: none; color: var(--dc-color-text); font-size: 1.125rem; font-weight: var(--dc-weight-bold); min-width: 28px; min-height: 40px; padding: 0 4px; cursor: pointer; }
.site-main--shop div.product form.cart .qib-button-wrapper .qty { width: 48px; min-height: 40px; border: 0; border-radius: 0; background: #fff; }
@media (max-width: 767px) {
	.site-main--shop div.product form.cart { flex-direction: column; align-items: stretch; }
	.site-main--shop div.product form.cart > * { order: 1; align-self: center; }
	.site-main--shop div.product form.cart > .yith-wapo-container { order: 0; align-self: stretch; }
	.site-main--shop div.product form.cart .single_add_to_cart_button:not(.wc-buy-now-btn) { order: 2; align-self: stretch; }
	.site-main--shop div.product form.cart .wc-buy-now-btn { order: 3; align-self: stretch; }
	.site-main--shop div.product form.cart .single_add_to_cart_button,
	.site-main--shop div.product form.cart .wc-buy-now-btn { min-height: 48px; width: 100%; }
}

/* ---- mobile: add-to-cart form docked to the bottom (assets/js/product.js) ---- */
@media (max-width: 767px) {
	body.single-product.has-dock { padding-block-end: calc(var(--dc-dock-h, 64px) + 8px); }
	body.single-product.has-dock .whatsapp-float { inset-block-end: calc(var(--dc-dock-h, 64px) + 16px); transition: inset-block-end 0.2s ease; }
	.site-main--shop div.product form.cart.cart--dock {
		position: fixed; inset-inline: 0; inset-block-end: 0; z-index: 850; margin: 0; gap: 10px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--dc-color-surface);
		box-shadow: 0 -4px 16px rgb(0 0 27 / 0.12); border-radius: 16px 16px 0 0;
	}
	/* Expanded order (top to bottom): quantity, "קנה עכשיו", "הוספה לסל". */
	.site-main--shop div.product form.cart.cart--dock > * { order: 1; }
	.site-main--shop div.product form.cart.cart--dock .wc-buy-now-btn { order: 2; }
	.site-main--shop div.product form.cart.cart--dock .single_add_to_cart_button:not(.wc-buy-now-btn) { order: 3; }
	.site-main--shop div.product form.cart.cart--dock .single_add_to_cart_button,
	.site-main--shop div.product form.cart.cart--dock .wc-buy-now-btn { min-height: 44px; }
	.site-main--shop div.product form.cart.cart--dock .single_add_to_cart_button:not(.wc-buy-now-btn) { background: #00001b; }
	/* Collapsed: "הוספה לסל" only. */
	.site-main--shop div.product form.cart.cart--dock:not(.is-expanded) > *:not(.single_add_to_cart_button),
	.site-main--shop div.product form.cart.cart--dock:not(.is-expanded) .wc-buy-now-btn { display: none; }
	.site-main--shop div.product form.cart.cart--dock.is-expanded { animation: dc-dock-up 0.2s ease-out; }
	@keyframes dc-dock-up { from { transform: translateY(12px); opacity: 0.6; } to { transform: none; opacity: 1; } }
}

.site-main--shop div.product form.cart .wc-buy-now-btn.is-busy { opacity: 0.6; pointer-events: none; }

/* legacy/additional.css */
/* Side cart, cart, checkout and YITH product-options rules, ported from Hello Elementor's Additional CSS (post #997).
   Elementor-only and filter-popup fixes were dropped (those elements no longer exist). Loaded on every page (side cart). */
/* תרגום Price בעגלה */
.xoo-wsc-pprice,
div.xoo-wsc-pprice {
  font-size: 0 !important;
}
.xoo-wsc-pprice::before {
  content: "מחיר: " !important;
  font-size: 14px !important;
  color: var(--wl-muted) !important;
  font-weight: 600 !important;
}
.xoo-wsc-pprice .woocommerce-Price-amount {
  font-size: 14px !important;
}
.xoo-wsc-pprice::before {
  content: "מחיר: " !important;
  font-size: 14px !important;
  color: #000 !important;
  font-weight: 600 !important;
}
/* מסיר variation label */
dt.variation- {
  display: none !important;
}

/* יישור ימין לווריאציה */
.xoo-wsc-product dl.variation,
.xoo-wsc-product dl.variation dd {
  text-align: right !important;
  direction: rtl !important;
}
.xoo-wsc-basket {
  display: none !important;
}
/* סהכ */
.xoo-wsc-ft-amt-label {
  font-size: 0 !important;
}
.xoo-wsc-ft-amt-label::after {
  content: 'סה"כ:' !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* יישור ימין לווריאציה */
.xoo-wsc-product dl.variation,
.xoo-wsc-product dl.variation dd,
.xoo-wsc-product dl.variation dt {
  text-align: right !important;
  direction: rtl !important;
  float: none !important;
}
.xoo-wsc-bki {
  opacity: 0 !important;
  pointer-events: none;
}
.xoo-wsc-basket span.xoo-wsc-bki {
  display: none !important;
}
/* העלמת הכמות הכפולה בטבלת סיכום ההזמנה */
.woocommerce-checkout-review-order-table .product-quantity {
    display: none !important;
}
/* הגבלה לעמוד סל קניות בלבד */
.woocommerce-cart .woocommerce-shipping-totals, 
.woocommerce-cart tr.shipping, 
.woocommerce-cart .woocommerce-shipping-destination, 
.woocommerce-cart .shipping-calculator-button-container {
    display: none !important;
}

/* הסרת שורת הסכום הסופי רק בסל הקניות */
.woocommerce-cart tr.order-total {
    display: none !important;
}

/* Cart totals: only the subtotal row (was ".e-cart__totals", Elementor's cart widget). */
.woocommerce-cart .cart_totals .shop_table tr:not(.cart-subtotal) { display: none !important; }
/* Today's cart totals box: the title "סך הכל בעגלה" and the amount only (the subtotal label is hidden). */
.woocommerce-cart .cart_totals > h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 700; }
.woocommerce-cart .cart_totals .cart-subtotal th { display: none !important; }
.qib-button-wrapper .quantity input.qty {
    width: 60px !important;
    min-width: 60px !important;
    text-align: center;
}
/* תרגום לעברית + יישור לימין + בלי רקע לבן */
#wapo-total-price-table {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 10px;
    direction: rtl;
}

#wapo-total-price-table table {
    background: transparent !important;
    border: none !important;
    width: 100%;
    direction: rtl;
}

#wapo-total-price-table th,
#wapo-total-price-table td {
    background: transparent !important;
    border: none !important;
    text-align: right !important;
    padding: 8px 0 !important;
    font-size: 16px;
}

/* תרגום טקסטים */
#wapo-total-price-table .wapo-product-price th::before {
    content: "מחיר מוצר";
    font-weight: 700;
}

#wapo-total-price-table .wapo-total-options th::before {
    content: "תוספות";
    font-weight: 700;
}

#wapo-total-price-table .wapo-total-order th::before {
    content: "סה״כ";
    font-weight: 700;
}

/* מסתיר את הטקסט באנגלית */
#wapo-total-price-table th {
    font-size: 0 !important;
}

#wapo-total-price-table th::before {
    font-size: 16px !important;
}
/* מעיף את הרקע הלבן של התוספות */
.yith-wapo-block,
.yith-wapo-addon,
.addon-header,
.options-container,
#wapo-total-price-table,
#wapo-total-price-table table,
#wapo-total-price-table th,
#wapo-total-price-table td {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* יישור לימין */
.yith-wapo-block,
.yith-wapo-addon,
.addon-header,
.options-container,
#wapo-total-price-table {
    direction: rtl;
    text-align: right !important;
}

/* שלא יהיו רווחים לבנים */
.yith-wapo-addon {
    padding: 0 !important;
    margin: 0 !important;
}

/* M7 (contrast, IS 5568): the side cart's buttons use the plugin's colour setting (#3582BD); use the accessible blue. */
body .xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn, body .xoo-wsc-markup .xoo-wsc-btn { background-color: var(--dc-color-accent); }
body .xoo-wsc-ft-buttons-cont a.xoo-wsc-ft-btn:hover, body .xoo-wsc-markup .xoo-wsc-btn:hover { background-color: #fff; }
/* M7 (contrast): inline #3582BD backgrounds from snippets #10 (sale label under cart items) and #44 (marketing consent box). */
span[style*="background:#3582BD"], div[style*="background:#3582bd"] { background: var(--dc-color-accent) !important; }

