:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #ecfdf5;
  --dark: #0f172a;
  --dark-2: #1e293b;
  --accent: #f59e0b;
  --danger: #e11d48;
  --text: #0f172a;
  --muted: #64748b;
  --bg: #f8fafc;
  --card: #ffffff;
  --border: #e2e8f0;
  --radius: 16px;
  --shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.12);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Cairo", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 16px; }

/* Top Promo Bar */
.topbar {
  background: linear-gradient(90deg, #064e3b, #0f172a, #064e3b);
  color: #fff;
  text-align: center;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 12px;
  letter-spacing: 0.2px;
}

/* Sticky Header */
.header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 80;
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 70px;
  padding: 10px 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 26px;
  font-weight: 900;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--primary), #0d9488);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.3);
}
.search-wrap {
  flex: 1;
  max-width: 460px;
  position: relative;
}
.search-wrap input {
  width: 100%;
  padding: 10px 16px;
  border-radius: 99px;
  border: 1.5px solid var(--border);
  background: #f1f5f9;
  font-family: inherit;
  font-size: 14px;
  transition: 0.2s;
}
.search-wrap input:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  font-size: 14px;
  padding: 7px 14px;
  border-radius: 99px;
  border: 1px solid rgba(5, 150, 105, 0.2);
}
.lang-btn {
  border: 1.5px solid var(--dark);
  background: transparent;
  color: var(--dark);
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 99px;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  transition: 0.2s;
}
.lang-btn:hover { background: var(--dark); color: #fff; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  padding: 11px 22px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  text-align: center;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(5, 150, 105, 0.36);
}
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.btn-outline {
  background: #fff;
  color: var(--dark);
  border: 1.5px solid var(--border);
  box-shadow: none;
}
.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  box-shadow: none;
}
.btn-accent {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35);
}
.btn-sm { padding: 9px 14px; font-size: 13.5px; border-radius: 10px; }
.btn-big { padding: 15px 28px; font-size: 17px; width: 100%; border-radius: 14px; }
.btn-wa {
  background: linear-gradient(135deg, #25d366, #16a34a);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.32);
}
.pulse { animation: pulse 2.2s infinite; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); box-shadow: 0 8px 26px rgba(5, 150, 105, 0.45); }
}

/* Hero Section */
.hero {
  background: radial-gradient(circle at 85% 20%, rgba(16, 185, 129, 0.25), transparent 45%),
              radial-gradient(circle at 15% 80%, rgba(245, 158, 11, 0.18), transparent 45%),
              linear-gradient(135deg, #090d16 0%, #0f172a 55%, #064e3b 100%);
  color: #fff;
  padding: 56px 0 74px;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 36px;
  align-items: center;
}
.hero-badge {
  display: inline-block;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #fde68a;
  font-weight: 800;
  font-size: 13.5px;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(26px, 4.2vw, 44px);
  font-weight: 900;
  line-height: 1.28;
  margin-bottom: 14px;
}
.hero p {
  color: #cbd5e1;
  font-size: clamp(15px, 2vw, 18px);
  margin-bottom: 26px;
  max-width: 620px;
}
.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-btns .btn { padding: 13px 26px; font-size: 16px; }
.hero-stats {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
}
.hero-stat strong {
  display: block;
  font-size: 24px;
  font-weight: 900;
  color: #34d399;
}
.hero-stat span {
  font-size: 13px;
  color: #94a3b8;
}
.hero-Visual {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  padding: 18px;
  backdrop-filter: blur(10px);
  text-align: center;
}
.hero-Visual img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 12px;
}
.hero-Visual-tag {
  font-weight: 800;
  color: #fde68a;
  font-size: 15px;
}

/* Trust Features Bar */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: -36px;
  position: relative;
  z-index: 10;
}
.feature-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-light);
  display: grid;
  place-items: center;
  font-size: 24px;
  flex-shrink: 0;
}
.feature-card b { display: block; font-size: 15px; font-weight: 800; }
.feature-card small { color: var(--muted); font-size: 12.5px; }

/* Section Headers */
.section-head {
  text-align: center;
  margin: 48px 0 22px;
}
.section-title {
  font-size: clamp(22px, 3.2vw, 32px);
  font-weight: 900;
  color: var(--dark);
}
.section-sub {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
}

/* Categories Filter */
.categories {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat {
  border: 1.5px solid var(--border);
  background: #fff;
  color: var(--text);
  padding: 8px 18px;
  border-radius: 99px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  transition: 0.2s;
}
.cat:hover { border-color: var(--primary); color: var(--primary); }
.cat.active {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.2);
}

/* Product Grid & Cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(265px, 1fr));
  gap: 22px;
  margin-bottom: 56px;
}
.card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(5, 150, 105, 0.35);
}
.card-img {
  position: relative;
  aspect-ratio: 1 / 0.92;
  background: #f1f5f9;
  overflow: hidden;
  display: block;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-img img { transform: scale(1.06); }
.badge-discount {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  background: var(--danger);
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 3px 11px;
  border-radius: 99px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.35);
}
.badge-hot {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: rgba(15, 23, 42, 0.86);
  backdrop-filter: blur(6px);
  color: #fde68a;
  font-weight: 800;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 99px;
  z-index: 2;
}
.card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
}
.stars { color: var(--accent); font-weight: 800; }
.stars span { color: var(--muted); font-weight: 600; }
.ship-tag {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11.5px;
}
.card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 44px;
}
.prices {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}
.price {
  color: var(--primary-dark);
  font-weight: 900;
  font-size: 22px;
}
.old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 14px;
  font-weight: 600;
}
.card-actions {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 8px;
  margin-top: 6px;
}

/* Product Detail Page */
.product {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  padding: 28px 0 60px;
}
.gallery { position: sticky; top: 88px; align-self: start; }
.main-img {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumbs img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  border: 2.5px solid transparent;
  opacity: 0.7;
  transition: 0.2s;
}
.thumbs img.active { border-color: var(--primary); opacity: 1; }

