/* ===========================================
   BALICAKE - Premium Cake Boutique
   Hebrew RTL · Mobile-First · Fully Responsive
=========================================== */

/* ---------- CSS Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { min-height: 100vh; min-height: 100dvh; line-height: 1.6; overflow-x: hidden; }
img, picture, video { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- Design Tokens ---------- */
:root {
  /* Palette - inspired by Irit Boutique cream/gold/pink */
  --bg-primary: #FAF6EE;
  --bg-secondary: #F2EAD8;
  --bg-tertiary: #EBDEC4;
  --bg-dark: #1A1410;
  --surface: #FFFFFF;

  --text-primary: #2C2520;
  --text-secondary: #5C4F40;
  --text-muted: #9B8B78;
  --text-on-dark: #FAF6EE;

  --accent-gold: #C9A86A;
  --accent-gold-dark: #A88652;
  --accent-gold-light: #E2CC9E;
  --accent-pink: #E8C4C4;
  --accent-pink-deep: #D9A5A5;
  --accent-rose: #B98A8A;

  --border: rgba(44, 37, 32, 0.08);
  --border-strong: rgba(44, 37, 32, 0.16);
  --shadow-sm: 0 2px 8px rgba(44, 37, 32, 0.06);
  --shadow-md: 0 8px 24px rgba(44, 37, 32, 0.08);
  --shadow-lg: 0 24px 48px rgba(44, 37, 32, 0.12);
  --shadow-xl: 0 32px 64px rgba(44, 37, 32, 0.16);

  /* Typography */
  --font-serif: 'Frank Ruhl Libre', 'Playfair Display', 'David Libre', serif;
  --font-sans: 'Heebo', 'Assistant', system-ui, -apple-system, sans-serif;
  --font-script: 'Allura', 'Dancing Script', cursive;

  /* Spacing */
  --container: 1280px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-pad: clamp(4rem, 10vw, 8rem);

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-elastic: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* ---------- Base Typography ---------- */
body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 400;
  direction: rtl;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 7vw, 5.25rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { color: var(--text-secondary); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  font-weight: 500;
}
.script { font-family: var(--font-script); font-weight: 400; }

/* ---------- Container ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-pad) 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.25rem;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--text-primary);
  color: var(--text-on-dark);
  border: 1px solid var(--text-primary);
}
.btn-primary:hover {
  background: var(--accent-gold-dark);
  border-color: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--text-primary);
}
.btn-outline:hover {
  background: var(--text-primary);
  color: var(--text-on-dark);
  transform: translateY(-2px);
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: var(--surface);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-gold-dark);
  font-weight: 500;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  text-transform: uppercase;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease);
}
.btn-link:hover { gap: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: all 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(250, 246, 238, 0.98);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.25rem var(--gutter);
  max-width: var(--container);
  margin: 0 auto;
}
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  color: var(--text-primary);
  flex-shrink: 0;
}
.logo-mark {
  font-family: var(--font-script);
  font-size: 2.6rem;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 0.9;
}
.logo-tag {
  font-size: 0.55rem;
  letter-spacing: 0.4em;
  margin-top: 4px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.nav { display: flex; align-items: center; gap: 2.5rem; }
.nav a {
  font-size: 0.95rem;
  color: var(--text-primary);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 1px;
  background: var(--accent-gold-dark);
  transform: scaleX(0);
  transform-origin: inline-end;
  transition: transform 0.4s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--accent-gold-dark); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.icon-btn {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
}
.icon-btn:hover { background: var(--bg-secondary); color: var(--accent-gold-dark); }
.menu-toggle { display: none; }

/* ---------- Hero Carousel ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--bg-secondary);
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 8s linear;
}
.hero-slide.active .hero-slide-image {
  transform: scale(1);
}
.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.1) 70%, rgba(0,0,0,0.45) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.35) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 6rem var(--gutter) 5rem;
  max-width: var(--container);
  margin: 0 auto;
}
.hero-text {
  max-width: 620px;
  margin-inline-end: auto;
  text-align: right;
  color: #fff;
  animation: heroFade 1.4s var(--ease-out) both;
}
.hero-text .eyebrow {
  color: var(--accent-gold-light);
  display: block;
  margin-bottom: 1.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  font-weight: 400;
}
.hero-text h1 {
  color: #fff;
  font-weight: 300;
  margin-bottom: 1.75rem;
  text-shadow: 0 2px 32px rgba(0, 0, 0, 0.35);
  letter-spacing: -0.015em;
}
.hero-text p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-inline-end: auto;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-start; }
.hero-actions .btn { padding: 1rem 2rem; }
.hero-actions .btn-primary { background: transparent; border: 1px solid rgba(255,255,255,0.85); color: #fff; }
.hero-actions .btn-primary:hover { background: #fff; color: var(--text-primary); border-color: #fff; }
.hero-actions .btn-ghost { background: #fff; border-color: #fff; color: var(--text-primary); }
.hero-actions .btn-ghost:hover { background: var(--accent-gold-light); border-color: var(--accent-gold-light); }

@keyframes heroFade {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hero pagination */
.hero-pagination {
  position: absolute;
  bottom: 2.5rem;
  inset-inline: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}
.hero-pagination button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  background-clip: content-box;
  padding: 14px;
  margin: -14px;
  box-sizing: content-box;
}
.hero-pagination button.active {
  background: #fff;
  transform: scale(1.4);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.18);
}

