/* =========================================================
   מיכל – מתיקות מוקצפת · סגנון האתר
   בנוי קודם לטלפון, ואחר כך מתרחב למסכים גדולים
   ========================================================= */

:root {
  --bg: #FBF7F1;          /* רקע קרם */
  --ink: #4A3428;         /* טקסט חום כהה */
  --soft: #7A6253;        /* טקסט משני */
  --gold: #B08D57;        /* זהב – קישוטים ומסגרות */
  --gold-l: #D9C3A0;      /* זהב בהיר – קווים */
  --card: #F3EADF;        /* רקע כרטיסים */
  --gold-text: #86663A;   /* זהב כהה לטקסט קטן (ניגודיות תקינה על קרם) */
  --field-border: #9C7E52;
  --error: #A33A2C;
  --white: #fff;
  --shadow: 0 2px 10px rgba(74, 52, 40, .10);
  --shadow-lg: 0 8px 26px rgba(74, 52, 40, .16);
  --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: 20px;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  right: 12px;
  z-index: 100;
  background: var(--ink);
  color: var(--bg);
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- קישוט זהב: קו · יהלום · קו ---------- */
.orn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.orn i { display: block; width: 64px; height: 1px; background: var(--gold); }
.orn b { display: block; width: 8px; height: 8px; background: var(--gold); transform: rotate(45deg); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 10px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.btn-primary { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-primary:hover { background: #5E4536; box-shadow: var(--shadow); }
.btn-outline { background: var(--white); border-color: var(--gold); color: var(--ink); }
.btn-outline:hover { background: var(--card); }

/* =========================================================
   תפריט עליון
   ========================================================= */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(251, 247, 241, .97);
  border-bottom: 1px solid var(--gold-l);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 2px 14px rgba(74, 52, 40, .08); }

.nav-wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; }

/* כפתור המבורגר */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 12px;
  background: none;
  border: 1px solid var(--gold-l);
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* תפריט בטלפון: נפתח מתחת לכותרת */
.site-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  inset-inline: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--gold-l);
  box-shadow: 0 12px 24px rgba(74, 52, 40, .10);
  padding: 8px 20px 22px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.site-nav.is-open { display: block; }
.site-nav ul li a {
  display: block;
  padding: 13px 4px;
  border-bottom: 1px solid var(--gold-l);
  text-decoration: none;
  font-size: 1.1rem;
}
.site-nav ul li a:hover { color: var(--gold-text); }
.nav-cta { width: 100%; margin-top: 18px; }

@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    align-items: center;
    gap: 26px;
    position: static;
    padding: 0;
    background: none;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
  }
  .site-nav ul { display: flex; gap: 22px; }
  .site-nav ul li a {
    padding: 6px 0;
    border: 0;
    font-size: .98rem;
    position: relative;
  }
  .site-nav ul li a::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .3s ease;
  }
  .site-nav ul li a:hover::after { transform: scaleX(1); }
  .nav-cta { width: auto; margin-top: 0; min-height: 42px; padding: 6px 24px; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  padding: calc(var(--header-h) + 20px) 0 32px;
  text-align: center;
}
.hero-frame {
  position: relative;
  border: 1px solid var(--gold-l);
  padding: 36px 16px 40px;
}
.hero-frame::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--gold-l);
  pointer-events: none;
}
.hero-logo { position: relative; }
.hero-logo img { width: min(520px, 100%); margin-inline: auto; }

.hero-slogan {
  font-weight: 300;
  font-size: clamp(1.6rem, 6.4vw, 2.6rem);
  line-height: 1.3;
  margin-top: 18px;
}
.hero-kinds {
  margin-top: 16px;
  color: var(--gold-text);
  font-weight: 500;
  font-size: .95rem;
  letter-spacing: .03em;
}
/* תגית כשרות */
.kosher {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 7px 20px;
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 999px;
  font-size: .98rem;
  font-weight: 500;
  color: var(--ink);
}
.kosher b {
  width: 7px;
  height: 7px;
  background: var(--gold);
  transform: rotate(45deg);
  flex: none;
}

