:root {
  --ink: #140018;
  --ink-2: #23012e;
  --paper: #fff7fb;
  --card: #fffdf8;
  --pink: #ff2d7b;
  --pink-hot: #ff1170;
  --yellow: #ffe600;
  --orange: #ff5a00;
  --lime: #c6ff1a;
  --purple: #8a2bff;
  --violet: #5b10c7;
  --white: #ffffff;
  --muted: #4a3558;
  --shadow: 0 16px 0 #140018;
  --radius: 24px;
  --sans: "Poppins", "Cairo", "Segoe UI", sans-serif;
  --display: "Fredoka", "Cairo", "Poppins", sans-serif;
  --fun: "Fredoka", "Cairo", "Poppins", sans-serif;
  --arabic: "Cairo", "Poppins", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --header-h: 74px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.skip {
  position: absolute; left: 1rem; top: -5rem;
  background: var(--yellow); color: var(--ink);
  padding: .6rem 1rem; z-index: 80; font-weight: 800;
}
.skip:focus { top: 1rem; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.wrap { width: min(1140px, calc(100% - 28px)); margin-inline: auto; position: relative; z-index: 1; }
.wrap--narrow { width: min(760px, calc(100% - 28px)); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--ink);
  color: var(--white);
  border-bottom: 4px solid var(--yellow);
}
.header__in {
  display: flex; align-items: center; gap: 1rem;
  min-height: var(--header-h);
}
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; min-width: 0; color: var(--white); }
.brand__mark {
  width: 44px; height: 44px; border-radius: 14px;
  background: var(--yellow); color: var(--ink);
  display: grid; place-items: center;
  font-family: var(--fun); font-size: 1.25rem; letter-spacing: .02em;
  box-shadow: 3px 3px 0 var(--pink);
  flex: 0 0 auto;
  transform: rotate(-6deg);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--display); font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; }
