/* ===== راحتكم — نظام تصميم رسمي فاخر ===== */
:root {
  --navy-900: #060912;
  --navy-800: #0B1020;
  --navy-700: #131a30;
  --navy-600: #1c2543;
  --navy-500: #28345c;
  --ink: #0B1020;
  --paper: #ffffff;
  --cloud: #f6f8fc;
  --cloud-2: #eef2f9;
  --line: #e3e8f1;
  --muted: #6b7488;
  --text: #1b2233;
  --gold-400: #e7c684;
  --gold-500: #d4af61;
  --gold-600: #b8923f;
  --gold-grad: linear-gradient(135deg, #f3dfa9 0%, #d4af61 45%, #b8923f 100%);
  --teal: #2bb6a3;
  --teal-dark: #1a8b7c;
  --danger: #e05b5b;
  --shadow-sm: 0 2px 10px rgba(11, 16, 32, 0.06);
  --shadow-md: 0 14px 40px rgba(11, 16, 32, 0.10);
  --shadow-lg: 0 30px 70px rgba(11, 16, 32, 0.16);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1220px;
  --font: 'Tajawal', 'Cairo', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ===== Typography ===== */
h1, h2, h3, h4 { font-family: 'Cairo', var(--font); line-height: 1.3; color: var(--ink); font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--gold-600); text-transform: none; margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold-grad); border-radius: 2px; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.02rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 0.98rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-gold {
  background: var(--gold-grad); color: #3a2c05;
  box-shadow: 0 12px 30px rgba(184, 146, 63, 0.35);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(184, 146, 63, 0.45); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.btn-ghost { background: rgba(255,255,255,0.08); color: #fff; border: 1px solid rgba(255,255,255,0.22); }
.btn-ghost:hover { background: rgba(255,255,255,0.16); }
.btn-outline { border: 1.5px solid var(--line); color: var(--ink); background: #fff; }
.btn-outline:hover { border-color: var(--gold-500); color: var(--gold-600); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }

/* ===== Header ===== */
.topbar {
  background: var(--navy-900); color: #cfd6e6; font-size: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 42px; gap: 16px; }
.topbar a { color: #cfd6e6; transition: color .2s; }
.topbar a:hover { color: var(--gold-400); }
.topbar .tb-left { display: flex; gap: 22px; align-items: center; }
.topbar .tb-right { display: flex; gap: 16px; align-items: center; }
.topbar-item { display: inline-flex; align-items: center; gap: 7px; }
.topbar svg { width: 15px; height: 15px; color: var(--gold-400); }

header.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: box-shadow .3s;
}
header.nav.scrolled { box-shadow: var(--shadow-sm); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 46px; height: 46px; border-radius: 13px; background: var(--gold-grad);
  display: grid; place-items: center; box-shadow: 0 8px 20px rgba(184,146,63,0.3);
}
.brand-mark svg { width: 26px; height: 26px; color: #2a2005; }
.brand-name { font-family: 'Cairo'; font-weight: 800; font-size: 1.35rem; color: var(--ink); letter-spacing: -0.5px; }
.brand-name span { color: var(--gold-600); }
.brand-sub { font-size: 0.7rem; color: var(--muted); font-weight: 600; display: block; margin-top: -4px; }
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links a {
  padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--text);
  font-size: 0.96rem; transition: background .2s, color .2s;
}
.nav-links a:hover, .nav-links a.active { background: var(--cloud); color: var(--gold-600); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 12px; background: var(--cloud);
  display: grid; place-items: center; transition: background .2s, transform .2s; color: var(--ink);
}
.icon-btn:hover { background: var(--cloud-2); transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--gold-grad); color: #2a2005; border-radius: 999px; font-size: 0.72rem;
  font-weight: 800; display: grid; place-items: center;
}
.burger { display: none; }

/* ===== Hero ===== */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(120% 120% at 85% 0%, #1c2543 0%, var(--navy-800) 45%, var(--navy-900) 100%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('https://images.unsplash.com/photo-1519494026892-80bbd2d6fd0d?auto=format&fit=crop&w=1600&q=80') center/cover;
  opacity: 0.10; mix-blend-mode: luminosity;
}
.hero-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(120px); opacity: 0.35; }
.hero-glow.g1 { background: #d4af61; top: -140px; left: -80px; }
.hero-glow.g2 { background: #2bb6a3; bottom: -180px; right: -60px; opacity: 0.22; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 70px; padding-bottom: 80px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 16px; border-radius: 999px;
  background: rgba(212,175,97,0.12); border: 1px solid rgba(212,175,97,0.35); color: var(--gold-400);
  font-size: 0.85rem; font-weight: 700; margin-bottom: 26px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold-400); box-shadow: 0 0 0 4px rgba(212,175,97,0.25); }
.hero h1 { font-size: clamp(2.1rem, 4.8vw, 3.7rem); color: #fff; line-height: 1.2; }
.hero h1 .accent { background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { color: #b9c2d6; font-size: 1.12rem; margin-top: 22px; max-width: 520px; }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin-top: 46px; flex-wrap: wrap; }
.hero-stat .num { font-family: 'Cairo'; font-size: 1.9rem; font-weight: 800; color: #fff; }
.hero-stat .num span { color: var(--gold-400); }
.hero-stat .lbl { color: #96a1ba; font-size: 0.88rem; }
.hero-divider { width: 1px; background: rgba(255,255,255,0.12); }

.hero-visual { position: relative; }
.hero-card-main {
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-card-main img { width: 100%; height: 440px; object-fit: cover; }
.hero-float {
  position: absolute; background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-radius: 16px; padding: 14px 18px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 12px;
}
.hero-float .fi { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; color: #fff; }
.hero-float .ft { font-weight: 800; color: var(--ink); font-size: 0.98rem; }
.hero-float .fs { font-size: 0.78rem; color: var(--muted); }
.hero-float.f1 { bottom: 28px; right: -18px; }
.hero-float.f1 .fi { background: var(--gold-grad); color: #2a2005; }
.hero-float.f2 { top: 26px; left: -16px; }
.hero-float.f2 .fi { background: linear-gradient(135deg,#2bb6a3,#1a8b7c); }

/* ===== Trust strip ===== */
.trust { background: var(--navy-900); border-top: 1px solid rgba(255,255,255,0.05); }
.trust .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 28px 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; color: #dfe4f0; }
.trust-item .ti { width: 44px; height: 44px; border-radius: 12px; background: rgba(212,175,97,0.12); display: grid; place-items: center; color: var(--gold-400); flex-shrink: 0; }
.trust-item .ti svg { width: 22px; height: 22px; }
.trust-item b { display: block; font-size: 0.98rem; color: #fff; }
.trust-item small { color: #8b95ac; }

/* ===== Categories ===== */
.section { padding: 88px 0; }
.section.alt { background: var(--cloud); }
.cat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.cat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px;
  transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.cat-card::after { content:''; position:absolute; top:0; right:0; width:0; height:3px; background:var(--gold-grad); transition:width .35s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.cat-card:hover::after { width: 100%; }
.cat-icon { width: 58px; height: 58px; border-radius: 15px; background: linear-gradient(135deg,var(--navy-800),var(--navy-600)); display: grid; place-items: center; color: var(--gold-400); margin-bottom: 20px; }
.cat-icon svg { width: 28px; height: 28px; }
.cat-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: 0.92rem; }
.cat-card .cat-count { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--gold-600); font-weight: 700; font-size: 0.9rem; }
.cat-card .cat-count svg { width: 16px; height: 16px; transition: transform .25s; }
.cat-card:hover .cat-count svg { transform: translateX(-5px); }

/* ===== Products ===== */
.shop-toolbar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line);
  font-weight: 600; font-size: 0.9rem; color: var(--text); transition: all .2s;
}
.chip:hover { border-color: var(--gold-500); color: var(--gold-600); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.shop-tools-right { display: flex; gap: 10px; align-items: center; }
.select, .field {
  padding: 11px 16px; border-radius: 11px; border: 1.5px solid var(--line); background: #fff;
  font-family: inherit; font-size: 0.92rem; color: var(--text); transition: border-color .2s;
}
.select:focus, .field:focus { outline: none; border-color: var(--gold-500); }
.search-box { position: relative; }
.search-box svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); }
.search-box .field { padding-left: 42px; width: 240px; }

.product-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.pcard:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pcard-media { position: relative; aspect-ratio: 4/3.4; overflow: hidden; background: var(--cloud); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.pcard:hover .pcard-media img { transform: scale(1.08); }
.pcard-badge {
  position: absolute; top: 12px; right: 12px; padding: 5px 13px; border-radius: 999px;
  font-size: 0.75rem; font-weight: 800; background: var(--gold-grad); color: #2a2005;
}
.pcard-badge.teal { background: linear-gradient(135deg,#2bb6a3,#1a8b7c); color: #fff; }
.pcard-fav {
  position: absolute; top: 12px; left: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: grid; place-items: center; color: var(--muted);
  opacity: 0; transform: translateY(-6px); transition: .25s;
}
.pcard:hover .pcard-fav { opacity: 1; transform: translateY(0); }
.pcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-cat { font-size: 0.78rem; color: var(--gold-600); font-weight: 700; margin-bottom: 6px; }
.pcard-title { font-size: 1.02rem; font-weight: 700; color: var(--ink); line-height: 1.45; margin-bottom: 8px; min-height: 2.6em; cursor: pointer; }
.pcard-title:hover { color: var(--gold-600); }
.pcard-rating { display: flex; align-items: center; gap: 5px; font-size: 0.84rem; color: var(--muted); margin-bottom: 14px; }
.pcard-rating svg { width: 15px; height: 15px; color: var(--gold-500); }
.pcard-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pcard-price { display: flex; flex-direction: column; }
.pcard-price .now { font-family: 'Cairo'; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.pcard-price .now .cur { font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.pcard-price .old { font-size: 0.82rem; color: var(--muted); text-decoration: line-through; }
.add-btn {
  width: 46px; height: 46px; border-radius: 13px; background: var(--ink); color: #fff;
  display: grid; place-items: center; transition: .25s; flex-shrink: 0;
}
.add-btn:hover { background: var(--gold-600); transform: scale(1.06); }
.add-btn svg { width: 21px; height: 21px; }

/* ===== Feature band ===== */
.feature-band { background: var(--navy-800); color: #fff; overflow: hidden; }
.feature-band .container { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 80px 24px; }
.feature-band h2 { color: #fff; font-size: clamp(1.7rem,3vw,2.4rem); }
.feature-list { margin-top: 30px; display: grid; gap: 20px; }
.feature-row { display: flex; gap: 16px; }
.feature-row .fr-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(212,175,97,0.14); display: grid; place-items: center; color: var(--gold-400); flex-shrink: 0; }
.feature-row .fr-ic svg { width: 23px; height: 23px; }
.feature-row b { color: #fff; font-size: 1.05rem; }
.feature-row p { color: #a9b3ca; font-size: 0.93rem; margin-top: 3px; }
.feature-img { border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,0.1); }
.feature-img img { width: 100%; height: 440px; object-fit: cover; }

/* ===== Steps ===== */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.step { text-align: center; padding: 30px 20px; }
.step-num { width: 60px; height: 60px; margin: 0 auto 18px; border-radius: 50%; background: var(--cloud); display: grid; place-items: center; font-family: 'Cairo'; font-weight: 800; font-size: 1.5rem; color: var(--gold-600); border: 2px solid var(--line); position: relative; }
.step:hover .step-num { background: var(--gold-grad); color: #2a2005; border-color: transparent; }
.step h4 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.9rem; }

/* ===== Testimonials ===== */
.tst-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.tst {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  position: relative; transition: transform .3s, box-shadow .3s;
}
.tst:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.tst-quote { color: var(--gold-500); font-size: 3rem; font-family: Georgia; line-height: 0.5; margin-bottom: 12px; height: 26px; }
.tst-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.tst-stars svg { width: 17px; height: 17px; color: var(--gold-500); }
.tst p { color: var(--text); font-size: 0.98rem; }
.tst-user { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.tst-ava { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-700); color: var(--gold-400); display: grid; place-items: center; font-weight: 800; }
.tst-user b { color: var(--ink); font-size: 0.96rem; }
.tst-user small { color: var(--muted); }

/* ===== CTA band ===== */
.cta-band { padding: 80px 0; }
.cta-inner {
  background: radial-gradient(120% 160% at 20% 0%, #1c2543, var(--navy-800));
  border-radius: 28px; padding: 60px; text-align: center; color: #fff; position: relative; overflow: hidden;
  border: 1px solid rgba(212,175,97,0.2);
}
.cta-inner::before { content:''; position:absolute; width:360px; height:360px; background:#d4af61; filter:blur(120px); opacity:0.22; top:-120px; right:-60px; }
.cta-inner h2 { color: #fff; font-size: clamp(1.7rem,3.2vw,2.5rem); position: relative; }
.cta-inner p { color: #b9c2d6; margin: 16px auto 30px; max-width: 540px; position: relative; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.contact-info { background: var(--navy-800); color: #fff; border-radius: var(--radius); padding: 40px 34px; }
.contact-info h3 { color: #fff; font-size: 1.5rem; margin-bottom: 10px; }
.contact-info > p { color: #a9b3ca; margin-bottom: 30px; }
.ci-row { display: flex; gap: 15px; align-items: flex-start; margin-bottom: 24px; }
.ci-row .ci-ic { width: 46px; height: 46px; border-radius: 12px; background: rgba(212,175,97,0.14); display: grid; place-items: center; color: var(--gold-400); flex-shrink: 0; }
.ci-row .ci-ic svg { width: 22px; height: 22px; }
.ci-row b { color: #fff; display: block; font-size: 1rem; }
.ci-row span { color: #a9b3ca; font-size: 0.92rem; }
.ci-row a { color: var(--gold-400); }
.contact-socials { display: flex; gap: 12px; margin-top: 30px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); }
.contact-socials a { width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,0.08); display: grid; place-items: center; color: #fff; transition: .2s; }
.contact-socials a:hover { background: var(--gold-grad); color: #2a2005; }
.contact-socials svg { width: 20px; height: 20px; }
.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 34px; box-shadow: var(--shadow-sm); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 8px; color: var(--ink); }
.form-control {
  width: 100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  font-family: inherit; font-size: 0.96rem; color: var(--text); transition: border-color .2s, box-shadow .2s; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 4px rgba(212,175,97,0.12); }
textarea.form-control { resize: vertical; min-height: 120px; }

/* ===== Footer ===== */
footer.site {
  background: var(--navy-900); color: #a9b3ca; padding: 66px 0 0;
  border-top: 3px solid; border-image: var(--gold-grad) 1;
}
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.foot-brand .brand { margin-bottom: 18px; }
.foot-brand .brand-name { color: #fff; }
.foot-brand p { font-size: 0.92rem; line-height: 1.9; }
.foot-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; }
.foot-col a { display: block; padding: 6px 0; font-size: 0.92rem; transition: color .2s, padding .2s; }
.foot-col a:hover { color: var(--gold-400); padding-right: 6px; }
.foot-badge { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; color: #dfe4f0; font-size: 0.9rem; }
.foot-badge svg { width: 18px; height: 18px; color: var(--gold-400); }
.foot-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.86rem; flex-wrap: wrap; gap: 12px; }

/* ===== Cart drawer ===== */
.overlay { position: fixed; inset: 0; background: rgba(6,9,18,0.55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: .3s; z-index: 200; }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; left: 0; height: 100%; width: 420px; max-width: 92vw; background: #fff;
  z-index: 201; transform: translateX(-100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
.drawer.open { transform: translateX(0); }
.drawer-head { padding: 22px 24px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.drawer-head h3 { font-size: 1.25rem; }
.drawer-close { width: 38px; height: 38px; border-radius: 10px; background: var(--cloud); display: grid; place-items: center; color: var(--ink); }
.drawer-close:hover { background: var(--cloud-2); }
.drawer-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-item img { width: 74px; height: 74px; border-radius: 12px; object-fit: cover; flex-shrink: 0; }
.cart-item .ci-mid { flex: 1; min-width: 0; }
.cart-item .ci-name { font-weight: 700; font-size: 0.92rem; color: var(--ink); line-height: 1.4; }
.cart-item .ci-price { color: var(--gold-600); font-weight: 800; margin-top: 4px; font-size: 0.95rem; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; margin-top: 8px; }
.qty button { width: 30px; height: 30px; display: grid; place-items: center; color: var(--ink); font-weight: 800; font-size: 1.1rem; }
.qty button:hover { background: var(--cloud); }
.qty span { width: 34px; text-align: center; font-weight: 700; font-size: 0.92rem; }
.ci-remove { color: var(--muted); align-self: flex-start; }
.ci-remove:hover { color: var(--danger); }
.ci-remove svg { width: 18px; height: 18px; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-empty svg { width: 64px; height: 64px; color: var(--line); margin: 0 auto 16px; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); background: var(--cloud); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.cart-total .lbl { color: var(--muted); }
.cart-total .amt { font-family: 'Cairo'; font-weight: 800; font-size: 1.5rem; color: var(--ink); }

/* ===== Modal ===== */
.modal-wrap { position: fixed; inset: 0; z-index: 210; display: grid; place-items: center; padding: 20px; opacity: 0; visibility: hidden; transition: .25s; }
.modal-wrap.open { opacity: 1; visibility: visible; }
.modal-wrap .backdrop { position: absolute; inset: 0; background: rgba(6,9,18,0.6); backdrop-filter: blur(4px); }
.modal {
  position: relative; background: #fff; border-radius: 22px; width: 100%; max-width: 460px;
  padding: 38px 36px; box-shadow: var(--shadow-lg); transform: translateY(20px) scale(.97); transition: .3s; max-height: 92vh; overflow-y: auto;
}
.modal-wrap.open .modal { transform: translateY(0) scale(1); }
.modal.wide { max-width: 620px; }
.modal-close { position: absolute; top: 16px; left: 16px; width: 36px; height: 36px; border-radius: 10px; background: var(--cloud); display: grid; place-items: center; color: var(--ink); }
.modal-close:hover { background: var(--cloud-2); }
.modal-head { text-align: center; margin-bottom: 26px; }
.modal-head .brand-mark { margin: 0 auto 16px; }
.modal-head h3 { font-size: 1.5rem; }
.modal-head p { color: var(--muted); margin-top: 6px; font-size: 0.94rem; }
.modal-tabs { display: flex; background: var(--cloud); border-radius: 12px; padding: 5px; margin-bottom: 24px; }
.modal-tabs button { flex: 1; padding: 10px; border-radius: 9px; font-weight: 700; color: var(--muted); transition: .2s; font-size: 0.94rem; }
.modal-tabs button.active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.form-hint { font-size: 0.84rem; color: var(--muted); text-align: center; margin-top: 16px; }
.form-hint a { color: var(--gold-600); font-weight: 700; }
.alert { padding: 12px 16px; border-radius: 11px; font-size: 0.9rem; font-weight: 600; margin-bottom: 16px; display: none; }
.alert.show { display: block; }
.alert.err { background: #fdecec; color: #b93838; }
.alert.ok { background: #e7f7f2; color: #1a8b7c; }

.demo-creds { background: var(--cloud); border: 1px dashed var(--line); border-radius: 12px; padding: 14px 16px; font-size: 0.84rem; color: var(--muted); margin-top: 18px; }
.demo-creds b { color: var(--ink); }

/* product detail modal */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pd-img { border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.pd-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h3 { font-size: 1.4rem; margin: 6px 0 10px; }
.pd-price { font-family: 'Cairo'; font-weight: 800; font-size: 1.7rem; color: var(--ink); margin: 14px 0; }
.pd-price .old { font-size: 1rem; color: var(--muted); text-decoration: line-through; margin-right: 10px; font-weight: 600; }
.pd-desc { color: var(--text); font-size: 0.95rem; margin-bottom: 20px; }

/* toast */
.toast-wrap { position: fixed; bottom: 24px; left: 24px; z-index: 300; display: flex; flex-direction: column; gap: 10px; }
.toast {
  background: var(--ink); color: #fff; padding: 14px 20px; border-radius: 13px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 0.94rem;
  transform: translateY(20px); opacity: 0; animation: toastIn .3s forwards;
}
.toast svg { width: 20px; height: 20px; color: var(--gold-400); flex-shrink: 0; }
.toast.ok svg { color: #40d3ac; }
@keyframes toastIn { to { transform: translateY(0); opacity: 1; } }

/* reveal animation */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* section pages (spa) */
.page { display: none; }
.page.active { display: block; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .product-grid { grid-template-columns: repeat(3,1fr); }
  .cat-grid { grid-template-columns: repeat(2,1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2,1fr); }
  .feature-band .container { grid-template-columns: 1fr; }
  .feature-img { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .burger { display: grid; }
  .topbar .tb-left .topbar-item.hide-sm { display: none; }
  .trust .container { grid-template-columns: 1fr 1fr; gap: 22px; }
  .product-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .cat-grid { grid-template-columns: 1fr; }
  .tst-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-bottom { flex-direction: column; text-align: center; }
  .pd-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero .container { padding-top: 46px; padding-bottom: 56px; }
  .cta-inner { padding: 40px 24px; }
  .hero-stats { gap: 22px; }
  .shop-toolbar { flex-direction: column; align-items: stretch; }
  .search-box .field { width: 100%; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .container { padding: 0 16px; }
  .pcard-media { aspect-ratio: 16/11; }
}

/* mobile nav drawer */
.mobile-menu { position: fixed; top: 0; right: 0; height: 100%; width: 300px; max-width: 85vw; background: #fff; z-index: 201; transform: translateX(100%); transition: transform .3s; padding: 24px; box-shadow: var(--shadow-lg); }
.mobile-menu.open { transform: translateX(0); }
.mobile-menu a { display: block; padding: 14px 12px; border-radius: 10px; font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.mobile-menu a:hover { background: var(--cloud); color: var(--gold-600); }
.mobile-menu .mm-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
