/* =====================================================================
   אמונה — Apple-inspired theme
   Content first. System-like type. Soft grey tiles, hairlines, pills.
   ===================================================================== */

:root {
  --font: "Heebo", -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;

  --white: #ffffff;
  --soft: #f5f5f7;
  --soft-2: #e8e8ed;
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --ink-3: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);

  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-soft: rgba(0, 113, 227, 0.12);
  --sky: #7fbaf0;
  --green: #25d366;

  --r-sm: 12px;
  --r: 18px;
  --r-lg: 28px;
  --pill: 980px;

  --nav-h: 52px;
  --gutter: clamp(16px, 4vw, 24px);
  --max: 1024px;
  --max-wide: 1440px;
  --max-text: 720px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow: 0 2px 6px rgba(0, 0, 0, 0.05), 0 14px 40px rgba(0, 0, 0, 0.09);
  --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.08), 0 30px 80px rgba(0, 0, 0, 0.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  font-weight: 400;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.nav-open, body.cart-open { overflow: hidden; }
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; color: var(--ink); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }
:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(0, 113, 227, 0.55); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(0, 113, 227, 0.2); }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 8px; inset-inline-start: 8px; z-index: 1000; width: auto; height: auto;
  clip: auto; clip-path: none; padding: 10px 16px; background: var(--white); color: var(--ink);
  border-radius: var(--pill); box-shadow: var(--shadow);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--max-wide) + var(--gutter) * 2); }
.container--text { max-width: calc(var(--max-text) + var(--gutter) * 2); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(48px, 6vw, 88px); }

.sec-head { text-align: center; max-width: 820px; margin: 0 auto clamp(36px, 5vw, 64px); }
.sec-head--start { text-align: start; margin-inline: 0; }
.sec-head__title { font-size: clamp(32px, 5vw, 56px); font-weight: 600; line-height: 1.07; letter-spacing: -0.02em; }
.sec-head__lead { margin-top: 14px; font-size: clamp(19px, 2.2vw, 24px); line-height: 1.35; color: var(--ink-2); font-weight: 400; }
.sec-head__lead a { white-space: nowrap; }

.link-more {
  display: inline-flex; align-items: center; gap: 4px; color: var(--blue);
  font-size: 19px; font-weight: 400; line-height: 1.3;
}
.link-more:hover { text-decoration: underline; }
.link-more .chev { width: 0.55em; height: 0.55em; flex: none; }
.link-more--sm { font-size: 17px; }

.chev { display: inline-block; width: 10px; height: 10px; }
[dir="rtl"] .chev--dir { transform: scaleX(-1); }

/* ---------- Buttons ---------- */
.btn, .button, .single_add_to_cart_button, .checkout-button, .wa-form button, .woocommerce button.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 22px; border-radius: var(--pill);
  background: var(--blue); color: var(--white); border: 0;
  font-size: 17px; font-weight: 500; line-height: 1; white-space: nowrap; text-decoration: none;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.btn:hover, .button:hover, .single_add_to_cart_button:hover, .checkout-button:hover, .wa-form button:hover { background: var(--blue-hover); color: var(--white); text-decoration: none; }
.btn:active, .button:active { transform: scale(0.98); }
.btn--outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.btn--outline:hover { background: var(--blue); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: #f2f2f4; color: var(--ink); }
.btn--ghost { background: var(--soft-2); color: var(--ink); }
.btn--ghost:hover { background: #dcdce1; color: var(--ink); }
.btn--sm { min-height: 36px; padding: 0 16px; font-size: 15px; }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 19px; }
.btn[disabled], .button[disabled], .btn.is-loading, .button.loading { opacity: 0.55; pointer-events: none; }
.btn .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 60; height: var(--nav-h);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  transition: background 0.3s var(--ease);
}
.site-header.is-scrolled, body.nav-open .site-header { border-bottom-color: var(--line); }
.site-header.is-scrolled::before, body.nav-open .site-header::before { background: rgba(255, 255, 255, 0.86); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.site-header__brand { flex: none; display: flex; align-items: center; }
.site-header__brand a { display: block; line-height: 0; }
.site-header__brand img, .custom-logo { height: 26px; width: auto; }
.site-nav { flex: 1; display: flex; align-items: center; justify-content: center; }
.site-nav__list { display: flex; align-items: center; gap: 30px; list-style: none; }
.site-nav__list a { color: var(--ink); opacity: 0.82; font-size: 14px; font-weight: 400; letter-spacing: -0.005em; transition: opacity 0.2s; }
.site-nav__list a:hover { opacity: 1; text-decoration: none; }
.site-nav__list .current-menu-item > a, .site-nav__list .current_page_item > a { opacity: 1; font-weight: 500; }
.site-nav__account { display: none; }
.site-header__actions { flex: none; display: flex; align-items: center; gap: 6px; margin-inline-start: auto; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; color: var(--ink); opacity: 0.85; transition: background 0.2s, opacity 0.2s;
}
.icon-btn:hover { background: rgba(0, 0, 0, 0.05); opacity: 1; text-decoration: none; }
.icon-btn svg { width: 19px; height: 19px; }
.cart-btn__count {
  position: absolute; top: 5px; inset-inline-end: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 8px; background: var(--blue); color: #fff; font-size: 10px; font-weight: 600; line-height: 16px; text-align: center;
  transition: transform 0.25s var(--ease-out);
}
.cart-btn__count.is-empty { transform: scale(0); }

.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 50%; position: relative; }
.nav-toggle__bar { position: absolute; inset-inline-start: 12px; width: 16px; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s; }
.nav-toggle__bar:nth-child(1) { top: 16px; }
.nav-toggle__bar:nth-child(2) { top: 23px; }
.nav-toggle__bar:nth-child(3) { display: none; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.nav-overlay { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--nav-h); inset-inline: 0; bottom: 0; z-index: 55;
    flex-direction: column; justify-content: flex-start; align-items: stretch;
    padding: 28px var(--gutter) 40px; background: rgba(255, 255, 255, 0.94);
    -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 0.3s var(--ease), transform 0.35s var(--ease-out), visibility 0s 0.3s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .site-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav__list li { border-bottom: 1px solid var(--line); }
  .site-nav__list a { display: block; padding: 16px 0; font-size: 26px; font-weight: 600; letter-spacing: -0.02em; opacity: 1; }
  .site-nav__account { display: flex; gap: 10px; margin-top: 28px; }
  .site-nav__account .btn { flex: 1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  background: var(--sky); color: var(--white);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 20% 62%; }
.hero__inner {
  width: 100%; max-width: calc(var(--max-wide) + var(--gutter) * 2); margin-inline: auto;
  padding: calc(var(--nav-h) + 48px) var(--gutter) 72px;
  display: grid; grid-template-columns: minmax(0, 560px) 1fr; align-items: center;
}
.hero__content { position: relative; max-width: 560px; transform: translateY(-9vh); }
/* soft shade behind the copy so it stays readable over the light sky */
.hero__content::before {
  content: ""; position: absolute; inset: -30% -40% -34% -40%; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 58% 46%, rgba(0, 36, 90, 0.26) 0%, rgba(0, 36, 90, 0.13) 40%, rgba(0, 36, 90, 0.04) 60%, rgba(0, 36, 90, 0) 72%);
  filter: blur(14px);
}
.hero__mark { height: clamp(40px, 5vw, 60px); width: auto; margin-bottom: 26px; filter: drop-shadow(0 2px 4px rgba(0, 40, 100, 0.3)) drop-shadow(0 8px 20px rgba(0, 40, 100, 0.25)); }
.hero__title {
  font-size: clamp(44px, 7.2vw, 84px); font-weight: 700; line-height: 1.02; letter-spacing: -0.025em; color: var(--white);
  text-shadow: 0 2px 6px rgba(0, 40, 100, 0.28), 0 8px 32px rgba(0, 40, 100, 0.32);
}
.hero__text { margin-top: 22px; font-size: clamp(19px, 2.2vw, 25px); line-height: 1.35; font-weight: 400; max-width: 32ch; color: rgba(255, 255, 255, 0.96); text-shadow: 0 1px 4px rgba(0, 40, 100, 0.3), 0 6px 24px rgba(0, 40, 100, 0.28); }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 34px; }
.hero__cta .link-more { color: var(--white); font-size: 19px; text-shadow: 0 1px 4px rgba(0, 40, 100, 0.3), 0 6px 20px rgba(0, 40, 100, 0.28); }
.hero__cta .btn--light { box-shadow: 0 6px 24px rgba(0, 40, 100, 0.16); }

