/* עיצוב כותרת ראשית של עמוד (h1) */
h1 {
  text-align: center;
  color: #bfa13a;
  font-size: 2.4rem;
  font-weight: 900;
  letter-spacing: 1px;
  margin: 36px 0 24px 0;
  text-shadow: 0 2px 8px rgba(191,161,58,0.10), 0 1px 0 #fff;
  padding-bottom: 8px;
  border-bottom: 2px solid #e9e6ef;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
/* --- עיצוב כללי של הדף --- */
body {
  margin: 0;
  padding: 0;
  font-family: "Heebo", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  direction: rtl;
}
.site-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,.04);
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
}
/* --- פוטר --- */
.site-footer {
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 8px rgba(0,0,0,.04);
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 100;
}
.product-card {
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
}
.product-card:hover {
  transform: translateY(-12px) scale(1.05);
  box-shadow: 0 12px 36px rgba(0,0,0,0.16);
  z-index: 2;
}
.product-card .card-media {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 18px;
  border: 3px solid #e0e0e0;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 12px;
  box-sizing: border-box;
}
.product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 14px;
  display: block;
  margin: auto;
}
/* --- כפתורים ואייקונים --- */
.icon-btn, .cart-btn, .favorite-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #d9534f;
  cursor: pointer;
  transition: box-shadow .2s;
}
.icon-btn:hover, .cart-btn:hover, .favorite-btn:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.qty-btn {
  background: #eee;
  border: none;
  padding: 4px 8px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}
.qty-display {
  min-width: 20px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 500;
}
/* --- כרטיסי עגלה ומועדפים --- */
.cart-product, .favorite-product {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  margin-bottom: 18px;
  width: 250px;
  display: flex;
  flex-direction: column;
}
.cart-product .cart-media, .favorite-product .favorite-media {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f1f7;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}
.cart-product .cart-media img, .favorite-product .favorite-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.cart-product .cart-body, .favorite-product .favorite-body {
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.cart-product .cart-title, .favorite-product .favorite-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
}
.cart-product .cart-price, .favorite-product .favorite-price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
  text-align: center;
}
.cart-product .cart-actions, .favorite-product .favorite-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
}
/* --- כרטיס מוצר --- */
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  width: 280px;
  min-width: 220px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s cubic-bezier(.4,0,.2,1), box-shadow 0.18s;
}
.product-card .card-media {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f1f7;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  overflow: hidden;
}
.product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.product-card .card-body {
  padding: 22px 16px 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.product-card .card-title {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
}
.product-card .card-meta {
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}
.product-card .price {
  font-weight: 700;
  font-size: 1.1rem;
  margin-top: 10px;
  text-align: center;
}
.product-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  justify-content: center;
  align-items: center;
}
.product-card .icon-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #d9534f;
  cursor: pointer;
  transition: box-shadow .2s;
}
.product-card .icon-btn:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}
.product-card .qty-btn {
  background: #eee;
  border: none;
  padding: 4px 8px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}
.product-card .qty-display {
  min-width: 20px;
  text-align: center;
  font-size: 1.1rem;
}

/* גריד לעמוד מוצרים יהודיים בלבד! (ריווח קטן, יישור למרכז, FLEX) */
.grid-products {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px 12px;
  margin: 0 auto;
  max-width: 1200px;
  box-sizing: border-box;
}
.grid-products .product-card {
  margin: 0;
}

.product-card .card-media {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f1f7;
}
.product-card .card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.product-card .card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.product-card .card-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.1rem;
}
.product-card .card-meta {
  color: var(--muted);
  font-size: .95rem;
}
.product-card .price {
  font-weight: 700;
}
.product-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

/* --- משתני עיצוב --- */
:root{
  --brand:#6B5B95;
  --ink:#1a1a1a;
  --muted:#666;
  --bg:#faf9fb;
  --border:#e9e6ef;
  --radius:14px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

#topBanner {
  width: 100%;
  height: 300px; /* אפשר לשנות את הגובה */
  background-image: url("assets/hero.jpg.jpeg");
  background-size: cover; /* שהתמונה תכסה את כל השטח */
  background-position: center; /* שהתמונה תהיה ממורכזת */
  background-repeat: no-repeat;
}

#topBanner::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* כהות עדינה */
}

@media (max-width: 768px) {
  #topBanner {
    height: 150px;
  }
}



*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Heebo",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
}

/* Layout */
.container{max-width:1100px;margin:0 auto;padding:0 16px}

