/* 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; }

/* content.css */
/* M6 content: pages (block content), blog, posts, contact, 404. Sizes measured on today's Elementor pages. */

/* ---- content pages ---- */
.content-page { padding-block-end: 56px; }
.content-page .container { max-width: calc(1296px + 2 * var(--dc-gutter)); }
.content-page--plain { padding-block-start: 48px; }
.content-page--plain .container { max-width: calc(1140px + 2 * var(--dc-gutter)); }
.entry-content { font-size: var(--dc-size-body); line-height: 1.5; }
.entry-content > :first-child { margin-block-start: 0; }
.entry-content p { margin-block: 16px; }
.entry-content h2 { font-size: var(--dc-size-h2); font-weight: var(--dc-weight-bold); line-height: 1.2; margin-block: 20px; }
.entry-content h3 { font-size: 1.17rem; font-weight: var(--dc-weight-bold); line-height: 1.2; margin-block: 18px; }
.entry-content ul, .entry-content ol { padding-inline-start: 24px; }
.entry-content a { color: var(--dc-color-accent); }
.entry-content img { max-width: 100%; height: auto; }
.entry-content .wp-block-heading { font-size: 1.875rem; margin-block: 0 16px; }      /* section headings: 30px */
.entry-content > .wp-block-heading:first-child { font-size: 2.25rem; font-weight: var(--dc-weight-regular); } /* the page title repeated in the content: 36px */
.entry-content .has-text-align-center { text-align: center; }
.entry-content .wp-block-image { margin: 0; }
.entry-content .wp-block-image img { display: block; width: 100%; }
.entry-content .wp-block-columns { display: flex; gap: 45px; align-items: flex-start; margin-block: 0 48px; }
.entry-content .wp-block-column { flex: 1 1 0; min-width: 0; }
.entry-content .wp-block-column > :first-child { margin-block-start: 0; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 20px; }
.entry-content .wp-block-buttons.is-content-justification-center { justify-content: center; }
.entry-content .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 12px 24px;
	background: var(--dc-color-accent); color: #fff; border: 1px solid var(--dc-color-accent); border-radius: 5px;
	font-size: 1rem; font-weight: var(--dc-weight-medium); line-height: 1; text-decoration: none; transition: background-color .2s;
}
.entry-content .wp-block-button__link:hover { background: var(--dc-color-accent-dark); border-color: var(--dc-color-accent-dark); color: #fff; }
.entry-content .is-style-outline .wp-block-button__link { background: transparent; color: var(--dc-color-accent); border-radius: 25px; }
.entry-content .is-style-outline .wp-block-button__link:hover { background: var(--dc-color-accent); color: #fff; }
@media (max-width: 767px) {
	.entry-content .wp-block-columns { flex-direction: column; gap: 24px; }
	.entry-content .wp-block-column { flex-basis: auto; width: 100%; }
	.entry-content > .wp-block-heading:first-child { font-size: 1.75rem; }
	.page-id-561 .entry-content .wp-block-columns:nth-of-type(2) { flex-direction: column-reverse; } /* about: text before the image, as today */
}

/* legal pages (terms, privacy, accessibility): gray text, as today */
.page-id-551 .entry-content, .page-id-552 .entry-content, .page-id-553 .entry-content { color: #4b5563; }

/* thank-you #7994: centered; site map #9526: two menus */
.page-id-7994 .entry-content { text-align: center; }
.page-id-7994 .entry-content .wp-block-heading { font-size: 2.25rem; font-weight: var(--dc-weight-bold); }
.page-id-9526 .entry-content .wp-block-heading { font-size: 2.25rem; font-weight: var(--dc-weight-bold); margin-block-end: 20px; }
.page-id-9526 .entry-content .wp-block-columns { gap: 40px; }
.sitemap-menu, .sitemap-menu .sub-menu { list-style: none; margin: 0; padding: 0; }
.sitemap-menu a { display: block; padding: 7px 20px; color: var(--dc-color-text); font-size: 1.125rem; font-weight: var(--dc-weight-light); line-height: 20px; text-decoration: none; }
.sitemap-menu a:hover { color: var(--dc-color-accent); }
.sitemap-menu .sub-menu a { padding-inline-start: 40px; }

/* sales #863: centered text under a blue "מבצעים חמים" label */
.page-id-863 .entry-content { max-width: 1200px; margin-inline: auto; text-align: center; line-height: 26px; }
.page-id-863 .entry-content > .wp-block-heading:first-child {
	display: table; margin-inline: auto; padding: 4px 24px; background: var(--dc-color-accent); color: #fff;
	font-size: 3rem; font-weight: 800; line-height: 1;
}
.page-id-863 .entry-content .wp-block-shortcode { margin-block: 32px; }

/* spirits #8169: category tiles */
.page-id-8169 .entry-content { max-width: 1140px; margin-inline: auto; }
.page-id-8169 .entry-content > .wp-block-heading:first-child { font-size: 2.25rem; font-weight: var(--dc-weight-bold); margin-block: 24px 20px; }
.category-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0 0 48px; padding: 0; }
.category-tile { position: relative; overflow: hidden; border-radius: 18px; background: linear-gradient(160deg, #0f1f2e 0%, #1c3f5e 100%); box-shadow: 0 15px 35px rgb(0 0 0 / 0.25); text-align: center; transition: transform .4s, box-shadow .4s; }
.category-tile::before { content: ""; position: absolute; top: -30%; left: 50%; width: 140%; height: 100%; transform: translateX(-50%); background: radial-gradient(circle, rgb(53 130 189 / 0.25) 0%, transparent 70%); pointer-events: none; }
.category-tile::after { content: ""; position: absolute; inset: 8px; border-radius: 14px; border: 1px solid rgb(255 255 255 / 0.08); pointer-events: none; }
.category-tile a { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 225px; padding: 0 15px 14px; color: #fff; text-decoration: none; }
.category-tile__img { display: flex; align-items: center; justify-content: center; height: 150px; margin-block-end: 8px; }
.category-tile__img img { max-height: 150px; width: auto; object-fit: contain; transition: transform .4s; }
.category-tile__name { font-size: 1.6875rem; font-weight: var(--dc-weight-bold); line-height: 1.2; transition: color .3s; }
.category-tile:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 25px 50px rgb(53 130 189 / 0.35); }
.category-tile:hover img { transform: scale(1.08); }
.category-tile:hover .category-tile__name { color: #aad4ff; }
@media (max-width: 1024px) { .category-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 767px) {
	.category-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.category-tile a { min-height: 250px; }
	.category-tile__name { font-size: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) { .category-tile, .category-tile img { transition: none; } .category-tile:hover { transform: none; } }

/* ---- blog: category links + post cards ---- */
.blog-page { padding-block-end: 64px; }
.blog-page .post-grid:first-child { margin-block-start: 40px; } /* no category links */
.blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 40px 40px; }
.blog-cats__link { padding: 15px 35px; border-radius: 35px; background: #fff; color: var(--dc-color-text); text-decoration: none; line-height: 24px; }
.blog-cats__link.is-current, .blog-cats__link:hover { background: var(--dc-color-dark); color: #fff; }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 275px)); justify-content: center; gap: 48px 30px; }
.post-grid--related { grid-template-columns: repeat(3, minmax(0, 306px)); }
.post-card { display: flex; flex-direction: column; }
.post-card__media { display: block; aspect-ratio: 1 / 0.71; overflow: hidden; background: var(--dc-color-border); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card:hover .post-card__media img { transform: scale(1.03); }
.post-card__title { margin: 20px 0 0; font-size: 1.5rem; font-weight: var(--dc-weight-bold); line-height: 1.2; }
.post-card__title a { color: var(--dc-color-text); text-decoration: none; }
.post-card__title a:hover { color: var(--dc-color-accent); }
.post-card__excerpt { margin: 0 0 10px; color: #5f6672; font-size: var(--dc-size-small); line-height: 21px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card__more.button { align-self: flex-start; margin-block-start: auto; min-width: 120px; min-height: 40px; padding: 8px 16px; border-radius: 6px; font-weight: var(--dc-weight-medium); }
.blog-pagination { margin-block-start: 40px; }
@media (max-width: 1024px) { .post-grid, .post-grid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .post-grid, .post-grid--related { grid-template-columns: minmax(0, 1fr); gap: 36px; } .blog-cats { margin-block: 24px; } }

/* ---- single post ---- */
.single-post .container { max-width: calc(1296px + 2 * var(--dc-gutter)); }
.single-post__article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; align-items: start; padding-block: 8px 48px; }
.single-post__body { grid-column: 1; padding-inline: 10px; }
.single-post__media { grid-column: 2; grid-row: 1; margin: 0; padding-inline: 10px; position: sticky; top: 160px; }
.admin-bar .single-post__media { top: calc(160px + var(--wp-admin--admin-bar--height, 32px)); }
.single-post__media img { display: block; width: 100%; height: auto; }
.related-posts { padding-block: 24px 64px; }
.related-posts__title { margin: 0 0 24px; text-align: center; font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); font-weight: var(--dc-weight-regular); }
@media (max-width: 900px) {
	.single-post__article { grid-template-columns: minmax(0, 1fr); padding-block: 4px 24px; }
	.single-post__media { grid-column: 1; grid-row: 2; position: static; } /* after the article on mobile, as today */
	.single-post__body { grid-row: 1; }
}

/* ---- contact ---- */
.contact-page { padding-block-end: 56px; }
.contact-page .container { max-width: calc(1296px + 2 * var(--dc-gutter)); }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 345px)); justify-content: center; gap: 20px; list-style: none; margin: 40px 0 32px; padding: 0; }
.contact-card { position: relative; display: flex; flex-direction: column; padding: 40px 25px 0; border-radius: 10px; background: #fff; box-shadow: 0 0 10px rgb(0 0 0 / 0.15); }
.contact-card__icon { position: absolute; top: -12px; inset-inline-end: 25px; width: 48px; height: 48px; }
.contact-card__title { margin: 26px 0; color: #132f58; font-size: 1.625rem; font-weight: var(--dc-weight-bold); line-height: 1.2; }
.contact-card__text { margin: 0 0 24px; line-height: 24px; text-align: start; }
.contact-card__button { margin: auto -25px 0; padding: 8px; border-radius: 0 0 10px 10px; background: var(--dc-color-accent); color: #fff; font-size: 1.5rem; font-weight: var(--dc-weight-bold); text-align: center; text-decoration: none; }
.contact-card__button::after { content: ""; position: absolute; inset: 0; } /* the whole card is clickable, as today */
.contact-card:hover .contact-card__button { background: var(--dc-color-accent-dark); }
.contact-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.contact-main__title { margin: 0 0 20px; color: #132f58; font-size: 1.5rem; font-weight: var(--dc-weight-bold); }
.contact-links { display: grid; grid-template-columns: repeat(2, max-content); gap: 16px 60px; list-style: none; margin: 24px 0 0; padding: 0; }
.contact-links a { display: flex; align-items: center; gap: 12px; color: var(--dc-color-text); font-size: 1.125rem; font-weight: var(--dc-weight-medium); text-decoration: none; }
.contact-links a:hover { color: var(--dc-color-accent); }
.contact-links__icon { width: 32px; height: 32px; }
/* the form: two columns, placeholders as labels (as today); labels stay for screen readers */
.dc-form--contact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.dc-form--contact .dc-form__field label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dc-form--contact .dc-form__field:has(textarea), .dc-form--contact .dc-form__message { grid-column: 1 / -1; }
.dc-form--contact input, .dc-form--contact textarea { min-height: 40px; padding: 5px 14px; border: 1px solid #d5d8dc; border-radius: 3px; background: #fff; font-size: 0.9375rem; }
.dc-form--contact .dc-form__submit { grid-column: 1 / -1; justify-self: end; min-width: 152px; min-height: 40px; padding: 0 24px; border-radius: 35px; font-weight: var(--dc-weight-bold); box-shadow: 0 4px 10px rgb(0 0 0 / 0.2); }
@media (max-width: 900px) {
	.contact-cards { grid-template-columns: minmax(0, 1fr); gap: 44px; margin-block-start: 48px; }
	.contact-main { grid-template-columns: minmax(0, 1fr); gap: 24px; }
}
@media (max-width: 767px) {
	.contact-links { gap: 16px 40px; }
	.dc-form--contact .dc-form__submit { justify-self: stretch; }
}

/* ---- 404 ---- */
.not-found__inner { display: flex; flex-direction: column; align-items: center; gap: 20px; padding-block: 48px 96px; text-align: center; }
.not-found__title { margin: 0; font-size: clamp(1.75rem, 1rem + 3vw, 2.75rem); font-weight: var(--dc-weight-bold); line-height: 1; }

/* 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; }

