/* Atr Perfume Theme — Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;800;900&family=Amiri:ital,wght@0,400;0,700;1,400&display=swap');

/* ── Design tokens ─────────────────────────────────────────────────────── */
:root {
  --emerald-900: #0d2b22;
  --emerald-800: #14382c;
  --emerald-700: #1c4a3a;
  --emerald-600: #275a47;
  --gold-500: #c9a96e;
  --gold-400: #d4b87a;
  --gold-300: #e0c896;
  --cream-50:  #faf6ee;
  --cream-100: #f5efe2;
  --cream-200: #ebe2cf;
  --ink-900: #1a1612;
  --ink-700: #3a322a;
  --ink-500: #6b5f52;
  --ink-300: #a89b8b;
  --line:    #e5dcc8;
  --bg:      #fdfaf3;
  --red:     #b8453a;
  --green:   #3d8a5a;
  --whatsapp:#25D366;

  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 3px rgba(13,43,34,.05);
  --shadow-md: 0 4px 14px rgba(13,43,34,.12);
  --shadow-lg: 0 12px 32px rgba(13,43,34,.14);
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Tajawal', system-ui, sans-serif;
  direction: rtl;
  color: var(--ink-900);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

.serif { font-family: 'Amiri', 'Times New Roman', serif; }

/* ── Layout ───────────────────────────────────────────────────────────── */
.atr-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 1024px) { .atr-container { padding: 0 56px; } }

/* ── Utility bar ──────────────────────────────────────────────────────── */
.atr-utility-bar {
  background: var(--emerald-900);
  color: var(--cream-200);
  font-size: 12px;
  padding: 8px 0;
  text-align: center;
  font-weight: 500;
  letter-spacing: .3px;
}
.atr-utility-bar .dot { color: var(--gold-500); margin: 0 14px; }
.atr-utility-bar a { color: var(--gold-300); }

/* ── Header ───────────────────────────────────────────────────────────── */
.atr-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(13,43,34,.04);
}
.atr-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 24px;
}
@media (min-width: 1024px) { .atr-header-inner { padding: 14px 56px; } }

.atr-brand-mark {
  font-family: 'Amiri', serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 1px;
  color: var(--emerald-900);
  white-space: nowrap;
}
@media (min-width: 1024px) { .atr-brand-mark { font-size: 28px; } }
.atr-brand-mark .dot { color: var(--gold-500); }

/* Desktop nav */
.atr-nav {
  display: none;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-700);
}
@media (min-width: 1024px) { .atr-nav { display: flex; } }
.atr-nav a { cursor: pointer; transition: color .15s; }
.atr-nav a:hover { color: var(--emerald-800); }
.atr-nav a.active { color: var(--emerald-800); position: relative; }
.atr-nav a.active::after {
  content: '';
  position: absolute; bottom: -4px; right: 0; left: 0;
  height: 2px; background: var(--gold-500);
}
.atr-nav .sale-link { color: var(--red); }

/* Search bar */
.atr-header-search {
  flex: 1;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 10px 16px;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-500);
}
@media (min-width: 1024px) { .atr-header-search { display: flex; } }
.atr-header-search input {
  flex: 1; border: none; background: transparent; outline: none;
  font-size: 13px; color: var(--ink-900); text-align: right;
}