.hero-actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.hero-actions .btn { min-width: 210px; }

.hero-circles {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.hero-circles li {
  width: 66px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 0 0 1px var(--gold-l), var(--shadow);
}
.hero-circles img { width: 100%; height: 100%; object-fit: cover; }

@media (min-width: 768px) {
  .hero { padding-top: calc(var(--header-h) + 32px); }
  .hero-frame { padding: 60px 40px 56px; }
  .hero-frame::before { inset: 9px; }
  .hero-circles { gap: 28px; margin-top: 48px; }
  .hero-circles li { width: 120px; border-width: 6px; }
}

/* =========================================================
   מבנה סקשנים וכותרות
   ========================================================= */
.section { padding: 64px 0; }

.section-head { text-align: center; margin-bottom: 36px; }
.eyebrow {
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .05em;
  color: var(--gold-text);
  margin-bottom: 6px;
}
.section-head h2,
.closing h2 {
  font-weight: 300;
  font-size: clamp(2rem, 8vw, 3.1rem);
  line-height: 1.2;
}
.lead {
  margin-top: 10px;
  color: var(--soft);
  font-size: 1.06rem;
}

@media (min-width: 768px) {
  .section { padding: 90px 0; }
  .section-head { margin-bottom: 48px; }
  .orn i { width: 84px; }
}

/* מסגרת לבנה עם צל עדין (כמו בקטלוג) */
.frame {
  background: var(--white);
  padding: 6px;
  box-shadow: var(--shadow);
}

/* כפתור שעוטף תמונה שאפשר להגדיל */
.zoom {
  display: block;
  width: 100%;
  border: 0;
  margin: 0;
  cursor: zoom-in;
  background: var(--white);
  overflow: hidden;
}
.zoom img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .6s ease;
}
.zoom:hover img { transform: scale(1.03); }
.zoom.frame { transition: box-shadow .3s ease; }
.zoom.frame:hover { box-shadow: var(--shadow-lg); }

/* =========================================================
   המגוון שלנו – קשתות
   ========================================================= */
.cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 18px;
}
.cat {
  display: block;
  text-align: center;
  text-decoration: none;
}
.arch {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 999px 999px 4px 4px;
  overflow: hidden;
  border: 5px solid var(--white);
  box-shadow: 0 0 0 1px var(--gold-l), var(--shadow);
  transition: box-shadow .3s ease;
}
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover .arch { box-shadow: 0 0 0 1px var(--gold), var(--shadow-lg); }
.cat:hover .arch img { transform: scale(1.04); }
.cat-name {
  display: block;
  margin-top: 14px;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.35;
}
.cat-more {
  display: block;
  margin-top: 2px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gold-text);
}

@media (min-width: 900px) {
  .cats { grid-template-columns: repeat(4, 1fr); gap: 36px; }
  .arch { border-width: 7px; }
  .cat-name { font-size: 1.3rem; }
}

/* =========================================================
   עוגות
   ========================================================= */
.cake-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.cake-grid .zoom img { aspect-ratio: 1; }
.cake-grid .zoom:first-child { grid-column: 1 / -1; }
.cake-grid .zoom:first-child img { aspect-ratio: 4 / 3; }

@media (min-width: 768px) {
  .cake-grid { grid-template-columns: repeat(12, 1fr); gap: 16px; }
  .cake-grid .zoom,
  .cake-grid .zoom:first-child { grid-column: span 3; }
  .cake-grid .zoom:first-child img { aspect-ratio: 1; }
  .cake-grid .zoom:nth-child(-n+3) { grid-column: span 4; }
}

