/* ==========================================================================
   OFEK LAGAN — main.css  (design system)
   חם · משפחתי · מקצועי · מוטיב "קו הצבע"
   ========================================================================== */
@font-face{
  font-family:"Assistant";
  src:url(../fonts/assistant.woff2) format("woff2");
  font-weight:200 800; font-style:normal; font-display:swap;
}

:root{
  --brand:#2247CC; --brand-ink:#16215A; --brand-soft:#EEF2FC;
  --gold:#E0B252; --gold-deep:#B9863A;
  --ground:#FBF9F4; --card:#FFFFFF; --panel:#EEF2FC;
  --ink:#1A1D26; --muted:#5B6472; --line:#ECE7DD;
  --shadow:0 10px 30px -12px rgba(22,33,90,.2);
  --shadow-sm:0 4px 14px -6px rgba(22,33,90,.14);
  --radius:16px; --radius-lg:22px;
  --maxw:1180px;
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body.ol-body{
  margin:0; direction:rtl;
  font-family:"Assistant","Heebo","Arial Hebrew",-apple-system,system-ui,sans-serif;
  background:var(--ground); color:var(--ink); line-height:1.6;
  -webkit-font-smoothing:antialiased; overflow-x:hidden;
}
img{ max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3{ text-wrap:balance; }
.ol-container{ max-width:var(--maxw); margin:0 auto; padding-inline:24px; }
.ol-skip{ position:absolute; right:-9999px; top:0; background:var(--brand); color:#fff; padding:10px 16px; border-radius:0 0 10px 0; z-index:100; }
.ol-skip:focus{ right:0; }

/* ---------- motifs ---------- */
.ol-scribble{ display:block; width:min(330px,72%); height:24px; color:var(--gold-deep); margin-top:8px; }
.ol-draw{ stroke-dasharray:1; stroke-dashoffset:1; transition:stroke-dashoffset 1.1s cubic-bezier(.6,.05,.2,1); }
.ol-draw--2{ transition-delay:.35s; }
.ol-in-view .ol-draw{ stroke-dashoffset:0; }
.ol-spark{ width:16px; height:16px; color:var(--gold-deep); flex:none; }
.ol-trail{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
.ol-trail svg{ width:100%; height:46px; color:var(--gold-deep); opacity:.6; overflow:visible; }
.ol-trail-path{ animation:ol-march 22s linear infinite; }
@keyframes ol-march{ to{ stroke-dashoffset:-170; } }

/* ---------- topbar + header ---------- */
.ol-topbar{ background:var(--brand-ink); color:#fff; font-size:14px; }
.ol-topbar__row{ display:flex; justify-content:space-between; align-items:center; min-height:40px; gap:12px; }
.ol-topbar a{ color:var(--gold); font-weight:600; white-space:nowrap; }
.ol-header{ position:sticky; top:0; z-index:40; background:color-mix(in srgb,var(--ground) 90%, transparent); backdrop-filter:saturate(1.4) blur(10px); border-bottom:1px solid var(--line); }
.ol-header__row{ display:flex; align-items:center; gap:26px; height:74px; }
.ol-logo__text{ font-weight:800; font-size:26px; color:var(--brand-ink); letter-spacing:-.5px; }
.ol-logo__text em{ color:var(--gold-deep); font-style:normal; }
.ol-logo__img{ display:inline-flex; }
.ol-logo__img img{ height:52px; width:auto; display:block; }
.ol-nav{ position:relative; }
.ol-nav__list{ display:flex; align-items:center; gap:22px; list-style:none; margin:0; padding:0; font-weight:600; flex-wrap:nowrap; }
.ol-nav__list li{ position:relative; }
.ol-nav__list a{ display:block; padding:8px 0; transition:color .18s; white-space:nowrap; }
.ol-nav__list a:hover{ color:var(--brand); }
.ol-nav__list .menu-item-has-children > a::after{ content:"▾"; font-size:11px; margin-inline-start:5px; color:var(--muted); }
/* dropdown submenus */
.ol-nav__list .sub-menu{ position:absolute; top:100%; inset-inline-start:0; min-width:210px; background:var(--card); border:1px solid var(--line); border-radius:14px; box-shadow:var(--shadow); padding:8px; margin:0; list-style:none; display:flex; flex-direction:column; gap:2px; opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .16s, transform .16s, visibility .16s; z-index:50; }
.ol-nav__list li:hover > .sub-menu, .ol-nav__list li:focus-within > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.ol-nav__list .sub-menu a{ padding:9px 12px; border-radius:9px; font-size:15px; }
.ol-nav__list .sub-menu a:hover{ background:var(--brand-soft); }
/* keep sticky header below the WP admin bar for logged-in preview */
body.admin-bar .ol-header{ top:32px; }
@media (max-width:782px){ body.admin-bar .ol-header{ top:46px; } }
.ol-header__actions{ margin-inline-start:auto; display:flex; align-items:center; gap:10px; }
.ol-iconbtn{ width:42px; height:42px; border-radius:50%; display:grid; place-items:center; background:var(--card); border:1px solid var(--line); color:var(--brand-ink); box-shadow:var(--shadow-sm); position:relative; cursor:pointer; }
.ol-iconbtn:hover{ color:var(--brand); border-color:var(--brand); }
.ol-iconbtn svg{ width:19px; height:19px; }
.ol-menu-toggle{ display:none; }
.ol-cart__count{ position:absolute; top:-4px; inset-inline-start:-4px; background:var(--gold-deep); color:#fff; font-size:11px; font-weight:800; min-width:18px; height:18px; border-radius:999px; display:grid; place-items:center; padding:0 4px; }

/* ---------- buttons ---------- */
.ol-btn{ display:inline-flex; align-items:center; gap:9px; font-weight:700; font-size:16px; padding:14px 26px; border-radius:999px; cursor:pointer; border:none; transition:transform .16s, box-shadow .16s, background .16s, border-color .16s; }
.ol-btn .ol-i{ width:18px; height:18px; }
.ol-btn--primary{ background:var(--brand); color:#fff; box-shadow:0 10px 22px -8px color-mix(in srgb,var(--brand) 65%, transparent); }
.ol-btn--primary:hover{ transform:translateY(-2px); box-shadow:0 16px 28px -10px color-mix(in srgb,var(--brand) 70%, transparent); color:#fff; }
.ol-btn--ghost{ background:transparent; color:var(--brand-ink); border:1.5px solid var(--line); padding:11px 20px; font-size:15px; }
.ol-btn--ghost:hover{ border-color:var(--brand); color:var(--brand); background:var(--brand-soft); }
.ol-textlink{ color:var(--brand); font-weight:700; }
.ol-textlink:hover{ text-decoration:underline; }

/* ---------- hero ---------- */
.ol-hero{ position:relative; overflow:hidden; text-align:center;
  background:radial-gradient(92% 78% at 50% -12%, color-mix(in srgb,var(--gold) 20%, var(--ground)), transparent 62%),
            linear-gradient(180deg, color-mix(in srgb,var(--brand-soft) 55%, var(--ground)), var(--ground)); }
.ol-hero__doodles{ position:absolute; inset:0; z-index:0; pointer-events:none; }
.ol-sun{ color:var(--gold); }
.ol-hero__doodles .ol-sun{ position:absolute; top:28px; inset-inline-end:7%; width:56px; height:56px; animation:ol-spin 30s linear infinite; }
.ol-cloud{ position:absolute; top:72px; inset-inline-start:9%; width:94px; color:var(--brand); opacity:.2; }
@keyframes ol-spin{ to{ transform:rotate(360deg); } }
.ol-hero__inner{ position:relative; z-index:1; max-width:900px; padding-top:58px; }
.ol-eyebrow{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:14px; color:var(--brand); background:var(--card); border:1px solid var(--line); padding:7px 15px 7px 13px; border-radius:999px; box-shadow:var(--shadow-sm); }
.ol-hero__title{ font-size:clamp(36px,5.6vw,64px); line-height:1.06; font-weight:800; letter-spacing:-1.2px; margin:20px auto 0; color:var(--brand-ink); }
.ol-hero .ol-scribble{ margin:8px auto 0; }
.ol-hero__text{ font-size:19px; color:var(--muted); margin:16px auto 28px; max-width:52ch; }
.ol-hero__cta{ display:flex; gap:14px; align-items:center; justify-content:center; flex-wrap:wrap; }
.ol-trust{ margin-top:22px; display:flex; gap:22px; justify-content:center; color:var(--muted); font-size:14px; font-weight:600; flex-wrap:wrap; }
.ol-trust span{ display:inline-flex; align-items:center; gap:7px; }
.ol-trust .ol-i{ width:18px; height:18px; color:var(--brand); }

/* hero product marquee on the crayon line */
.ol-hero__scene{ position:relative; z-index:1; margin-top:24px; height:288px; }
.ol-ground{ position:absolute; left:0; right:0; bottom:70px; width:100%; height:40px; color:var(--gold-deep); opacity:.7; overflow:visible; z-index:0; }
.ol-marquee{ position:absolute; inset:0; overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent); }
.ol-track{ position:absolute; bottom:24px; left:0; right:auto; direction:ltr; display:flex; align-items:flex-end; gap:clamp(18px,3.4vw,44px); width:max-content; padding:0 24px; }
.ol-track--run{ animation-name:ol-marquee; animation-timing-function:linear; animation-iteration-count:infinite; will-change:transform; }
.ol-marquee:hover .ol-track--run{ animation-play-state:paused; }
@keyframes ol-marquee{ from{ transform:translateX(0); } to{ transform:translateX(calc(-1 * var(--ol-shift,0px))); } }
.ol-pbubble{ direction:rtl; display:flex; flex-direction:column; align-items:center; gap:11px; flex:none; }
.ol-pbubble__frame{ position:relative; display:grid; place-items:center; overflow:hidden; width:clamp(150px,17vw,186px); height:clamp(122px,13.5vw,150px); border-radius:22px; background:var(--card); border:1px solid var(--line); box-shadow:var(--shadow); transition:transform .2s, box-shadow .2s; }
.ol-pbubble__frame img{ width:100%; height:100%; object-fit:cover; }
.ol-pbubble:hover .ol-pbubble__frame{ transform:translateY(-6px); box-shadow:0 16px 34px -14px rgba(22,33,90,.42); }
.ol-pbubble__tag{ position:absolute; top:9px; inset-inline-start:9px; background:var(--gold); color:#3a2a05; font-size:11px; font-weight:800; padding:4px 10px; border-radius:999px; box-shadow:var(--shadow-sm); }
.ol-pbubble__label{ font-weight:700; font-size:14px; line-height:1.3; color:var(--brand-ink); text-align:center; width:clamp(150px,17vw,186px); height:37px; overflow:hidden; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; transition:color .18s; }
.ol-pbubble:hover .ol-pbubble__label{ color:var(--brand); }

/* ---------- sections ---------- */
.ol-section{ padding-block:56px; }
.ol-section--soft{ background:linear-gradient(180deg,transparent, color-mix(in srgb,var(--brand-soft) 55%, var(--ground))); }
.ol-sectionhead{ display:flex; justify-content:space-between; align-items:flex-end; margin-bottom:30px; gap:16px; }
.ol-sectionhead--center{ flex-direction:column; align-items:center; text-align:center; }
.ol-sectionhead--center .ol-scribble{ margin-inline:auto; }
.ol-h2{ font-size:clamp(26px,3.4vw,38px); font-weight:800; letter-spacing:-.6px; color:var(--brand-ink); margin:8px 0 0; }
.ol-sub{ color:var(--muted); margin:8px 0 0; font-size:16px; }
.ol-label{ display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:700; letter-spacing:.04em; color:var(--gold-deep); }
.ol-sun--head{ width:52px; height:52px; margin-bottom:4px; }
.ol-section__more{ text-align:center; margin-top:30px; }

/* ---------- categories ---------- */
.ol-cats{ display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.ol-cat{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:14px; display:flex; flex-direction:column; gap:12px; transition:transform .18s, box-shadow .18s, border-color .18s; }
.ol-cat:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:transparent; }
.ol-cat__thumb{ aspect-ratio:4/3; border-radius:12px; display:grid; place-items:center; background:radial-gradient(140% 120% at 30% 15%, color-mix(in srgb,var(--brand-soft) 70%, #fff), var(--panel)); background-size:cover; background-position:center; }
.ol-cat__thumb .ol-spark{ width:34px; height:34px; color:var(--brand); }
.ol-cat__meta{ display:flex; flex-direction:column; padding:0 4px 4px; }
.ol-cat__name{ font-weight:700; font-size:17px; }
.ol-cat__count{ font-size:13px; color:var(--muted); }

/* ---------- product grid + cards (loop) ---------- */
.woocommerce ul.products, .ol-products, ul.products{
	list-style:none !important; margin:0 !important; padding:0 !important;
	display:grid !important; grid-template-columns:repeat(4,1fr) !important; gap:22px !important;
}
.woocommerce ul.products li.product, .ol-products .ol-product, ul.products li.product{
	width:auto !important; margin:0 !important; padding:0 !important; float:none !important;
}
.woocommerce ul.products li.product::before, .woocommerce ul.products::before, .woocommerce ul.products::after{ content:none !important; display:none !important; }
.ol-product__card{ height:100%; display:flex; flex-direction:column; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:14px; text-align:center; transition:transform .18s, box-shadow .18s; }
.ol-product__card:hover{ transform:translateY(-6px); box-shadow:var(--shadow); }
.ol-product__media{ position:relative; display:block; aspect-ratio:1/1; border-radius:14px; overflow:hidden; background:var(--panel); }
.ol-product__media img{ width:100%; height:100%; object-fit:cover; }
.ol-badge{ position:absolute; top:12px; inset-inline-start:12px; z-index:1; font-size:12px; font-weight:700; padding:5px 11px; border-radius:999px; color:#fff; }
.ol-badge--sale{ background:var(--gold-deep); }
.ol-product__body{ display:flex; flex-direction:column; gap:10px; padding-top:14px; flex:1; }
.ol-product__title{ font-size:16px; font-weight:700; line-height:1.35; margin:0; }
.ol-product__title a:hover{ color:var(--brand); }
.ol-product__price{ font-weight:800; color:var(--brand-ink); font-size:19px; }
.ol-product__price del{ color:var(--muted); font-weight:500; font-size:15px; margin-inline-end:6px; }
.ol-product__price ins{ text-decoration:none; }
.ol-product__btn{ align-self:center; margin-top:auto; }

/* ---------- WooCommerce shop/archive/single wrapper ---------- */
.ol-woo{ padding-bottom:56px; }
.ol-woohead{ background:linear-gradient(180deg, var(--brand-soft), var(--ground)); padding:44px 0 34px; text-align:center; margin-bottom:34px; }
.ol-woohead .ol-scribble{ margin:8px auto 0; }
.ol-shop{ display:block; }
.woocommerce .ol-woo .woocommerce-result-count{ color:var(--muted); }
.woocommerce .ol-woo .woocommerce-ordering select{ border:1px solid var(--line); border-radius:999px; padding:8px 14px; background:var(--card); }
.woocommerce .ol-woo .button, .woocommerce .ol-woo a.button, .woocommerce .ol-woo button.button{ border-radius:999px; background:var(--brand); color:#fff; font-weight:700; }
.woocommerce .ol-woo .button:hover{ background:var(--brand-ink); }
.woocommerce .ol-woo .price{ color:var(--brand-ink); font-weight:800; }
.woocommerce .ol-woo nav.woocommerce-pagination ul{ border:none; gap:8px; display:flex; justify-content:center; }
.woocommerce .ol-woo nav.woocommerce-pagination ul li{ border:none; }
.woocommerce .ol-woo nav.woocommerce-pagination ul li a, .woocommerce .ol-woo nav.woocommerce-pagination ul li span{ border:1px solid var(--line); border-radius:10px; background:var(--card); }
.woocommerce .ol-woo nav.woocommerce-pagination ul li span.current{ background:var(--brand); color:#fff; border-color:var(--brand); }
/* single product */
.single-product .ol-woo div.product .product_title{ font-size:clamp(24px,3vw,36px); font-weight:800; color:var(--brand-ink); letter-spacing:-.5px; }
.single-product .ol-woo div.product .price{ color:var(--brand-ink); font-weight:800; font-size:24px; }
.single-product .ol-woo div.product .woocommerce-product-gallery{ border-radius:var(--radius-lg); overflow:hidden; }
.single-product .ol-woo .single_add_to_cart_button.button{ border-radius:999px; padding:14px 30px; font-size:16px; }
.woocommerce-tabs .tab-content, .woocommerce-Tabs-panel{ line-height:1.8; }

/* ---------- cart / checkout minimal polish ---------- */
.woocommerce-cart .ol-woo table.cart, .woocommerce-checkout .ol-woo .woocommerce-checkout-review-order table{ border-radius:var(--radius); overflow:hidden; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce-checkout select{ border:1px solid var(--line); border-radius:12px; padding:12px 14px; }
.woocommerce #payment, .woocommerce-checkout #order_review{ border-radius:var(--radius); }

/* ---------- about ---------- */
.ol-about__grid{ display:grid; grid-template-columns:.92fr 1.08fr; gap:44px; align-items:center; }
.ol-about__photo{ position:relative; }
.ol-about__photo img{ width:100%; border-radius:var(--radius-lg); border:1px solid var(--line); box-shadow:var(--shadow); display:block; }
.ol-about__badge{ position:absolute; bottom:-14px; inset-inline-start:22px; background:var(--card); border:1px solid var(--line); box-shadow:var(--shadow-sm); border-radius:999px; padding:9px 16px; font-weight:700; font-size:14px; color:var(--brand-ink); }
.ol-about__text{ color:var(--muted); font-size:16px; line-height:1.8; }
.ol-about__text p{ margin:0 0 12px; }
.ol-about__lead{ font-size:19px; font-weight:600; color:var(--ink) !important; }
.ol-about__sign{ display:flex; align-items:center; gap:14px; margin-top:20px; padding-top:18px; border-top:1px dashed var(--line); }
.ol-sign{ width:100px; height:34px; color:var(--brand); flex:none; }
.ol-about__sign b{ display:block; font-size:17px; color:var(--brand-ink); }
.ol-about__sign span{ font-size:14px; color:var(--muted); }

/* ---------- features ---------- */
.ol-features{ background:var(--brand-ink); color:#fff; padding-block:64px; }
.ol-features__row{ display:grid; grid-template-columns:repeat(4,1fr); gap:30px; }
.ol-feature{ display:flex; gap:13px; align-items:center; }
.ol-feature svg{ width:30px; height:30px; color:var(--gold); flex:none; }
.ol-feature b{ display:block; font-size:16px; }
.ol-feature span{ font-size:13.5px; opacity:.72; }

/* ---------- blog / magazine ---------- */
.ol-pagehead{ padding:20px 0 6px; }
.ol-pagehead--center{ text-align:center; padding:30px 0 8px; }
.ol-pagehead--center .ol-scribble{ margin-inline:auto; }
.ol-pagehead--center .ol-sub{ max-width:56ch; margin-inline:auto; }
.ol-postgrid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:20px; }
.ol-postcard{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; display:flex; flex-direction:column; transition:transform .18s, box-shadow .18s; }
.ol-postcard:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.ol-postcard__media{ position:relative; aspect-ratio:16/10; display:block; background:var(--panel); overflow:hidden; }
.ol-postcard__media img{ width:100%; height:100%; object-fit:cover; }
.ol-postcard__ph{ position:absolute; inset:0; display:grid; place-items:center; }
.ol-postcard__ph .ol-spark{ width:40px; height:40px; color:var(--brand); }
.ol-postcard__cat{ position:absolute; top:12px; inset-inline-start:12px; background:var(--card); font-size:12px; font-weight:700; padding:5px 11px; border-radius:999px; color:var(--brand-ink); }
.ol-postcard__body{ padding:18px; display:flex; flex-direction:column; gap:8px; flex:1; }
.ol-postcard__date{ font-size:13px; color:var(--muted); }
.ol-postcard__title{ font-size:19px; font-weight:800; line-height:1.3; margin:0; color:var(--brand-ink); }
.ol-postcard__title a:hover{ color:var(--brand); }
.ol-postcard__excerpt{ color:var(--muted); font-size:15px; margin:0; }
.ol-postcard__body .ol-textlink{ margin-top:auto; }
.ol-pagination{ margin-top:36px; text-align:center; }
.ol-pagination .nav-links{ display:inline-flex; gap:8px; }
.ol-pagination a, .ol-pagination span{ display:grid; place-items:center; min-width:42px; height:42px; padding:0 12px; border:1px solid var(--line); border-radius:12px; background:var(--card); font-weight:700; }
.ol-pagination .current{ background:var(--brand); color:#fff; border-color:var(--brand); }

/* single post */
.ol-single__head{ padding:34px 0 10px; text-align:center; }
.ol-single__headinner{ max-width:760px; }
.ol-single__head .ol-scribble{ margin:8px auto 0; }
.ol-single__title{ font-size:clamp(28px,4vw,46px); font-weight:800; color:var(--brand-ink); letter-spacing:-.6px; margin:14px 0 0; }
.ol-single__meta{ color:var(--muted); font-size:14px; display:flex; gap:8px; justify-content:center; margin-top:12px; }
.ol-single__hero{ margin:24px auto; }
.ol-single__hero img{ width:100%; border-radius:var(--radius-lg); }
.ol-single__body, .ol-page__body{ max-width:760px; }
.ol-prose{ font-size:17px; line-height:1.85; color:#2b2f3a; }
.ol-prose h2{ font-size:26px; color:var(--brand-ink); margin:32px 0 12px; }
.ol-prose h3{ font-size:21px; color:var(--brand-ink); margin:26px 0 10px; }
.ol-prose img{ border-radius:var(--radius); }
.ol-prose a{ color:var(--brand); text-decoration:underline; }
.ol-empty{ text-align:center; padding:60px 0; color:var(--muted); }

/* ---------- goodbye band + waving child ---------- */
.ol-goodbye{ background:var(--ground); padding-top:18px; }
.ol-goodbye__bye{ font-weight:800; font-size:20px; color:var(--brand-ink); text-align:center; }
.ol-footer__scene{ position:relative; height:150px; }
.ol-footer__scene svg{ position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.ol-ground-line{ color:var(--gold); }
.ol-child{ color:var(--brand); }
.ol-child-arm{ transform-box:fill-box; transform-origin:50% 92%; transform:rotate(6deg); }
.ol-rewave.ol-waving .ol-child-arm{ animation:ol-wave 2.2s ease-in-out .2s 3; }
@keyframes ol-wave{ 0%,100%{transform:rotate(6deg);} 25%{transform:rotate(-14deg);} 50%{transform:rotate(16deg);} 75%{transform:rotate(-8deg);} }

/* ---------- footer (navy, significant) ---------- */
.ol-footer{ background:var(--brand-ink); color:#fff; }
.ol-footer__grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.1fr; gap:34px; padding:52px 24px 40px; }
.ol-footer__title{ font-size:16px; font-weight:800; margin:0 0 16px; color:#fff; }
.ol-footer__logo{ display:inline-block; background:#fff; padding:9px 14px; border-radius:12px; }
.ol-footer__logo img{ height:46px; width:auto; display:block; }
.ol-footer__brand p{ color:rgba(255,255,255,.7); font-size:14.5px; line-height:1.7; margin:16px 0 0; max-width:34ch; }
.ol-footer__links{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:11px; }
.ol-footer__links a{ color:rgba(255,255,255,.8); font-size:15px; transition:color .15s, padding .15s; }
.ol-footer__links a:hover{ color:var(--gold); padding-inline-start:4px; }
.ol-footer__pay-txt{ color:rgba(255,255,255,.6); font-size:13.5px; margin:0 0 12px; }
.ol-footer__pay{ background:#fff; padding:8px 12px; border-radius:10px; max-width:100%; height:auto; }
.ol-footer__contact{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:14px; }
.ol-footer__contact li{ display:flex; align-items:center; gap:11px; color:rgba(255,255,255,.85); font-size:15px; }
.ol-footer__contact svg{ width:22px; height:22px; color:var(--gold); flex:none; }
.ol-footer__contact a{ color:rgba(255,255,255,.85); }
.ol-footer__contact a:hover{ color:var(--gold); }
.ol-footer__bottom{ border-top:1px solid rgba(255,255,255,.12); padding:18px 0; text-align:center; font-size:14px; color:rgba(255,255,255,.65); }
.ol-footer__bottom a{ color:var(--gold); font-weight:700; }
.ol-footer__bottom a:hover{ text-decoration:underline; }

/* ---------- floating WhatsApp ---------- */
.ol-wa{ position:fixed; inset-inline-start:20px; bottom:20px; z-index:60; width:58px; height:58px; border-radius:50%;
  background:#25D366; color:#fff; display:grid; place-items:center; box-shadow:0 8px 22px -6px rgba(37,211,102,.6); transition:transform .18s, box-shadow .18s; }
.ol-wa:hover{ transform:scale(1.08); color:#fff; box-shadow:0 12px 28px -6px rgba(37,211,102,.75); }
.ol-wa svg{ width:32px; height:32px; }
.ol-wa::before{ content:""; position:absolute; inset:0; border-radius:50%; animation:ol-wa-pulse 2.4s infinite; }
@keyframes ol-wa-pulse{ 0%{ box-shadow:0 0 0 0 rgba(37,211,102,.5);} 100%{ box-shadow:0 0 0 15px rgba(37,211,102,0);} }

/* ---------- reveal ---------- */
.ol-reveal{ }

/* ---------- infinite scroll loader ---------- */
.ol-infinite{ display:flex; align-items:center; justify-content:center; gap:12px; padding:26px 0 8px; color:var(--muted); font-weight:600; font-size:15px; grid-column:1 / -1; }
.ol-infinite .ol-spinner, .ol-infinite .ol-infinite__txt{ display:none; }
.ol-infinite.is-loading .ol-spinner, .ol-infinite.is-loading .ol-infinite__txt, .ol-infinite.is-done .ol-infinite__txt{ display:inline-flex; }
.ol-spinner{ width:26px; height:26px; border:3px solid var(--line); border-top-color:var(--brand); border-radius:50%; animation:ol-spin .7s linear infinite; }

/* ---------- shop: breadcrumb + category chips ---------- */
.ol-breadcrumb{ padding:18px 0 0; color:var(--muted); font-size:14px; }
.ol-breadcrumb a{ color:var(--muted); }
.ol-breadcrumb a:hover{ color:var(--brand); }
.ol-bc-sep{ color:var(--line); margin:0 4px; }
.ol-chips{ display:flex; gap:10px; flex-wrap:wrap; padding:6px 0 30px; }
.ol-chip{ padding:8px 16px; border-radius:999px; background:var(--card); border:1px solid var(--line); font-weight:600; font-size:14px; color:var(--brand-ink); transition:all .16s; }
.ol-chip:hover{ border-color:var(--brand); color:var(--brand); }
.ol-chip.is-active{ background:var(--brand); border-color:var(--brand); color:#fff; }

/* ---------- single product page ---------- */
.single-product .ol-woo .ol-shop{ padding-top:8px; }
.single-product div.product{ display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.12fr); gap:40px; align-items:start; }
.single-product div.product .woocommerce-product-gallery{ width:100% !important; max-width:none !important; float:none !important; margin:0 !important; position:sticky; top:100px; }
.single-product div.product .woocommerce-product-gallery__wrapper{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); }
.single-product div.product .entry-summary,
.single-product div.product .summary{ width:100% !important; max-width:none !important; float:none !important; margin:0 !important; }
.single-product .product_title{ font-size:clamp(24px,3vw,36px); font-weight:800; color:var(--brand-ink); letter-spacing:-.5px; margin:6px 0 12px; }
.single-product .woocommerce-product-rating{ margin-bottom:12px; }
.single-product div.product p.price, .single-product div.product span.price{ color:var(--brand-ink) !important; font-weight:800; font-size:26px; }
.single-product div.product p.price del{ color:var(--muted); font-weight:500; font-size:18px; }
.single-product .woocommerce-product-details__short-description{ color:#3b414d; line-height:1.8; margin:14px 0; }
.single-product form.cart{ display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin:18px 0; }
.single-product form.cart .quantity input.qty{ width:74px; height:52px; border:1px solid var(--line); border-radius:12px; text-align:center; font-weight:700; }
.single-product .single_add_to_cart_button.button{ border-radius:999px !important; background:var(--brand) !important; color:#fff !important; padding:16px 34px !important; font-size:17px !important; font-weight:700 !important; box-shadow:0 10px 22px -8px color-mix(in srgb,var(--brand) 65%, transparent); }
.single-product .single_add_to_cart_button.button:hover{ background:var(--brand-ink) !important; transform:translateY(-2px); }
.single-product .variations_form .variations{ margin:8px 0 16px; }
.single-product .variations td, .single-product .variations th{ padding:6px 0; }
.single-product .product_meta{ font-size:13px; color:var(--muted); margin-top:16px; border-top:1px solid var(--line); padding-top:14px; }
.ol-pdp-trust{ list-style:none; margin:20px 0 0; padding:16px; display:grid; gap:12px; background:var(--brand-soft); border-radius:var(--radius); }
.ol-pdp-trust li{ display:flex; align-items:center; gap:12px; }
.ol-pdp-trust svg{ width:26px; height:26px; color:var(--brand); flex:none; }
.ol-pdp-trust b{ display:block; font-size:15px; color:var(--brand-ink); }
.ol-pdp-trust span{ font-size:13px; color:var(--muted); }
/* tabs + related full width below the grid */
.single-product .woocommerce-tabs{ grid-column:1 / -1; margin-top:44px; }
.single-product .woocommerce-tabs ul.tabs{ display:flex; gap:8px; padding:0; border:none; margin:0 0 22px; }
.single-product .woocommerce-tabs ul.tabs::before, .single-product .woocommerce-tabs ul.tabs li::before, .single-product .woocommerce-tabs ul.tabs li::after{ display:none; }
.single-product .woocommerce-tabs ul.tabs li{ background:var(--card); border:1px solid var(--line) !important; border-radius:999px; padding:0; margin:0; }
.single-product .woocommerce-tabs ul.tabs li a{ padding:10px 20px; font-weight:700; color:var(--brand-ink); }
.single-product .woocommerce-tabs ul.tabs li.active{ background:var(--brand); border-color:var(--brand) !important; }
.single-product .woocommerce-tabs ul.tabs li.active a{ color:#fff; }
.single-product .woocommerce-tabs .panel{ line-height:1.85; color:#3b414d; }
.single-product .related.products, .single-product .upsells.products{ grid-column:1 / -1; margin-top:50px; }
.single-product .related.products > h2, .single-product .upsells.products > h2{ font-size:26px; font-weight:800; color:var(--brand-ink); margin-bottom:22px; text-align:center; }

/* ---------- quote request form (no-price products) ---------- */
.ol-quote{ border:1px solid var(--line); border-radius:var(--radius-lg); padding:22px; background:var(--card); margin:6px 0 18px; box-shadow:var(--shadow-sm); }
.ol-quote__head{ display:flex; gap:12px; align-items:flex-start; margin-bottom:16px; }
.ol-quote__head svg{ width:30px; height:30px; color:var(--brand); flex:none; }
.ol-quote__head strong{ display:block; font-size:17px; color:var(--brand-ink); }
.ol-quote__head span{ font-size:14px; color:var(--muted); }
.ol-quote__form{ display:flex; flex-direction:column; gap:12px; }
.ol-quote__row{ display:flex; gap:12px; }
.ol-quote__row > *{ flex:1; }
.ol-quote input, .ol-quote textarea{ width:100%; border:1px solid var(--line); border-radius:12px; padding:13px 15px; font:inherit; font-size:15px; background:var(--ground); direction:rtl; text-align:right; transition:border-color .16s, box-shadow .16s; }
.ol-quote input::placeholder, .ol-quote textarea::placeholder{ text-align:right; }
.ol-quote input:focus, .ol-quote textarea:focus{ outline:none; border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.ol-quote textarea{ resize:vertical; }
.ol-quote .ol-btn{ justify-content:center; }
.ol-quote__msg{ margin:2px 0 0; font-weight:600; font-size:14.5px; padding:10px 14px; border-radius:10px; }
.ol-quote__msg.is-ok{ background:#e7f6ec; color:#1f7a3d; }
.ol-quote__msg.is-err{ background:#fdeceb; color:#c0392b; }

/* ---------- color variation swatches ---------- */
.ol-select-hidden{ display:none !important; }
.single-product .variations{ margin:6px 0 18px; }
.single-product .variations th.label{ vertical-align:middle; font-weight:700; color:var(--brand-ink); padding-inline-end:16px; }
.single-product .variations td.value{ padding:6px 0; }
.ol-swatches{ display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
.ol-swatch{ width:40px; height:40px; border-radius:50%; border:2px solid var(--line); background:var(--card); padding:3px; cursor:pointer; display:inline-grid; place-items:center; transition:transform .15s, border-color .15s, box-shadow .15s; }
.ol-swatch > span{ display:block; width:100%; height:100%; border-radius:50%; background:var(--sw,#eee); box-shadow:inset 0 0 0 1px rgba(0,0,0,.1); }
.ol-swatch:hover{ transform:translateY(-2px); border-color:var(--brand); }
.ol-swatch.is-active{ border-color:var(--brand); box-shadow:0 0 0 3px var(--brand-soft); }
.ol-swatch[disabled]{ opacity:.35; cursor:not-allowed; }
.ol-swatch[disabled]::after{ content:""; position:absolute; }
.ol-swatch--unknown > span, .ol-swatch--unknown > .ol-swatch__txt{ background:conic-gradient(from 0deg,#f3b6cd,#8bc34a,#5aa9e6,#f5c518,#ec6ca0); }
.ol-swatch__txt{ display:grid; place-items:center; width:100%; height:100%; border-radius:50%; font-size:10px; font-weight:800; color:#2b2f3a; }
.ol-swatch-label{ font-weight:700; color:var(--brand-ink); margin-inline-start:6px; font-size:15px; }
/* pill selectors for non-color variations (מיכלים, מידות, סוגים...) */
.ol-pills{ display:flex; flex-wrap:wrap; gap:10px; }
.ol-pill{ padding:10px 18px; border-radius:999px; border:1.5px solid var(--line); background:var(--card); font-weight:700; font-size:15px; color:var(--brand-ink); cursor:pointer; transition:transform .15s, border-color .15s, background .15s, color .15s; }
.ol-pill:hover{ transform:translateY(-2px); border-color:var(--brand); color:var(--brand); }
.ol-pill.is-active{ background:var(--brand); border-color:var(--brand); color:#fff; }
.ol-pill[disabled]{ opacity:.4; cursor:not-allowed; transform:none; }
.single-product .reset_variations{ display:inline-block; margin-inline-start:8px; font-size:13px; color:var(--muted); }

/* ---------- cart + checkout ---------- */
.woocommerce-cart .ol-woo, .woocommerce-checkout .ol-woo, .woocommerce-account .ol-woo{ padding-top:20px; }
.woocommerce table.shop_table{ border:1px solid var(--line); border-radius:var(--radius); border-collapse:separate; border-spacing:0; overflow:hidden; }
.woocommerce table.shop_table th{ background:var(--brand-soft); color:var(--brand-ink); }
.woocommerce .cart_totals h2, .woocommerce-checkout h3{ color:var(--brand-ink); font-weight:800; }
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button, .woocommerce #respond input#submit{ border-radius:999px !important; background:var(--brand); color:#fff; font-weight:700; padding:12px 26px; transition:all .16s; }
.woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover{ background:var(--brand-ink); }
.woocommerce a.button.alt, .woocommerce button.button.alt, .wc-block-components-button{ background:var(--brand) !important; }
.woocommerce .checkout .col-1, .woocommerce .checkout .col-2{ float:none; width:100%; }
.woocommerce form.checkout_coupon, .woocommerce #payment, .woocommerce .woocommerce-info, .woocommerce .cart-collaterals .cart_totals{ border:1px solid var(--line); border-radius:var(--radius); }
.woocommerce .woocommerce-info, .woocommerce-message, .woocommerce .woocommerce-error{ border-top-color:var(--brand); border-radius:12px; }
.woocommerce-checkout #payment ul.payment_methods{ border-radius:12px 12px 0 0; }

/* ---------- search form ---------- */
.ol-search{ display:flex; align-items:center; gap:10px; max-width:640px; margin:16px 0 0; background:var(--card); border:1px solid var(--line); border-radius:999px; padding:6px 6px 6px 18px; box-shadow:var(--shadow-sm); }
.ol-search svg{ width:20px; height:20px; color:var(--muted); flex:none; }
.ol-search input[type=search]{ flex:1; border:none; background:none; font:inherit; font-size:16px; padding:10px 4px; outline:none; }
.ol-search .ol-btn{ padding:11px 22px; }

/* ---------- magazine featured ---------- */
.ol-featured{ display:grid; grid-template-columns:1.1fr .9fr; gap:34px; align-items:center; background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; margin:20px 0 30px; box-shadow:var(--shadow-sm); }
.ol-featured__media{ display:block; aspect-ratio:16/11; background:var(--panel); }
.ol-featured__media img{ width:100%; height:100%; object-fit:cover; }
.ol-featured__body{ padding:12px 34px 12px 0; }
.ol-featured__title{ font-size:clamp(24px,3vw,34px); font-weight:800; color:var(--brand-ink); line-height:1.2; margin:12px 0; letter-spacing:-.5px; }
.ol-featured__title a:hover{ color:var(--brand); }
.ol-featured__excerpt{ color:var(--muted); font-size:16px; line-height:1.7; margin:0 0 16px; }
.ol-featured__meta{ color:var(--muted); font-size:14px; margin-bottom:16px; }

/* ---------- about page ---------- */
.ol-label--center{ justify-content:center; }
.ol-valuegrid{ display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.ol-value{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:26px; transition:transform .18s, box-shadow .18s; }
.ol-value:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.ol-value__icon{ width:52px; height:52px; border-radius:14px; background:var(--brand-soft); color:var(--brand); display:grid; place-items:center; margin-bottom:14px; }
.ol-value__icon svg{ width:28px; height:28px; }
.ol-value__title{ font-size:19px; font-weight:800; color:var(--brand-ink); margin:0 0 8px; }
.ol-value__text{ color:var(--muted); font-size:15.5px; line-height:1.7; margin:0; }
.ol-vision{ text-align:center; max-width:820px; margin:0 auto; }
.ol-vision__text{ font-size:clamp(20px,2.6vw,26px); line-height:1.6; font-weight:600; color:var(--brand-ink); margin:14px 0 0; }
.ol-aboutcta{ background:var(--brand-ink); color:#fff; }
.ol-aboutcta__inner{ text-align:center; padding:56px 24px; }
.ol-aboutcta h2{ font-size:clamp(26px,3.4vw,38px); font-weight:800; margin:0 0 10px; }
.ol-aboutcta p{ opacity:.8; font-size:17px; margin:0 0 26px; }
.ol-aboutcta__btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.ol-btn--gold{ background:var(--gold); color:#3a2a05; }
.ol-btn--gold:hover{ background:#eac36a; transform:translateY(-2px); color:#3a2a05; }
.ol-btn--ghost-light{ background:transparent; border:1.5px solid rgba(255,255,255,.35); color:#fff; }
.ol-btn--ghost-light:hover{ border-color:#fff; background:rgba(255,255,255,.08); color:#fff; }

/* ---------- comments ---------- */
.ol-comments{ max-width:760px; margin-top:20px; }
.ol-comments .comment-form input, .ol-comments .comment-form textarea{ border:1px solid var(--line); border-radius:12px; padding:12px 14px; width:100%; font:inherit; }
.ol-comments .comment-list{ list-style:none; padding:0; }
.ol-comments .comment-body{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); padding:16px; margin-bottom:14px; }

/* ---------- cart & checkout: full width, roomy 2-column ---------- */
.woocommerce-cart .ol-page__body, .woocommerce-checkout .ol-page__body, .woocommerce-account .ol-page__body{ max-width:none; }
.woocommerce-cart .woocommerce{ display:grid; grid-template-columns:1.6fr 1fr; gap:30px; align-items:start; }
.woocommerce-cart .woocommerce > .woocommerce-notices-wrapper{ grid-column:1 / -1; }
.woocommerce-cart form.woocommerce-cart-form{ margin:0; min-width:0; }
.woocommerce-cart .cart-collaterals{ width:auto !important; float:none !important; margin:0; min-width:0; padding:0 !important; }
.woocommerce-cart .cart-collaterals .cart_totals{ width:100% !important; float:none !important; }
.woocommerce-cart table.cart img{ width:96px !important; height:96px; object-fit:cover; border-radius:12px; }
.woocommerce-cart table.cart td.product-thumbnail{ width:116px; }
.woocommerce-cart table.cart td, .woocommerce-cart table.cart th{ padding:16px 14px; vertical-align:middle; }
.woocommerce-cart table.cart td.product-name a{ font-weight:700; color:var(--brand-ink); font-size:16px; line-height:1.4; }
.woocommerce-cart table.cart td.product-name a:hover{ color:var(--brand); }
.woocommerce-cart table.cart .product-price, .woocommerce-cart table.cart .product-subtotal{ font-weight:700; color:var(--brand-ink); }
.woocommerce-cart table.cart .quantity input.qty{ width:66px; height:44px; border:1px solid var(--line); border-radius:10px; text-align:center; }
.woocommerce-cart .cart_totals{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px; position:sticky; top:100px; }
.woocommerce-cart .cart_totals h2{ margin:0 0 14px; font-size:22px; color:var(--brand-ink); font-weight:800; }
.woocommerce-cart .cart_totals table, .woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td{ border:none !important; }
.woocommerce-cart .cart_totals table th, .woocommerce-cart .cart_totals table td{ border-bottom:1px solid var(--line) !important; padding:13px 0 !important; }
.woocommerce-cart .wc-proceed-to-checkout{ padding-top:18px !important; }
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{ display:block; text-align:center; font-size:17px !important; padding:16px !important; }
.woocommerce-cart .cart .actions{ padding-top:16px; }
.woocommerce-cart .cart .actions .coupon input.input-text{ height:46px; border-radius:999px; padding:0 18px; min-width:180px; }
.woocommerce-checkout .col2-set, .woocommerce-checkout #customer_details{ gap:26px; }

/* ---------- responsive ---------- */
@media (max-width:1024px){
  .ol-cats{ grid-template-columns:repeat(2,1fr); }
  .woocommerce ul.products, .ol-products, ul.products{ grid-template-columns:repeat(3,1fr) !important; }
  .ol-postgrid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:820px){
  .ol-nav{ display:none; }
  .ol-menu-toggle{ display:grid; }
  .ol-header.ol-nav-open .ol-nav{ display:block; position:absolute; top:74px; inset-inline:0; background:var(--card); border-bottom:1px solid var(--line); box-shadow:var(--shadow); }
  .ol-header.ol-nav-open .ol-nav__list{ flex-direction:column; gap:0; padding:8px 24px; }
  .ol-header.ol-nav-open .ol-nav__list li{ border-bottom:1px solid var(--line); }
  .ol-header.ol-nav-open .ol-nav__list a{ display:block; padding:12px 0; }
  .woocommerce ul.products, .ol-products, ul.products{ grid-template-columns:repeat(2,1fr) !important; }
  .ol-about__grid{ grid-template-columns:1fr; gap:32px; }
  .ol-about__photo{ max-width:440px; margin:0 auto; }
  .ol-features__row{ grid-template-columns:repeat(2,1fr); }
  .ol-hero__scene{ height:250px; } .ol-cloud{ display:none; }
  .ol-sectionhead{ flex-direction:column; align-items:flex-start; }
  .woocommerce-cart .woocommerce{ grid-template-columns:1fr; gap:22px; }
  .woocommerce-cart .cart_totals{ position:static; }
  .woocommerce-cart table.cart img{ width:60px !important; height:60px; }
  .single-product div.product{ grid-template-columns:1fr; gap:26px; }
  .single-product div.product .woocommerce-product-gallery{ position:static; top:auto; }
  .ol-featured{ grid-template-columns:1fr; }
  .ol-featured__body{ padding:4px 24px 24px; }
  .ol-valuegrid{ grid-template-columns:1fr; }
  .ol-footer__grid{ grid-template-columns:1fr 1fr; gap:28px 24px; padding:40px 24px 32px; }
}
@media (max-width:640px){
  .ol-container{ padding-inline:18px; }
  .ol-section{ padding-block:42px; }
  h1, h2, h3, .ol-h2, .ol-hero__title, .ol-single__title, .ol-postcard__title, .ol-product__title{ overflow-wrap:anywhere; word-break:break-word; }
  .ol-hero__inner{ padding-top:44px; }
  .ol-hero__title{ letter-spacing:-.5px; }
  .ol-trust{ gap:10px 16px; font-size:13px; }
  .ol-sectionhead{ gap:12px; }
  /* topbar: one tidy centered line, drop the phone (it's in footer + WhatsApp) */
  .ol-topbar__row{ justify-content:center; text-align:center; }
  .ol-topbar__row a{ display:none; }
  .ol-topbar__row span:first-child{ font-size:12.5px; }
  /* product single toolbar / summary breathing room */
  .single-product .ol-woohead{ padding:30px 0 22px; }
  .single-product .product_title{ font-size:26px; }
}
@media (max-width:520px){
  .ol-cats, .ol-postgrid{ grid-template-columns:1fr 1fr; }
  .woocommerce ul.products, .ol-products, ul.products{ grid-template-columns:1fr 1fr !important; }
  .ol-quote__row{ flex-direction:column; }
  .ol-footer__grid{ grid-template-columns:1fr; gap:26px; text-align:center; }
  .ol-footer__brand p, .ol-vision__text{ max-width:none; }
  .ol-footer__logo{ margin-inline:auto; }
  .ol-footer__links, .ol-footer__contact{ align-items:center; }
  .ol-footer__contact li{ justify-content:center; }
  .ol-wa{ width:52px; height:52px; inset-inline-start:14px; bottom:14px; }
  .ol-wa svg{ width:28px; height:28px; }
}
@media (max-width:400px){
  .ol-cats, .ol-postgrid, .woocommerce ul.products, .ol-products, ul.products{ grid-template-columns:1fr !important; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion:reduce){
  *, *::before, .ol-sun, .ol-trail-path{ animation:none !important; transition:none !important; }
  .ol-draw{ stroke-dashoffset:0 !important; }
  .ol-marquee{ overflow-x:auto; }
  .ol-rewave.ol-waving .ol-child-arm{ transform:rotate(10deg); }
}

/* ============================================================
   Header search overlay (modern instant search)
   ============================================================ */
.ol-search-toggle{ border:1px solid var(--line); }
body.ol-search-open{ overflow:hidden; }
.ol-search-modal[hidden]{ display:none; }
.ol-search-modal{ position:fixed; inset:0; z-index:200; display:flex; flex-direction:column; align-items:center; }
.ol-search-modal__backdrop{ position:absolute; inset:0; background:color-mix(in srgb,var(--brand-ink) 55%, transparent); backdrop-filter:blur(4px); opacity:0; transition:opacity .25s ease; }
.ol-search-modal.is-open .ol-search-modal__backdrop{ opacity:1; }
.ol-search-modal__panel{ position:relative; width:100%; max-width:720px; margin-inline:16px; margin-top:min(13vh,116px);
  background:var(--card,#fff); border-radius:20px; box-shadow:0 30px 70px -18px rgba(22,33,90,.45), 0 8px 24px -12px rgba(22,33,90,.3);
  overflow:hidden; opacity:0; transform:translateY(-14px) scale(.985); transition:opacity .22s ease, transform .3s cubic-bezier(.2,.85,.25,1); }
.ol-search-modal.is-open .ol-search-modal__panel{ opacity:1; transform:none; }

.ol-search-box{ display:flex; align-items:center; gap:12px; padding:14px 18px; border-bottom:1px solid var(--line); }
.ol-search-box__icon{ color:var(--brand); display:inline-flex; flex:none; }
.ol-search-box__icon svg{ width:22px; height:22px; }
.ol-search-box__input{ flex:1; min-width:0; border:0; outline:0; background:transparent; font:inherit; font-size:19px; font-weight:600; color:var(--ink); padding:8px 0; }
.ol-search-box__input::placeholder{ color:var(--muted); font-weight:500; }
.ol-search-box__close{ flex:none; width:36px; height:36px; border:0; border-radius:50%; background:var(--brand-soft); color:var(--brand-ink); display:grid; place-items:center; cursor:pointer; transition:background .15s, color .15s; }
.ol-search-box__close:hover{ background:color-mix(in srgb,var(--brand) 15%, var(--brand-soft)); color:var(--brand); }
.ol-search-box__close svg{ width:18px; height:18px; }

.ol-search-results{ max-height:min(62vh,540px); overflow-y:auto; -webkit-overflow-scrolling:touch; }
.ol-search-hint, .ol-search-loading, .ol-search-empty{ padding:30px 22px; text-align:center; color:var(--muted); font-size:15px; }
.ol-search-loading{ display:flex; align-items:center; justify-content:center; gap:10px; }

.ol-search-list{ list-style:none; margin:0; padding:8px; }
.ol-search-item{ display:flex; align-items:center; gap:14px; padding:10px 12px; border-radius:14px; text-decoration:none; color:inherit; transition:background .14s; }
.ol-search-item:hover, .ol-search-item:focus-visible{ background:var(--brand-soft); }
.ol-search-item__img{ width:58px; height:58px; flex:none; border-radius:12px; object-fit:cover; background:var(--brand-soft); border:1px solid var(--line); }
.ol-search-item__img.is-empty{ display:inline-block; }
.ol-search-item__body{ display:flex; flex-direction:column; gap:3px; min-width:0; }
.ol-search-item__title{ font-weight:700; color:var(--brand-ink); font-size:15.5px; line-height:1.35; overflow:hidden; text-overflow:ellipsis; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; }
.ol-search-item__price{ font-size:14px; color:var(--brand); font-weight:800; }
.ol-search-item__price del{ color:var(--muted); font-weight:500; margin-inline-start:6px; }
.ol-search-item__price ins{ text-decoration:none; }
.ol-search-quote{ color:var(--gold-deep); font-weight:700; }

.ol-search-all{ display:block; text-align:center; padding:15px; font-weight:800; color:var(--brand); text-decoration:none; border-top:1px solid var(--line); background:color-mix(in srgb,var(--brand-soft) 45%, var(--card)); transition:background .15s; }
.ol-search-all:hover{ background:var(--brand-soft); }

@media (max-width:600px){
  .ol-search-modal__panel{ margin:0; max-width:none; width:100%; height:100dvh; border-radius:0; display:flex; flex-direction:column; }
  .ol-search-box{ padding:14px 16px; padding-top:max(14px,env(safe-area-inset-top)); }
  .ol-search-box__input{ font-size:17px; }
  .ol-search-results{ max-height:none; flex:1; }
}
@media (prefers-reduced-motion: reduce){
  .ol-search-modal__panel, .ol-search-modal__backdrop{ transition:none; }
}

/* Hide native search clear (X) — we use our own close button */
.ol-search-box__input::-webkit-search-cancel-button,
.ol-search-box__input::-webkit-search-decoration{ -webkit-appearance:none; appearance:none; }

/* Search results page (product-only) */
.ol-result-count{ color:var(--muted); margin:0 0 18px; font-size:15px; }
.ol-noresults{ text-align:center; padding:40px 20px 60px; color:var(--muted); }
.ol-noresults p{ margin:0 0 18px; font-size:17px; }

/* ============================================================
   Add-to-cart popup + toast (single product AJAX)
   ============================================================ */
body.ol-cart-modal-open{ overflow:hidden; }
.ol-cart-modal[hidden]{ display:none; }
.ol-cart-modal{ position:fixed; inset:0; z-index:1100; display:flex; align-items:center; justify-content:center; padding:20px; }
.ol-cart-modal__backdrop{ position:absolute; inset:0; background:color-mix(in srgb,var(--brand-ink) 58%, transparent); backdrop-filter:blur(4px); opacity:0; transition:opacity .24s ease; }
.ol-cart-modal.is-open .ol-cart-modal__backdrop{ opacity:1; }
.ol-cart-modal__panel{ position:relative; width:100%; max-width:420px; background:var(--card,#fff); border-radius:22px; padding:34px 28px 26px; text-align:center;
  box-shadow:0 30px 70px -18px rgba(22,33,90,.5); opacity:0; transform:translateY(10px) scale(.96); transition:opacity .22s ease, transform .3s cubic-bezier(.2,.85,.25,1); }
.ol-cart-modal.is-open .ol-cart-modal__panel{ opacity:1; transform:none; }
.ol-cart-modal__x{ position:absolute; top:14px; inset-inline-start:14px; width:34px; height:34px; border:0; border-radius:50%; background:var(--brand-soft); color:var(--brand-ink); display:grid; place-items:center; cursor:pointer; transition:background .15s; }
.ol-cart-modal__x:hover{ background:color-mix(in srgb,var(--brand) 15%, var(--brand-soft)); }
.ol-cart-modal__x svg{ width:17px; height:17px; }
.ol-cart-modal__badge{ display:grid; place-items:center; width:66px; height:66px; margin:0 auto 16px; border-radius:50%; background:color-mix(in srgb,#2e9e5b 14%, var(--card)); color:#2e9e5b; animation:ol-pop .35s cubic-bezier(.2,.9,.3,1.4); }
.ol-cart-modal__badge svg{ width:34px; height:34px; stroke-width:2.6; }
@keyframes ol-pop{ 0%{ transform:scale(.4); opacity:0; } 100%{ transform:scale(1); opacity:1; } }
.ol-cart-modal__title{ font-size:22px; font-weight:800; color:var(--brand-ink); margin:0 0 6px; }
.ol-cart-modal__text{ color:var(--muted); font-size:15.5px; margin:0 0 22px; line-height:1.5; }
.ol-cart-modal__actions{ display:flex; flex-direction:column; gap:10px; }
.ol-cart-modal__actions .ol-btn{ width:100%; justify-content:center; text-align:center; }

.ol-cart__count.is-bumped{ animation:ol-bump .4s ease; }
@keyframes ol-bump{ 0%,100%{ transform:scale(1); } 35%{ transform:scale(1.5); } }

.ol-toast{ position:fixed; inset-inline:0; bottom:26px; margin:0 auto; width:max-content; max-width:88vw; z-index:1200;
  background:var(--brand-ink); color:#fff; font-weight:600; font-size:15px; padding:13px 22px; border-radius:999px;
  box-shadow:0 14px 30px -10px rgba(22,33,90,.6); opacity:0; transform:translateY(14px); transition:opacity .28s ease, transform .28s ease; }
.ol-toast.is-on{ opacity:1; transform:none; }

@media (prefers-reduced-motion: reduce){
  .ol-cart-modal__panel, .ol-cart-modal__backdrop, .ol-cart-modal__badge, .ol-toast{ transition:none; animation:none; }
}