@media (max-width: 860px) {
  .hero { min-height: 0; display: flex; flex-direction: column; text-align: center; background: #87bdf4; }
  .hero__bg { position: relative; inset: auto; z-index: 0; order: 2; aspect-ratio: 4 / 3; }
  .hero__bg::before { content: ""; position: absolute; inset: 0 0 auto; height: 28%; z-index: 1; background: linear-gradient(#87bdf4, rgba(255, 255, 255, 0)); }
  .hero__bg img { object-position: 22% 62%; }
  .hero__inner { grid-template-columns: 1fr; padding-top: calc(var(--nav-h) + 40px); padding-bottom: 8px; }
  .hero__content { margin-inline: auto; transform: none; }
  .hero__content::before { display: none; }
  .hero__title, .hero__text, .hero__cta .link-more { text-shadow: none; }
  .hero__mark { margin-inline: auto; margin-bottom: 18px; filter: none; }
  .hero__text { margin-inline: auto; }
  .hero__cta { justify-content: center; margin-top: 26px; }
}

/* ---------- Colour picker (caps) ---------- */
.picker { display: grid; justify-items: center; gap: 22px; }
.picker__stage { position: relative; width: min(100%, 520px); aspect-ratio: 1; }
.picker__img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transform: scale(0.97); transition: opacity 0.4s var(--ease), transform 0.5s var(--ease-out);
}
.picker__img.is-active { opacity: 1; transform: none; }
.picker__swatches { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.swatch {
  width: 30px; height: 30px; border-radius: 50%; background: var(--c, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 0 var(--white), 0 0 0 0 var(--blue);
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.swatch:hover { transform: scale(1.08); }
.swatch[aria-checked="true"] { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--white), 0 0 0 5px var(--blue); }
.swatch:focus-visible { outline: none; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), 0 0 0 3px var(--white), 0 0 0 5px var(--blue); }
.picker__name { font-size: 21px; font-weight: 500; text-align: center; min-height: 1.4em; }
.picker__cta { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: center; }

/* ---------- Rail (horizontal gallery) ---------- */
.rail { position: relative; }
.rail__track {
  display: flex; gap: 20px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding-inline: max(var(--gutter), calc((100vw - var(--max-wide)) / 2));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--max-wide)) / 2));
  padding-block: 8px 24px; scrollbar-width: none; -ms-overflow-style: none;
}
.rail__track::-webkit-scrollbar { display: none; }
.rail__track > * { flex: none; scroll-snap-align: start; width: min(78vw, 372px); }
.rail__nav { display: flex; justify-content: flex-end; gap: 12px; padding-inline: max(var(--gutter), calc((100vw - var(--max-wide)) / 2)); }
.rail__btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--soft-2); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, opacity 0.2s;
}
.rail__btn:hover { background: #dcdce1; }
.rail__btn[disabled] { opacity: 0.35; cursor: default; }
.rail__btn svg { width: 14px; height: 14px; }

/* ---------- Tiles & product cards ---------- */
/* Product shots are JPEGs on the tile grey; darken makes the seam invisible. */
.tile__media img, .pcard__media img, .picker__img, .split__media img, .drawer-item__media img,
.product-main .woocommerce-product-gallery__image img, table.shop_table .product-thumbnail img { mix-blend-mode: darken; }
.tile {
  display: flex; flex-direction: column; background: var(--soft); border-radius: var(--r-lg); overflow: hidden;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease);
}
.section--soft .tile { background: var(--white); }
.tile > a { display: flex; flex-direction: column; height: 100%; color: inherit; }
.tile > a:hover { text-decoration: none; }
.tile__media { aspect-ratio: 1; overflow: hidden; background: var(--white); }
.tile__media img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: normal; transition: transform 0.6s var(--ease-out); }
.tile:hover .tile__media img { transform: scale(1.03); }
.tile__body { padding: 8px 28px 28px; display: flex; flex-direction: column; gap: 6px; }
.tile__cat { font-size: 13px; color: var(--ink-2); }
.tile__title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.tile__link { margin-top: 6px; color: var(--blue); font-size: 15px; display: inline-flex; align-items: center; gap: 3px; }
.tile > a:hover .tile__link { text-decoration: underline; }

ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 0; }
@media (max-width: 1100px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) { ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
ul.products::before, ul.products::after { display: none; }
ul.products li.product { width: auto; float: none; margin: 0; clear: none; }
.woocommerce-products-header { display: contents; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--soft); border-radius: var(--r-lg); overflow: hidden; }
.section--soft .pcard, .shop-archive--soft .pcard { background: var(--white); }
.pcard__media { display: block; aspect-ratio: 1; overflow: hidden; background: var(--white); }
.pcard__media img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; mix-blend-mode: normal; transition: transform 0.6s var(--ease-out); }
.pcard:hover .pcard__media img { transform: scale(1.04); }
.pcard__body { padding: 8px 28px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard__cat { font-size: 13px; color: var(--ink-2); }
.pcard__title { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }
.pcard__title a { color: inherit; }
.pcard__title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.pcard__title a:hover { text-decoration: none; }
.pcard__foot { position: relative; z-index: 1; margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pcard__price { font-size: 15px; color: var(--ink-2); }
.pcard__price .price--inquiry { display: none; }
.pcard__price:empty, .pcard__price:has(> .price--inquiry:only-child) { display: none; }
.pcard__foot:has(.pcard__price:empty), .pcard__foot:has(.price--inquiry:only-child) { justify-content: flex-start; }
.pcard__price .woocommerce-Price-amount { color: var(--ink); font-weight: 500; font-size: 17px; }
.pcard__foot .button { min-height: 36px; padding: 0 16px; font-size: 15px; }
.pcard__foot .added_to_cart { display: none; }
.price--inquiry { color: var(--ink-2); font-weight: 400; }

/* ---------- Feature tiles ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--white); border-radius: var(--r-lg); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.feature__icon { width: 44px; height: 44px; color: var(--blue); }
.feature__icon svg { width: 100%; height: 100%; }
.feature__title { font-size: 23px; font-weight: 600; letter-spacing: -0.015em; }
.feature__text { font-size: 17px; color: var(--ink-2); line-height: 1.45; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split (about) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split__media { background: var(--soft); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 56px); margin: 0; }
.split__media img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.split__content { max-width: 480px; }
.split__content .sec-head { margin-bottom: 20px; }
.split__text { font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.split__more { margin-top: 22px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split__content { max-width: none; } }

/* ---------- CTA band ---------- */
.cta { text-align: center; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 24px; margin-top: 8px; }

/* ---------- Page heads ---------- */
.page-hero { padding: calc(var(--nav-h) + clamp(48px, 7vw, 96px)) 0 clamp(28px, 4vw, 48px); text-align: center; }
.page-hero .sec-head { margin-bottom: 0; }
.page-hero .sec-head__title { font-size: clamp(36px, 6vw, 64px); }
.page-hero .term-description, .page-hero .woocommerce-products-header__description { margin-top: 14px; font-size: 19px; color: var(--ink-2); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.chips a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 16px; border-radius: var(--pill);
  background: var(--soft); color: var(--ink); font-size: 15px; font-weight: 400; transition: background 0.2s, color 0.2s;
}
.chips a:hover { background: var(--soft-2); text-decoration: none; }
.chips a.is-active { background: var(--ink); color: var(--white); }
.chips--sub { margin-top: 12px; }
.chips--sub a { min-height: 32px; padding: 0 13px; font-size: 14px; background: transparent; box-shadow: inset 0 0 0 1px var(--soft-2); }
.chips--sub a:hover { background: var(--soft); }
.chips--sub a.is-active { background: var(--ink); color: var(--white); box-shadow: none; }

.shop-archive { padding-bottom: clamp(72px, 9vw, 128px); }
.shop-archive--with-category-nav { padding-bottom: clamp(40px, 5vw, 68px); }
.notice-box { background: var(--soft); border-radius: var(--r); padding: 40px; text-align: center; color: var(--ink-2); font-size: 19px; }

/* ---------- Store departments ---------- */
.shop-intro { padding: calc(var(--nav-h) + clamp(24px, 4vw, 48px)) 0 clamp(34px, 4.5vw, 58px); }
.shop-intro__panel { position: relative; isolation: isolate; min-height: clamp(310px, 30vw, 410px); display: flex; align-items: center; overflow: hidden; border-radius: var(--r-lg); background-image: var(--shop-hero); background-size: cover; background-position: center; }
.shop-intro__shade { display: none; }
.shop-intro__copy { width: min(48%, 650px); padding: clamp(30px, 4.6vw, 66px); }
.shop-intro .sec-head__title { font-size: clamp(40px, 5.2vw, 68px); }
.shop-intro .sec-head__lead { max-width: 34ch; margin-top: 16px; font-size: clamp(18px, 1.8vw, 22px); }
.category-catalog { padding-bottom: clamp(72px, 9vw, 128px); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.category-card { position: relative; display: flex; min-width: 0; min-height: 470px; flex-direction: column; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); color: var(--ink); }
.category-card:hover { text-decoration: none; }
.category-card__media { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; padding: clamp(22px, 3vw, 42px) clamp(22px, 3vw, 42px) 8px; }
.category-card__media img { width: 100%; height: 100%; max-height: 330px; object-fit: contain; mix-blend-mode: darken; transition: transform 0.65s var(--ease-out); }
.category-card:hover .category-card__media img { transform: scale(1.045); }
.category-card__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; padding: 22px clamp(22px, 2.4vw, 34px) 28px; }
.category-card__title { font-size: clamp(22px, 2.2vw, 30px); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
.category-card__action { display: inline-flex; align-items: center; flex: none; gap: 5px; color: var(--blue); font-size: 15px; }
.category-card__action .chev { width: 8px; height: 8px; }
.category-card:focus-visible { outline-offset: 5px; }

/* ---------- Home category edit ---------- */
.home-categories { padding: clamp(64px, 8vw, 112px) 0; background: var(--white); }
.home-categories__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(28px, 4vw, 46px); }
.home-categories__head h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.08; letter-spacing: -.025em; }
.home-categories__head p { margin-top: 12px; color: var(--ink-2); font-size: clamp(17px, 1.8vw, 21px); }
.home-categories__head .link-more { flex: none; margin-bottom: 4px; }
.home-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 22px); }
.home-category { position: relative; min-width: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--soft); color: var(--white); display: flex; min-height: clamp(280px, 26vw, 380px); }
.home-category:hover { text-decoration: none; }
.home-category__media { position: absolute; inset: 0; z-index: 0; }
.home-category__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.home-category:hover .home-category__media img { transform: scale(1.05); }
.home-category::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(0,0,0,.62) 0%, rgba(0,0,0,.16) 32%, rgba(0,0,0,0) 58%); }
.home-category__body { position: relative; z-index: 2; margin-top: auto; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px clamp(22px, 2.4vw, 32px) 20px; }
.home-category__body strong { font-size: clamp(20px, 2vw, 27px); line-height: 1.15; letter-spacing: -.015em; color: var(--white); text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.home-category__body > span { display: inline-flex; align-items: center; gap: 4px; flex: none; color: var(--white); font-size: 15px; text-shadow: 0 2px 8px rgba(0,0,0,.6); }
.home-category__body .chev { width: 8px; height: 8px; }
.home-category:focus-visible { outline-offset: 5px; }

@media (max-width: 900px) {
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .home-categories__head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .home-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .home-category { min-height: 190px; }
  .home-category__body { align-items: flex-start; flex-direction: column; gap: 2px; padding: 10px 16px 16px; }
  .home-category__body strong { font-size: 17px; }
  .home-category__body > span { font-size: 13px; }
}

.category-masthead { padding: calc(var(--nav-h) + clamp(24px, 4vw, 48px)) 0 clamp(28px, 4vw, 44px); }
.category-masthead__panel { position: relative; isolation: isolate; min-height: clamp(290px, 28vw, 380px); display: flex; align-items: center; overflow: hidden; border-radius: var(--r-lg); background: linear-gradient(118deg, #eaf3fc 0%, #f5f7fa 52%, #e7e9ed 100%); }
.category-masthead__panel.has-image { background-image: var(--category-hero); background-size: cover; background-position: right; }
.category-masthead__shade { display: none; }
.category-masthead__copy { position: relative; z-index: 3; width: min(48%, 650px); padding: clamp(30px, 4.6vw, 66px); }
.category-masthead__back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 22px; color: var(--ink-2); font-size: 14px; }
.category-masthead__back .chev { width: 8px; height: 8px; }
.category-masthead__copy h1 { font-size: clamp(38px, 5vw, 64px); max-width: 10ch; }
.category-masthead__copy p { max-width: 42ch; margin-top: 16px; color: var(--ink-2); font-size: clamp(17px, 1.6vw, 20px); line-height: 1.45; }

.category-bubbles { padding: 4px 0 clamp(72px, 9vw, 128px); }
.category-bubbles h2 { margin-bottom: 24px; text-align: center; font-size: clamp(22px, 2.4vw, 30px); }
.category-bubbles__rail { display: flex; justify-content: center; gap: clamp(22px, 3vw, 44px); overflow-x: auto; padding: 4px 4px 12px; scrollbar-width: none; }
.category-bubbles__rail::-webkit-scrollbar { display: none; }
.category-bubble { flex: 0 0 clamp(94px, 9vw, 132px); display: flex; flex-direction: column; align-items: center; gap: 11px; color: var(--ink); text-align: center; }
.category-bubble:hover { text-decoration: none; }
.category-bubble__image { width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 50%; background: #eef0f3; box-shadow: inset 0 0 0 1px var(--line); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease); }
.category-bubble__image img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: darken; transform: scale(1.16); transition: transform .5s var(--ease-out); }
.category-bubble:hover .category-bubble__image { transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--line), var(--shadow-sm); }
.category-bubble:hover .category-bubble__image img { transform: scale(1.23); }
.category-bubble.is-active .category-bubble__image { box-shadow: 0 0 0 3px var(--white), 0 0 0 5px var(--blue); }
.category-bubble__name { max-width: 12ch; font-size: 15px; font-weight: 500; line-height: 1.3; }

/* ---------- Kippah department hub ---------- */
.kipot-departments { display: grid; gap: clamp(64px, 8vw, 112px); }
.kipot-department { min-width: 0; }
.kipot-department__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 26px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.kipot-department__head h2 { font-size: clamp(28px, 3.5vw, 42px); }
.kipot-department__head p { max-width: 58ch; margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.kipot-department__head .link-more { flex: none; margin-bottom: 3px; }
.kipot-department:nth-child(even) .pcard { background: #f0f4f8; }

@media (max-width: 640px) {
  .kipot-departments { gap: 58px; }
  .kipot-department__head { align-items: flex-start; flex-direction: column; gap: 10px; margin-bottom: 18px; }
  .kipot-department ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 980px) {
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-masthead__copy { width: 58%; }
}
@media (max-width: 680px) {
  .shop-intro { padding-bottom: 30px; }
  .shop-intro__panel { min-height: 200px; align-items: flex-start; background-position: right center; }
  .shop-intro__copy { width: 100%; padding: 18px 22px; }
  .shop-intro .sec-head__title { font-size: clamp(30px, 9vw, 42px); color: var(--ink); text-shadow: 0 1px 3px rgba(255,255,255,.8); }
  .shop-intro .sec-head__lead { max-width: 32ch; margin-top: 8px; color: var(--ink); text-shadow: 0 1px 3px rgba(255,255,255,.8); }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .category-card { min-height: 210px; }
  .category-card__media { min-height: 130px; }
  .category-card__media img { max-height: 140px; }
  .category-card__body { align-items: flex-start; flex-direction: column; gap: 5px; padding: 12px 16px 16px; }
  .category-card__body strong { font-size: 17px; }
  .category-card__body > span { font-size: 13px; }
  .category-masthead__panel { min-height: 200px; align-items: flex-start; background-position: right center; }
  .category-masthead__copy { width: 100%; padding: 18px 22px; }
  .category-masthead__back { margin-bottom: 12px; }
  .category-masthead__copy h1 { font-size: clamp(26px, 8vw, 36px); color: var(--ink); text-shadow: 0 1px 3px rgba(255,255,255,.8); }
  .category-masthead__copy p { max-width: 32ch; margin-top: 8px; font-size: 15px; color: var(--ink); text-shadow: 0 1px 3px rgba(255,255,255,.8); }
  .category-bubbles { padding-bottom: 34px; }
  .category-bubbles h2 { text-align: start; margin-bottom: 18px; }
  .category-bubbles__rail { justify-content: flex-start; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); scroll-snap-type: inline mandatory; overscroll-behavior-inline: contain; }
  .category-bubble { flex-basis: 92px; }
  .category-bubble { scroll-snap-align: start; }
}

.woocommerce-pagination { margin-top: 40px; text-align: center; }
.woocommerce-pagination ul.page-numbers { display: inline-flex; gap: 6px; list-style: none; }
.woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border-radius: var(--pill); color: var(--ink); background: var(--soft); }
.woocommerce-pagination .page-numbers.current { background: var(--ink); color: var(--white); }
.woocommerce-pagination a.page-numbers:hover { background: var(--soft-2); text-decoration: none; }

/* ---------- Prose / pages ---------- */
.page-article .prose, .site-main .prose { max-width: var(--max-text); margin-inline: auto; padding-bottom: clamp(72px, 9vw, 128px); font-size: 19px; line-height: 1.5; }
.prose p { margin-bottom: 1.2em; }
.prose h2 { font-size: 32px; margin: 1.6em 0 0.6em; }
.prose h3 { font-size: 24px; margin: 1.4em 0 0.5em; }
.prose img { border-radius: var(--r); }
.prose .lead { font-size: clamp(22px, 2.6vw, 28px); line-height: 1.3; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; margin-bottom: 1.4em; }
.prose ul, .prose ol { padding-inline-start: 1.2em; margin: 0 0 1.4em; display: grid; gap: 0.5em; }
.prose li { color: var(--ink-2); }
.prose li strong { color: var(--ink); font-weight: 600; }
.prose-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 2em; }
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 0 2.4em; }
.contact-card { display: flex; flex-direction: column; gap: 4px; padding: 26px 24px; background: var(--soft); border-radius: var(--r-lg); color: var(--ink); transition: transform 0.35s var(--ease-out), background 0.2s; }
.contact-card:hover { text-decoration: none; background: #efeff2; transform: translateY(-2px); }
.contact-card__icon { width: 40px; height: 40px; border-radius: 50%; background: var(--white); display: inline-flex; align-items: center; justify-content: center; color: var(--ink); margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.contact-card__icon svg { width: 20px; height: 20px; }
.contact-card__icon--wa { color: var(--green); }
.contact-card__title { font-size: 14px; color: var(--ink-2); }
.contact-card__value { font-size: 21px; font-weight: 600; letter-spacing: -0.01em; }
.contact-card__note { font-size: 14px; color: var(--ink-3); margin-top: 6px; }
@media (max-width: 720px) { .contact-cards { grid-template-columns: 1fr; } }
.prose a:hover { text-decoration: underline; }

/* ---------- Single product ---------- */
.product-main { padding-top: calc(var(--nav-h) + clamp(20px, 3.5vw, 40px)); padding-bottom: clamp(72px, 9vw, 128px); }
.product-back { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px; margin-bottom: clamp(20px, 3vw, 36px); font-size: 15px; color: var(--ink-2); }
.product-back a { color: var(--ink-2); transition: color .2s var(--ease); }
.product-back a:hover { color: var(--ink); text-decoration: underline; }
.product-back__sep { color: var(--ink-2); opacity: .4; }
.product-back__current { color: var(--ink); }
@media (max-width: 640px) { .product-back { margin-bottom: 18px; font-size: 14px; } }
.product-main > .container > .product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.product-main .product-description, .product-main .related-wrap, .product-main .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.product-main .woocommerce-product-gallery { position: relative; width: 100% !important; background: var(--soft); border-radius: var(--r-lg); padding: clamp(20px, 4vw, 48px); float: none; margin: 0; }
.product-main .woocommerce-product-gallery__wrapper { margin: 0; }
.product-main .woocommerce-product-gallery__image { border-radius: var(--r); overflow: hidden; }
.product-main .woocommerce-product-gallery .zoomImg { display: none !important; }
.product-main .woocommerce-product-gallery img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.product-main .woocommerce-product-gallery__trigger { top: 12px; inset-inline-end: 12px; left: auto; right: auto; width: 40px; height: 40px; border-radius: 50%; background: var(--white); box-shadow: var(--shadow-sm); }
.product-main .flex-control-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.product-main .flex-control-thumbs li { width: 76px; }
.product-main .flex-control-thumbs img { width: 76px; height: 76px; aspect-ratio: 1; object-fit: cover; mix-blend-mode: normal; border-radius: var(--r-sm); background: var(--white); cursor: pointer; opacity: 0.55; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); transition: opacity .25s var(--ease), box-shadow .25s var(--ease), transform .25s var(--ease); }
.product-main .flex-control-thumbs img:hover { opacity: 1; transform: translateY(-2px); }
.product-main .flex-control-thumbs img.flex-active { opacity: 1; box-shadow: 0 0 0 2px var(--blue); }
.product-main .summary { float: none; width: 100%; margin: 0; padding-top: 8px; }
.product-kicker { font-size: 15px; color: var(--ink-2); margin-bottom: 10px; }
.product-kicker a { color: inherit; }
.product-main .product_title { font-size: clamp(30px, 4vw, 44px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.08; }
.product-main .summary .price { display: block; margin: 16px 0 0; font-size: 19px; color: var(--ink); font-weight: 500; }
.product-main .summary .price--inquiry { color: var(--ink-2); font-weight: 400; }
.product-main .woocommerce-product-details__short-description { margin-top: 20px; font-size: 19px; line-height: 1.45; color: var(--ink-2); }
.product-main form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.product-main .quantity { display: inline-flex; }
.product-main .quantity .screen-reader-text { position: absolute; }
.product-main .quantity input.qty {
  width: 76px; height: 44px; padding: 0 12px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--pill); background: var(--white);
  -moz-appearance: textfield;
}
.product-main .quantity input.qty::-webkit-outer-spin-button, .product-main .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.product-main .single_add_to_cart_button { flex: 1 1 200px; }

/* ---------- Size selector (Apple-style segmented pills) ---------- */
.product-main .variations,
.product-main .variations tbody,
.product-main .variations tr,
.product-main .variations th,
.product-main .variations td { display: block; width: auto; margin: 0; padding: 0; border: 0; text-align: start; background: none; }
.product-main .variations { flex: 1 1 100%; margin-top: 4px; }
.product-main .variations .label label { display: block; margin-bottom: 12px; font-size: 15px; font-weight: 500; color: var(--ink-2); }
.emunah-size__native { display: none !important; }
.emunah-size__reset { display: inline-block; margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.emunah-size__reset:hover { color: var(--ink-2); }
.emunah-size { display: flex; flex-wrap: wrap; gap: 10px; }
.emunah-size__btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  min-width: 96px; min-height: 60px; padding: 10px 18px; border-radius: var(--r-sm);
  background: var(--white); color: var(--ink); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  transition: box-shadow 0.2s var(--ease), background 0.2s, transform 0.25s var(--ease-out);
}
.emunah-size__btn:hover { box-shadow: inset 0 0 0 1px var(--ink-3); transform: translateY(-1px); }
.emunah-size__btn.is-selected { box-shadow: inset 0 0 0 2px var(--blue); background: var(--blue-soft); }
.emunah-size__label { font-size: 16px; font-weight: 500; letter-spacing: -0.01em; }
.emunah-size__price { font-size: 13px; color: var(--ink-2); }
.emunah-size__btn.is-selected .emunah-size__price { color: var(--blue); }
.product-main .single_variation_wrap { flex: 1 1 100%; }
.product-main .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 4px 0 0; }
.product-main .woocommerce-variation.single_variation { margin-bottom: 16px; }
.product-main .woocommerce-variation-price .price { display: inline-block; font-size: 24px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }
.product-main .woocommerce-variation-description { color: var(--ink-2); font-size: 16px; }
.product-main .woocommerce-variation-add-to-cart.woocommerce-variation-add-to-cart-disabled .single_add_to_cart_button { opacity: 0.4; cursor: not-allowed; }
.product-actions { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.product-note { margin-top: 24px; padding: 18px 20px; background: var(--soft); border-radius: var(--r); font-size: 15px; color: var(--ink-2); line-height: 1.45; }
.product-description { max-width: var(--max-text); margin: clamp(48px, 7vw, 96px) auto 0; font-size: 19px; line-height: 1.5; }
.product-description h2 { font-size: 28px; margin-bottom: 16px; }
.product-description p { margin-bottom: 1.1em; color: var(--ink-2); }
.related.products, .up-sells { margin-top: clamp(64px, 8vw, 120px); }
.related.products > h2, .up-sells > h2 { text-align: start; font-size: clamp(28px, 4vw, 40px); margin-bottom: 28px; }
@media (max-width: 860px) { .product-main > .container > .product { grid-template-columns: 1fr; } }

/* ---------- Cart page ---------- */
.woocommerce-cart .page-article .prose { max-width: calc(820px + var(--gutter) * 2); font-size: 17px; }
.woocommerce-cart .page-hero { padding-bottom: 8px; }
.woocommerce-cart-form { margin-top: 12px; }
table.shop_table { width: 100%; border-collapse: collapse; border: 0; }
table.shop_table thead { display: none; }
table.shop_table tr.woocommerce-cart-form__cart-item { display: grid; grid-template-columns: 88px 1fr auto auto; grid-template-areas: "thumb name qty remove"; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
table.shop_table td { padding: 0; border: 0; background: none; }
table.shop_table .product-thumbnail { grid-area: thumb; }
table.shop_table .product-thumbnail img { width: 88px; height: 88px; object-fit: contain; background: var(--soft); border-radius: var(--r-sm); padding: 8px; }
table.shop_table .product-name { grid-area: name; font-size: 17px; font-weight: 500; }
table.shop_table .product-name a { color: var(--ink); }
table.shop_table .product-price, table.shop_table .product-subtotal { display: none; }
table.shop_table .product-quantity { grid-area: qty; }
table.shop_table .product-quantity .quantity { display: inline-flex; }
table.shop_table .product-quantity input.qty { width: 64px; height: 40px; text-align: center; border: 1px solid var(--line-strong); border-radius: var(--pill); }
table.shop_table .product-remove { grid-area: remove; }
table.shop_table .product-remove a.remove { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: var(--ink-2); font-size: 22px; font-weight: 300; line-height: 1; }
table.shop_table .product-remove a.remove:hover { background: var(--soft-2); color: var(--ink); text-decoration: none; }
table.shop_table tr:last-child td.actions { padding: 20px 0 0; display: flex; justify-content: flex-start; gap: 12px; flex-wrap: wrap; }
table.shop_table .coupon { display: none; }
table.shop_table td.actions .button { background: var(--soft-2); color: var(--ink); }
table.shop_table td.actions .button:hover { background: #dcdce1; }
table.shop_table td.actions .button[disabled] { display: none; }
.cart-collaterals { margin-top: 32px; }
.cart-collaterals .cart_totals { width: 100%; float: none; }
.cart-collaterals .cart_totals h2 { font-size: 24px; margin-bottom: 12px; }
.cart-collaterals .cart_totals table { width: 100%; border-collapse: collapse; }
.cart-collaterals .cart_totals th, .cart-collaterals .cart_totals td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: start; }
.wc-proceed-to-checkout { padding-top: 20px; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 52px; font-size: 19px; }
.cart-empty.woocommerce-info, .woocommerce-cart .return-to-shop { text-align: center; }
.woocommerce-cart .return-to-shop .button { margin-top: 12px; }

.wa-order { margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 4vw, 48px); background: var(--soft); border-radius: var(--r-lg); }
.wa-order__intro { max-width: 540px; margin-bottom: 28px; }
.wa-order__intro .eyebrow { display: none; }
.wa-order__intro h2 { font-size: clamp(26px, 3.5vw, 36px); margin-bottom: 10px; }
.wa-order__intro p { color: var(--ink-2); font-size: 17px; }

/* ---------- Forms ---------- */
.wa-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.wa-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); }
.wa-form label span { padding-inline-start: 4px; }
.wa-form input, .wa-form textarea {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); font-size: 17px; color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.wa-form textarea { resize: vertical; min-height: 96px; }
.wa-form input:focus, .wa-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); outline: none; }
.wa-form__full { grid-column: 1 / -1; }
.wa-form button { grid-column: 1 / -1; justify-self: start; min-width: 220px; }
@media (max-width: 640px) { .wa-form { grid-template-columns: 1fr; } .wa-form button { width: 100%; } }