/* Header icon buttons */
.atr-header-icons { display: flex; gap: 14px; align-items: center; }
.atr-icon-btn {
  background: none; border: none;
  padding: 4px; position: relative;
  color: var(--ink-900);
}
.atr-icon-btn .badge {
  position: absolute; top: -2px; right: -4px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.atr-menu-btn { display: flex; }
@media (min-width: 1024px) { .atr-menu-btn { display: none; } }

/* ── Hero section ─────────────────────────────────────────────────────── */
.atr-hero {
  background:
    radial-gradient(ellipse at 75% 30%, rgba(212,184,122,.22) 0%, transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(212,184,122,.10) 0%, transparent 50%),
    linear-gradient(165deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
  color: var(--cream-50);
  padding: 36px 24px 40px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 1024px) {
  .atr-hero {
    padding: 64px 56px 72px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 560px;
  }
}

.atr-hero-flourish {
  position: absolute;
  font-family: 'Amiri', serif;
  color: rgba(212,184,122,.06);
  font-size: 180px;
  line-height: .85;
  font-weight: 700;
  pointer-events: none;
  left: -20px;
  bottom: -40px;
}
@media (min-width: 1024px) { .atr-hero-flourish { font-size: 320px; left: -40px; bottom: -80px; } }

.atr-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(212,184,122,.18);
  border: 1px solid rgba(212,184,122,.3);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-300);
  margin-bottom: 16px;
}
@media (min-width: 1024px) { .atr-hero-badge { font-size: 12px; padding: 6px 14px; margin-bottom: 24px; } }

.atr-hero h1 {
  font-family: 'Amiri', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--cream-50);
}
@media (min-width: 1024px) { .atr-hero h1 { font-size: 76px; line-height: 1.05; letter-spacing: -1px; margin-bottom: 20px; } }
.atr-hero h1 .gold { color: var(--gold-400); }

.atr-hero-sub {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 18px;
  font-weight: 500;
}
@media (min-width: 1024px) { .atr-hero-sub { font-size: 17px; line-height: 1.7; max-width: 480px; margin-bottom: 32px; } }

.atr-hero-ctas {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
@media (min-width: 1024px) { .atr-hero-ctas { margin-bottom: 36px; } }

/* Countdown */
.atr-countdown {
  display: flex;
  gap: 6px;
  align-items: center;
  direction: ltr;
  margin-bottom: 20px;
}
.atr-cd-block {
  background: var(--ink-900);
  color: var(--gold-400);
  border-radius: 8px;
  padding: 6px 8px;
  font-weight: 800;
  min-width: 36px;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-size: 14px;
}
.atr-cd-sep { color: var(--gold-400); font-weight: 800; font-size: 16px; }

/* Hero bottle / social proof side */
.atr-hero-image {
  display: none;
  position: relative;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1024px) { .atr-hero-image { display: flex; } }

.atr-hero-glow {
  position: absolute;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,184,122,.25) 0%, transparent 65%);
}
.atr-hero-bottle { position: relative; }

.atr-float-badge {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.atr-float-badge.top-right { top: 60px; right: 30px; }
.atr-float-badge.bottom-left { bottom: 80px; left: 0; background: var(--gold-500); }

/* Social proof row */
.atr-hero-proof {
  display: flex;
  gap: 24px;
  align-items: center;
}
@media (min-width: 1024px) { .atr-hero-proof { gap: 32px; } }
.atr-proof-item { border-inline-start: 1px solid rgba(212,184,122,.25); padding-inline-start: 24px; }
.atr-proof-item:first-child { border-inline-start: none; padding-inline-start: 0; }
.atr-proof-num {
  font-family: 'Amiri', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--gold-400);
  line-height: 1;
}
@media (min-width: 1024px) { .atr-proof-num { font-size: 28px; } }
.atr-proof-label { font-size: 10px; opacity: .7; margin-top: 4px; }
@media (min-width: 1024px) { .atr-proof-label { font-size: 11px; } }

/* ── Trust strip ──────────────────────────────────────────────────────── */
.atr-trust-strip {
  background: var(--cream-50);
  border-bottom: 1px solid var(--line);
  padding: 16px 24px;
}
@media (min-width: 1024px) { .atr-trust-strip { padding: 24px 56px; } }
.atr-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 768px)  { .atr-trust-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .atr-trust-grid { gap: 20px; } }

