/*
Theme Name: Ahava Shop
Theme URI: https://ahava-bayit.co.il
Author: Ahava Be-Taam Beiti
Description: תבנית בסגנון חנות אונליין עבור "אהבה בטעם ביתי" — קטלוג מנות, סל צד, חוות דעת, מתכונים. בהשראת ריחות וטעמים, פלטה חמה משלנו.
Version: 3.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL v2 or later
Text Domain: ahava
*/

/* ============ FONTS ============
   Fredoka — single Google Font for the entire site (RTL + Hebrew supported). */

/* ============ DESIGN TOKENS ============ */
:root {
  --cream:          #FAF5E9;
  --cream-warm:     #F3EAD3;
  --cream-soft:     #F6EDD8;
  --sage:           #D5DEBA;
  --sage-mid:       #B5C394;
  --sage-dark:      #7A8B5C;
  --terracotta:     #D97842;
  --terracotta-dk:  #B85F2E;
  --olive-deep:     #4A5A30;
  --ink:            #2C2418;
  --text:           #4A3F2A;
  --muted:          #8B7355;
  --line:           #E8DDC2;
  --gold:           #E8B96A;

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 32px;
  --radius-xl: 9999px;

  --container: 1180px;

  --shadow-sm: 0 2px 8px rgba(74, 63, 42, 0.06);
  --shadow:    0 8px 24px rgba(74, 63, 42, 0.10);
  --shadow-lg: 0 24px 48px rgba(74, 63, 42, 0.16);

  --font-sans:   'Fredoka', system-ui, -apple-system, sans-serif;
  --font-serif:  'Fredoka', Georgia, serif;
  --font-script: 'Fredoka', cursive;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  direction: rtl;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); color: var(--ink); line-height: 1.1; font-weight: 700; }

/* ============ LAYOUT ============ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; position: relative; }
.section--tight { padding: 56px 0; }

/* ============ ANNOUNCEMENT BAR ============ */
.announce {
  background: var(--olive-deep);
  color: var(--gold);
  text-align: center;
  font-size: 13px;
  padding: 10px 24px;
  letter-spacing: 0.02em;
}
.announce strong { color: #fff; margin: 0 4px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 245, 233, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, background .2s, padding .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; flex-direction: column; line-height: .95; }
.brand-row1 { font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--ink); }
.brand-row2 { font-family: var(--font-serif); font-weight: 700; font-size: 22px; color: var(--terracotta); }
.main-nav { display: flex; gap: 32px; align-items: center; }
.main-nav a { font-size: 14px; font-weight: 500; color: var(--text); transition: color .2s; }
.main-nav a:hover { color: var(--terracotta); }
.btn-order {
  background: var(--terracotta);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .2s;
  box-shadow: 0 4px 12px rgba(217, 120, 66, 0.3);
}
.btn-order:hover { background: var(--terracotta-dk); transform: scale(0.97); }
.menu-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  padding: 60px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
}
.hero-text { position: relative; z-index: 2; }
.hero-eyebrow {
  font-family: var(--font-script);
  color: var(--terracotta);
  font-size: 28px;
  margin-bottom: 8px;
}
.hero-title {
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.hero-title em {
  font-family: var(--font-script);
  font-style: normal;
  color: var(--terracotta);
  font-weight: 400;
  font-size: 1.05em;
}
.hero-title .underline-word { position: relative; display: inline-block; color: var(--terracotta); }
.hero-title .underline-word svg {
  position: absolute; right: 0; bottom: -10px; width: 100%; height: 12px;
}
.hero-desc { font-size: 17px; color: var(--text); max-width: 460px; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.btn-primary {
  background: var(--olive-deep); color: #fff;
  padding: 16px 30px; border-radius: var(--radius-xl);
  font-size: 15px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 10px;
  transition: transform .15s, background .2s;
  box-shadow: 0 6px 16px rgba(74, 90, 48, 0.25);
}
.btn-primary:hover { background: var(--ink); transform: scale(0.97); }
.hero-link { font-size: 14px; color: var(--text); text-decoration: underline; text-underline-offset: 4px; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat-num { font-family: var(--font-serif); font-size: 32px; color: var(--terracotta); font-weight: 700; line-height: 1; }
.stat-lbl { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Hero image - circular */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 540px;
  margin-right: auto;
}
.hero-circle {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-warm);
  box-shadow: var(--shadow-lg);
}
.hero-circle img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-circle::after {
  content: ""; position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at top, rgba(255,255,255,0.15) 0%, transparent 60%);
}
/* Steam */
.steam {
  position: absolute; top: -8%; right: 25%;
  width: 50%; height: 30%;
  pointer-events: none;
}
.steam path {
  fill: none; stroke: rgba(255, 255, 255, 0.8); stroke-width: 3; stroke-linecap: round;
  animation: steam-rise 4s ease-out infinite;
}
.steam path:nth-child(2) { animation-delay: 1s; }
.steam path:nth-child(3) { animation-delay: 2s; }
@keyframes steam-rise {
  0% { opacity: 0; transform: translateY(10px); }
  30% { opacity: 0.7; }
  100% { opacity: 0; transform: translateY(-30px); }
}

/* New sticker */
.sticker {
  position: absolute; top: -10px; left: -10px;
  width: 110px; height: 110px;
  background: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  font-family: var(--font-script);
  color: var(--ink);
  box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}
.sticker span { font-size: 22px; line-height: 1; }
.sticker span:last-child { font-size: 18px; }
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

/* Quote card */
.hero-quote {
  position: absolute; bottom: 20px; right: -30px;
  background: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 220px;
  z-index: 3;
}
.hero-quote-stars { display: flex; gap: 2px; margin-bottom: 6px; }
.hero-quote-stars span { color: var(--gold); font-size: 14px; }
.hero-quote-text { font-size: 13px; color: var(--ink); font-weight: 500; line-height: 1.4; margin-bottom: 4px; }
.hero-quote-author { font-size: 11px; color: var(--muted); }

/* Hero deco swirl */
.hero-swirl {
  position: absolute; left: -100px; bottom: 60px;
  width: 200px; height: 200px;
  opacity: 0.5;
  pointer-events: none;
}

/* ============ FEATURED DISHES ============ */
.featured {
  padding: 80px 0;
  background: var(--sage);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  position: relative;
}
.featured::before {
  content: ""; position: absolute; top: -1px; right: 0; left: 0; height: 32px;
  background: var(--sage); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.section-head {
  text-align: center; margin-bottom: 56px;
}
.section-eyebrow {
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--olive-deep);
  margin-bottom: 8px;
}
.section-eyebrow::before, .section-eyebrow::after {
  content: "~"; opacity: 0.4; margin: 0 12px; font-size: 0.8em;
}
.section-title {
  font-size: clamp(34px, 4vw, 52px);
  color: var(--ink);
  margin-bottom: 16px;
}
.section-desc {
  font-size: 16px; color: var(--text);
  max-width: 540px; margin: 0 auto;
}

.dishes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}
.dish-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px 24px 28px;
  position: relative;
  text-align: center;
  transition: transform .2s, box-shadow .2s;
}
.dish-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.dish-image {
  width: 200px; height: 200px;
  margin: -60px auto 16px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.dish-image img { width: 100%; height: 100%; object-fit: cover; }
.dish-price {
  position: absolute; top: 0; left: 16px;
  background: var(--terracotta);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transform: rotate(-4deg);
}
.dish-cat {
  font-family: var(--font-script);
  color: var(--terracotta);
  font-size: 20px;
  margin-bottom: 4px;
}
.dish-name { font-size: 22px; margin-bottom: 8px; }
.dish-desc { font-size: 13px; color: var(--muted); margin-bottom: 18px; min-height: 36px; }
.dish-action {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--olive-deep); color: #fff;
  padding: 10px 20px; border-radius: var(--radius-xl);
  font-size: 13px; font-weight: 600;
}

