:root {
  --gold: #f5c518;
  --gold-hot: #ffc700;
  --gold-dim: rgba(245, 197, 24, 0.16);
  --ink: #111111;
  --char: #1a1a1a;
  --char-2: #222222;
  --paper: #f8f9fa;
  --white: #ffffff;
  --muted: #8d8d8d;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(17, 17, 17, 0.08);
  --rose: #e11d48;
  --ok: #16a34a;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --header: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Tajawal", "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  direction: rtl;
}

body {
  font-family: var(--font);
  background: var(--ink);
  color: var(--white);
  line-height: 1.75;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}

.page-main {
  padding-top: var(--header);
}

/* ========== HEADER ========== */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(17, 17, 17, 0.62);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(245, 197, 24, 0.18);
}

.header-inner {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

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

.brand img {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-meta strong {
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 800;
}

.brand-meta span {
  color: var(--gold);
  font-size: 0.62rem;
  letter-spacing: 0.32em;
  font-weight: 700;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.78);
  padding-block: 6px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.is-active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(245, 197, 24, 0.32);
}

.icon-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-inline-start: 1px solid rgba(245, 197, 24, 0.18);
  display: grid;
  place-items: center;
  position: relative;
  transition: 0.3s var(--ease);
}

.header-actions .icon-btn:first-child {
  border-inline-start: 0;
}

.icon-btn:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.cart-badge {
  position: absolute;
  inset-block-start: -6px;
  inset-inline-start: -6px;
  min-width: 20px;
  height: 20px;
  padding-inline: 5px;
  background: var(--gold);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  transform-origin: center;
}

.cart-badge.is-pop {
  animation: pop 0.42s var(--ease);
}

.menu-toggle {
  display: none;
}

.mobile-panel {
  display: none;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
  background: #000;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to left, rgba(8, 8, 8, 0.88) 8%, rgba(8, 8, 8, 0.55) 42%, rgba(8, 8, 8, 0.12) 72%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, transparent 28%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-copy {
  padding: calc(var(--header) + 48px) 7vw 72px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  font-size: clamp(2.6rem, 6.4vw, 5.4rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  display: block;
}

.hero-lead {
  margin-top: 28px;
  max-width: 38ch;
  color: rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-stats div strong {
  display: block;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

.hero-stats div span {
  font-size: 0.82rem;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  display: grid;
  grid-template-rows: 1fr 1fr;
  border-inline-start: 1px solid var(--line);
}

.hero-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.hero-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
  filter: grayscale(0.25) contrast(1.05);
}

.hero-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78));
}

.hero-tile:hover img {
  transform: scale(1.08);
}

.hero-tile-copy {
  position: relative;
  z-index: 2;
}

.hero-tile-copy small {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-tile-copy h2 {
  font-size: 2rem;
  font-weight: 900;
}

.swoosh {
  position: absolute;
  width: 280px;
  height: 80px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  border-left-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-18deg);
  opacity: 0.55;
  pointer-events: none;
}

.swoosh-1 {
  inset-inline-start: 42%;
  inset-block-start: 18%;
}

/* ========== MARQUEE ========== */
.marquee {
  background: var(--gold);
  color: var(--ink);
  overflow: hidden;
  border-block: 1px solid #000;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding-block: 14px;
  text-transform: uppercase;
}

.marquee-track span {
  padding-inline: 28px;
  white-space: nowrap;
}

/* ========== SECTIONS ========== */
.section {
  padding-block: 96px;
  position: relative;
}

.section-dark {
  background: var(--ink);
}

.section-paper {
  background: var(--paper);
  color: var(--ink);
}

.section-char {
  background: var(--char);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
}

.section-kicker {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.3em;
}

.section-head h2,
.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  font-weight: 900;
}

.section-paper .section-kicker {
  color: #b45309;
}

/* ========== CATEGORY SWITCH ========== */
.category-switch {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  min-height: 620px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 48px;
  min-height: 420px;
}

.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 1s var(--ease);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(200deg, rgba(17, 17, 17, 0.1), rgba(17, 17, 17, 0.82));
}

.cat-card:hover img {
  transform: scale(1.07);
}

.cat-card-body {
  position: relative;
  z-index: 1;
  max-width: 420px;
}

.cat-card-body h3 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
}

.cat-card-body p {
  margin-block: 14px 26px;
  color: rgba(255, 255, 255, 0.72);
}

.cat-boys {
  border-inline-end: 1px solid var(--line);
}

/* ========== STORY ========== */
.story-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.story-visual {
  position: relative;
  min-height: 520px;
  background: #000;
  overflow: hidden;
}

.story-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
  filter: contrast(1.05);
}

.story-stamp {
  position: absolute;
  inset-inline-start: 24px;
  inset-block-end: 24px;
  width: 110px;
  height: 110px;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  background: rgba(0, 0, 0, 0.55);
}

.story-copy h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 18px;
}

.story-copy p {
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 16px;
}

.story-points {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.story-points li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.story-points b {
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

/* ========== PAGE HERO ========== */
.page-hero {
  padding: 72px 0 36px;
  background:
    radial-gradient(circle at 10% 20%, rgba(245, 197, 24, 0.14), transparent 36%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1;
}

.page-hero p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.64);
  margin-top: 16px;
}

.offer-hero {
  background:
    linear-gradient(120deg, #1a1400, #111 55%, #1a1a1a),
    var(--ink);
  overflow: hidden;
  position: relative;
}

.offer-hero::before {
  content: "SALE";
  position: absolute;
  inset-inline-end: 4%;
  inset-block-start: 10%;
  font-size: 18vw;
  font-weight: 900;
  color: rgba(245, 197, 24, 0.06);
  line-height: 0.8;
}

.countdown {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.count-box {
  min-width: 86px;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 16px 10px 12px;
}

.count-box strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.count-box span {
  font-size: 0.72rem;
  font-weight: 800;
}

/* ========== FOOTER ========== */
.site-footer {
  background: #0a0a0a;
  border-top: 1px solid var(--line);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand img {
  height: 72px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 36ch;
}

.site-footer h4 {
  color: var(--gold);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.site-footer a,
.site-footer li {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 8px;
  display: block;
}

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

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-bottom a {
  color: var(--muted);
  display: inline;
}

/* ========== TOAST / UTILS ========== */
.toast {
  position: fixed;
  inset-block-end: 24px;
  inset-inline-start: 24px;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 18px;
  font-weight: 800;
  z-index: 120;
  transform: translateY(120%);
  transition: transform 0.4s var(--ease);
}

.toast.is-on {
  transform: none;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.is-hidden {
  display: none !important;
}

@keyframes pop {
  50% {
    transform: scale(1.28);
  }
}

@keyframes marquee {
  to {
    transform: translateX(50%);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.rise {
  animation: rise 0.8s var(--ease) both;
}