.atr-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.atr-trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
@media (min-width: 1024px) { .atr-trust-icon { width: 44px; height: 44px; } }
.atr-trust-label { font-size: 13px; font-weight: 800; color: var(--ink-900); }
.atr-trust-sub   { font-size: 10px; color: var(--ink-500); }
/* Mobile: stack vertically */
@media (max-width: 767px) {
  .atr-trust-item { flex-direction: column; text-align: center; }
  .atr-trust-icon { margin: 0 auto; }
}

/* ── Section scaffold ─────────────────────────────────────────────────── */
.atr-section { padding: 40px 24px; }
@media (min-width: 1024px) { .atr-section { padding: 72px 56px; } }

.atr-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
@media (min-width: 1024px) { .atr-section-head { margin-bottom: 32px; } }

.atr-section-head h2, .atr-section-title {
  font-family: 'Amiri', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--ink-900);
  margin: 0;
  line-height: 1.15;
}
@media (min-width: 1024px) {
  .atr-section-head h2, .atr-section-title { font-size: 42px; line-height: 1.1; }
}
.atr-section-sub { font-size: 12px; color: var(--ink-500); margin-top: 4px; }
@media (min-width: 1024px) { .atr-section-sub { font-size: 13px; } }

.atr-view-all { font-size: 12px; font-weight: 700; color: var(--emerald-800); white-space: nowrap; }

/* ── Category grid ────────────────────────────────────────────────────── */
.atr-cats-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
}
.atr-cats-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .atr-cats-scroll {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    overflow: visible;
    gap: 16px;
  }
}

.atr-cat-tile {
  flex-shrink: 0;
  width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
@media (min-width: 768px) {
  .atr-cat-tile {
    width: auto;
    background: var(--cream-100);
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all .25s;
  }
  .atr-cat-tile:hover {
    background: var(--emerald-800);
    color: var(--cream-50);
    transform: translateY(-3px);
  }
  .atr-cat-tile:hover .atr-cat-count { color: var(--gold-300); }
}

.atr-cat-icon {
  width: 72px; height: 72px;
  border-radius: 18px;
  background: var(--cream-100);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  transition: all .2s;
}
@media (min-width: 768px) {
  .atr-cat-icon { width: auto; height: auto; background: none; border: none; font-size: 56px; margin-bottom: 8px; }
}
.atr-cat-tile.active .atr-cat-icon { background: var(--emerald-800); color: var(--gold-400); border-color: var(--emerald-800); }
.atr-cat-name  { font-size: 12px; font-weight: 700; color: var(--ink-900); }
@media (min-width: 768px) { .atr-cat-name { font-size: 16px; font-weight: 800; } }
.atr-cat-count { font-size: 9px; color: var(--ink-500); }
@media (min-width: 768px) { .atr-cat-count { font-size: 11px; } }

/* ── Product card ─────────────────────────────────────────────────────── */
.atr-product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px)  { .atr-product-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
@media (min-width: 1024px) { .atr-product-grid { grid-template-columns: repeat(4, 1fr); gap: 24px; } }

.atr-product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  display: flex; flex-direction: column;
}
.atr-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(13,43,34,.1);
}

.atr-product-card .img-wrap {
  position: relative;
  height: 180px;
  background: var(--cream-100);
  overflow: hidden;
}
@media (min-width: 1024px) { .atr-product-card .img-wrap { height: 300px; } }

