:root {
  --navy-deep: #0B132B;
  --navy-dark: #1C2541;
  --navy-steel: #3A506B;
  --cyan-accent: #5BC0DE;
  --sand-warm: #F4D6B0;
  --amber-gold: #D97706;

  --primary: #1C2541;
  --secondary: #0B132B;
  --accent: #D97706;
  --bg: #e9eef4;
  --surface: #ffffff;
  --text: #0B132B;
  --muted: #475569;
  --border: #cbd5e1;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Tahoma, sans-serif;
  background:
    radial-gradient(circle at 12% 18%, rgba(91,192,222,.14), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(244,214,176,.28), transparent 38%),
    linear-gradient(180deg, #e5ebf3 0%, #edf1f6 50%, #e4e9f1 100%);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: 1320px; margin: 0 auto; padding: 0 18px; }

/* Announcement Bar (#0B132B + #5BC0DE + #F4D6B0) */
.announcement-bar {
  background: var(--navy-deep);
  color: var(--sand-warm);
  text-align: center;
  padding: 7px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-bottom: 1px solid rgba(91,192,222,.28);
}
.announcement-bar a {
  color: var(--navy-deep);
  background: var(--cyan-accent);
  font-weight: 800;
  margin-right: 10px;
  padding: 2px 10px;
  border-radius: 999px;
}

/* Header (#1C2541 + #3A506B + #F4D6B0 + #5BC0DE) */
.site-header {
  background: var(--navy-dark);
  color: #fff;
  box-shadow: 0 6px 20px rgba(11,19,43,.22);
  position: sticky;
  top: 0;
  z-index: 800;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; color: var(--sand-warm); }
.brand img { height: 36px; object-fit: contain; border-radius: 6px; }
.search-bar {
  flex: 1;
  max-width: 480px;
  display: flex;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(91,192,222,.35);
  border-radius: 999px;
  overflow: hidden;
}
.search-bar:focus-within { background: rgba(255,255,255,.16); border-color: var(--cyan-accent); }
.search-bar input {
  flex: 1;
  padding: 8px 16px;
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  color: #fff;
}
.search-bar input::placeholder { color: rgba(244,214,176,.7); }
.search-bar input:focus { outline: none; }
.search-bar button {
  background: var(--amber-gold);
  color: #fff;
  border: 0;
  padding: 0 18px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.header-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 1px solid rgba(91,192,222,.35);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(58,80,107,.55);
  color: #fff;
  transition: all .15s;
}
.icon-btn svg { width: 15px; height: 15px; color: var(--cyan-accent); }
.icon-btn:hover { background: var(--navy-steel); border-color: var(--sand-warm); }
.cart-badge {
  background: var(--amber-gold);
  color: #fff;
  font-size: 11px;
  padding: 1px 7px;
  border-radius: 999px;
}
.nav-strip-wrap { background: var(--navy-steel); border-top: 1px solid rgba(255,255,255,.08); }
.nav-strip {
  display: flex;
  gap: 20px;
  padding: 8px 0;
  overflow-x: auto;
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
}
.nav-strip a { white-space: nowrap; transition: color .15s; }
.nav-strip a:hover { color: var(--sand-warm); }
@media (max-width: 768px) {
  .search-bar { display: none; }
  .header-actions .hide-sm { display: none; }
}

/* Compact Side-by-Side Bento Hero Grid */
.hero-bento {
  display: grid;
  grid-template-columns: 1.75fr 1fr;
  gap: 16px;
  margin: 18px 0 22px;
  align-items: stretch;
}
@media (max-width: 960px) { .hero-bento { grid-template-columns: 1fr; } }

.hero-slider {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy-deep);
  box-shadow: 0 14px 32px rgba(11,19,43,.18);
  border: 1px solid rgba(58,80,107,.45);
}
.hero-slides { position: relative; height: 100%; min-height: 360px; }
@media (max-width: 768px) { .hero-slides { min-height: 290px; } }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .55s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { position: relative; opacity: 1; pointer-events: auto; height: 100%; min-height: 360px; }
@media (max-width: 768px) { .hero-slide.active { min-height: 290px; } }
.hero-slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11,19,43,.28) 0%, rgba(28,37,65,.84) 58%, rgba(11,19,43,.95) 100%);
}
.hero-slide-content { position: relative; z-index: 2; padding: 34px 40px; max-width: 540px; color: #fff; }
@media (max-width: 768px) { .hero-slide-content { padding: 24px 18px; } }
.hero-kicker {
  display: inline-block;
  background: rgba(91,192,222,.20);
  color: var(--cyan-accent);
  border: 1px solid rgba(91,192,222,.5);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.hero-slide-content h1,
.hero-slide-content h2 { margin: 0 0 10px; font-size: 27px; font-weight: 800; line-height: 1.25; color: #fff; }
@media (max-width: 768px) { .hero-slide-content h1, .hero-slide-content h2 { font-size: 20px; } }
.hero-slide-content p { margin: 0 0 18px; color: var(--sand-warm); font-size: 14px; }
.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(244,214,176,.35); background: rgba(11,19,43,.65);
  color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--amber-gold); border-color: var(--amber-gold); }
.slider-arrow.prev { right: 12px; }
.slider-arrow.next { left: 12px; }
.slider-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: 7px; }
.slider-dot { width: 9px; height: 9px; border-radius: 999px; border: 0; background: rgba(255,255,255,.4); cursor: pointer; padding: 0; transition: all .2s; }
.slider-dot.active { width: 24px; background: var(--cyan-accent); }

