/* ==========================================================
   Dead Sea Store – Main Stylesheet  (trilingual HE/EN/RU)
   ========================================================== */

:root {
  --deep:    #0d3d52;
  --teal:    #1a6d7e;
  --aqua:    #b8d8e0;
  --sand:    #e8dbc4;
  --sand-lt: #f5efe3;
  --gold:    #c9a44c;
  --gold-dk: #a5822b;
  --ink:     #1e2d34;
  --muted:   #607a84;
  --line:    #e0dad0;
  --white:   #ffffff;
  --radius:  14px;
  --radius-sm: 9px;
  --shadow:  0 6px 24px rgba(13,61,82,.10);
  --shadow-lg:0 18px 50px rgba(13,61,82,.18);
  --maxw:    1180px;
  --font:    'Nunito','Heebo','Raleway','Segoe UI',system-ui,sans-serif;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img  { max-width: 100%; display: block; }
a    { color: inherit; text-decoration: none; }

/* ── RTL font ────────────────────────────────────────────── */
.lang-he { font-family: 'Heebo','Nunito',sans-serif; }
.lang-ru { font-family: 'Nunito','Raleway',sans-serif; }

/* ── Container ───────────────────────────────────────────── */
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 28px; border: 0; border-radius: 999px;
  font-family: var(--font); font-weight: 700; font-size: .97rem;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--deep); color: #fff; }