.atr-product-card .img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.atr-product-card .img-wrap .placeholder {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background:
    linear-gradient(180deg, rgba(20,56,44,0) 0%, rgba(20,56,44,.06) 100%),
    repeating-linear-gradient(135deg, #ede3cd 0 8px, #e4d8bd 8px 16px);
}
.atr-product-card .badge-top {
  position: absolute; top: 10px; right: 10px;
}
.atr-product-card .badge-disc {
  position: absolute; top: 10px; left: 10px;
}
.atr-product-card .wishlist-btn {
  position: absolute; bottom: 10px; left: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: #fff; border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

/* Desktop quick actions */
.atr-product-card .quick-actions {
  position: absolute;
  inset-inline-start: 12px;
  bottom: 12px;
  display: flex; gap: 6px;
  opacity: 0;
  transition: opacity .25s;
}
.atr-product-card:hover .quick-actions { opacity: 1; }

.atr-product-card .card-body { padding: 12px; flex: 1; display: flex; flex-direction: column; }
@media (min-width: 1024px) { .atr-product-card .card-body { padding: 18px; } }

.atr-product-card .product-kind  { font-size: 10px; font-weight: 600; color: var(--ink-500); margin-bottom: 3px; }
@media (min-width: 1024px) { .atr-product-card .product-kind { font-size: 11px; margin-bottom: 6px; } }
.atr-product-card .product-name {
  font-family: 'Amiri', serif;
  font-size: 17px; font-weight: 700;
  color: var(--ink-900); line-height: 1.2; margin-bottom: 6px;
}
@media (min-width: 1024px) { .atr-product-card .product-name { font-size: 22px; margin-bottom: 8px; } }

.atr-product-card .rating-row {
  display: flex; align-items: center; gap: 4px; margin-bottom: 8px;
}
@media (min-width: 1024px) { .atr-product-card .rating-row { margin-bottom: 12px; } }
.atr-product-card .rating-row .r-val { font-size: 11px; font-weight: 700; color: var(--ink-700); }
.atr-product-card .rating-row .r-cnt { font-size: 10px; color: var(--ink-500); }

.atr-product-card .price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: auto;
}
.atr-product-card .price-main { font-weight: 800; font-size: 15px; color: var(--emerald-800); }
@media (min-width: 1024px) { .atr-product-card .price-main { font-size: 20px; } }
.atr-product-card .price-was  { font-size: 12px; color: var(--ink-500); text-decoration: line-through; margin-inline-start: 6px; }
@media (min-width: 1024px) { .atr-product-card .price-was { font-size: 13px; } }

.atr-product-card .add-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--emerald-800); border: none; color: var(--cream-50);
  display: flex; align-items: center; justify-content: center;
}
@media (min-width: 1024px) {
  .atr-product-card .add-btn {
    width: auto; height: auto; border-radius: var(--radius-full);
    padding: 8px 14px; font-size: 12px; font-weight: 800;
  }
  .atr-product-card .add-btn .plus-icon { display: none; }
  .atr-product-card .add-btn .btn-text { display: block; }
}
.atr-product-card .add-btn .btn-text { display: none; }

/* ── Bundle banner ────────────────────────────────────────────────────── */
.atr-bundle {
  background:
    linear-gradient(95deg, var(--cream-100) 0%, var(--cream-50) 100%);
  border: 1px dashed var(--gold-500);
  border-radius: var(--radius-xl);
  padding: 18px 20px;
  display: flex; align-items: center; gap: 16px;
  position: relative; overflow: hidden;
}
@media (min-width: 1024px) {
  .atr-bundle {
    background: var(--emerald-900);
    color: var(--cream-50);
    padding: 48px 56px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    border: none;
    border-radius: 24px;
    align-items: center;
  }
}

.atr-bundle-flourish {
  display: none;
}
@media (min-width: 1024px) {
  .atr-bundle-flourish {
    display: block;
    position: absolute; left: -30px; top: -50px;
    font-family: 'Amiri', serif;
    font-size: 220px;
    color: rgba(212,184,122,.05);
    font-weight: 700; line-height: 1; pointer-events: none;
  }
}
.atr-bundle h3 {
  font-family: 'Amiri', serif;
  font-size: 20px; font-weight: 700;
  color: var(--emerald-900);
  line-height: 1.2; margin: 0 0 4px;
}
@media (min-width: 1024px) { .atr-bundle h3 { font-size: 48px; line-height: 1.1; margin-bottom: 16px; color: var(--cream-50); } }
.atr-bundle h3 .gold { color: var(--gold-400); }
.atr-bundle-sub { font-size: 11px; color: var(--ink-500); }
@media (min-width: 1024px) { .atr-bundle-sub { font-size: 15px; color: rgba(250,246,238,.78); line-height: 1.7; margin-bottom: 24px; max-width: 460px; } }