/* ============ STORY ============ */
.story { padding: 100px 0; }
.story-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 60px;
  align-items: center;
}
.story-visual {
  position: relative;
}
.story-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.story-image img { width: 100%; height: 100%; object-fit: cover; }
.story-stamp {
  position: absolute; top: 50%; left: -24px;
  background: var(--terracotta); color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-family: var(--font-script);
  font-size: 22px;
  transform: rotate(-8deg);
  box-shadow: var(--shadow);
}
.story-text { }
.story-text h2 { font-size: clamp(32px, 4vw, 48px); margin-bottom: 24px; }
.story-text h2 em { font-family: var(--font-script); font-style: normal; color: var(--terracotta); font-weight: 400; font-size: 1.15em; }
.story-text p { font-size: 16px; line-height: 1.75; margin-bottom: 16px; }
.story-text p strong { color: var(--ink); }
.story-signature {
  margin-top: 32px; display: flex; align-items: center; gap: 20px;
}
.story-signature .name {
  font-family: var(--font-script);
  font-size: 38px;
  color: var(--terracotta);
  line-height: 1;
}
.story-signature .line { flex: 1; height: 1px; background: var(--line); }
.story-signature .role { font-size: 13px; color: var(--muted); }

/* ============ WEEKLY MENU ============ */
.weekly {
  padding: 90px 0;
  background: var(--olive-deep);
  color: var(--cream);
}
.weekly .section-eyebrow { color: var(--gold); }
.weekly .section-title { color: #fff; }
.weekly .section-title em { font-family: var(--font-script); font-style: normal; color: var(--gold); font-weight: 400; }
.weekly-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: 48px;
  text-align: right;
}
.weekly-head .section-head { text-align: right; margin-bottom: 0; }
.weekly-head .section-eyebrow::before, .weekly-head .section-eyebrow::after { display: none; }
.weekly .btn-cta {
  background: var(--gold); color: var(--olive-deep);
  padding: 14px 24px; border-radius: var(--radius-xl);
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.weekly-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.weekly-card {
  background: rgba(0, 0, 0, 0.18);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform .2s;
}
.weekly-card:hover { transform: translateY(-4px); }
.weekly-card-img { aspect-ratio: 4/3; overflow: hidden; }
.weekly-card-img img { width: 100%; height: 100%; object-fit: cover; }
.weekly-card-num {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--font-serif);
  font-size: 56px; font-weight: 700;
  color: var(--gold);
  opacity: 0.3; line-height: 1;
}
.weekly-card-body { padding: 24px; }
.weekly-card-cat { font-size: 11px; letter-spacing: 0.2em; color: var(--gold); margin-bottom: 8px; text-transform: uppercase; }
.weekly-card-name { color: #fff; font-size: 22px; margin-bottom: 8px; }
.weekly-card-desc { font-size: 14px; opacity: 0.7; margin-bottom: 16px; }
.weekly-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.1);
}
.weekly-card-price { font-family: var(--font-serif); font-size: 20px; font-weight: 700; color: var(--gold); }
.weekly-card-orders { font-size: 12px; opacity: 0.7; }

/* ============ HOW IT WORKS ============ */
.steps { padding: 100px 0; }
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
}
.step { text-align: center; }
.step-num {
  font-family: var(--font-serif);
  font-size: 130px; font-weight: 700;
  color: var(--gold);
  line-height: 1; margin-bottom: 12px;
}
.step h3 { font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--text); }