.txt {
  margin: 40px auto 0;
  max-width: 640px;
  text-align: center;
  font-size: 1.12rem;
  line-height: 1.8;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
}
.chips li {
  background: var(--white);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 18px;
  font-size: .95rem;
}

/* =========================================================
   כרטיסי מוצר (פטיפורים, קינוחי כוסות)
   ========================================================= */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.card {
  background: var(--white);
  padding: 7px 7px 0;
  box-shadow: var(--shadow);
  transition: box-shadow .3s ease;
}
.card:hover { box-shadow: var(--shadow-lg); }
.card h3 {
  text-align: center;
  font-weight: 500;
  font-size: 1.02rem;
  line-height: 1.35;
  padding: 12px 4px 14px;
}
.card h3 small {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-text);
  margin-bottom: 2px;
}

.pf-grid .zoom img { aspect-ratio: 6 / 5; }
.cup-grid .zoom img { aspect-ratio: 5 / 8; }
.cup-grid .card-wide { grid-column: 1 / -1; }
.cup-grid .card-wide .zoom img { aspect-ratio: 1280 / 395; }

@media (min-width: 768px) {
  .pf-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  .cup-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
  .card { padding: 9px 9px 0; }
  .card h3 { font-size: 1.12rem; padding: 14px 4px 16px; }
}

/* =========================================================
   נשיקות בוטיק
   ========================================================= */
.mer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.mer-grid .zoom img { aspect-ratio: 5 / 4; }

@media (min-width: 768px) {
  .mer-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}

/* =========================================================
   איך מזמינים
   ========================================================= */
.steps {
  display: grid;
  gap: 16px;
  max-width: 820px;
  margin-inline: auto;
}
.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card);
  padding: 22px 18px;
  border-radius: 6px;
}
.step-n {
  flex: none;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--white);
  color: var(--gold-text);
  font-size: 1.35rem;
  font-weight: 300;
}
.step h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; line-height: 1.4; }
.step p { color: var(--soft); }

a[href^="tel:"] { white-space: nowrap; }

.strong-link {
  color: var(--ink);
  font-weight: 600;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.strong-link:hover { color: var(--gold-text); }

@media (min-width: 768px) {
  .step { padding: 28px 32px; gap: 26px; align-items: center; }
  .step-n { width: 56px; height: 56px; font-size: 1.5rem; }
}

/* =========================================================
   טופס הזמנה
   ========================================================= */
.order-card {
  max-width: 780px;
  margin-inline: auto;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
  padding: 26px 18px 30px;
}
.form-note { font-size: .9rem; color: var(--soft); margin-bottom: 18px; }
.req { color: var(--error); font-weight: 600; }

.form-grid { display: grid; gap: 18px; }

.field label,
.field legend {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  padding: 0;
}

.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 11px 14px;
  font: inherit;
  font-size: 1rem;      /* 16px+ מונע זום אוטומטי באייפון */
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--field-border);
  border-radius: 6px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input[dir="ltr"] { text-align: right; }
.field input::placeholder,
.field textarea::placeholder { color: #8E7868; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-left: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%234A3428' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 15px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .35);
}

.field.is-invalid input { border-color: var(--error); }
.field-error {
  color: var(--error);
  font-size: .9rem;
  margin-top: 4px;
}
.field-error:empty { display: none; }

.checks { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.field .check {
  margin: 0;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 8px 14px;
  border: 1px solid var(--field-border);
  border-radius: 999px;
  background: var(--white);
  cursor: pointer;
  font-size: .98rem;
  line-height: 1.3;
  transition: background-color .2s ease, border-color .2s ease;
}
.check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--gold-text);
}
.check:has(input:checked) { background: var(--card); border-color: var(--gold-text); }
.check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }

/* honeypot – מוסתר בלי להזיז אותו מחוץ למסך (ב-RTL הזזה שמאלה יוצרת גלילה רוחבית) */
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

.btn-submit { width: 100%; margin-top: 26px; min-height: 54px; font-size: 1.08rem; }
.btn-submit[disabled] { opacity: .65; cursor: progress; }