.atr-bundle-bottles {
  display: flex;
  gap: -20px;
  position: relative;
  width: 100px; height: 72px;
  flex-shrink: 0;
}
@media (min-width: 1024px) {
  .atr-bundle-bottles {
    width: auto; height: auto;
    justify-content: center;
  }
}
.atr-bundle-bottles .b1 { position: absolute; right: 0; transform: rotate(-8deg); }
.atr-bundle-bottles .b2 { position: absolute; right: 26px; top: 4px; }
.atr-bundle-bottles .b3 { position: absolute; right: 52px; transform: rotate(8deg); }
@media (min-width: 1024px) {
  .atr-bundle-bottles .b1, .atr-bundle-bottles .b2, .atr-bundle-bottles .b3 { position: static; }
  .atr-bundle-bottles .b1 { transform: rotate(-8deg) translateY(20px); }
  .atr-bundle-bottles .b3 { transform: rotate(8deg) translateY(20px); }
}

/* ── Editorial section ────────────────────────────────────────────────── */
.atr-editorial {
  background: var(--emerald-900);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  position: relative; overflow: hidden;
  color: var(--cream-50);
}
.atr-editorial-flourish {
  position: absolute; right: -20px; top: -15px;
  font-family: 'Amiri', serif;
  font-size: 90px;
  color: rgba(212,184,122,.06);
  line-height: 1; font-weight: 700; pointer-events: none;
}
.atr-editorial .eyebrow {
  font-size: 11px; font-weight: 800;
  letter-spacing: 2px; color: var(--gold-400); margin-bottom: 8px;
}
.atr-editorial h3 {
  font-family: 'Amiri', serif;
  font-size: 24px; font-weight: 700; line-height: 1.25;
  margin: 0 0 10px; color: var(--cream-50);
}
.atr-editorial p { font-size: 13px; opacity: .75; margin-bottom: 16px; line-height: 1.6; }

/* ── Reviews ──────────────────────────────────────────────────────────── */
.atr-reviews-scroll {
  overflow-x: auto;
  scrollbar-width: none;
  display: flex;
  gap: 12px;
  padding-bottom: 4px;
  margin: 0 -24px;
  padding: 0 24px;
}
@media (min-width: 1024px) {
  .atr-reviews-scroll {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    overflow: visible;
    margin: 0; padding: 0;
  }
}
.atr-reviews-scroll::-webkit-scrollbar { display: none; }

.atr-review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  flex-shrink: 0;
  width: 260px;
}
@media (min-width: 1024px) { .atr-review-card { width: auto; padding: 28px; } }

.atr-review-stars { display: flex; gap: 2px; margin-bottom: 10px; }
@media (min-width: 1024px) { .atr-review-stars { margin-bottom: 14px; } }
.atr-review-text {
  font-size: 13px; line-height: 1.55; color: var(--ink-700); margin-bottom: 8px;
}
@media (min-width: 1024px) { .atr-review-text { font-size: 15px; line-height: 1.7; margin-bottom: 20px; } }

.atr-reviewer {
  display: flex; align-items: center; gap: 10px;
}
@media (min-width: 1024px) { .atr-reviewer { gap: 12px; } }
.atr-reviewer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--cream-200);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; color: var(--emerald-800);
  flex-shrink: 0;
}
@media (min-width: 1024px) { .atr-reviewer-avatar { width: 44px; height: 44px; font-size: 16px; } }
.atr-reviewer-name {
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; gap: 4px;
}
@media (min-width: 1024px) { .atr-reviewer-name { font-size: 14px; } }
.atr-reviewer-meta { font-size: 10px; color: var(--ink-500); }
@media (min-width: 1024px) { .atr-reviewer-meta { font-size: 11px; } }
.atr-review-product { font-size: 10px; font-weight: 700; color: var(--emerald-800); margin-top: 6px; }

