/*
Theme Name: DUPEN Sleep
Theme URI: https://dupen-sleep.co.il
Author: DUPEN Israel
Description: ערכת עיצוב לאתר DUPEN Sleep – מזרונים מספרד. עברית (RTL), WooCommerce, שפת העיצוב של dupen.com.
Version: 1.24.4
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: dupen-sleep
Tags: rtl-language-support, e-commerce, custom-logo, custom-menu, featured-images, block-patterns
*/

/* ==========================================================================
   1. משתנים – שפת DUPEN (dupen.com), מותאם לניגודיות AA
   ========================================================================== */
:root {
	--slate: #3A4C5A;
	--slate-dark: #26333D;
	--slate-deep: #1C262E;
	--sand: #E1DED7;
	--sand-light: #F1EFEA;
	--off-white: #F8F7F4;
	--gold: #B99A62;          /* רקעים וקווים */
	--gold-on-dark: #D6BC8A;  /* טקסט זהב על רקע כהה */
	--gold-on-light: #7A5F33; /* טקסט זהב על רקע בהיר */
	--teal: #6E8A91;
	--text: #222222;
	--text-muted: #555E68;
	--line: #D9D6CC;
	--white: #FFFFFF;
	--danger: #A61519;

	--font: 'Heebo', 'Arial Hebrew', Arial, sans-serif;
	--font-latin: 'Lexend Deca', 'Heebo', sans-serif;

	--container: 1280px;
	--gutter: clamp(16px, 4vw, 40px);
	--radius: 4px;
	--radius-pill: 999px;
	--shadow: 0 10px 30px rgba(28, 38, 46, .08);
	--header-h: 100px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ==========================================================================
   2. בסיס
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	background: var(--white);
	-webkit-font-smoothing: antialiased;
	direction: rtl;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--slate); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--slate-dark); }
h1, h2, h3, h4, h5, h6 { font-weight: 800; line-height: 1.15; color: var(--slate-dark); margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(34px, 5vw, 60px); }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: clamp(21px, 2.2vw, 26px); }
p { margin: 0 0 1.1em; }
ul, ol { padding-inline-start: 1.3em; }
hr { border: 0; border-top: 1px solid var(--line); margin: 40px 0; }
.latin { font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 1000; width: auto; height: auto; clip: auto; padding: 12px 20px; background: var(--white); color: var(--slate-dark); font-weight: 700; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { min-height: 50vh; }

/* ==========================================================================
   3. כפתורים
   ========================================================================== */
.btn, .wp-block-button__link, .button, button.button, input[type="submit"],
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	font-family: var(--font); font-size: 16px; font-weight: 700; line-height: 1.2;
	padding: 15px 34px; border-radius: var(--radius-pill); border: 2px solid var(--slate);
	background: var(--slate); color: var(--white); text-decoration: none; cursor: pointer;
	transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover, .wp-block-button__link:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover {
	background: var(--slate-dark); border-color: var(--slate-dark); color: var(--white);
}
.btn-gold, .is-style-gold .wp-block-button__link,
.woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt, .woocommerce #respond input#submit.alt {
	background: var(--gold); border-color: var(--gold); color: var(--slate-deep);
}
.btn-gold:hover, .is-style-gold .wp-block-button__link:hover,
.woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover {
	background: #A88A54; border-color: #A88A54; color: var(--slate-deep);
}
.btn-outline, .is-style-outline .wp-block-button__link { background: transparent; color: var(--slate); }
.btn-outline:hover, .is-style-outline .wp-block-button__link:hover { background: var(--slate); color: var(--white); }
.on-dark .btn-outline, .on-dark .is-style-outline .wp-block-button__link { border-color: var(--white); color: var(--white); }
.on-dark .btn-outline:hover, .on-dark .is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--slate-dark); }
.woocommerce button.button:disabled, .woocommerce button.button.disabled,
.woocommerce button.button.alt:disabled, .woocommerce button.button.alt.disabled,
.woocommerce button.button.alt:disabled[disabled], .woocommerce button.button.alt.disabled:hover {
	background: var(--gold); border-color: var(--gold); color: var(--slate-deep); opacity: .5; cursor: not-allowed;
}
.btn svg, .button svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ==========================================================================
   4. פס הודעה + Header
   ========================================================================== */
.topbar { background: var(--slate-deep); color: rgba(255, 255, 255, .88); font-size: 14px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--gold-on-dark); }
.topbar-items { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.topbar-items li { display: flex; align-items: center; gap: 8px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-on-dark); }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--slate); color: var(--white); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .18); }
/* מתחת לסרגל הניהול של WordPress (רק למחוברים): 32px במחשב, 46px בטאבלט, ובטלפון (עד 600px) הסרגל נגלל עם הדף – אז 0. */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }
.site-header .container { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.site-branding { flex-shrink: 0; display: flex; align-items: center; }
.site-branding a { display: flex; align-items: center; gap: 14px; color: var(--white); text-decoration: none; }
/*
 * הלוגו נקרא "DUPEN SLEEP" משמאל לימין. כל המידות נגזרות מגובה התמונה (--logo-h),
 * לפי מדידה של logo-white.png (176×90): אותיות DUPEN בשורות 43–73, כלומר גובה אות 31/90,
 * וקו הבסיס 16/90 מעל תחתית התמונה. ב-Lexend Deca גובה אות גדולה = 0.70em.
 */
.site-branding { --logo-h: 66px; }
.site-header.is-scrolled .site-branding { --logo-h: 54px; }
.site-branding a { direction: ltr; align-items: baseline; gap: 0; }
.site-branding img { height: var(--logo-h); width: auto; transition: height .3s var(--ease); }
.brand-text { display: flex; flex-direction: column; gap: 7px; margin-left: calc(var(--logo-h) * .1); transform: translateY(calc(var(--logo-h) * -16 / 90)); }
.site-branding .brand-sub { font-family: var(--font-latin); font-size: calc(var(--logo-h) * 31 / 90 / .7); font-weight: 500; letter-spacing: .05em; line-height: 1; color: var(--gold-on-dark); text-transform: uppercase; white-space: nowrap; transition: font-size .3s var(--ease); }
/* קו מפריד בין DUPEN ל-SLEEP (אפשר לכבות בהתאמה אישית) */
.has-divider .brand-text { margin-left: calc(var(--logo-h) * .15); }
.has-divider .brand-sub::before { content: ""; display: inline-block; width: 1px; height: 1.1em; vertical-align: -.2em; margin-right: .46em; background: rgba(255, 255, 255, .3); }
.brand-slogan { direction: rtl; font-size: 15px; font-weight: 400; line-height: 1.2; color: rgba(255, 255, 255, .86); white-space: nowrap; }

/* סלוגן – חלופה א (פס עליון) וחלופה ג (פס מתחת לכותרת) */
.topbar.has-slogan .container { position: relative; }
.topbar-slogan { position: absolute; left: 50%; transform: translateX(-50%); margin: 0; font-weight: 500; letter-spacing: .02em; color: var(--gold-on-dark); text-align: center; white-space: nowrap; }
.slogan-strip { background: var(--sand-light); border-bottom: 1px solid var(--line); }
.slogan-strip p { margin: 0; padding: 9px 0; text-align: center; font-size: 15px; font-weight: 500; letter-spacing: .04em; color: var(--slate-dark); }

/* תפריט ראשי – עיצוב 24/11/2026: קו זהב מתחת לפריט, תפריט נפתח מעוגל עם פס זהב, "צור קשר" ככפתור מסגרת */
.main-nav { flex: 1; min-width: 0; display: flex; justify-content: center; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 2px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 10px 14px; color: rgba(255, 255, 255, .92); font-weight: 500; font-size: 16px; letter-spacing: .01em; text-decoration: none; border-radius: var(--radius); white-space: nowrap; transition: color .2s var(--ease), background-color .2s var(--ease); }
.main-nav > ul > li > a:hover, .main-nav > ul > li:hover > a { color: var(--gold-on-dark); }
.main-nav > ul > li.current-menu-item > a, .main-nav > ul > li.current-menu-ancestor > a { color: var(--white); }
.main-nav > ul > li > a { position: relative; }
.main-nav > ul > li > a::after { content: ""; position: absolute; inset-inline: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--gold); transform: scaleX(0); transition: transform .25s var(--ease); }
.main-nav > ul > li:hover > a::after, .main-nav > ul > li.current-menu-item > a::after, .main-nav > ul > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.main-nav .menu-item-has-children > a { padding-inline-end: 30px; }
.main-nav .menu-item-has-children > a::after { inset-inline-end: 30px; }
.main-nav .menu-item-has-children > a::before { content: ""; position: absolute; inset-inline-end: 13px; top: 50%; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-75%) rotate(45deg); opacity: .75; transition: transform .25s var(--ease); }
.main-nav .menu-item-has-children:hover > a::before, .main-nav .menu-item-has-children:focus-within > a::before { transform: translateY(-25%) rotate(-135deg); }
.main-nav .sub-menu {
	position: absolute; top: calc(100% + 12px); inset-inline-start: 0; z-index: 5; min-width: 270px; padding: 8px;
	background: var(--white); border-top: 3px solid var(--gold); border-radius: 0 0 12px 12px; box-shadow: 0 22px 48px rgba(28, 38, 46, .2);
	opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
/* גשר שקוף – העכבר עובר מהפריט לתפריט הנפתח בלי שהוא ייסגר */
.main-nav .sub-menu::before { content: ""; position: absolute; inset-inline: 0; bottom: 100%; height: 15px; }
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { display: flex; align-items: center; justify-content: flex-start; gap: 8px; color: var(--text); padding: 11px 14px; font-size: 15px; border-radius: 8px; }
.main-nav .sub-menu a::after { content: "←"; color: var(--gold-on-light); opacity: 0; transform: translateX(6px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: var(--sand-light); color: var(--slate-dark); }
.main-nav .sub-menu a:hover::after { opacity: 1; transform: none; }
.main-nav .sub-menu .menu-all { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); }
.main-nav .sub-menu .menu-all > a { color: var(--gold-on-light); font-weight: 700; }
.main-nav .sub-menu .menu-all > a::after { opacity: 1; transform: none; }
.nav-head, .nav-contact, .nav-backdrop, .sub-toggle { display: none; }

.header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
@media (min-width: 1001px) { .header-actions { padding-inline-start: 14px; border-inline-start: 1px solid rgba(255, 255, 255, .14); } }
.icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; color: var(--white); background: transparent; border: 0; cursor: pointer; text-decoration: none; padding: 0; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); color: var(--white); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; inset-inline-end: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--gold); color: var(--slate-deep); font-size: 11px; font-weight: 700; line-height: 19px; text-align: center; font-family: var(--font-latin); }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; }

.header-search { position: absolute; inset-inline: 0; top: 100%; background: var(--white); box-shadow: var(--shadow); padding: 22px 0; display: none; }
.header-search.is-open { display: block; }
.header-search form { display: flex; gap: 10px; max-width: 720px; margin-inline: auto; }
.header-search input[type="search"] { flex: 1; }

/* ==========================================================================
   5. טפסים
   ========================================================================== */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], input[type="password"], input[type="number"], input[type="url"], textarea, select,
.woocommerce form .form-row .input-text, .woocommerce form .form-row select {
	width: 100%; font-family: var(--font); font-size: 16px; color: var(--text); background: var(--white);
	border: 1px solid #B9B6AD; border-radius: var(--radius); padding: 13px 16px; line-height: 1.3;
	transition: border-color .2s;
}
input:focus, textarea:focus, select:focus { border-color: var(--slate); outline: none; box-shadow: 0 0 0 3px rgba(58, 76, 90, .15); }
label { font-weight: 500; }

/* ==========================================================================
   6. כותרות עמוד ותוכן
   ========================================================================== */
