/* =========================================================
   Sweet Box 2026 — home.css (דף הבית בלבד)
   ========================================================= */

/* === MOTION SHOWCASE === */
.motion-showcase {
  background: linear-gradient(180deg, #FFFFFF 0%, #EDF6FA 100%);
  padding: 110px 32px 60px;
  overflow: hidden;
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
}
.motion-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; width: 100%; }
.motion-seal { position: absolute; width: 280px; height: auto; opacity: 0.85; pointer-events: none; z-index: 1; }
.motion-seal.left { top: -40px; inset-inline-start: -40px; transform: rotate(-12deg); }
.motion-seal.right { bottom: -40px; inset-inline-end: -40px; transform: rotate(10deg); }
.motion-text { position: relative; z-index: 2; }
.motion-headline { font-size: clamp(38px, 5.5vw, 64px); font-weight: normal; line-height: 1; letter-spacing: 1px; margin-bottom: 28px; color: var(--ink); }
.motion-headline .motion-blue { color: var(--blue-deep); font-style: normal; font-weight: 300; }
.motion-eyebrow { font-size: 22px; letter-spacing: 7px; color: var(--ink); margin-bottom: 22px; font-weight: 400; }
.motion-typewriter { font-size: clamp(24px, 2.9vw, 34px); line-height: 1.35; color: var(--ink); letter-spacing: 0.5px; min-height: 110px; margin-top: 14px; }
.motion-hero-eyebrow { display: block; font-size: 13px; letter-spacing: 6px; color: var(--teal-accent); text-transform: uppercase; font-weight: 700; margin-bottom: 28px; }
.motion-ctas { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.motion-ctas a { padding: 14px 30px; border-radius: 999px; font-size: 13px; font-weight: 500; letter-spacing: 2px; transition: background 0.3s, color 0.3s, transform 0.2s; display: inline-flex; align-items: center; }
.motion-ctas a.primary { background: var(--teal-accent); color: white; }
.motion-ctas a.primary:hover { background: var(--brown); transform: translateY(-1px); }
.motion-ctas a.secondary { background: transparent; border: 1.5px solid var(--teal-accent); color: var(--teal-accent); }
.motion-ctas a.secondary:hover { background: var(--teal-accent); color: white; transform: translateY(-1px); }
.typewriter-prefix { font-weight: 300; font-size: 0.62em; color: var(--brown); display: block; margin-bottom: 18px; letter-spacing: 1px; line-height: 1.5; }
.motion-rotator { display: block; font-size: 1em; line-height: 1.2; margin-top: 8px; }
#motion-text { color: var(--ink); }
.cursor { display: inline-block; width: 3px; height: 0.9em; background: var(--brown); margin-inline-start: 4px; vertical-align: middle; animation: blink 0.7s infinite; }
@keyframes blink { 0%, 50% { opacity: 1; } 51%, 100% { opacity: 0; } }
.motion-box-wrap { display: flex; align-items: center; justify-content: center; perspective: 1200px; position: relative; }
.motion-box-video { width: 100%; max-width: 400px; height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px rgba(85, 75, 65, 0.22); background: var(--cream); display: block; animation: gentleVideoFloat 6s ease-in-out infinite; }
.motion-video-overlay { position: absolute; top: 7%; left: 50%; transform: translateX(-50%); width: 100%; max-width: 400px; padding: 0 6%; text-align: center; z-index: 5; pointer-events: none; }
.motion-video-overlay .motion-eyebrow { font-size: clamp(12px, 1.3vw, 18px); letter-spacing: 5px; margin-bottom: 14px; color: var(--ink); }
.motion-video-overlay .motion-headline { font-size: clamp(28px, 3.4vw, 44px); margin-bottom: 0; line-height: 1.05; }
@keyframes gentleVideoFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* === SCROLL INDICATOR === */
.scroll-indicator {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 12;
  text-decoration: none;
  animation: scrollBounce 2.2s ease-in-out infinite;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(74, 143, 168, 0.25);
}
.scroll-chevron { display: block; width: 12px; height: 12px; border-right: 2px solid var(--teal-accent); border-bottom: 2px solid var(--teal-accent); transform: rotate(45deg); margin-top: -4px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.9; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* === DISPLAY CASE === */
.display { background: linear-gradient(180deg, #EDF6FA 0%, #FFFFFF 100%); padding: 30px 32px 40px; }
.display-header { text-align: center; margin: 0 auto 34px; max-width: 760px; }
.display-eyebrow {
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--teal-accent);
  margin-bottom: 22px;
  font-weight: 600;
  text-transform: uppercase;
}
.display-header h2 {
  font-size: clamp(36px, 4.5vw, 52px);
  font-weight: normal;
  letter-spacing: 1px;
  line-height: 1.1;
}
.display-header h2 em { font-style: normal; font-weight: 300; color: var(--blue-deep); }
.display-header p { font-size: 18px; color: var(--brown); max-width: 620px; margin: 18px auto 0; line-height: 1.65; font-weight: 400; }
.full-view-link {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 24px;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--teal-accent);
  border: 1.5px solid var(--teal-accent);
  border-radius: 999px;
  background: transparent;
  font-weight: 500;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  text-decoration: none;
}
.full-view-link:hover { background: var(--teal-accent); color: white; transform: translateY(-1px); }
.display-carousel-wrap { position: relative; max-width: 1280px; margin: 0 auto; padding: 0 40px 40px; overflow: hidden; }
.display-carousel { display: flex; align-items: flex-start; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 4px 22px; scrollbar-width: none; -ms-overflow-style: none; }
.display-carousel::-webkit-scrollbar { display: none; }
.carousel-counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 1.5px;
  box-shadow: 0 2px 10px rgba(85, 75, 65, 0.1);
  pointer-events: none;
}
.carousel-counter span#boxesCurrent { color: var(--teal-accent); font-weight: 600; font-size: 14px; }
.display-carousel .display-item { flex: 0 0 calc(100% - 4px); scroll-snap-align: center; max-width: 360px; margin: 0 auto; }
.carousel-arrow {
  position: absolute;
  top: 38%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(85, 75, 65, 0.12);
  transition: transform 0.2s, background 0.2s, color 0.2s;
  font-family: serif;
}
.carousel-arrow:hover { background: var(--teal-accent); color: #FFFFFF; transform: scale(1.08); }
.carousel-arrow.prev { right: 4px; }
.carousel-arrow.next { left: 4px; animation: arrowPulse 2.4s ease-in-out infinite; background: var(--blue); }
.carousel-arrow.next:hover { animation: none; background: var(--teal-accent); color: #FFFFFF; }
@keyframes arrowPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(74, 143, 168, 0.20), 0 0 0 0 rgba(74, 143, 168, 0.5); }
  50% { box-shadow: 0 4px 14px rgba(74, 143, 168, 0.30), 0 0 0 12px rgba(74, 143, 168, 0); }
}
.display-item { background: #FFFFFF; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.4s, box-shadow 0.4s; display: block; text-decoration: none; color: inherit; }
.display-item > a { display: block; }
.display-item:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(0,0,0,0.08); }
/* אזור תמונה ריבועי מובטח — בלי תלות במידות הקובץ או בתמיכת aspect-ratio */
.display-item-image { background-size: cover; background-position: center; background-color: var(--blue-soft); position: relative; overflow: hidden; }
.display-item-image::before { content: ''; display: block; padding-top: 100%; }
.display-item-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.display-tag { position: absolute; top: 14px; inset-inline-start: 14px; background: var(--ink); color: var(--paper); padding: 5px 12px; font-size: 10.5px; letter-spacing: 2px; font-weight: 700; text-transform: uppercase; z-index: 2; }
.display-tag.blue { background: var(--blue); color: var(--ink); }
.display-tag.brown { background: var(--brown); color: var(--paper); }
.display-item-info { padding: 22px 24px 26px; border-top: 1px solid var(--line); }
.display-item-name { font-size: 24px; letter-spacing: 1px; margin-bottom: 4px; }
.display-item-sub { font-weight: 500; font-size: 12px; color: var(--teal-accent); letter-spacing: 3px; margin-bottom: 8px; text-transform: uppercase; }
.display-item-desc {
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.6;
  font-weight: 400;
  margin: 6px 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.display-item-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--ink-whisper); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.display-item-price { font-size: 18px; color: var(--ink); }
.display-item-price .woocommerce-Price-amount { font-size: inherit; color: inherit; }

/* === REVIEWS === */
.reviews { background: var(--paper); padding: 50px 32px 60px; }
.reviews-header { text-align: center; margin-bottom: 36px; }
.reviews-eyebrow { font-size: 14px; letter-spacing: 6px; color: var(--teal-accent); margin-bottom: 18px; font-weight: 600; text-transform: uppercase; }
.reviews h2 { font-size: clamp(32px, 4vw, 46px); font-weight: normal; letter-spacing: 1px; line-height: 1.1; }
.reviews-rating { margin-top: 14px; display: flex; justify-content: center; align-items: center; gap: 12px; font-weight: 300; font-size: 14px; color: var(--brown); }
.reviews-rating .stars { color: var(--blue-deep); letter-spacing: 2px; font-size: 16px; }
.reviews-carousel-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 40px; overflow: hidden; }
.reviews-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.reviews-carousel::-webkit-scrollbar { display: none; }
.reviews-carousel .review-card { flex: 0 0 calc(100% - 4px); scroll-snap-align: center; max-width: 420px; margin: 0 auto; }
.reviews-arrow {
  position: absolute;
  top: 38%;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(85, 75, 65, 0.12);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.reviews-arrow:hover { background: var(--teal-accent); color: #FFFFFF; transform: scale(1.08); }
.reviews-arrow.prev { right: 4px; }
.reviews-arrow.next { left: 4px; background: var(--blue); animation: arrowPulse 2.4s ease-in-out infinite; }
.reviews-arrow.next:hover { animation: none; background: var(--teal-accent); color: #FFFFFF; }
.review-card { background: #FFFFFF; border: 1px solid var(--line); padding: 28px 26px; display: flex; flex-direction: column; }
.review-stars { color: var(--blue-deep); letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.review-quote { font-weight: 300; font-size: 16px; line-height: 1.7; color: var(--ink); margin-bottom: 18px; flex: 1; }
.review-attribution { font-size: 12.5px; color: var(--ink-whisper); letter-spacing: 1px; padding-top: 14px; border-top: 1px solid var(--line); }
.review-attribution strong { color: var(--ink); font-weight: 500; }

/* === BRANCHES === */
.branches-section { background: var(--blue-soft); padding: 40px 32px 50px; }
.branches-section .header { text-align: center; margin-bottom: 32px; }
.branches-section .eyebrow { font-size: 14px; letter-spacing: 6px; color: var(--teal-accent); margin-bottom: 22px; font-weight: 600; text-transform: uppercase; }
.branches-section h2 { font-size: clamp(36px, 4.5vw, 52px); font-weight: normal; letter-spacing: 1px; line-height: 1.1; }
.branches-intro { font-size: 16px; color: var(--brown); max-width: 640px; margin: 18px auto 0; line-height: 1.7; font-weight: 300; }
.branches-wolt-cta { max-width: 760px; margin: 32px auto 0; text-align: center; font-size: 15px; color: var(--brown); line-height: 1.65; font-weight: 300; padding: 18px 24px; background: rgba(74, 143, 168, 0.06); border-radius: 16px; border: 1px solid rgba(74, 143, 168, 0.12); }
.branches-wolt-cta strong { color: var(--teal-accent); font-weight: 500; }
.branches-carousel-wrap { position: relative; max-width: 1100px; margin: 0 auto; padding: 0 40px; overflow: hidden; }
.branches-carousel {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 6px 4px 22px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.branches-carousel::-webkit-scrollbar { display: none; }
.branches-carousel .branch-card { flex: 0 0 calc(100% - 4px); scroll-snap-align: center; max-width: 480px; margin: 0 auto; }
.branches-arrow {
  position: absolute;
  top: 42%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(85, 75, 65, 0.12);
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.branches-arrow:hover { background: var(--teal-accent); color: #FFFFFF; transform: scale(1.08); }
.branches-arrow.prev { right: 4px; }
.branches-arrow.next { left: 4px; background: var(--blue); animation: arrowPulse 2.4s ease-in-out infinite; }
.branches-arrow.next:hover { animation: none; background: var(--teal-accent); color: #FFFFFF; }
.branch-card { background: #FFFFFF; overflow: hidden; display: flex; flex-direction: column; }
.branch-image { aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: var(--blue-soft); }
.branch-info { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.branch-name { font-size: 30px; letter-spacing: 1px; margin-bottom: 6px; }
.branch-address { font-size: 14px; color: var(--brown); line-height: 1.5; margin-bottom: 8px; }
.branch-hours { font-weight: 300; font-size: 13px; color: var(--blue-deep); letter-spacing: 1.5px; margin-bottom: 20px; line-height: 1.7; }
.branch-hours .hours-line { display: block; }
.branch-wolt { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #009DE0; color: white; padding: 12px 22px; text-decoration: none; font-size: 13px; font-weight: 500; letter-spacing: 1.5px; margin-top: auto; transition: background 0.3s; }
.branch-wolt:hover { background: #007BB8; }
.branch-wolt .wolt-icon { font-weight: 700; font-size: 14px; }

/* === FRANCHISE === */
.franchise { background: linear-gradient(180deg, #FFFFFF 0%, #EDF6FA 100%); color: var(--ink); padding: 60px 32px 70px; text-align: center; position: relative; }
.franchise-eyebrow { font-size: 14px; letter-spacing: 6px; color: var(--teal-accent); margin-bottom: 24px; font-weight: 600; text-transform: uppercase; }
.franchise h2 { font-size: clamp(36px, 5vw, 56px); font-weight: normal; line-height: 1.05; letter-spacing: 1px; margin-bottom: 24px; color: var(--ink); }
.franchise h2 .motion-blue { color: var(--blue-deep); font-style: normal; font-weight: 300; }
.franchise p { font-size: 16px; line-height: 1.7; color: var(--brown); max-width: 560px; margin: 0 auto 32px; font-weight: 300; }
.franchise-features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; max-width: 900px; margin: 40px auto; padding: 36px 0; border-top: 1px solid rgba(85,75,65,0.18); border-bottom: 1px solid rgba(85,75,65,0.18); }
.franchise-feature { text-align: center; }
.franchise-feature .num { font-size: 36px; color: var(--blue-deep); margin-bottom: 6px; }
.franchise-feature .label { font-size: 12px; color: var(--brown); letter-spacing: 1.5px; }
.franchise .btn { display: inline-block; padding: 17px 44px; background: var(--teal-accent); color: #FFFFFF; text-decoration: none; font-size: 13px; letter-spacing: 3px; font-weight: 500; border-radius: 999px; transition: transform 0.3s, background 0.3s, box-shadow 0.3s; margin-top: 16px; box-shadow: 0 6px 18px rgba(74, 143, 168, 0.18); }
.franchise .btn:hover { transform: translateY(-2px); background: var(--brown); box-shadow: 0 8px 22px rgba(85, 75, 65, 0.22); }

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .topbar nav { display: none; }
  .motion-showcase { padding: 64px 0 26px; min-height: auto; }
  .motion-inner { grid-template-columns: 1fr; gap: 22px; text-align: center; }
  .motion-typewriter { min-height: 100px; }
  .motion-box-wrap { order: -1; margin: 0; }
  .motion-box-video { max-width: 100%; width: 100%; border-radius: 0; box-shadow: none; animation: none; aspect-ratio: 9 / 16; max-height: 92vh; }
  .motion-video-overlay { max-width: 100%; padding: 0 8%; top: 5%; }
  .motion-video-overlay .motion-eyebrow { font-size: 13px; letter-spacing: 5px; margin-bottom: 12px; }
  .motion-video-overlay .motion-headline { font-size: 38px; line-height: 1.05; }
  .motion-text { padding: 0 20px; }
  .motion-hero-eyebrow { display: none; }
  .motion-ctas { display: none; }
  .motion-seal { width: 130px; opacity: 0.7; }
  .display { padding: 22px 16px 28px; }
  .display-carousel-wrap { padding: 0 50px 24px; }
  .display-carousel { gap: 12px; padding-bottom: 12px; }
  .display-carousel .display-item { flex: 0 0 100%; max-width: 100%; scroll-snap-align: center; }
  .display-item-info { padding: 16px 18px 18px; }
  .display-item-desc { -webkit-line-clamp: 2; font-size: 14px; margin: 4px 0 8px; }
  .display-item-name { font-size: 21px; }
  .display-item-meta { margin-top: 8px; padding-top: 8px; }
  .carousel-arrow { width: 42px; height: 42px; font-size: 22px; top: 38%; }
  .carousel-arrow.prev { right: 4px; }
  .carousel-arrow.next { left: 4px; }
  .display-header { margin-bottom: 22px; }
  .display-header .display-eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: 4px; }
  .display-header h2 { font-size: clamp(28px, 6vw, 38px); }
  .display-header p { font-size: 14.5px; margin-top: 12px; line-height: 1.55; }
  .full-view-link { margin-top: 14px; padding: 9px 18px; font-size: 12px; letter-spacing: 1.5px; }
  .reviews { padding: 28px 16px 32px; }
  .reviews-carousel-wrap { padding: 0 50px; }
  .reviews-carousel { gap: 12px; }
  .reviews-carousel .review-card { flex: 0 0 100%; max-width: 100%; scroll-snap-align: center; }
  .reviews-arrow { width: 38px; height: 38px; font-size: 18px; top: 38%; }
  .branches-section { padding: 28px 16px 32px; }
  .branches-section .header { margin-bottom: 22px; }
  .branches-section .eyebrow { margin-bottom: 14px; font-size: 12px; letter-spacing: 4px; }
  .branches-section h2 { font-size: clamp(28px, 6vw, 38px); }
  .branches-section .branches-intro { font-size: 14.5px; margin-top: 10px; }
  .branches-carousel-wrap { padding: 0 50px; }
  .branches-carousel { gap: 12px; }
  .branches-carousel .branch-card { flex: 0 0 100%; max-width: 100%; scroll-snap-align: center; }
  .branches-arrow { width: 42px; height: 42px; font-size: 20px; top: 42%; }
  .franchise { padding: 28px 16px 32px; }
  .franchise-features { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}
@media (max-width: 700px) {
  .box-buy-btn, .box-add-btn { padding: 10px 4px; font-size: 11.5px; }
}
@media (max-width: 600px) {
  .motion-headline { font-size: 34px; }
  .motion-typewriter { font-size: 20px; min-height: 90px; }
  .motion-video-overlay .motion-headline { font-size: 34px; }
  .motion-video-overlay .motion-eyebrow { font-size: 12px; letter-spacing: 4px; }
  .motion-seal { display: none; }
}
