/*
Theme Name: בניאס - קטלוג מוצרים
Theme URI: https://banias-shop.co.il
Author: בניאס בע"מ
Description: תבנית קטלוג מוצרים בעברית (RTL) - מוצרים, קטגוריות, דף בית מודולרי וטופס יצירת קשר. כל התוכן נערך מתוך לוח הבקרה: מוצרים, קטגוריות, התפריטים ו"התאמה אישית".
Version: 1.8.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: banias
*/

/* ==========================================================
   משתני עיצוב - הצבעים נשלטים מתוך "התאמה אישית > צבעים"
   ========================================================== */
:root {
	--c-primary: #014B8F;      /* כחול בניאס */
	--c-secondary: #0066BF;    /* כחול בהיר - כפתורים ופס תפריט */
	--c-accent: #87CEEB;       /* תכלת - הדגשות */
	--c-text: #2b3440;
	--c-muted: #5a6573;        /* כהה מספיק לניגודיות AA גם על רקע אפור */
	--c-bg: #ffffff;
	--c-soft: #f2f5f8;
	--c-border: #dfe5eb;
	--c-footer: #15212e;
	--radius: 10px;
	--shadow: 0 6px 24px rgba(1, 40, 80, .10);
	--container: 1200px;
	--font: "Assistant", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	color: var(--c-text);
	background: var(--c-bg);
	direction: rtl;
	text-align: right;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--c-primary); line-height: 1.25; margin: 0 0 .6em; font-weight: 800; }
h1 { font-size: clamp(28px, 4vw, 40px); }
h2 { font-size: clamp(24px, 3vw, 32px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: 64px 0; }
.section--soft { background: var(--c-soft); }
.section-title { text-align: center; margin-bottom: 36px; }
.section-title::after {
	content: ""; display: block; width: 56px; height: 4px; border-radius: 2px;
	background: var(--c-secondary); margin: 14px auto 0;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); }