/* ── Newsletter ───────────────────────────────────────────────────────── */
.atr-newsletter {
  padding: 48px 24px;
  background: var(--cream-100);
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 1024px) { .atr-newsletter { padding: 64px 56px; } }
.atr-newsletter h3 {
  font-family: 'Amiri', serif;
  font-size: 28px; font-weight: 700; color: var(--ink-900); margin: 0 0 10px;
}
@media (min-width: 1024px) { .atr-newsletter h3 { font-size: 38px; } }
.atr-newsletter p { font-size: 13px; color: var(--ink-700); margin-bottom: 24px; }
@media (min-width: 1024px) { .atr-newsletter p { font-size: 14px; } }

.atr-newsletter-form {
  display: flex;
  gap: 8px;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-full);
  padding: 6px;
  border: 1px solid var(--line);
}
.atr-newsletter-form input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 10px 18px; font-size: 14px; text-align: right;
  color: var(--ink-900);
}

/* ── Footer ───────────────────────────────────────────────────────────── */
.atr-footer {
  background: var(--emerald-900);
  color: var(--cream-200);
  padding: 40px 24px 24px;
}
@media (min-width: 1024px) { .atr-footer { padding: 56px 56px 32px; } }

.atr-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
@media (min-width: 1024px) {
  .atr-footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
  }
}
.atr-footer-brand { grid-column: 1 / -1; }
@media (min-width: 1024px) { .atr-footer-brand { grid-column: auto; } }

.atr-footer .brand-mark {
  font-family: 'Amiri', serif;
  font-weight: 700; font-size: 28px;
  color: var(--gold-400); margin-bottom: 12px;
}
@media (min-width: 1024px) { .atr-footer .brand-mark { font-size: 32px; margin-bottom: 14px; } }
.atr-footer .brand-desc { font-size: 12px; line-height: 1.8; opacity: .7; margin-bottom: 16px; }
@media (min-width: 1024px) { .atr-footer .brand-desc { font-size: 13px; } }

.atr-footer-social { display: flex; gap: 10px; }
.atr-social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(212,184,122,.12);
  border: 1px solid rgba(212,184,122,.2);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; cursor: pointer;
}

.atr-footer h4 {
  font-family: 'Amiri', serif;
  font-size: 16px; color: var(--gold-400);
  margin: 0 0 12px; font-weight: 700;
}
@media (min-width: 1024px) { .atr-footer h4 { font-size: 18px; margin-bottom: 16px; } }
.atr-footer ul { list-style: none; padding: 0; margin: 0; }
.atr-footer ul li {
  padding: 5px 0; font-size: 12px; opacity: .75;
  cursor: pointer; transition: opacity .15s, color .15s;
}
@media (min-width: 1024px) { .atr-footer ul li { padding: 6px 0; font-size: 13px; } }
.atr-footer ul li:hover { opacity: 1; color: var(--gold-300); }
.atr-footer ul li a { color: inherit; }

.atr-footer-bottom {
  border-top: 1px solid rgba(212,184,122,.15);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 11px;
  opacity: .6;
}
@media (min-width: 768px) { .atr-footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }

.atr-payment-badges { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.atr-payment-badge {
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(212,184,122,.08);
  border: 1px solid rgba(212,184,122,.15);
  font-size: 10px; font-weight: 700;
  color: var(--gold-300);
}

/* ── WhatsApp FAB ─────────────────────────────────────────────────────── */
.atr-wa-fab {
  position: fixed;
  bottom: 90px;
  left: 16px;
  z-index: 200;
  transition: transform .2s;
}
@media (min-width: 1024px) { .atr-wa-fab { bottom: 32px; left: 32px; } }
.atr-wa-fab:hover { transform: scale(1.08); }
.atr-wa-fab button {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--whatsapp);
  border: none;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  cursor: pointer;
}
@media (min-width: 1024px) { .atr-wa-fab button { width: 60px; height: 60px; } }

