/* ============================================================
   CONCEPT D — PRODUCT & CATEGORY TEMPLATES
   Theme Builder templates:
     2176        single product        (all 170 products)
     2170        product archive       (default for all categories)
     2276, 2201  product archive       (צבעים / פרגולות variants)
     2180        loop item             (product card in carousels)

   Layout and appearance only. Every widget keeps rendering its own
   content: titles, descriptions, breadcrumbs, galleries, accordions,
   carousels, maps and the reviews shortcode are untouched, so no
   text, link, image or SEO element changes.

   Sections are matched by the widget they contain, not by element
   id, so the archive variants pick up the same design automatically.
   ============================================================ */

:root{
  --t-ink:#0D0C0A; --t-ink2:#191714; --t-bone:#F7F4EE; --t-bone2:#EBE6DC;
  --t-green:#A1CB3D; --t-green-lift:#B4E046; --t-on-green:#121607;
  --t-soft:#BDB6AC; --t-mute:#8A8278; --t-line:rgba(255,255,255,.12);
  --t-line-l:rgba(13,12,10,.12);
  --t-ease:cubic-bezier(.2,.8,.3,1);
}

/* Shorthands for the two template roots. */
/* P = single product, A = product archive */

/* ------------------------------------------------------------
   0. Shared section rhythm
   ------------------------------------------------------------ */
[data-elementor-type="product"] > .e-parent,
[data-elementor-type="product-archive"] > .e-parent{
  padding-inline:clamp(18px,4vw,56px)!important;
}

/* ============================================================
   1. CATEGORY ARCHIVE
   ============================================================ */

/* ---- 1a. Hero band: breadcrumb + category title over its photo ---- */
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-theme-archive-title){
  position:relative!important;
  min-height:clamp(300px,42vh,460px)!important;
  display:flex!important;
  align-items:flex-end!important;
  padding-block:clamp(48px,6vw,84px) clamp(36px,4.5vw,64px)!important;
  background-color:var(--t-ink)!important;
  background-size:cover!important;
  background-position:center!important;
  overflow:hidden;
}
/* Directional scrim. ::before is Elementor's own overlay, so ::after. */
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-theme-archive-title)::after{
  content:'';
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(to left, rgba(13,12,10,.88) 0%, rgba(13,12,10,.55) 45%, rgba(13,12,10,.25) 100%),
    linear-gradient(to top, rgba(13,12,10,.85) 0%, transparent 60%);
}
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-theme-archive-title) > *{
  position:relative; z-index:2;
}
[data-elementor-type="product-archive"] .elementor-widget-theme-archive-title .elementor-heading-title{
  color:#fff!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(40px,6.4vw,92px)!important;
  line-height:1!important;
  letter-spacing:-.045em!important;
}

/* Breadcrumb, on any template */
[data-elementor-type="product-archive"] .woocommerce-breadcrumb,
[data-elementor-type="product"] .woocommerce-breadcrumb{
  font-family:'Rubik',sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  letter-spacing:.02em!important;
  color:var(--t-soft)!important;
  margin-bottom:14px!important;
}
[data-elementor-type="product-archive"] .woocommerce-breadcrumb a,
[data-elementor-type="product"] .woocommerce-breadcrumb a{ color:var(--t-green)!important; }