.page-hero { background: var(--slate); color: var(--white); padding: 70px 0 60px; position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 760px; height: 760px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .08); inset-inline-start: -260px; top: -480px; }
.page-hero h1 { color: var(--white); margin: 0; position: relative; }
.page-hero .kicker { color: var(--gold-on-dark); }
.breadcrumbs, .woocommerce-breadcrumb { font-size: 14px; color: rgba(255, 255, 255, .72); margin-bottom: 14px; position: relative; }
.breadcrumbs a, .woocommerce-breadcrumb a { color: inherit; }

.kicker { display: inline-block; width: fit-content; align-self: flex-start; font-size: 14px; font-weight: 700; letter-spacing: .08em; color: var(--gold-on-light); padding-bottom: 8px; border-bottom: 2px solid var(--gold); margin-bottom: 18px; }
.kicker.has-text-align-center { margin-inline: auto; align-self: center; }
.on-dark .kicker, .has-slate-background-color .kicker, .has-slate-dark-background-color .kicker { color: var(--gold-on-dark); }

.entry-content { padding: 60px var(--gutter) 80px; }
.entry-content > * { max-width: 820px; margin-inline: auto; }
.entry-content > .alignwide { max-width: var(--container); padding-inline: var(--gutter); }
.entry-content > .alignfull { max-width: none; }
.entry-content h2 { margin-top: 1.6em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border-bottom: 1px solid var(--line); padding: 12px; text-align: start; }

.is-front-page .entry-content, .page-template-page-templates-full-width .entry-content { padding: 0; }
.is-front-page .entry-content > *, .page-template-page-templates-full-width .entry-content > * { max-width: none; margin: 0; }
.wp-block-buttons { gap: 14px; }

/* ==========================================================================
   7. מקטעים של עמוד הבית (block patterns)
   ========================================================================== */
.ds-section { padding: clamp(60px, 8vw, 110px) var(--gutter) !important; }
.ds-section > * { max-width: var(--container); margin-inline: auto !important; }
.ds-section > * + * { margin-top: 0; }
/* בערכת עיצוב קלאסית וורדפרס עוטף כל Group ב-inner-container, לכן הפריסה חלה על שניהם */
.ds-section-head { margin-bottom: 44px; }
.ds-section-head, .ds-section-head > .wp-block-group__inner-container { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.ds-section-head > .wp-block-group__inner-container { width: 100%; }
.ds-section-head .ds-lead { margin: 0; }
.ds-section-head .wp-block-buttons { margin: 0; }
.ds-section-head h2 { margin: 0; }
.ds-lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--text-muted); max-width: 640px; }
.on-dark .ds-lead { color: rgba(255, 255, 255, .82); }

/* Hero (בלוק Cover) */
.wp-block-cover.ds-hero { min-height: min(88vh, 820px) !important; padding: 0; justify-content: center; align-items: center; color: var(--white); overflow: hidden; }
.wp-block-cover.ds-hero::after { content: ""; position: absolute; z-index: 1; pointer-events: none; width: 1100px; height: 1100px; border-radius: 50%; border: 2px solid rgba(214, 188, 138, .25); inset-inline-start: -380px; top: -700px; }
.wp-block-cover.ds-hero .wp-block-cover__inner-container { width: 100%; max-width: var(--container); margin-inline: auto; padding: 100px var(--gutter); color: var(--white); }
.ds-hero-content { max-width: 620px; }
.wp-block-cover.is-dark .is-style-outline .wp-block-button__link, .wp-block-cover .is-style-outline .wp-block-button__link { border-color: var(--white); color: var(--white); background: transparent; }
.wp-block-cover .is-style-outline .wp-block-button__link:hover { background: var(--white); color: var(--slate-dark); }
.wp-block-cover .kicker { color: var(--gold-on-dark); }
.ds-hero h1 { color: var(--white); font-size: clamp(40px, 6.2vw, 78px); line-height: 1.04; margin-bottom: 22px; }
.ds-hero p { font-size: clamp(18px, 1.7vw, 22px); color: rgba(255, 255, 255, .88); font-weight: 300; margin-bottom: 34px; }
.ds-hero .kicker { color: var(--gold-on-dark); }
.ds-hero .wp-block-buttons, .ds-hero .ds-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* פס יתרונות */
.ds-usps { background: var(--slate-dark); color: var(--white); padding: 34px var(--gutter); }
.ds-usps ul { list-style: none; margin: 0 auto; padding: 0; max-width: var(--container); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ds-usps li { display: flex; align-items: center; gap: 16px; }
.ds-usps svg { width: 38px; height: 38px; flex-shrink: 0; color: var(--gold-on-dark); }
.ds-usps strong { display: block; font-size: 17px; }
.ds-usps span { font-size: 14px; color: rgba(255, 255, 255, .75); }

/* כרטיסי קטגוריה */
.ds-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ds-cat { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; color: var(--white); text-decoration: none; background: var(--slate) center / cover no-repeat; }
.ds-cat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28, 38, 46, .88) 0%, rgba(28, 38, 46, 0) 60%); transition: background .3s; }
.ds-cat:hover::before { background: linear-gradient(to top, rgba(28, 38, 46, .92) 0%, rgba(28, 38, 46, .2) 80%); }
.ds-cat-text { position: absolute; inset-inline: 26px; bottom: 24px; }
.ds-cat-text h3 { color: var(--white); margin: 0 0 4px; font-size: 25px; }
.ds-cat-text span { font-size: 15px; color: var(--gold-on-dark); font-weight: 500; }
.ds-cat-text span::after { content: " ←"; }
.ds-cats-6 { grid-template-columns: repeat(3, 1fr); }
.ds-cats-6 .ds-cat { aspect-ratio: 4 / 3; }

/* טקסט SEO מתחת למוצרים בקטגוריה */
.ds-seo-text { max-width: 860px; margin: 70px 0 0; padding-top: 50px; border-top: 1px solid var(--line); color: var(--text-muted); }
.ds-seo-text h2 { font-size: clamp(24px, 2.6vw, 32px); color: var(--slate-dark); }
.ds-seo-text h3 { font-size: 21px; margin-top: 1.4em; color: var(--slate-dark); }
.ds-seo-text ul { padding-inline-start: 1.2em; }
.ds-seo-text li { margin-bottom: 8px; }
.ds-seo-text strong { color: var(--text); }
.ds-layers { color: var(--text-muted); font-size: 15px; line-height: 1.9; }

/* מקטע מפוצל תמונה/טקסט (בלוק Columns) */
.wp-block-columns.ds-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 0; align-items: stretch; min-height: 560px; margin: 0; }
.wp-block-columns.ds-split > .wp-block-column { margin: 0; flex-basis: auto; }
.ds-split-media { min-height: 380px; overflow: hidden; }
.ds-split-media figure { margin: 0; height: 100%; }
.ds-split-media img { width: 100%; height: 100%; object-fit: cover; }
.ds-split-body { padding: clamp(50px, 7vw, 100px) clamp(24px, 6vw, 90px); display: flex; flex-direction: column; justify-content: center; }
.ds-split.is-dark .ds-split-body { background: var(--slate); color: var(--white); }
.ds-split.is-dark h2 { color: var(--white); }
.ds-split.is-dark .kicker { color: var(--gold-on-dark); }
.ds-split.is-sand .ds-split-body { background: var(--sand); }
.ds-stats { display: flex; gap: 40px; margin: 10px 0 34px; flex-wrap: wrap; }
.ds-stat strong { display: block; font-family: var(--font-latin); font-size: 46px; font-weight: 400; line-height: 1; color: var(--gold-on-dark); }
.ds-split.is-sand .ds-stat strong { color: var(--slate); }
.ds-stat span { font-size: 15px; opacity: .85; }

/* כרטיסי "איך בוחרים" */
.ds-guide { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ds-guide-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 30px; transition: box-shadow .25s, transform .25s; }
.ds-guide-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.ds-guide-card .num { font-family: var(--font-latin); font-size: 15px; letter-spacing: 3px; color: var(--teal); }
.ds-guide-card h3 { margin: 10px 0 10px; }
.ds-guide-card p { color: var(--text-muted); margin: 0; }

/* אולם תצוגה */
.wp-block-cover.ds-showroom { padding: 90px var(--gutter); color: var(--white); text-align: center; }
.wp-block-cover.ds-showroom .wp-block-cover__inner-container { max-width: 780px; }
.ds-showroom h2 { color: var(--white); }
.ds-showroom .ds-lead { margin-inline: auto; color: rgba(255, 255, 255, .85); }
.ds-showroom .wp-block-buttons { justify-content: center; margin-top: 30px; }