/* ---------- Section Header ---------- */
.section-head { text-align: center; margin-bottom: 4rem; }
.section-head .eyebrow { display: block; margin-bottom: 1rem; }
.section-head p { max-width: 580px; margin: 1.25rem auto 0; color: var(--text-muted); }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  text-align: right;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-head.split .left { max-width: 540px; }
.section-head.split .right { flex-shrink: 0; }

/* ---------- About preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.about-preview.no-img {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-preview.no-img .content .eyebrow,
.about-preview.no-img .content h2,
.about-preview.no-img .signature { text-align: center; }
.about-preview.no-img .about-stats { text-align: center; }
.about-preview .img {
  position: relative;
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  overflow: hidden;
}
.about-preview .img::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  z-index: 2;
  pointer-events: none;
}
.about-preview .content .eyebrow { display: block; margin-bottom: 1rem; }
.about-preview .content h2 { margin-bottom: 1.5rem; }
.about-preview .content p { font-size: 1.05rem; margin-bottom: 1.25rem; }
.about-preview .signature {
  margin-top: 2rem;
  font-family: var(--font-script);
  font-size: 2.4rem;
  color: var(--accent-gold-dark);
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}
.about-stats--4col {
  grid-template-columns: repeat(4, 1fr);
  max-width: 900px;
  margin-inline: auto;
  border-top: none;
  text-align: center;
}
.about-stats--4col .stat { text-align: center; }
.about-stats--4col .num { font-size: clamp(2rem, 6vw, 3rem); }
.about-stats .stat .num {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--accent-gold-dark);
  line-height: 1;
}
.about-stats .stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ---------- Categories Grid ---------- */
.categories {
  background: var(--bg-secondary);
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.cat-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: transform 0.6s var(--ease);
}
.cat-card .cat-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s var(--ease);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 20, 16, 0.78) 0%, rgba(26, 20, 16, 0.15) 60%, transparent 100%);
  z-index: 2;
  transition: opacity 0.5s var(--ease);
}
.cat-card .cat-frame {
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  z-index: 3;
  pointer-events: none;
  transition: inset 0.5s var(--ease);
}
.cat-card .cat-content {
  position: absolute;
  inset-inline: 0;
  bottom: 2rem;
  z-index: 4;
  text-align: center;
  color: #fff;
  padding: 0 1.5rem;
}
.cat-card h3 {
  color: #fff;
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.cat-card .count {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding-top: 0.6rem;
}
.cat-card .count::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  transform: translateX(50%);
  width: 30px; height: 1px;
  background: rgba(255, 255, 255, 0.6);
}
.cat-card:hover .cat-img { transform: scale(1.08); }
.cat-card:hover .cat-frame { inset: 24px; }

/* ---------- Featured / Products ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.product-card {
  background: var(--surface);
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.product-card .product-img {
  position: relative;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-tertiary);
  overflow: hidden;
}
.product-card .product-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card:hover .product-img::after { background: rgba(0, 0, 0, 0.08); }
.product-card .product-body {
  padding: 1.5rem 1.5rem 1.75rem;
  text-align: center;
}
.product-card .badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-gold-dark);
  margin-bottom: 0.6rem;
}
.product-card h4 {
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.product-card .price {
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.product-card .price strong {
  color: var(--text-primary);
  font-weight: 500;
}
.product-card .product-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.65rem 1.25rem;
  background: var(--accent-rose);
  color: #fff;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all 0.3s var(--ease);
}
.product-card .product-wa-btn:hover {
  background: var(--accent-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(185, 138, 138, 0.4);
}
.product-card .product-wa-btn svg { flex-shrink: 0; }

/* ---------- Why Choose Us ---------- */
.features {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}
.features h2, .features .eyebrow { color: var(--text-on-dark); }
.features .eyebrow { color: var(--accent-gold-light); }
.features p { color: rgba(250, 246, 238, 0.7); }
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.feature {
  text-align: center;
  padding: 1rem;
}
.feature .icon {
  width: 64px; height: 64px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--accent-gold);
  border-radius: 50%;
  color: var(--accent-gold-light);
}
.feature .icon svg { width: 26px; height: 26px; }
.feature h4 { color: var(--text-on-dark); margin-bottom: 0.75rem; font-weight: 400; }
.feature p { color: rgba(250, 246, 238, 0.65); font-size: 0.95rem; }

/* ---------- Testimonials ---------- */
.testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.testimonial {
  padding: 1rem 2rem;
  position: relative;
  text-align: right;
}
.testimonial:not(:last-child)::after {
  content: '';
  position: absolute;
  inset-block: 0.5rem;
  inset-inline-start: 0;
  width: 1px;
  background: var(--border);
}
.testimonial .quote-mark {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--accent-pink-deep);
  line-height: 0.5;
  margin-bottom: 1rem;
  display: block;
}
.testimonial p { font-size: 0.98rem; color: var(--text-secondary); margin-bottom: 1.25rem; }
.testimonial .author {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--accent-gold-dark);
}

