/*
Theme Name: Hadar Deal Premium
Theme URI: https://hadardeal.co.il
Author: Aida Digital
Description: Premium Hebrew RTL WooCommerce storefront for Hadar Deal.
Version: 1.8.4
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: hadar-deal
*/
:root{--green:#6d8b2c;--green-dark:#294a25;--gold:#e4b34d;--ink:#181818;--muted:#6f6f68;--cream:#f7f5ef;--line:#e9e6df;--white:#fff;--max:1360px;--radius:18px;--shadow:0 14px 40px rgba(18,18,18,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,"Heebo","Rubik",sans-serif;direction:rtl;text-align:right;line-height:1.5}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto;display:block}.hd-shell{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.hd-topbar{background:#111;color:#fff;font-size:13px;padding:8px 0}.hd-topbar-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.hd-topbar-center{opacity:.78}
.hd-header{position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.98);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.hd-header-row{display:grid;grid-template-columns:230px 1fr 230px;gap:22px;align-items:center;min-height:92px}.hd-logo{display:flex;align-items:baseline;gap:6px;font-size:33px;font-weight:900;line-height:1;white-space:nowrap;color:var(--green-dark)}.hd-logo span{color:#9e7e33}.hd-logo small{font-size:10px;font-weight:600;color:#6f7466;position:absolute;margin-top:38px}.hd-nav{justify-self:center}.hd-menu{list-style:none;display:flex;gap:29px;align-items:center;margin:0;padding:0}.hd-menu li{margin:0}.hd-menu a{font-size:15px;font-weight:700;padding:33px 0 28px;display:block;border-bottom:3px solid transparent}.hd-menu a:hover{color:var(--green-dark);border-color:var(--green)}.hd-actions{display:flex;gap:8px;justify-content:flex-start}.hd-icon-btn,.hd-mobile-toggle{width:42px;height:42px;border:0;background:#fff;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:21px;cursor:pointer}.hd-icon-btn:hover,.hd-mobile-toggle:hover{background:var(--cream)}.hd-cart-btn{position:relative}.hd-cart-count{position:absolute;top:-2px;right:-2px;background:var(--green);color:#fff;font-size:10px;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center}.hd-mobile-toggle{display:none}
.hd-home-hero{background:#111}.hd-home-hero-media{height:min(61vw,720px);min-height:510px;position:relative;overflow:hidden}.hd-home-hero-media>img{width:100%;height:100%;object-fit:cover}.hd-home-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.08),rgba(0,0,0,.2) 35%,rgba(0,0,0,.74) 100%)}.hd-home-hero-content{position:absolute;inset:0;display:flex;align-items:center}.hd-home-hero-copy{width:min(560px,52%);color:#fff;margin-right:auto}.hd-eyebrow{font-size:13px;letter-spacing:2px;font-weight:900;text-transform:uppercase;color:#fff}.hd-home-hero h1{font-size:clamp(48px,5vw,78px);line-height:1.02;margin:14px 0 18px;letter-spacing:-2.4px}.hd-home-hero p{font-size:19px;line-height:1.7;color:rgba(255,255,255,.9);max-width:520px;margin:0 0 28px}.hd-cta-row{display:flex;gap:12px;flex-wrap:wrap}.hd-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.single_add_to_cart_button{display:inline-flex!important;align-items:center;justify-content:center;padding:14px 24px!important;border-radius:6px!important;font-weight:800!important;border:0!important;line-height:1.2!important;transition:.2s ease!important}.hd-btn-accent,.woocommerce a.button.alt,.woocommerce button.button.alt,.single_add_to_cart_button{background:var(--green)!important;color:#fff!important}.hd-btn-accent:hover,.woocommerce a.button.alt:hover,.single_add_to_cart_button:hover{background:var(--green-dark)!important}.hd-btn-glass{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.55)!important;backdrop-filter:blur(10px)}
.hd-quick-categories{padding:14px 0 4px;background:#fff}.hd-category-strip{display:grid;grid-template-columns:repeat(6,1fr);gap:9px}.hd-category-tile{border:1px solid var(--line);background:#fff;overflow:hidden}.hd-category-photo{height:185px;overflow:hidden}.hd-category-photo img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}.hd-category-tile:hover img{transform:scale(1.04)}.hd-category-label{display:flex;justify-content:space-between;align-items:center;padding:12px 14px;font-weight:800;font-size:15px}.hd-category-label b{font-size:22px;font-weight:400}
.hd-benefits{padding:22px 0 16px}.hd-benefits-grid{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:24px 0}.hd-benefits-grid>div{display:grid;grid-template-columns:45px 1fr;grid-template-rows:auto auto;align-items:center;padding:0 28px;border-left:1px solid var(--line)}.hd-benefits-grid>div:last-child{border-left:0}.hd-benefit-icon{grid-row:1/3;width:36px;height:36px;border:1px solid var(--ink);border-radius:50%;display:flex;align-items:center;justify-content:center;margin-left:10px}.hd-benefits strong{font-size:16px}.hd-benefits small{color:var(--muted);font-size:12px}
.hd-section{padding:58px 0}.hd-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.hd-section-head-centered{text-align:center;display:block}.hd-section-head h2,.hd-section-head-centered h2{font-size:34px;margin:7px 0 0;letter-spacing:-1px}.hd-eyebrow-dark{color:var(--green-dark)}.hd-text-link{font-weight:800;color:var(--green-dark)}
.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;margin:0!important}.hd-featured-products .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;border:1px solid var(--line);background:#fff;padding:0 0 16px!important;overflow:hidden;position:relative}.woocommerce ul.products li.product a img{width:100%!important;aspect-ratio:1/1!important;object-fit:contain!important;background:#f7f7f5;margin:0 0 14px!important;padding:10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:16px!important;line-height:1.4!important;padding:0 15px!important;margin:0 0 8px!important;min-height:45px}.woocommerce ul.products li.product .price{padding:0 15px!important;font-size:17px!important;font-weight:900!important;color:var(--ink)!important;display:block}.woocommerce ul.products li.product .button{margin:10px 15px 0!important;width:calc(100% - 30px);background:var(--green-dark)!important;color:#fff!important}.woocommerce span.onsale{background:var(--green)!important;right:12px!important;left:auto!important;top:12px!important;border-radius:3px!important;min-height:auto!important;min-width:auto!important;padding:7px 9px!important;line-height:1!important}
.hd-editorial{padding-top:24px}.hd-editorial-grid{display:grid;grid-template-columns:1.05fr .95fr;grid-template-rows:320px 320px;gap:18px}.hd-editorial-card{position:relative;overflow:hidden;border-radius:10px;color:#fff}.hd-editorial-card-large{grid-row:1/3}.hd-editorial-card>img{width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.hd-editorial-card:hover>img{transform:scale(1.025)}.hd-editorial-shade{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.72),rgba(0,0,0,.04) 68%)}.hd-editorial-copy{position:absolute;right:30px;bottom:28px;left:30px}.hd-editorial-copy span{font-size:14px;font-weight:700}.hd-editorial-copy h3{font-size:38px;line-height:1.04;margin:7px 0 14px}.hd-editorial-card:not(.hd-editorial-card-large) .hd-editorial-copy h3{font-size:28px}.hd-editorial-copy em{display:inline-block;background:var(--gold);color:#1e1b13;font-style:normal;font-weight:900;padding:10px 16px;border-radius:5px}
.hd-sale-banner{padding-top:20px}.hd-sale-banner-inner{min-height:320px;border-radius:12px;background:linear-gradient(120deg,#111,#28231b 55%,#3e321a);color:#fff;padding:48px 58px;display:flex;justify-content:space-between;align-items:center;gap:40px;position:relative;overflow:hidden}.hd-sale-banner-inner:after{content:"";position:absolute;left:-90px;top:-90px;width:420px;height:420px;border:1px solid rgba(255,255,255,.07);border-radius:50%}.hd-sale-banner h2{font-size:44px;line-height:1.05;margin:8px 0 14px}.hd-sale-banner p{color:#d7d1c8;max-width:560px;margin:0}.hd-sale-banner .hd-btn{position:relative;z-index:2;background:var(--gold)!important;color:#1f1b13!important}
.site-main,.woocommerce-page .site-main{width:min(var(--max),calc(100% - 48px));margin:42px auto 70px}.woocommerce .woocommerce-breadcrumb{font-size:13px;color:var(--muted)}.woocommerce div.product{background:#fff}.woocommerce div.product .product_title{font-size:40px;line-height:1.1}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--green-dark)!important;font-weight:900!important;font-size:26px!important}.woocommerce div.product div.images img{background:#f7f7f5}.woocommerce table.shop_table{border-color:var(--line)!important}
.hd-footer{background:#161916;color:#fff;margin-top:56px;padding:54px 0 24px}.hd-footer .hd-logo{color:#fff}.hd-footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:42px}.hd-footer h4{margin:0 0 14px}.hd-footer p,.hd-footer li{color:#bfc3ba;font-size:14px}.hd-footer ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}.hd-footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:34px;padding-top:20px;color:#8f958a;font-size:13px}

@media(max-width:1100px){.hd-header-row{grid-template-columns:180px 1fr 180px}.hd-menu{gap:17px}.hd-menu a{font-size:13px}.hd-category-strip{grid-template-columns:repeat(3,1fr)}.hd-category-photo{height:180px}.hd-benefits-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}.hd-benefits-grid>div:nth-child(2){border-left:0}.hd-featured-products .woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}.woocommerce ul.products{grid-template-columns:repeat(3,minmax(0,1fr))!important}}
@media(max-width:860px){.hd-topbar-center{display:none}.hd-header-row{grid-template-columns:1fr auto;min-height:74px}.hd-logo{justify-self:start;font-size:27px}.hd-logo small{display:none}.hd-actions{grid-column:2;grid-row:1;justify-self:end}.hd-mobile-toggle{display:inline-flex}.hd-nav{display:none;position:fixed;top:74px;right:0;left:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 18px 40px rgba(0,0,0,.12);padding:8px 22px 22px;max-height:calc(100dvh - 74px);overflow:auto}.admin-bar .hd-nav{top:106px}.hd-nav.is-open{display:block}.hd-menu{display:block}.hd-menu li{border-bottom:1px solid var(--line)}.hd-menu a{padding:15px 4px;border:0;font-size:16px}.hd-home-hero-media{height:560px}.hd-home-hero-copy{width:75%;margin-right:0}.hd-home-hero-overlay{background:linear-gradient(90deg,rgba(0,0,0,.3),rgba(0,0,0,.72))}.hd-category-strip{grid-template-columns:repeat(2,1fr)}.hd-editorial-grid{grid-template-columns:1fr;grid-template-rows:440px 300px 300px}.hd-editorial-card-large{grid-row:auto}.hd-benefits-grid{grid-template-columns:1fr 1fr}.hd-sale-banner-inner{padding:40px 32px;display:block}.hd-sale-banner .hd-btn{margin-top:24px}.hd-featured-products .woocommerce ul.products,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hd-footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.hd-shell,.site-main,.woocommerce-page .site-main{width:min(100% - 22px,var(--max))}.hd-topbar{font-size:11px}.hd-topbar-inner span:last-child{display:none}.hd-home-hero-media{height:520px;min-height:0}.hd-home-hero-copy{width:100%;align-self:flex-end;padding-bottom:38px}.hd-home-hero h1{font-size:46px}.hd-home-hero p{font-size:16px}.hd-category-strip{display:flex;overflow-x:auto;gap:10px;padding-bottom:6px;scroll-snap-type:x mandatory}.hd-category-tile{min-width:72vw;scroll-snap-align:start}.hd-category-photo{height:175px}.hd-benefits-grid{grid-template-columns:1fr 1fr}.hd-benefits-grid>div{padding:0 10px;grid-template-columns:36px 1fr}.hd-benefit-icon{width:30px;height:30px}.hd-editorial-grid{grid-template-rows:380px 260px 260px}.hd-editorial-copy{right:20px;bottom:20px}.hd-editorial-copy h3{font-size:30px}.hd-sale-banner-inner{min-height:300px;padding:34px 24px}.hd-sale-banner h2{font-size:34px}.woocommerce ul.products,.hd-featured-products .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:13px!important;padding:0 10px!important}.woocommerce ul.products li.product .price{padding:0 10px!important;font-size:15px!important}.woocommerce ul.products li.product .button{margin:8px 10px 0!important;width:calc(100% - 20px);font-size:12px!important;padding:10px 7px!important}.hd-footer-grid{grid-template-columns:1fr}.hd-icon-btn{width:38px;height:38px}}

/* Desktop proportion pass v1.3: preserve the approved mobile layout unchanged */
@media(min-width:861px){
  .hd-shell{width:min(var(--max),calc(100% - 72px))}
  .hd-header-row{grid-template-columns:200px minmax(0,1fr) 180px;gap:18px;min-height:82px}
  .hd-logo{font-size:30px}.hd-logo small{margin-top:34px}
  .hd-menu{gap:24px}.hd-menu a{padding:28px 0 24px;font-size:14px}
  .hd-home-hero-media{height:clamp(440px,34vw,540px);min-height:440px;max-height:540px}
  .hd-home-hero-copy{width:min(500px,43%)}
  .hd-home-hero h1{font-size:clamp(44px,4.1vw,64px);line-height:1.04;margin:12px 0 14px;letter-spacing:-1.8px}
  .hd-home-hero p{font-size:17px;line-height:1.65;max-width:470px;margin-bottom:22px}
  .hd-btn,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.single_add_to_cart_button{padding:12px 20px!important}
  .hd-quick-categories{padding-top:12px}
  .hd-category-strip{gap:12px}
  .hd-category-photo{height:150px}
  .hd-category-label{padding:10px 12px;font-size:14px}
  .hd-benefits{padding:12px 0 8px}.hd-benefits-grid{padding:18px 0}
  .hd-benefits-grid>div{padding:0 22px}
  .hd-section{padding:42px 0}
  .hd-section-head{margin-bottom:20px}.hd-section-head h2,.hd-section-head-centered h2{font-size:30px}
  .hd-featured-products .woocommerce ul.products{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
  .hd-latest-products .woocommerce ul.products{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:14px!important}
  .woocommerce ul.products li.product{padding-bottom:12px!important}
  .woocommerce ul.products li.product a img{padding:8px;margin-bottom:10px!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:14px!important;line-height:1.35!important;padding:0 11px!important;min-height:38px;margin-bottom:6px!important}
  .woocommerce ul.products li.product .price{padding:0 11px!important;font-size:15px!important}
  .woocommerce ul.products li.product .button{margin:8px 11px 0!important;width:calc(100% - 22px);font-size:12px!important;padding:10px 7px!important}
  .hd-editorial{padding-top:18px}
  .hd-editorial-grid{grid-template-columns:1.08fr .92fr;grid-template-rows:240px 240px;gap:14px}
  .hd-editorial-copy{right:24px;bottom:22px;left:24px}
  .hd-editorial-copy h3{font-size:32px;margin:5px 0 12px}.hd-editorial-card:not(.hd-editorial-card-large) .hd-editorial-copy h3{font-size:24px}
  .hd-sale-banner{padding-top:14px}.hd-sale-banner-inner{min-height:240px;padding:36px 46px}.hd-sale-banner h2{font-size:38px}
  .hd-footer{margin-top:42px;padding-top:46px}
}

@media(min-width:861px) and (max-width:1180px){
  .hd-shell{width:min(var(--max),calc(100% - 44px))}
  .hd-header-row{grid-template-columns:175px minmax(0,1fr) 150px}.hd-menu{gap:15px}.hd-menu a{font-size:12px}
  .hd-home-hero-media{height:460px;min-height:460px}.hd-home-hero-copy{width:48%}
  .hd-category-photo{height:135px}
  .hd-featured-products .woocommerce ul.products,.hd-latest-products .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* =========================================================
   Storefront polish v1.5: product detail + Shopify/KSP cards
   ========================================================= */

/* Buttons are intentionally flat: no glow, no floating shadow. */
.hd-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .single_add_to_cart_button,
.woocommerce ul.products li.product .button{
  box-shadow:none!important;
  filter:none!important;
  text-shadow:none!important;
  border-radius:10px!important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .single_add_to_cart_button:hover,
.woocommerce ul.products li.product .button:hover{
  box-shadow:none!important;
  filter:none!important;
  transform:none!important;
}

/* Product cards: full-bleed square imagery, white canvas, consistent commerce rhythm. */
.woocommerce ul.products{align-items:stretch!important}
.woocommerce ul.products li.product{
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  padding:0!important;
  border:1px solid #e7ebe4!important;
  border-radius:12px!important;
  background:#fff!important;
  overflow:hidden!important;
  box-shadow:0 1px 2px rgba(20,42,25,.03)!important;
}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{
  display:flex!important;
  flex:1 1 auto!important;
  flex-direction:column!important;
  min-width:0!important;
}
.woocommerce ul.products li.product a img{
  display:block!important;
  width:100%!important;
  height:auto!important;
  aspect-ratio:1/1!important;
  object-fit:contain!important;
  object-position:center!important;
  margin:0!important;
  padding:0!important;
  background:#fff!important;
  border-bottom:1px solid #eef0ed!important;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title{
  min-height:0!important;
  height:auto!important;
  overflow:visible!important;
  display:block!important;
  padding:14px 14px 0!important;
  margin:0 0 8px!important;
  font-size:15px!important;
  font-weight:800!important;
  line-height:1.42!important;
  color:#171b17!important;
}
.woocommerce ul.products li.product .star-rating{margin:2px 14px 7px!important;color:#1f8b48!important}
.woocommerce ul.products li.product .price{
  margin-top:auto!important;
  padding:4px 14px 0!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:900!important;
  color:#238246!important;
}
.woocommerce ul.products li.product .button{
  min-height:46px!important;
  width:calc(100% - 28px)!important;
  margin:14px!important;
  margin-top:14px!important;
  padding:12px 14px!important;
  background:#245424!important;
  color:#fff!important;
  font-size:14px!important;
  font-weight:900!important;
}
.woocommerce ul.products li.product .button:hover{background:#183f1c!important}

/* Single product information hierarchy. */
.woocommerce div.product .summary{position:relative}
.hd-single-categories{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  align-items:center;
  margin:5px 0 15px;
  font-size:13px;
}
.hd-single-categories>span{font-weight:800;color:#667069}
.hd-single-categories a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:5px 10px;
  border-radius:999px;
  background:#f1f6ef;
  border:1px solid #dce9d8;
  color:#236d3b;
  font-weight:800;
}
.woocommerce div.product .product_meta{display:none!important}

/* Variation choice should read as the primary next action, not a settings field. */
.woocommerce div.product form.cart.variations_form{margin-top:22px!important}
.woocommerce div.product form.cart .variations{
  width:100%!important;
  margin:0 0 16px!important;
  border:0!important;
}
.woocommerce div.product form.cart .variations tr{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  margin-bottom:14px!important;
}
.woocommerce div.product form.cart .variations th,
.woocommerce div.product form.cart .variations td{
  display:block!important;
  width:100%!important;
  padding:0!important;
  text-align:right!important;
  background:transparent!important;
}
.woocommerce div.product form.cart .variations .label label{
  display:block!important;
  margin:0 0 5px!important;
  font-size:17px!important;
  font-weight:900!important;
  color:#132619!important;
}
.woocommerce div.product form.cart .variations select{
  width:100%!important;
  min-height:56px!important;
  margin:0!important;
  padding:0 16px!important;
  border:2px solid #9fba91!important;
  border-radius:12px!important;
  background-color:#fff!important;
  color:#162019!important;
  font-size:16px!important;
  font-weight:700!important;
  outline:none!important;
  box-shadow:none!important;
}
.woocommerce div.product form.cart .variations select:focus{
  border-color:#267c42!important;
  box-shadow:0 0 0 3px rgba(38,124,66,.11)!important;
}
.woocommerce div.product form.cart .reset_variations{
  display:inline-block!important;
  margin-top:8px!important;
  color:#6b746d!important;
  font-size:12px!important;
}

/* Actual cart quantity: clear and physically grouped with Add to cart. */
.woocommerce div.product form.cart:not(.variations_form),
.woocommerce div.product .woocommerce-variation-add-to-cart{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:10px!important;
  align-items:end!important;
}
.hd-actual-qty-label{
  flex-basis:100%;
  display:block;
  margin:2px 0 -4px;
  font-size:14px;
  font-weight:900;
  color:#1b2b1e;
}
.woocommerce div.product form.cart .quantity{margin:0!important}
.woocommerce div.product form.cart .quantity .qty{
  width:76px!important;
  height:52px!important;
  border:2px solid #d1ddd0!important;
  border-radius:12px!important;
  background:#fff!important;
  color:#172119!important;
  font-size:17px!important;
  font-weight:900!important;
  text-align:center!important;
  box-shadow:none!important;
}
.woocommerce div.product .single_add_to_cart_button{
  min-height:52px!important;
  padding:13px 28px!important;
  background:#245424!important;
  color:#fff!important;
}

/* Tabs: retail UI, not the stock WooCommerce purple/grey tab strip. */
.woocommerce div.product .woocommerce-tabs{margin-top:48px!important}
.woocommerce div.product .woocommerce-tabs ul.tabs{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0 0 28px!important;
  padding:0!important;
  border-bottom:1px solid #e5e9e3!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs:before,
.woocommerce div.product .woocommerce-tabs ul.tabs:after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li{
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li:before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:after{display:none!important}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{
  display:block!important;
  padding:13px 16px!important;
  color:#6c716c!important;
  font-weight:800!important;
  border-bottom:3px solid transparent!important;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
  color:#183d22!important;
  border-color:#378a4d!important;
}
.woocommerce div.product .woocommerce-tabs .panel{margin:0 0 32px!important}
.woocommerce div.product .woocommerce-tabs .panel h2{font-size:27px!important;color:#17221a!important}
.woocommerce table.shop_attributes{
  border:1px solid #e6ebe5!important;
  border-radius:10px!important;
  overflow:hidden!important;
  margin-top:16px!important;
}
.woocommerce table.shop_attributes th,
.woocommerce table.shop_attributes td{
  border:0!important;
  border-bottom:1px solid #edf0ec!important;
  padding:13px 15px!important;
  background:#fff!important;
  font-style:normal!important;
}
.woocommerce table.shop_attributes th{width:150px!important;background:#f8faf7!important;font-weight:800!important}

/* Tags belong at the end of product information, separated and readable. */
.hd-single-tags{
  margin:4px 0 42px;
  padding:18px 0 0;
  border-top:1px solid #e8ece7;
}
.hd-single-tags>strong{display:block;margin-bottom:10px;font-size:14px;color:#707770}
.hd-single-tags>div{display:flex;flex-wrap:wrap;gap:7px}
.hd-single-tags a{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:#f5f6f4;
  border:1px solid #e1e5df;
  color:#526056;
  font-size:12px;
  font-weight:700;
}

/* Review experience: polished, but counts/ratings always come from actual WooCommerce reviews. */
.woocommerce #reviews #comments ol.commentlist{padding:0!important}
.woocommerce #reviews #comments ol.commentlist li .comment-text{
  margin:0 0 14px!important;
  border:1px solid #e5ebe4!important;
  border-radius:12px!important;
  padding:16px!important;
}
.woocommerce #review_form #respond textarea{
  border:1px solid #ccd8cb!important;
  border-radius:10px!important;
  min-height:130px!important;
  padding:12px!important;
}
.woocommerce #review_form #respond .form-submit input{
  background:#245424!important;
  color:#fff!important;
}

/* Mobile commerce finish: keep two columns, remove dead grey space, prevent title/button collisions. */
@media(max-width:560px){
  .woocommerce ul.products li.product{border-radius:9px!important}
  .woocommerce ul.products li.product a img{padding:0!important;background:#fff!important}
  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    padding:11px 10px 0!important;
    margin-bottom:7px!important;
    font-size:12.5px!important;
    line-height:1.38!important;
    min-height:0!important;
  }
  .woocommerce ul.products li.product .price{padding:3px 10px 0!important;font-size:14px!important}
  .woocommerce ul.products li.product .button{
    width:calc(100% - 20px)!important;
    min-height:42px!important;
    margin:11px 10px 10px!important;
    padding:10px 7px!important;
    font-size:12px!important;
  }
  .woocommerce div.product .product_title{font-size:29px!important}
  .hd-single-categories{margin-bottom:12px}
  .woocommerce div.product form.cart .variations .label label{font-size:16px!important}
  .woocommerce div.product form.cart .variations select{min-height:54px!important;font-size:15px!important}
  .woocommerce div.product .woocommerce-tabs{margin-top:34px!important}
  .woocommerce div.product .woocommerce-tabs ul.tabs{gap:0!important;justify-content:stretch!important}
  .woocommerce div.product .woocommerce-tabs ul.tabs li{flex:1 1 auto!important;text-align:center!important}
  .woocommerce div.product .woocommerce-tabs ul.tabs li a{padding:12px 8px!important;font-size:13px!important;white-space:nowrap!important}
  .woocommerce div.product .woocommerce-tabs .panel h2{font-size:23px!important}
  .hd-single-tags{margin-bottom:28px}
}

/* v1.6 quantity stepper */
.hd-actual-qty-label{font-size:0!important;margin:0!important;flex-basis:auto!important;align-self:center!important}
.hd-actual-qty-label::after{content:"כמות:";font-size:16px;font-weight:900;color:#172119}
.woocommerce div.product form.cart .quantity{
  display:inline-flex!important;align-items:center!important;direction:ltr!important;
  height:52px!important;border:2px solid #c8d8c8!important;border-radius:14px!important;
  background:#fff!important;overflow:hidden!important
}
.woocommerce div.product form.cart .quantity .qty{
  width:48px!important;height:48px!important;border:0!important;border-radius:0!important;
  padding:0!important;background:#fff!important;box-shadow:none!important;-moz-appearance:textfield!important
}
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button{-webkit-appearance:none!important;margin:0!important}
.woocommerce div.product form.cart .hd-qty-step{
  width:44px!important;height:48px!important;padding:0!important;margin:0!important;border:0!important;
  background:#f5f8f3!important;color:#245424!important;font-size:25px!important;font-weight:800!important;
  line-height:1!important;box-shadow:none!important;border-radius:0!important;cursor:pointer!important
}
.woocommerce div.product form.cart .hd-qty-step:active{background:#e7efe2!important}
@media(max-width:600px){
  .woocommerce div.product form.cart:not(.variations_form),.woocommerce div.product .woocommerce-variation-add-to-cart{align-items:center!important}
  .hd-actual-qty-label::after{font-size:15px}
  .woocommerce div.product form.cart .quantity{height:50px!important}
  .woocommerce div.product form.cart .quantity .qty{height:46px!important}
  .woocommerce div.product form.cart .hd-qty-step{height:46px!important;width:40px!important}
}


/* =========================================================
   v1.7 desktop commerce proportions + reliable homepage media
   Reference logic: dense successful retail layouts on ultrawide screens.
   Mobile <= 860px is intentionally left unchanged.
   ========================================================= */
@media (min-width:861px){
  :root{--max:1540px}

  /* Header stays compact on large desktop instead of scaling with the screen. */
  .hd-header-row{
    min-height:70px!important;
    grid-template-columns:185px minmax(0,1fr) 165px!important;
    gap:16px!important;
  }
  .hd-logo{font-size:27px!important}
  .hd-logo small{font-size:9px!important;margin-top:31px!important}
  .hd-menu{gap:20px!important}
  .hd-menu a{font-size:13px!important;padding:23px 0 20px!important}
  .hd-icon-btn{width:38px!important;height:38px!important;font-size:19px!important}

  /* Homepage hero: a retail banner, not a full-screen billboard. */
  .hd-home-hero{background:#f4f3ef!important;padding:0 24px!important}
  .hd-home-hero-media{
    width:min(1540px,100%)!important;
    height:clamp(330px,24vw,400px)!important;
    min-height:330px!important;
    max-height:400px!important;
    margin:0 auto!important;
    border-radius:0 0 12px 12px!important;
  }
  .hd-home-hero-content{width:min(1460px,calc(100% - 64px))!important}
  .hd-home-hero-copy{width:min(430px,39%)!important}
  .hd-home-hero h1{
    font-size:clamp(38px,3vw,52px)!important;
    line-height:1.05!important;
    margin:9px 0 11px!important;
    letter-spacing:-1.25px!important;
  }
  .hd-home-hero p{font-size:15px!important;line-height:1.55!important;max-width:430px!important;margin-bottom:18px!important}
  .hd-home-hero .hd-btn{min-height:42px!important;padding:10px 18px!important;font-size:13px!important}

  /* Category rail: more choices visible at once, KSP-like information density. */
  .hd-quick-categories{padding:10px 0 0!important}
  .hd-category-strip{grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:10px!important}
  .hd-category-photo{height:108px!important}
  .hd-category-label{padding:8px 10px!important;font-size:12.5px!important}
  .hd-category-label b{font-size:18px!important}

  .hd-benefits{padding:8px 0 4px!important}
  .hd-benefits-grid{padding:13px 0!important}
  .hd-benefits-grid>div{padding:0 18px!important;grid-template-columns:36px 1fr!important}
  .hd-benefit-icon{width:30px!important;height:30px!important}
  .hd-benefits strong{font-size:13.5px!important}
  .hd-benefits small{font-size:11px!important}

  .hd-section{padding:30px 0!important}
  .hd-section-head{margin-bottom:15px!important}
  .hd-section-head h2,.hd-section-head-centered h2{font-size:26px!important;margin-top:4px!important}
  .hd-eyebrow{font-size:11px!important}

  /* Product lists use the extra width for more products, never giant cards. */
  .hd-featured-products .woocommerce ul.products,
  .hd-latest-products .woocommerce ul.products{
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title{
    font-size:13px!important;
    line-height:1.35!important;
    padding:10px 11px 0!important;
    margin-bottom:5px!important;
  }
  .woocommerce ul.products li.product .price{font-size:14px!important;padding:3px 11px 0!important}
  .woocommerce ul.products li.product .button{
    min-height:38px!important;
    margin:10px 11px 11px!important;
    width:calc(100% - 22px)!important;
    padding:9px 8px!important;
    font-size:11.5px!important;
  }

  .hd-editorial{padding-top:12px!important}
  .hd-editorial-grid{grid-template-rows:205px 205px!important;gap:12px!important}
  .hd-editorial-copy{right:20px!important;bottom:18px!important;left:20px!important}
  .hd-editorial-copy h3{font-size:27px!important;margin:4px 0 10px!important}
  .hd-editorial-card:not(.hd-editorial-card-large) .hd-editorial-copy h3{font-size:21px!important}
  .hd-editorial-copy em{padding:8px 12px!important;font-size:12px!important}
  .hd-sale-banner{padding-top:8px!important}
  .hd-sale-banner-inner{min-height:190px!important;padding:28px 38px!important}
  .hd-sale-banner h2{font-size:31px!important;margin:5px 0 8px!important}
  .hd-sale-banner p{font-size:13px!important}

  /* Shop/category pages: wider catalogue with bounded cards. */
  body.post-type-archive-product .site-main,
  body.tax-product_cat .site-main,
  body.tax-product_tag .site-main{
    width:min(1540px,calc(100% - 72px))!important;
    margin-top:28px!important;
  }
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:14px!important;
  }

  /* Single product: bounded two-column retail composition. */
  body.single-product .site-main{
    width:min(1240px,calc(100% - 72px))!important;
    margin:28px auto 56px!important;
  }
  body.single-product .woocommerce div.product{
    display:block!important;
  }
  body.single-product .woocommerce div.product div.images{
    width:46%!important;
    max-width:535px!important;
    margin-bottom:26px!important;
  }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{
    max-width:535px!important;
    margin-inline:auto!important;
  }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    aspect-ratio:1/1!important;
    background:#fff!important;
  }
  body.single-product .woocommerce div.product div.images img{
    width:100%!important;
    height:100%!important;
    max-height:535px!important;
    object-fit:contain!important;
    background:#fff!important;
  }
  body.single-product .woocommerce div.product .summary{
    width:44%!important;
    max-width:500px!important;
    margin-bottom:28px!important;
    padding-top:4px!important;
  }
  body.single-product .woocommerce div.product .product_title{
    font-size:clamp(28px,2.1vw,36px)!important;
    line-height:1.15!important;
    margin:4px 0 12px!important;
  }
  body.single-product .woocommerce div.product p.price,
  body.single-product .woocommerce div.product span.price{font-size:23px!important}
  body.single-product .woocommerce-product-details__short-description{font-size:14px!important;line-height:1.65!important}
  body.single-product .woocommerce div.product form.cart.variations_form{margin-top:15px!important}
  body.single-product .woocommerce div.product form.cart .variations select{min-height:48px!important;font-size:14px!important}
  body.single-product .woocommerce div.product .single_add_to_cart_button{min-height:48px!important;padding:11px 22px!important}

  /* Thumbnails and lower content remain compact and readable. */
  body.single-product .flex-control-thumbs{display:grid!important;grid-template-columns:repeat(5,1fr)!important;gap:7px!important;margin-top:9px!important}
  body.single-product .flex-control-thumbs li{width:auto!important;float:none!important;margin:0!important}
  body.single-product .flex-control-thumbs img{max-height:86px!important;aspect-ratio:1/1!important;object-fit:contain!important;border:1px solid #e7ebe4!important}
  body.single-product .woocommerce div.product .woocommerce-tabs{
    clear:both!important;
    width:100%!important;
    margin-top:30px!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs .panel{
    max-width:1000px!important;
    margin-inline:auto!important;
    font-size:14px!important;
    line-height:1.7!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs .panel h2{font-size:23px!important}
  body.single-product .hadar-product-visuals{
    max-width:900px!important;
    margin-inline:auto!important;
  }
  body.single-product .hadar-product-visuals img{
    width:100%!important;
    height:auto!important;
    max-height:760px!important;
    object-fit:contain!important;
    margin:14px auto!important;
  }
  body.single-product .related.products,
  body.single-product .upsells.products{
    clear:both!important;
    padding-top:24px!important;
  }
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:12px!important;
  }
}

@media (min-width:861px) and (max-width:1180px){
  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body.single-product .site-main{width:min(1080px,calc(100% - 44px))!important}
  body.single-product .woocommerce div.product div.images{max-width:490px!important}
  body.single-product .woocommerce div.product .summary{max-width:460px!important}
  .hd-home-hero{padding-inline:16px!important}
  .hd-home-hero-media{height:350px!important;min-height:350px!important}
  .hd-category-photo{height:100px!important}
  .hd-featured-products .woocommerce ul.products,
  .hd-latest-products .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}

/* =========================================================
   v1.8 desktop single-product reset: flat, clean retail layout
   No cards, floating boxes or decorative shadows on product pages.
   Mobile remains unchanged.
   ========================================================= */
@media (min-width:861px){
  /* Keep the complete product page visually calm and flat. */
  body.single-product .site-main,
  body.single-product .site-main *,
  body.single-product .woocommerce div.product,
  body.single-product .woocommerce div.product *{
    box-shadow:none!important;
    text-shadow:none!important;
    filter:none!important;
  }

  body.single-product .site-main{
    width:min(1180px,calc(100% - 72px))!important;
    margin:24px auto 56px!important;
  }
  body.single-product .woocommerce .woocommerce-breadcrumb{
    margin:0 0 22px!important;
    padding:0!important;
    color:#7a807a!important;
    font-size:12px!important;
  }

  /* Main product area: two balanced columns with whitespace, not cards. */
  body.single-product .woocommerce div.product{
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product div.images{
    width:47%!important;
    max-width:500px!important;
    margin:0 0 30px!important;
    padding:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__wrapper{
    width:100%!important;
    max-width:500px!important;
    margin:0 auto!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image,
  body.single-product .woocommerce div.product div.images .woocommerce-product-gallery__image a{
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product div.images img{
    width:100%!important;
    height:auto!important;
    max-height:500px!important;
    object-fit:contain!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    padding:0!important;
  }

  body.single-product .woocommerce div.product .summary{
    width:45%!important;
    max-width:470px!important;
    margin:0 0 30px!important;
    padding:8px 0 0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product .product_title{
    margin:0 0 10px!important;
    font-size:clamp(27px,1.8vw,33px)!important;
    line-height:1.2!important;
    letter-spacing:-.45px!important;
    color:#172019!important;
  }
  body.single-product .woocommerce div.product p.price,
  body.single-product .woocommerce div.product span.price{
    margin:0 0 16px!important;
    font-size:24px!important;
    line-height:1.25!important;
    color:#218044!important;
  }
  body.single-product .woocommerce-product-details__short-description{
    margin:0 0 18px!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    color:#363b36!important;
    font-size:14px!important;
    line-height:1.7!important;
  }

  /* Categories and tags are metadata, not chips/cards. */
  body.single-product .hd-single-categories{
    gap:5px!important;
    margin:0 0 12px!important;
    padding:0!important;
    font-size:12px!important;
    color:#687068!important;
  }
  body.single-product .hd-single-categories>span{font-weight:700!important}
  body.single-product .hd-single-categories a{
    min-height:0!important;
    padding:0!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    color:#2d7544!important;
    font-weight:700!important;
  }

  /* Variations: one clean control, no oversized framed blocks. */
  body.single-product .woocommerce div.product form.cart.variations_form{
    margin-top:18px!important;
  }
  body.single-product .woocommerce div.product form.cart .variations{
    margin:0 0 14px!important;
  }
  body.single-product .woocommerce div.product form.cart .variations tr{
    gap:5px!important;
    margin-bottom:11px!important;
  }
  body.single-product .woocommerce div.product form.cart .variations .label label{
    margin:0 0 4px!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  body.single-product .woocommerce div.product form.cart .variations select{
    min-height:46px!important;
    padding:0 13px!important;
    border:1px solid #bfc9bf!important;
    border-radius:4px!important;
    background:#fff!important;
    font-size:14px!important;
    font-weight:600!important;
  }
  body.single-product .woocommerce div.product form.cart .variations select:focus{
    border-color:#397c4a!important;
    outline:2px solid rgba(57,124,74,.10)!important;
    outline-offset:1px!important;
  }
  body.single-product .woocommerce div.product form.cart .reset_variations{
    margin-top:6px!important;
    font-size:11px!important;
    text-decoration:underline!important;
  }

  /* Quantity stays obvious, but compact and functional rather than decorative. */
  body.single-product .hd-actual-qty-label{
    margin:0 0 4px!important;
    font-size:12px!important;
    font-weight:800!important;
  }
  body.single-product .woocommerce div.product form.cart:not(.variations_form),
  body.single-product .woocommerce div.product .woocommerce-variation-add-to-cart{
    gap:9px!important;
    align-items:center!important;
  }
  body.single-product .woocommerce div.product form.cart .quantity{
    height:46px!important;
    border:1px solid #c9d0c9!important;
    border-radius:4px!important;
    background:#fff!important;
  }
  body.single-product .woocommerce div.product form.cart .quantity .qty{
    width:44px!important;
    height:44px!important;
    font-size:15px!important;
    background:#fff!important;
  }
  body.single-product .woocommerce div.product form.cart .hd-qty-step{
    width:36px!important;
    height:44px!important;
    background:#fff!important;
    font-size:18px!important;
  }
  body.single-product .woocommerce div.product .single_add_to_cart_button{
    min-height:46px!important;
    padding:11px 24px!important;
    border-radius:4px!important;
    background:#285b2d!important;
    font-size:14px!important;
  }

  /* Gallery thumbnails: simple images, only active state gets a line. */
  body.single-product .flex-control-thumbs{
    grid-template-columns:repeat(5,minmax(0,72px))!important;
    justify-content:start!important;
    gap:8px!important;
    margin-top:10px!important;
  }
  body.single-product .flex-control-thumbs img{
    width:72px!important;
    height:72px!important;
    max-height:72px!important;
    padding:3px!important;
    object-fit:contain!important;
    background:#fff!important;
    border:1px solid #e1e5e0!important;
    border-radius:0!important;
    opacity:.72!important;
  }
  body.single-product .flex-control-thumbs img.flex-active{
    border-color:#3d784a!important;
    opacity:1!important;
  }

  /* Tabs become simple navigation with a divider, never a tab-card. */
  body.single-product .woocommerce div.product .woocommerce-tabs{
    clear:both!important;
    width:100%!important;
    margin-top:20px!important;
    padding-top:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs{
    gap:0!important;
    margin:0 0 24px!important;
    border:0!important;
    border-bottom:1px solid #e2e5e1!important;
    background:transparent!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li,
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active{
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li a{
    padding:11px 18px!important;
    font-size:13px!important;
    border:0!important;
    border-bottom:2px solid transparent!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs ul.tabs li.active a{
    border-bottom-color:#357847!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs .panel{
    max-width:980px!important;
    margin:0 auto 34px!important;
    padding:0!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    font-size:14px!important;
    line-height:1.75!important;
  }
  body.single-product .woocommerce div.product .woocommerce-tabs .panel h2{
    margin:0 0 16px!important;
    font-size:22px!important;
  }

  /* Additional information is a plain specification list. */
  body.single-product .woocommerce table.shop_attributes{
    width:100%!important;
    margin:8px 0 0!important;
    border:0!important;
    border-radius:0!important;
    border-collapse:collapse!important;
  }
  body.single-product .woocommerce table.shop_attributes tr{
    border-bottom:1px solid #eceeeb!important;
  }
  body.single-product .woocommerce table.shop_attributes th,
  body.single-product .woocommerce table.shop_attributes td{
    padding:11px 8px!important;
    background:#fff!important;
    border:0!important;
    border-radius:0!important;
    font-size:13px!important;
  }
  body.single-product .woocommerce table.shop_attributes th{
    width:155px!important;
    font-weight:800!important;
  }

  /* Reviews and tags: flat text sections instead of cards/chips. */
  body.single-product .woocommerce #reviews #comments ol.commentlist li .comment-text{
    margin:0 0 18px!important;
    padding:0 0 18px!important;
    border:0!important;
    border-bottom:1px solid #eceeeb!important;
    border-radius:0!important;
    background:transparent!important;
  }
  body.single-product .hd-single-tags{
    margin:8px 0 32px!important;
    padding:14px 0 0!important;
    border-top:1px solid #eceeeb!important;
  }
  body.single-product .hd-single-tags>strong{
    display:inline!important;
    margin-left:5px!important;
  }
  body.single-product .hd-single-tags>div{display:inline!important}
  body.single-product .hd-single-tags a{
    display:inline!important;
    padding:0!important;
    margin-left:7px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    color:#657067!important;
    font-size:12px!important;
    font-weight:600!important;
    text-decoration:underline!important;
    text-underline-offset:2px!important;
  }

  /* Long visual description keeps sensible reading width. */
  body.single-product .hadar-product-visuals{
    max-width:900px!important;
    margin:18px auto 0!important;
    padding:0!important;
    background:#fff!important;
    border:0!important;
  }
  body.single-product .hadar-product-visuals img{
    width:100%!important;
    height:auto!important;
    max-height:none!important;
    margin:10px auto!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
  }

  /* Related/upsell products: clean catalogue tiles without floating cards. */
  body.single-product .related.products,
  body.single-product .upsells.products{
    clear:both!important;
    margin-top:26px!important;
    padding-top:22px!important;
    border-top:1px solid #eceeeb!important;
  }
  body.single-product .related.products>h2,
  body.single-product .upsells.products>h2{
    margin:0 0 18px!important;
    font-size:22px!important;
  }
  body.single-product .related.products ul.products li.product,
  body.single-product .upsells.products ul.products li.product{
    border:0!important;
    border-radius:0!important;
    background:#fff!important;
    overflow:visible!important;
  }
  body.single-product .related.products ul.products li.product a img,
  body.single-product .upsells.products ul.products li.product a img{
    border:0!important;
    background:#fff!important;
  }
}

/* =========================================================
   v1.8.2 DESKTOP/TABLET QA STABILIZATION
   IMPORTANT: every layout rule below starts at 861px.
   The approved mobile layout (<=860px) is intentionally untouched.
   ========================================================= */

/* 861–1100px: the seven-item desktop navigation no longer fits reliably.
   Switch only this tablet/compact-desktop range to the existing toggle UI. */
@media (min-width:861px) and (max-width:1100px){
  .hd-header-row{
    grid-template-columns:minmax(0,1fr) auto!important;
    min-height:70px!important;
    gap:12px!important;
  }
  .hd-logo{
    justify-self:start!important;
    font-size:27px!important;
  }
  .hd-logo small{display:none!important}
  .hd-actions{
    grid-column:2!important;
    grid-row:1!important;
    justify-self:end!important;
  }
  .hd-mobile-toggle{display:inline-flex!important}

  .hd-nav{
    display:none!important;
    position:absolute!important;
    top:100%!important;
    right:0!important;
    left:0!important;
    width:100%!important;
    justify-self:stretch!important;
    background:#fff!important;
    border-top:1px solid var(--line)!important;
    box-shadow:0 18px 40px rgba(0,0,0,.12)!important;
    padding:8px 22px 22px!important;
    max-height:calc(100dvh - 70px)!important;
    overflow:auto!important;
    z-index:1001!important;
  }
  .hd-nav.is-open{display:block!important}
  .hd-menu{
    display:block!important;
    margin:0!important;
    padding:0!important;
  }
  .hd-menu li{border-bottom:1px solid var(--line)!important}
  .hd-menu a{
    display:block!important;
    padding:15px 4px!important;
    border:0!important;
    font-size:16px!important;
  }

  /* Restore compact layouts that earlier max-width rules intended,
     but later min-width:861 rules overrode in the cascade. */
  .hd-category-strip{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:12px!important;
  }
  .hd-category-photo{height:150px!important}
  .hd-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

  body.post-type-archive-product .woocommerce ul.products,
  body.tax-product_cat .woocommerce ul.products,
  body.tax-product_tag .woocommerce ul.products{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }

  body.single-product .site-main{
    width:min(1080px,calc(100% - 44px))!important;
  }
}

/* Logged-in desktop QA: keep the sticky theme header below WP's 32px admin bar.
   Scoped to >=861px so mobile admin-bar behavior is unchanged. */
@media (min-width:861px){
  .admin-bar .hd-header{top:32px!important}

  /* WooCommerce is configured for four related products; the previous
     five-column grid left a permanent empty column on desktop. */
  body.single-product .related.products ul.products,
  body.single-product .upsells.products ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  /* Homepage "latest" outputs 8 products with columns="4".
     Keep the CSS grid aligned with that contract instead of 6 + 2. */
  .hd-latest-products .woocommerce ul.products{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }
}