.info h1 { font-size: clamp(22px, 3vw, 29px); font-weight: 900; line-height: 1.35; margin-bottom: 10px; }
.prices.big .price { font-size: 32px; color: var(--danger); }
.prices.big .old { font-size: 19px; }

.urgency-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.perks li {
  background: var(--primary-light);
  color: var(--primary-dark);
  padding: 5px 12px;
  border-radius: 99px;
  font-size: 13.5px;
  font-weight: 800;
}

/* COD Order Form */
.order-form {
  background: #fff;
  border: 2.5px solid var(--primary);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  scroll-margin-top: 90px;
}
.order-form-head {
  text-align: center;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}
.order-form-head h2 { font-size: 19px; font-weight: 900; color: var(--dark); }
.order-form-head p { font-size: 13px; color: var(--muted); }
.order-form input, .order-form select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15.5px;
  background: #f8fafc;
  transition: 0.2s;
}
.order-form input:focus, .order-form select:focus {
  outline: none;
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.14);
}
.offers-title { font-size: 14px; font-weight: 800; color: var(--dark); }
.offers { display: flex; flex-direction: column; gap: 9px; }
.offer {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 11px 14px;
  cursor: pointer;
  transition: 0.2s;
}
.offer.active {
  border-color: var(--primary);
  background: var(--primary-light);
}
.offer-title { font-weight: 800; font-size: 14.5px; }
.offer strong { margin-inline-start: auto; color: var(--danger); font-size: 16px; font-weight: 900; }
.offer em {
  font-style: normal;
  background: var(--accent);
  color: #111;
  font-size: 11.5px;
  padding: 2px 8px;
  border-radius: 99px;
  font-weight: 800;
}
.qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.qty-controls { display: flex; align-items: center; gap: 12px; }
.qty button {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
}
.qty b { min-width: 24px; text-align: center; font-size: 18px; }
.total-box {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
  font-weight: 800;
}
.total-box b { color: var(--danger); font-size: 22px; font-weight: 900; }
.error { color: var(--danger); font-weight: 700; text-align: center; font-size: 14px; }
.error:empty { display: none; }

.desc {
  margin-top: 24px;
  background: #fff;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.desc h3 { margin-bottom: 12px; font-size: 19px; font-weight: 900; }
.desc p { line-height: 1.9; font-size: 15.5px; }

/* Reviews & FAQ */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 50px;
}
.review-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.review-author { font-weight: 800; font-size: 15px; }
.review-city { color: var(--primary); font-size: 12.5px; font-weight: 700; }
.review-text { color: #334155; font-size: 14.5px; }

.faq-list {
  max-width: 820px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.faq-item summary {
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::after { content: "＋"; font-weight: 900; color: var(--primary); }
.faq-item[open] summary::after { content: "－"; }
.faq-item p { margin-top: 10px; color: var(--muted); font-size: 14.5px; }

/* Quick Order Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: #fff;
  border-radius: 20px;
  max-width: 480px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  padding: 22px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  font-size: 18px;
  cursor: pointer;
  font-weight: 800;
}
.modal-prod {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.modal-prod img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; }
.modal-prod h4 { font-size: 15px; font-weight: 800; }

/* Thanks Page */
.thanks {
  max-width: 540px;
  margin: 50px auto;
  text-align: center;
  background: #fff;
  padding: 36px 26px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.check {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #059669);
  color: #fff;
  font-size: 40px;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
}
.summary {
  width: 100%;
  background: var(--bg);
  border-radius: 14px;
  padding: 16px;
  text-align: start;
  border: 1px solid var(--border);
}
.summary h3 { margin-bottom: 8px; font-size: 16px; }
.summary p {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px dashed #cbd5e1;
  padding: 6px 0;
  font-size: 14.5px;
}

/* Footer */
.footer {
  background: var(--dark);
  color: #cbd5e1;
  padding: 52px 0 28px;
  margin-top: 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer h4 { color: #fff; font-size: 17px; margin-bottom: 12px; font-weight: 800; }
.footer p, .footer a { font-size: 14px; color: #94a3b8; line-height: 1.8; }
.footer a:hover { color: #fff; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.footer-bottom {
  text-align: center;
  padding-top: 22px;
  font-size: 13px;
  color: #64748b;
}

/* Floating WhatsApp & Sticky Mobile CTA */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 70;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.sticky-order { display: none; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero p { margin-inline: auto; }
  .hero-btns, .hero-stats { justify-content: center; }
  .hero-Visual { display: none; }
  .features { grid-template-columns: repeat(2, 1fr); margin-top: -24px; }
  .product { grid-template-columns: 1fr; gap: 20px; padding-bottom: 90px; }
  .gallery { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .header-phone { display: none; }
}
@media (max-width: 560px) {
  .header-in { flex-wrap: wrap; }
  .search-wrap { order: 3; max-width: 100%; width: 100%; flex-basis: 100%; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-body { padding: 11px; gap: 7px; }
  .card-title { font-size: 13.5px; min-height: 38px; }
  .price { font-size: 17px; }
  .card-actions { grid-template-columns: 1fr; }
  .card-actions .btn-outline { display: none; }
  .sticky-order {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 0;
    padding: 15px;
    font-size: 17px;
    z-index: 75;
    background: linear-gradient(135deg, var(--danger), #be123c);
  }
  .wa-float { bottom: 68px; }
}