/* ---------- Newsletter ---------- */
.newsletter { background: var(--bg-secondary); text-align: center; }
.newsletter .form {
  max-width: 480px;
  margin: 2.5rem auto 0;
  display: flex;
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 8px;
  gap: 1rem;
}
.newsletter input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.75rem 0;
  font-size: 1rem;
  text-align: right;
  outline: none;
  color: var(--text-primary);
}
.newsletter input::placeholder { color: var(--text-muted); }
.newsletter button {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--text-primary);
  color: #fff;
  transition: all 0.3s var(--ease);
}
.newsletter button:hover { background: var(--accent-gold-dark); transform: translateX(-4px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(250, 246, 238, 0.7);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
}
.site-footer h5 {
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  font-weight: 500;
}
.site-footer .logo-mark { color: #fff; }
.site-footer .logo-tag { color: rgba(255, 255, 255, 0.6); }
.site-footer p { color: rgba(250, 246, 238, 0.65); font-size: 0.9rem; line-height: 1.8; }
.footer-links li { margin-bottom: 0.85rem; }
.footer-links a {
  color: rgba(250, 246, 238, 0.65);
  font-size: 0.92rem;
  transition: color 0.3s var(--ease);
}
.footer-links a:hover { color: var(--accent-gold-light); }
.footer-contact a { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 0.85rem; color: rgba(250, 246, 238, 0.65); font-size: 0.92rem; }
.footer-contact a:hover { color: var(--accent-gold-light); }
.socials { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.socials a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(250, 246, 238, 0.2);
  border-radius: 50%;
  transition: all 0.3s var(--ease);
}
.socials a:hover { background: var(--accent-gold-dark); border-color: var(--accent-gold-dark); color: #fff; }
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(250, 246, 238, 0.5);
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- WhatsApp Floating Button ---------- */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-start: 1.5rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-rose);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(185, 138, 138, 0.45);
  z-index: 90;
  transition: all 0.3s var(--ease);
  animation: waPulse 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); background: var(--accent-gold-dark); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(185, 138, 138, 0.45); }
  50% { box-shadow: 0 8px 32px rgba(185, 138, 138, 0.7), 0 0 0 12px rgba(185, 138, 138, 0); }
}

/* ---------- Footer CTA / Credit ---------- */
.footer-cta {
  text-align: center;
  padding: 0 0 4rem;
  border-bottom: 1px solid rgba(250, 246, 238, 0.1);
  margin-bottom: 3rem;
}
.footer-cta .wa-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--surface);
  color: var(--text-primary);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  transition: all 0.3s var(--ease);
}
.footer-cta .wa-pill:hover {
  background: var(--accent-gold-light);
  transform: translateY(-2px);
}
.footer-cta .wa-pill .wa-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-rose);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.footer-cta .wa-pill .wa-icon svg { width: 16px; height: 16px; }
.footer-cta .phone {
  display: block;
  margin-top: 1.25rem;
  color: var(--accent-gold-light);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}
/* ---------- Footer bottom links (privacy / accessibility / cookies) ---------- */
.footer-bottom-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
  font-size: 0.85rem;
  color: rgba(250, 246, 238, 0.55);
}
.footer-bottom-links a,
.footer-bottom-links button {
  color: rgba(250, 246, 238, 0.7);
  background: transparent;
  border: none;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}
.footer-bottom-links a:hover,
.footer-bottom-links button:hover { color: var(--accent-gold-light); }
.footer-bottom-links .sep { color: rgba(250, 246, 238, 0.3); user-select: none; }

/* ---------- O&Y Studio signature ---------- */
.footer-credit {
  text-align: center;
  margin-top: 2.5rem;
}
.oy-signature {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(250, 246, 238, 0.04);
  border: 1px solid rgba(250, 246, 238, 0.1);
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.oy-signature:hover {
  background: rgba(250, 246, 238, 0.07);
  border-color: rgba(201, 168, 106, 0.4);
  box-shadow: 0 6px 22px -10px rgba(201, 168, 106, 0.4);
}
.oy-signature .oy-label {
  font-size: 0.7rem;
  font-family: var(--font-sans);
  letter-spacing: 0.06em;
  color: rgba(250, 246, 238, 0.45);
  transition: color 0.3s var(--ease);
}
.oy-signature:hover .oy-label { color: rgba(250, 246, 238, 0.7); }
.oy-signature .oy-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  background: linear-gradient(90deg, #E2CC9E, #C9A86A 50%, #A88652);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: filter 0.3s var(--ease);
}
.oy-signature:hover .oy-brand { filter: brightness(1.15); }
.oy-signature .oy-spark {
  font-size: 0.72rem;
  color: var(--accent-gold);
  -webkit-text-fill-color: var(--accent-gold);
  display: inline-block;
  transition: transform 0.4s var(--ease-elastic);
}
.oy-signature:hover .oy-spark { transform: rotate(20deg); }

/* ---------- Cookie Consent ---------- */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: auto;
  inset-inline-start: 6rem;
  max-width: 440px;
  background: var(--surface);
  padding: 1.5rem 1.6rem;
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 105;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.55s var(--ease-out), opacity 0.55s var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); opacity: 1; }
.cookie-banner-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}
.cookie-banner-head .cookie-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-secondary);
  font-size: 1.15rem;
}
.cookie-banner h4 { font-size: 1.05rem; margin: 0; }
.cookie-banner p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
  line-height: 1.65;
}
.cookie-banner p a { color: var(--accent-gold-dark); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner p a:hover { color: var(--text-primary); }
.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.cookie-actions button {
  padding: 0.6rem 1.1rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.25s var(--ease);
  border: 1px solid transparent;
}
.cookie-accept {
  flex: 1;
  min-width: 130px;
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold));
  color: #fff;
}
.cookie-accept:hover { filter: brightness(1.08); transform: translateY(-1px); }
.cookie-decline {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-strong);
}
.cookie-decline:hover { color: var(--text-primary); border-color: var(--text-primary); }
.cookie-settings-btn {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-strong);
}
.cookie-settings-btn:hover { color: var(--text-primary); border-color: var(--text-primary); }