.brand__tag { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); font-weight: 700; }
.header__tools { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; }
.nav { display: flex; align-items: center; gap: .15rem; }
.nav a, .lang {
  text-decoration: none; font-size: .92rem; font-weight: 800;
  padding: .45rem .75rem; border-radius: 999px; color: var(--white);
  border: 0; background: transparent; cursor: pointer; font-family: inherit;
}
.nav a:hover, .lang:hover { background: #ffffff22; color: var(--yellow); }
.lang { border: 2px solid var(--yellow); color: var(--yellow); }
.nav__toggle { display: none; }

/* Ticker of verified deals only */
.ticker {
  overflow: hidden;
  background: var(--yellow);
  color: var(--ink);
  border-bottom: 4px solid var(--ink);
  padding: .45rem 0;
  font-weight: 800;
  font-size: .92rem;
  white-space: nowrap;
}
.ticker__track {
  display: flex; gap: 2.2rem; width: max-content;
  animation: marquee 36s linear infinite;
}
html[dir="rtl"] .ticker__track { animation-name: marquee-rtl; }
.ticker__track span { position: relative; padding-inline-end: .2rem; }
.ticker__track span::before { content: "✦"; color: var(--pink); margin-inline-end: .6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-33.333%); } }
@keyframes marquee-rtl { from { transform: translateX(0); } to { transform: translateX(33.333%); } }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  padding: 2.6rem 0 2.4rem;
  background: linear-gradient(120deg, #5b10c7, #ff2d7b 40%, #ff5a00 70%, #8a2bff);
  background-size: 220% 220%;
  animation: heroShift 10s ease-in-out infinite alternate;
}
.hero__glow {
  position: absolute; inset: -20%;
  background:
    radial-gradient(circle at 15% 20%, #ffe60088 0 18%, transparent 42%),
    radial-gradient(circle at 90% 10%, #c6ff1a66 0 16%, transparent 40%),
    radial-gradient(circle at 70% 90%, #ff2d7b66 0 20%, transparent 48%);
  animation: glowDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes glowDrift {
  0% { transform: translate(-3%, -2%) scale(1); }
  100% { transform: translate(4%, 3%) scale(1.08); }
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  font-weight: 800; color: var(--pink); margin: 0 0 1rem; position: relative;
}
.hero .eyebrow {
  color: var(--yellow);
  background: #140018;
  border-radius: 999px;
  padding: .4rem .8rem;
  text-shadow: none;
  box-shadow: 2px 2px 0 var(--pink);
}
.hero h1, .store-hero h1, .prose h1, .section__head h2, .card h3, .offer h2, .note h2, .faq h2, .prose h2 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.hero h1 {
  font-size: clamp(2.05rem, 7.4vw, 4.2rem);
  margin: 0 0 1rem;
  max-width: 16ch;
  text-shadow: 0 2px 0 #140018, 4px 5px 0 #140018, 0 10px 22px rgba(20,0,24,.45);
}
.hero h1 em {
  font-family: var(--display);
  font-style: normal;
  font-weight: 700;
  color: var(--yellow);
  letter-spacing: 0;
  text-shadow: 0 2px 0 #140018, 4px 5px 0 #140018;
}
.lede { font-size: 1.05rem; max-width: 42rem; margin: 0 0 1.3rem; color: var(--muted); font-weight: 600; line-height: 1.7; }
.hero .lede {
  color: #ffffff;
  font-weight: 700;
  background: rgba(20, 0, 24, .48);
  border: 2px solid rgba(20, 0, 24, .7);
  border-radius: 18px;
  padding: .85rem 1.05rem;
  text-shadow: 0 1px 2px rgba(20,0,24,.55);
}
.trust { display: flex; flex-wrap: wrap; gap: .55rem; margin: 0 0 1.5rem; }
.pill {
  border: 2px solid #140018;
  background: var(--lime);
  color: var(--ink);
  border-radius: 999px;
  padding: .35rem .75rem;
  font-size: .8rem; font-weight: 800;
  box-shadow: 2px 2px 0 #140018;
}

/* Search */
.searchbar {
  display: grid; gap: .8rem;
  background: var(--card);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 28px;
  padding: 1rem;
  box-shadow: 8px 8px 0 #140018;
}
.searchbar input[type="search"] {
  width: 100%; border: 3px solid var(--ink); background: #fff;
  border-radius: 16px; padding: .9rem 1rem; font: inherit; font-size: 1rem;
  font-weight: 700; color: var(--ink); outline: none;
}
.searchbar input:focus { border-color: var(--purple); box-shadow: 0 0 0 3px #8a2bff55; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip {
  border: 2px solid var(--ink); background: #fff;
  border-radius: 999px; padding: .4rem .8rem;
  font: inherit; font-size: .86rem; font-weight: 800; cursor: pointer; color: var(--ink);
}
.chip.is-on, .chip:hover { background: var(--pink); color: var(--white); }

/* Store grid */
.section { padding: 1.5rem 0 3.5rem; background: var(--paper); }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem; margin: 0 0 1.2rem; }
.section__head h2 { font-family: var(--display); font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0; }
.region-tabs {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: 0 0 1.15rem;
}
.region-tab {
  border: 3px solid var(--ink); background: #fff; color: var(--ink);
  border-radius: 999px; padding: .55rem 1.05rem;
  font: inherit; font-size: 1rem; font-weight: 800; cursor: pointer;
  box-shadow: 3px 3px 0 var(--ink);
}
.region-tab:hover { background: var(--yellow); }
.region-tab.is-on { background: var(--pink); color: #fff; }
.muted { color: var(--muted); font-weight: 700; }
.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.card {
  background: var(--card);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.1rem;
  text-decoration: none;
  display: flex; flex-direction: column; gap: .7rem;
  min-height: 100%;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform .18s cubic-bezier(.34,1.56,.64,1), box-shadow .18s ease;
}
a.card:hover {
  transform: translateY(-8px) rotate(-0.6deg) scale(1.03);
  box-shadow: 10px 14px 0 var(--pink);
}
.card__top { display: flex; justify-content: space-between; align-items: start; gap: .7rem; }
.mono-mark {
  width: 52px; height: 52px; border-radius: 16px;
  display: grid; place-items: center;
  background: var(--purple); color: var(--yellow);
  font-family: var(--fun); font-size: 1.3rem;
  border: 3px solid var(--ink);
}
.card h3 { margin: 0; font-size: 1.35rem; font-family: var(--display); }
.meta { font-size: .8rem; color: var(--muted); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; font-weight: 700; }
.offer-preview { margin-top: auto; padding-top: .3rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.tag {
  font-size: .75rem; font-weight: 800;
  padding: .28rem .55rem; border-radius: 999px;
  background: var(--pink); color: #fff; border: 2px solid var(--ink);
}
.tag--sale { background: var(--lime); color: var(--ink); }
.tag--shop { background: #eee; color: var(--muted); }
.empty { display: none; text-align: center; padding: 2.5rem 1rem; color: var(--muted); font-weight: 700; }
.empty.is-on { display: block; }

/* Badges — only rendered when a verified figure exists */
.deal-badge {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--fun);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: .02em;
  background: var(--yellow);
  color: var(--ink);
  border: 3px solid var(--ink);
  border-radius: 14px;
  padding: .35rem .7rem;
  box-shadow: 3px 3px 0 var(--pink);
  transform: rotate(-3deg);
  width: fit-content;
  animation: pulseBadge 1.6s ease-in-out infinite, shimmer 2.8s linear infinite;
  background-image: linear-gradient(100deg, #ffe600 0%, #fff3a0 45%, #ffe600 60%, #ffc107 100%);
  background-size: 200% 100%;
}
.deal-badge--xl {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  padding: .5rem 1rem;
  margin: .4rem 0 1rem;
  transform: rotate(-2deg);
}
@keyframes pulseBadge {
  0%, 100% { transform: rotate(-3deg) scale(1); }
  50% { transform: rotate(-3deg) scale(1.06); }
}
@keyframes shimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

/* Store page */
.crumb { font-size: .88rem; color: var(--muted); margin: 1.2rem 0 1rem; font-weight: 700; }
.crumb a { text-decoration: none; font-weight: 800; color: var(--purple); }
.store-hero { padding: 0 0 1.2rem; }
.store-hero h1 {
  font-size: clamp(1.9rem, 6vw, 3.4rem);
  margin: .35rem 0 .5rem;
}
.actions { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.1rem 0 0; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none; border: 3px solid var(--ink);
  background: var(--yellow); color: var(--ink);
  border-radius: 999px; padding: .75rem 1.15rem;
  font-weight: 900; font-size: .95rem; cursor: pointer; font-family: inherit;
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .15s cubic-bezier(.34,1.56,.64,1);
}
.btn--ghost { background: var(--white); }
.btn:hover { transform: translateY(-3px) scale(1.04); background: var(--lime); }
.offer-list { display: grid; gap: 1rem; }
.offer {
  background: var(--card);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: 6px 6px 0 var(--purple);
}
.offer__kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: var(--pink); margin: 0 0 .35rem; }
.offer h2 { font-family: var(--display); font-size: 1.4rem; margin: 0 0 .6rem; line-height: 1.2; }
.offer p { margin: 0 0 .85rem; color: var(--muted); font-weight: 700; }
.code-row { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: .2rem 0 1rem; }
.code {
  font-family: var(--mono); font-weight: 700; letter-spacing: .08em;
  background: var(--lime); border: 3px dashed var(--ink);
  border-radius: 12px; padding: .65rem .9rem; font-size: 1.05rem;
}
.copy { border-radius: 999px; border: 3px solid var(--ink); background: var(--pink); color: #fff; padding: .55rem .9rem; font: inherit; font-weight: 800; cursor: pointer; box-shadow: 3px 3px 0 var(--ink); }
.copy.is-done { background: #128a3e; }
.source { font-size: .86rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: .35rem .8rem; font-weight: 700; }
.source a { color: var(--purple); font-weight: 800; }
.note {
  background: #fff;
  border: 4px dashed var(--purple);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.note h2 { font-family: var(--display); font-size: 1.35rem; margin: 0 0 .5rem; }

.faq, .prose { margin-top: 2.2rem; }
.faq h2, .prose h1, .prose h2 { font-family: var(--display); }
.prose h1 { font-size: clamp(2rem, 6vw, 3.1rem); margin: 1.2rem 0 .8rem; }
.prose h2 { font-size: 1.3rem; margin: 1.8rem 0 .5rem; }
.prose a { color: var(--pink-hot); font-weight: 800; }
details { border-top: 3px solid var(--ink); padding: .9rem 0; }
details:last-child { border-bottom: 3px solid var(--ink); }
summary { cursor: pointer; font-weight: 800; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; float: inline-end; color: var(--pink); font-weight: 800; }
details[open] summary::after { content: "–"; }
details p { margin: .6rem 0 0; color: var(--muted); font-weight: 700; }

.footer {
  background: var(--ink); color: var(--white);
  padding: 2.2rem 0 2.8rem; margin-top: 1rem;
  border-top: 6px solid var(--yellow);
}
.footer__in { display: grid; gap: 1.2rem; }
.footer a { text-decoration: none; font-weight: 800; color: var(--yellow); }
.footer a:hover { color: var(--lime); }
.footer nav { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; }
.tiny { font-size: .86rem; color: #f4c7e0; font-weight: 700; }

[hidden], [data-lang-block][hidden] { display: none !important; }
html[lang="ar"] body {
  font-family: var(--arabic);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.75;
}
html[lang="ar"] .hero h1,
html[lang="ar"] .store-hero h1,
html[lang="ar"] .prose h1,
html[lang="ar"] .section__head h2,
html[lang="ar"] .card h3,
html[lang="ar"] .offer h2,
html[lang="ar"] .note h2,
html[lang="ar"] .faq h2,
html[lang="ar"] .prose h2,
html[lang="ar"] .brand__name,
html[lang="ar"] .deal-badge,
html[lang="ar"] .hero h1 em {
  font-family: var(--arabic);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.35;
}
html[lang="ar"] .deal-badge { font-weight: 800; }

@media (min-width: 700px) {
  body { font-size: 18px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 3.4rem; padding-bottom: 3rem; }
}
@media (min-width: 980px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 699px) {
  .header__tools { display: flex; align-items: center; gap: .35rem; margin-inline-start: auto; }
  .nav { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; left: 14px; right: 14px; top: calc(var(--header-h) + 8px);
    background: var(--ink); border: 3px solid var(--yellow); border-radius: 18px;
    padding: .6rem; z-index: 50;
  }
  .nav__toggle {
    display: inline-flex;
    border: 2px solid var(--yellow); background: transparent; color: var(--yellow);
    border-radius: 999px; padding: .4rem .7rem; font: inherit; font-weight: 800; cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__track, .hero, .hero__glow, .deal-badge { animation: none !important; }
  a.card, .btn { transition: none; }
  a.card:hover, .btn:hover { transform: none; }
  .hero { background-size: 100% 100%; }
}


/* UAE gift picks (Amazon.ae) — emoji tiles, no product photos */
.gift-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.2rem;
  margin: 1.4rem 0 0; padding: 1.15rem 1.2rem;
  background: var(--yellow); color: var(--ink);
  border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none;
}
.gift-banner:hover { background: var(--lime); transform: translateY(-3px); }
.gift-banner__emo { font-size: 2.4rem; line-height: 1; }
.gift-banner__text { flex: 1 1 220px; display: grid; gap: .35rem; }
.gift-banner__text strong { font-family: var(--display); font-size: 1.25rem; }
.gift-banner__text span { color: var(--ink-2); font-weight: 700; font-size: .95rem; }
.gift-banner__cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ink); color: var(--yellow);
  border-radius: 999px; padding: .65rem 1rem; font-weight: 800; white-space: nowrap;
}
.wrap--gifts { padding-bottom: 3rem; }
.wrap--gifts .lede { max-width: 40rem; }
.gift-disc {
  display: inline-block; margin: .4rem 0 1rem; padding: .55rem .85rem;
  background: #fff3d6; border: 2px dashed var(--ink); border-radius: 14px;
  font-weight: 800; font-size: .92rem;
}
.gift-group { margin-top: 2.2rem; scroll-margin-top: calc(var(--header-h) + 12px); }
.gift-group h2 {
  font-family: var(--display); font-size: 1.45rem; margin: 0 0 1rem;
  display: flex; align-items: center; gap: .45rem;
}
.gift-grid {
  display: grid; gap: 1.1rem;
}
.gift-card {
  background: var(--card); border: 3px solid var(--ink); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column;
}
.gift-tile {
  min-height: 140px; display: grid; place-items: center; font-size: 4rem;
  background: linear-gradient(160deg, #ffe38a, #ff9bb0 40%, #c9b6ff 75%, #7ef0d8);
  border-bottom: 3px solid var(--ink);
}
.gift-card__body { padding: 1rem 1.05rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.gift-card__body h3 { font-family: var(--display); font-size: 1.15rem; margin: 0; line-height: 1.3; }
.gift-card__body p { margin: 0; }
.gift-meta { font-weight: 800; color: var(--ink-2); font-size: .92rem; }
.gift-band {
  display: inline-block; width: fit-content; margin: .15rem 0 !important;
  background: #f0e5ff; color: #6b21a8; font-weight: 800; font-size: .85rem;
  border-radius: 999px; padding: .25rem .7rem;
}
.gift-price-note { color: var(--muted) !important; margin: 0 0 .55rem !important; }
.gift-card__body .btn { margin-top: auto; text-align: center; text-decoration: none; }
@media (min-width: 700px) {
  .gift-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 980px) {
  .gift-grid { grid-template-columns: 1fr 1fr 1fr; }
}
html[lang="ar"] .gift-banner__text strong,
html[lang="ar"] .gift-group h2,
html[lang="ar"] .gift-card__body h3,
html[lang="ar"] .wrap--gifts h1 {
  font-family: var(--arabic);
  font-weight: 800;
  letter-spacing: 0;
}
