/* HAFTAA – accurate Hebrew, original logo, responsive banners.
   This stylesheet deliberately avoids global theme overrides: it replaces the crooked preview. */
.haf-banner,.haf-banner *,.hf-shop-finder,.hf-shop-finder *{box-sizing:border-box}
.haf-banner{
  direction:rtl;display:grid;grid-template-columns:minmax(250px,42%) minmax(0,1fr);
  align-items:center;position:relative;isolation:isolate;overflow:hidden;
  max-width:1260px;width:calc(100% - 36px);min-height:400px;
  margin:20px auto 38px;border-radius:26px;
  color:#4b182c;background:radial-gradient(circle at 80% 34%,rgba(255,212,115,.38),transparent 38%),
    radial-gradient(circle at 12% 86%,rgba(169,13,46,.085),transparent 32%),
    linear-gradient(130deg,#fffefb 5%,#fff5eb 62%,#fff9f1 100%);
  border:1px solid #edc994;box-shadow:0 14px 38px rgba(99,22,39,.10);
}
.haf-banner:before{
  content:"";pointer-events:none;position:absolute;z-index:-1;
  top:-1px;left:-2px;right:-2px;height:26px;background:
  linear-gradient(90deg,#850a22 0%,#ca1436 39%,#f3b84c 70%,#9e0927 100%);
  clip-path:polygon(0 0,100% 0,100% 38%,72% 100%,26% 52%,0 78%)
}
.haf-banner:after{
  content:"";pointer-events:none;position:absolute;z-index:-1;bottom:-2px;left:-2px;right:-2px;height:40px;
  background:linear-gradient(90deg,#850a22,#c61034 38%,#f2b43b 53%,#850a22 84%);
  clip-path:polygon(0 45%,14% 16%,36% 75%,61% 30%,81% 55%,100% 0,100% 100%,0 100%)
}
.haf-banner__art{grid-column:1;grid-row:1;align-self:stretch;min-height:310px;
  display:flex;justify-content:center;align-items:center;position:relative;padding:30px 26px 24px;overflow:hidden}
.haf-banner__halo{position:absolute;width:90%;aspect-ratio:1;border-radius:50%;
  background:radial-gradient(circle,rgba(255,196,73,.35),rgba(255,233,166,.06) 68%,transparent 70%);
  filter:blur(8px);z-index:-1}
.haf-banner__gift-crop{display:block;position:relative;overflow:hidden;isolation:isolate;width:min(95%,390px);height:235px;max-width:100%;border-radius:22px;flex-shrink:0}
.haf-banner__gift{display:block;position:absolute;inset:0 auto auto 0;width:100%;height:auto;max-width:100%;object-fit:contain;mix-blend-mode:multiply;filter:drop-shadow(0 8px 15px rgba(158,88,15,.12))}
.haf-banner__brand{position:absolute;right:14px;bottom:17px;z-index:2;display:block;width:84px;height:84px;max-width:25%;object-fit:contain;opacity:.96;filter:drop-shadow(0 2px 8px rgba(138,27,40,.14))}
.haf-banner__copy{grid-column:2;grid-row:1;min-width:0;padding:38px clamp(22px,4vw,62px) 50px 18px;text-align:right}
.haf-banner__kicker{font-size:clamp(.83rem,1.3vw,1rem)!important;font-weight:800;color:#956313!important;letter-spacing:.02em;margin:0 0 12px!important}
.haf-banner__heading{font-size:clamp(2.15rem,4.25vw,4.35rem)!important;line-height:1.13!important;color:#920a25!important;
  font-weight:900!important;letter-spacing:-.035em;margin:0 0 15px!important;max-width:680px;text-align:right!important;
  text-shadow:none!important}
.haf-banner__desc{color:#503341!important;font-weight:500;font-size:clamp(1rem,1.6vw,1.22rem)!important;line-height:1.7!important;
  max-width:640px;margin:0 0 18px!important;text-align:right!important}
.haf-banner__features{display:flex;flex-wrap:wrap;gap:9px;list-style:none!important;padding:0!important;margin:0 0 23px!important}
.haf-banner__features li{display:inline-flex;align-items:center;gap:6px;list-style:none!important;
  font-size:clamp(.75rem,1.1vw,.92rem);line-height:1.3!important;font-weight:750;color:#7c172e;
  background:#fffdfa;border:1px solid #efd6ab;border-radius:11px;padding:9px 12px;margin:0!important}
.haf-banner__features li:before{content:"✓";font-weight:900;color:#ab760f}
.haf-banner__actions{display:flex;gap:12px;flex-wrap:wrap;align-items:center}
.haf-banner__actions a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;
  border-radius:999px;padding:11px 24px;font-weight:850;text-decoration:none!important;font-size:1rem;line-height:1.35}
.haf-banner__primary{background:linear-gradient(125deg,#970c2b,#c11736)!important;border:2px solid #e6ac42;
  color:#fff!important;box-shadow:0 8px 22px rgba(144,9,34,.22)}
.haf-banner__primary:hover{background:#7f071f!important;color:#fff!important}
.haf-banner__secondary{border:1.5px solid #aa1b37;color:#96102b!important;background:#fff8f0}
.haf-banner__secondary:hover{background:#fbeadd}
.haf-banner__actions a:focus-visible{outline:3px solid #6f0c26!important;outline-offset:3px}
.haf-banner__coupon{font-size:.875rem;color:#7b172c;margin:14px 0 0!important;font-weight:650}
.haf-banner--compact{min-height:275px;margin:12px auto 26px}
.haf-banner--compact .haf-banner__art{min-height:265px;padding-block:10px}
.haf-banner--compact .haf-banner__gift-crop{width:min(90%,250px);height:148px}.haf-banner--compact .haf-banner__brand{width:68px;height:68px}
.haf-banner--compact .haf-banner__heading{font-size:clamp(1.8rem,3.3vw,3.1rem)!important}
.haf-banner--compact .haf-banner__copy{padding-block:25px 36px}
.haf-banner--compact .haf-banner__desc{font-size:clamp(.95rem,1.4vw,1.07rem)!important}
.haf-banner--compact .haf-banner__features li{font-size:.79rem}
.haf-banner__features + .haf-banner__actions{margin-top:3px}
/* Retire only the redundant old hero, not the established layout, design system or form styling. */
body.home .entry-content > .hf-hero,body.page-id-278 .entry-content > .hf-hero{display:none!important}
body.post-type-archive-product .wp-block-query-title,body.tax-product_cat .wp-block-query-title{display:none}
body.single-product:has(.haf-banner) main .wp-block-post-title{display:none}
/* Catalog choices are accessible links, not a JS-only filter. */
.hf-shop-finder{max-width:1180px;margin:25px auto 32px;padding:0 18px;text-align:right;direction:rtl}
.hf-shop-finder h2{font-size:clamp(1.5rem,2.7vw,2.1rem);font-weight:850;color:#91102c;margin:.4rem 0}
.hf-shop-finder p{color:#513541}
.hf-shop-finder .hf-catalog-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;
  margin:24px 0 0;padding:0!important;list-style:none!important}
.hf-shop-finder .hf-catalog-choices li{list-style:none!important;margin:0!important}
.hf-shop-finder .hf-catalog-choice{display:flex;flex-direction:column;gap:7px;min-height:140px;
  text-decoration:none!important;border:1px solid #ead5b6;border-radius:18px;background:#fffdf8;
  color:#662138;padding:18px 20px;box-shadow:0 6px 18px rgba(103,21,43,.055);transition:box-shadow .18s,transform .18s}
.hf-shop-finder .hf-catalog-choice:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(103,21,43,.12);border-color:#c29042}
.hf-shop-finder .hf-catalog-choice strong{font-size:1.2rem;font-weight:850}
.hf-shop-finder .hf-mini{font-size:.9rem;color:#66535a}
@media(max-width:850px){
.haf-banner{grid-template-columns:minmax(175px,35%) 1fr;min-height:340px}
.haf-banner__art{min-height:270px;padding:15px}
.haf-banner__copy{padding:26px 21px 38px 10px}
.haf-banner__gift-crop{width:min(95%,275px);height:168px}.haf-banner__brand{width:62px;height:62px;right:9px;bottom:8px}
.haf-banner__heading{font-size:clamp(1.7rem,4vw,2.8rem)!important}
.haf-banner__features li{padding:7px 8px}
.hf-shop-finder .hf-catalog-choices{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:620px){
.haf-banner{grid-template-columns:1fr;display:flex;flex-direction:column;min-height:0;border-radius:17px;
  width:calc(100% - 20px);margin:10px auto 22px}
.haf-banner__art{order:1;width:100%;max-height:165px;min-height:0;padding:9px 10px 0}
.haf-banner__gift-crop{width:230px;height:138px;max-width:75%}.haf-banner__brand{width:64px;height:64px;right:10px;bottom:7px}
.haf-banner__copy{order:2;width:100%;padding:14px 19px 30px}
.haf-banner__heading,.haf-banner--compact .haf-banner__heading{font-size:clamp(1.65rem,7.3vw,2.3rem)!important}
.haf-banner__desc{font-size:1rem!important;margin-bottom:13px!important}
.haf-banner__features{gap:6px;margin-bottom:15px!important}
.haf-banner__features li{font-size:.72rem;padding:7px 9px}
.haf-banner__actions{flex-direction:column;align-items:stretch}
.haf-banner__actions a{width:100%}
.haf-banner--compact .haf-banner__art{min-height:0;padding:8px}
.haf-banner--compact .haf-banner__gift-crop{width:190px;height:110px}.haf-banner--compact .haf-banner__brand{width:56px;height:56px}
.haf-banner--compact .haf-banner__copy{padding:8px 17px 28px}
.hf-shop-finder .hf-catalog-choices{grid-template-columns:1fr;gap:10px}
.hf-shop-finder .hf-catalog-choice{min-height:90px}
}
/* Consistent, unobtrusive brand signature on product and article imagery. */
.hf-logo a{display:inline-flex;align-items:center;gap:8px;text-decoration:none}
.hf-logo img{display:block;width:44px;height:44px;object-fit:contain;flex:none}
.wc-block-components-product-image,.woocommerce-product-gallery__image,
.wp-block-post-featured-image{position:relative}
.wc-block-components-product-image::after,
.woocommerce-product-gallery__image::after,
.wp-block-post-featured-image::after{
  content:"";position:absolute;z-index:3;right:7px;bottom:7px;
  width:clamp(38px,5vw,58px);height:clamp(38px,5vw,58px);
  border:1px solid rgba(220,177,103,.75);border-radius:12px;
  background:rgba(255,253,248,.88) url('https://haftaa.co.il/wp-content/uploads/2026/11/haftaa-logo-150x150.webp') center/contain no-repeat;
  pointer-events:none;box-shadow:0 3px 14px rgba(50,5,30,.10);
}
.woocommerce-product-gallery__image::after{width:56px;height:56px}
@media(max-width:620px){
 .hf-logo img{width:35px;height:35px}
 .wc-block-components-product-image::after,
 .wp-block-post-featured-image::after{width:42px;height:42px}
}
@media(prefers-reduced-motion:reduce){.haf-banner *, .hf-shop-finder *{animation:none!important;transition:none!important}}