/* Delivery picker: pickup (free) or home delivery (fee added to the WhatsApp total) */
.wa-delivery { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding: 0; border: 0; min-width: 0; }
.wa-delivery__title { display: block; grid-column: 1 / -1; margin-bottom: 2px; padding-inline-start: 4px; font-size: 14px; color: var(--ink-2); }
.wa-form .wa-delivery__opt {
  position: relative; flex-direction: row; align-items: center; gap: 12px; min-height: 62px; padding: 12px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--white); color: var(--ink); cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.wa-delivery__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.wa-form .wa-delivery__check { flex: none; width: 20px; height: 20px; padding: 0; border-radius: 50%; border: 1.5px solid var(--line-strong); background: var(--white); transition: border-color 0.2s, background 0.2s, box-shadow 0.2s; }
.wa-form .wa-delivery__text { display: flex; flex-direction: column; gap: 2px; padding: 0; }
.wa-delivery__text strong { font-size: 16px; font-weight: 500; line-height: 1.25; }
.wa-delivery__text small { font-size: 14px; color: var(--ink-2); }
.wa-delivery__opt:hover { border-color: rgba(0, 0, 0, 0.28); }
.wa-delivery__opt.is-selected, .wa-delivery__opt:has(input:checked) { border-color: var(--blue); background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue); }
.wa-delivery__opt.is-selected .wa-delivery__check, .wa-delivery__opt:has(input:checked) .wa-delivery__check { border-color: var(--blue); background: var(--blue); box-shadow: inset 0 0 0 4px var(--white); }
.wa-delivery__opt:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--blue-soft); }
.wa-delivery__sum { grid-column: 1 / -1; margin: 0; padding-inline-start: 4px; font-size: 15px; font-weight: 500; color: var(--ink); min-height: 0; }
.wa-delivery__sum:empty { display: none; }
.wa-address[hidden] { display: none; }
.wa-form--drawer .wa-delivery { gap: 8px; }
.wa-form--drawer .wa-delivery__title { font-size: 13px; }
.wa-form--drawer .wa-delivery__opt { min-height: 50px; padding: 8px 12px; gap: 10px; }
.wa-form--drawer .wa-delivery__text strong { font-size: 14px; }
.wa-form--drawer .wa-delivery__text small { font-size: 12px; }
@media (max-width: 380px) { .wa-form--drawer .wa-delivery { grid-template-columns: 1fr; } }