/* Cookie modal */
.cookie-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  z-index: 110;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition: opacity 0.3s var(--ease);
}
.cookie-modal-backdrop.show { opacity: 1; pointer-events: auto; }
.cookie-modal { cursor: default; }
.cookie-modal {
  background: var(--surface);
  border-radius: 16px;
  box-shadow: var(--shadow-xl);
  width: min(560px, 100%);
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 2rem 1.75rem 1.75rem;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}
.cookie-modal-backdrop.show .cookie-modal { transform: translateY(0) scale(1); }
.cookie-modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.cookie-modal-head h3 { font-size: 1.4rem; margin: 0; }
.cookie-modal-close {
  background: var(--bg-secondary);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--text-secondary);
}
.cookie-modal-close:hover { background: var(--bg-tertiary); color: var(--text-primary); }
.cookie-modal-intro {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.cookie-cat {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  background: var(--bg-primary);
}
.cookie-cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.cookie-cat-info { display: flex; align-items: center; gap: 0.6rem; }
.cookie-cat-info .ico { font-size: 1.1rem; }
.cookie-cat-info h5 { font-size: 0.98rem; margin: 0; font-family: var(--font-sans); font-weight: 500; }
.cookie-cat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.55rem 0 0;
  line-height: 1.6;
}
.cookie-toggle {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--border-strong);
  flex-shrink: 0;
  transition: background 0.25s var(--ease);
  border: none;
  padding: 0;
}
.cookie-toggle::after {
  content: '';
  position: absolute;
  inset-block: 3px;
  inset-inline-start: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: inset-inline-start 0.25s var(--ease), transform 0.25s var(--ease);
}
.cookie-toggle.on { background: var(--accent-gold-dark); }
.cookie-toggle.on::after { inset-inline-start: 21px; }
.cookie-toggle.locked { background: var(--accent-gold); cursor: not-allowed; opacity: 0.85; }
.cookie-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.cookie-modal-actions button {
  flex: 1;
  min-width: 140px;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.25s var(--ease);
}
.cookie-modal-actions button:hover { color: var(--text-primary); border-color: var(--text-primary); }
.cookie-modal-actions .primary {
  background: linear-gradient(90deg, var(--accent-gold-dark), var(--accent-gold));
  color: #fff;
  border-color: transparent;
}
.cookie-modal-actions .primary:hover { filter: brightness(1.08); color: #fff; border-color: transparent; }

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
  padding: 11rem var(--gutter) 5rem;
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 30%, rgba(232, 196, 196, 0.2), transparent 50%),
                    radial-gradient(circle at 80% 70%, rgba(201, 168, 106, 0.12), transparent 50%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { display: block; margin-bottom: 1rem; }
.page-hero h1 { margin-bottom: 1.25rem; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.05rem; color: var(--text-secondary); }
.breadcrumbs {
  display: inline-flex;
  gap: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2rem;
  letter-spacing: 0.05em;
}
.breadcrumbs a { color: var(--text-muted); transition: color 0.3s; }
.breadcrumbs a:hover { color: var(--accent-gold-dark); }
.breadcrumbs .sep { color: var(--accent-gold); }

/* ---------- Catalog filter ---------- */
.catalog-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 4rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.catalog-filter button {
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.03em;
}
.catalog-filter button:hover { color: var(--accent-gold-dark); }
.catalog-filter button.active {
  background: var(--text-primary);
  color: #fff;
}

/* ---------- Gallery Masonry ---------- */
.gallery-grid {
  columns: 3;
  column-gap: 1.5rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-tertiary);
}
.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.7s var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover::after { opacity: 1; }
.gallery-caption {
  position: absolute;
  bottom: 1.25rem;
  inset-inline: 1.25rem;
  color: #fff;
  z-index: 2;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s var(--ease);
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-caption h4 { color: #fff; font-size: 1.1rem; font-weight: 400; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 20, 16, 0.96);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}
.lightbox.active { display: flex; animation: fadeIn 0.3s var(--ease); }
.lightbox img { max-width: 90vw; max-height: 90vh; max-height: 90dvh; object-fit: contain; }
.lightbox-close {
  position: absolute;
  top: 1.5rem; inset-inline-start: 1.5rem;
  color: #fff;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, 0.2); transform: rotate(90deg); }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Order Form ---------- */
.order-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 4rem;
  align-items: start;
}
.order-form {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  box-shadow: var(--shadow-md);
  border-radius: 4px;
}
.form-group { margin-bottom: 1.5rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-strong);
  background: var(--bg-primary);
  border-radius: 2px;
  font-size: 16px;
  font-family: inherit;
  text-align: right;
  transition: all 0.3s var(--ease);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent-gold-dark);
  background: var(--surface);
  box-shadow: 0 0 0 3px rgba(201, 168, 106, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.payment-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}
.payment-option {
  border: 1px solid var(--border-strong);
  padding: 1.25rem;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s var(--ease);
}
.payment-option input { display: none; }
.payment-option .label { font-weight: 500; margin-bottom: 0.25rem; }
.payment-option .desc { font-size: 0.8rem; color: var(--text-muted); }
.payment-option:has(input:checked) {
  border-color: var(--accent-gold-dark);
  background: rgba(201, 168, 106, 0.06);
}
.order-aside {
  position: sticky;
  top: 6rem;
}
.aside-card {
  background: var(--bg-secondary);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}
.aside-card h4 { margin-bottom: 1rem; font-size: 1.15rem; }
.aside-card p, .aside-card li { font-size: 0.92rem; color: var(--text-secondary); margin-bottom: 0.6rem; line-height: 1.7; }
.aside-card .calc-row {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--border);
  font-size: 0.92rem;
}
.aside-card .calc-row:last-child { border: none; font-weight: 500; padding-top: 0.75rem; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 0;
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: right;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.5rem 0;
}
.faq-question .icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent-gold-dark);
  transition: transform 0.4s var(--ease);
  font-size: 1.5rem;
  font-weight: 300;
  flex-shrink: 0;
  margin-inline-start: 1rem;
}
.faq-item.open .faq-question .icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-answer p {
  padding: 1rem 0 0.5rem;
  color: var(--text-secondary);
  font-size: 0.98rem;
  line-height: 1.8;
}

