:root,
[data-theme="dark"] {
  --bg: #0a0a1a;
  --bg-soft: #10102a;
  --surface: rgba(255,255,255,0.045);
  --line: rgba(231,211,3,0.2);
  --line-soft: rgba(255,255,255,0.09);
  --chip-bg: rgba(255,255,255,0.06);
  --ink: #eef2f8;
  --ink-soft: #9fb0c4;
  --card: rgba(255,255,255,0.045);
  --gold: #e7d303;
  --gold-soft: #f5e14a;
  --indigo: #7b74e0;
  --accent: #e7d303;
  --accent-ink: #0a0a1a;
  --grad: linear-gradient(90deg, #f5e14a, #e7d303);
  --radius: 14px;
  font-family: "Times New Roman", Times, Georgia, serif;
}
[data-theme="light"] {
  --bg: #f6f5f0;
  --bg-soft: #edeade;
  --surface: #ffffff;
  --line: rgba(184,145,0,0.35);
  --line-soft: rgba(15,15,35,0.1);
  --chip-bg: rgba(15,15,35,0.05);
  --ink: #14172a;
  --ink-soft: #5b6478;
  --card: #ffffff;
  --gold-soft: #8a6d00;
  --indigo: #5a52c9;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body[dir="rtl"] { font-family: "Segoe UI", "Tahoma", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

header.site-header {
  background: rgba(10,10,26,0.92);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px clamp(16px, 3vw, 40px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line-soft);
}
.brand { display: flex; align-items: center; gap: 10px; cursor: pointer; transition: opacity 0.15s ease; }
.brand:hover { opacity: 0.85; }
.brand-logo { width: 36px; height: 36px; object-fit: contain; display: block; }
.brand span { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.01em; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-inline-start: 8px; }
.nav-link {
  color: rgba(255,255,255,0.75);
  font-size: 0.92rem;
  cursor: pointer;
  padding: 6px 2px;
  position: relative;
  transition: color 0.15s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: scaleX(1); }
.header-right { display: flex; align-items: center; gap: 14px; margin-inline-start: auto; }
.lang-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line-soft);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: background 0.15s ease;
}
.lang-toggle:hover { background: rgba(255,255,255,0.14); }
.theme-toggle {
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--line-soft);
  color: #fff;
  width: 32px; height: 32px;
  border-radius: 999px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s ease;
}
.theme-toggle:hover { background: rgba(255,255,255,0.14); }
.theme-toggle svg { width: 16px; height: 16px; }
.search-form { display: flex; position: relative; }
.search-input {
  width: 220px;
  max-width: 40vw;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-soft);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font-size: 0.85rem;
  outline: none;
}
.search-input::placeholder { color: rgba(255,255,255,0.5); }
.search-input:focus { background: rgba(255,255,255,0.12); border-color: var(--gold); }
@media (max-width: 600px) { .search-input { width: 140px; } }

.search-suggest {
  position: fixed;
  left: 0;
  right: 0;
  top: 64px; /* overwritten precisely via JS each time it's shown */
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: var(--bg-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  z-index: 200;
  padding: 22px clamp(16px, 3vw, 40px) 10px;
}
.search-suggest-heading {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.search-suggest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.search-suggest-item {
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.search-suggest-item:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.35); transform: translateY(-3px); border-color: var(--gold); }
.search-suggest-item img,
.search-suggest-thumb-empty {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
  background: var(--chip-bg);
}
.ssi-info { min-width: 0; padding: 12px 14px; }
.ssi-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.ssi-cat {
  font-size: 0.78rem;
  color: var(--ink-soft);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.search-suggest-more {
  margin: 18px 0 6px;
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-soft);
  cursor: pointer;
  border-top: 1px solid var(--line-soft);
  transition: background 0.12s ease;
}
.search-suggest-more:hover { background: var(--chip-bg); }
@media (max-width: 700px) {
  .search-suggest { padding: 16px 16px 8px; max-height: calc(100vh - 80px); }
  .search-suggest-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}
.search-suggest-empty {
  padding: 14px 12px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  text-align: center;
}

.site-banner {
  text-align: center;
  padding: 9px 16px;
  font-size: 0.85rem;
  font-weight: 500;
}

main { max-width: 1400px; margin: 0 auto; padding: 32px clamp(16px, 3vw, 40px) 60px; }

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes tileFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
#app.page-enter { animation: pageFadeIn 0.32s ease both; }
#app.page-enter .dept-tile,
#app.page-enter .product-card,
#app.page-enter .teaser-card {
  animation: tileFadeIn 0.35s ease both;
}
@media (prefers-reduced-motion: reduce) {
  #app.page-enter,
  #app.page-enter .dept-tile,
  #app.page-enter .product-card,
  #app.page-enter .teaser-card { animation: none; }
  .hero-visual .ring-bg, .hero-visual .ring-bg2, .hero-visual .float-icon { animation: none !important; }
}