/* Header */
/* עיצוב פס עליון של האתר (ההדר הראשי) */
.site-header{
  position:sticky; top:0; z-index:100;
  background:#fff; border-bottom:1px solid var(--border);
  backdrop-filter:saturate(140%) blur(8px);
}
/* עיצוב התוכן הפנימי של ההדר (יישור לוגו, תפריט וכו') */
.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
}
/* עיצוב הלוגו והשם של האתר */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
/* עיצוב תמונת הלוגו */
.brand-logo {
  width: 140px;
  height: 36px;
  object-fit: contain;
}
/* עיצוב שם האתר */
.brand-name {
  font-weight: 800;
  letter-spacing: .2px;
}
/* עיצוב תפריט הניווט העליון */
.nav {
  margin-inline-start: auto;
  display: flex;
  gap: 18px;
}
/* עיצוב קישורים בתפריט */
.nav-link {
  color: var(--muted);
  text-decoration: none;
}
.nav-link:hover {
  color: var(--ink);
}
/* עיצוב כפתור קריאה לפעולה בהדר */
.header-cta {
  margin-inline-start: 8px;
}
/* עיצוב כפתור תפריט במסך קטן */
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 22px;
}

/* === עיצוב אזור Hero (באנר ראשי) === */
/* עיצוב אזור הבאנר הראשי (Hero) */
.hero {
  background: linear-gradient(180deg, #fff, transparent 70%);
  padding: 32px 0 10px;
}
/* עיצוב מבנה פנימי של הבאנר (שני טורים) */
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}
/* עיצוב כותרת ראשית בבאנר */
.hero-text h1 {
  margin: 0 0 8px;
  font-size: 38px;
}
/* עיצוב פסקה בבאנר */
.hero-text p {
  margin: 0 0 16px;
  color: rgb(0, 255, 0);
}
/* עיצוב שורת כפתורים בבאנר */
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
/* עיצוב תמונת הבאנר */
.hero-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* === עיצוב כפתורים בסיסיים === */
/* עיצוב כפתורים כלליים באתר */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  transition: .2s;
}
.btn:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transform: translateY(-1px);
}
/* עיצוב כפתור ראשי (כחול) */
.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover {
  background: #5d4d87;
}
/* עיצוב כפתור שקוף */
.btn-ghost {
  background: transparent;
}

/* === עיצוב מסננים (Filters) === */
/* עיצוב שורת מסננים (חיפוש, קטגוריות, מיון) */
.filters {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin: 24px 0;
}
/* עיצוב שדה חיפוש */
.search input {
  width: 260px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  outline: none;
}
/* עיצוב שורת כפתורי קטגוריה */
.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
/* עיצוב כפתור קטגוריה בודד */
.chip {
  padding: 8px 12px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  transition: .2s;
  color: var(--muted);
}
/* עיצוב כפתור קטגוריה נבחר */
.chip.active, .chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
/* עיצוב תיבת מיון */
.sort select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
}

/* === עיצוב גריד (Grid) === */
/* עיצוב גריד (Grid) להצגת כרטיסים */
.grid {
  display: grid;
  gap: 16px;
}
/* עיצוב גריד לקטגוריות */
.grid-categories {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  margin-top: 8px;
}

/* === עיצוב כרטיסים (Cards) === */
/* עיצוב כרטיס מוצר כללי */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,.10);
}
/* עיצוב תמונה בכרטיס מוצר */
.card-media {
  aspect-ratio: 4/3;
  background: #f3f1f7;
  display: grid;
  place-items: center;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* עיצוב גוף הכרטיס */
.card-body {
  padding: 12px;
}
/* עיצוב כותרת בכרטיס */
.card-title {
  margin: 0 0 4px;
  font-weight: 700;
}
/* עיצוב טקסט משני בכרטיס */
.card-meta {
  color: var(--muted);
  font-size: .95rem;
}
/* עיצוב שורת כפתורים בכרטיס */
.card-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  border-top: 1px solid var(--border);
}
/* עיצוב מחיר בכרטיס */
.price {
  font-weight: 700;
}

/* === עיצוב אזורים נוספים === */
.shop h2, .products h2, .about h2, .contact h2 {
  margin: 26px 0 10px;
}
.about, .contact {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin: 28px 0;
  box-shadow: var(--shadow);
}
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  outline: none;
  background: #fff;
}
.empty {
  margin: 14px 0;
  padding: 16px;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--muted);
  text-align: center;
  background: #fff;
}

/* === פוטר פנימי === */
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* === נגישות === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