/* ---- 1b. Product grid ---- */
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-woocommerce-products){
  background-color:var(--t-bone)!important;
  background-image:none!important;
  padding-block:clamp(48px,6vw,96px)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(12px,1.4vw,20px)!important;
  margin:0!important;
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products::before,
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products::after{
  display:none!important;
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product{
  width:auto!important;
  float:none!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  display:flex!important;
  flex-direction:column;
  overflow:hidden;
  transition:transform .3s var(--t-ease), box-shadow .3s var(--t-ease)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px -28px rgba(13,12,10,.55)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product a.woocommerce-LoopProduct-link{
  display:flex!important; flex-direction:column; height:100%;
}
/* Uniform square imagery replaces the mixed heights. */
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product img{
  width:100%!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  object-fit:cover!important;
  margin:0!important;
  border-radius:0!important;
  background:var(--t-bone2);
  transition:transform .7s cubic-bezier(.16,.84,.26,1)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product:hover img{
  transform:scale(1.05);
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title{
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(16px,1.25vw,19px)!important;
  letter-spacing:-.025em!important;
  line-height:1.25!important;
  color:var(--t-ink)!important;
  text-align:right!important;
  padding:18px 20px 22px!important;
  margin:0!important;
  position:relative;
  background:#fff;
  z-index:1;
}
/* Brand rule that grows on hover, replacing nothing (decorative). */
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title::after{
  content:'';
  display:block;
  width:0; height:3px;
  margin-top:12px;
  background:var(--t-green);
  transition:width .4s var(--t-ease);
}
[data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product:hover .woocommerce-loop-product__title::after{
  width:42px;
}

/* ============================================================
   2. SINGLE PRODUCT
   ============================================================ */

/* ---- 2a. Top band: info + gallery on ink ---- */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title){
  background-color:var(--t-ink)!important;
  background-image:none!important;
  padding-block:clamp(40px,5vw,88px)!important;
  gap:clamp(28px,4vw,64px)!important;
  align-items:center!important;
}
[data-elementor-type="product"] .elementor-widget-woocommerce-product-title .product_title{
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(34px,4.6vw,66px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
  color:#fff!important;
  margin:4px 0 18px!important;
}
[data-elementor-type="product"] .elementor-widget-woocommerce-product-short-description,
[data-elementor-type="product"] .elementor-widget-woocommerce-product-short-description p{
  font-family:'Rubik',sans-serif!important;
  font-weight:300!important;
  font-size:clamp(15.5px,1.15vw,17.5px)!important;
  line-height:1.75!important;
  letter-spacing:0!important;
  color:var(--t-soft)!important;
  max-width:62ch;
}
/* The two actions: call is primary green, WhatsApp is ghost. */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button .elementor-button{
  border-radius:0!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:700!important;
  font-size:16px!important;
  padding:17px 28px!important;
  box-shadow:none!important;
  background-color:var(--t-green)!important;
  color:var(--t-on-green)!important;
  border:1.5px solid var(--t-green)!important;
  transition:background-color .2s, color .2s, border-color .2s, transform .2s var(--t-ease)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button .elementor-button:hover{
  background-color:var(--t-green-lift)!important;
  border-color:var(--t-green-lift)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button a.elementor-button[href*="whatsapp"]{
  background-color:transparent!important;
  color:#fff!important;
  border-color:rgba(255,255,255,.35)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button a.elementor-button[href*="whatsapp"]:hover{
  border-color:var(--t-green)!important;
  color:var(--t-green)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button .elementor-button *{
  color:inherit!important; fill:currentColor!important;
}
/* "*כל התמונות באתר להמחשה בלבד." */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-text-editor,
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-text-editor p{
  color:var(--t-mute)!important;
  font-size:13px!important;
  margin-top:6px;
}

/* Gallery */
[data-elementor-type="product"] .woocommerce-product-gallery img{
  border-radius:0!important;
}
[data-elementor-type="product"] .woocommerce-product-gallery .flex-control-thumbs{
  display:grid!important;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  margin-top:10px!important;
}
[data-elementor-type="product"] .woocommerce-product-gallery .flex-control-thumbs li{
  width:auto!important; margin:0!important; float:none!important;
}
[data-elementor-type="product"] .woocommerce-product-gallery .flex-control-thumbs img{
  aspect-ratio:1/1; object-fit:cover; opacity:.55; transition:opacity .2s;
}
[data-elementor-type="product"] .woocommerce-product-gallery .flex-control-thumbs img.flex-active,
[data-elementor-type="product"] .woocommerce-product-gallery .flex-control-thumbs img:hover{
  opacity:1; outline:2px solid var(--t-green); outline-offset:-2px;
}
[data-elementor-type="product"] .woocommerce-product-gallery__trigger{
  border-radius:0!important;
  background:var(--t-green)!important;
}

/* ---- 2b. Details + related products on bone ---- */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-loop-carousel){
  background-color:var(--t-bone)!important;
  background-image:none!important;
  padding-block:clamp(48px,6vw,96px)!important;
  gap:clamp(28px,3.5vw,52px)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-loop-carousel) .elementor-widget-heading .elementor-heading-title{
  color:var(--t-ink)!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(26px,3.4vw,46px)!important;
  letter-spacing:-.035em!important;
  line-height:1.06!important;
  text-align:right!important;
}

/* ============================================================
   3. SHARED — accordion, loop cards, branches, reviews
   ============================================================ */

/* ---- 3a. Accordion (תיאור מוצר / למידע נוסף) ---- */
[data-elementor-type="product"] .e-n-accordion-item,
[data-elementor-type="product-archive"] .e-n-accordion-item{
  background:#fff!important;
  border:0!important;
  border-top:1px solid var(--t-line-l)!important;
  border-bottom:1px solid var(--t-line-l)!important;
  border-radius:0!important;
}
[data-elementor-type="product"] .e-n-accordion-item-title,
[data-elementor-type="product-archive"] .e-n-accordion-item-title{
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:22px clamp(18px,2vw,28px)!important;
}
[data-elementor-type="product"] .e-n-accordion-item-title-text,
[data-elementor-type="product-archive"] .e-n-accordion-item-title-text{
  font-family:'Rubik',sans-serif!important;
  font-weight:800!important;
  font-size:clamp(17px,1.4vw,21px)!important;
  letter-spacing:-.02em!important;
  color:var(--t-ink)!important;
}
[data-elementor-type="product"] .e-n-accordion-item-title-icon,
[data-elementor-type="product-archive"] .e-n-accordion-item-title-icon{
  color:var(--t-green)!important; fill:var(--t-green)!important;
}
[data-elementor-type="product"] .e-n-accordion-item-title-icon svg,
[data-elementor-type="product-archive"] .e-n-accordion-item-title-icon svg{
  fill:var(--t-ink)!important;
}
[data-elementor-type="product"] .e-n-accordion-item > [role="region"],
[data-elementor-type="product-archive"] .e-n-accordion-item > [role="region"]{
  background:#fff!important;
  border:0!important;
  padding:4px clamp(18px,2vw,28px) 28px!important;
  font-family:'Rubik',sans-serif;
  font-weight:300;
  line-height:1.8;
  color:#3A342D;
}
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-woocommerce-products) .e-n-accordion{
  margin-top:clamp(28px,3.5vw,52px);
}

/* ---- 3b. Loop card (template 2180) inside the related carousel ---- */
.elementor-2180,
[data-elementor-type="loop-item"].elementor-2180{
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  overflow:hidden;
  transition:transform .3s var(--t-ease), box-shadow .3s var(--t-ease);
}
.e-loop-item:hover .elementor-2180,
.elementor-2180:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px -28px rgba(13,12,10,.55);
}
.elementor-2180 .e-con{
  background-color:#fff!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  gap:0!important;
}
.elementor-2180 .elementor-widget-image img{
  width:100%!important;
  aspect-ratio:1/1!important;
  height:auto!important;
  object-fit:cover!important;
  border-radius:0!important;
  background:var(--t-bone2);
}
.elementor-2180 .elementor-widget-heading .elementor-heading-title{
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(15.5px,1.2vw,18px)!important;
  letter-spacing:-.025em!important;
  line-height:1.25!important;
  color:var(--t-ink)!important;
  text-align:right!important;
  padding:18px 20px 22px!important;
  background:#fff!important;
}
.elementor-2180 .elementor-widget-heading{ background:#fff!important; margin:0!important; }

/* Carousel arrows: square, ink */
[data-elementor-type="product"] .elementor-swiper-button{
  width:44px!important; height:44px!important;
  background:var(--t-ink)!important;
  color:#fff!important;
  border-radius:0!important;
  display:grid!important; place-items:center;
  transition:background .2s;
}
[data-elementor-type="product"] .elementor-swiper-button:hover{ background:var(--t-green)!important; color:var(--t-on-green)!important; }
[data-elementor-type="product"] .elementor-swiper-button svg{ fill:currentColor!important; width:16px; height:16px; }

/* ---- 3c. Branches (לרשותכם 3 סניפים...) ---- */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-google_maps),
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-google_maps){
  background-color:var(--t-ink2)!important;
  background-image:none!important;
  padding-block:clamp(56px,7vw,104px)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-google_maps) > .e-con-inner > .elementor-widget-heading .elementor-heading-title,
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-google_maps) > .elementor-widget-heading .elementor-heading-title,
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-google_maps) > .e-con-inner > .elementor-widget-heading .elementor-heading-title,
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-google_maps) > .elementor-widget-heading .elementor-heading-title{
  color:#fff!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(26px,3.6vw,48px)!important;
  letter-spacing:-.035em!important;
  line-height:1.08!important;
  text-align:right!important;
}
/* Each branch card */
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps),
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps),
[data-elementor-type="product"] .e-con:has(> .e-con-inner > .elementor-widget-google_maps),
[data-elementor-type="product-archive"] .e-con:has(> .e-con-inner > .elementor-widget-google_maps){
  background-color:transparent!important;
  background-image:none!important;
  border:1px solid var(--t-line)!important;
  border-radius:0!important;
  padding:clamp(14px,1.4vw,20px)!important;
  transition:border-color .25s, background-color .25s;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps):hover,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps):hover{
  border-color:var(--t-green)!important;
  background-color:var(--t-ink)!important;
}
[data-elementor-type="product"] .elementor-widget-google_maps iframe,
[data-elementor-type="product-archive"] .elementor-widget-google_maps iframe{
  border-radius:0!important;
  filter:grayscale(.35) contrast(1.05);
  transition:filter .3s;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps):hover iframe,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps):hover iframe{ filter:none; }