/* 10 דקות בחנות מול 144,000 דקות בבית */
.ds-minutes { display: flex; align-items: stretch; justify-content: center; gap: clamp(14px, 3vw, 34px); margin: 26px auto 22px; }
.ds-minutes > div { flex: 1 1 0; max-width: 300px; padding: 20px 18px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 10px; background: rgba(255, 255, 255, .05); }
.ds-minutes > div:last-child { border-color: var(--gold); background: rgba(185, 154, 98, .14); }
.ds-minutes strong { display: block; font-family: var(--font-latin, inherit); font-size: clamp(34px, 5vw, 54px); line-height: 1; color: var(--white); }
.ds-minutes > div:first-child strong { color: rgba(255, 255, 255, .55); }
.ds-minutes > div:last-child strong { color: var(--gold); }
.ds-minutes span { display: block; margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.ds-minutes .vs { flex: 0 0 auto; align-self: center; padding: 0; border: 0; background: none; font-weight: 700; color: rgba(255, 255, 255, .6); }
@media (max-width: 600px) {
	.ds-minutes { flex-direction: column; align-items: center; }
	.ds-minutes > div { width: 100%; }
}
.ds-minutes-note { margin: -6px 0 18px; padding: 12px 14px; border-inline-start: 3px solid var(--gold); background: var(--sand-light, #F1EFEA); border-radius: 4px; font-size: 15px; line-height: 1.5; }
.ds-minutes-note a { white-space: nowrap; }
.ds-checkout-promise { list-style: none; margin: 0 0 18px; padding: 14px 16px; display: grid; gap: 8px; background: var(--sand-light, #F1EFEA); border-radius: 8px; font-size: 15px; }
.ds-checkout-promise li { display: flex; gap: 10px; align-items: center; }
.ds-checkout-promise svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }

.has-sand-background-color { background-color: var(--sand) !important; }
.has-sand-light-background-color { background-color: var(--sand-light) !important; }
.has-slate-background-color { background-color: var(--slate) !important; }
.has-slate-dark-background-color { background-color: var(--slate-dark) !important; }
.has-gold-background-color { background-color: var(--gold) !important; }
.has-white-color { color: var(--white) !important; }
.has-slate-color { color: var(--slate) !important; }

/* ==========================================================================
   8. WooCommerce – כללי
   ========================================================================== */
.woocommerce-page .site-main > .container, .ds-shop { padding-top: 50px; padding-bottom: 90px; }
.woocommerce .woocommerce-result-count { color: var(--text-muted); font-size: 15px; margin: 0; }
.woocommerce .woocommerce-ordering select { width: auto; min-width: 220px; padding-block: 10px; }
.ds-shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.ds-shop-toolbar .woocommerce-ordering, .ds-shop-toolbar .woocommerce-result-count { float: none; margin: 0; }
.term-description { max-width: 820px; color: var(--text-muted); margin-bottom: 30px; }
.ds-subcats { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 30px; padding: 0; list-style: none; }
.ds-subcats a { display: inline-block; padding: 9px 20px; border: 1px solid var(--line); border-radius: var(--radius-pill); text-decoration: none; color: var(--text); font-weight: 500; }
.ds-subcats a:hover, .ds-subcats .is-active a { background: var(--slate); border-color: var(--slate); color: var(--white); }

/* רשת מוצרים */
.woocommerce ul.products, .woocommerce-page ul.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 26px; margin: 0; padding: 0; }
.woocommerce ul.products.columns-4 { grid-template-columns: repeat(4, 1fr); }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: start; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link { text-decoration: none; color: inherit; display: block; }
.woocommerce ul.products li.product a img { aspect-ratio: 1 / 1; object-fit: cover; background: var(--sand-light); border-radius: var(--radius); margin: 0 0 18px; transition: transform .5s var(--ease); }
.woocommerce ul.products li.product:hover a img { transform: scale(1.025); }
.ds-loop-img { overflow: hidden; border-radius: var(--radius); margin-bottom: 18px; background: var(--sand-light); }
.ds-loop-img img { margin: 0 !important; }
.woocommerce ul.products li.product .ds-loop-cat { font-size: 13px; font-weight: 700; color: var(--gold-on-light); letter-spacing: .05em; margin-bottom: 4px; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 20px; font-weight: 700; color: var(--slate-dark); padding: 0; margin: 0 0 6px; }
.woocommerce ul.products li.product .price { color: var(--text); font-size: 17px; font-weight: 500; margin-bottom: 16px; }
.woocommerce ul.products li.product .price .ds-from { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: flex-start; padding: 11px 26px; font-size: 15px; background: transparent; color: var(--slate); }
.woocommerce ul.products li.product .button:hover { background: var(--slate); color: var(--white); }
.ds-specs-mini { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; padding: 0; list-style: none; }
.ds-specs-mini li { font-size: 13px; padding: 3px 11px; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line); color: var(--text-muted); }

.woocommerce span.onsale { background: var(--gold); color: var(--slate-deep); border-radius: var(--radius-pill); min-height: 0; min-width: 0; padding: 6px 14px; line-height: 1.2; font-weight: 700; top: 14px; inset-inline-start: 14px; left: auto; }

.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; gap: 8px; justify-content: center; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { border-radius: 50%; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--slate); color: var(--white); border-color: var(--slate); }

/* הודעות */
.woocommerce-message, .woocommerce-info, .woocommerce-error { border-top: 0; border-inline-start: 4px solid var(--slate); background: var(--sand-light); color: var(--text); border-radius: var(--radius); padding: 18px 24px 18px 24px !important; list-style: none; }
.woocommerce-message::before, .woocommerce-info::before, .woocommerce-error::before { display: none; }
.woocommerce-error { border-inline-start-color: var(--danger); }
.woocommerce-message .button, .woocommerce-info .button { float: none !important; margin-inline-start: 16px; padding: 9px 22px; }

/* ==========================================================================
   9. WooCommerce – עמוד מוצר
   ========================================================================== */
.single-product .site-main > .container { padding-top: 34px; }
.single-product .woocommerce-breadcrumb { color: var(--text-muted); }
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(30px, 5vw, 70px); align-items: start; }
.single-product div.product::before, .single-product div.product::after { display: none; }
.single-product div.product .woocommerce-product-gallery, .single-product div.product .summary { width: auto !important; float: none !important; margin: 0 !important; }
.single-product div.product .woocommerce-product-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.single-product div.product .woocommerce-product-gallery img { border-radius: var(--radius); background: var(--sand-light); }
.woocommerce div.product div.images .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.woocommerce div.product div.images .flex-control-thumbs li { width: auto !important; float: none !important; }
.woocommerce div.product div.images .flex-control-thumbs li img { border-radius: var(--radius); opacity: .6; }
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active, .woocommerce div.product div.images .flex-control-thumbs li img:hover { opacity: 1; }
.woocommerce div.product div.images .woocommerce-product-gallery__trigger { inset-inline-end: 14px; left: auto; right: auto; }
.single-product div.product .related, .single-product div.product .upsells, .single-product div.product .woocommerce-tabs { grid-column: 1 / -1; }

.single-product .summary .ds-loop-cat { font-size: 14px; font-weight: 700; color: var(--gold-on-light); letter-spacing: .05em; }
.single-product .product_title { font-size: clamp(30px, 3.6vw, 46px); margin: 6px 0 12px; }
.woocommerce div.product p.price, .woocommerce div.product span.price { color: var(--slate-dark); font-size: 28px; font-weight: 700; font-family: var(--font); }
.woocommerce div.product .woocommerce-product-details__short-description { color: var(--text-muted); font-size: 18px; margin: 18px 0 26px; }
.woocommerce div.product form.cart { margin: 26px 0 18px; padding: 26px 0; border-block: 1px solid var(--line); }
.woocommerce div.product form.cart .variations { margin-bottom: 18px; border: 0; }
.woocommerce div.product form.cart .variations th, .woocommerce div.product form.cart .variations td { display: block; padding: 0; text-align: start; line-height: 1.4; }
.woocommerce div.product form.cart .variations th label { font-weight: 700; margin-bottom: 8px; display: block; }
.woocommerce div.product form.cart .variations tr { display: block; margin-bottom: 16px; }
.woocommerce div.product form.cart .reset_variations { font-size: 14px; margin-top: 8px; display: inline-block; }
.woocommerce div.product form.cart .woocommerce-variation-price { margin-bottom: 14px; }
.woocommerce div.product form.cart .woocommerce-variation-add-to-cart, .woocommerce div.product form.cart:not(.variations_form) { display: flex; gap: 12px; flex-wrap: wrap; align-items: stretch; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.woocommerce .quantity .qty { width: 80px; height: 100%; min-height: 54px; text-align: center; border-radius: var(--radius-pill); }
.woocommerce div.product form.cart .button { flex: 1; min-height: 54px; font-size: 17px; float: none; }
.product_meta { font-size: 14px; color: var(--text-muted); }
.product_meta > span { display: block; margin-bottom: 4px; }
.product_meta .sku_wrapper { display: none; }

.ds-trust { list-style: none; margin: 20px 0; padding: 0; display: grid; gap: 12px; }
.ds-trust li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.ds-trust svg { width: 22px; height: 22px; color: var(--teal); flex-shrink: 0; margin-top: 1px; }
.ds-help { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.ds-help a { flex: 1; min-width: 160px; }

/* טאבים */
.woocommerce div.product .woocommerce-tabs { margin-top: 60px; }
.woocommerce div.product .woocommerce-tabs ul.tabs { display: flex; gap: 6px; padding: 0; margin: 0 0 30px; border-bottom: 1px solid var(--line); overflow-x: auto; }
.woocommerce div.product .woocommerce-tabs ul.tabs::before, .woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li { background: none; border: 0; border-radius: 0; margin: 0; padding: 0; }
.woocommerce div.product .woocommerce-tabs ul.tabs li::before, .woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 14px 20px; font-weight: 700; color: var(--text-muted); border-bottom: 3px solid transparent; white-space: nowrap; }
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--slate-dark); border-bottom-color: var(--gold); }
.woocommerce div.product .woocommerce-tabs .panel { max-width: 860px; margin: 0; }
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child { display: none; }
.woocommerce table.shop_attributes { border: 0; }
.woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td { border: 0; border-bottom: 1px solid var(--line); padding: 14px 0; text-align: start; font-style: normal; background: none !important; }
.woocommerce table.shop_attributes th { width: 200px; font-weight: 700; }
.ds-features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 30px; }
.ds-features li { padding-inline-start: 30px; position: relative; }
.ds-features li::before { content: ""; position: absolute; inset-inline-start: 0; top: 7px; width: 14px; height: 8px; border-left: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(-45deg); }

/* טאב מפרט טכני */
.woocommerce div.product .woocommerce-tabs .panel.woocommerce-Tabs-panel--additional_information { max-width: 1120px; }
.ds-spec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 44px; }
.ds-spec-icons { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 26px 18px; }
.ds-spec-icons li { width: 104px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 14px; line-height: 1.3; color: var(--text); }
.ds-spec-icons img { width: 72px; height: 72px; }
.ds-spec-badge { width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--slate); color: var(--slate-dark); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; font-family: var(--font-latin); }
.ds-spec-badge b { font-size: 21px; font-weight: 600; }
.ds-spec-badge small { font-size: 12px; font-family: var(--font); margin-top: 3px; }
.ds-spec-table { width: 100%; max-width: 760px; border-collapse: collapse; table-layout: fixed; }
.ds-spec-table td { overflow-wrap: anywhere; }
.ds-spec-table caption, .ds-spec-layers h3 { text-align: start; font-size: 22px; font-weight: 800; color: var(--slate-dark); margin: 0 0 12px; caption-side: top; }
.ds-spec-table th, .ds-spec-table td { padding: 13px 0; border-bottom: 1px solid var(--line); text-align: start; vertical-align: top; }
.ds-spec-table th { width: 38%; padding-inline-end: 20px; font-weight: 700; color: var(--slate-dark); }
.ds-spec-layers { display: grid; gap: 34px; align-items: center; }
.ds-spec-layers.has-diagram { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.ds-spec-note { color: var(--text-muted); font-size: 15px; margin: -4px 0 20px; }
.ds-layer-group { position: relative; padding-inline-start: 22px; margin-bottom: 22px; border-inline-start: 2px solid var(--sand); }
.ds-layer-group h4 { font-size: 13px; font-weight: 700; letter-spacing: .06em; color: var(--gold-on-light, #7A5F33); margin: 0 0 8px; }
.ds-layer-group ol { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.ds-layer-group li { position: relative; padding: 5px 0; line-height: 1.45; }
.ds-layer-group li::before { content: ""; position: absolute; inset-inline-start: -28px; top: 13px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); border: 2px solid var(--teal); }
.ds-spec-diagram { margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--sand-light); }
.ds-spec-diagram img { display: block; width: 100%; height: auto; }
@media (max-width: 860px) {
	.ds-spec-layers.has-diagram { grid-template-columns: 1fr; }
	.ds-spec-diagram { order: -1; }
	.ds-spec-icons { gap: 20px 10px; }
	.ds-spec-icons li { width: calc(33.333% - 7px); }
}

.related.products, .upsells.products { margin-top: 70px; }
.related.products > h2, .upsells.products > h2 { font-size: 32px; margin-bottom: 30px; }

/* ==========================================================================
   10. עגלה, קופה, החשבון שלי
   ========================================================================== */
.woocommerce table.shop_table { border: 1px solid var(--line); border-radius: var(--radius); border-collapse: separate; }
.woocommerce table.shop_table th { font-weight: 700; background: var(--sand-light); }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { padding: 16px; text-align: start; }
.woocommerce-cart .cart-collaterals .cart_totals, .woocommerce-checkout #order_review { background: var(--sand-light); padding: 30px; border-radius: var(--radius); }
.woocommerce-cart .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-inline-start: auto; }
/* קוד קופון בסל: תיבת הטקסט באותו גובה ובאותה צורה כמו הכפתור (WooCommerce מקטין אותה ל-80px) */
.woocommerce-cart table.cart td.actions .coupon { display: inline-flex; align-items: stretch; gap: 10px; }
.woocommerce-cart table.cart td.actions .coupon .input-text { float: none; width: 220px; max-width: 100%; margin: 0; padding: 0 20px; min-height: 52px; border: 1px solid #B9B6AD; border-radius: var(--radius-pill); font-size: 16px; box-sizing: border-box; }
.woocommerce-cart table.cart td.actions .coupon .input-text:focus { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(58, 76, 90, .15); outline: none; }
.woocommerce-cart table.cart td.actions .coupon .button { float: none; margin: 0; white-space: nowrap; }
@media (max-width: 768px) {
	/* min-width: 0 + box-sizing – בלי זה שדה הקופון והכפתור מרחיבים את כל עמוד הסל מעבר לרוחב הטלפון (23/11/2026) */
	.woocommerce-cart table.cart td.actions .coupon { display: flex; flex-wrap: wrap; width: 100%; max-width: 100%; box-sizing: border-box; padding-bottom: 12px; }
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1 1 150px; width: auto; min-width: 0; }
	.woocommerce-cart table.cart td.actions .coupon .button { flex: 0 1 auto; width: auto; min-width: 0; }
	.woocommerce-cart table.cart td.actions { box-sizing: border-box; max-width: 100%; }
	.woocommerce-cart table.cart, .woocommerce-cart .woocommerce-cart-form { max-width: 100%; }
}
.woocommerce-cart .cart_totals .woocommerce-shipping-destination, .woocommerce-cart .cart_totals .woocommerce-shipping-calculator { display: none; }
.woocommerce .cart_totals h2, .woocommerce-checkout h3 { font-size: 24px; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.woocommerce-checkout .col2-set .col-1, .woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
/* ה-clearfix של WooCommerce (::before/::after) הופך לתא בגריד ודוחף את העמודות – מבטלים אותו */
.woocommerce .col2-set::before, .woocommerce .col2-set::after { display: none; }
/* עמוד ההזמנה שהתקבלה / צפייה בהזמנה: כתובת חיוב וכתובת משלוח זו לצד זו, באותו גובה */
.woocommerce-customer-details .col2-set.addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: stretch; margin-bottom: 30px; }
.woocommerce-customer-details .col2-set.addresses .woocommerce-column { width: auto; float: none; margin: 0; display: flex; flex-direction: column; }
.woocommerce-customer-details .woocommerce-column__title { font-size: 20px; margin: 0 0 12px; color: var(--slate-dark); }
.woocommerce-customer-details address { flex: 1; margin: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); font-style: normal; line-height: 1.7; }
.woocommerce-customer-details address p { margin: 6px 0 0; }
.woocommerce form .form-row label { margin-bottom: 6px; display: block; }
.woocommerce-checkout #payment { background: var(--white); border-radius: var(--radius); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 12px 16px; border-radius: var(--radius); text-decoration: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--slate); color: var(--white); }

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer { background: var(--slate-deep); color: rgba(255, 255, 255, .78); font-size: 15px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 900px; height: 900px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .05); inset-inline-end: -420px; bottom: -620px; }
.footer-top { padding: 80px 0 50px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { color: var(--white); font-size: 17px; margin-bottom: 18px; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: var(--gold-on-dark); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.footer-brand img { height: 44px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 320px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--gold-on-dark); flex-shrink: 0; margin-top: 3px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: var(--slate-deep); }
.social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; font-size: 14px; position: relative; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom li { margin: 0; }

.wa-float { position: fixed; bottom: 22px; inset-inline-start: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: #1FAF54; color: var(--white); display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0, 0, 0, .22); transition: transform .25s var(--ease); }
.wa-float:hover { transform: scale(1.07); color: var(--white); }
.wa-float svg { width: 30px; height: 30px; }

/* צור קשר */
.ds-contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.ds-contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.ds-contact-card > svg { width: 34px; height: 34px; color: var(--teal); margin-bottom: 10px; }
.ds-contact-card h3 { margin: 0 0 6px; }
.ds-contact-card p { margin: 0 0 6px; }
.ds-contact-card .muted { color: var(--text-muted); font-size: 15px; }
.ds-contact-card .big { font-size: 24px; font-weight: 600; text-decoration: none; }
.ds-contact-card .btn { margin-top: 14px; padding: 11px 26px; }
.ds-contact-card .btn svg { width: 20px; height: 20px; }
.ds-map iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); filter: grayscale(.35); }
@media (max-width: 900px) { .ds-contact-cards { grid-template-columns: 1fr; } }