.skip-link:focus { position: fixed; top: 8px; right: 8px; z-index: 1000; background: #fff; padding: 10px 16px; clip: auto; width: auto; height: auto; }
/* נגישות: מסגרת פוקוס ברורה במקלדת - כהה עם הילה לבנה, נראית גם על כחול וגם על לבן */
:focus-visible { outline: 3px solid #0b1b2b; outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.main-nav :focus-visible, .site-footer :focus-visible, .topbar :focus-visible, .brand-cta :focus-visible { outline-color: #fff; box-shadow: 0 0 0 5px #0b1b2b; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* ---------- כפתורים ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 8px;
	background: var(--c-secondary); color: #fff; border: 0; cursor: pointer;
	font: 700 16px/1 var(--font); padding: 13px 26px; border-radius: 999px;
	transition: background .2s, transform .2s;
}
.btn:hover { background: var(--c-primary); text-decoration: none; transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--c-secondary); box-shadow: inset 0 0 0 2px var(--c-secondary); }
.btn--outline:hover { background: var(--c-secondary); color: #fff; }
.btn--white { background: #fff; color: var(--c-primary); }
.btn--white:hover { background: var(--c-accent); color: var(--c-primary); }

/* ==========================================================
   כותרת עליונה
   ========================================================== */
.topbar { background: var(--c-primary); color: #fff; font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 36px; gap: 12px; }
.topbar a { color: #fff; }
.topbar__contact { display: flex; gap: 18px; }

.site-header { position: sticky; top: 0; z-index: 100; background: #fff; transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.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; } }
.header-main .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.site-logo img, .site-logo .custom-logo { max-height: 62px; width: auto; }

.header-search { position: relative; flex: 0 1 360px; }
.header-search input[type="search"] {
	width: 100%; height: 44px; border: 2px solid var(--c-border); border-radius: 999px;
	padding: 0 18px 0 52px; font: 16px var(--font); background: var(--c-soft);
}
.header-search input[type="search"]:focus { border-color: var(--c-secondary); background: #fff; outline: none; }
.header-search button {
	position: absolute; left: 4px; top: 4px; width: 36px; height: 36px; border-radius: 50%;
	border: 0; background: var(--c-secondary); color: #fff; cursor: pointer; display: grid; place-items: center;
}
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; color: var(--c-primary); }

/* פס תפריט */
.main-nav { background: var(--c-secondary); }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > .container > ul { display: flex; flex-wrap: wrap; justify-content: center; }
.main-nav li { position: relative; }
.main-nav a {
	display: block; color: #fff; font-weight: 700; padding: 13px 20px; font-size: 16.5px;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { background: var(--c-primary); text-decoration: none; }
.main-nav .sub-menu {
	position: absolute; top: 100%; right: 0; min-width: 240px; background: #fff;
	box-shadow: var(--shadow); border-radius: 0 0 var(--radius) var(--radius);
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s; z-index: 50;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { color: var(--c-text); font-weight: 600; padding: 11px 18px; border-bottom: 1px solid var(--c-soft); }
.main-nav .sub-menu a:hover { background: var(--c-soft); color: var(--c-primary); }
.main-nav .menu-item-has-children > a::after { content: " ▾"; font-size: 12px; }
/* תת-תפריט בתוך תת-תפריט (תחום ← סוגי מוצרים): נפתח לצד שמאל */
.main-nav .sub-menu .sub-menu { top: 0; right: 100%; border-radius: var(--radius) 0 var(--radius) var(--radius); transform: translateX(-6px); }
.main-nav .sub-menu li:hover > .sub-menu, .main-nav .sub-menu li:focus-within > .sub-menu { transform: none; }
.main-nav .sub-menu .menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-weight: 700; color: var(--c-primary); }
.main-nav .sub-menu .menu-item-has-children > a::after { content: "‹"; font-size: 18px; line-height: 1; }
.main-nav .sub-menu li:hover > a { background: var(--c-soft); }
.main-nav .menu-item--all > a { color: var(--c-secondary); font-weight: 700; }

/* ==========================================================
   באנר מתחלף (דף הבית)
   ========================================================== */
.hero { position: relative; background: var(--c-soft); overflow: hidden; }
.hero__slide { display: none; grid-template-columns: 1fr 1fr; min-height: 440px; }
.hero__slide.is-active { display: grid; animation: fade .6s ease; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero__text { display: flex; flex-direction: column; justify-content: center; padding: 48px clamp(24px, 6vw, 80px); }
.hero__text h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 18px; }
.hero__text p { font-size: 19px; color: var(--c-muted); }
.hero__media { background-size: cover; background-position: center; min-height: 300px; }
.hero__media--empty { background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); }
.hero__dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; }
.hero__dots button { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--c-primary); background: #fff; cursor: pointer; padding: 0; }
.hero__dots button.is-active { background: var(--c-primary); }
.hero__dots { align-items: center; }
/* נקודות הבאנר: העיגול נשאר קטן, אבל אזור הלחיצה 24×24 (נוח לאצבע) */
.hero__dots button:not(.hero__pause) { box-sizing: content-box; background-clip: content-box; border-width: 2px; padding: 0; outline-offset: 4px; }
.hero__dots button:not(.hero__pause)::after { content: ""; position: absolute; inset: -6px; }
.hero__dots button { position: relative; }
.hero__dots .hero__pause { width: auto; height: 26px; border-radius: 999px; padding: 0 12px; font: 700 13px var(--font); color: var(--c-primary); }

/* ---------- אודות ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
.about__img img { border-radius: var(--radius); box-shadow: var(--shadow); }
.about__text { font-size: 18px; }

/* ---------- יתרונות ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature { text-align: center; padding: 26px 16px; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }
.feature__icon {
	width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center;
	background: var(--c-soft); color: var(--c-secondary); font-size: 30px;
}
.feature h3 { font-size: 19px; margin-bottom: 4px; }
.feature p { color: var(--c-muted); margin: 0; font-size: 15.5px; }

/* ==========================================================
   כרטיסי קטגוריה (תמונה גדולה + תגית)
   ========================================================== */
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cat-grid--3 { grid-template-columns: repeat(3, 1fr); }
.cat-card {
	position: relative; display: grid; place-items: center; min-height: 280px; overflow: hidden;
	border-radius: var(--radius); background: linear-gradient(135deg, var(--c-primary), var(--c-secondary));
	background-size: cover; background-position: center; color: #fff;
}
.cat-card::before { content: ""; position: absolute; inset: 0; background: rgba(1, 30, 60, .15); transition: background .25s; }
.cat-card:hover { text-decoration: none; }
.cat-card:hover::before { background: rgba(1, 30, 60, .35); }
.cat-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover .cat-card__img { transform: scale(1.05); }
.cat-pill {
	position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 12px;
	background: var(--c-primary); color: #fff; font-weight: 800; font-size: clamp(20px, 2.4vw, 30px);
	padding: 8px 10px 8px 30px; border-radius: 999px; box-shadow: 0 6px 20px rgba(0,0,0,.25);
	max-width: calc(100% - 28px); line-height: 1.2;
}
.cat-grid--3 .cat-card { min-height: 220px; }
.cat-grid--3 .cat-pill {font-size: clamp(17px, 1.7vw, 22px); padding-left: 22px; }
.cat-grid--3 .cat-pill__icon { width: 42px; height: 42px; }
.cat-pill__icon {
	width: 50px; height: 50px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none;
}
.cat-pill__icon img { width: 32px; height: 32px; object-fit: contain; }
.cat-pill__icon svg { width: 28px; height: 28px; color: var(--c-primary); }

/* ==========================================================
   באנר עליון (2026): רקע כחול כהה, כותרת בשתי שורות, נתונים וקולאז' תמונות
   ========================================================== */
.hero2 {
	position: relative; overflow: hidden; color: #fff;
	background:
		radial-gradient(900px 520px at 12% 18%, rgba(0, 102, 191, .45), transparent 65%),
		radial-gradient(700px 420px at 95% 95%, rgba(143, 211, 255, .14), transparent 60%),
		linear-gradient(135deg, #031a33 0%, #062b55 55%, #0a3d75 100%);
}
.hero2::before { /* סמל המעוין של בניאס, שקוף מאוד */
	content: ""; position: absolute; width: 620px; height: 620px; left: -160px; bottom: -260px; opacity: .06; pointer-events: none;
	background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M50 2 96 48 50 98 4 48Z' fill='none' stroke='white' stroke-width='6'/%3E%3C/svg%3E");
}
.hero2__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.hero2--no-media .hero2__inner { grid-template-columns: 1fr; }
.hero2 h1 { margin: 0; color: #fff; font-weight: 800; line-height: 1.05; letter-spacing: -.5px; font-size: clamp(42px, 5.6vw, 80px); }
.hero2 h1 span { display: block; }
.hero2 .hero2__accent { color: #8fd3ff; }
.hero2__text { margin: 26px 0 0; max-width: 560px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.7; color: rgba(255, 255, 255, .85); }
.hero2__stats { display: flex; flex-wrap: wrap; margin: 52px 0 0; padding: 0; list-style: none; }
.hero2__stats li { padding: 0 26px; border-right: 1px solid rgba(255, 255, 255, .2); }
.hero2__stats li:first-child { padding-right: 0; border-right: 0; }
.hero2__stats strong { display: block; font-size: clamp(30px, 3vw, 44px); font-weight: 300; line-height: 1.1; }
.hero2__stats span { display: block; margin-top: 6px; font-size: 14.5px; letter-spacing: .3px; color: rgba(255, 255, 255, .72); }
.hero2__media { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 560px; }
.hero2__media figure { margin: 0; border-radius: 22px; overflow: hidden; background: #0b2a4d; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.hero2__media figure:first-child { grid-row: 1 / 3; }
.hero2__media--1 figure:first-child { grid-column: 1 / 3; }
.hero2__media--2 figure:nth-child(2) { grid-row: 1 / 3; }
.hero2__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hero2__media figure:hover img { transform: scale(1.04); }
@media (max-width: 980px) {
	.hero2__inner { grid-template-columns: 1fr; gap: 40px; padding-top: 48px; padding-bottom: 56px; }
	.hero2__media { height: 380px; }
}
@media (max-width: 560px) {
	.hero2__media { height: 300px; gap: 10px; }
	.hero2__media figure { border-radius: 14px; }
	.hero2__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 0; }
	.hero2__stats li { padding: 0 16px; }
	.hero2__stats li:nth-child(odd) { padding-right: 0; border-right: 0; }
}

/* ---------- לפי יצרן: כרטיסי לוגו ---------- */
.brand-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.brand-card {
	flex: 0 1 210px; min-height: 130px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	padding: 18px 20px; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
	color: var(--c-primary); transition: box-shadow .2s, border-color .2s, transform .2s;
}
.brand-card:hover { text-decoration: none; box-shadow: var(--shadow); border-color: var(--c-secondary); transform: translateY(-2px); }
.brand-card img { height: 64px; max-width: 100%; width: auto; object-fit: contain; }

/* שכבת "סוג מוצר" בעמוד תחום / יצרן */
.cat-card { align-content: center; row-gap: 10px; }
.cat-card__count {
	position: relative; z-index: 2; justify-self: center; padding: 2px 14px; border-radius: 999px;
	background: rgba(255, 255, 255, .92); color: var(--c-primary); font-weight: 700; font-size: 15px;
}
.types-all { text-align: center; margin: 30px 0 0; }
.page-subtitle { text-align: center; margin: -22px 0 28px; font-size: 22px; font-weight: 700; color: var(--c-secondary); }
.brand-card__name { font-size: 24px; font-weight: 800; letter-spacing: .5px; line-height: 1.2; text-align: center; }
.brand-card__count { font-size: 14.5px; color: var(--c-muted); }

/* עמוד יצרן: לוגו ליד הכותרת */
.brand-head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 10px 0 30px; }
.brand-head .page-title { margin: 0; }
.brand-head__logo { height: 90px; width: auto; max-width: 100%; object-fit: contain; }

/* כפתורי סינון לפי קטגוריה (בעמוד תחום / יצרן) */
.filter-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 32px; }
.filter-chips a {
	padding: 7px 18px; border: 1px solid var(--c-border); border-radius: 999px; background: #fff;
	color: var(--c-primary); font-weight: 600; font-size: 15.5px;
}
.filter-chips a:hover { text-decoration: none; border-color: var(--c-secondary); }
.filter-chips a.is-active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* עמוד יצרן: "דף החברה" */
.brand-about-link { text-align: center; margin: -20px 0 30px; font-weight: 700; }
.brand-about__body { max-width: 900px; margin: 0 auto; font-size: 17.5px; }
.brand-about__body h3 { color: var(--c-primary); margin: 36px 0 12px; font-size: 24px; }
.brand-about__body .brand-lead { font-size: 21px; line-height: 1.7; color: var(--c-text); text-align: center; margin: 0 0 30px; }
.brand-about__body ul.brand-facts {
	list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px;
}
.brand-facts li {
	background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); padding: 16px 12px; text-align: center; margin: 0;
}
.brand-facts strong { display: block; font-size: 30px; font-weight: 800; color: var(--c-secondary); line-height: 1.1; }
.brand-facts span { display: block; color: var(--c-muted); font-size: 15px; margin-top: 4px; }
.brand-about__body ul.brand-timeline { list-style: none; margin: 0; padding: 0 18px 0 0; border-right: 3px solid var(--c-accent); }
.brand-timeline li { position: relative; margin: 0 0 12px; }
.brand-timeline li::before {
	content: ""; position: absolute; right: -26px; top: 9px; width: 13px; height: 13px; border-radius: 50%;
	background: var(--c-secondary); box-shadow: 0 0 0 3px #fff;
}
.brand-timeline strong { color: var(--c-primary); margin-left: 6px; }
.brand-about__body .brand-cta { margin-top: 30px; padding: 22px 26px; background: var(--c-primary); color: #fff; border-radius: var(--radius); }
.brand-about__body .brand-cta strong { color: #fff; }

/* עמוד הורדות */
.dl-group { margin: 0 0 48px; scroll-margin-top: 140px; }
.dl-group__desc { text-align: center; color: var(--c-muted); margin: -20px 0 24px; }
.dl-list { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; display: grid; gap: 12px; }
.dl-item {
	display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: #fff;
	border: 1px solid var(--c-border); border-radius: var(--radius); transition: border-color .2s, box-shadow .2s;
}
.dl-item:hover { border-color: var(--c-secondary); box-shadow: var(--shadow); }
.dl-item__icon {
	flex: none; width: 52px; height: 52px; border-radius: 8px; background: var(--c-primary); color: #fff;
	display: grid; place-items: center; font-weight: 800; font-size: 13px; letter-spacing: .5px;
}
.dl-item__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.dl-item__text strong { color: var(--c-primary); font-size: 18px; line-height: 1.35; }
.dl-item__meta { color: var(--c-muted); font-size: 14.5px; }
.dl-item__btn { flex: none; padding: 10px 22px; }
@media (max-width: 600px) {
	.dl-item { flex-wrap: wrap; }
	.dl-item__btn { width: 100%; text-align: center; }
}

.product-meta { margin: 6px 0 0; color: var(--c-muted); font-size: 15.5px; }

/* ==========================================================
   באנר עמוד פנימי + פירורי לחם
   ========================================================== */
.page-banner {
	position: relative; min-height: 220px; display: grid; place-items: center; overflow: hidden;
	background: linear-gradient(135deg, var(--c-primary), var(--c-secondary)); background-size: cover; background-position: center;
}
.page-banner::before { content: ""; position: absolute; inset: 0; background: rgba(1, 30, 60, .2); }
.page-banner--slim, .page-banner:empty { min-height: 90px; }
.breadcrumbs { font-size: 14px; color: var(--c-muted); padding: 14px 0; }
.breadcrumbs a { color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-secondary); }
.breadcrumbs .sep { margin: 0 6px; opacity: .6; }
.page-title { text-align: center; margin: 10px 0 30px; }
.term-description { max-width: 820px; margin: 0 auto 36px; text-align: center; font-size: 18px; color: var(--c-muted); }

/* ==========================================================
   כרטיסי מוצר
   ========================================================== */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-card {
	display: flex; flex-direction: column; border: 1px solid var(--c-primary); border-radius: 4px;
	background: #fff; overflow: hidden; transition: box-shadow .2s, transform .2s; color: inherit;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); text-decoration: none; }
.product-card__img { aspect-ratio: 1 / .85; display: grid; place-items: center; padding: 18px; background: #fff; }
.product-card__img img { max-height: 100%; width: auto; object-fit: contain; transition: transform .3s; }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__title {
	margin-top: auto; background: var(--c-primary); color: #fff; text-align: center;
	font-weight: 700; font-size: 16.5px; padding: 10px 12px;
}
.empty-note { text-align: center; color: var(--c-muted); padding: 30px; background: var(--c-soft); border-radius: var(--radius); }

/* ==========================================================
   עמוד מוצר
   ========================================================== */
.product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
/* סלולר: תוכן רחב (טבלאות מידות, תמונות) לא ימתח את העמוד - טבלה רחבה נגללת בתוך המסגרת שלה */
.product-layout > *, .about > *, .footer-top > * { min-width: 0; }
.entry-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; border-collapse: collapse; }
.entry-content img, .entry-content iframe, .entry-content video { max-width: 100%; height: auto; }
.entry-content { overflow-wrap: anywhere; }
.entry-content table { overflow-wrap: normal; }
.entry-content th, .entry-content td { white-space: nowrap; }
.product-info { background: var(--c-soft); border-radius: 4px; padding: 26px 28px; }
.product-info h2 { font-size: 18px; border-bottom: 1px solid var(--c-border); padding-bottom: 8px; margin: 22px 0 12px; }
.product-info h2:first-child { margin-top: 0; }
.product-info .entry-content { font-size: 16.5px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-right: 28px; margin-bottom: 8px; }
.checklist li::before {
	content: ""; position: absolute; right: 0; top: 6px; width: 16px; height: 9px;
	border-right: 3px solid var(--c-secondary); border-bottom: 3px solid var(--c-secondary); transform: rotate(-45deg) scaleX(-1);
}
.standards { display: flex; flex-wrap: wrap; gap: 12px; }
.standards img { height: 54px; width: auto; background: #fff; padding: 6px; border: 1px solid var(--c-border); border-radius: 6px; }
.product-sku { margin: 14px 0 0; color: var(--c-muted); font-size: 15.5px; }
.product-buy { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--c-border); }
.product-buy .price { font-size: 24px; font-weight: 800; color: var(--c-primary); margin-bottom: 12px; }
.product-buy form.cart { display: flex; gap: 10px; align-items: center; }
.product-buy .qty { width: 70px; height: 44px; border: 1px solid var(--c-border); border-radius: 6px; text-align: center; font: 16px var(--font); }
.product-buy .single_add_to_cart_button { background: var(--c-primary); color: #fff; border: 0; border-radius: 999px; padding: 13px 26px; font: 700 16px var(--font); cursor: pointer; }
.product-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.gallery { border: 1px solid var(--c-primary); border-radius: 4px; background: #fff; }
.gallery__main { position: relative; aspect-ratio: 1 / .8; display: grid; place-items: center; padding: 20px; }
.gallery__main img { max-height: 100%; width: auto; object-fit: contain; }
.gallery__nav {
	position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
	border: 1px solid var(--c-border); background: #fff; color: var(--c-primary); cursor: pointer; font-size: 20px; line-height: 1;
}
.gallery__nav--prev { right: 10px; }
.gallery__nav--next { left: 10px; }
.gallery__caption { background: var(--c-primary); color: #fff; text-align: center; font-weight: 700; padding: 11px; }
.gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; justify-content: center; }
.gallery__thumbs button { width: 64px; height: 64px; padding: 4px; border: 2px solid var(--c-border); border-radius: 6px; background: #fff; cursor: pointer; }
.gallery__thumbs button.is-active { border-color: var(--c-secondary); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.download-box {
	display: flex; align-items: center; gap: 14px; margin-top: 14px; padding: 14px 16px; border: 1px solid var(--c-border);
	border-radius: 4px; background: #fff; color: var(--c-text); font-weight: 700;
}
.download-box:hover { border-color: var(--c-secondary); text-decoration: none; }
.download-box__icon { width: 44px; height: 44px; border-radius: 8px; background: var(--c-secondary); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; flex: none; }

.related-mini h3 { font-size: 17px; border-bottom: 1px solid var(--c-border); padding-bottom: 8px; margin: 26px 0 12px; }
.mini-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.mini-grid a { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid var(--c-border); border-radius: 4px; padding: 6px; background: #fff; }
.mini-grid a:hover { border-color: var(--c-secondary); }
.mini-grid img { max-height: 100%; object-fit: contain; }

/* ==========================================================
   טופס יצירת קשר
   ========================================================== */
.contact-section { background-color: var(--c-soft); }
.contact-wrap { max-width: 780px; margin: 0 auto; }
.contact-intro { text-align: center; color: var(--c-muted); margin-top: -18px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input[type="text"], .form-grid input[type="tel"], .form-grid input[type="email"], .form-grid textarea {
	width: 100%; border: 1px solid #b9c4cf; border-radius: 6px; padding: 12px 14px; font: 16px var(--font); background: #fff;
}
.form-grid input:focus, .form-grid textarea:focus { border-color: var(--c-secondary); outline: none; box-shadow: 0 0 0 3px rgba(0,102,191,.45); }
.form-grid textarea { min-height: 120px; resize: vertical; }
.consent { font-size: 14px; color: var(--c-muted); display: flex; gap: 8px; align-items: flex-start; }
.consent input[type="checkbox"] { width: 20px; height: 20px; flex: none; margin: 2px 0 0; accent-color: var(--c-primary); }
.form-submit { text-align: center; }
.hp-field { position: absolute; right: -9999px; }
.form-notice { padding: 14px 18px; border-radius: 6px; margin-bottom: 18px; text-align: center; font-weight: 700; }
.form-notice--ok { background: #e3f4e8; color: #1d6b35; }
.form-notice--err { background: #fde8e8; color: #9b1c1c; }

/* ==========================================================
   פוטר
   ========================================================== */
.site-footer { background: var(--c-footer); color: #c9d3dd; font-size: 15.5px; }
.footer-top { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 32px; padding: 50px 0 36px; }
.site-footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; }
.site-footer a { color: #c9d3dd; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-logo img { max-height: 54px; width: auto; margin-bottom: 14px; }
.social { display: flex; gap: 10px; margin-top: 14px; }
.social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.social a:hover { background: var(--c-secondary); }
.social svg { width: 18px; height: 18px; fill: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 14px 0; font-size: 14px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-legal a + a { margin-right: 18px; }

.whatsapp-float {
	position: fixed; bottom: 22px; left: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
	background: #25D366; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25);
}
.whatsapp-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- תוכן עמודים רגילים ---------- */
.entry-content { max-width: 860px; margin: 0 auto; }
.entry-content > * + * { margin-top: 1em; }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { border: 1px solid var(--c-border); padding: 8px 10px; }
.entry-content th { background: var(--c-soft); }
.alignwide { max-width: var(--container); }
.alignfull { max-width: none; }
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--c-border); border-radius: 6px; }
.pagination .current { background: var(--c-secondary); color: #fff; border-color: var(--c-secondary); }

/* ==========================================================
   מובייל
   ========================================================== */
@media (max-width: 1024px) {
	.product-grid, .product-grid--4 { grid-template-columns: repeat(3, 1fr); }
	.features { grid-template-columns: repeat(2, 1fr); }
	.footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
	.topbar__note { display: none; }
	.header-main .container { flex-wrap: wrap; min-height: 70px; gap: 10px; padding-top: 10px; padding-bottom: 10px; }
	.site-logo img, .site-logo .custom-logo { max-height: 48px; }
	.menu-toggle { display: block; }
	.header-search { order: 3; flex: 1 1 100%; }
	.main-nav { display: none; }
	.main-nav.is-open { display: block; }
	.main-nav > .container { padding: 0; }
	.main-nav > .container > ul { flex-direction: column; }
	.main-nav a { border-bottom: 1px solid rgba(255,255,255,.15); }
	.main-nav .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 0; background: rgba(0,0,0,.12); }
	.main-nav .sub-menu a { color: #fff; border-bottom-color: rgba(255,255,255,.08); padding-right: 36px; }
	.main-nav .sub-menu .sub-menu { right: auto; transform: none; border-radius: 0; background: rgba(0,0,0,.12); }
	.main-nav .sub-menu .sub-menu a { padding-right: 56px; font-weight: 600; }
	.main-nav .sub-menu .menu-item-has-children > a { display: block; color: #fff; }
	.main-nav .sub-menu .menu-item-has-children > a::after { content: ""; }
	.main-nav .sub-menu li:hover > a { background: transparent; }
	.main-nav .menu-item--all > a { color: #fff; }
	.hero__slide { grid-template-columns: 1fr; min-height: 0; }
	.hero__media { order: -1; min-height: 230px; }
	.hero__media--empty { display: none; } /* בלי תמונה - לא מבזבזים חצי מסך על רקע כחול */
	.hero__text { padding-bottom: 64px; }
	.about, .product-layout { grid-template-columns: 1fr; }
	.product-info { padding: 20px 18px; }
	.product-layout .product-gallery-col { order: -1; }
	.cat-grid, .cat-grid--3 { grid-template-columns: 1fr; }
	.cat-card { min-height: 200px; }
	.brand-card { flex-basis: calc(50% - 10px); min-height: 110px; }
	.product-grid, .product-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
	.form-grid { grid-template-columns: 1fr; }
	.section { padding: 44px 0; }
}
@media (max-width: 480px) {
	body { font-size: 16px; }
	.features { grid-template-columns: 1fr; }
	.footer-top { grid-template-columns: 1fr; }
	.mini-grid { grid-template-columns: repeat(4, 1fr); }
	.topbar__contact span { display: none; }
}
