/* ==========================================================
   לחם שמריהו – Lechem Shmaryahu
   Layout modelled on the Site123 version. RTL Hebrew.
   Font: Assistant (self-hosted, same font as the 123 site).
   ========================================================== */

/* ---------- Assistant (self-hosted) ---------- */
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/assistant-hebrew-400-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/assistant-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/assistant-hebrew-600-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/assistant-latin-600-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/assistant-hebrew-700-normal.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F; }
@font-face { font-family: "Assistant"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/assistant-latin-700-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --white: #ffffff;
  --card: #faf6ee;          /* warm off-white (123 uses #f9f9f9) */
  --beige-50: #f8f2e8;
  --beige-100: #f1e8d8;
  --beige-200: #e7d9c0;
  --accent: #cd853f;        /* same accent as the 123 site */
  --accent-dark: #b87333;
  --ink: #000000;
  --ink-soft: #5d5346;
  --line: #e8dfcf;
  --header-h: 88px;
  --font: "Assistant", Arial, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--font); margin: 0 0 .5em; line-height: 1.2; color: var(--ink); }

.container { width: min(1180px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; top: -60px; right: 12px;
  background: var(--accent); color: #000; padding: 10px 16px; z-index: 300;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

main { padding-top: var(--header-h); }
.home main { padding-top: 0; padding-bottom: 230px; }

/* ---------- Header: menu on the right, logo on the left ---------- */
.site-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 200;
  height: var(--header-h);
  background: var(--white);
  box-shadow: 0 3px 8px rgba(0, 0, 0, .22);
  transition: background .3s, box-shadow .3s;
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: flex-start; gap: 24px; }
.brand { margin-inline-start: auto; }   /* logo pushed to the left end, menu + cart on the right */

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 30px; }
.main-nav a {
  display: inline-block; padding: 6px 0 5px;
  font-size: 18px; font-weight: 700; letter-spacing: 1.5px;
  color: var(--ink);
  border-bottom: 2px solid transparent;      /* underline on hover / current page */
  transition: border-color .2s;
}
.main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: currentColor; color: inherit; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand img { width: 58px; height: 58px; border-radius: 50%; border: 2px solid var(--beige-200); object-fit: cover; }
.brand-name { font-size: 21px; font-weight: 700; line-height: 1.1; }
.brand-tag { display: block; font-size: 14px; font-weight: 400; color: var(--ink-soft); }