/* branch name */
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-heading-title,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-heading-title{
  color:#fff!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:800!important;
  font-size:clamp(18px,1.5vw,22px)!important;
  letter-spacing:-.02em!important;
}
/* branch buttons: navigate = green, phone = ghost */
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-button,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-button{
  border-radius:0!important;
  box-shadow:none!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:700!important;
  background-color:transparent!important;
  color:#fff!important;
  border:1.5px solid rgba(255,255,255,.3)!important;
  transition:background-color .2s, color .2s, border-color .2s!important;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-widget-button:first-child .elementor-button,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-widget-button:first-child .elementor-button{
  background-color:var(--t-green)!important;
  color:var(--t-on-green)!important;
  border-color:var(--t-green)!important;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-button:hover,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-button:hover{
  border-color:var(--t-green)!important;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-button *,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-button *{
  color:inherit!important; fill:currentColor!important;
}

/* ---- 3d. Reviews (לקוחות ממליצים) ---- */
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode),
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode){
  background-color:var(--t-ink)!important;
  background-image:none!important;
  padding-block:clamp(56px,7vw,104px)!important;
}
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode) > .elementor-background-overlay,
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode) > .elementor-background-overlay{
  display:none!important;
}
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode) .elementor-heading-title,
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode) .elementor-heading-title{
  color:#fff!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(26px,3.6vw,48px)!important;
  letter-spacing:-.035em!important;
}
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode) .ti-widget-container,
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode) .ti-widget-container{
  border-radius:0!important;
}
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode) .ti-review-item > .ti-inner,
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode) .ti-review-item > .ti-inner{
  border-radius:0!important;
}
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode) .ti-footer,
[data-elementor-type="product"] > .elementor-section:has(.elementor-widget-shortcode) .ti-footer *,
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode) .ti-footer,
[data-elementor-type="product-archive"] > .elementor-section:has(.elementor-widget-shortcode) .ti-footer *{
  color:var(--t-soft)!important;
}