/* ---------- Cart drawer ---------- */
.cart-backdrop { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, 0.32); opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0s 0.3s; }
.cart-backdrop.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.cart-drawer { position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 90; width: min(100%, 440px); padding: 10px; pointer-events: none; }
.cart-drawer[hidden] { display: block; }
.cart-drawer__panel {
  height: 100%; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  transform: translateX(calc(var(--drawer-dir, 1) * 110%)); opacity: 0; transition: transform 0.45s var(--ease-out), opacity 0.3s var(--ease); pointer-events: auto;
}
[dir="rtl"] .cart-drawer__panel { --drawer-dir: -1; }
.cart-drawer.is-open .cart-drawer__panel { transform: none; opacity: 1; }
.cart-drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px 14px; }
.cart-drawer__head h2 { font-size: 24px; letter-spacing: -0.02em; }
.cart-drawer__body { flex: 1; min-height: 0; display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.cart-drawer__body > .cart-empty { margin: auto; padding: 24px; }
.cart-empty { text-align: center; color: var(--ink-2); padding: 48px 0; display: grid; gap: 16px; justify-items: center; }
.drawer-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; padding: 0 24px 12px; }
.drawer-list::-webkit-scrollbar { width: 6px; }
.drawer-list::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, 0.12); border-radius: 3px; }
.drawer-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.drawer-item__media img { width: 72px; height: 72px; object-fit: contain; background: var(--soft); border-radius: var(--r-sm); padding: 6px; }
.drawer-item__info h3 { font-size: 15px; font-weight: 500; line-height: 1.3; margin-bottom: 8px; }
.qty-row { display: inline-flex; align-items: center; gap: 2px; background: var(--soft); border-radius: var(--pill); padding: 2px; }
.qty-row button { width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--ink); transition: background 0.2s; }
.qty-row button:hover { background: var(--white); }
.qty-row span { min-width: 26px; text-align: center; font-size: 15px; font-weight: 500; }
.drawer-item__remove { width: 32px; height: 32px; border-radius: 50%; color: var(--ink-3); font-size: 20px; font-weight: 300; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.drawer-item__remove:hover { background: var(--soft); color: var(--ink); }
.wa-form--drawer { flex: none; margin: 0; padding: 16px 24px 20px; gap: 10px; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); background: var(--white); border-radius: 0 0 var(--r-lg) var(--r-lg); }
.wa-form--drawer label { font-size: 13px; }
.wa-form--drawer input, .wa-form--drawer textarea { min-height: 42px; font-size: 16px; }
.wa-form--drawer textarea { min-height: 56px; }
.wa-form--drawer button { width: 100%; margin-top: 2px; }
@media (max-width: 640px) {
  .cart-drawer { padding: 0; width: 100%; }
  .cart-drawer__panel { border-radius: 0; height: 100dvh; }
  .cart-drawer__head { padding: 16px 20px 10px; }
  .cart-drawer__head h2 { font-size: 21px; }
  .drawer-list { padding: 0 20px 8px; }
  .drawer-item { padding: 10px 0; grid-template-columns: 56px 1fr auto; gap: 12px; }
  .drawer-item__media img { width: 56px; height: 56px; }
  .drawer-item__info h3 { margin-bottom: 4px; }
  .qty-row button { width: 26px; height: 26px; }
  .wa-form--drawer { padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); border-radius: 0; }
  .wa-form--drawer textarea { min-height: 44px; }
}

