*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --navy: #14213d;
  --navy-2: #1b2a52;
  --gold: #f2c25b;
  --gold-dark: #8a5a00;
  --cream: #fbf6ec;
  --ink: #1d2433;
  --muted: #5b6275;
  --line: #e8dfcc;
  --sale: #b3261e;
  --radius: 14px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Tahoma, "Segoe UI", "Geeza Pro", "Noto Sans Arabic", sans-serif;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

img,
svg {
  max-width: 100%;
}

h1,
h2,
h3 {
  line-height: 1.3;
  margin: 0 0 12px;
}

p {
  margin: 0 0 12px;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  z-index: 20;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--gold-dark);
  outline-offset: 3px;
}

.site-header :focus-visible,
.hero :focus-visible,
.countdown :focus-visible,
.site-footer :focus-visible {
  outline-color: var(--gold);
}

.countdown :focus-visible {
  outline-color: var(--navy);
}

main:focus {
  outline: none;
}

section[id],
footer[id] {
  scroll-margin-top: 80px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--navy);
  color: #fff;
}

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

.brand {
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: none;
  color: var(--gold);
  margin: 0;
}

.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
}

.nav-list a:hover {
  color: var(--gold);
}

.cart {
  margin: 0;
  font-size: 0.95rem;
}

.cart-count {
  display: inline-block;
  min-width: 1.6em;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  text-align: center;
}

.hero {
  background: radial-gradient(circle at 20% 30%, var(--navy-2), var(--navy) 70%);
  color: #fff;
  padding-block: 72px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  max-width: 560px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 700;
}

.hero h1 {
  font-size: 3rem;
}

.lead {
  font-size: 1.15rem;
  color: #dfe5f2;
  margin-bottom: 24px;
}

.hero-art {
  width: 260px;
  height: auto;
  flex: none;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.countdown {
  background: var(--gold);
  color: var(--navy);
  padding-block: 32px;
  text-align: center;
}

.timer {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 88px;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  margin: 0;
}

.value {
  font-size: 2rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.unit-label {
  font-size: 0.9rem;
  color: var(--gold);
}

.countdown-note {
  margin: 16px 0 0;
  font-weight: 700;
}

.offers,
.faq {
  padding-block: 64px;
}

.offers h2,
.faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 32px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.badge {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--sale);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.offer-art {
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
}

.offer h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.offer-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  display: flex;
  gap: 12px;
  align-items: baseline;
  margin-top: auto;
}

.price del {
  color: var(--muted);
}

.price ins {
  text-decoration: none;
  color: var(--sale);
  font-size: 1.3rem;
  font-weight: 700;
}

.btn-add {
  background: var(--navy);
  color: #fff;
  width: 100%;
  text-align: center;
}

.faq {
  background: #fff;
}

.accordion {
  max-width: 760px;
  margin-inline: auto;
  border-top: 1px solid var(--line);
}

.accordion-heading {
  margin: 0;
  font-size: 1.1rem;
}

.accordion-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 18px 4px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  text-align: start;
  cursor: pointer;
}

.accordion-trigger[aria-expanded]::after {
  content: "+";
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--cream);
  color: var(--navy);
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.accordion-trigger[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.accordion-panel {
  padding: 16px 4px 8px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.site-footer {
  background: var(--navy);
  color: #dfe5f2;
  padding-block: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--gold);
}

@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero-art {
    width: 180px;
  }
}

@media (max-width: 640px) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 10px;
    row-gap: 6px;
  }

  .nav-list {
    order: 3;
    width: 100%;
    gap: 16px;
    font-size: 0.95rem;
  }

  .hero {
    padding-block: 48px;
  }

  .hero-inner {
    flex-direction: column-reverse;
    text-align: center;
    gap: 24px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-art {
    width: 140px;
  }

  .timer {
    gap: 8px;
  }

  .unit {
    flex: 1;
    min-width: 0;
    padding: 10px 4px;
  }

  .value {
    font-size: 1.5rem;
  }

  .offers,
  .faq {
    padding-block: 48px;
  }

  .offers h2,
  .faq h2 {
    font-size: 1.6rem;
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-art {
    animation: none;
  }

  .accordion-trigger[aria-expanded]::after {
    transition: none;
  }
}
