:root {
  --bg: #000000;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-2: rgba(255, 255, 255, 0.45);
  --cyan: #22d3ee;
  --cyan-strong: #1dcdf0;
  --cyan-dark: #0ea5c6;
  --green: #24c468;
  --green-hover: #1db45e;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Cairo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; border: 0; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(18px);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  white-space: nowrap;
}
.logo span { color: var(--cyan); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.main-nav a {
  color: rgba(255,255,255,.82);
  font-size: 0.95rem;
  transition: color .2s ease;
}
.main-nav a:hover { color: #fff; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-chip,
.cart-button,
.close-btn,
.primary-btn,
.secondary-btn,
.buy-now-btn,
.add-cart-btn,
.checkout-btn,
.qty-btn {
  transition: .2s ease;
}

.ghost-chip {
  min-width: 52px;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,.8);
}
.ghost-chip:hover { background: rgba(255,255,255,.1); }

.cart-button {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: #fff;
}
.cart-button:hover { background: rgba(255,255,255,.1); }
.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--cyan);
  color: #000;
  font-size: .72rem;
  font-weight: 900;
}
.hidden { display: none !important; }

.hero {
  position: relative;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,.08), transparent 35%);
  pointer-events: none;
}
.hero-content {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 64px 0;
}
.hero-chip {
  margin: 0 0 26px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  border: 1px solid var(--border);
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  letter-spacing: .12em;
}
.hero h2 {
  margin: 28px 0 0;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
}
.hero-text {
  margin: 24px 0 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.15rem;
  line-height: 1.95;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.primary-btn,
.secondary-btn {
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 1.08rem;
  font-weight: 900;
}
.primary-btn {
  background: #fff;
  color: #000;
  box-shadow: var(--shadow);
}
.primary-btn:hover { transform: translateY(-1px) scale(1.02); }
.secondary-btn {
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.05);
}
.secondary-btn:hover { background: rgba(255,255,255,.1); }

.about,
.products-section,
.details-section { padding: 24px 0 56px; }
.info-grid,
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.info-card,
.details-card {
  border-radius: 28px;
  border: 1px solid var(--border);
  padding: 22px;
}
.info-card {
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.85);
  text-align: center;
}
.details-grid {
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.details-card {
  padding: 30px;
}
.dark-card {
  background: linear-gradient(to bottom, rgba(255,255,255,.06), rgba(255,255,255,.03));
}
.light-card {
  background: #fff;
  color: #0e0e0e;
}
.section-tag,
.light-tag {
  margin: 0;
  font-size: .9rem;
  color: rgba(34, 211, 238, .75);
}
.light-tag { color: #7c7c7c; }
.details-card h3,
.section-head h3,
.light-card h3 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 4vw, 2.25rem);
  font-weight: 900;
}
.contact-list,
.reviews-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact-item,
.review-item {
  border-radius: 18px;
  padding: 14px 16px;
}
.contact-item {
  background: rgba(0,0,0,.25);
  color: rgba(255,255,255,.8);
}
.review-item {
  background: #f3f4f6;
  color: #3c3c3c;
}
.review-name {
  font-weight: 800;
  color: #111827;
  margin-bottom: 4px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.search-wrap {
  position: relative;
  width: min(420px, 100%);
}
.search-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.4);
}
.search-wrap input {
  width: 100%;
  padding: 14px 16px 14px 42px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: #fff;
  outline: none;
}
.search-wrap input::placeholder { color: rgba(255,255,255,.35); }

.empty-state {
  border: 1px dashed rgba(255,255,255,.15);
  background: rgba(255,255,255,.03);
  color: rgba(255,255,255,.55);
  border-radius: 30px;
  text-align: center;
  padding: 40px 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.product-card {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  box-shadow: var(--shadow);
}
.product-visual {
  position: relative;
  height: 176px;
  overflow: hidden;
  border-radius: 24px;
  margin: 14px 14px 0;
}
.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255,255,255,.25), transparent 35%);
}
.product-visual::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: -15px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(0,0,0,.2);
  filter: blur(35px);
}
.product-visual-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
}
.visual-top,
.product-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: start;
}
.badge,
.category-chip,
.product-badge {
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 800;
  padding: 6px 12px;
}
.badge {
  color: #fff;
  background: rgba(255,255,255,.2);
  backdrop-filter: blur(6px);
}
.category-chip {
  color: rgba(255,255,255,.92);
  background: rgba(0,0,0,.1);
  border: 1px solid rgba(255,255,255,.18);
}
.visual-store {
  color: rgba(255,255,255,.8);
  font-size: .92rem;
}
.visual-name {
  margin: 4px 0 0;
  color: #fff;
  font-size: 1.65rem;
  font-weight: 900;
}
.visual-price {
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 18px;
  background: #fff;
  color: #0f172a;
  padding: 10px 16px;
  font-size: 1.1rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}
