/* ZAVIRO storefront copy - design tokens from approved Stitch mockups (Dec 4) */
:root {
  --navy: #16324f;
  --navy-deep: #0f2438;
  --amber: #e8933a;
  --amber-dark: #d07f27;
  --cream: #f7f4ef;
  --paper: #ffffff;
  --ink: #22303c;
  --muted: #6b7683;
  --line: #e5e0d8;
  --ok: #1e7a4f;
  --radius: 14px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { direction: rtl; }
body {
  font-family: "Segoe UI", "Noto Kufi Arabic", Tahoma, sans-serif;
  background: var(--cream); color: var(--ink); line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.num, .price { font-variant-numeric: latin-nums; direction: ltr; unicode-bidi: embed; }

/* top bar */
.topbar {
  background: var(--navy-deep); color: #d8e2ec; font-size: 12px;
  display: flex; justify-content: center; gap: 10px; padding: 6px 12px;
}
.topbar span::before { content: "•"; margin-inline-end: 10px; color: var(--amber); }
.topbar span:first-child::before { content: none; margin: 0; }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 20; background: var(--paper);
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; border-bottom: 1px solid var(--line);
}
.logo { font-weight: 800; letter-spacing: 2px; color: var(--navy); font-size: 20px; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.icon-btn { background: none; border: 0; cursor: pointer; position: relative; color: var(--navy); }
.cart-count {
  position: absolute; top: -6px; inset-inline-start: -6px; background: var(--amber);
  color: #fff; font-size: 11px; border-radius: 999px; min-width: 17px; height: 17px;
  display: grid; place-items: center; padding: 0 4px;
}

/* hero */
.hero { background: var(--paper); }
.hero-photo { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; max-height: 460px; }
.hero-body { padding: 22px 20px 30px; }
.kicker { color: var(--amber-dark); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.hero-title { color: var(--navy); font-size: 30px; font-weight: 800; line-height: 1.35; margin-bottom: 12px; }
.hero-sub { color: var(--muted); font-size: 15px; margin-bottom: 20px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; background: var(--amber);
  color: #fff; font-weight: 700; font-size: 15px; border: 0; border-radius: 10px;
  padding: 12px 26px; cursor: pointer;
}
.btn:hover { background: var(--amber-dark); }

/* sections */
.section { padding: 26px 16px 8px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 14px; }
.section-title { color: var(--navy); font-size: 20px; font-weight: 800; }
.section-note { color: var(--muted); font-size: 13px; }
.link-more { color: var(--navy); font-size: 13px; font-weight: 700; border-bottom: 1px solid var(--navy); }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.cat-card { background: var(--paper); border-radius: var(--radius); overflow: hidden; }
.cat-card img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.cat-name { padding: 10px 8px; font-size: 13px; font-weight: 700; color: var(--navy); text-align: center; }

/* products */
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding-bottom: 26px; }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.card-photo { position: relative; background: #f1ede6; }
.card-photo img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.badge {
  position: absolute; top: 10px; inset-inline-start: 10px; font-size: 11px; font-weight: 700;
  color: #fff; background: var(--navy); padding: 4px 10px; border-radius: 6px;
}
.badge.ok { background: var(--ok); }
.card-body { padding: 12px; }
.card-name { font-size: 13.5px; font-weight: 700; color: var(--ink); min-height: 40px; }
.card-price { color: var(--navy); font-weight: 800; font-size: 15px; margin-top: 6px; }

/* trust row */
.trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 22px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper); text-align: center;
}
.trust div { font-size: 12.5px; color: var(--navy); font-weight: 700; }
.trust .t-icon { font-size: 20px; margin-bottom: 6px; }

/* editorial */
.editorial { background: var(--paper); }
.editorial img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.editorial-body { padding: 20px 20px 28px; }
.editorial .kicker { color: var(--muted); }

/* footer */
.site-footer { background: var(--navy-deep); color: #c7d3df; padding: 28px 20px; }
.site-footer .logo { color: #fff; margin-bottom: 8px; }
.footer-links { display: flex; gap: 18px; margin: 14px 0; font-size: 13.5px; font-weight: 700; color: #e6edf3; }
.footer-note { font-size: 12px; color: #8fa2b3; border-top: 1px solid #23405c; padding-top: 14px; }

@media (min-width: 760px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .hero-body { max-width: 720px; margin-inline: auto; }
}