.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.ds-consent-open { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ds-consent-open:hover { color: var(--gold-on-dark); }

/* ==========================================================================
   תפריט נגישות
   ========================================================================== */
.a11y-toggle {
	position: fixed; z-index: 150; inset-inline-start: 0; top: 42%;
	width: 50px; height: 50px; border: 0; cursor: pointer;
	background: var(--slate-deep); color: var(--white);
	border-start-end-radius: 10px; border-end-end-radius: 10px;
	display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
}
.a11y-toggle:hover { background: var(--slate); }
.a11y-toggle svg { width: 30px; height: 30px; }
.a11y-panel {
	position: fixed; z-index: 151; inset-inline-start: 60px; top: max(90px, 12vh);
	width: min(360px, calc(100vw - 80px)); max-height: calc(100vh - 120px); overflow-y: auto;
	background: var(--white); color: var(--text); border-radius: 10px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
	padding: 18px; font-size: 15px;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.a11y-head h2 { font-size: 19px; margin: 0; }
.a11y-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 22px; line-height: 1; cursor: pointer; color: var(--text); }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-grid button {
	display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px;
	border: 1px solid var(--line); border-radius: 8px; background: var(--sand-light); color: var(--text);
	font: 500 14px/1.25 var(--font); cursor: pointer; text-align: center;
}
.a11y-grid button:hover { border-color: var(--slate); }
.a11y-grid button[aria-pressed="true"] { background: var(--slate); border-color: var(--slate); color: var(--white); }
.a11y-ico { font-size: 18px; font-weight: 800; font-family: var(--font-latin); direction: ltr; unicode-bidi: isolate; }
html.a11y-contrastDark .a11y-grid button[aria-pressed="true"], html.a11y-contrastDark .a11y-grid button[aria-pressed="true"] * { background-color: #ffeb3b !important; color: #000 !important; }
html.a11y-contrastLight .a11y-grid button[aria-pressed="true"], html.a11y-contrastLight .a11y-grid button[aria-pressed="true"] * { background-color: #0000c8 !important; color: #fff !important; }
.a11y-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.a11y-reset { border: 0; background: none; color: var(--danger); font: 700 14px var(--font); cursor: pointer; padding: 6px 0; }
.a11y-foot a { font-weight: 700; }

/* מצבי נגישות */
html.a11y-fs-m1 body { zoom: .9; }
html.a11y-fs-1 body { zoom: 1.1; }
html.a11y-fs-2 body { zoom: 1.22; }
html.a11y-fs-3 body { zoom: 1.35; }
html.a11y-fs-4 body { zoom: 1.5; }
html.a11y-readable body, html.a11y-readable body *:not(.a11y-ico) { font-family: Arial, Helvetica, sans-serif !important; letter-spacing: .02em !important; }
html.a11y-spacing body *:not(.a11y-ico) { line-height: 1.9 !important; letter-spacing: .06em !important; word-spacing: .16em !important; }
html.a11y-mono { filter: grayscale(1); }
html.a11y-contrastDark body, html.a11y-contrastDark body *:not(svg):not(path):not(circle):not(img) {
	background-color: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; text-shadow: none !important;
}
html.a11y-contrastDark body a, html.a11y-contrastDark body a * { color: #ffeb3b !important; }
html.a11y-contrastDark .wp-block-cover__image-background, html.a11y-contrastDark .ds-cat { opacity: .35; }
html.a11y-contrastLight body, html.a11y-contrastLight body *:not(svg):not(path):not(circle):not(img) {
	background-color: #fff !important; background-image: none !important; color: #000 !important; border-color: #000 !important; text-shadow: none !important;
}
html.a11y-contrastLight body a, html.a11y-contrastLight body a * { color: #0000c8 !important; }
html.a11y-contrastLight .wp-block-cover__image-background, html.a11y-contrastLight .ds-cat { opacity: .25; }
html.a11y-links a { text-decoration: underline !important; outline: 2px solid #ffbf00 !important; outline-offset: 2px; }
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4, html.a11y-headings h5, html.a11y-headings h6 { outline: 3px dashed #ffbf00 !important; outline-offset: 4px; }
html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-cursor, html.a11y-cursor * { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='44' height='44' viewBox='0 0 24 24'%3E%3Cpath d='M4 2l15 11-6.5 1.2L16 21l-3 1.5-3.5-6.8L4 20z' fill='%23000' stroke='%23fff' stroke-width='1.3'/%3E%3C/svg%3E") 4 2, auto !important; }
html.a11y-focus *:focus { outline: 4px solid #ffbf00 !important; outline-offset: 2px !important; box-shadow: 0 0 0 7px #000 !important; }

/* ==========================================================================
   חלון הסכמה – עוגיות ומדיניות פרטיות
   ========================================================================== */
.ds-consent {
	position: fixed; z-index: 160; inset-inline-end: 22px; bottom: 22px; width: min(520px, calc(100vw - 32px));
	background: var(--white); color: var(--text); border-radius: 12px; border-top: 4px solid var(--gold);
	box-shadow: 0 20px 60px rgba(0, 0, 0, .28); padding: 24px 26px;
}
.ds-consent[hidden] { display: none; }
.ds-consent h2 { font-size: 20px; margin: 0 0 8px; }
.ds-consent p { font-size: 15px; color: var(--text-muted); margin: 0 0 16px; }
.ds-consent p a { font-weight: 700; color: var(--slate-dark); }
.ds-consent-prefs { border: 0; margin: 0 0 16px; padding: 14px; background: var(--sand-light); border-radius: 8px; display: grid; gap: 10px; font-size: 14px; }
.ds-consent-prefs[hidden] { display: none; }
.ds-consent-prefs label { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.ds-consent-prefs input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--slate); flex-shrink: 0; }
.ds-consent-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ds-consent-actions .btn { padding: 11px 22px; font-size: 15px; }
.ds-consent-actions [hidden] { display: none; }
.ds-consent-more { background: none; border: 0; padding: 6px 4px; font: 500 14px var(--font); color: var(--slate); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 600px) {
	.ds-consent { inset-inline: 16px; bottom: 16px; width: auto; padding: 20px; }
	.ds-consent-actions .btn { flex: 1; }
	.a11y-toggle { width: 44px; height: 44px; top: auto; bottom: 96px; }
	.a11y-panel { inset-inline: 12px; top: 80px; width: auto; }
}

/* ==========================================================================
   12. בלוג / ארכיון / 404
   ========================================================================== */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 60px 0 90px; }
.post-card a { text-decoration: none; color: inherit; }
.post-card img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 16px; }
.post-card h2 { font-size: 22px; }
.post-card .meta { font-size: 14px; color: var(--text-muted); }
.error-404 { text-align: center; padding: 110px 0; }
.error-404 .big { font-family: var(--font-latin); font-size: 120px; color: var(--sand); line-height: 1; }

/* ==========================================================================
   13. רספונסיבי
   ========================================================================== */
@media (max-width: 1240px) {
	.site-header .container { gap: 20px; }
	.site-branding, .site-header.is-scrolled .site-branding { --logo-h: 56px; }
	.brand-slogan { font-size: 13px; }
}
@media (max-width: 1100px) {
	.topbar.has-slogan .topbar-items li.hide-small { display: none; }
	.ds-usps ul { grid-template-columns: repeat(2, 1fr); }
	.ds-cats { grid-template-columns: repeat(2, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.woocommerce ul.products.columns-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
	:root { --header-h: 68px; }
	.topbar-items li.hide-mobile { display: none; }
	.menu-toggle { display: inline-flex; }
	.site-branding, .site-header.is-scrolled .site-branding { --logo-h: 42px; }
	.brand-slogan { display: none; }
	.topbar.has-slogan .topbar-items:first-child { display: none; }
	.topbar.has-slogan .container { justify-content: space-between; }
	.topbar-slogan { position: static; transform: none; }
	.wp-block-columns.ds-split { grid-template-columns: 1fr; }
	.ds-guide { grid-template-columns: 1fr; }
	.woocommerce ul.products, .woocommerce-page ul.products, .woocommerce ul.products.columns-4 { grid-template-columns: repeat(2, 1fr); gap: 26px 16px; }
	.single-product div.product { grid-template-columns: minmax(0, 1fr); }
	/* top: auto – ה-CSS של WooCommerce משאיר כאן position: relative, ובלי זה התמונה זזה למטה ומסתירה את הכותרת. */
	.single-product div.product .woocommerce-product-gallery { position: static; top: auto; }
	.woocommerce-checkout .col2-set, .woocommerce-customer-details .col2-set.addresses { grid-template-columns: 1fr; }
	.posts-grid { grid-template-columns: 1fr 1fr; }
	.ds-features { grid-template-columns: 1fr; }
}
@media (min-width: 1101px) and (max-width: 1240px) {
	.main-nav a { padding: 10px 11px; font-size: 15px; }
	.main-nav .menu-item-has-children > a { padding-inline-end: 26px; }
	.main-nav .menu-item-has-children > a::before { inset-inline-end: 11px; }
	.main-nav > ul > li > a::after { inset-inline: 11px; }
	.main-nav .menu-item-has-children > a::after { inset-inline-end: 26px; }
}
@media (min-width: 1001px) and (max-width: 1100px) {
	.site-header .container { gap: 14px; }
	.main-nav a { padding: 10px 8px; font-size: 14.5px; }
	.main-nav .menu-item-has-children > a { padding-inline-end: 22px; }
	.main-nav .menu-item-has-children > a::before { inset-inline-end: 8px; }
	.main-nav > ul > li > a::after { inset-inline: 8px; }
	.main-nav .menu-item-has-children > a::after { inset-inline-end: 22px; }
	.header-actions { padding-inline-start: 8px; gap: 0; }
}
@media (min-width: 901px) and (max-width: 1024px) {
	.site-branding, .site-header.is-scrolled .site-branding { --logo-h: 46px; }
	.brand-slogan { display: none; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.site-header .container { gap: 12px; }
	.site-branding, .site-header.is-scrolled .site-branding { --logo-h: 36px; }
	.topbar .container { justify-content: center; }
	.topbar-items { gap: 16px; font-size: 13px; }
	.topbar-items li.hide-small { display: none; }
	.ds-usps ul { grid-template-columns: 1fr; }
	.ds-cats, .ds-cats-6 { grid-template-columns: 1fr 1fr; gap: 12px; }
	.ds-cats-6 .ds-cat { aspect-ratio: 3 / 4; }
	.ds-cat-text { inset-inline: 16px; bottom: 16px; }
	.ds-cat-text h3 { font-size: 19px; }
	.footer-grid { grid-template-columns: 1fr; }
	.posts-grid { grid-template-columns: 1fr; }
	.woocommerce ul.products li.product .woocommerce-loop-product__title { font-size: 17px; }
	.woocommerce ul.products li.product .button { padding: 10px 16px; font-size: 14px; }
	.wp-block-cover.ds-hero { min-height: 620px !important; align-items: flex-end; }
	.wp-block-cover.ds-hero .wp-block-cover__background { background: linear-gradient(to top, rgba(28, 38, 46, .92) 15%, rgba(28, 38, 46, .3) 100%) !important; }
	.wp-block-cover.ds-hero .wp-block-cover__inner-container { padding-top: 60px; padding-bottom: 50px; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media (max-width: 380px) {
	.site-branding, .site-header.is-scrolled .site-branding { --logo-h: 32px; }
	.header-actions { gap: 0; }
}

/* ==========================================================================
   תמונות מוצר אחידות (inc/media.php)
   מסגרת 4:3 לכל הכרטיסים והגלריה. תמונת אווירה ממלאת אותה; מוצר גזור (ds-cutout)
   מוצג בשלמותו על רקע סטודיו רך – הלבן "נבלע" ברקע במקום להיראות כמו מדבקה.
   ========================================================================== */
:root { --ds-studio: radial-gradient(ellipse 70% 38% at 50% 88%, rgba(170, 160, 145, .28), transparent 70%), linear-gradient(180deg, #F4F1EC 0%, #ECE7DF 100%); }

.ds-loop-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ds-studio); margin: 0 0 18px; isolation: isolate; }
.woocommerce ul.products li.product .ds-loop-img img { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; margin: 0; border-radius: 0; background: transparent; }
.woocommerce ul.products li.product .ds-loop-img img.ds-cutout { object-fit: contain; padding: 5% 7% 3%; mix-blend-mode: multiply; }

.single-product div.product .woocommerce-product-gallery__image { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ds-studio); isolation: isolate; }
.single-product div.product .woocommerce-product-gallery__image > a { display: block; width: 100%; height: 100%; }
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img { width: 100% !important; height: 100% !important; object-fit: cover; border-radius: 0; background: transparent; }
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img.ds-cutout { object-fit: contain; padding: 4% 6% 2%; mix-blend-mode: multiply; }
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img.zoomImg { object-fit: cover; padding: 0; mix-blend-mode: normal; background: #fff; }

.woocommerce div.product div.images .flex-control-thumbs li { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--ds-studio); isolation: isolate; }
.woocommerce div.product div.images .flex-control-thumbs li img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; background: transparent; }
.woocommerce div.product div.images .flex-control-thumbs li img.ds-cutout { object-fit: contain; padding: 6%; mix-blend-mode: multiply; }

/* ==========================================================================
   דף מוצר: "מיוצר באירופה", כפתורי פנייה ושיתוף (inc/product-actions.php)
   ========================================================================== */
.ds-made-in { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--slate-dark); }
.ds-made-in::before { content: ""; flex: none; width: 33px; height: 22px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 27 18"%3E%3Crect width="27" height="18" fill="%23003399"/%3E%3Cg fill="%23FFCC00"%3E%3Cpolygon points="13.500,2.000 13.275,2.691 12.549,2.691 13.137,3.118 12.912,3.809 13.500,3.382 14.088,3.809 13.863,3.118 14.451,2.691 13.725,2.691"/%3E%3Cpolygon points="16.500,2.804 16.275,3.495 15.549,3.495 16.137,3.922 15.912,4.613 16.500,4.186 17.088,4.613 16.863,3.922 17.451,3.495 16.725,3.495"/%3E%3Cpolygon points="18.696,5.000 18.472,5.691 17.745,5.691 18.333,6.118 18.108,6.809 18.696,6.382 19.284,6.809 19.059,6.118 19.647,5.691 18.921,5.691"/%3E%3Cpolygon points="19.500,8.000 19.275,8.691 18.549,8.691 19.137,9.118 18.912,9.809 19.500,9.382 20.088,9.809 19.863,9.118 20.451,8.691 19.725,8.691"/%3E%3Cpolygon points="18.696,11.000 18.472,11.691 17.745,11.691 18.333,12.118 18.108,12.809 18.696,12.382 19.284,12.809 19.059,12.118 19.647,11.691 18.921,11.691"/%3E%3Cpolygon points="16.500,13.196 16.275,13.887 15.549,13.887 16.137,14.314 15.912,15.005 16.500,14.578 17.088,15.005 16.863,14.314 17.451,13.887 16.725,13.887"/%3E%3Cpolygon points="13.500,14.000 13.275,14.691 12.549,14.691 13.137,15.118 12.912,15.809 13.500,15.382 14.088,15.809 13.863,15.118 14.451,14.691 13.725,14.691"/%3E%3Cpolygon points="10.500,13.196 10.275,13.887 9.549,13.887 10.137,14.314 9.912,15.005 10.500,14.578 11.088,15.005 10.863,14.314 11.451,13.887 10.725,13.887"/%3E%3Cpolygon points="8.304,11.000 8.079,11.691 7.353,11.691 7.941,12.118 7.716,12.809 8.304,12.382 8.892,12.809 8.667,12.118 9.255,11.691 8.528,11.691"/%3E%3Cpolygon points="7.500,8.000 7.275,8.691 6.549,8.691 7.137,9.118 6.912,9.809 7.500,9.382 8.088,9.809 7.863,9.118 8.451,8.691 7.725,8.691"/%3E%3Cpolygon points="8.304,5.000 8.079,5.691 7.353,5.691 7.941,6.118 7.716,6.809 8.304,6.382 8.892,6.809 8.667,6.118 9.255,5.691 8.528,5.691"/%3E%3Cpolygon points="10.500,2.804 10.275,3.495 9.549,3.495 10.137,3.922 9.912,4.613 10.500,4.186 11.088,4.613 10.863,3.922 11.451,3.495 10.725,3.495"/%3E%3C/g%3E%3C/svg%3E') center / cover no-repeat; }

.ds-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.ds-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 10px 16px; font-size: 15px; text-align: center; }
.ds-actions .btn svg { width: 20px; height: 20px; flex: none; }
.ds-actions .ds-act-wa { background: #1FAF54; border-color: #1FAF54; color: var(--white); }
.ds-actions .ds-act-wa:hover, .ds-actions .ds-act-wa:focus-visible { background: #168F44; border-color: #168F44; color: var(--white); }
.ds-actions .ds-act-lead { grid-column: span 1; cursor: pointer; font-family: inherit; }
.ds-actions .ds-act-phone { grid-column: 1 / -1; }
.ds-actions > :only-child { grid-column: 1 / -1; }

.ds-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.ds-share-label { font-size: 14px; font-weight: 700; color: var(--text-muted); }
.ds-share-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--slate); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.ds-share-btn svg { width: 19px; height: 19px; }
.ds-share-btn:hover, .ds-share-btn:focus-visible { background: var(--slate); border-color: var(--slate); color: var(--white); }
.ds-share-msg { flex-basis: 100%; font-size: 14px; color: var(--text-muted); min-height: 0; }
.ds-share-msg:empty { display: none; }
@media (max-width: 480px) { .ds-actions { grid-template-columns: 1fr; } .ds-actions > * { grid-column: auto !important; } }

/* ==========================================================================
   קופה: שדות מימין, סיכום ההזמנה משמאל (inc/checkout.php)
   ========================================================================== */
.woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, 1fr); gap: 0 clamp(28px, 4vw, 56px); align-items: start; }
.woocommerce-checkout form.checkout > *:not(#customer_details):not(#order_review_heading):not(#order_review) { grid-column: 1 / -1; }
.woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 2; display: block; background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: clamp(20px, 3vw, 34px); }
.woocommerce-checkout #customer_details .col-1, .woocommerce-checkout #customer_details .col-2 { width: 100%; float: none; }
.woocommerce-checkout #customer_details .col-2:not(:empty) { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.woocommerce-checkout #order_review_heading { display: none; }
.woocommerce-checkout #order_review { grid-column: 2; grid-row: 1; position: sticky; top: calc(var(--header-h) + 20px); padding: clamp(20px, 3vw, 30px); border-radius: 8px; }
.woocommerce-checkout #order_review::before { content: "סיכום ההזמנה"; display: block; font-size: 22px; font-weight: 800; color: var(--slate-dark); margin-bottom: 14px; }
.woocommerce-checkout .woocommerce-billing-fields > h3, .woocommerce-checkout .woocommerce-additional-fields > h3, .woocommerce-checkout #ship-to-different-address { font-size: 20px; margin: 0 0 16px; color: var(--slate-dark); }
.woocommerce-checkout .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce-checkout .form-row label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--slate-dark); }
.woocommerce-checkout .form-row .input-text, .woocommerce-checkout .form-row select, .woocommerce-checkout .select2-container .select2-selection--single { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--white); font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.woocommerce-checkout .form-row textarea.input-text { min-height: 96px; }
.woocommerce-checkout .form-row .input-text:focus, .woocommerce-checkout .form-row select:focus { border-color: var(--slate); box-shadow: 0 0 0 3px rgba(58, 76, 90, .15); outline: none; }
.woocommerce-checkout .form-row.woocommerce-invalid .input-text { border-color: var(--danger); }
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: calc(50% - 8px); }
.woocommerce-checkout #billing_email_field, .woocommerce-checkout #billing_phone_field { margin-bottom: 6px; }
.woocommerce-checkout .ds-contact-note { clear: both; margin: 0 0 18px !important; color: var(--text-muted); font-size: 13px; line-height: 1.5; }
.woocommerce-checkout #billing_phone_field + * { clear: both; }
.woocommerce-checkout #billing_first_name_field { clear: both; }
.woocommerce-checkout #billing_email_field input, .woocommerce-checkout #billing_phone_field input { direction: ltr; text-align: right; }
.woocommerce-checkout table.shop_table { border: 0; margin: 0 0 18px; }
.woocommerce-checkout table.shop_table th, .woocommerce-checkout table.shop_table td { padding: 12px 0; border-top: 1px solid var(--line); background: none; }
.woocommerce-checkout table.shop_table .order-total th, .woocommerce-checkout table.shop_table .order-total td { font-size: 19px; color: var(--slate-dark); border-top: 2px solid var(--slate-dark); }
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line); }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 18px; border-radius: var(--radius-pill); }
@media (max-width: 900px) {
	.woocommerce-checkout form.checkout { grid-template-columns: 1fr; }
	.woocommerce-checkout #customer_details, .woocommerce-checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.woocommerce-checkout #order_review { margin-top: 24px; }
}
@media (max-width: 560px) {
	.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 100%; float: none; }
}

