* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue: #1458b8;
  --blue-dark: #0d3f8a;
  --blue-light: #e8f1fd;
  --pink: #e84393;
  --pink-light: #ffe3f1;
  --ink: #1c2430;
  --gray: #5b6774;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Segoe UI', Tahoma, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.7;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--blue);
  box-shadow: 0 2px 10px rgba(13, 63, 138, .3);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
.brand { display: flex; flex-direction: column; line-height: 1.3; }
.brand-name { color: #fff; font-weight: 800; font-size: 1.25rem; }
.brand-sub { color: #ffd3ea; font-size: .85rem; font-weight: 600; }
.nav { display: flex; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: #fff; text-decoration: none; font-weight: 600; font-size: .9rem;
  padding: 6px 10px; border-radius: 8px;
}
.nav a:hover { background: rgba(255,255,255,.15); }

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--blue) 0%, var(--blue-dark) 60%, #123 130%);
  color: #fff; text-align: center; padding: 64px 0 56px;
}
.team-line {
  display: inline-block;
  background: var(--pink);
  color: #fff; font-weight: 700;
  padding: 6px 18px; border-radius: 999px;
  font-size: 1rem; margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(232, 67, 147, .45);
}
.hero h1 { font-size: 2.8rem; font-weight: 800; margin-bottom: 12px; }
.hero-sub { font-size: 1.15rem; color: #dbe9ff; max-width: 620px; margin: 0 auto 28px; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  padding: 12px 26px; border-radius: 12px; font-size: 1.05rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-wa { background: #25d366; color: #fff; box-shadow: 0 4px 14px rgba(37, 211, 102, .4); }
.btn-wa.alt { background: #1cb857; }
.btn-wa.big { font-size: 1.2rem; padding: 16px 34px; }
.btn-wa:hover { box-shadow: 0 6px 18px rgba(37, 211, 102, .55); }

/* Trust strip */
.trust { background: var(--blue-light); padding: 22px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-item {
  background: #fff; border: 2px solid #cfe2fb; border-radius: 12px;
  text-align: center; font-weight: 700; color: var(--blue-dark);
  padding: 14px 8px; font-size: .95rem;
}

/* Sections */
.section { padding: 56px 0; }
.section-alt { background: #f6f9fe; }
.section h2 { font-size: 2rem; color: var(--blue-dark); text-align: center; margin-bottom: 6px; }
.section-sub { text-align: center; color: var(--gray); margin-bottom: 32px; }
.sec-title {
  color: var(--pink); font-size: 1.35rem; margin: 28px 0 16px;
  border-right: 4px solid var(--pink); padding-right: 12px;
}

/* Videos */
.vgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.vcard { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 3px 12px rgba(20, 88, 184, .12); }
.vcard video { width: 100%; display: block; aspect-ratio: 9/16; max-height: 420px; object-fit: cover; background: #000; }
.vcard figcaption { padding: 10px 14px; font-weight: 600; font-size: .95rem; color: var(--blue-dark); }

/* Reviews */
.reviews-strip { overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 16px 24px; -webkit-overflow-scrolling: touch; }
.reviews-track { display: flex; gap: 14px; width: max-content; }
.reviews-track img {
  height: 320px; width: auto; border-radius: 14px;
  box-shadow: 0 3px 12px rgba(20, 88, 184, .15);
  scroll-snap-align: start;
}

/* Products */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.pcard {
  background: #fff; border-radius: 14px; padding: 12px;
  box-shadow: 0 3px 12px rgba(20, 88, 184, .1);
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
}
.pcard img { width: 100%; height: 160px; object-fit: contain; border-radius: 8px; background: #f6f9fe; }
.pcard h4 { font-size: .95rem; font-weight: 700; min-height: 2.6em; }
.price { color: var(--pink); font-weight: 800; font-size: 1.05rem; }
.price.ask { color: var(--gray); font-size: .9rem; }
.order-btn {
  background: #25d366; color: #fff; text-decoration: none;
  font-weight: 700; font-size: .85rem;
  padding: 8px 14px; border-radius: 999px; margin-top: auto;
}

/* Order section */
.order-section { background: linear-gradient(160deg, var(--pink) 0%, #c2185b 100%); color: #fff; }
.order-section h2, .order-section .section-sub { color: #fff; }
.order-section .section-sub { opacity: .9; }

/* Footer */
.site-footer { background: var(--blue-dark); color: #cfe0f7; text-align: center; padding: 32px 0; }
.site-footer .team-line { margin-bottom: 12px; }
.site-footer a { color: #fff; font-weight: 700; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; bottom: 20px; left: 20px; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .5);
}

@media (max-width: 720px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.1rem; }
  .nav a { font-size: .8rem; padding: 5px 7px; }
  .reviews-track img { height: 260px; }
  .pgrid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}

.usage { width: 100%; text-align: right; }
.usage summary {
  cursor: pointer; font-size: .8rem; font-weight: 700; color: var(--blue);
  border: 1px solid #cfe2fb; border-radius: 8px; padding: 4px 8px; list-style: none;
}
.usage summary::before { content: '▾ '; }
.usage[open] summary::before { content: '▴ '; }
.usage p {
  font-size: .8rem; color: var(--gray); white-space: pre-line;
  margin-top: 6px; text-align: right; line-height: 1.6;
}
.usage-ask { font-size: .8rem; color: var(--gray); }
.usage-ask a { color: var(--blue); font-weight: 700; }

/* Cart */
.add-cart {
  background: var(--blue); color: #fff; border: 0; cursor: pointer;
  font-weight: 700; font-size: .85rem; font-family: inherit;
  padding: 8px 14px; border-radius: 999px; margin-top: auto;
}
.cart-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 70;
  min-width: 56px; height: 56px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--pink); color: #fff; font-size: 22px;
  display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 16px;
  box-shadow: 0 4px 16px rgba(232, 67, 147, .5);
}
.cart-count {
  background: #fff; color: var(--pink); font-size: .8rem; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 999px;
  display: none; align-items: center; justify-content: center; padding: 0 4px;
}
.cart-overlay {
  position: fixed; inset: 0; background: rgba(13, 30, 55, .45);
  opacity: 0; pointer-events: none; transition: opacity .2s; z-index: 80;
}
.cart-panel {
  position: fixed; top: 0; bottom: 0; right: 0; width: min(380px, 92vw);
  background: #fff; z-index: 90; box-shadow: -4px 0 24px rgba(13, 63, 138, .25);
  transform: translateX(100%); transition: transform .25s ease;
  display: flex; flex-direction: column; padding: 16px; overflow-y: auto;
}
.cart-panel.open { transform: translateX(0); }
.cart-panel.open ~ .cart-overlay, .cart-overlay:has(~ .cart-panel.open) {}
body:has(.cart-panel.open) .cart-overlay { opacity: 1; pointer-events: auto; }
.cart-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.cart-head h3 { color: var(--blue-dark); }
.cart-close { background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--gray); }
.cart-items { flex: 0 1 auto; }
.cart-empty { color: var(--gray); text-align: center; padding: 24px 0; }
.cart-row {
  display: grid; grid-template-columns: 1fr auto auto auto; gap: 8px; align-items: center;
  padding: 8px 0; border-bottom: 1px solid #eef3fb; font-size: .9rem;
}
.cart-row-name { font-weight: 600; }
.cart-row-qty { display: flex; align-items: center; gap: 6px; }
.qty-btn {
  width: 26px; height: 26px; border-radius: 8px; border: 1px solid #cfe2fb;
  background: var(--blue-light); color: var(--blue-dark); font-weight: 800; cursor: pointer;
}
.cart-row-price { color: var(--pink); font-weight: 700; white-space: nowrap; }
.cart-remove { background: none; border: 0; color: #c00; font-size: 1.2rem; cursor: pointer; }
.cart-total-row { margin: 12px 0 4px; font-size: 1.05rem; color: var(--blue-dark); }
.cart-ask-note { display: none; font-size: .8rem; color: var(--gray); margin-bottom: 6px; }
.cart-form { display: flex; flex-direction: column; gap: 8px; margin: 8px 0; }
.cart-form input, .cart-form textarea {
  border: 1px solid #cfe2fb; border-radius: 10px; padding: 10px 12px;
  font-family: inherit; font-size: .95rem; resize: vertical;
}
.cart-send {
  display: block; text-align: center; text-decoration: none;
  background: #25d366; color: #fff; font-weight: 800;
  padding: 13px; border-radius: 12px; margin-top: 4px;
}
.cart-send.disabled { background: #b9c6d4; pointer-events: none; }
.cart-note { font-size: .78rem; color: var(--gray); margin-top: 8px; text-align: center; }

/* عروض الطلبات */
.offers-section { background: #f6f9fe; }
.offers-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px;
}
.offer-card {
  background: #fff; border: 2px solid #cfe2fb; border-radius: 16px;
  padding: 18px 14px; text-align: center;
  display: flex; flex-direction: column; gap: 8px;
}
.offer-amount { font-weight: 800; color: var(--blue-dark); font-size: 1.1rem; }
.offer-line { font-weight: 700; color: var(--pink); font-size: 1.05rem; }
.offer-card-pink { background: var(--pink-light); border-color: #f7b8d8; }
@media (max-width: 720px) { .offers-grid { grid-template-columns: 1fr; } }

/* العروض جوه السلة */
.cart-offers {
  background: var(--blue-light); border-radius: 12px; padding: 10px 12px; margin: 10px 0;
}
.offer-progress { margin: 0; font-weight: 700; color: var(--blue-dark); font-size: .95rem; }
.offer-gifts { list-style: none; margin: 8px 0 0; padding: 0; display: none; }
.offer-gifts li {
  font-weight: 700; color: #128a3e; font-size: .95rem;
  padding-inline-start: 20px; position: relative;
}
.offer-gifts li::before { content: "✓"; position: absolute; inset-inline-start: 0; }
.cart-form select {
  border: 1px solid #cfe2fb; border-radius: 10px; padding: 10px 12px;
  font-family: inherit; font-size: .95rem; background: #fff; color: var(--ink);
  width: 100%;
}

/* روابط الأقسام تحت الهيدر الثابت */
html { scroll-padding-top: 84px; }
@media (max-width: 720px) { html { scroll-padding-top: 148px; } }