/* ============================================================
   4. MOBILE
   ============================================================ */
@media (max-width:1024px){
  [data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:767px){
  [data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  [data-elementor-type="product-archive"] .elementor-widget-woocommerce-products ul.products li.product .woocommerce-loop-product__title{
    padding:14px 14px 16px!important;
  }
  [data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-theme-archive-title){
    min-height:240px!important;
  }
  [data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button .elementor-button{
    width:100%;
    justify-content:center;
  }
}

/* ============================================================
   5. CORRECTIONS
   ============================================================ */

/* 5a. Related-product card titles.
   The section-heading rule in 2b also matched the headings inside the
   loop cards (same section), blowing them up to 46px. This is more
   specific and comes later, so cards get card-sized titles. */
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180 .elementor-widget-heading .elementor-heading-title{
  font-size:clamp(15.5px,1.2vw,18px)!important;
  font-weight:900!important;
  line-height:1.25!important;
  letter-spacing:-.025em!important;
  text-align:right!important;
  color:var(--t-ink)!important;
  padding:18px 20px 22px!important;
  background:#fff!important;
}
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180 .elementor-heading-title a{
  font:inherit!important;
  color:inherit!important;
}
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180{
  background:#fff!important;
  height:auto!important;
}
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180 .elementor-widget-image a{ display:block; overflow:hidden; }
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180 .elementor-widget-image img{
  transition:transform .7s cubic-bezier(.16,.84,.26,1)!important;
}
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180:hover .elementor-widget-image img{
  transform:scale(1.05);
}
/* Room between the section heading and the carousel arrows. */
[data-elementor-type="product"] .elementor-widget-loop-carousel{ margin-top:18px; }

/* 5b. Branch buttons: keep the phone label on one line. */
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-button,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-button{
  white-space:nowrap!important;
  padding-inline:16px!important;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-button .elementor-button-text,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-button .elementor-button-text{
  white-space:nowrap!important;
}
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-widget-button,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-widget-button{
  flex:1 1 auto!important;
  max-width:none!important;
}

/* 5c. Card title bar: the heading is an inline <span> and its widget
   carries a grey fill, which made a white chip on a grey strip. Make
   the whole bar white and let the title span the card. */
.elementor-2180 .elementor-widget-heading,
.elementor-2180 .elementor-widget-heading > .elementor-widget-container{
  background:#fff!important;
  background-color:#fff!important;
  padding:0!important;
  margin:0!important;
  width:100%!important;
}
[data-elementor-type="product"] .swiper-slide.e-loop-item.elementor-2180 .elementor-widget-heading .elementor-heading-title{
  display:block!important;
  width:100%!important;
  box-sizing:border-box!important;
}

/* ============================================================
   6. REMAINING TEMPLATES
     2276  צבעים archive      — wc-categories subcategory grid
     2201  פרגולות archive    — headings + galleries + carousel
     1043  single page        — every content page except home
     1124  single post        — articles / projects
   ============================================================ */

/* ---- 6a. Hero band on content pages and posts (post title) ---- */
[data-elementor-type="single-page"] > .e-parent:has(.elementor-widget-theme-post-title),
[data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-title){
  position:relative!important;
  min-height:clamp(260px,36vh,400px)!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:clamp(44px,5.5vw,80px) clamp(18px,4vw,56px) clamp(34px,4vw,58px)!important;
  background-color:var(--t-ink)!important;
  background-size:cover!important;
  background-position:center!important;
  overflow:hidden;
}
[data-elementor-type="single-page"] > .e-parent:has(.elementor-widget-theme-post-title)::after,
[data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-title)::after{
  content:'';
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(to left, rgba(13,12,10,.9) 0%, rgba(13,12,10,.6) 50%, rgba(13,12,10,.3) 100%),
    linear-gradient(to top, rgba(13,12,10,.85) 0%, transparent 60%);
}
[data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-title) > .elementor-background-overlay{ display:none!important; }
[data-elementor-type="single-page"] > .e-parent:has(.elementor-widget-theme-post-title) > *,
[data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-title) > *{
  position:relative; z-index:2;
}
[data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-title) > .elementor-container{ width:100%; }
[data-elementor-type="single-page"] .elementor-widget-theme-post-title .elementor-heading-title,
[data-elementor-type="single-post"] .elementor-widget-theme-post-title .elementor-heading-title{
  color:#fff!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(32px,5vw,72px)!important;
  line-height:1.04!important;
  letter-spacing:-.04em!important;
  max-width:22ch;
}
[data-elementor-type="single-page"] .woocommerce-breadcrumb,
[data-elementor-type="single-post"] .woocommerce-breadcrumb{
  font-family:'Rubik',sans-serif!important;
  font-size:13px!important;
  font-weight:500!important;
  color:var(--t-soft)!important;
  margin-bottom:14px!important;
}
[data-elementor-type="single-page"] .woocommerce-breadcrumb a,
[data-elementor-type="single-post"] .woocommerce-breadcrumb a{ color:var(--t-green)!important; }

/* Content area under the hero */
[data-elementor-type="single-page"] > .e-parent:has(.elementor-widget-theme-post-content),
[data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-content){
  background-color:var(--t-bone)!important;
  background-image:none!important;
}

/* ---- 6b. צבעים: subcategory grid (wc-categories) ---- */
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-wc-categories){
  background-color:var(--t-bone)!important;
  background-image:none!important;
  padding-block:clamp(48px,6vw,96px)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:clamp(12px,1.4vw,20px)!important;
  margin:0!important;
}
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products::before,
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products::after{ display:none!important; }
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products li.product-category{
  width:auto!important; float:none!important; margin:0!important; padding:0!important;
  background:#fff!important; border:0!important; border-radius:0!important; box-shadow:none!important;
  overflow:hidden;
  transition:transform .3s var(--t-ease), box-shadow .3s var(--t-ease)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products li.product-category:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px -28px rgba(13,12,10,.55)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products li.product-category img{
  width:100%!important; aspect-ratio:1/1!important; height:auto!important;
  object-fit:cover!important; margin:0!important; border-radius:0!important;
  background:var(--t-bone2);
  transition:transform .7s cubic-bezier(.16,.84,.26,1)!important;
}
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products li.product-category:hover img{ transform:scale(1.05); }
[data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products li.product-category .woocommerce-loop-category__title{
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(16px,1.25vw,19px)!important;
  letter-spacing:-.025em!important;
  color:var(--t-ink)!important;
  text-align:right!important;
  padding:18px 20px 22px!important;
  margin:0!important;
  background:#fff;
}
[data-elementor-type="product-archive"] .elementor-widget-wc-categories .count{
  background:none!important; color:var(--t-mute)!important; font-weight:500!important;
}

/* ---- 6c. פרגולות: headings + galleries ---- */
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-gallery){
  background-color:var(--t-bone)!important;
  background-image:none!important;
  padding-block:clamp(48px,6vw,96px)!important;
}
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-gallery) > .elementor-widget-heading .elementor-heading-title,
[data-elementor-type="product-archive"] > .e-parent:has(.elementor-widget-gallery) > .e-con-inner > .elementor-widget-heading .elementor-heading-title{
  color:var(--t-ink)!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(24px,3vw,40px)!important;
  letter-spacing:-.035em!important;
  line-height:1.08!important;
  text-align:right!important;
}
[data-elementor-type="product-archive"] .elementor-widget-gallery img,
[data-elementor-type="product-archive"] .elementor-widget-gallery .e-gallery-image{
  border-radius:0!important;
}
[data-elementor-type="product-archive"] .elementor-widget-gallery .e-gallery-item{
  overflow:hidden;
}
[data-elementor-type="product-archive"] .elementor-widget-image-carousel img{ border-radius:0!important; }

/* ---- 6d. Mobile for the new grids ---- */
@media (max-width:1024px){
  [data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}
@media (max-width:767px){
  [data-elementor-type="product-archive"] .elementor-widget-wc-categories ul.products{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  [data-elementor-type="single-page"] > .e-parent:has(.elementor-widget-theme-post-title),
  [data-elementor-type="single-post"] > .elementor-section:has(.elementor-widget-theme-post-title){
    min-height:200px!important;
  }
}

/* ============================================================
   7. BLOG / CATEGORY / AUTHOR ARCHIVE  (template 1049)
   /blog/, /category/פרוייקטים/, author pages
   ============================================================ */
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-theme-archive-title){
  position:relative!important;
  min-height:clamp(260px,36vh,400px)!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:clamp(44px,5.5vw,80px) clamp(18px,4vw,56px) clamp(34px,4vw,58px)!important;
  background-color:var(--t-ink)!important;
  background-size:cover!important;
  background-position:center!important;
  overflow:hidden;
}
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-theme-archive-title) > .elementor-background-overlay{ display:none!important; }
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-theme-archive-title)::after{
  content:'';
  position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(to left, rgba(13,12,10,.9) 0%, rgba(13,12,10,.6) 50%, rgba(13,12,10,.3) 100%),
    linear-gradient(to top, rgba(13,12,10,.85) 0%, transparent 60%);
}
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-theme-archive-title) > *{ position:relative; z-index:2; }
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-theme-archive-title) > .elementor-container{ width:100%; }
[data-elementor-type="archive"] .elementor-widget-theme-archive-title .elementor-heading-title{
  color:#fff!important;
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(36px,5.6vw,80px)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}
[data-elementor-type="archive"] .woocommerce-breadcrumb{
  font-family:'Rubik',sans-serif!important; font-size:13px!important; font-weight:500!important;
  color:var(--t-soft)!important; margin-bottom:14px!important;
}
[data-elementor-type="archive"] .woocommerce-breadcrumb a{ color:var(--t-green)!important; }