.crumbs { font-size: 0.9rem; color: var(--ink-soft); margin-bottom: 18px; }
.crumbs span { cursor: pointer; }
.crumbs span:hover { text-decoration: underline; }

h1.page-title { font-size: 1.6rem; margin: 0 0 20px; }

/* ---------------- hero ---------------- */
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
}
.hero-copy .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(231,211,3,0.08); color: var(--gold-soft); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.03em; margin-bottom: 16px;
}
.hero-copy h1 { margin: 0 0 14px; font-size: clamp(1.8rem, 3.4vw, 2.6rem); line-height: 1.15; }
.hero-copy p { margin: 0 0 24px; color: var(--ink-soft); font-size: 1rem; max-width: 480px; line-height: 1.6; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  background: var(--grad); color: var(--accent-ink); font-weight: 700; font-size: 0.88rem; cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost {
  display: inline-block; padding: 12px 24px; border-radius: 999px;
  border: 1px solid var(--line-soft); color: var(--ink); font-size: 0.88rem; cursor: pointer;
  transition: border-color 0.15s ease;
}
.btn-ghost:hover { border-color: var(--gold); }

.hero-visual {
  aspect-ratio: 1/0.85;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 30% 25%, rgba(231,211,3,0.16), transparent 55%),
              radial-gradient(circle at 75% 75%, rgba(123,116,224,0.18), transparent 55%),
              var(--bg-soft);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.hero-visual .ring-bg {
  position: absolute; width: 68%; height: 68%; border-radius: 50%;
  border: 1px dashed rgba(231,211,3,0.22); animation: spin 40s linear infinite;
}
.hero-visual .ring-bg2 {
  position: absolute; width: 84%; height: 84%; border-radius: 50%;
  border: 1px dashed rgba(123,116,224,0.18); animation: spin 60s linear infinite reverse;
}
.hero-visual .big-logo { width: 40%; position: relative; z-index: 2; filter: drop-shadow(0 0 26px rgba(231,211,3,0.3)); }
.hero-visual .big-logo img { width: 100%; display: block; }
.hero-visual .float-icon {
  position: absolute; width: 46px; height: 46px; border-radius: 12px;
  background: var(--chip-bg); border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; color: var(--gold-soft);
  animation: floaty 5s ease-in-out infinite; z-index: 3;
}
.hero-visual .float-icon svg { width: 22px; height: 22px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero-visual { aspect-ratio: 16/10; } }

.section-title { font-size: 1.2rem; font-weight: 700; margin: 40px 0 16px; }

.about-block {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 24px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.about-block p { margin: 0 0 12px; }
.about-block p:last-child { margin-bottom: 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.contact-card .label { font-size: 0.78rem; color: var(--ink-soft); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.03em; }
.contact-card .person { font-size: 0.86rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.contact-card .value { font-weight: 600; }
.contact-card a { color: var(--gold-soft); transition: opacity 0.15s ease; }
.contact-card .directions-link { margin-top: 10px; padding: 7px 16px; font-size: 0.78rem; font-weight: 600; }

.branch-block { margin-bottom: 34px; }
.branch-block:last-child { margin-bottom: 0; }
.branch-name { font-size: 1.05rem; font-weight: 700; margin: 0 0 14px; color: var(--ink); }
.contact-card a:hover { opacity: 0.75; }

.teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.teaser-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 20px 22px;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.teaser-card:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.35); transform: translateY(-2px); border-color: var(--gold); }
.teaser-title { font-weight: 700; font-size: 1.02rem; margin-bottom: 4px; color: var(--ink); }
.teaser-sub { font-size: 0.85rem; color: var(--ink-soft); }

.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.dept-tile {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 22px 20px;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.dept-tile:hover { box-shadow: 0 10px 26px rgba(0,0,0,0.35); transform: translateY(-2px); border-color: var(--gold); }
.dept-tile .dept-icon { width: 30px; height: 30px; color: var(--indigo); margin-bottom: 12px; }
.dept-tile .name { font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; color: var(--ink); }
.dept-tile .count { color: var(--ink-soft); font-size: 0.85rem; }

.cta-band {
  margin: 48px 0 8px;
  padding: 34px clamp(20px, 4vw, 48px);
  border-radius: 20px;
  background: radial-gradient(circle at 20% 30%, rgba(231,211,3,0.16), transparent 55%),
              radial-gradient(circle at 80% 70%, rgba(123,116,224,0.16), transparent 55%),
              var(--surface);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.cta-band h3 { margin: 0 0 4px; font-size: 1.25rem; color: var(--ink); }
.cta-band p { margin: 0; color: var(--ink-soft); font-size: 0.9rem; }

.cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}
.cat-chip {
  border: 1px solid var(--line-soft);
  background: var(--card);
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.cat-chip:hover { border-color: var(--gold); }
.cat-chip.active { background: var(--grad); border-color: transparent; color: var(--accent-ink); font-weight: 600; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 18px;
}
.product-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.product-card:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.4); transform: translateY(-3px); border-color: var(--gold); }
.product-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: var(--chip-bg); transition: transform 0.3s ease; }
.product-card:hover img { transform: scale(1.06); }
.product-card .info { padding: 12px 14px; }
.product-card .name { font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; color: var(--ink); }
.product-card .cat { font-size: 0.78rem; color: var(--ink-soft); }

.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
@media (max-width: 760px) { .product-detail { grid-template-columns: 1fr; } }
.gallery-main { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); background: var(--chip-bg); }
.gallery-main img { width: 100%; aspect-ratio: 1/1; object-fit: contain; display: block; background: #fff; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumbs img {
  width: 64px; height: 64px; object-fit: cover; border-radius: 8px;
  border: 2px solid transparent; cursor: pointer;
  transition: border-color 0.15s ease, opacity 0.15s ease;
  opacity: 0.7;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { border-color: var(--gold); opacity: 1; }
.gallery-main img { animation: tileFadeIn 0.25s ease; }

.detail-name { font-size: 1.4rem; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.detail-cat { color: var(--ink-soft); margin-bottom: 20px; }
.variant-filter { margin-bottom: 12px; }
.variant-filter-input {
  width: 100%;
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid var(--line-soft);
  background: var(--card);
  color: var(--ink);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s ease;
}
.variant-filter-input::placeholder { color: var(--ink-soft); }
.variant-filter-input:focus { border-color: var(--gold); }
.variant-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.variant-list li {
  border: 1px solid var(--line-soft);
  background: var(--card);
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  line-height: 1.4;
}
.variant-row-select {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.variant-row-select:hover { border-color: var(--gold); }
.variant-row-select.selected { border-color: var(--gold); background: rgba(231,211,3,0.08); }
.variant-radio {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--line-soft); flex-shrink: 0; position: relative;
  transition: border-color 0.15s ease;
}
.variant-row-select.selected .variant-radio { border-color: var(--gold); }
.variant-row-select.selected .variant-radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold);
}
.inquiry-block { margin-top: 18px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.btn-primary.inquiry-btn { display: inline-flex; align-items: center; gap: 9px; }
.inquiry-btn svg { width: 18px; height: 18px; }
.inquiry-alt { font-size: 0.82rem; color: var(--ink-soft); cursor: pointer; text-decoration: underline; }
.inquiry-alt:hover { color: var(--gold-soft); }

/* WhatsApp branch picker — shown when more than one branch has its own
   WhatsApp number, so the shopper can pick who they're actually messaging. */
.wa-picker-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  display: flex; align-items: center; justify-content: center;
  z-index: 999; padding: 20px;
}
.wa-picker-modal {
  background: var(--bg-soft); border: 1px solid var(--line-soft); border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45); width: 100%; max-width: 420px; max-height: 80vh;
  display: flex; flex-direction: column; overflow: hidden;
}
.wa-picker-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 18px; border-bottom: 1px solid var(--line-soft);
}
.wa-picker-title { font-weight: 700; color: var(--ink); }
.wa-picker-close {
  background: none; border: none; color: var(--ink-soft); font-size: 1.4rem;
  line-height: 1; cursor: pointer; padding: 0 4px;
}
.wa-picker-close:hover { color: var(--ink); }
.wa-picker-list { overflow-y: auto; padding: 8px; }
.wa-picker-item {
  display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 10px;
  cursor: pointer; transition: background 0.15s ease;
}
.wa-picker-item:hover { background: var(--card); }
.wa-picker-item svg { width: 22px; height: 22px; color: var(--gold-soft); flex-shrink: 0; }
.wa-picker-info { min-width: 0; }
.wa-picker-branch { font-weight: 700; color: var(--ink); font-size: 0.95rem; }
.wa-picker-person { font-size: 0.85rem; color: var(--ink-soft); }
.wa-picker-phone { font-size: 0.85rem; color: var(--gold-soft); margin-top: 2px; }
.share-link {
  margin-top: 22px;
  display: inline-block;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(231,211,3,0.12);
  color: var(--gold-soft);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s ease;
}
.share-link:hover { background: rgba(231,211,3,0.2); }
.loading { padding: 60px 0; text-align: center; color: var(--ink-soft); }