/* ---------- Recipes ---------- */
.recipe-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.recipe-card {
  background: var(--surface);
  overflow: hidden;
  transition: all 0.5s var(--ease);
}
.recipe-card .recipe-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-tertiary);
  transition: transform 0.7s var(--ease);
}
.recipe-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.recipe-card:hover .recipe-img { transform: scale(1.05); }
.recipe-card .recipe-body { padding: 1.75rem; }
.recipe-card .meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.recipe-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.recipe-card p { font-size: 0.92rem; }

/* ---------- About page ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-story.no-img {
  grid-template-columns: 1fr;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.about-story .signature {
  display: inline-block;
  margin-top: 1.5rem;
  font-family: var(--font-script);
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  color: var(--accent-gold-dark);
  line-height: 1.2;
}
.about-story .img-col {
  aspect-ratio: 4 / 5;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}
.about-story h2 { margin-bottom: 1.5rem; }
.about-story p { margin-bottom: 1.25rem; font-size: 1.02rem; line-height: 1.8; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 4rem;
}
.value {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.value .num {
  font-family: var(--font-script);
  font-size: 3rem;
  color: var(--accent-gold-dark);
  line-height: 0.8;
  margin-bottom: 1rem;
}
.value h4 { margin-bottom: 0.75rem; font-weight: 500; }
.value p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.contact-info ul { margin-top: 2rem; }
.contact-info li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.contact-info .icon {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-secondary);
  border-radius: 50%;
  color: var(--accent-gold-dark);
  flex-shrink: 0;
}
.contact-info .icon svg { width: 18px; height: 18px; }
.contact-info .label { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.25rem; }
.contact-info .value { font-size: 1rem; color: var(--text-primary); }

/* ---------- Animations on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* ============================================
   SIGNATURE ANIMATIONS — Balicake distinct
============================================ */

/* 1. Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  inset-inline-start: 0;
  height: 2px;
  background: linear-gradient(to left, var(--accent-pink-deep), var(--accent-gold-dark), var(--accent-rose));
  width: 0%;
  z-index: 200;
  transition: width 0.05s linear;
  pointer-events: none;
}

/* 2. Marquee strip */
.marquee {
  background: var(--bg-dark);
  color: var(--accent-gold-light);
  padding: 0.85rem 0;
  overflow: hidden;
  font-family: var(--font-serif);
  letter-spacing: 0.32em;
  font-size: 0.72rem;
  text-transform: uppercase;
  border-block: 1px solid rgba(201, 168, 106, 0.18);
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marqueeScroll 38s linear infinite;
  width: max-content;
}
.marquee-track span {
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
}
.marquee-track .dot {
  width: 6px; height: 6px;
  background: var(--accent-pink-deep);
  border-radius: 50%;
  display: inline-block;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* 3. Shimmer on script logo + signature */
.logo-mark, .signature, .script {
  background: linear-gradient(110deg,
    currentColor 0%,
    currentColor 35%,
    var(--accent-gold-light) 45%,
    #fff8e2 50%,
    var(--accent-gold-light) 55%,
    currentColor 65%,
    currentColor 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 6s ease-in-out infinite;
}
@keyframes shimmerText {
  0%, 100% { background-position: 100% 0; }
  50% { background-position: -100% 0; }
}

/* 4. Counter animation glow when reaching final value */
.stat .num.counted {
  animation: counterPulse 0.8s var(--ease-elastic);
}
@keyframes counterPulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.15); color: var(--accent-pink-deep); }
  100% { transform: scale(1); }
}

/* 5. Category card subtle tilt + glow on hover */
.cat-card {
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease);
  will-change: transform;
}
.cat-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 32px 64px rgba(44, 37, 32, 0.25);
}
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%),
    rgba(255, 255, 255, 0.18) 0%, transparent 40%);
  opacity: 0;
  z-index: 4;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}
.cat-card:hover::after { opacity: 1; }

/* 6. Sparkle dust around hero text (decorative) */
.hero-content::before {
  content: '';
  position: absolute;
  top: 20%; right: 15%;
  width: 4px; height: 4px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow:
    8vw 4vh 0 -1px rgba(255,255,255,0.7),
    14vw -2vh 0 -1.5px rgba(255,255,255,0.5),
    -3vw 8vh 0 -1px rgba(232, 196, 196, 0.6),
    -8vw 12vh 0 -1.2px rgba(255,255,255,0.55),
    20vw 7vh 0 -2px rgba(201, 168, 106, 0.7),
    5vw 18vh 0 -1.5px rgba(255,255,255,0.4);
  animation: sparkleFloat 8s ease-in-out infinite;
  z-index: 2;
  pointer-events: none;
}
@keyframes sparkleFloat {
  0%, 100% { opacity: 0.3; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-8px); }
}