/* Intro paragraph + post grid on bone */
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-archive-posts){
  background-color:var(--t-bone)!important;
  background-image:none!important;
  padding-block:clamp(48px,6vw,96px)!important;
}
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-archive-posts) .elementor-widget-text-editor,
[data-elementor-type="archive"] > .elementor-section:has(.elementor-widget-archive-posts) .elementor-widget-text-editor p{
  font-family:'Rubik',sans-serif!important;
  font-weight:300!important;
  font-size:clamp(16px,1.25vw,19px)!important;
  line-height:1.7!important;
  color:#3A342D!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post{
  background:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  overflow:hidden;
  transition:transform .3s var(--t-ease), box-shadow .3s var(--t-ease);
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post:hover{
  transform:translateY(-6px);
  box-shadow:0 24px 40px -28px rgba(13,12,10,.55)!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__thumbnail{ border-radius:0!important; }
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__thumbnail img{
  transition:transform .7s cubic-bezier(.16,.84,.26,1)!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post:hover .elementor-post__thumbnail img{ transform:scale(1.05); }
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__text{ padding:18px 20px 22px!important; }
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__title,
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__title a{
  font-family:'Rubik',sans-serif!important;
  font-weight:900!important;
  font-size:clamp(17px,1.35vw,21px)!important;
  letter-spacing:-.025em!important;
  line-height:1.25!important;
  color:var(--t-ink)!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__excerpt p{
  font-family:'Rubik',sans-serif!important; font-weight:300!important; color:#5B5349!important; line-height:1.65!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-post__read-more{
  font-family:'Rubik',sans-serif!important; font-weight:700!important; color:var(--t-wood,#985C28)!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-button{
  border-radius:0!important; background:var(--t-ink)!important; color:var(--t-bone)!important;
  font-family:'Rubik',sans-serif!important; font-weight:700!important;
}
[data-elementor-type="archive"] .elementor-widget-archive-posts .elementor-button:hover{ background:var(--t-green)!important; color:var(--t-on-green)!important; }

/* 7b. The blog index renders no archive title (only the breadcrumb),
   so the :has(title) selector above never matched it. Apply the hero
   treatment to the template's first section instead. When there is
   no title the band stays compact rather than showing an empty block;
   no heading is invented. */
[data-elementor-type="archive"] > .elementor-section:first-child{
  position:relative!important;
  display:flex!important;
  align-items:flex-end!important;
  padding:clamp(44px,5.5vw,80px) clamp(18px,4vw,56px) clamp(34px,4vw,58px)!important;
  background-color:var(--t-ink)!important;
  background-image:none!important;
  overflow:hidden;
}
[data-elementor-type="archive"] > .elementor-section:first-child > .elementor-background-overlay{ display:none!important; }
[data-elementor-type="archive"] > .elementor-section:first-child > .elementor-container{ width:100%; position:relative; z-index:2; }
[data-elementor-type="archive"] > .elementor-section:first-child:has(.elementor-widget-theme-archive-title .elementor-heading-title){
  min-height:clamp(260px,36vh,400px)!important;
}
[data-elementor-type="archive"] > .elementor-section:first-child:not(:has(.elementor-widget-theme-archive-title .elementor-heading-title)){
  min-height:0!important;
  padding-block:28px!important;
}
[data-elementor-type="archive"] > .elementor-section:first-child .woocommerce-breadcrumb{
  text-align:right!important;
  margin-bottom:0!important;
}

/* ============================================================
   8. PRODUCT TOP BAND ON WHITE
   Product photography is shot on white. On the ink band each photo
   showed as a white box; on white the edge disappears and the
   product itself reads larger. Text colours flip to match.
   (Overrides section 2a — same selectors, later in the file.)
   ============================================================ */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title){
  background-color:#fff!important;
  border-bottom:1px solid var(--t-line-l);
}
[data-elementor-type="product"] .elementor-widget-woocommerce-product-title .product_title{
  color:var(--t-ink)!important;
}
[data-elementor-type="product"] .elementor-widget-woocommerce-product-short-description,
[data-elementor-type="product"] .elementor-widget-woocommerce-product-short-description p{
  color:#5B5349!important;
}
[data-elementor-type="product"] .woocommerce-breadcrumb{ color:var(--t-mute)!important; }
[data-elementor-type="product"] .woocommerce-breadcrumb a{ color:#6E8F22!important; }

/* WhatsApp: ghost button, dark on white */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button a.elementor-button[href*="whatsapp"]{
  color:var(--t-ink)!important;
  border-color:rgba(13,12,10,.3)!important;
}
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-button a.elementor-button[href*="whatsapp"]:hover{
  border-color:var(--t-ink)!important;
  background-color:var(--t-ink)!important;
  color:#fff!important;
}
/* "*כל התמונות באתר להמחשה בלבד." */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-text-editor,
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title) .elementor-widget-text-editor p{
  color:var(--t-mute)!important;
}
/* Gallery: no frame, photo sits straight on the white band */
[data-elementor-type="product"] .woocommerce-product-gallery,
[data-elementor-type="product"] .woocommerce-product-gallery__image,
[data-elementor-type="product"] .woocommerce-product-gallery .flex-viewport{
  background:#fff!important;
  box-shadow:none!important;
  border:0!important;
}
[data-elementor-type="product"] .woocommerce-product-gallery .flex-control-thumbs img{
  opacity:.6;
  border:1px solid var(--t-line-l);
}
/* The section below would now be white-on-bone; keep a clear break. */
[data-elementor-type="product"] > .e-parent:has(.elementor-widget-loop-carousel){
  border-top:0;
}

/* 8b. Keep the gallery clear of the fixed side buttons (left edge,
   ~110px wide) on desktop. */
@media (min-width:1025px){
  [data-elementor-type="product"] > .e-parent:has(.elementor-widget-woocommerce-product-title){
    padding-left:clamp(140px,10vw,170px)!important;
  }
}

/* 9. Branch buttons now stack full width everywhere (rules in
   chrome.css). Neutralise the earlier side-by-side sizing. */
[data-elementor-type="product"] .e-con:has(> .elementor-widget-google_maps) .elementor-widget-button,
[data-elementor-type="product-archive"] .e-con:has(> .elementor-widget-google_maps) .elementor-widget-button{
  flex:0 0 auto!important;
  width:100%!important;
}