/* ---------------- footer ---------------- */
.site-footer {
  border-top: 1px solid var(--line-soft);
  padding: 46px clamp(16px, 3vw, 40px) 30px;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 28px;
}
.site-footer .foot-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer .foot-brand img { width: 30px; height: 30px; object-fit: contain; }
.site-footer .foot-brand span { font-weight: 800; font-size: 1.05rem; color: var(--ink); }
.site-footer .foot-col h4 { font-size: 0.85rem; margin: 0 0 12px; color: var(--ink); }
.site-footer .foot-col p, .site-footer .foot-col div { font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; line-height: 1.5; }
.site-footer .foot-col a { display: block; font-size: 0.82rem; color: var(--ink-soft); margin-bottom: 8px; line-height: 1.5; cursor: pointer; transition: color 0.15s ease; }
.site-footer .foot-col a:hover { color: var(--gold-soft); }
.site-footer .foot-cities { font-weight: 600; color: var(--ink); }
.site-footer .foot-cities .foot-city-link,
.site-footer .foot-cities .foot-city { display: inline; margin-bottom: 0; }
.site-footer .foot-cities .foot-city { color: inherit; }
.site-footer .foot-cities .foot-city-link { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 2px; }
.site-footer .foot-cities .foot-city-link:hover { opacity: 0.8; }
.footer-bottom {
  text-align: center; font-size: 0.76rem; color: var(--ink-soft);
  padding: 18px 20px 34px; border-top: 1px solid var(--line-soft);
}
@media (max-width: 760px) { .site-footer { grid-template-columns: 1fr 1fr; } }