/* === רספונסיביות למסכים קטנים === */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .nav {
    display: none;
  }
  .menu-toggle {
    display: inline-block;
    margin-inline-start: auto;
  }
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

/* === משתני עיצוב גלובליים === */
:root {
  --bg: #fdfcfb;
  --card-bg: #fff;
  --accent: #d4af37;
  --text: #333;
  --muted: #777;
  --border: #e0e0e0;
  --radius: 12px;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  --font: "Heebo", "Segoe UI", sans-serif;
}

body{
    margin: 0;
    padding: 0;
    font-family: var(--font);
    background-color: #004767;
    direction: rtl;
    color: var(--text);
    line-height: 1.6;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

/* כרטיס מתכון - מסגרת */
/* כרטיס מתכון - מסגרת קומפקטית */
.recipe-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 32px auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 700px;
  min-width: 320px;
  padding: 0 0 18px 0;
}

.recipe-img {
  width: 100%;
  max-height: 220px;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid var(--border);
  border-radius: 10px;
  display: block;
  margin: 0 auto;
}

/* עיצוב תוכן המתכון (מרכיבים + אופן הכנה) */
.card-details {
  padding: 20px 18px 10px 18px;
  box-sizing: border-box;
}

.card-details h2 {
  margin-top: 0;
  font-size: 1.6rem;
  color: var(--accent);
}

.card-details ul,
.card-details ol {
  padding-inline-start: 20px;
  margin: 12px 0;
}

.card-details li {
  margin-bottom: 6px;
}

.end-of-recipe {
  font-weight: bold;
  color: var(--accent);
  margin-top: 16px;
  text-align: center;
}

/* עיצוב טקסט אופן ההכנה במתכון */
.recipe-text {
  padding: 0 20px 20px;
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
  color: #222;
}

/* Responsive */
/* במסך רחב: המתכון מוצג בשני טורים - תמונה וטקסט */
@media (min-width: 700px) {
  .recipe-card {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 0;
    align-items: flex-start;
    max-width: 700px;
    margin: 32px auto;
  }
  .recipe-img {
    width: 100%;
    max-width: 220px;
    min-width: 140px;
    max-height: 180px;
    border-bottom: none;
    border-left: 1px solid var(--border);
    border-radius: 0 var(--radius) var(--radius) 0;
    margin: 0;
    object-fit: cover;
    display: block;
  }
  .card-details {
    width: 100%;
    padding: 24px 18px 10px 0;
    box-sizing: border-box;
  }
}

.header-banner {
  width: 100%;
  height: 120px; /* גובה קטן */
  overflow: hidden;
}


.header-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center 30%; /* מיקוד באזור הדגל והכותל */
  display: block;
}


.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  position: relative;
}

.badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: #d9534f;
  color: white;
  font-size: 0.7rem;
  padding: 2px 5px;
  border-radius: 50%;
}

/* גריד לעמוד חנות ראשית בלבד! (מוצרים בשורות, GRID) */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
  padding: 20px;
  justify-items: center;
}
 

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 170px;
  min-width: 170px;
  max-width: 170px;
  /* min-height: 340px; */
  justify-content: flex-start;
  overflow: visible;
}
.card-media {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f1f7;
}
.card-body {
  padding: 18px 12px 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.card-actions {
  padding: 12px;
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 1.1rem;
}
.card-meta {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: .95rem;
}
.price {
  font-weight: 700;
}

.quantity-controls {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.qty-btn {
  background: #eee;
  border: none;
  padding: 4px 8px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
}

.qty-display {
  min-width: 20px;
  text-align: center;
}

.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 999;
}

.modal {
  display: none;
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 8px;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid #ddd;
}

.modal-content {
  padding: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}

/* --- כפתור גלילה למעלה --- */
.back-to-top {
  position: fixed;
  bottom: 10px;
  right: 10px;
  transform: translateX(150%);
  transition: all 0.5s;
}
.back-to-top.active {
  transform: translateX(0);
}

/* --- עיצוב כרטיסי מוצרים כמו בדוגמה --- */
/* כבר קיים למעלה, אין צורך בכפילות */

/* עיצוב שורת מוצר בעגלה/מועדפים */
.cart-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.cart-title {
  font-weight: 700;
  font-size: 1.1rem;
}
.cart-price {
  font-weight: 700;
  color: var(--brand);
  font-size: 1rem;
}
.icon-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #d9534f;
  cursor: pointer;
  transition: box-shadow .2s;
}
.icon-btn:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.10);
}