/* transparent header over the hero on the home page */
.home .site-header { background: transparent; box-shadow: none; }
.home .site-header .main-nav a, .home .site-header .brand, .home .site-header .brand-tag { color: #fff; }
.home .site-header .brand img { border-color: rgba(255, 255, 255, .8); }
.home .site-header .nav-toggle span, .home .site-header .nav-toggle span::before, .home .site-header .nav-toggle span::after { background: #fff; }
.home .site-header.scrolled { background: var(--white); box-shadow: 0 3px 8px rgba(0, 0, 0, .22); }
.home .site-header.scrolled .main-nav a, .home .site-header.scrolled .brand { color: var(--ink); }
.home .site-header.scrolled .brand-tag { color: var(--ink-soft); }
.home .site-header.scrolled .brand img { border-color: var(--beige-200); }
.home .site-header.scrolled .nav-toggle span, .home .site-header.scrolled .nav-toggle span::before, .home .site-header.scrolled .nav-toggle span::after { background: var(--ink); }

.nav-toggle {
  display: none; background: transparent; border: 0; width: 46px; height: 46px; cursor: pointer;
  align-items: center; justify-content: center; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 26px; height: 3px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; right: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent !important; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 30px; border-radius: 4px;
  font-family: var(--font); font-weight: 700; font-size: 18px;
  border: 2px solid var(--accent); background: var(--accent); color: #000; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: #000; transform: translateY(-2px); }
.btn-ghost { background: var(--white); color: var(--ink); }
.btn-ghost:hover { background: var(--beige-100); border-color: var(--accent); color: var(--ink); }
.btn svg { width: 22px; height: 22px; flex: none; }

/* ---------- Home: hero + overlapping card ---------- */
.hero {
  position: relative; height: max(540px, 85vh);
  background: #2a211a url("../images/ribbon.jpg") center / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .12); }
/* soft shade behind the header only, so the white menu stays readable on the brighter image */
.hero::after { content: ""; position: absolute; top: 0; inset-inline: 0; height: 170px; background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, 0)); pointer-events: none; }
.hero-card {
  position: absolute; left: 50%; top: 100%; transform: translate(-50%, -50px); /* only 50px overlaps the hero, so the card stays below the ribbon text */
  width: min(700px, 90%);
  background: var(--card); border-radius: 25px;
  box-shadow: 0 20px 30px rgba(0, 0, 0, .15);
  padding: 46px 30px 42px; text-align: center; z-index: 2;
}
.hero-card h1 { font-size: clamp(30px, 4.4vw, 46px); font-weight: 700; margin: 0 0 18px; }
.bar { display: block; width: 90px; height: 4px; background: var(--accent); margin: 0 auto 20px; }
.hero-card h2 { font-size: clamp(21px, 2.8vw, 30px); font-weight: 700; color: var(--accent); margin: 0; }
.hero-card h2.hero-sub { font-size: clamp(16px, 2vw, 21px); color: var(--ink); font-weight: 400; margin-top: 10px; }

/* ---------- Page titles (inner pages) ---------- */
.page-title { text-align: center; padding: 56px 0 10px; }
.page-title h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 400; margin: 0 0 14px; }
.page-title .bar { width: 64px; height: 3px; margin: 0 auto; }

.section { padding: 40px 0 80px; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; padding: 64px 0 80px; }
.about-img img { width: 100%; border-radius: 6px; box-shadow: 0 14px 34px rgba(0, 0, 0, .2); }
.about-text h1 { font-size: clamp(34px, 4.4vw, 50px); font-weight: 700; margin: 0; }
.about-text .bar { margin: 18px 0 30px; }
.about-text p { margin: 0 0 1.25em; font-size: 19px; line-height: 1.65; }
.about-text .signature { margin-top: 1.8em; }

/* ---------- Product cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-products { grid-template-columns: repeat(6, 1fr); }
.grid-products > .card { grid-column: span 2; }
/* 5 products: second row (2 cards) centred under the first row of 3 */
.grid-products > .card:nth-child(4):nth-last-child(2) { grid-column: 2 / span 2; }
.grid-products > .card:nth-child(5):last-child { grid-column: 4 / span 2; }
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 10px; overflow: hidden; color: var(--ink);
  box-shadow: 0 3px 12px rgba(0, 0, 0, .06);
  transition: transform .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 32px rgba(0, 0, 0, .14); color: var(--ink); }
.card-img { aspect-ratio: 1 / 1; overflow: hidden; background: var(--beige-100); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-title { font-size: 19px; font-weight: 700; line-height: 1.3; margin: 0; }
.card-price { color: var(--accent-dark); font-weight: 700; font-size: 20px; margin-top: auto; }
.card-more { margin-top: 2px; padding-top: 8px; border-top: 1px dashed var(--beige-200); font-weight: 700; font-size: 16px; color: var(--accent-dark); }

/* ---------- Product page ---------- */
.breadcrumb { padding: 22px 0 18px; font-size: 16px; color: var(--ink-soft); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin-inline-end: 8px; color: var(--accent); }
.breadcrumb a { color: var(--ink-soft); }
.breadcrumb a:hover { color: var(--ink); }

.product { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.product-media { background: var(--white); padding: 8px; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 28px rgba(0, 0, 0, .12); }
.product-media > img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 6px; }
.product-info h1 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; }
.product-price { font-size: 34px; font-weight: 700; color: var(--accent-dark); margin: .1em 0 .5em; }
.product-short { color: var(--ink-soft); margin-bottom: 1.2em; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.5em; padding: 0; list-style: none; }
.badges li { background: var(--card); border: 1px solid var(--line); padding: 4px 14px; border-radius: 999px; font-size: 15px; color: var(--ink-soft); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row .btn { flex: 1 1 170px; min-width: 0; }
.product-note { margin-top: 1.3em; font-size: 16px; color: var(--ink-soft); }

.tab-box { margin-top: 48px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--white); }
.tab-title { margin: 0; padding: 14px 26px; background: var(--card); border-bottom: 1px solid var(--line); font-size: 22px; font-weight: 700; }
.tab-body { padding: 28px; }
.tab-body p { margin: 0 0 1em; }
.placeholder-text { color: var(--ink-soft); font-style: italic; }