/* Right Bento Panel (Side-by-Side Highlights) */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-promo-card {
  flex: 1;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-steel) 100%);
  border: 1px solid rgba(91,192,222,.28);
  border-radius: 14px;
  padding: 18px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.side-promo-card.warm {
  background: linear-gradient(135deg, #F4D6B0 0%, #e7be8a 100%);
  color: var(--navy-deep);
  border: 1px solid rgba(217,119,6,.35);
}
.side-promo-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--amber-gold);
  color: #fff;
  width: fit-content;
  margin-bottom: 6px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: 8px; font-weight: 700; font-size: 13px;
  cursor: pointer; border: 1px solid transparent; font-family: inherit; transition: all .15s;
}
.btn-primary { background: var(--navy-dark); color: #fff; }
.btn-primary:hover { background: var(--navy-steel); }
.btn-accent { background: var(--amber-gold); color: #fff; }
.btn-accent:hover { filter: brightness(1.06); }
.btn-cyan { background: var(--cyan-accent); color: var(--navy-deep); }
.btn-outline { background: var(--surface); border-color: var(--border); color: var(--navy-deep); }

/* Section Headers */
.sec-head { display: flex; justify-content: space-between; align-items: center; margin: 24px 0 12px; gap: 10px; }
.sec-head h2 { margin: 0; font-size: 19px; font-weight: 800; color: var(--navy-deep); }
.sec-link { font-size: 12.5px; font-weight: 700; color: var(--navy-steel); }
.sec-link:hover { color: var(--amber-gold); }

/* Compact Category Strip */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 20px; }
@media (max-width: 768px) { .cat-grid { grid-template-columns: 1fr; } }
.cat-card {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-steel) 100%);
  color: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-right: 4px solid var(--cyan-accent);
  transition: transform .15s;
}
.cat-card:hover { transform: translateY(-2px); border-right-color: var(--sand-warm); }
.cat-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(244,214,176,.16); color: var(--sand-warm);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cat-icon svg { width: 20px; height: 20px; }

/* Combo Showcase (#0B132B + #1C2541 + #F4D6B0 + #5BC0DE) */
.combo-showcase {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy-dark) 100%);
  border: 1px solid rgba(91,192,222,.3);
  border-radius: 16px;
  padding: 18px;
  margin: 22px 0;
}
.combo-showcase .sec-head { margin-top: 0; }
.combo-showcase .sec-head h2 { color: var(--sand-warm); }
.combo-showcase .sec-link { color: var(--cyan-accent); }

/* Product Grid & Cards (Blended Palette, Not Plain White) */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 10px; } }
@media (max-width: 480px) { .grid-4, .grid-3 { grid-template-columns: 1fr; } }