/* ============ TESTIMONIALS ============ */
.testimonials { padding: 90px 0; background: var(--cream-soft); }
.testi-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
}
.testi-card {
  background: var(--cream); padding: 28px;
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow-sm);
}
.testi-card:nth-child(1) { transform: rotate(-1deg); }
.testi-card:nth-child(3) { transform: rotate(1deg); }
.testi-card::before {
  content: """;
  position: absolute; top: -10px; right: 24px;
  font-family: var(--font-serif);
  font-size: 80px;
  line-height: 1;
  color: var(--terracotta);
  opacity: 0.3;
}
.testi-stars { display: flex; gap: 2px; margin-bottom: 16px; color: var(--gold); }
.testi-text { font-size: 16px; color: var(--ink); margin-bottom: 20px; line-height: 1.6; }
.testi-author { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--line); }
.testi-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--terracotta); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700;
}
.testi-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.testi-area { font-size: 12px; color: var(--muted); }

/* ============ NEWSLETTER ============ */
.newsletter { padding: 90px 0; background: var(--terracotta); color: #fff; text-align: center; }
.newsletter h2 { color: #fff; font-size: clamp(32px, 4vw, 48px); margin-bottom: 12px; }
.newsletter p { font-size: 16px; opacity: 0.92; max-width: 480px; margin: 0 auto 32px; }
.newsletter-form {
  display: flex; gap: 8px; max-width: 480px; margin: 0 auto;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1; min-width: 200px;
  padding: 16px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 14px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form button {
  padding: 16px 28px;
  background: var(--olive-deep); color: #fff;
  border-radius: var(--radius-xl);
  font-weight: 600; font-size: 14px;
}
.newsletter-note { font-size: 12px; opacity: 0.7; margin-top: 16px; }

/* ============ FOOTER ============ */
.site-footer { background: var(--ink); color: var(--cream); padding: 60px 0 30px; position: relative; overflow: hidden; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; margin-bottom: 40px;
}
.footer-brand .brand-row1, .footer-brand .brand-row2 { font-size: 28px; }
.footer-brand .brand-row1 { color: #fff; }
.footer-brand p { font-size: 14px; opacity: 0.7; margin-top: 12px; max-width: 320px; line-height: 1.6; }
.footer-col h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; font-family: var(--font-sans); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; opacity: 0.8; transition: opacity .2s; }
.footer-col a:hover { opacity: 1; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; opacity: 0.8; }
.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; opacity: 0.6; flex-wrap: wrap; gap: 10px;
}
.footer-bottom .heart { font-family: var(--font-script); font-size: 18px; }

/* Palm tree decoration */
.palm {
  position: absolute; bottom: 0; opacity: 0.08; width: 180px; pointer-events: none;
}
.palm-left { left: -20px; }
.palm-right { right: -20px; transform: scaleX(-1); }

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
  .section { padding: 60px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .steps-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .main-nav { display: none; }
  .menu-toggle {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 50%; background: var(--cream-warm);
    color: var(--ink);
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .hero-quote { right: 0; bottom: 0; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 44px; }
  .dish-image { width: 160px; height: 160px; margin-top: -50px; }
  .step-num { font-size: 96px; }
}

/* ============================================================
   FLOATING BUTTONS + CART DRAWER
   ============================================================ */
#ahavaFloaters {
  position: fixed; bottom: 24px; left: 24px; z-index: 60;
  display: flex; flex-direction: column; gap: 12px;
}
.fab {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg); transition: transform .2s, filter .2s;
  position: relative; color: #fff;
}
.fab:hover { transform: scale(1.06); }
.fab-wa { background: #25D366; }
.fab-wa:hover { filter: brightness(1.05); }
.fab-cart { background: var(--olive-deep); }
.fab-cart.has-items { background: var(--terracotta); }
.fab-cart.bump { animation: fabBump .5s ease; }
@keyframes fabBump { 0%,100%{transform:scale(1)} 30%{transform:scale(1.18)} }
.fab-badge {
  position: absolute; top: -4px; right: -4px;
  min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px;
  background: var(--gold); color: var(--ink);
  font-size: 12px; font-weight: 700; font-family: var(--font-sans);
  display: flex; align-items: center; justify-content: center;
  transform: scale(0); transition: transform .2s;
}
.fab-badge.on { transform: scale(1); }

/* Drawer */
.cart-overlay {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(44, 36, 24, 0); transition: background .3s;
  display: flex; justify-content: flex-start;
}
.cart-overlay.show { background: rgba(44, 36, 24, 0.5); }
.cart-drawer {
  width: 400px; max-width: 90vw; height: 100%;
  background: var(--cream); display: flex; flex-direction: column;
  transform: translateX(-100%); transition: transform .3s ease;
  box-shadow: var(--shadow-lg);
}
.cart-overlay.show .cart-drawer { transform: translateX(0); }
.cd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px; border-bottom: 1px solid var(--line);
}
.cd-head h3 { font-family: var(--font-serif); font-size: 22px; color: var(--ink); }
.cd-head button { width: 36px; height: 36px; border-radius: 50%; background: var(--cream-warm); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cd-list { flex: 1; overflow-y: auto; padding: 16px 24px; }
.cd-item { display: flex; gap: 12px; align-items: center; padding: 12px; background: var(--cream-warm); border-radius: var(--radius-sm); margin-bottom: 10px; }
.cd-img { width: 54px; height: 54px; border-radius: var(--radius-sm); object-fit: cover; background: var(--sage); flex-shrink: 0; }
.cd-body { flex: 1; min-width: 0; }
.cd-name { font-weight: 600; font-size: 14px; color: var(--ink); }
.cd-meta { font-size: 12px; color: var(--muted); }
.cd-price { font-family: var(--font-serif); font-weight: 700; font-size: 14px; color: var(--terracotta); margin-top: 2px; }
.cd-qty { display: inline-flex; align-items: center; gap: 5px; padding: 3px; background: var(--cream); border-radius: var(--radius-xl); }
.cd-qty button { width: 26px; height: 26px; border-radius: 50%; background: var(--cream-warm); color: var(--ink); display: flex; align-items: center; justify-content: center; }
.cd-qty button.plus { background: var(--terracotta); color: #fff; }
.cd-val { font-family: var(--font-serif); font-weight: 700; min-width: 18px; text-align: center; font-size: 14px; }
.cd-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cd-empty .cd-sub { font-size: 13px; margin-top: 4px; opacity: .8; }
.cd-foot { padding: 20px 24px; border-top: 1px solid var(--line); }
.cd-total { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cd-total span { color: var(--muted); font-size: 14px; }
.cd-total strong { font-family: var(--font-serif); font-size: 24px; color: var(--ink); }
.cd-checkout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; padding: 16px; border-radius: var(--radius-xl);
  background: var(--terracotta); color: #fff; font-weight: 600; font-size: 15px;
  transition: background .2s;
}
.cd-checkout:hover { background: var(--terracotta-dk); }

/* Add-to-cart feedback */
.dish-action.added, .btn-add.added { background: var(--olive-deep) !important; color: #fff !important; }

@media (max-width: 600px) {
  #ahavaFloaters { bottom: 16px; left: 16px; gap: 10px; }
  .fab { width: 54px; height: 54px; }
}

/* ============================================================
   AHAVA SHOP — Catalog-style overrides (v3)
   ============================================================ */

/* Top utility bar — two catalog CTAs */
.shop-topbar {
  background: var(--olive-deep);
  color: var(--cream);
  font-size: 13px;
}
.shop-topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.shop-topbar-ctas { display: flex; gap: 4px; }
.shop-topbar-ctas a {
  padding: 6px 14px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 12px;
  transition: background .2s;
}
.shop-topbar-ctas a:hover { background: rgba(255,255,255,.1); }
.shop-topbar-ctas a.is-active { background: var(--terracotta); color: #fff; }
.shop-topbar-tag {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--gold);
}

/* Replace existing header */
.shop-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.shop-header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.shop-logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
}
.shop-logo .row1 { display: block; color: var(--ink); }
.shop-logo .row2 { display: block; color: var(--terracotta); }
.shop-nav {
  display: flex;
  gap: 28px;
  justify-content: center;
  font-size: 14px;
}
.shop-nav a {
  color: var(--text);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .2s;
}
.shop-nav a:hover { color: var(--terracotta); }
.shop-nav a::after {
  content: ''; position: absolute; bottom: 0; right: 50%;
  transform: translateX(50%);
  height: 2px; width: 0; background: var(--terracotta);
  transition: width .2s;
}
.shop-nav a:hover::after { width: 100%; }
.shop-icons {
  display: flex; gap: 6px; align-items: center;
}
.shop-icon-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: background .2s, transform .15s;
}
.shop-icon-btn:hover { background: var(--sage); transform: scale(1.05); }
.shop-icon-btn .badge {
  position: absolute; top: -2px; left: -2px;
  background: var(--terracotta); color: #fff;
  min-width: 18px; height: 18px; border-radius: 9px;
  padding: 0 5px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Search modal/inline */
.shop-search {
  display: none;
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
}
.shop-search.open { display: block; }
.shop-search-inner {
  max-width: 720px; margin: 0 auto;
  padding: 16px 24px;
}
.shop-search input {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-xl);
  background: var(--cream);
  border: 2px solid var(--line);
  font-size: 15px;
  outline: none;
  font-family: inherit;
  color: var(--ink);
}
.shop-search input:focus { border-color: var(--terracotta); }

/* Hero / banner — slim and catalog-focused */
.shop-hero {
  background: linear-gradient(180deg, var(--cream-warm) 0%, var(--cream) 100%);
  padding: 56px 0 40px;
  text-align: center;
  position: relative;
}
.shop-hero h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.shop-hero h1 .accent {
  font-family: var(--font-script);
  color: var(--terracotta);
  font-weight: 400;
}
.shop-hero p {
  font-size: 17px; color: var(--text);
  max-width: 540px; margin: 0 auto 24px;
}
.shop-hero-ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.shop-hero-ctas a {
  background: var(--olive-deep); color: var(--cream);
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform .15s, background .2s;
}
.shop-hero-ctas a:first-child {
  background: var(--terracotta);
}
.shop-hero-ctas a:hover { transform: scale(0.97); }

/* 3-column intro cards (story / ingredients / handmade) */
.shop-trios {
  padding: 80px 0;
  background: var(--cream);
}
.shop-trios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.shop-trio {
  text-align: center;
  padding: 20px;
}
.shop-trio-icon {
  width: 88px; height: 88px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sage);
  color: var(--olive-deep);
  display: flex; align-items: center; justify-content: center;
}
.shop-trio h3 {
  font-size: 26px;
  margin-bottom: 12px;
  color: var(--ink);
}
.shop-trio p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.shop-trio-link {
  font-weight: 600;
  color: var(--terracotta);
  font-size: 14px;
  display: inline-flex; align-items: center; gap: 6px;
}
.shop-trio-link:hover { gap: 10px; transition: gap .2s; }

/* Product catalog grid (favorites) */
.shop-catalog {
  padding: 60px 0;
  background: var(--cream-warm);
}
.shop-catalog-head {
  display: flex; align-items: end; justify-content: space-between;
  margin-bottom: 32px; flex-wrap: wrap; gap: 16px;
}
.shop-catalog-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0;
}
.shop-catalog-link {
  font-size: 14px; font-weight: 600; color: var(--terracotta);
  display: inline-flex; gap: 6px; align-items: center;
}

.shop-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.shop-product {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.shop-product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.shop-product-img {
  aspect-ratio: 1;
  background: var(--sage);
  overflow: hidden;
}
.shop-product-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.shop-product:hover .shop-product-img img { transform: scale(1.05); }
.shop-product-fav {
  position: absolute; top: 12px; left: 12px;
  width: 34px; height: 34px;
  background: rgba(255,255,255,.92);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: color .2s, transform .15s;
  z-index: 2;
}
.shop-product-fav:hover { color: var(--terracotta); transform: scale(1.1); }
.shop-product-fav.is-fav { color: var(--terracotta); }
.shop-product-body {
  padding: 14px 16px 16px;
  display: flex; flex-direction: column;
  flex: 1; gap: 6px;
}
.shop-product-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--ink);
  line-height: 1.2;
}
.shop-product-cat {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.shop-product-price-row {
  display: flex; align-items: baseline; gap: 8px;
  margin-top: auto;
  padding-top: 8px;
}
.shop-product-per100 {
  font-size: 12px;
  color: var(--muted);
}
.shop-product-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  color: var(--terracotta);
}
.shop-product-stock {
  font-size: 11px;
  color: var(--olive-deep);
  display: inline-flex; align-items: center; gap: 4px;
}
.shop-product-stock::before {
  content: ''; width: 6px; height: 6px;
  background: var(--olive-deep); border-radius: 50%;
}
.shop-product-stock.low { color: var(--terracotta); }
.shop-product-stock.low::before { background: var(--terracotta); }
.shop-product-add {
  margin-top: 10px;
  background: var(--olive-deep);
  color: #fff;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 13px;
  text-align: center;
  width: 100%;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s;
}
.shop-product-add:hover { background: var(--terracotta); }
.shop-product-add.added { background: var(--sage-dark); color: #fff; }

/* "Day divided" 50/50 split */
.shop-split {
  background: var(--sage);
}
.shop-split-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 360px;
}
.shop-split-visual {
  background-size: cover; background-position: center;
  min-height: 360px;
}
.shop-split-text {
  padding: 60px 40px;
  display: flex; flex-direction: column; justify-content: center;
}
.shop-split-text h2 {
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 16px;
  color: var(--ink);
}
.shop-split-text h2 .accent {
  font-family: var(--font-script);
  color: var(--terracotta);
  font-weight: 400;
}
.shop-split-text p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
}
.shop-split-text a {
  align-self: start;
  background: var(--terracotta); color: #fff;
  padding: 12px 24px; border-radius: var(--radius-xl);
  font-weight: 600; font-size: 14px;
}

/* Events banner */
.shop-events {
  padding: 80px 0;
  background: var(--olive-deep);
  color: var(--cream);
  text-align: center;
  background-image: radial-gradient(circle at 80% 20%, rgba(232,185,106,0.08) 0, transparent 50%);
}
.shop-events h2 {
  color: #fff;
  font-size: clamp(32px, 4vw, 48px);
  margin-bottom: 8px;
}
.shop-events-eyebrow {
  color: var(--gold);
  font-family: var(--font-script);
  font-size: 24px;
  margin-bottom: 8px;
}
.shop-events p {
  max-width: 640px; margin: 16px auto 28px;
  font-size: 16px; line-height: 1.7;
  color: rgba(250, 245, 233, .85);
}
.shop-events a {
  background: var(--terracotta); color: #fff;
  padding: 14px 28px; border-radius: var(--radius-xl);
  font-weight: 600; font-size: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}

/* Recipes grid */
.shop-recipes {
  padding: 80px 0;
  background: var(--cream);
}
.shop-recipes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.shop-recipe {
  display: flex; flex-direction: column;
  transition: transform .2s;
}
.shop-recipe:hover { transform: translateY(-3px); }
.shop-recipe-img {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--sage);
}
.shop-recipe-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.shop-recipe:hover .shop-recipe-img img { transform: scale(1.05); }
.shop-recipe-date { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.shop-recipe h3 {
  font-size: 18px;
  color: var(--ink);
  line-height: 1.3;
}

/* Testimonials — clean list */
.shop-reviews {
  padding: 80px 0;
  background: var(--cream-warm);
}
.shop-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.shop-review {
  background: var(--cream);
  padding: 24px 22px;
  border-radius: var(--radius);
  position: relative;
}
.shop-review::before {
  content: '"';
  position: absolute;
  top: 8px; right: 16px;
  font-family: var(--font-serif);
  font-size: 72px; line-height: 1;
  color: var(--sage); opacity: .6;
}
.shop-review-author {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 17px;
  color: var(--terracotta);
  margin-bottom: 4px;
  position: relative;
}
.shop-review-date {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
}
.shop-review-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* Contact form */
.shop-contact {
  padding: 80px 0;
  background: var(--cream);
}
.shop-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.shop-contact-image {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sage);
}
.shop-contact-image img { width: 100%; height: 100%; object-fit: cover; }
.shop-contact-text h2 {
  font-size: clamp(32px, 4vw, 44px);
  margin-bottom: 16px;
}
.shop-contact-text p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.6;
}
.shop-contact-form {
  display: grid;
  gap: 12px;
}
.shop-contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.shop-contact-form input, .shop-contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--line);
  background: var(--cream-warm);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  color: var(--ink);
}
.shop-contact-form input:focus, .shop-contact-form textarea:focus { border-color: var(--terracotta); }
.shop-contact-form textarea { resize: vertical; min-height: 100px; }
.shop-contact-form button {
  margin-top: 4px;
  padding: 14px;
  background: var(--terracotta);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-xl);
  font-size: 15px;
  transition: background .2s;
}
.shop-contact-form button:hover { background: var(--terracotta-dk); }

/* Footer — 3 column with two locations */
.shop-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 28px;
}
.shop-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 32px;
}
.shop-footer h4 {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.shop-footer ul { list-style: none; }
.shop-footer ul li { margin-bottom: 10px; }
.shop-footer ul a {
  color: rgba(250, 245, 233, .8);
  font-size: 14px;
  transition: color .2s;
}
.shop-footer ul a:hover { color: var(--gold); }
.shop-footer-locations { display: grid; gap: 14px; font-size: 14px; }
.shop-footer-loc strong {
  display: block;
  color: #fff;
  margin-bottom: 4px;
  font-size: 15px;
}
.shop-footer-loc a {
  color: var(--gold);
  font-weight: 600;
}
.shop-footer-loc .hours {
  margin-top: 4px;
  color: rgba(250, 245, 233, .6);
  font-size: 12px;
}
.shop-footer-bottom {
  border-top: 1px solid rgba(250, 245, 233, .1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: rgba(250, 245, 233, .5);
}

/* Responsive */
@media (max-width: 900px) {
  .shop-header-inner { grid-template-columns: auto 1fr; }
  .shop-nav { display: none; }
  .shop-trios-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-split-grid { grid-template-columns: 1fr; }
  .shop-split-visual { min-height: 240px; }
  .shop-contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .shop-footer-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 600px) {
  .shop-topbar-inner { justify-content: center; }
  .shop-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .shop-product-name { font-size: 15px; }
  .shop-product-price { font-size: 18px; }
}

/* In shop variant, hide the cart fab — we use the header cart icon instead. Keep the WhatsApp fab. */
#ahavaFloaters .fab-cart { display: none; }

/* ============================================================
   v3.1 — Additional sections
   ============================================================ */

/* 4-col USPs (instead of 3) */
.shop-trios-grid.shop-trios-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .shop-trios-grid.shop-trios-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .shop-trios-grid.shop-trios-4 { grid-template-columns: 1fr; } }

/* Specials — 3 image cards */
.shop-specials {
  padding: 80px 0;
  background: var(--sage);
}
.shop-specials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.shop-special {
  text-align: center;
}
.shop-special-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--cream-warm);
  max-width: 260px;
  margin-left: auto;
  margin-right: auto;
}
.shop-special-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-special h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: var(--ink);
}
.shop-special p {
  font-size: 14px;
  color: var(--text);
  max-width: 320px;
  margin: 0 auto;
}
@media (max-width: 700px) { .shop-specials-grid { grid-template-columns: 1fr; gap: 32px; } }

/* About section */
.shop-about {
  padding: 80px 0;
  background: var(--cream);
  text-align: center;
}
.shop-about-inner {
  max-width: 760px;
  margin: 0 auto;
}
.shop-about h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 24px;
}
.shop-about-lead {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 32px;
}
.shop-about h3 {
  font-size: 22px;
  color: var(--terracotta);
  margin-bottom: 14px;
  font-weight: 600;
}
.shop-about p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
}

/* ============================================================
   v3.2 — Full catalog page (menu tabs + category sections)
   ============================================================ */
.shop-catalog-page {
  background: var(--cream);
  padding-bottom: 80px;
}

/* Menu tabs strip — sticky */
.shop-menu-tabs-wrap {
  background: var(--olive-deep);
  position: sticky;
  top: 0;
  z-index: 40;
}
.shop-menu-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.shop-menu-tabs::-webkit-scrollbar { display: none; }
.shop-menu-tab {
  flex: 1;
  min-width: 160px;
  padding: 18px 20px;
  text-align: center;
  color: rgba(250, 245, 233, .7);
  border-bottom: 3px solid transparent;
  transition: all .2s;
  white-space: nowrap;
}
.shop-menu-tab:hover { color: var(--cream); background: rgba(0,0,0,0.15); }
.shop-menu-tab.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(0,0,0,0.2);
}
.shop-menu-tab .t-name {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 2px;
}
.shop-menu-tab .t-count {
  display: block;
  font-size: 12px;
  opacity: .8;
}

/* Menu head */
.shop-menu-head {
  padding: 40px 0 20px;
  text-align: center;
}
.shop-menu-head h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 6px;
  color: var(--ink);
}
.shop-menu-head p {
  color: var(--muted);
  font-size: 15px;
}

/* Category pill nav */
.shop-cat-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 24px;
  scrollbar-width: none;
}
.shop-cat-nav::-webkit-scrollbar { display: none; }
.shop-cat-pill {
  background: var(--cream-warm);
  padding: 8px 16px;
  border-radius: var(--radius-xl);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
  border: 2px solid transparent;
  transition: all .15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.shop-cat-pill:hover { border-color: var(--terracotta); }
.shop-cat-pill span {
  background: var(--olive-deep);
  color: var(--cream);
  padding: 2px 7px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}

/* Category section */
.shop-cat-section {
  padding: 30px 0;
  scroll-margin-top: 100px;
}
.shop-cat-section + .shop-cat-section { border-top: 1px solid var(--line); }
.shop-cat-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
}
.shop-cat-section-head h2 {
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
}
.shop-cat-count {
  color: var(--muted);
  font-size: 14px;
}

/* Product description on full catalog */
.shop-product-desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* Empty state */
.shop-empty {
  text-align: center;
  padding: 80px 20px;
}
.shop-empty p { font-size: 17px; color: var(--ink); margin-bottom: 6px; }
.shop-empty p.muted { color: var(--muted); font-size: 14px; }

/* ============================================================
   v3.7 — Single product page + Mobile fixes
   ============================================================ */

/* ---- Single product ---- */
.sp-page { padding: 30px 0 80px; }
.sp-crumbs {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.sp-crumbs a { color: var(--text); }
.sp-crumbs a:hover { color: var(--terracotta); }
.sp-crumbs .current { color: var(--ink); font-weight: 600; }
.sp-crumbs span { color: var(--muted); }

.sp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.sp-media { position: sticky; top: 100px; }
.sp-image-main {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-warm);
  aspect-ratio: 1;
  max-width: 520px;
}
.sp-image-main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sp-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.sp-thumb {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: var(--cream-warm);
  padding: 0;
  transition: border-color .15s;
}
.sp-thumb.is-active { border-color: var(--terracotta); }
.sp-thumb img { width: 100%; height: 100%; object-fit: cover; }

.sp-info { padding-top: 8px; }
.sp-cat {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--terracotta);
  background: var(--cream-warm);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: 14px;
}
.sp-title {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  margin-bottom: 14px;
  color: var(--ink);
}
.sp-short {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}
.sp-price-block {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.sp-per100 {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 2px;
}
.sp-price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 32px;
  color: var(--terracotta);
  line-height: 1.1;
}
.sp-price del { color: var(--muted); font-size: 70%; font-weight: 400; margin-left: 8px; }
.sp-stock {
  margin-bottom: 18px;
  font-size: 14px;
}
.sp-stock .is-ok { color: var(--olive-deep); font-weight: 600; }
.sp-stock .is-low { color: var(--terracotta); font-weight: 600; }
.sp-stock .is-out { color: #999; font-weight: 600; }

.sp-add-form {
  display: flex;
  gap: 10px;
  align-items: stretch;
  margin-bottom: 24px;
}
.sp-qty {
  display: flex;
  align-items: stretch;
  background: var(--cream-warm);
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: 4px;
}
.sp-qty-btn {
  width: 36px;
  background: transparent;
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  border-radius: 50%;
  cursor: pointer;
  border: 0;
  transition: background .15s;
}
.sp-qty-btn:hover { background: var(--cream); }
.sp-qty-input {
  width: 50px;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-serif);
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  -moz-appearance: textfield;
}
.sp-qty-input::-webkit-outer-spin-button,
.sp-qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.sp-add-btn {
  flex: 1;
  background: var(--terracotta);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 15px;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background .2s;
}
.sp-add-btn:hover { background: var(--terracotta-dk); }

.sp-meta {
  font-size: 13px;
  color: var(--text);
  line-height: 1.8;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.sp-meta strong { color: var(--ink); }
.sp-meta a { color: var(--terracotta); }

.sp-description {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.sp-description h2 { font-size: 24px; margin-bottom: 16px; color: var(--ink); }
.sp-description-content {
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  max-width: 700px;
}

.sp-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.sp-related h2 { font-size: 24px; margin-bottom: 24px; color: var(--ink); }

/* ---- Mobile improvements ---- */
@media (max-width: 900px) {
  .sp-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .sp-media { position: static; }
  .sp-image-main { max-width: 100%; }
  .sp-title { font-size: 26px; }
  .sp-price { font-size: 28px; }
}
@media (max-width: 600px) {
  .sp-page { padding: 16px 0 60px; }
  .sp-crumbs { font-size: 12px; }
  .sp-add-form { flex-direction: column; }
  .sp-qty { align-self: start; }
  .sp-add-btn { width: 100%; }

  /* Catalog grid: 2 cols on mobile */
  .shop-products { grid-template-columns: repeat(2, 1fr) !important; gap: 10px; }
  .shop-product-img { aspect-ratio: 1; }
  .shop-product-body { padding: 10px 12px 12px; }
  .shop-product-name { font-size: 14px; }
  .shop-product-price { font-size: 18px; }
  .shop-product-per100 { font-size: 11px; }
  .shop-product-add { padding: 8px; font-size: 12px; }

  /* Menu tabs: tighter on mobile */
  .shop-menu-tab { min-width: 120px; padding: 14px 12px; }
  .shop-menu-tab .t-name { font-size: 15px; }
  .shop-menu-tab .t-count { font-size: 11px; }

  /* Topbar: stack cleanly */
  .shop-topbar-inner { flex-direction: column; gap: 6px; padding: 8px 16px; }
  .shop-topbar-tag { font-size: 12px; }

  /* Header */
  .shop-header-inner { padding: 12px 16px; }
  .shop-logo { font-size: 18px; }
  .shop-icon-btn { width: 36px; height: 36px; }

  /* Sections */
  .section { padding: 40px 0; }
  .container { padding: 0 16px; }
  .shop-trios { padding: 50px 0; }
  .shop-catalog { padding: 50px 0; }
  .shop-trios-grid.shop-trios-4 { grid-template-columns: 1fr; gap: 24px; }

  /* Hero */
  .shop-hero { padding: 32px 0 24px; }
  .shop-hero h1 { font-size: 32px; }
  .shop-hero p { font-size: 15px; }
  .shop-hero-ctas a { padding: 11px 18px; font-size: 13px; }

  /* Footer */
  .shop-footer { padding: 40px 0 20px; }
  .shop-footer-grid { grid-template-columns: 1fr; gap: 24px; }

  /* Cart drawer takes more width on mobile */
  .cart-drawer { width: 100%; max-width: 100%; }
}

/* ---- Admin: hide some default WC product columns ---- */
/* (PHP filter handles this) */

/* ============================================================
   v3.8 — Cart drawer (WC mini-cart) + Carousel + BG image fixes
   ============================================================ */

/* ---- Cart drawer (overrides v3.x localStorage version) ---- */
#ahavaCartOverlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(44, 36, 24, 0);
  visibility: hidden; opacity: 0;
  transition: background .3s, opacity .3s, visibility 0s .3s;
}
#ahavaCartOverlay.show {
  background: rgba(44, 36, 24, 0.55);
  visibility: visible; opacity: 1;
  transition: background .3s, opacity .3s, visibility 0s 0s;
}
#ahavaCartDrawer {
  position: fixed; top: 0; bottom: 0; left: 0;
  width: 420px; max-width: 92vw;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(-105%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: 0 0 60px rgba(0,0,0,.2);
}
#ahavaCartOverlay.show #ahavaCartDrawer { transform: translateX(0); }

#ahavaCartDrawer .cd-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
#ahavaCartDrawer .cd-head h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--ink);
  margin: 0;
}
#ahavaCartDrawer .cd-close {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  border: 0; cursor: pointer;
  transition: background .15s;
}
#ahavaCartDrawer .cd-close:hover { background: var(--sage); }

#ahavaCartDrawer .cd-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 24px;
}

/* ---- WC mini-cart inside drawer ---- */
.cd-body .woocommerce-mini-cart {
  list-style: none;
  padding: 0; margin: 0;
}
.cd-body .woocommerce-mini-cart__empty-message {
  text-align: center;
  color: var(--muted);
  padding: 60px 20px;
  font-size: 16px;
}
.cd-body .mini_cart_item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  margin-bottom: 10px;
  background: var(--cream-warm);
  border-radius: var(--radius-sm);
  position: relative;
}
.cd-body .mini_cart_item a:not(.remove) {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.cd-body .mini_cart_item img {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.cd-body .quantity {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.cd-body .quantity .woocommerce-Price-amount {
  font-family: var(--font-serif);
  font-weight: 700;
  color: var(--terracotta);
  font-size: 14px;
}
.cd-body a.remove {
  position: absolute;
  top: 8px; left: 8px;
  width: 24px; height: 24px;
  background: rgba(0,0,0,0.05);
  color: var(--muted) !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
  transition: all .15s;
}
.cd-body a.remove:hover {
  background: var(--terracotta);
  color: #fff !important;
}
.cd-body .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin: 16px 0 0;
  border-top: 2px solid var(--line);
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--ink);
}
.cd-body .woocommerce-mini-cart__total strong {
  font-weight: 600;
}
.cd-body .woocommerce-mini-cart__total .woocommerce-Price-amount {
  font-size: 24px;
  font-weight: 700;
  color: var(--terracotta);
}
.cd-body .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
}
.cd-body .woocommerce-mini-cart__buttons .button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 14px 20px !important;
  border-radius: var(--radius-xl) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-align: center;
  border: 0 !important;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}
.cd-body .woocommerce-mini-cart__buttons .button:not(.checkout) {
  background: var(--cream-warm) !important;
  color: var(--ink) !important;
}
.cd-body .woocommerce-mini-cart__buttons .button:not(.checkout):hover {
  background: var(--sage) !important;
}
.cd-body .woocommerce-mini-cart__buttons .button.checkout,
.cd-body .woocommerce-mini-cart__buttons .wc-forward {
  background: var(--terracotta) !important;
  color: #fff !important;
}
.cd-body .woocommerce-mini-cart__buttons .button.checkout:hover {
  background: var(--terracotta-dk) !important;
}
.cd-body .total small {
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
  display: block;
}

/* Header cart bump animation */
#shopCartBtn { transition: transform .2s; }
#shopCartBtn.bump { animation: cartBump .5s ease; }
#shopCartBtn.has-items { background: var(--terracotta); color: #fff; }
@keyframes cartBump {
  0%, 100% { transform: scale(1); }
  30% { transform: scale(1.2); }
}

/* ---- Carousel: horizontal scroll for featured products ---- */
.shop-products--carousel {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 20px;
  margin: 0 -4px;
  scrollbar-width: thin;
  scrollbar-color: var(--terracotta) transparent;
}
.shop-products--carousel::-webkit-scrollbar { height: 8px; }
.shop-products--carousel::-webkit-scrollbar-track { background: var(--cream-warm); border-radius: 4px; }
.shop-products--carousel::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 4px; }
.shop-products--carousel .shop-product {
  flex: 0 0 240px;
  scroll-snap-align: start;
}
@media (max-width: 600px) {
  .shop-products--carousel .shop-product { flex: 0 0 180px; }
}

/* ---- Background image fixes ---- */
.shop-split-visual {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--sage); /* fallback so it doesn't look empty */
  min-height: 360px;
}
.shop-special-img img,
.shop-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.shop-special-img,
.shop-contact-image {
  background: var(--sage); /* fallback */
}

/* Hero image (optional — shown if hero_image is set) */
.shop-hero.has-bg {
  background: linear-gradient(180deg, rgba(250,245,233,.88) 0%, rgba(250,245,233,.95) 100%), var(--bg-img) center/cover no-repeat;
}

/* ============================================================
   v3.9 — Hero v2 / Touching v2 / Cart fix / Auto-scroll carousel
   ============================================================ */

/* ---- HERO v2: 2-column, full bleed image, no overlay ---- */
.shop-hero {
  padding: 0;
  background: var(--cream);
  overflow: hidden;
  text-align: right;
}
.shop-hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  min-height: 540px;
  max-width: 100%;
}
.shop-hero.has-image .shop-hero-inner {
  grid-template-columns: 1fr 1fr;
}
.shop-hero-text {
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: right;
}
.shop-hero-text h1 {
  font-size: clamp(36px, 5vw, 60px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.shop-hero-text p {
  font-size: 17px;
  color: var(--text);
  max-width: 520px;
  margin: 0 0 28px;
  line-height: 1.65;
}
.shop-hero-text .shop-hero-ctas {
  justify-content: flex-start;
}
.shop-hero-image {
  position: relative;
  min-height: 540px;
  overflow: hidden;
}
.shop-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
}
/* Remove the old gradient overlay */
.shop-hero.has-bg { background: var(--cream); }
.shop-hero.has-bg::before, .shop-hero.has-bg::after { display: none; }

@media (max-width: 900px) {
  .shop-hero.has-image .shop-hero-inner {
    grid-template-columns: 1fr;
  }
  .shop-hero-image {
    order: -1;
    min-height: 280px;
    aspect-ratio: 16/9;
  }
  .shop-hero-text {
    padding: 40px 24px 50px;
    text-align: center;
  }
  .shop-hero-text .shop-hero-ctas {
    justify-content: center;
  }
}

/* ---- TOUCHING SECTION v2: big, impressive image ---- */
.shop-split {
  background: var(--sage);
  overflow: hidden;
}
.shop-split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 560px;
  max-width: 100%;
  margin: 0;
}
.shop-split-visual {
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 560px;
  height: 100%;
}
.shop-split-text {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) {
  .shop-split-grid { grid-template-columns: 1fr; min-height: auto; }
  .shop-split-visual { min-height: 320px; aspect-ratio: 16/9; }
  .shop-split-text { padding: 40px 24px; }
}

/* ============================================================
   CART DRAWER v2 — Compact items, buttons always visible
   ============================================================ */

#ahavaCartDrawer { padding: 0; }
#ahavaCartDrawer .cd-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

/* WC mini-cart structure inside drawer */
.cd-body .woocommerce-mini-cart {
  flex: 1 1 auto;
  overflow-y: auto;
  list-style: none;
  padding: 16px 20px !important;
  margin: 0 !important;
}
.cd-body .woocommerce-mini-cart__empty-message {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  padding: 40px 20px;
}

/* Each cart item — COMPACT */
.cd-body .mini_cart_item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 10px !important;
  margin: 0 0 8px 0 !important;
  background: var(--cream-warm) !important;
  border-radius: 12px !important;
  border: 0 !important;
  position: relative !important;
  list-style: none !important;
  font-size: 13px !important;
  line-height: 1.4 !important;
}
.cd-body .mini_cart_item::before, .cd-body .mini_cart_item::after { display: none !important; }

/* Force small product image */
.cd-body .mini_cart_item a img,
.cd-body .mini_cart_item img.attachment-woocommerce_thumbnail,
.cd-body .mini_cart_item .attachment-woocommerce_gallery_thumbnail,
.cd-body .mini_cart_item img {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
  float: none !important;
}
/* Product link */
.cd-body .mini_cart_item a:not(.remove) {
  flex: 1 1 auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  text-decoration: none !important;
  color: var(--ink) !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
  padding: 0 !important;
  min-width: 0 !important;
}
/* Quantity + price */
.cd-body .mini_cart_item .quantity {
  display: block !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--muted) !important;
  margin-top: 2px !important;
}
.cd-body .mini_cart_item .quantity .woocommerce-Price-amount {
  font-family: var(--font-serif) !important;
  font-weight: 700 !important;
  color: var(--terracotta) !important;
  font-size: 14px !important;
  margin-right: 4px;
}

/* Remove (x) button */
.cd-body .mini_cart_item a.remove,
.cd-body .mini_cart_item a.remove_from_cart_button {
  position: absolute !important;
  top: 6px !important;
  left: 6px !important;
  width: 22px !important;
  height: 22px !important;
  background: rgba(0,0,0,0.06) !important;
  color: var(--muted) !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  line-height: 1 !important;
  transition: all .15s !important;
  margin: 0 !important;
  padding: 0 !important;
}
.cd-body .mini_cart_item a.remove:hover {
  background: var(--terracotta) !important;
  color: #fff !important;
}

/* Total + Buttons — ALWAYS VISIBLE at bottom */
.cd-body .woocommerce-mini-cart__total,
.cd-body p.total {
  flex-shrink: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 20px !important;
  margin: 0 !important;
  background: var(--cream-warm) !important;
  border-top: 1px solid var(--line) !important;
  font-family: var(--font-serif) !important;
  font-size: 16px !important;
  color: var(--ink) !important;
}
.cd-body .woocommerce-mini-cart__total .woocommerce-Price-amount,
.cd-body p.total .woocommerce-Price-amount {
  font-size: 22px !important;
  font-weight: 700 !important;
  color: var(--terracotta) !important;
}

.cd-body .woocommerce-mini-cart__buttons,
.cd-body p.buttons,
.cd-body p.woocommerce-mini-cart__buttons {
  flex-shrink: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 16px 20px !important;
  margin: 0 !important;
  background: var(--cream) !important;
  border-top: 1px solid var(--line) !important;
}
.cd-body .woocommerce-mini-cart__buttons a,
.cd-body p.buttons a,
.cd-body p.woocommerce-mini-cart__buttons a {
  display: block !important;
  width: 100% !important;
  padding: 14px 20px !important;
  border-radius: 9999px !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  text-align: center !important;
  text-decoration: none !important;
  background: var(--cream-warm) !important;
  color: var(--ink) !important;
  border: 0 !important;
  cursor: pointer;
  transition: background .2s, transform .15s !important;
  box-shadow: none !important;
}
.cd-body .woocommerce-mini-cart__buttons a:hover,
.cd-body p.buttons a:hover {
  background: var(--sage) !important;
}
.cd-body .woocommerce-mini-cart__buttons a.checkout,
.cd-body p.buttons a.checkout,
.cd-body p.woocommerce-mini-cart__buttons a.checkout {
  background: var(--terracotta) !important;
  color: #fff !important;
}
.cd-body .woocommerce-mini-cart__buttons a.checkout:hover {
  background: var(--terracotta-dk) !important;
}

/* Fallback footer (always visible custom action) */
.cd-fallback-foot {
  flex-shrink: 0;
  padding: 12px 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--cream);
  border-top: 1px solid var(--line);
}
.cd-fallback-foot a {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background .2s;
}
.cd-fallback-foot .cd-view-cart { background: var(--cream-warm); color: var(--ink); }
.cd-fallback-foot .cd-view-cart:hover { background: var(--sage); }
.cd-fallback-foot .cd-checkout { background: var(--terracotta); color: #fff; }
.cd-fallback-foot .cd-checkout:hover { background: var(--terracotta-dk); }

/* ============================================================
   v3.10 — Full-width hero + touching, seamless carousel, custom cart
   ============================================================ */

/* ---- HERO: full-width bg image, text centered ---- */
.shop-hero {
  padding: 0;
  min-height: 600px;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.shop-hero.has-image {
  background-image: var(--hero-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: var(--cream-warm);
}
.shop-hero-content {
  max-width: 720px;
  padding: 60px 24px;
  position: relative;
  z-index: 2;
}
.shop-hero-content h1 {
  font-size: clamp(36px, 6vw, 64px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.shop-hero-content p {
  font-size: 17px;
  color: var(--text);
  margin: 0 auto 28px;
  max-width: 560px;
  line-height: 1.65;
}
.shop-hero-ctas {
  justify-content: center;
  gap: 12px;
  display: flex;
  flex-wrap: wrap;
}
@media (max-width: 700px) {
  .shop-hero { min-height: 480px; }
  .shop-hero-content { padding: 40px 20px; }
}

/* ---- TOUCHING: full-width bg image, centered text ---- */
.shop-touching {
  padding: 0;
  min-height: 500px;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.shop-touching.has-image {
  background-image: var(--touching-bg);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.shop-touching-content {
  max-width: 720px;
  padding: 60px 30px;
  background: rgba(250, 245, 233, 0.92);
  border-radius: var(--radius);
  margin: 20px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.shop-touching-content h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 16px;
  color: var(--ink);
}
.shop-touching-content p {
  font-size: 16px;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.7;
}
.shop-touching-content a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--terracotta);
  color: #fff;
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.shop-touching-content a:hover { background: var(--terracotta-dk); }
@media (max-width: 700px) {
  .shop-touching { min-height: 420px; }
  .shop-touching-content { padding: 30px 20px; margin: 12px; }
}

/* ---- CAROUSEL: pure CSS seamless scroll ---- */
.shop-carousel {
  overflow: hidden;
  position: relative;
  padding: 4px 0;
  direction: ltr; /* internal LTR so translateX works predictably */
}
.shop-carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: ahava-carousel 50s linear infinite;
}
.shop-carousel:hover .shop-carousel-track,
.shop-carousel:focus-within .shop-carousel-track { animation-play-state: paused; }
.shop-carousel .shop-product {
  flex: 0 0 240px;
  direction: rtl; /* content stays RTL */
}
@keyframes ahava-carousel {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .shop-carousel .shop-product { flex: 0 0 200px; }
  .shop-carousel-track { animation-duration: 40s; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-carousel-track { animation: none; }
  .shop-carousel { overflow-x: auto; }
}

/* ---- CUSTOM CART DRAWER ---- */
.ahava-cart-content { display: flex; flex-direction: column; }

.cd-empty {
  padding: 60px 24px;
  text-align: center;
  color: var(--muted);
}
.cd-empty-icon { font-size: 56px; margin-bottom: 12px; opacity: .6; }
.cd-empty-title { font-family: var(--font-serif); font-size: 20px; color: var(--ink); font-weight: 700; }
.cd-empty-sub { font-size: 13px; margin-top: 4px; margin-bottom: 24px; }
.cd-empty-link {
  display: inline-block;
  background: var(--terracotta);
  color: #fff;
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}

.cd-list {
  list-style: none;
  padding: 16px 20px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  overflow-y: auto;
}
.cd-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 10px !important;
  background: var(--cream-warm);
  border-radius: 12px;
  position: relative;
}
.cd-item-img {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--sage);
  display: block;
}
.cd-item-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.cd-item-body {
  flex: 1;
  min-width: 0;
  padding-right: 18px;
}
.cd-item-name {
  display: block;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.cd-item-name:hover { color: var(--terracotta); }
.cd-item-meta {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 4px;
  align-items: baseline;
}
.cd-item-total {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 14px;
  color: var(--terracotta);
  margin-top: 2px;
}
.cd-item-remove {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0,0,0,0.06);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  transition: all .15s;
}
.cd-item-remove:hover {
  background: var(--terracotta);
  color: #fff;
}

.cd-summary {
  padding: 14px 20px;
  background: var(--cream-warm);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.cd-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--ink);
}
.cd-summary-row strong {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--terracotta);
  font-weight: 700;
}

/* Hide legacy WC mini-cart styles (v3.8 overrides) so custom render is clean */
.cd-body .woocommerce-mini-cart,
.cd-body .woocommerce-mini-cart__total,
.cd-body .woocommerce-mini-cart__buttons { display: none !important; }

/* Footer social */
.shop-footer-social { display: flex; gap: 10px; margin-top: 8px; }
.shop-footer-social a {
  font-size: 12px;
  color: var(--gold);
  padding: 4px 10px;
  border: 1px solid rgba(232, 185, 106, 0.35);
  border-radius: 9999px;
}

/* ============================================================
   v3.12 — Floating WhatsApp + Cart WhatsApp button
   ============================================================ */
.ahava-fab-wa {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 9998;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.ahava-fab-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
  color: #fff !important;
}
.ahava-fab-wa::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.35);
  animation: fabPulse 2s ease-out infinite;
  z-index: -1;
}
@keyframes fabPulse {
  0% { transform: scale(0.9); opacity: 0.7; }
  100% { transform: scale(1.5); opacity: 0; }
}
@media (max-width: 600px) {
  .ahava-fab-wa { bottom: 16px; left: 16px; width: 52px; height: 52px; }
}

/* WhatsApp order button in cart drawer */
.cd-fallback-foot .cd-whatsapp {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366 !important;
  color: #fff !important;
  padding: 14px 20px;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: filter .2s;
}
.cd-fallback-foot .cd-whatsapp:hover { filter: brightness(1.05); }


/* ============ נפח אריזה — בחירת וריאציה (נוסף) ============ */
.shop-product-vol {
  width: 100%;
  margin: 8px 0 4px;
  padding: 9px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
}
.shop-product-vol:focus { outline: none; border-color: var(--terracotta); }

.sp-variable-wrap { margin-bottom: 8px; }
.sp-variable-wrap .variations { width: 100%; border-collapse: collapse; margin-bottom: 16px; }
.sp-variable-wrap .variations th,
.sp-variable-wrap .variations td { padding: 6px 0; text-align: right; vertical-align: middle; }
.sp-variable-wrap .variations th.label label { font-weight: 600; color: var(--text); font-size: 15px; }
.sp-variable-wrap .variations select {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--cream);
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  cursor: pointer;
  outline: none;
}
.sp-variable-wrap .variations select:focus { border-color: var(--terracotta); }
.sp-variable-wrap .reset_variations {
  display: inline-block; margin-top: 8px; font-size: 13px; color: var(--muted);
}
.sp-variable-wrap .woocommerce-variation-price {
  font-size: 30px; font-weight: 700; color: var(--terracotta); margin: 4px 0 12px;
}
.sp-variable-wrap .woocommerce-variation-price del { font-size: 20px; color: var(--muted); }
.sp-variable-wrap .woocommerce-variation-availability { margin-bottom: 10px; color: var(--sage-dark); }
.sp-variable-wrap .woocommerce-variation-add-to-cart {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.sp-variable-wrap .quantity {
  display: flex; align-items: center;
  border: 2px solid var(--line); border-radius: var(--radius-xl);
  background: var(--cream-soft); padding: 4px 8px;
}
.sp-variable-wrap .quantity input {
  width: 68px; border: 0; background: transparent; text-align: center;
  font-size: 17px; font-family: inherit; color: var(--ink); outline: none;
}
.sp-variable-wrap .single_add_to_cart_button {
  flex: 1; min-width: 200px;
  padding: 17px 28px; border: 0; border-radius: var(--radius-xl);
  background: var(--terracotta); color: #fff;
  font-family: inherit; font-size: 17px; font-weight: 600;
  cursor: pointer; transition: background .2s, transform .15s;
}
.sp-variable-wrap .single_add_to_cart_button:hover { background: var(--terracotta-dk); transform: translateY(-1px); }
.sp-variable-wrap .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; transform: none; }
.sp-variable-wrap .woocommerce-variation-description { color: var(--muted); font-size: 14px; margin-bottom: 8px; }

/* ============ חיפוש בהדר (נוסף) ============ */
.shop-search-inner { display: flex; gap: 10px; align-items: center; }
.shop-search-inner input[type="search"] { flex: 1; }
.shop-search-go {
  flex: none; border: 0; cursor: pointer;
  background: var(--terracotta); color: #fff;
  border-radius: var(--radius-xl);
  padding: 13px 18px;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.shop-search-go:hover { background: var(--terracotta-dk); }

/* עוצמת סלקטור מול ברירת המחדל של ווקומרס */
.sp-page .sp-variable-wrap button.single_add_to_cart_button,
.sp-page .sp-variable-wrap button.single_add_to_cart_button.alt,
.woocommerce .sp-variable-wrap button.single_add_to_cart_button.alt {
  background: var(--terracotta);
  color: #fff;
  border-radius: var(--radius-xl);
  padding: 17px 28px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
}
.sp-page .sp-variable-wrap button.single_add_to_cart_button:hover,
.sp-page .sp-variable-wrap button.single_add_to_cart_button.alt:hover,
.woocommerce .sp-variable-wrap button.single_add_to_cart_button.alt:hover {
  background: var(--terracotta-dk);
  color: #fff;
}
.sp-page .sp-variable-wrap button.single_add_to_cart_button.disabled,
.sp-page .sp-variable-wrap button.single_add_to_cart_button.alt.disabled {
  background: var(--terracotta);
  opacity: .4;
  cursor: not-allowed;
}

.shop-product-volnote {
  margin: 6px 0 2px;
  font-size: 13px;
  color: var(--muted);
}