.form-status {
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 6px;
  line-height: 1.6;
}
.form-status:focus { outline: none; }
.form-status.is-success { background: #EEF3E6; border: 1px solid #B9CDA3; color: #34501F; }
.form-status.is-error { background: #F8E9E4; border: 1px solid #E2B8AC; color: #7E2A1E; }
.form-status a { font-weight: 600; color: inherit; }

@media (min-width: 640px) {
  .order-card { padding: 40px 44px 44px; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 20px 22px; }
  .field-full { grid-column: 1 / -1; }
  .check-grid { grid-template-columns: repeat(4, auto); justify-content: start; }
  .btn-submit { width: auto; min-width: 240px; }
}

/* =========================================================
   סיום + כרטיס ביקור
   ========================================================= */
.closing { padding-top: 24px; }
.closing-grid {
  display: grid;
  gap: 36px;
  align-items: center;
  text-align: center;
}
.closing-text p { margin-top: 18px; color: var(--soft); font-size: 1.06rem; }
.closing-text .sig {
  margin-top: 12px;
  color: var(--gold-text);
  font-weight: 600;
  font-size: .95rem;
}
.closing-card { max-width: 520px; margin-inline: auto; width: 100%; }

@media (min-width: 860px) {
  .closing-grid { grid-template-columns: 1fr 1.1fr; gap: 56px; }
}

/* =========================================================
   פוטר
   ========================================================= */
.site-footer {
  border-top: 1px solid var(--gold-l);
  padding: 34px 0 40px;
  text-align: center;
  color: var(--soft);
  font-size: .95rem;
  line-height: 1.9;
}
.site-footer .f-name { color: var(--ink); font-size: 1.15rem; font-weight: 500; }
.site-footer a { color: var(--ink); font-weight: 500; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.site-footer .f-kosher { color: var(--ink); font-weight: 500; }
.site-footer .f-copy { margin-top: 8px; font-size: .85rem; }

/* קרדיט עדין למעצבת */
.site-footer .f-credit {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2px 14px;
  max-width: 520px;
  margin: 18px auto 0;
  padding-top: 14px;
  border-top: 1px solid var(--gold-l);
  font-size: .8rem;
  line-height: 1.6;
}
.site-footer .f-credit img { width: 18px; height: 18px; }
.site-footer .f-credit b { font-weight: 600; color: var(--ink); }

/* =========================================================
   Lightbox
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 64px 12px 24px;
  background: rgba(40, 28, 21, .9);
  animation: lb-in .25s ease;
}
.lightbox[hidden] { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

.lb-stage { max-width: 100%; text-align: center; }
.lb-img {
  max-width: min(92vw, 1100px);
  max-height: 78vh;
  width: auto;
  height: auto;
  margin-inline: auto;
  border: 6px solid var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .35);
}
.lb-caption { margin-top: 12px; color: var(--bg); font-size: 1.05rem; }
.lb-caption:empty { display: none; }

.lb-btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(251, 247, 241, .5);
  background: rgba(251, 247, 241, .12);
  color: var(--bg);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease;
}
.lb-btn:hover { background: rgba(251, 247, 241, .25); }
.lb-btn:focus-visible { outline-color: var(--bg); }
.lb-btn[hidden] { display: none; }
.lb-close { top: 12px; left: 12px; }
.lb-prev { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { left: 12px; top: 50%; transform: translateY(-50%); }

@media (max-width: 600px) {
  .lb-prev, .lb-next { top: auto; bottom: 16px; transform: none; }
  .lightbox { padding-bottom: 80px; }
}

body.lb-open { overflow: hidden; }

/* =========================================================
   אנימציית הופעה עדינה בגלילה
   (רק כש-JS פעיל, כדי שבלי JS הכל ייראה רגיל)
   ========================================================= */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