.product-body {
  padding: 20px;
}
.product-name {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
}
.product-period {
  margin-top: 4px;
  color: var(--muted-2);
}
.product-badge {
  color: #7dd3fc;
  background: rgba(34, 211, 238, .1);
  border: 1px solid rgba(34, 211, 238, .2);
}
.product-description {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.9;
}
.guarantee-row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #6ee7b7;
  font-size: .96rem;
  font-weight: 700;
}
.price-row {
  margin-top: 18px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.price-value {
  font-size: 2rem;
  font-weight: 900;
}
.price-label {
  color: var(--muted-2);
  font-size: .95rem;
}
.product-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.buy-now-btn,
.add-cart-btn,
.checkout-btn {
  padding: 14px 18px;
  border-radius: 18px;
  font-weight: 900;
  text-align: center;
}
.buy-now-btn {
  background: var(--green);
  color: #fff;
}
.buy-now-btn:hover { background: var(--green-hover); }
.add-cart-btn,
.checkout-btn {
  background: var(--cyan);
  color: #000;
}
.add-cart-btn:hover,
.checkout-btn:hover { background: #56ddf1; }

.cart-drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  width: min(100%, 420px);
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #06090f;
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  transform: translateX(-100%);
  transition: transform .28s ease;
}
.cart-drawer.open { transform: translateX(0); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  backdrop-filter: blur(3px);
  z-index: 55;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.drawer-overlay.show {
  opacity: 1;
  pointer-events: auto;
}
.cart-header,
.cart-footer {
  padding: 20px;
  border-bottom: 1px solid var(--border);
}
.cart-footer {
  border-top: 1px solid var(--border);
  border-bottom: 0;
  margin-top: auto;
}
.cart-header h3 {
  margin: 6px 0 0;
  font-size: 1.8rem;
  font-weight: 900;
}
.close-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: rgba(255,255,255,.75);
  border-radius: 999px;
  padding: 8px 14px;
}
.close-btn:hover { background: rgba(255,255,255,.06); }
.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.empty-cart {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgba(255,255,255,.5);
}
.empty-cart-icon { font-size: 2rem; margin-bottom: 10px; }
.cart-item {
  border-radius: 24px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  padding: 16px;
}
.cart-item + .cart-item { margin-top: 16px; }
.cart-item-top,
.cart-item-bottom,
.cart-total-row,
.qty-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.cart-item-name {
  font-size: 1.08rem;
  font-weight: 800;
}
.cart-item-period { color: var(--muted-2); font-size: .92rem; }
.remove-btn {
  background: transparent;
  color: rgba(255,255,255,.5);
  font-size: 1.1rem;
}
.remove-btn:hover { color: #f87171; }
.cart-item-bottom { margin-top: 14px; }
.cart-item-price { color: #7dd3fc; font-weight: 900; font-size: 1.2rem; }
.qty-controls { justify-content: end; }
.qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: rgba(255,255,255,.1);
  color: #fff;
}
.qty-btn:hover { background: rgba(255,255,255,.16); }
.qty-value {
  min-width: 24px;
  text-align: center;
  font-weight: 800;
}
.cart-total-row {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 1.05rem;
}
.cart-total-row strong {
  color: #7dd3fc;
  font-size: 1.3rem;
}

@media (max-width: 980px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid, .details-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
}

@media (max-width: 680px) {
  .container { width: min(100% - 24px, 1180px); }
  .header-actions .ghost-chip { display: none; }
  .hero-text { font-size: 1rem; }
  .section-head {
    flex-direction: column;
    align-items: stretch;
  }
  .products-grid { grid-template-columns: 1fr; }
  .product-actions { grid-template-columns: 1fr; }
  .cart-drawer { width: 100%; }
}
/* 📱 Mobile Fix */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: column;
    gap: 10px;
  }

  .main-nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero h2 {
    font-size: 20px;
  }

  .hero-text {
    font-size: 14px;
  }

  .products-grid {
    grid-template-columns: 1fr !important;
  }

  .details-grid {
    grid-template-columns: 1fr !important;
  }

  .info-grid {
    grid-template-columns: 1fr !important;
  }

  .section-head {
    flex-direction: column;
    gap: 10px;
  }

  .search-wrap {
    width: 100%;
  }

  .cart-drawer {
    width: 100%;
  }
}