/* ── Promo banner ─────────────────────────────────────────────────────── */
.atr-promo-banner {
  background: var(--emerald-800);
  color: var(--cream-50);
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 600;
}
.atr-promo-banner .gold { color: var(--gold-400); }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn-emerald {
  background: var(--emerald-800);
  color: var(--cream-50);
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 22px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(212,184,122,.3), var(--shadow-md);
  transition: transform .15s, box-shadow .15s;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}
.btn-emerald:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px rgba(212,184,122,.3), var(--shadow-lg); }
.btn-emerald:active { transform: scale(.98); }

.btn-gold {
  background: var(--gold-500);
  color: var(--emerald-900);
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 22px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(201,169,110,.3);
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-gold:hover { background: var(--gold-400); }

.btn-ghost {
  background: transparent;
  color: var(--ink-900);
  border: 1px solid var(--ink-900);
  border-radius: var(--radius-full);
  padding: 11px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-ghost.light { color: var(--gold-400); border-color: var(--gold-400); }

.btn-wa {
  background: var(--whatsapp);
  color: #fff;
  border: none;
  border-radius: var(--radius-full);
  padding: 13px 22px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37,211,102,.3);
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit;
}

/* ── Tags & badges ────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700;
  background: var(--cream-100); color: var(--ink-700);
}
.tag.emerald { background: var(--emerald-800); color: var(--gold-300); }
.tag.gold    { background: var(--gold-500); color: var(--emerald-900); }
.tag.red     { background: #fde6e3; color: var(--red); }
.tag.green   { background: #e3f3eb; color: var(--green); }

/* Star rating */
.atr-stars { display: flex; gap: 1px; }
.atr-stars svg { fill: var(--gold-500); }

/* ── Form elements ────────────────────────────────────────────────────── */
.atr-field {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  width: 100%;
  color: var(--ink-900);
  font-family: inherit;
  text-align: right;
  transition: border-color .15s;
}
.atr-field:focus { outline: none; border-color: var(--emerald-700); }
.atr-field-label {
  font-size: 12px; font-weight: 700; color: var(--ink-500);
  margin-bottom: 6px; display: block;
}

.atr-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 8px 14px;
  font-size: 13px; font-weight: 600;
  color: var(--ink-700);
  white-space: nowrap; cursor: pointer;
  transition: all .15s;
  font-family: inherit;
}
.atr-chip.active, .atr-chip:hover { background: var(--emerald-800); color: var(--cream-50); border-color: var(--emerald-800); }

/* ── Mobile bottom tab bar ────────────────────────────────────────────── */
.atr-tabbar {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-around; align-items: center;
  padding: 8px 8px 20px;
  z-index: 100;
}
@media (min-width: 1024px) { .atr-tabbar { display: none; } }
.atr-tabbar-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-size: 10px; color: var(--ink-500); font-weight: 600; flex: 1;
  cursor: pointer;
}
.atr-tabbar-item.active { color: var(--emerald-800); }

/* ── Misc utilities ───────────────────────────────────────────────────── */
.scroll-x { overflow-x: auto; scrollbar-width: none; }
.scroll-x::-webkit-scrollbar { display: none; }
.divider { height: 1px; background: var(--line); }

.icon-circle {
  width: 36px; height: 36px; border-radius: 50%;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  border: none; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 1em;
  background: var(--emerald-800); color: #fff;
  padding: 8px 16px; border-radius: 4px; z-index: 9999;
}
.skip-link:focus { left: 1em; }

/* Body padding for fixed tab bar on mobile */
body { padding-bottom: 70px; }
@media (min-width: 1024px) { body { padding-bottom: 0; } }