/* 7. Button gold shimmer sweep on hover */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  inset-inline-start: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
    transparent,
    rgba(255,255,255,0.25),
    transparent);
  transition: inset-inline-start 0.6s var(--ease);
}
.btn:hover::before { inset-inline-start: 100%; }

/* 8. Section heading subtle underline reveal */
.section-head h2 {
  position: relative;
  display: inline-block;
}
.section-head h2::after {
  content: '';
  position: absolute;
  bottom: -0.6rem;
  inset-inline-start: 50%;
  transform: translateX(50%) scaleX(0);
  width: 60px;
  height: 1px;
  background: var(--accent-gold-dark);
  transform-origin: center;
  transition: transform 0.8s var(--ease) 0.3s;
}
.section-head h2.in-view::after,
.reveal.in-view + h2::after,
.section-head .reveal.in-view ~ h2::after { transform: translateX(50%) scaleX(1); }

/* 9. Image zoom-in on reveal for product/category cards */
.product-card.in-view .product-img,
.cat-card.in-view .cat-img {
  animation: imageReveal 1.2s var(--ease-out) both;
}
@keyframes imageReveal {
  from { transform: scale(1.15); filter: blur(8px); }
  to { transform: scale(1); filter: blur(0); }
}

/* 10. Floating effect for WhatsApp + a11y triggers (gentle bob) */
.wa-float, .a11y-trigger {
  animation-name: floatBob, waPulse;
  animation-duration: 4s, 2.5s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite;
}
.a11y-trigger { animation-name: floatBob; }
@keyframes floatBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Letter-by-letter hero title reveal */
.hero-text h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(20px);
  animation: heroWord 0.9s var(--ease-out) both;
}
.hero-text h1 .word:nth-child(1) { animation-delay: 0.4s; }
.hero-text h1 .word:nth-child(2) { animation-delay: 0.55s; }
.hero-text h1 .word:nth-child(3) { animation-delay: 0.7s; }
.hero-text h1 .word:nth-child(4) { animation-delay: 0.85s; }
.hero-text h1 .word:nth-child(5) { animation-delay: 1s; }
@keyframes heroWord {
  to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion respects all signatures */
@media (prefers-reduced-motion: reduce) {
  .marquee-track, .logo-mark, .signature, .script,
  .hero-content::before, .wa-float, .a11y-trigger,
  .hero-text h1 .word, .scroll-progress {
    animation: none !important;
  }
  .logo-mark, .signature, .script {
    -webkit-text-fill-color: currentColor;
    background: none;
  }
  .hero-text h1 .word { opacity: 1; transform: none; }
}
html.a11y-no-motion .marquee-track,
html.a11y-no-motion .logo-mark,
html.a11y-no-motion .signature,
html.a11y-no-motion .script,
html.a11y-no-motion .hero-content::before,
html.a11y-no-motion .hero-text h1 .word { animation: none !important; }
html.a11y-no-motion .logo-mark, html.a11y-no-motion .signature, html.a11y-no-motion .script {
  -webkit-text-fill-color: currentColor !important;
  background: none !important;
}

/* ---------- Mobile menu ---------- */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 99;
  padding: 6rem var(--gutter) 2rem;
  transform: translateX(100%);
  transition: transform 0.5s var(--ease-out);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  display: block;
  padding: 1.25rem 0;
  font-size: 1.4rem;
  font-family: var(--font-serif);
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  transition: color 0.3s;
}
.mobile-nav a:hover, .mobile-nav a.active { color: var(--accent-gold-dark); }
.mobile-nav .mobile-cta {
  margin-top: auto;
  padding-top: 2rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2rem; }
  .testimonials .testimonial-grid { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .testimonial:nth-child(2)::after { display: none; }
  .testimonial:nth-child(odd)::after { display: none; }
  .testimonial { border-bottom: 1px solid var(--border); padding: 2rem; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .recipe-grid { grid-template-columns: repeat(2, 1fr); }
  .about-preview, .about-story, .contact-grid, .order-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .order-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-grid { columns: 2; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
  }
  .menu-toggle span {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text-primary);
    position: relative;
    transition: all 0.3s var(--ease);
  }
  .menu-toggle span::before, .menu-toggle span::after {
    content: '';
    position: absolute;
    inset-inline: 0;
    height: 1px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease);
  }
  .menu-toggle span::before { top: -7px; }
  .menu-toggle span::after { bottom: -7px; }
  .menu-toggle.open span { background: transparent; }
  .menu-toggle.open span::before { top: 0; transform: rotate(45deg); }
  .menu-toggle.open span::after { bottom: 0; transform: rotate(-45deg); }

  .header-actions { gap: 0.5rem; }
  .logo-mark { font-size: 2.2rem; }

  .cat-grid { grid-template-columns: 1fr; gap: 1rem; }
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .recipe-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonials .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial::after { display: none !important; }
  .testimonial { border-bottom: 1px solid var(--border); padding: 1.5rem 1rem; }
  .testimonial:last-child { border-bottom: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .gallery-grid { columns: 1; }

  .form-row { grid-template-columns: 1fr; }
  .payment-options { grid-template-columns: 1fr; }

  .hero-text { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; }
  .hero-text p { margin-inline: auto; }
  .hero-content { padding: 7rem var(--gutter) 6rem; }

  .section-head.split { flex-direction: column; align-items: stretch; text-align: center; }
  .section-head.split .left { max-width: 100%; }

  .about-stats { grid-template-columns: 1fr; gap: 1rem; padding-top: 1.5rem; margin-top: 1.5rem; }
  .about-stats .stat { text-align: center; }
  .about-stats--4col { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1rem; }
  .about-stats--4col .num { font-size: 2rem; }

  .cookie-banner {
    inset-inline: 1rem;
    bottom: 6rem;
    max-width: none;
    padding: 1.25rem;
  }
  .wa-float {
    width: 52px; height: 52px;
    bottom: 1rem;
    inset-inline-start: 1rem;
  }

  .page-hero { padding: 8rem var(--gutter) 4rem; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.no-scroll { overflow: hidden; }

/* =============================================
   Accessibility (תקן ישראלי 5568 / WCAG 2.0 AA)
============================================= */
.a11y-trigger {
  position: fixed;
  bottom: 1.5rem;
  inset-inline-end: 1.5rem;
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent-gold-dark);
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(168, 134, 82, 0.45);
  z-index: 91;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: 2px solid #fff;
}
.a11y-trigger:hover { transform: scale(1.08); background: var(--text-primary); }
.a11y-trigger:focus-visible { outline: 3px solid var(--accent-gold-light); outline-offset: 3px; }
.a11y-trigger svg { width: 28px; height: 28px; }

.a11y-panel {
  position: fixed;
  bottom: 1rem;
  inset-inline-end: 1rem;
  width: min(360px, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  z-index: 110;
  padding: 1.5rem 1.5rem 1.25rem;
  transform: translateY(120%) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-out);
  direction: rtl;
}
.a11y-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: auto; }
.a11y-panel-head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 1rem; margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.a11y-panel-head h3 { font-size: 1.15rem; font-weight: 500; margin: 0; }
.a11y-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--text-primary);
  transition: all 0.3s var(--ease);
  border: none; cursor: pointer;
}
.a11y-close:hover { background: var(--text-primary); color: #fff; }
.a11y-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.a11y-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 0.5rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s var(--ease);
  min-height: 80px;
}
.a11y-btn:hover { background: var(--bg-secondary); border-color: var(--accent-gold); }
.a11y-btn.active { background: var(--accent-gold-dark); color: #fff; border-color: var(--accent-gold-dark); }
.a11y-btn svg { width: 22px; height: 22px; }
.a11y-btn:focus-visible { outline: 2px solid var(--accent-gold-dark); outline-offset: 2px; }
.a11y-reset {
  width: 100%;
  padding: 0.7rem;
  background: var(--text-primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  letter-spacing: 0.04em;
}
.a11y-reset:hover { background: var(--accent-gold-dark); }
.a11y-statement {
  display: block;
  text-align: center;
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: underline;
}
.a11y-statement:hover { color: var(--accent-gold-dark); }

/* Skip-to-content link */
.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -3rem;
  background: var(--text-primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 4px;
  z-index: 200;
  font-weight: 500;
  transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 1rem; outline: 3px solid var(--accent-gold-light); }

/* Accessibility states (applied to <html>) */
html.a11y-text-lg { font-size: 18px; }
html.a11y-text-xl { font-size: 20px; }
html.a11y-text-xxl { font-size: 22px; }

html.a11y-spacing { letter-spacing: 0.05em; word-spacing: 0.1em; }
html.a11y-spacing p, html.a11y-spacing li, html.a11y-spacing h1, html.a11y-spacing h2,
html.a11y-spacing h3, html.a11y-spacing h4, html.a11y-spacing h5 { line-height: 1.9; }

html.a11y-readable body,
html.a11y-readable h1, html.a11y-readable h2, html.a11y-readable h3,
html.a11y-readable h4, html.a11y-readable h5, html.a11y-readable h6,
html.a11y-readable p, html.a11y-readable a, html.a11y-readable button,
html.a11y-readable .logo-mark, html.a11y-readable .signature,
html.a11y-readable .script {
  font-family: 'Arial', 'Heebo', sans-serif !important;
}

html.a11y-links a:not(.btn):not(.a11y-btn):not(.cat-card):not(.product-card):not(.gallery-item):not(.icon-btn):not(.wa-float):not(.wa-pill) {
  text-decoration: underline !important;
  font-weight: 600 !important;
}

html.a11y-highlight-headings h1, html.a11y-highlight-headings h2,
html.a11y-highlight-headings h3, html.a11y-highlight-headings h4 {
  outline: 2px solid var(--accent-gold-dark);
  outline-offset: 4px;
  background: rgba(201, 168, 106, 0.08);
}

html.a11y-no-motion *, html.a11y-no-motion *::before, html.a11y-no-motion *::after {
  animation-duration: 0.001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.001ms !important;
  scroll-behavior: auto !important;
}
html.a11y-no-motion .hero-slide-image { transform: none !important; }
html.a11y-no-motion .wa-float { animation: none !important; }

html.a11y-contrast { filter: contrast(1.5); }
html.a11y-contrast body {
  background: #000 !important;
  color: #fff !important;
}
html.a11y-contrast h1, html.a11y-contrast h2, html.a11y-contrast h3,
html.a11y-contrast h4, html.a11y-contrast h5, html.a11y-contrast p,
html.a11y-contrast li, html.a11y-contrast span:not(.a11y-btn span):not(.wa-icon),
html.a11y-contrast .logo-mark, html.a11y-contrast .logo-tag {
  color: #fff !important;
  text-shadow: none !important;
}
html.a11y-contrast a:not(.btn) { color: #ffd866 !important; }
html.a11y-contrast .site-header,
html.a11y-contrast .site-footer,
html.a11y-contrast .surface,
html.a11y-contrast section { background: #000 !important; }
html.a11y-contrast img,
html.a11y-contrast .hero-slide-image,
html.a11y-contrast .cat-img,
html.a11y-contrast .product-img,
html.a11y-contrast .gallery-item img { filter: grayscale(0.4) contrast(1.2); }
html.a11y-contrast .btn { border: 2px solid #fff !important; color: #fff !important; background: transparent !important; }
html.a11y-contrast .btn:hover { background: #fff !important; color: #000 !important; }
html.a11y-contrast .btn-primary { background: #ffd866 !important; color: #000 !important; border-color: #ffd866 !important; }
html.a11y-contrast .btn-primary:hover { background: #fff !important; color: #000 !important; border-color: #fff !important; }
html.a11y-contrast input, html.a11y-contrast textarea, html.a11y-contrast select {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
html.a11y-contrast input::placeholder, html.a11y-contrast textarea::placeholder { color: #ccc !important; }
html.a11y-contrast .product-card, html.a11y-contrast .recipe-card,
html.a11y-contrast .testimonial, html.a11y-contrast .feature,
html.a11y-contrast .aside-card, html.a11y-contrast .order-form {
  background: #000 !important;
  border: 1px solid #fff !important;
}
html.a11y-contrast .badge, html.a11y-contrast .author,
html.a11y-contrast .quote-mark, html.a11y-contrast .price strong { color: #ffd866 !important; }
html.a11y-contrast .catalog-filter button.active { background: #ffd866 !important; color: #000 !important; }

html.a11y-light {
  background: #fff !important;
}
html.a11y-light body { background: #fff !important; color: #000 !important; }
html.a11y-light section, html.a11y-light .site-header, html.a11y-light .site-footer { background: #fff !important; }
html.a11y-light h1, html.a11y-light h2, html.a11y-light h3, html.a11y-light h4, html.a11y-light p, html.a11y-light li, html.a11y-light a { color: #000 !important; }
html.a11y-light .features, html.a11y-light .site-footer { color: #000 !important; }
html.a11y-light .footer-links a, html.a11y-light .footer-contact a, html.a11y-light .site-footer p { color: #000 !important; }
html.a11y-light .feature .icon, html.a11y-light .socials a { border-color: #000 !important; color: #000 !important; }
html.a11y-light .oy-signature { color: #000 !important; border-color: #000 !important; background: #fff !important; }
html.a11y-light .oy-signature .oy-label,
html.a11y-light .oy-signature .oy-brand,
html.a11y-light .oy-signature .oy-spark { color: #000 !important; -webkit-text-fill-color: #000 !important; background: none !important; }
html.a11y-light .footer-bottom-links a,
html.a11y-light .footer-bottom-links button,
html.a11y-light .footer-bottom-links .sep { color: #000 !important; }
html.a11y-contrast .oy-signature .oy-label,
html.a11y-contrast .oy-signature .oy-brand,
html.a11y-contrast .oy-signature .oy-spark { color: #fff !important; -webkit-text-fill-color: #fff !important; background: none !important; }
html.a11y-contrast .footer-bottom-links a,
html.a11y-contrast .footer-bottom-links button,
html.a11y-contrast .footer-bottom-links .sep { color: #fff !important; }
html.a11y-light .footer-cta { border-bottom-color: rgba(0,0,0,0.15) !important; }
html.a11y-light .phone { color: #000 !important; }

html.a11y-cursor *, html.a11y-cursor *::after, html.a11y-cursor *::before {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M5 3l22 13-9 2 5 11-3 1-5-11-7 6z' fill='black' stroke='white' stroke-width='2'/%3E%3C/svg%3E"), auto !important;
}
html.a11y-cursor button, html.a11y-cursor a, html.a11y-cursor input {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M14 4h4v10h6l-8 12-8-12h6z' fill='%23B98A8A' stroke='white' stroke-width='2'/%3E%3C/svg%3E"), pointer !important;
}

/* Focus visible enhancement (always-on baseline) */
*:focus-visible {
  outline: 2px solid var(--accent-gold-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
html.a11y-focus *:focus-visible {
  outline: 4px solid #ff6b00 !important;
  outline-offset: 4px !important;
  box-shadow: 0 0 0 8px rgba(255, 107, 0, 0.25) !important;
}

@media (max-width: 768px) {
  .a11y-trigger { width: 50px; height: 50px; bottom: 1rem; inset-inline-end: 1rem; }
  .a11y-panel { bottom: 0.5rem; inset-inline-end: 0.5rem; inset-inline-start: 0.5rem; width: auto; }
  .footer-cta .wa-pill { padding: 0.75rem 1.25rem; font-size: 0.9rem; }
  .oy-signature { padding: 0.45rem 1rem; gap: 0.5rem; }
  .oy-signature .oy-label { font-size: 0.66rem; }
  .oy-signature .oy-brand { font-size: 0.82rem; letter-spacing: 0.13em; }
  .cookie-banner { inset-inline-start: 1rem; inset-inline-end: 1rem; bottom: 6rem; max-width: none; }
  .cookie-modal { padding: 1.5rem 1.25rem; }
  .cookie-modal-head h3 { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