.related h2 { text-align: center; font-size: 32px; font-weight: 400; margin-bottom: 1em; }
.grid-related { grid-template-columns: repeat(4, 1fr); }

/* ---------- Product gallery (thumbnails + lightbox) ---------- */
.pg-stage { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 6px; background: #1c1b20; }
.pg-bg { position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); object-fit: cover; filter: blur(24px) brightness(.8); pointer-events: none; }
.pg-main { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pg-main-img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; }
.pg-zoom { position: absolute; left: 10px; bottom: 10px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 6px; background: rgba(0, 0, 0, .5); color: #fff; pointer-events: none; }
.pg-zoom svg { width: 22px; height: 22px; }
.pg-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .45); color: #fff; cursor: pointer; transition: background .2s; }
.pg-arrow:hover { background: rgba(0, 0, 0, .75); }
.pg-arrow svg { width: 22px; height: 22px; }
.pg-arrow-l { left: 10px; }
.pg-arrow-r { right: 10px; }
.pg-thumbs { display: flex; gap: 8px; margin: 8px 0 0; padding: 0 0 4px; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: thin; }
.pg-thumbs li { flex: 0 0 clamp(64px, calc((100% - 40px) / 6), 120px); scroll-snap-align: start; }
.pg-thumb { display: block; width: 100%; padding: 0; border: 2px solid transparent; border-radius: 5px; background: #222; cursor: pointer; overflow: hidden; opacity: .72; transition: opacity .2s, border-color .2s; }
.pg-thumb img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.pg-thumb:hover, .pg-thumb.is-active { opacity: 1; border-color: var(--accent); }

body.lb-lock { overflow: hidden; }
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(14, 11, 8, .94); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; }
.lb.is-open { opacity: 1; visibility: visible; }
.lb-stage { display: flex; width: min(92vw, 1280px); height: min(84vh, 900px); }
.lb-img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .2s; user-select: none; -webkit-user-drag: none; }
.lb-img.is-ready { opacity: 1; }
.lb-count { margin-top: 12px; color: #e9e2d6; font-size: 17px; letter-spacing: .5px; }
.lb-close, .lb-arrow { position: absolute; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .2s; }
.lb-close:hover, .lb-arrow:hover { background: rgba(255, 255, 255, .3); }
.lb-close { top: 16px; right: 20px; width: 48px; height: 48px; }
.lb-close svg { width: 24px; height: 24px; }
.lb-arrow { top: 50%; transform: translateY(-50%); width: 58px; height: 58px; }
.lb-arrow svg { width: 30px; height: 30px; }
.lb-arrow-l { left: max(14px, 1.6vw); }
.lb-arrow-r { right: max(14px, 1.6vw); }
.lb :focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
@media (max-width: 700px) {
  .lb-stage { width: 100vw; height: 72vh; }
  .lb-arrow { width: 44px; height: 44px; background: rgba(0, 0, 0, .5); }
  .lb-arrow svg { width: 24px; height: 24px; }
  .lb-arrow-l { left: 8px; }
  .lb-arrow-r { right: 8px; }
  .lb-close { top: 10px; right: 10px; width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) { .lb, .lb-img, .pg-thumb, .pg-arrow { transition: none; } }

/* ---------- Testimonials (rows: photo on the right) ---------- */
.t-list { width: min(780px, 92%); margin: 34px auto 90px; }
.t-card { display: flex; align-items: stretch; gap: 20px; background: var(--card); padding: 9px; margin-bottom: 22px; }
.t-photo {
  position: relative; overflow: hidden; flex: none; width: 145px; height: 145px; background: var(--beige-100);
  display: grid; place-items: center; color: var(--beige-200);
}
.t-photo svg { width: 74px; height: 74px; }
.t-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.t-body { padding: 6px 4px; flex: 1; min-width: 0; }
.t-body h4 { font-size: 20px; font-weight: 700; margin: 0; }
.t-role { font-size: 13px; font-style: italic; color: var(--ink-soft); margin: 0 0 4px; }
.t-stars { font-size: 18px; letter-spacing: 6px; color: #000; line-height: 1.3; margin-bottom: 8px; }
.t-body p { margin: 0; font-size: 17px; line-height: 1.5; }

/* ---------- Contact ---------- */
.contact-form { position: relative; width: min(1100px, 92%); margin: 38px auto 0; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.field {
  width: 100%; padding: 12px 16px; background: #fff;
  border: 1px solid #d8d4cc; border-radius: 3px;
  font-family: var(--font); font-size: 17px; color: var(--ink);
}
.field::placeholder { color: #8a8a8a; }
.field:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(205, 133, 63, .2); }
textarea.field { min-height: 120px; resize: vertical; display: block; margin-bottom: 20px; }
.form-submit { text-align: center; }
.form-submit .btn { padding: 11px 38px; }
.form-submit .btn[disabled] { opacity: .7; cursor: wait; }
.form-msg { margin: 16px auto 0; padding: 10px 16px; border-radius: 4px; font-size: 17px; max-width: 560px; text-align: center; }
.form-msg.ok { background: #eef6ee; color: #2e6b32; border: 1px solid #b9d9bb; }
.form-msg.err { background: #fbeeee; color: #a32b2b; border: 1px solid #e8bcbc; }
.form-msg a { color: inherit; font-weight: 700; text-decoration: underline; }
.hp { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); opacity: 0; pointer-events: none; }

.contact-bottom { width: min(1100px, 92%); margin: 56px auto 90px; display: grid; grid-template-columns: 1fr 1.7fr; gap: 40px; align-items: start; }
.contact-info ul { list-style: none; margin: 0 0 24px; padding: 0; }
.contact-info li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; font-size: 18px; }
.contact-info li svg { width: 20px; height: 20px; flex: none; margin-top: 5px; color: var(--accent); }
.contact-info a { color: var(--accent-dark); }
.contact-info a:hover { color: var(--ink); }
.hours-lines { line-height: 1.5; }
.contact-info .desc { margin: 0; font-size: 18px; line-height: 1.55; }
.map-wrap { border: 1px solid var(--line); }
.map-wrap iframe { display: block; width: 100%; height: 400px; border: 0; pointer-events: none; }
.map-link { display: block; padding: 10px 14px; text-align: center; background: var(--card); font-weight: 700; font-size: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--beige-50); border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding: 44px 0 30px; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand img { width: 64px; height: 64px; border-radius: 50%; border: 2px solid var(--beige-200); }
.footer-brand strong { font-size: 22px; }
.site-footer h3 { font-size: 20px; font-weight: 700; margin-bottom: .5em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: .25em; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--ink); }
.footer-bottom { border-top: 1px solid var(--line); padding: 16px 0 22px; text-align: center; font-size: 15px; color: var(--ink-soft); }

/* ---------- Floating WhatsApp (round, accent colour like the 123 share button) ---------- */
.fab {
  position: fixed; bottom: 18px; inset-inline-start: 18px; z-index: 150;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .25); transition: transform .2s, background .2s;
}
.fab:hover { transform: scale(1.08); background: #1ebe5a; color: #fff; }
.fab svg { width: 28px; height: 28px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .card, .card-img img, .btn, .fab { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav ul { gap: 20px; }
  .main-nav a { font-size: 16px; letter-spacing: 1px; }
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .grid-products > .card, .grid-products > .card:nth-child(n) { grid-column: auto; }
  .grid-related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  :root { --header-h: 76px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute; top: 100%; inset-inline: 0; background: var(--white);
    box-shadow: 0 10px 16px rgba(0, 0, 0, .15); display: none; padding: 8px 4% 18px;
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a, .home .site-header .main-nav a { display: block; color: var(--ink); padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 18px; }
  .main-nav a:hover, .main-nav a[aria-current="page"] { border-bottom-color: var(--accent); }
  .brand img { width: 48px; height: 48px; }
  .about { grid-template-columns: 1fr; }
  .about-img { max-width: 520px; margin-inline: auto; }
  .product { grid-template-columns: 1fr; }
  .grid-related { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .contact-bottom { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { justify-content: center; }
  .hero { height: max(460px, 75vh); }
}
@media (max-width: 560px) {
  body { font-size: 17px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 18px; }
  .grid-products, .grid-related { grid-template-columns: 1fr; }
  .hero-card { padding: 30px 18px 28px; transform: translate(-50%, -55px); }
  .home main { padding-bottom: 190px; }
  .t-card { flex-direction: column; }
  .t-photo { width: 100%; height: 150px; flex: none; }
  .btn { width: 100%; }
  .cta-row .btn { flex: 1 1 100%; }
  .map-wrap iframe { height: 300px; }
}

/* phone / e-mail fields: type left-to-right but keep them visually on the right (RTL page) */
.field-ltr { direction: ltr; text-align: right; }
.field-ltr:not(:placeholder-shown) { text-align: left; }

/* product description: feature list + ingredients */
.features { list-style: none; margin: 0 0 1.6em; padding: 0; }
.features li { position: relative; padding-inline-start: 30px; margin-bottom: 8px; }
.features li::before { content: "✓"; position: absolute; inset-inline-start: 0; top: 0; color: var(--accent); font-weight: 700; }
.tab-body h3 { font-size: 21px; font-weight: 700; margin: 0 0 .4em; }


/* ==========================================================
   Cart + checkout
   ========================================================== */
[hidden] { display: none !important; }
html.cart-open { overflow: hidden; }

/* ---------- header cart button ---------- */
.cart-btn {
  position: relative; flex: none; width: 46px; height: 46px; padding: 0;
  display: inline-grid; place-items: center; cursor: pointer;
  background: transparent; border: 0; border-radius: 50%; color: var(--ink);
  transition: color .2s;
}
.cart-btn svg { width: 28px; height: 28px; }
.cart-btn:hover { color: var(--accent-dark); }
.cart-count {
  position: absolute; top: 0; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
  border-radius: 10px; background: var(--accent-dark); color: #fff;
  font-size: 13px; font-weight: 700; line-height: 20px; text-align: center;
}
.home .site-header .cart-btn { color: #fff; }
.home .site-header .cart-btn:hover { color: var(--beige-100); }
.home .site-header.scrolled .cart-btn { color: var(--ink); }
.home .site-header.scrolled .cart-btn:hover { color: var(--accent-dark); }

/* ---------- drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; z-index: 299; background: rgba(0, 0, 0, .45);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.cart-drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 300;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: #fff; box-shadow: 8px 0 30px rgba(0, 0, 0, .25);
  transform: translateX(-104%); visibility: hidden; transition: transform .3s, visibility .3s;
}
.cart-open .cart-overlay { opacity: 1; visibility: visible; }
.cart-open .cart-drawer { transform: none; visibility: visible; }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; background: var(--accent); color: #000; }
.cart-head h2 { margin: 0; font-size: 22px; font-weight: 700; }
.cart-close { width: 40px; height: 40px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; color: #000; cursor: pointer; }
.cart-close svg { width: 24px; height: 24px; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--card); }
.cart-empty { text-align: center; padding: 50px 10px; }
.cart-empty p { font-size: 20px; margin-bottom: 18px; }
.cart-item {
  position: relative; display: grid; grid-template-columns: 76px 1fr; gap: 12px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 12px;
}
.cart-item img { width: 76px; height: 76px; object-fit: cover; border-radius: 4px; }
.ci-main { min-width: 0; padding-inline-end: 26px; }
.ci-title { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.ci-title:hover { color: var(--accent-dark); }
.ci-unit { font-size: 14px; color: var(--ink-soft); margin: 2px 0 8px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-sum { color: var(--accent-dark); font-size: 18px; }
.ci-del { position: absolute; top: 8px; left: 8px; width: 28px; height: 28px; padding: 0; display: grid; place-items: center; background: transparent; border: 0; color: #9a9a9a; cursor: pointer; }
.ci-del:hover { color: #a32b2b; }
.ci-del svg { width: 18px; height: 18px; }
.cart-foot { padding: 16px; border-top: 1px solid var(--line); background: #fff; display: grid; gap: 10px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 19px; margin-bottom: 4px; }
.cart-total strong { font-size: 22px; }
.cart-foot .btn { width: 100%; }
.btn.is-disabled { opacity: .5; pointer-events: none; }

/* ---------- quantity stepper ---------- */
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--accent); border-radius: 4px; overflow: hidden; background: #fff; }
.qty-btn { width: 36px; padding: 0; border: 0; background: var(--accent); color: #000; font-size: 20px; font-weight: 700; line-height: 1; cursor: pointer; font-family: var(--font); }
.qty-btn:hover { background: var(--accent-dark); }
.qty-input { width: 46px; border: 0; padding: 6px 2px; text-align: center; font-family: var(--font); font-size: 17px; color: var(--ink); background: #fff; }
.qty-input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }

/* ---------- product page: add to cart ---------- */
.buy-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: stretch; margin-bottom: 14px; }
.buy-row .qty { min-height: 52px; }
.buy-row .qty-btn { width: 44px; font-size: 24px; }
.buy-row .qty-input { width: 56px; font-size: 19px; }
.buy-row .btn { flex: 1 1 200px; font-size: 20px; }
.btn-wa svg { color: #25d366; }

/* announcement bar (js/config.js -> bannerHe / bannerEn) */
.shm-banner { position: relative; z-index: 210; background: #3b2a1c; color: #fff; text-align: center; font-weight: 700; font-size: 16px; line-height: 1.4; }
.shm-banner-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; padding: 9px 4%; }
.shm-banner-link { color: #3b2a1c; background: #f0c987; border-radius: 999px; padding: 2px 14px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.shm-banner-link:hover, .shm-banner-link:focus-visible { background: #fff; }
.has-banner .site-header { top: var(--banner-off, 0px); }
@media (max-width: 560px) { .shm-banner { font-size: 14.5px; } .shm-banner-in { padding: 7px 4%; } }

/* order switch / order deadline notice */
.orders-notice { margin: 0 0 14px; padding: 12px 16px; border: 1px solid var(--accent); border-radius: 8px; background: var(--beige-50); color: var(--ink); font-weight: 600; line-height: 1.5; }
.orders-notice.is-closed { background: #fbeedd; border-width: 2px; }
.cart-foot .orders-notice { font-size: 15px; margin-bottom: 12px; }

/* ---------- checkout ---------- */
.checkout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; width: min(1180px, 92%); margin: 34px auto 90px; align-items: start; }
.co-panel, .co-summary { background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.co-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.co-tab {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 16px 10px;
  background: var(--beige-100); color: var(--ink-soft); border: 0; font-family: var(--font); font-size: 17px; font-weight: 700; cursor: pointer;
  box-shadow: inset 0 -3px 0 transparent;
}
.co-tab svg { width: 20px; height: 20px; flex: none; }
.co-tab.active { background: var(--card); color: var(--ink); box-shadow: inset 0 -3px 0 var(--accent); }
.co-tab:disabled { cursor: not-allowed; opacity: .75; }
.co-step { padding: 28px 30px 32px; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.co-field { display: block; }
.co-field.span2 { grid-column: 1 / -1; }
.co-field > span { display: block; margin-bottom: 5px; font-size: 15px; font-weight: 600; }
.co-field i { color: #a32b2b; font-style: normal; }
.co-field textarea.field { margin: 0; min-height: 90px; }
.co-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; line-height: 1.45; cursor: pointer; }
.co-consent input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: #cd853f; cursor: pointer; }
.field[aria-invalid="true"] { border-color: #c0392b; box-shadow: 0 0 0 3px rgba(192, 57, 43, .15); }
.co-step .form-msg { max-width: none; margin: 0 0 18px; text-align: start; }
.co-actions { margin-top: 24px; }
.co-actions .btn { padding: 12px 40px; }
.co-actions .btn[disabled] { opacity: .7; cursor: wait; }

#step-pay { text-align: center; }
.co-pay-total { font-size: 46px; font-weight: 700; color: var(--accent-dark); line-height: 1.2; }
.co-pay-lead { font-size: 20px; margin: 6px 0 16px; }
.pay-option {
  display: flex; align-items: flex-start; gap: 12px; text-align: start; max-width: 520px; margin: 0 auto;
  padding: 14px 16px; background: #fff; border: 2px solid var(--accent); border-radius: 6px; cursor: pointer;
}
.pay-option input { margin-top: 6px; accent-color: var(--accent-dark); flex: none; }
.pay-option strong { flex: none; font-size: 18px; }
.pay-option span { font-size: 16px; line-height: 1.45; }
#step-pay .form-msg { max-width: 520px; margin: 18px auto 0; }
.co-back { margin: 18px 0 0; }
.link-btn { background: none; border: 0; padding: 4px 0; font-family: var(--font); font-size: 16px; font-weight: 600; color: var(--accent-dark); text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--ink); }

.co-summary { padding: 22px; }
.co-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin-bottom: 12px; }
.co-item img { width: 64px; height: 64px; object-fit: cover; border-radius: 4px; flex: none; }
.co-item-title { font-size: 16px; font-weight: 700; line-height: 1.3; }
.co-item-qty { font-size: 14px; color: var(--ink-soft); margin-top: 2px; }
.co-item-sum { color: var(--accent-dark); font-weight: 700; margin-top: 2px; }
.co-line { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 2px; }
.co-line.total { border-top: 1px solid var(--line); font-size: 20px; margin-top: 4px; }
.co-line.total strong { font-size: 22px; }

.co-empty, .co-done { text-align: center; padding: 30px 0 100px; }
.co-empty p { font-size: 22px; margin-bottom: 18px; }
.co-done { max-width: 620px; }
.co-done:focus { outline: none; }
.co-done h2 { font-size: 34px; font-weight: 700; margin: 12px 0 8px; }
.done-icon { width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; }
.done-icon svg { width: 42px; height: 42px; }
.done-num strong { font-size: 22px; letter-spacing: 1px; }
.done-items { list-style: none; margin: 22px 0 6px; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; text-align: start; }
.done-items li { display: flex; justify-content: space-between; gap: 14px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.done-items li:last-child { border-bottom: 0; }
.co-done .co-line.total { margin-bottom: 18px; }
.co-noscript { text-align: center; padding: 20px 0; }

@media (max-width: 900px) {
  .checkout { grid-template-columns: 1fr; }
  .co-step { padding: 22px 18px 26px; }
  .co-grid { grid-template-columns: 1fr; }
  .co-tab { font-size: 15px; padding: 14px 6px; }
  .co-tab svg { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .cart-drawer, .cart-overlay { transition: none; }
}

/* ---------- language selector: ENG | עבר (same pattern as the Ranitech site) ---------- */
.lang-switch { direction: ltr; display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; letter-spacing: 1px; line-height: 1; white-space: nowrap; }
.lang-switch a { color: var(--ink); padding: 6px 0 5px; border-bottom: 2px solid transparent; transition: border-color .2s, color .2s; }
.lang-switch a:hover { color: var(--accent-dark); border-bottom-color: currentColor; }
.lang-switch a.lang-current { color: var(--accent-dark); border-bottom-color: currentColor; }
.lang-switch span { color: #b9b2a3; font-weight: 400; }
.home .site-header .lang-switch a { color: #fff; opacity: .85; }
.home .site-header .lang-switch a.lang-current { opacity: 1; }
.home .site-header .lang-switch span { color: rgba(255, 255, 255, .6); }
.home .site-header.scrolled .lang-switch a { color: var(--ink); opacity: 1; }
.home .site-header.scrolled .lang-switch a.lang-current { color: var(--accent-dark); }
.home .site-header.scrolled .lang-switch span { color: #b9b2a3; }
@media (max-width: 900px) { .header-inner { gap: 10px; } .lang-switch { font-size: 15px; } }

/* product description paragraphs (owner-supplied text) */
.desc-p { margin: 0 0 1em; line-height: 1.65; }
.desc-list { margin: 0 0 1.6em; padding-inline-start: 24px; }
.desc-list li { margin-bottom: 6px; }
.desc-list li::marker { color: var(--accent-dark); }
.tab-body .features { margin-top: 1.4em; }