.product-card {
  background: #fff;
  border: 1px solid rgba(58,80,107,.22);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.product-card:hover { transform: translateY(-3px); border-color: var(--cyan-accent); box-shadow: 0 12px 24px rgba(11,19,43,.14); }
.product-thumb {
  aspect-ratio: 4/3;
  background: #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.product-card:hover .product-thumb img { transform: scale(1.04); }
.badge-tag {
  position: absolute; top: 8px; right: 8px;
  background: var(--amber-gold); color: #fff;
  font-size: 10.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px;
}
.badge-tag.combo { background: var(--navy-deep); color: var(--sand-warm); border: 1px solid var(--sand-warm); }
.badge-tag.digital { background: var(--cyan-accent); color: var(--navy-deep); }
.product-body {
  padding: 12px 13px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, rgba(244,214,176,.14) 100%);
}
.product-cat { font-size: 11px; color: var(--navy-steel); font-weight: 700; }
.product-title {
  font-size: 13.5px; font-weight: 700; margin: 3px 0 6px; color: var(--navy-deep);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.countdown-pill {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  color: var(--navy-deep); background: var(--sand-warm);
  padding: 2px 8px; border-radius: 6px; margin-bottom: 6px;
}
.price-row {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(58,80,107,.12);
}
.price-now { font-size: 15.5px; font-weight: 800; color: var(--navy-dark); }
.price-old { font-size: 11.5px; color: var(--muted); text-decoration: line-through; }
.view-pill {
  font-size: 11px; font-weight: 700; color: #fff;
  background: var(--navy-steel); padding: 3px 9px; border-radius: 6px;
}

/* Shop Filters Layout */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 18px; margin: 18px 0; }
.filter-sidebar { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 14px; height: fit-content; }
.mobile-filter-btn { display: none; margin-bottom: 10px; }
@media (max-width: 900px) {
  .shop-layout { grid-template-columns: 1fr; }
  .mobile-filter-btn { display: inline-flex; }
  .filter-sidebar { display: none; }
  .filter-sidebar.open { display: block; }
}
.filter-group { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.filter-group label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }
.form-control { width: 100%; padding: 8px 10px; border: 1px solid var(--border); border-radius: 8px; font-family: inherit; font-size: 13px; }

/* Product Detail & Gallery */
.product-detail-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; margin: 20px 0; }
@media (max-width: 820px) { .product-detail-grid { grid-template-columns: 1fr; } }
.gallery-main { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; aspect-ratio: 1/1; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs img { width: 68px; height: 68px; object-fit: cover; border-radius: 8px; border: 2px solid var(--border); cursor: pointer; }
.gallery-thumbs img.active { border-color: var(--navy-dark); }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.specs-table th, .specs-table td { padding: 9px 11px; border: 1px solid var(--border); text-align: right; font-size: 13px; }
.specs-table th { background: #f8fafc; width: 35%; font-weight: 700; }
.countdown-box { background: var(--sand-warm); border: 1px solid var(--amber-gold); color: var(--navy-deep); padding: 9px 12px; border-radius: 8px; font-weight: 800; font-size: 13px; margin: 10px 0; }

/* Trust Bar & Footer (#3A506B & #0B132B) */
.trust-bar {
  background: var(--navy-steel);
  color: var(--sand-warm);
  border-radius: 12px;
  padding: 18px;
  margin: 26px 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
  text-align: center;
  font-weight: 700;
  font-size: 13px;
}
.trust-item { display: flex; align-items: center; justify-content: center; gap: 8px; }
.trust-item svg { width: 19px; height: 19px; color: var(--cyan-accent); flex-shrink: 0; }

.site-footer { background: var(--navy-deep); color: #cbd5e1; padding: 34px 0 18px; margin-top: 34px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.footer-grid h4 { color: var(--sand-warm); margin: 0 0 10px; font-size: 14.5px; }
.footer-grid a { display: block; padding: 3px 0; font-size: 13px; }
.footer-grid a:hover { color: var(--cyan-accent); }
.footer-bottom { border-top: 1px solid rgba(91,192,222,.16); margin-top: 22px; padding-top: 14px; text-align: center; font-size: 12px; }

.alert { padding: 10px 14px; border-radius: 8px; margin: 12px 0; font-size: 13.5px; font-weight: 600; }
.alert-success { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 14px; }