.btn-primary:hover { background: var(--teal); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: #2a1e00; }
.btn-gold:hover { background: var(--gold-dk); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--deep); border: 2px solid var(--deep); }
.btn-ghost:hover { background: var(--deep); color: #fff; }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn-outline-white:hover { background: rgba(255,255,255,.15); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 17px; font-size: .85rem; }

/* ── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 201;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 14px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.brand .logo { height: 44px; width: auto; }
.brand-name { font-weight: 800; font-size: 1.2rem; color: var(--deep); }
.brand-sub { display: block; font-size: .65rem; font-weight: 700; color: var(--gold-dk); letter-spacing: 2px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { font-weight: 700; color: var(--ink); padding: 6px 0; position: relative; }
.main-nav a:hover { color: var(--teal); }
.main-nav a.active::after { content:''; position:absolute; bottom:0; inset-inline:0; height:3px; background:var(--gold); border-radius:3px; }

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

.lang-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-btn { display: inline-flex; align-items: center; padding: 6px 12px; font-weight: 700; font-size: .8rem; color: var(--muted); transition: background .15s; border: 0; }
.lang-btn:hover { color: var(--deep); }
.lang-btn.active { background: var(--deep); color: #fff; }
.cur-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; margin-inline-start: 8px; }
.cur-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 30px; padding: 6px 11px; font-weight: 800; font-size: .85rem; color: var(--muted); transition: background .15s; border: 0; }
.cur-btn:hover { color: var(--deep); }
.cur-btn.active { background: var(--gold); color: var(--deep); }

.cart-btn { position: relative; background: var(--sand-lt); border: 0; border-radius: 999px; padding: 9px 14px; cursor: pointer; font-weight: 700; color: var(--deep); display: inline-flex; align-items: center; gap: 6px; }
.cart-count { background: var(--gold); color: #2a1e00; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 4px; }

.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--deep); }
.nav-close { display: none; }

/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(118deg, var(--deep) 0%, var(--teal) 65%, #236b7d 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 75% 30%, rgba(201,164,76,.28), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 80px 0; }
.hero h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); line-height: 1.1; font-weight: 800; margin-bottom: 18px; }
.hero .lead { font-size: 1.1rem; opacity: .9; margin-bottom: 30px; max-width: 34em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; margin-top: 34px; flex-wrap: wrap; }
.hero-badge { font-size: .88rem; opacity: .88; display: flex; align-items: center; gap: 8px; }
.hero-badge b { display: block; font-size: 1.02rem; }
.hero-art {
  aspect-ratio: 1/1; border-radius: 28px; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.25), transparent 60%),
              linear-gradient(145deg, var(--aqua), var(--sand));
  box-shadow: var(--shadow-lg);
}
.hero-art .art-emoji { font-size: clamp(5rem, 14vw, 9rem); filter: drop-shadow(0 10px 20px rgba(0,0,0,.15)); }

/* ── Sections ────────────────────────────────────────────── */
.section { padding: 68px 0; }
.section-sand { background: var(--sand-lt); }
.section-deep { background: var(--deep); color: #fff; }
.section-head { text-align: center; max-width: 40em; margin: 0 auto 44px; }
.eyebrow { color: var(--gold-dk); font-weight: 800; letter-spacing: 2px; text-transform: uppercase; font-size: .76rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--deep); margin: 8px 0 12px; }
.section-head p { color: var(--muted); }

/* ── Category grid ───────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px,1fr)); gap: 16px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 16px; text-align: center; cursor: pointer; display: block;
  transition: transform .15s, box-shadow .2s, border-color .2s;
}
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--aqua); }
.cat-emoji { font-size: 2.5rem; }
.cat-card h3 { margin-top: 10px; font-size: 1rem; color: var(--deep); font-weight: 700; }

/* ── Product grid ────────────────────────────────────────── */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap: 24px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-thumb {
  aspect-ratio: 4/3; display: grid; place-items: center; font-size: 3.8rem;
  background: linear-gradient(140deg, var(--aqua), var(--sand-lt));
  position: relative; text-decoration: none;
}
.product-thumb .tag {
  position: absolute; top: 10px; inset-inline-start: 10px;
  background: var(--gold); color: #2a1e00; font-size: .68rem;
  font-weight: 800; padding: 4px 10px; border-radius: 999px;
}
.product-body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-cat { font-size: .72rem; color: var(--gold-dk); font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.product-body h3 { font-size: 1.04rem; color: var(--ink); line-height: 1.3; }
.product-body h3 a:hover { color: var(--teal); }
.p-desc { font-size: .87rem; color: var(--muted); flex: 1; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.product-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.price { font-size: 1.18rem; font-weight: 800; color: var(--deep); }
.price .old { font-size: .82rem; color: var(--muted); text-decoration: line-through; font-weight: 600; margin-inline-start: 6px; }

/* ── Filter bar ──────────────────────────────────────────── */
.shop-search { position: relative; max-width: 520px; margin: 0 auto 22px; }
.shop-search-icon { position: absolute; inset-inline-start: 16px; top: 50%; transform: translateY(-50%); font-size: 1rem; opacity: .6; pointer-events: none; }
.shop-search input { width: 100%; padding: 14px 46px; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--font); font-size: 1rem; outline: none; transition: border-color .15s, box-shadow .15s; background: #fff; }
.shop-search input:focus { border-color: var(--aqua); box-shadow: 0 0 0 3px rgba(58,160,180,.15); }
.shop-search-clear { position: absolute; inset-inline-end: 12px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: 0; background: var(--sand); color: var(--deep); border-radius: 50%; cursor: pointer; font-size: 1.1rem; line-height: 1; display: flex; align-items: center; justify-content: center; }
.shop-search-clear:hover { background: var(--gold); }
.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-bar button {
  border: 1.5px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font); font-weight: 700; padding: 9px 18px;
  border-radius: 999px; cursor: pointer; transition: all .15s;
}
.filter-bar button:hover { border-color: var(--teal); color: var(--teal); }
.filter-bar button.active { background: var(--deep); border-color: var(--deep); color: #fff; }

/* ── Why-us / Value grid ─────────────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 24px; }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.v-emoji { font-size: 2rem; margin-bottom: 12px; }
.value-card h3 { font-size: 1.05rem; color: var(--deep); margin-bottom: 8px; }
.value-card p { font-size: .9rem; color: var(--muted); }

/* ── Newsletter ──────────────────────────────────────────── */
.newsletter { text-align: center; max-width: 480px; margin: 0 auto; }
.newsletter h2 { font-size: 1.9rem; color: var(--deep); }
.newsletter p { color: var(--muted); margin: 10px 0 22px; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.newsletter input {
  flex: 1; min-width: 220px; padding: 13px 18px; border: 1.5px solid var(--line);
  border-radius: 999px; font-family: var(--font); font-size: .96rem; outline: none;
}
.newsletter input:focus { border-color: var(--teal); }

/* ── Product detail ──────────────────────────────────────── */
.pd-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.pd-media { aspect-ratio: 1/1; border-radius: var(--radius); display: grid; place-items: center; font-size: 8rem; background: linear-gradient(140deg, var(--aqua), var(--sand)); box-shadow: var(--shadow); }
.pd-info h1 { font-size: 2rem; color: var(--deep); margin: 8px 0 12px; }
.pd-info .pd-price { font-size: 2rem; font-weight: 800; color: var(--deep); margin: 14px 0; }
.pd-variation { margin: 14px 0; }
.pd-var-label { display: block; font-weight: 700; color: var(--deep); margin-bottom: 8px; font-size: .95rem; }
.pd-var-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-var-btn {
  padding: 9px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-weight: 700; cursor: pointer;
  font-size: .9rem; transition: border-color .15s, background .15s;
}
.pd-var-btn:hover { border-color: var(--gold); }
.pd-var-btn.active { border-color: var(--gold); background: var(--gold); color: #2a1e00; }
.pd-var-select {
  padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff; font-size: .92rem; min-width: 180px; max-width: 100%;
}
.pd-benefits { list-style: none; display: grid; gap: 10px; margin: 18px 0; }
.pd-benefits li { display: flex; gap: 10px; align-items: flex-start; }
.pd-benefits li::before { content: '✦'; color: var(--gold-dk); font-weight: 800; }
.pd-buy { display: flex; gap: 12px; align-items: center; margin-top: 20px; flex-wrap: wrap; }
.qty-wrap { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-wrap button { border: 0; background: var(--sand-lt); width: 38px; height: 42px; font-size: 1.2rem; cursor: pointer; color: var(--deep); }
.qty-wrap input { width: 48px; height: 42px; border: 0; text-align: center; font-family: var(--font); font-weight: 700; font-size: 1rem; }

/* ── Cart ────────────────────────────────────────────────── */
.cart-layout { display: grid; grid-template-columns: 1.6fr .9fr; gap: 34px; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 14px; }
.cart-row { display: grid; grid-template-columns: 70px 1fr auto auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 16px; }
.ci-thumb { width: 62px; height: 62px; border-radius: 10px; display: grid; place-items: center; font-size: 2rem; background: linear-gradient(140deg, var(--aqua), var(--sand-lt)); }
.ci-name { font-weight: 700; font-size: .97rem; color: var(--deep); }
.ci-cat { font-size: .78rem; color: var(--muted); }
.ci-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.ci-qty button { background: var(--sand-lt); border: 0; width: 30px; height: 32px; font-size: 1rem; cursor: pointer; }
.ci-qty input { width: 38px; height: 32px; border: 0; text-align: center; font-size: .9rem; font-family: var(--font); font-weight: 700; }
.ci-price { font-weight: 800; color: var(--deep); white-space: nowrap; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty .empty-icon { font-size: 4rem; margin-bottom: 16px; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 90px; }
.cart-summary h3 { font-size: 1.1rem; color: var(--deep); margin-bottom: 16px; }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-row.total { font-weight: 800; font-size: 1.15rem; color: var(--deep); border: 0; margin-top: 8px; }

/* ── Checkout form ───────────────────────────────────────── */
.checkout-wrap { display: grid; grid-template-columns: 1fr .9fr; gap: 34px; align-items: start; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-weight: 700; font-size: .9rem; color: var(--ink); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); font-family: var(--font); font-size: .97rem; outline: none;
  transition: border-color .2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 100px; resize: vertical; }
.checkout-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.checkout-card h3 { font-size: 1.05rem; color: var(--deep); margin-bottom: 16px; }
.whatsapp-btns { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.btn-whatsapp { background: #25d366; color: #fff; border: 0; border-radius: 999px; padding: 13px 22px; font-family: var(--font); font-weight: 700; font-size: .95rem; cursor: pointer; display: flex; align-items: center; gap: 8px; justify-content: center; transition: filter .2s; }
.btn-whatsapp:hover { filter: brightness(1.08); }

/* ── Page banner ─────────────────────────────────────────── */
.page-banner { background: linear-gradient(118deg, var(--deep), var(--teal)); color: #fff; padding: 56px 0 44px; text-align: center; }
.page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; }
.page-banner p { opacity: .85; margin-top: 10px; font-size: 1.05rem; }

/* ── About ───────────────────────────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-art { border-radius: 22px; background: linear-gradient(140deg, var(--aqua), var(--sand)); padding: 50px; text-align: center; font-size: 7rem; }
.about-text h2 { font-size: 1.8rem; color: var(--deep); margin-bottom: 16px; }
.about-text p { color: var(--muted); margin-bottom: 14px; }

/* ── Contact ─────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-item { display: flex; gap: 14px; align-items: flex-start; }
.contact-icon { font-size: 1.6rem; flex-shrink: 0; }
.contact-item h4 { font-size: .95rem; color: var(--deep); margin-bottom: 3px; }
.contact-item p { font-size: .9rem; color: var(--muted); }

/* ── Toast ───────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 28px; inset-inline-end: 28px; z-index: 999;
  background: var(--deep); color: #fff; padding: 14px 22px; border-radius: 999px;
  font-weight: 700; font-size: .92rem; opacity: 0; transform: translateY(12px);
  transition: opacity .25s, transform .25s; pointer-events: none;
}
.toast.show { opacity: 1; transform: translateY(0); }

/* ── Admin badge ─────────────────────────────────────────── */
.badge { display:inline-block; padding:3px 10px; border-radius:999px; font-size:.75rem; font-weight:700; }
.badge-green  { background:#d1fae5; color:#065f46; }
.badge-yellow { background:#fef9c3; color:#854d0e; }
.badge-red    { background:#fee2e2; color:#991b1b; }
.badge-blue   { background:#dbeafe; color:#1e40af; }
.badge-gray   { background:#f1f5f9; color:#475569; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer { background: var(--deep); color: #b8d4db; margin-top: 60px; }

/* Newsletter band */
.footer-news { background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-news-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 0; flex-wrap: wrap; }
.footer-news-text h3 { color: #fff; font-size: 1.25rem; font-weight: 800; margin-bottom: 4px; }
.footer-news-text p { color: #8fb8c5; font-size: .92rem; }
.footer-news-form { display: flex; gap: 10px; flex: 1 1 520px; max-width: 560px; min-width: 280px; }
.footer-news-form input { flex: 1 1 auto; min-width: 0; padding: 13px 18px; border: 1.5px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); color: #fff; font-family: var(--font); font-size: .95rem; outline: none; }
.footer-news-form .btn { flex: 0 0 auto; white-space: nowrap; }
.footer-news-form input::placeholder { color: #7da8b8; }
.footer-news-form input:focus { border-color: var(--gold); }
.footer-news-msg { flex-basis: 100%; margin: 0; font-size: .88rem; font-weight: 700; min-height: 0; }
.footer-news-msg:empty { display: none; }
.footer-news-msg.ok  { color: #6ee7b7; }
.footer-news-msg.err { color: #fca5a5; }

/* Columns */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 48px 0 36px; }
.footer-brand-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo { height: 48px !important; width: 48px !important; max-width: 48px !important; object-fit: contain; border-radius: 10px; background: #fff; padding: 4px; flex: 0 0 auto; }
.footer-brand-name { font-size: 1.1rem; font-weight: 800; color: #fff; }
.footer-brand-desc { color: #8fb8c5; font-size: .9rem; line-height: 1.7; max-width: 32em; }
.footer-col h4, .footer-grid h4 { color: #fff; font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.footer-col a, .footer-grid a { display: block; color: #8fb8c5; font-size: .91rem; margin-bottom: 10px; transition: color .15s; text-decoration: none; }
.footer-col a:hover, .footer-grid a:hover { color: #fff; }

/* Social icons (SVG) */
.social-links { display: flex; gap: 12px; margin-top: 18px; }
.social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); color: #b8d4db; transition: background .18s, color .18s, transform .18s; }
.social-links a:hover { background: var(--gold); color: var(--deep); transform: translateY(-2px); }

.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: .85rem; color: #6a9ab0; text-align: center; }

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner, .pd-wrap, .cart-layout, .checkout-wrap, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
  .hero-inner { padding: 50px 0; }
  .hero-art { max-width: 280px; margin: 0 auto; }
  .pd-media { max-width: 320px; margin: 0 auto; font-size: 5rem; }
}
@media (max-width: 640px) {
  /* Compact dropdown menu: drops from under the header, site dimmed behind it */
  .main-nav { display: none; position: fixed !important; top: 64px !important; inset-inline-end: 12px !important; left: auto !important; bottom: auto !important; width: 220px !important; max-width: 80vw !important; height: auto !important; max-height: calc(100vh - 80px); background: #fff !important; padding: 8px !important; flex-direction: column; align-items: stretch; gap: 0; z-index: 1000 !important; overflow-y: auto; border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.22); }
  .main-nav.open { display: flex !important; }
  .main-nav a { width: 100%; text-align: start; padding: 13px 16px; font-size: 1rem; font-weight: 700; color: var(--ink) !important; border-bottom: 1px solid var(--line); border-radius: 8px; }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a:hover, .main-nav a:active { background: var(--sand); color: var(--deep) !important; }
  .main-nav a.active::after { display: none; }
  .main-nav a.active { background: var(--sand); color: var(--deep) !important; }
  /* Close button not needed in compact menu — hide it; backdrop closes instead */
  .nav-close { display: none !important; }
  /* Dimmed backdrop behind the dropdown — tapping it closes the menu */
  body.nav-open::before { content: ''; position: fixed; inset: 64px 0 0 0; background: rgba(13,61,82,.45); z-index: 200; pointer-events: none; }
  .nav-toggle { display: block; }

  /* Header: tighten so nothing runs off-screen */
  /* Remove backdrop-filter on mobile: it creates a containing block that
     traps the fixed dropdown menu inside the header. !important guards
     against stale cached rules. */
  .site-header { backdrop-filter: none !important; -webkit-backdrop-filter: none !important; background: #fff; }
  .header-inner { gap: 8px; height: 64px; flex-wrap: nowrap; }
  /* Brand text must shrink/truncate so it never overlaps the actions */
  .brand { min-width: 0; flex: 1 1 auto; overflow: hidden; }
  .brand > span { min-width: 0; overflow: hidden; }
  .brand-name { font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
  .header-actions { flex: 0 0 auto; }
  .brand-name { font-size: .98rem; }
  .brand-sub  { display: none; }            /* hide tagline on phones */
  .header-actions { gap: 6px; }
  .lang-toggle .lang-btn { padding: 5px 7px; font-size: .72rem; }
  .cur-toggle { margin-inline-start: 5px; }
  .cur-btn { min-width: 24px; padding: 5px 7px; font-size: .78rem; }
  .cart-btn { font-size: .9rem; }

  /* Footer mobile: brand centered on top, links in 3 tidy columns */
  .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 22px 12px; padding: 30px 0 22px; }
  .footer-brand { grid-column: 1 / -1; text-align: center; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,.08); margin-bottom: 6px; }
  .footer-brand-top { justify-content: center; gap: 10px; }
  .footer-logo { height: 40px !important; width: 40px !important; max-width: 40px !important; }
  .footer-brand-name { font-size: 1.05rem; }
  .footer-brand-desc { margin: 8px auto 0; font-size: .84rem; max-width: 30em; }
  .social-links { justify-content: center; margin-top: 14px; }
  .footer-col h4 { font-size: .8rem; margin-bottom: 10px; }
  .footer-col a { font-size: .84rem; margin-bottom: 8px; }
  /* Newsletter: stacked + full width */
  .footer-news-inner { flex-direction: column; align-items: stretch; text-align: center; padding: 24px 0; gap: 14px; }
  .footer-news-form { max-width: 100%; flex: 0 0 auto; flex-direction: column; gap: 10px; }
  .footer-news-form input { text-align: center; border-radius: 12px; height: 48px; flex: 0 0 auto; }
  .footer-news-form .btn { width: 100%; justify-content: center; border-radius: 12px; height: 48px; flex: 0 0 auto; }
  .footer-bottom { line-height: 1.5; font-size: .8rem; }
  .cart-row { grid-template-columns: 60px 1fr; }
  .cart-row .ci-qty, .cart-row .ci-price { grid-column: 2; }
  /* prevent grid items wider than viewport */
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-grid     { grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; }
  .container    { padding: 0 14px; }
  .hero-badges  { gap: 14px; }
  /* Smaller product image on mobile so cards aren't huge */
  .product-thumb { aspect-ratio: 1/1; font-size: 2.6rem; }
  .product-body { padding: 12px 12px 14px; gap: 4px; }
  .product-body h3 { font-size: .92rem; }
  .p-desc { font-size: .8rem; }
}
/* very small phones */
@media (max-width: 400px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 360px) {
  .product-grid { gap: 8px; }
}

/* ── Hero Slider ─────────────────────────────────────────── */
.hero-slider {
  position: relative; overflow: hidden; width: 100%; max-width: 100%; z-index: 1;
  background: linear-gradient(118deg, var(--deep), var(--teal));
}
.hero-slider .slide {
  display: none; position: relative; width: 100%; max-width: 100%;
}
.hero-slider .slide.active { display: block; }
.hero-slider .slide img {
  width: 100%; max-width: 100%; height: auto; display: block;
  background: linear-gradient(118deg, var(--deep), var(--teal));
  color: transparent;          /* hide alt text if image is missing */
  font-size: 0;
}
.hero-slider .slide-overlay {
  display: none;  /* clean images — no text/buttons overlay on any screen */
}
.hero-slider .slide-content { text-align: center; color: #fff; padding: 20px; }
.hero-slider .slide-content h1 { font-size: clamp(1.8rem,5vw,3.2rem); font-weight: 800; margin-bottom: 14px; text-shadow: 0 2px 12px rgba(0,0,0,.3); }
.hero-slider .slide-content p { font-size: 1.1rem; opacity: .9; margin-bottom: 24px; }
/* Arrows */
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,.25); border: 0; border-radius: 50%;
  width: 48px; height: 48px; font-size: 1.3rem; cursor: pointer; color: #fff;
  backdrop-filter: blur(4px); transition: background .2s; z-index: 10;
}
.slider-arrow:hover { background: rgba(255,255,255,.4); }
.slider-prev { inset-inline-start: 18px; }
.slider-next { inset-inline-end: 18px; }
/* Dots */
.slider-dots { position: absolute; bottom: 18px; width: 100%; display: flex; justify-content: center; gap: 8px; z-index: 10; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.4); border: 0; cursor: pointer; transition: background .2s, transform .2s; }
.slider-dot.active { background: #fff; transform: scale(1.25); }
@media (max-width: 640px) {
  /* On mobile the slider images have everything baked in, so show the WHOLE
     image (contain) and hide the HTML text/buttons overlay entirely. */
  .hero-slider .slide     { min-height: 0; }
  .hero-slider .slide img { height: auto; max-height: none; object-fit: contain; }
  .hero-slider .slide-overlay { display: none; }
  .slider-arrow { width: 36px; height: 36px; font-size: 1.05rem; }
  .slider-prev  { inset-inline-start: 6px; }
  .slider-next  { inset-inline-end: 6px; }
  .slider-dots  { bottom: 12px; }
}