/* ==========================================================================
   מיתוג מקטלוג DUPEN 2026/27 (inc/catalog-brand.php)
   ========================================================================== */
.ds-cat-facts { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
.ds-cat-facts li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--sand-light, #F1EFEA); border-radius: 8px; }
.ds-cat-facts img { width: 40px; height: 40px; object-fit: contain; flex-shrink: 0; }
.ds-cat-facts span { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ds-cat-facts small { font-size: 12px; color: var(--text-muted, #555E68); }
.ds-cat-facts b { font-size: 15px; color: var(--slate-dark, #26333D); }
.ds-cat-facts.is-spec { margin: 0 0 28px; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.ds-cat-facts.is-spec img { width: 52px; height: 52px; }
.ds-cat-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin: 0 0 18px; }
.ds-cat-badges img { height: 54px; width: auto; }
.ds-cat-badges .ds-badge-biocrystal { height: 30px; }

.ds-cat-details, .ds-cat-swatches { margin: 34px 0 0; }
.ds-cat-details h3, .ds-cat-swatches h3 { margin: 0 0 14px; }
.ds-cat-details-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 220px)); gap: 16px; }
.ds-cat-details figure { margin: 0; }
.ds-cat-details img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.ds-cat-details figcaption { margin-top: 8px; font-size: 14px; color: var(--text-muted, #555E68); line-height: 1.4; }
.ds-cat-swatches ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.ds-cat-swatches li { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; }
.ds-cat-swatches img { width: 96px; height: 56px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line, #D9D6CC); }
.ds-cat-note { margin: 10px 0 0; font-size: 14px; color: var(--text-muted, #555E68); }

.ds-cat-collection { position: relative; margin: 40px 0 0; min-height: 300px; border-radius: 10px; overflow: hidden; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.ds-cat-collection::before { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(28,38,46,.85) 0%, rgba(28,38,46,.45) 55%, rgba(28,38,46,.1) 100%); }
.ds-cat-collection > div { position: relative; padding: 28px 32px; max-width: 520px; color: var(--white, #fff); }
.ds-cat-collection span { display: block; font-size: 13px; letter-spacing: .08em; color: var(--gold, #B99A62); }
.ds-cat-collection strong { display: block; font-size: clamp(26px, 3vw, 36px); line-height: 1.15; margin: 2px 0 8px; font-family: var(--font-latin, inherit); }
.ds-cat-collection p { margin: 0; color: rgba(255,255,255,.88); }

/* טעינת מוצרים בגלילה (assets/js/infinite.js) */
.ds-more { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 30px 0 10px; min-height: 48px; }
.ds-more-spinner { display: none; width: 30px; height: 30px; border: 3px solid var(--line, #D9D6CC); border-top-color: var(--slate, #3A4C5A); border-radius: 50%; animation: ds-spin .8s linear infinite; }
.ds-more.is-loading .ds-more-spinner { display: block; }
.ds-more.is-loading .ds-more-btn { display: none; }
.ds-more-text { display: none; color: var(--text-muted); font-size: 14px; }
.ds-more.is-loading .ds-more-text { display: inline; }
.ds-more-new { animation: ds-more-in .4s ease-out both; }
@keyframes ds-more-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes ds-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ds-more-spinner { animation-duration: 2s; } }
@media (max-width: 600px) {
	.ds-cat-facts { grid-template-columns: 1fr 1fr; }
	.ds-cat-details-grid { grid-template-columns: 1fr 1fr; }
	.ds-cat-collection > div { padding: 20px; }
}

/* ==========================================================================
   דף מוצר (28/10/2026): פס האייקונים מתחת לגלריה, ועמודת טקסט קומפקטית
   ========================================================================== */
@media (min-width: 901px) {
	/* שורה 1: גלריה | טקסט. שורה 2: האייקונים מתחת לגלריה, והטקסט ממשיך לידם. */
	.single-product div.product { grid-template-rows: auto 1fr; row-gap: 0; }
	.single-product div.product > .woocommerce-tabs, .single-product div.product > .related, .single-product div.product > .upsells { margin-top: clamp(30px, 5vw, 70px) !important; }
	/* בלי "הצמדה" בגלילה – אחרת הגלריה עולה על פס האייקונים שמתחתיה */
	.single-product div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; position: relative; top: auto; }
	.single-product div.product > .ds-under-gallery { grid-column: 1; grid-row: 2; align-self: start; }
	.single-product div.product > .summary { grid-column: 2; grid-row: 1 / span 2; }
}
.ds-under-gallery .ds-cat-facts { margin: 14px 0 0; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
@media (max-width: 900px) { .ds-under-gallery .ds-cat-facts { margin: 12px 0 4px; } }
@media (max-width: 600px) { .ds-under-gallery .ds-cat-facts { grid-template-columns: 1fr 1fr; } }

/* תווים (OEKO-TEX, BIOCRYSTAL, Black Edition) – באותה מסגרת כמו שאר האייקונים, הלוגו הרשמי בלי שינוי */
.ds-cat-facts li.is-badge img { width: 44px; height: 40px; object-fit: contain; }
.ds-cat-facts.is-spec li.is-badge img { width: 56px; height: 52px; }

/* עמודת הטקסט – פחות רווחים */
.single-product .product_title { margin: 4px 0 8px; }
.woocommerce div.product .woocommerce-product-details__short-description { margin: 12px 0 14px; }
.woocommerce div.product .woocommerce-product-details__short-description p { margin-bottom: 8px; }
.woocommerce div.product form.cart { margin: 14px 0 10px; padding: 16px 0; }
.woocommerce div.product form.cart .variations { margin-bottom: 6px; }
.woocommerce div.product form.cart .variations tr { margin-bottom: 6px; }
.woocommerce div.product form.cart .variations th label { margin-bottom: 6px; }
.woocommerce div.product form.cart .reset_variations { margin-top: 4px; }
.woocommerce div.product form.cart .woocommerce-variation-price { margin-bottom: 10px; }
.woocommerce div.product form.cart .single_variation_wrap .woocommerce-variation:empty { display: none; }
.ds-trust { margin: 12px 0; gap: 7px; }
.ds-minutes-note { margin: 0 0 12px; padding: 10px 12px; }
.ds-actions { margin-top: 12px; }
.ds-share { margin-top: 12px; padding-top: 12px; }

/* דף הבית – שעות הפעילות באולם התצוגה */
.ds-showroom .ds-showroom-hours { color: rgba(255, 255, 255, .8); font-size: 16px; margin-top: -6px; }

/* מרכז המכירות והייעוץ בדף הבית – פס צנוע, בלי תמונה (29/10/2026) */
.ds-center-note { background: var(--sand-light, #F1F1F2); padding-top: 40px !important; padding-bottom: 40px !important; }
.ds-center-note h3 { margin: 0 0 6px; font-size: 22px; }
.ds-center-note p { margin: 4px 0; }
.ds-center-note .wp-block-buttons { margin-top: 16px; }

/* ===== הבלוג "עולם השינה" (inc/blog.php) ===== */
.ds-blog-intro { max-width: 760px; margin: 28px auto 8px; text-align: center; }
.ds-blog-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 32px; }
.ds-blog-cats a { padding: 7px 16px; border: 1px solid var(--line, #D9D6CC); border-radius: 999px; text-decoration: none; color: inherit; font-size: 15px; }
.ds-blog-cats a[aria-current] { background: var(--slate, #3A4C5A); border-color: var(--slate, #3A4C5A); color: #fff; }
.ds-article-head { max-width: 760px; margin: 22px auto 0; }
.ds-crumbs { font-size: 14px; color: var(--muted, #6E8A91); display: flex; flex-wrap: wrap; gap: 6px; }
.ds-crumbs a { color: inherit; }
.ds-article-meta { margin: 8px 0 0; font-size: 14px; color: var(--muted, #6E8A91); }
.ds-article .entry-content { max-width: 760px; margin: 0 auto; }
.ds-article-cover img, .ds-article-img img { border-radius: var(--radius, 12px); width: 100%; height: auto; }
.ds-tldr { background: var(--sand-light, #F1EFEA); border-inline-start: 4px solid var(--gold, #B99A62); border-radius: var(--radius, 12px); padding: 18px 22px !important; margin: 24px 0 !important; }
.ds-tldr h3 { margin: 0 0 8px; font-size: 18px; }
.ds-tldr ul { margin: 0; padding-inline-start: 20px; }
.ds-icon-list { list-style: none; padding-inline-start: 0 !important; }
.ds-icon-list li { position: relative; padding-inline-start: 30px; margin-bottom: 10px; }
.ds-icon-list li::before { content: ""; position: absolute; inset-inline-start: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold, #B99A62) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ds-faq { margin-top: 36px !important; }
.ds-faq details { border-bottom: 1px solid var(--line, #D9D6CC); padding: 12px 0; }
.ds-faq summary { cursor: pointer; font-weight: 700; }
.ds-faq details p { margin: 8px 0 0; }
.ds-article-products, .ds-article-cta, .ds-article-more { max-width: 1100px; margin: 48px auto 0; }
.ds-article-products h2, .ds-article-more h2 { text-align: center; }
.ds-article-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ds-article-cta-box { display: flex; align-items: center; gap: 18px; background: var(--slate-dark, #26333D); color: #fff; border-radius: var(--radius, 12px); padding: 24px 28px; }
.ds-article-cta-box svg { width: 40px; height: 40px; flex-shrink: 0; color: var(--gold, #B99A62); }
.ds-article-cta-box h2 { margin: 0 0 4px; font-size: 22px; color: #fff; }
.ds-article-cta-box p { margin: 0; opacity: .9; }
.ds-article-cta-box .btn { margin-inline-start: auto; white-space: nowrap; }
@media (max-width: 700px) { .ds-article-cta-box { flex-direction: column; text-align: center; } .ds-article-cta-box .btn { margin-inline-start: 0; } }

/* "למי זה מתאים" בראש הטאב "על המוצר" (29/10/2026) */
.ds-fit { background: var(--sand-light, #F1EFEA); border-inline-start: 4px solid var(--gold, #B99A62); border-radius: var(--radius, 12px); padding: 12px 16px; }

/* ===== פס הקמפיין באתר הראשי (inc/campaign-bar.php) ===== */
.ds-camp-bar { --bar-bg: var(--slate-dark, #26333D); --bar-fg: #fff; --btn-bg: var(--gold, #B99A62); --btn-fg: var(--slate-dark, #26333D); --hl: var(--gold-on-dark, #D6BC8A); --pill-bg: var(--gold, #B99A62); --pill-fg: var(--slate-deep, #1C262E); --count-bg: var(--slate-deep, #1C262E); --count-fg: #fff; background: var(--bar-bg); color: var(--bar-fg); }
.ds-camp-bar.is-gold { --bar-bg: var(--gold, #B99A62); --bar-fg: var(--slate-dark, #26333D); --btn-bg: var(--slate-dark, #26333D); --btn-fg: #fff; --hl: var(--slate-deep, #1C262E); --pill-bg: var(--slate-deep, #1C262E); --pill-fg: #fff; }
.ds-camp-bar.is-sand { --bar-bg: var(--sand, #E1DED7); --bar-fg: var(--slate-dark, #26333D); --btn-bg: var(--slate-dark, #26333D); --btn-fg: #fff; --hl: var(--gold-on-light, #7A5F33); }
/* "גל צבע" (9/11/2026): רקע שזורם לאט בין כחול-צפחה לטורקיז */
.ds-camp-bar.is-wave { --btn-bg: #fff; background: linear-gradient(90deg, var(--slate-dark, #26333D), var(--teal, #6E8A91), var(--slate, #3A4C5A), var(--slate-dark, #26333D)); background-size: 300% 100%; animation: ds-camp-wave 9s linear infinite; }
@keyframes ds-camp-wave { to { background-position: -300% 0; } }
/* דבוק לראש העמוד; הכותרת נדבקת מתחתיו (הגובה נמדד בסקריפט שבפס) */
.ds-camp-bar { position: sticky; top: 0; z-index: 101; }
.admin-bar .ds-camp-bar { top: 32px; }
body:has(.main-nav.is-open) .ds-camp-bar { z-index: 99; } /* תפריט הטלפון פתוח: מעל הפס */
@media (max-width: 782px) { .admin-bar .ds-camp-bar { top: 46px; } }
@media (max-width: 600px) { .admin-bar .ds-camp-bar { top: 0; } }
.has-camp-bar .site-header { top: var(--ds-camp-bar-h, 40px); }
.admin-bar.has-camp-bar .site-header { top: calc(32px + var(--ds-camp-bar-h, 40px)); }
@media (max-width: 782px) { .admin-bar.has-camp-bar .site-header { top: calc(46px + var(--ds-camp-bar-h, 40px)); } }
@media (max-width: 600px) { .admin-bar.has-camp-bar .site-header { top: var(--ds-camp-bar-h, 40px); } }
/* הגלריה בדף המוצר לא "נצמדת" יותר (top: auto) – לא מזיזים אותה כאן, אחרת היא יורדת ומסתירה את פס האייקונים. */
.has-camp-bar.woocommerce-checkout #order_review { top: calc(var(--header-h) + var(--ds-camp-bar-h, 40px) + 20px); }
.ds-camp-bar-link { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 14px; padding: 8px 16px; color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; text-align: center; }
.ds-camp-bar-link:hover, .ds-camp-bar-link:focus { color: inherit; } /* בלי זה a:hover של האתר צובע את הטקסט בכהה */
.ds-camp-bar-link:hover .ds-camp-bar-btn { filter: brightness(1.08); }
.ds-camp-bar-slogan { display: inline-block; padding: 1px 12px; border-radius: 999px; background: var(--pill-bg); color: var(--pill-fg); font-weight: 800; white-space: nowrap; margin-inline-end: 4px; }
.ds-camp-bar-hl { color: var(--hl); font-weight: 800; white-space: nowrap; }
.ds-camp-bar-count { display: inline-flex; align-items: center; gap: 7px; padding: 2px 12px; border-radius: 999px; background: var(--count-bg); color: var(--count-fg); font-size: 14px; font-weight: 700; white-space: nowrap; }
.ds-camp-bar-dot { width: 8px; height: 8px; border-radius: 50%; background: #E2574C; animation: ds-camp-blink 1.2s ease-in-out infinite; }
@keyframes ds-camp-blink { 50% { opacity: .25; } }
.ds-camp-bar-btn { display: inline-block; padding: 3px 14px; border-radius: 999px; background: var(--btn-bg); color: var(--btn-fg); font-size: 14px; font-weight: 700; white-space: nowrap; }
.ds-camp-bar-arrow { display: inline-block; animation: ds-camp-nudge 1.6s ease-in-out infinite; }
@keyframes ds-camp-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-5px); } }
@media (max-width: 600px) { .ds-camp-bar-link { display: block; font-size: 13px; line-height: 1.6; padding: 6px 10px; } .ds-camp-bar-btn { display: none; } .ds-camp-bar-slogan { padding: 0 9px; } .ds-camp-bar-count { font-size: 12px; padding: 0 9px; gap: 5px; margin-inline-start: 6px; vertical-align: 1px; } .ds-camp-bar-dot { width: 6px; height: 6px; } .ds-camp-bar-text::after { content: " ←"; font-weight: 700; } }
@media (prefers-reduced-motion: reduce) { .ds-camp-bar, .ds-camp-bar * { animation: none !important; } }
.ds-camp-tab { --bar-bg: var(--slate-dark, #26333D); --bar-fg: #fff; display: none; position: fixed; left: 0; top: 50%; z-index: 90; transform: translateY(-50%); writing-mode: vertical-rl; padding: 18px 9px; border-radius: 0 10px 10px 0; background: var(--bar-bg); color: var(--bar-fg); font-weight: 700; font-size: 15px; letter-spacing: .02em; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
.ds-camp-tab.is-gold { --bar-bg: var(--gold, #B99A62); --bar-fg: var(--slate-dark, #26333D); }
.ds-camp-tab.is-sand { --bar-bg: var(--sand, #E1DED7); --bar-fg: var(--slate-dark, #26333D); }
@media (min-width: 900px) { .ds-camp-tab { display: block; } }
.ds-camp-over .ds-camp-tab { display: none !important; }

/* ==========================================================================
   אפשרויות בדף המוצר ככפתורים (17/11/2026, assets/js/variation-pills.js) – באתר ובמיני-סייט
   ========================================================================== */
.ds-ltr { direction: ltr; unicode-bidi: isolate; font-family: var(--font-latin); }
.woocommerce div.product form.cart .variations select.ds-pills-select { position: absolute !important; inset-inline-start: 0 !important; top: 0 !important; width: 1px !important; min-width: 0 !important; height: 1px !important; padding: 0; border: 0; margin: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; opacity: 0; }
.ds-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.ds-pill { appearance: none; border: 1px solid var(--line); background: var(--white); color: var(--text); border-radius: var(--radius-pill); padding: 7px 16px; font-size: 14px; font-family: var(--font); line-height: 1.4; cursor: pointer; transition: border-color .15s; }
.ds-pill:hover { border-color: var(--slate); }
.ds-pill[aria-pressed="true"] { border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); font-weight: 500; }
.ds-pill:disabled { opacity: .4; cursor: not-allowed; }
.ds-pill:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ds-finish { display: grid; gap: 8px; margin: 0 0 18px; }
.ds-finish__label { font-weight: 700; font-size: 15px; }
.ds-finish__label span { font-weight: 400; color: var(--text-muted); margin-inline-start: 6px; }
.ds-pill--swatch { display: inline-flex; align-items: center; gap: 8px; padding-inline-start: 6px; }
.ds-pill--swatch img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
/* רגליים לבחירה (inc/product-options.php, assets/js/legs.js) */
.ds-legs { display: grid; gap: 10px; margin: 0 0 18px; }
.ds-legs__label { font-weight: 700; font-size: 15px; }
.ds-legs__label span { font-weight: 400; color: var(--text-muted); margin-inline-start: 6px; font-size: 13px; }
.ds-legs__types { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 600px) { .ds-legs__types { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ds-legs__type { appearance: none; border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 8px 6px; display: grid; justify-items: center; gap: 6px; cursor: pointer; color: var(--text); font-family: inherit; }
.ds-legs__type img { width: 36px; height: 48px; object-fit: contain; }
.ds-legs__type small { font-size: 11px; line-height: 1.25; text-align: center; }
.ds-legs__type[aria-pressed="true"] { border-color: var(--slate); box-shadow: inset 0 0 0 1px var(--slate); }
.ds-legs__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.ds-legs__row > span { font-size: 13px; color: var(--text-muted); min-width: 34px; }
.ds-legs__sum { font-size: 14px; background: var(--sand-light); border-radius: var(--radius); padding: 8px 12px; }
form.ds-has-legs .woocommerce-variation-price { display: none; }

/* ===== בחירות בדף המוצר בכרטיסים ממוספרים (17/11/2026, החלטת אמיר) =====
 * כל פרמטר לבחירה (מידה, גובה, גימור, ריפוד, רגליים) בכרטיס משלו עם מספר שלב והבחירה הנוכחית בכותרת,
 * כדי שיהיה ברור ויזואלית שעוברים לבחור אפשרות נוספת. */
.woocommerce div.product form.variations_form { counter-reset: ds-step; }
.woocommerce div.product form.cart .variations { margin-bottom: 0; }
.woocommerce div.product form.cart .variations tr,
form.variations_form .ds-finish,
form.variations_form .ds-fabric,
form.variations_form .ds-legs {
	counter-increment: ds-step;
	background: var(--off-white);
	border: 1px solid var(--line);
	border-inline-start: 3px solid var(--gold);
	border-radius: var(--radius);
	padding: 12px 14px 14px;
	margin: 0 0 12px;
	transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.woocommerce div.product form.cart .variations tr:focus-within,
.woocommerce div.product form.cart .variations tr:hover,
form.variations_form .ds-finish:hover, form.variations_form .ds-finish:focus-within,
form.variations_form .ds-fabric:hover, form.variations_form .ds-fabric:focus-within,
form.variations_form .ds-legs:hover, form.variations_form .ds-legs:focus-within {
	border-inline-start-color: var(--slate);
	box-shadow: var(--shadow);
}
.woocommerce div.product form.cart .variations th label,
form.variations_form .ds-finish__label,
form.variations_form .ds-fabric__label,
form.variations_form .ds-legs__label {
	display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
	font-weight: 700; font-size: 15px; margin: 0 0 10px;
}
.woocommerce div.product form.cart .variations th label::before,
form.variations_form .ds-finish__label::before,
form.variations_form .ds-fabric__label::before,
form.variations_form .ds-legs__label::before {
	content: counter(ds-step);
	display: inline-grid; place-items: center; flex: none;
	width: 24px; height: 24px; border-radius: 50%;
	background: var(--slate); color: var(--white);
	font-size: 13px; font-weight: 500; font-family: var(--font-latin);
}
form.variations_form .ds-fabric__label { justify-content: flex-start; }
.ds-chosen { font-weight: 400; color: var(--gold-on-light); }
.ds-chosen:not(:empty)::before { content: "· "; color: var(--text-muted); }
.ds-pill { background: var(--white); }
.ds-legs__type--none { align-content: center; }
.ds-legs__none { display: grid; place-items: center; width: 36px; height: 48px; font: 500 22px/1 var(--font-latin); color: var(--slate); }
.ds-legs__none::after { content: "✓"; font-size: 12px; color: var(--gold-on-light); }

/* המחיר ליד "הוספה לסל" – תמיד מוצג, כולל ריפוד ורגליים (assets/js/variation-pills.js) */
.woocommerce div.product form.cart .woocommerce-variation-price { display: none; }
.ds-cart-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 4px 0 12px; padding: 12px 14px; border-radius: var(--radius); background: var(--sand-light); }
.ds-cart-price > span { font-size: 14px; color: var(--text-muted); }
.ds-cart-price b { font-size: 24px; font-weight: 700; color: var(--slate-dark); }
.ds-cart-price b del { font-size: 15px; font-weight: 400; color: var(--text-muted); margin-inline-end: 6px; }
.ds-cart-price b ins { text-decoration: none; }
.ds-cart-price b small { font-size: 14px; font-weight: 400; color: var(--text-muted); }
.ds-cart-price .ds-from { font-size: 14px; font-weight: 400; }

/* רגליים: שורת תמחור למנהל מחובר בלבד (כמות, ברוטו ונטו של הרגליים) – 17/11/2026 */
.ds-legs__admin { font-size: 13px; border: 1px dashed var(--gold-on-light); border-radius: var(--radius); padding: 6px 10px; color: var(--slate); }

/* הדמיית גימור העץ מתחת לגלריה (assets/js/finish-paint.js) – 17/11/2026 */
.ds-finish-note { clear: both; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; justify-content: space-between; margin: 10px 0 0; font-size: 13px; color: var(--text-muted); }
.ds-finish-note label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; color: var(--text); }
.ds-finish-note input { accent-color: var(--slate); width: 16px; height: 16px; margin: 0; }
.ds-finish-note p { margin: 0; }
.ds-finish-note .ds-finish-disclaimer { color: var(--danger); font-weight: 500; }

/* "?" ליד "משלוח" בסל ובקופה (inc/woocommerce.php) */
.ds-ship-help { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-inline-start: 6px; border-radius: 50%; background: var(--slate); color: var(--white); font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; vertical-align: middle; }
.ds-ship-help:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.woocommerce-shipping-totals th { position: relative; }
.ds-ship-tip { position: absolute; top: 2.6em; inset-inline-start: 0; z-index: 30; display: block; width: min(320px, 80vw); padding: 12px 14px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); color: var(--text); font-size: 13px; font-weight: 400; line-height: 1.55; text-align: start; box-shadow: 0 8px 24px rgba(0,0,0,.16); }

/* "מוצרים קשורים" כבלוק עצמאי ברוחב מלא – באותו סגנון של פס הניוזלטר (19/11/2026) */
.single-product div.product > .related.products,
.single-product div.product > .upsells.products {
	position: relative;
	margin-top: clamp(50px, 7vw, 90px) !important;
	padding: clamp(34px, 5vw, 56px) 0 clamp(40px, 5vw, 60px);
	background: var(--sand-light);
	box-shadow: 0 0 0 100vmax var(--sand-light);
	clip-path: inset(0 -100vmax);
}
.single-product div.product > .related.products > h2,
.single-product div.product > .upsells.products > h2 {
	text-align: center; font-size: clamp(24px, 2.8vw, 32px); margin: 0 0 clamp(20px, 3vw, 32px);
}
.single-product div.product > .related.products > h2::after,
.single-product div.product > .upsells.products > h2::after {
	content: ""; display: block; width: 46px; height: 3px; margin: 12px auto 0; border-radius: 3px; background: var(--gold);
}
.single-product div.product > .related.products ul.products li.product,
.single-product div.product > .upsells.products ul.products li.product {
	background: var(--white); border-radius: var(--radius); padding: 14px 14px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* ==========================================================================
   תיקוני מובייל (23/11/2026)
   ========================================================================== */
@media (max-width: 600px) {
	/* כפתורי וואטסאפ ונגישות קטנים יותר וצמודים לפינה, כדי שיכסו פחות תוכן */
	.wa-float { width: 48px; height: 48px; bottom: 14px; inset-inline-start: 12px; }
	.wa-float svg { width: 26px; height: 26px; }
	.a11y-toggle { width: 40px; height: 40px; bottom: 72px; }
	.a11y-toggle svg { width: 24px; height: 24px; }
	/* מקום בסוף העמוד, כדי שהכפתורים הצפים לא יסתירו את השורה האחרונה בפוטר */
	.site-footer { padding-bottom: 110px; }
	/* אזורי לחיצה: כפתורי בחירת משלוח ותשלום, "נקה" באפשרויות המוצר */
	.woocommerce-checkout input[type="radio"], .woocommerce-cart input[type="radio"], .woocommerce-checkout input[type="checkbox"] { width: 20px; height: 20px; accent-color: var(--slate); vertical-align: middle; }
	.woocommerce div.product form.cart .reset_variations { display: inline-flex; align-items: center; min-height: 36px; padding: 0 10px; }
}

/* ==========================================================================
   תפריט הטלפון – מגירה מהצד עם רקע מוחשך, אקורדיון לתתי-תפריטים ויצירת קשר בתחתית (24/11/2026)
   עד 1000px (גם טאבלט לרוחב) – מתחת לזה ששת פריטי התפריט לא נכנסים בשורה אחת ליד הלוגו.
   ========================================================================== */
@media (max-width: 1000px) {
	.menu-toggle { display: inline-flex; }
	.header-actions { margin-inline-start: auto; }
	html.nav-locked, html.nav-locked body { overflow: hidden; }
	html.nav-locked .site-header { z-index: 300; } /* מעל כפתורי הנגישות והוואטסאפ הצפים */
	.main-nav {
		position: fixed; top: 0; bottom: 0; inset-inline-start: 0; z-index: 210; width: min(86vw, 380px);
		display: flex; flex-direction: column; justify-content: flex-start;
		background: var(--slate-deep); box-shadow: 0 0 40px rgba(0, 0, 0, .35);
		overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
		transform: translateX(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s linear .35s;
	}
	.main-nav.is-open { transform: none; visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
	.nav-backdrop { display: block; position: fixed; inset: 0; z-index: 205; background: rgba(15, 21, 26, .55); opacity: 0; transition: opacity .3s var(--ease); }
	.nav-backdrop[hidden] { display: none; }
	.nav-backdrop.is-visible { opacity: 1; }
	.nav-head { display: flex; align-items: center; justify-content: space-between; flex-shrink: 0; padding: 14px 22px 14px 12px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.nav-head-title { font-size: 14px; font-weight: 500; letter-spacing: .12em; color: var(--gold-on-dark); }
	.nav-close { display: inline-flex; }
	.main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 22px; }
	.main-nav > ul > li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid rgba(255, 255, 255, .08); }
	.main-nav > ul > li > a { flex: 1; min-width: 0; font-size: 18px; font-weight: 500; padding: 15px 0; color: var(--white); border-radius: 0; white-space: normal; }
	.main-nav > ul > li > a::after, .main-nav .menu-item-has-children > a::before { display: none; }
	.main-nav .menu-item-has-children > a { padding-inline-end: 0; }
	.main-nav > ul > li.current-menu-item > a, .main-nav > ul > li.current-menu-ancestor > a { color: var(--gold-on-dark); }
	.sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-inline-end: -10px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
	.sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-25%) rotate(45deg); transition: transform .25s var(--ease); opacity: .8; }
	.is-expanded > .sub-toggle::before { transform: translateY(25%) rotate(-135deg); }
	.sub-toggle:hover { background: rgba(255, 255, 255, .08); }
	.main-nav .sub-menu {
		position: static; flex-basis: 100%; display: none; min-width: 0; margin: 0 0 12px; padding: 4px 14px 4px 0;
		border: 0; border-inline-start: 2px solid rgba(185, 154, 98, .55); border-radius: 0;
		background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none;
	}
	.main-nav .sub-menu::before { display: none; }
	.main-nav .is-expanded > .sub-menu { display: block; }
	.main-nav .sub-menu a { color: rgba(255, 255, 255, .8); font-size: 16px; padding: 9px 0; border-radius: 0; white-space: normal; }
	.main-nav .sub-menu a::after { display: none; }
	.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item > a { background: none; color: var(--gold-on-dark); }
	.main-nav .sub-menu .menu-all { margin-top: 2px; padding-top: 0; border-top: 0; }
	.main-nav .sub-menu .menu-all > a { color: var(--gold-on-dark); font-weight: 500; }
	.nav-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding: 22px; border-top: 1px solid rgba(255, 255, 255, .1); }
	.main-nav .nav-contact-btn { flex: 1 1 120px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 14px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .08); color: var(--white); font-weight: 500; text-decoration: none; }
	.main-nav .nav-contact-btn.is-wa { background: #1F8F4E; }
	.main-nav .nav-contact-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
	.main-nav .nav-contact-btn:hover { color: var(--white); filter: brightness(1.1); }
	.main-nav .nav-contact-link { flex-basis: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding-top: 4px; color: rgba(255, 255, 255, .75); font-size: 14px; text-decoration: none; }
	.main-nav .nav-contact-link svg { width: 15px; height: 15px; color: var(--gold-on-dark); }
}

/* ==========================================================================
   מעבר נייד 24/11/2026
   ========================================================================== */
/* רשת: בלי min-width: 0 פריט ברשת לא מתכווץ מתחת לתוכן שלו (כך עמוד הסל התרחב ל-447px בטלפון) */
.ds-shop > .woocommerce > *, .woocommerce-cart .woocommerce > *, .woocommerce-checkout .woocommerce > * { min-width: 0; max-width: 100%; }
/* רשת ביטחון: שום רכיב לא יגרום לגלילה לרוחב של כל הדף (clip – לא שובר את הכותרת הדביקה) */
body { overflow-x: clip; }
@media (max-width: 600px) {
	/* שורת הקופון בטלפון: שדה בשורה מלאה והכפתור מתחתיו */
	.woocommerce-cart table.cart td.actions .coupon .input-text { flex: 1 1 100%; }
	.woocommerce-cart table.cart td.actions .coupon .button { flex: 1 1 100%; }
	/* לשוניות בדף המוצר: בלי פס גלילה צדדי נסתר – כפתורים שנשברים לשורה שנייה */
	.woocommerce div.product .woocommerce-tabs ul.tabs { flex-wrap: wrap; gap: 8px; overflow: visible; border-bottom: 0; margin-bottom: 22px; }
	.woocommerce div.product .woocommerce-tabs ul.tabs li a { padding: 8px 16px; font-size: 15px; border: 1px solid var(--line); border-radius: var(--radius-pill); }
	.woocommerce div.product .woocommerce-tabs ul.tabs li.active a { background: var(--slate); border-color: var(--slate); color: var(--white); }
}

/* ==========================================================================
   מגה־תפריט עם תמונות (עיצוב D, 24/11/2026) – תתי־הקטגוריות כאריחי תמונה
   התמונות: inc/template-tags.php (dupen_sleep_menu_image), נטענות בפתיחה – assets/js/theme.js
   ========================================================================== */
.menu-thumb { display: none; }
@media (min-width: 1001px) {
	.site-header .container { position: relative; }
	.main-nav > ul > li.menu-item-has-children { position: static; }
	.main-nav > ul > li.menu-item-has-children > .sub-menu {
		top: 100%; inset-inline: var(--gutter); min-width: 0;
		display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 190px); justify-content: center; gap: 18px;
		padding: 24px 26px 22px; border-radius: 0 0 16px 16px;
	}
	/* גשר מהפריט בתפריט עד הפאנל (הפאנל צמוד לתחתית הכותרת) */
	.main-nav > ul > li.menu-item-has-children > .sub-menu::before { height: 34px; }
	.main-nav > ul > li.menu-item-has-children > .sub-menu li { position: static; }
	.main-nav > ul > li.menu-item-has-children > .sub-menu a { display: block; padding: 0; border-radius: 0; background: none; }
	.main-nav > ul > li.menu-item-has-children > .sub-menu a::after { display: none; }
	.main-nav .sub-menu .menu-thumb { display: block; aspect-ratio: 3 / 2; border-radius: 10px; overflow: hidden; background: var(--sand-light); }
	.main-nav .sub-menu .menu-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
	.main-nav .sub-menu a:hover .menu-thumb img { transform: scale(1.06); }
	.main-nav .sub-menu .menu-label { display: block; padding: 10px 2px 0; font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--slate-dark); white-space: normal; transition: color .2s var(--ease); }
	.main-nav .sub-menu a:hover .menu-label, .main-nav .sub-menu .current-menu-item > a .menu-label { color: var(--gold-on-light); }
	.main-nav > ul > li.menu-item-has-children > .sub-menu .menu-all { margin: 0; padding: 0; border: 0; }
	.main-nav .sub-menu .menu-all .menu-label { color: var(--gold-on-light); }
	.main-nav .sub-menu .menu-all .menu-label::after { content: " ←"; }
}
@media (max-width: 1000px) {
	.main-nav .sub-menu { border-inline-start: 0; padding-inline-start: 0; }
	.main-nav .sub-menu a { display: flex; align-items: center; gap: 12px; }
	.main-nav .sub-menu .menu-thumb { display: block; flex-shrink: 0; width: 48px; height: 34px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); }
	.main-nav .sub-menu .menu-thumb img { width: 100%; height: 100%; object-fit: cover; }
}