/* ---------- WooCommerce notices ---------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notices-wrapper > div {
  list-style: none; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--r-sm); background: var(--soft); color: var(--ink); font-size: 15px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
}
.woocommerce-message .button, .woocommerce-info .button { min-height: 34px; padding: 0 14px; font-size: 14px; order: 2; margin-inline-start: auto; }
.woocommerce-error { background: #fff2f2; color: #a11; }
.product-main .woocommerce-notices-wrapper:empty { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 80px) 0 28px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.site-footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.site-footer__brand { max-width: 320px; }
.site-footer__brand .custom-logo { height: 34px; width: auto; }
.site-footer__tagline { margin: 18px 0 20px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.site-footer__wa { background: var(--white); box-shadow: var(--shadow-sm); }
.site-footer__wa:hover { background: var(--white); box-shadow: var(--shadow); }
.site-footer__wa .icon { color: var(--green); }
.site-footer__social { display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer__tiktok { background: var(--white); box-shadow: var(--shadow-sm); }
.site-footer__tiktok:hover { background: var(--white); box-shadow: var(--shadow); }
.site-footer__tiktok .icon { color: var(--ink); }
.site-footer__title { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 14px; }
.site-footer__list { display: flex; flex-direction: column; gap: 10px; list-style: none; }
.site-footer__list a { color: var(--ink-2); font-size: 14px; transition: color 0.2s; }
.site-footer__list a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__muted { color: var(--ink-3); font-size: 13px; max-width: 26ch; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 22px; font-size: 12px; color: var(--ink-3); }
.site-footer__bottom p { margin: 0; }
@media (max-width: 960px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr 1fr; gap: 32px; }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__bottom { flex-direction: column; }
}

/* ---------- WhatsApp floating pill ---------- */
.wa-fab {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 70;
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: var(--pill); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500;
  box-shadow: var(--shadow); transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
[dir="rtl"] .wa-fab { padding: 0 14px 0 18px; }
.wa-fab:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.wa-fab svg { width: 22px; height: 22px; color: var(--green); }
body.cart-open .wa-fab { opacity: 0; pointer-events: none; }

/* ---------- 404 ---------- */
.error-page { padding: calc(var(--nav-h) + clamp(64px, 10vw, 140px)) 0 clamp(72px, 9vw, 128px); text-align: center; }
.error-page .sec-head { margin-bottom: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .picker__img { transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  ul.products { gap: 10px; }
  .tile__body { padding: 4px 20px 20px; }
  .pcard__body { padding: 12px 14px 16px; gap: 4px; }
  .pcard__title { font-size: 16px; line-height: 1.3; }
  .pcard__cat { font-size: 12px; }
  .pcard__foot { gap: 8px; padding-top: 10px; }
  .pcard__foot .button { min-height: 34px; max-width: 100%; padding-inline: 12px; font-size: 14px; white-space: normal; text-align: center; line-height: 1.15; }
  .pcard__price .woocommerce-Price-amount { font-size: 15px; }
  .feature { padding: 28px 24px; }
  .wa-fab span { display: none; }
  .wa-fab { padding: 0 13px; }
  [dir="rtl"] .wa-fab { padding: 0 13px; }
}
