/* ==========================================================================
   Miswak Al Salam — Brand Styles
   Brand-locked theme extracted from logo + packaging assets
   ========================================================================== */

:root {
  /* Brand colors — locked from logo and packaging */
  --gold:        #D4AF37;
  --gold-dark:   #A8862C;
  --gold-light:  #E8C766;
  --gold-soft:   #F5E6BD;
  --green:       #0F3D24;
  --green-mid:   #1B5E3F;
  --green-light: #2E7D5A;
  --bg:          #FAFAF7;
  --bg-soft:     #F4F1EA;
  --text:        #1A1A1A;
  --text-muted:  #6B6B6B;
  --border:      rgba(212, 175, 55, 0.18);
  --shadow-sm:   0 1px 2px rgba(15, 61, 36, 0.06), 0 1px 3px rgba(15, 61, 36, 0.04);
  --shadow-md:   0 4px 12px rgba(15, 61, 36, 0.08), 0 2px 4px rgba(15, 61, 36, 0.04);
  --shadow-lg:   0 16px 40px rgba(15, 61, 36, 0.12), 0 6px 12px rgba(15, 61, 36, 0.06);
  --shadow-gold: 0 8px 28px rgba(212, 175, 55, 0.28);

  /* Fonts — locked from packaging */
  --font-body-ar:    "Tajawal", "Segoe UI", system-ui, sans-serif;
  --font-display-ar: "Reem Kufi", "Amiri", serif;
  --font-body-en:    "Inter", "Segoe UI", system-ui, sans-serif;
  --font-display-en: "Playfair Display", Georgia, serif;

  /* Active by default — Arabic + RTL */
  --font-body:    var(--font-body-ar);
  --font-display: var(--font-display-ar);
}

html[lang="en"] {
  --font-body:    var(--font-body-en);
  --font-display: var(--font-display-en);
}

/* ==========================================================================
   Base
   ========================================================================== */
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); }

/* RTL/LTR body direction handled by html[dir] in JS */

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

/* ==========================================================================
   NAV
   ========================================================================== */
#nav.scrolled {
  background: rgba(250, 250, 247, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border);
}

.nav-link {
  position: relative;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 0;
  transition: color 0.25s;
}
.nav-link:hover { color: var(--gold-dark); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-link-mobile {
  display: block;
  padding: 0.9rem 0.5rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-weight: 500;
  transition: color 0.25s, padding 0.25s;
}
.nav-link-mobile:hover { color: var(--gold-dark); padding-inline-start: 1rem; }

/* Lang toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
.lang-opt {
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: all 0.25s;
  cursor: pointer;
}
.lang-opt.active {
  background: var(--gold);
  color: white;
  box-shadow: var(--shadow-sm);
}

/* WhatsApp buttons */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25D366;
  color: white;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}
.wa-btn:hover {
  background: #1FB857;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.42);
}
.wa-btn:active { transform: translateY(0); }
.wa-btn-sm { padding: 0.4rem 0.85rem; font-size: 0.85rem; }
.wa-btn-md { padding: 0.6rem 1.1rem; font-size: 0.9rem; }
.wa-btn-lg { padding: 0.85rem 1.5rem; font-size: 1rem; }

.wa-fab {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 60;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: fab-pulse 2.4s infinite;
}
.wa-fab:hover { transform: scale(1.1); }
@keyframes fab-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.6); }
  50%      { box-shadow: 0 10px 30px rgba(37, 211, 102, 0.45), 0 0 0 18px rgba(37, 211, 102, 0); }
}

/* Ghost button */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  font-weight: 600;
  background: transparent;
  transition: all 0.3s;
}
.btn-ghost:hover {
  background: var(--gold);
  color: white;
  transform: translateY(-2px);
}

/* ==========================================================================
   TYPOGRAPHY HELPERS
   ========================================================================== */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 700;
  position: relative;
  padding-inline-start: 36px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 1px;
  background: var(--gold);
}

html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: 0.85rem; }

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.01em;
}
.section-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero-pattern {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23D4AF37' stroke-width='1.2' opacity='0.85'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><path d='M40 14 L66 40 L40 66 L14 40 Z'/><path d='M40 28 L52 40 L40 52 L28 40 Z'/></g></svg>");
  background-size: 80px 80px;
}
.hero-glow {
  background:
    radial-gradient(ellipse 60% 50% at 30% 40%, rgba(212, 175, 55, 0.18), transparent 60%),
    radial-gradient(ellipse 60% 50% at 70% 60%, rgba(15, 61, 36, 0.10), transparent 60%);
}

.hero-product {
  position: relative;
  width: min(420px, 90vw);
  aspect-ratio: 1 / 1;
}
.hero-arch {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center top, var(--gold-soft), var(--gold-light) 60%, var(--gold) 100%);
  clip-path: polygon(0 40%, 0 100%, 100% 100%, 100% 40%, 50% 0);
  box-shadow: var(--shadow-gold);
  animation: float-arch 6s ease-in-out infinite;
}
@keyframes float-arch {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}
.hero-arch-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'><g fill='none' stroke='%23ffffff' stroke-width='0.8' opacity='0.5'><circle cx='20' cy='20' r='12'/><circle cx='20' cy='20' r='8'/><path d='M20 8 L32 20 L20 32 L8 20 Z'/></g></svg>");
  background-size: 40px 40px;
  opacity: 0.35;
}
.hero-product-img {
  position: absolute;
  inset: 12% 12% 0 12%;
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: drop-shadow(0 16px 30px rgba(15, 61, 36, 0.25));
  animation: float-product 5s ease-in-out infinite;
}
@keyframes float-product {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50%      { transform: translateY(-8px) rotate(1deg); }
}

.hero-product-float {
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 60%, rgba(212, 175, 55, 0.35), transparent 60%);
  filter: blur(40px);
  z-index: -1;
  animation: pulse-glow 4s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.05); }
}

.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
}
.stat-label {
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.scroll-cue {
  position: absolute;
  bottom: 24px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 44px;
  border: 2px solid var(--gold);
  border-radius: 14px;
  display: inline-flex;
  justify-content: center;
  padding-top: 8px;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.scroll-cue:hover { opacity: 1; }
.scroll-cue-dot {
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  animation: scroll-dot 1.6s ease-in-out infinite;
}
@keyframes scroll-dot {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(10px); opacity: 0.3; }
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.trust-icon {
  width: 32px;
  height: 32px;
  color: var(--gold-dark);
}
.trust-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   HADITH CARDS
   ========================================================================== */
.hadith-card {
  position: relative;
  background: linear-gradient(135deg, var(--bg-soft), white);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}
.hadith-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.hadith-card-alt {
  background: linear-gradient(135deg, white, var(--gold-soft));
}
.hadith-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'><g fill='none' stroke='%23D4AF37' stroke-width='0.8' opacity='0.25'><circle cx='30' cy='30' r='20'/><circle cx='30' cy='30' r='12'/><path d='M30 6 L54 30 L30 54 L6 30 Z'/></g></svg>");
  background-size: 60px 60px;
  opacity: 0.6;
}
.hadith-quote {
  width: 36px;
  height: 36px;
  color: var(--gold);
  opacity: 0.6;
  margin-bottom: 0.75rem;
}
.hadith-text {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.65;
  color: var(--text);
  font-weight: 500;
}
.hadith-source {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ==========================================================================
   SCIENCE CARDS
   ========================================================================== */
.science-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.science-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.4s;
}
.science-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.science-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  transition: all 0.4s;
}
.science-icon-wrap svg { width: 28px; height: 28px; }
.science-card:hover .science-icon-wrap {
  background: white;
  transform: rotate(8deg) scale(1.1);
}
.science-stat {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--gold-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.science-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.science-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   BENEFIT CARDS
   ========================================================================== */
.benefit-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}
.benefit-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: var(--shadow-lg);
}
.benefit-card::after {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.benefit-card:hover::after { opacity: 1; }
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-bottom: 1rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.benefit-icon svg { width: 26px; height: 26px; }
.benefit-card:hover .benefit-icon { transform: rotate(-10deg) scale(1.08); }
.benefit-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   STEPS
   ========================================================================== */
.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 20px;
  background: white;
  border: 1px solid var(--border);
  transition: all 0.4s;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.step-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
  margin: 0.5rem auto 1.25rem;
}
.step-icon svg { width: 30px; height: 30px; }
.step-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   PRODUCTS
   ========================================================================== */
.product-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.75rem;
  transition: all 0.4s;
  overflow: hidden;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.product-card-featured {
  background: linear-gradient(180deg, var(--gold-soft), white);
  border-color: var(--gold);
  transform: scale(1.02);
}
.product-card-featured:hover { transform: scale(1.02) translateY(-6px); }
.product-badge {
  position: absolute;
  top: 14px;
  inset-inline-start: 14px;
  background: var(--green);
  color: white;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  z-index: 2;
}
.product-badge-gold { background: var(--gold); }
.product-image-wrap {
  aspect-ratio: 4 / 5;
  background: var(--bg-soft);
  border-radius: 14px;
  margin-bottom: 1.25rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.product-card:hover .product-image { transform: scale(1.06); }
.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.product-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  min-height: 3em;
}
.product-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-dark);
}

/* ==========================================================================
   STORY
   ========================================================================== */
.story-image-wrap {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, var(--gold-soft), white);
  aspect-ratio: 4 / 3;
}
.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}
.story-image-wrap:hover .story-image { transform: scale(1.04); }
.story-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text);
  padding: 0.5rem 0;
}
.story-feature svg {
  width: 22px;
  height: 22px;
  color: var(--gold-dark);
  flex-shrink: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem;
  transition: all 0.4s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}
.testimonial blockquote {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.testimonial-name { font-weight: 700; font-size: 0.95rem; }
.testimonial-loc { font-size: 0.8rem; color: var(--text-muted); }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item {
  background: white;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item[open] {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
}
.faq-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 600;
  color: var(--text);
  font-size: 1rem;
}
.faq-summary::-webkit-details-marker { display: none; }
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  border-radius: 1px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after  { width: 2px; height: 14px; transition: transform 0.3s; }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-content {
  padding: 0 1.25rem 1.25rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   CTA CARD
   ========================================================================== */
.cta-card {
  position: relative;
  background:
    linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  color: white;
  border-radius: 24px;
  padding: 3rem 2rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(15, 61, 36, 0.3);
}
.cta-pattern {
  position: absolute;
  inset: 0;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23D4AF37' stroke-width='1.2' opacity='0.5'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><path d='M40 14 L66 40 L40 66 L14 40 Z'/></g></svg>");
  background-size: 80px 80px;
  opacity: 0.18;
}
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
.cta-lead {
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer-pattern {
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'><g fill='none' stroke='%23D4AF37' stroke-width='1.2' opacity='0.9'><path d='M40 0 L80 40 L40 80 L0 40 Z'/><path d='M40 14 L66 40 L40 66 L14 40 Z'/><path d='M40 28 L52 40 L40 52 L28 40 Z'/></g></svg>");
  background-size: 80px 80px;
}
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--gold);
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  inset-inline-start: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}
.footer-link {
  display: inline-block;
  padding: 0.25rem 0;
  transition: color 0.25s, padding-inline-start 0.25s;
}
.footer-link:hover {
  color: var(--gold);
  padding-inline-start: 6px;
}
.footer-social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.footer-social:hover {
  background: var(--gold);
  color: var(--green);
  transform: translateY(-2px);
}

/* ==========================================================================
   REVEAL ON SCROLL
   ========================================================================== */
.reveal {
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal[data-reveal="up"]    { transform: translateY(36px); }
.reveal[data-reveal="down"]  { transform: translateY(-36px); }
.reveal[data-reveal="left"]  { transform: translateX(36px); }
.reveal[data-reveal="right"] { transform: translateX(-36px); }
.reveal[data-reveal="fade"]  { transform: scale(0.96); }
.reveal.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* ==========================================================================
   RTL ADJUSTMENTS
   ========================================================================== */
html[dir="rtl"] .hero-product-img { transform: scaleX(-1) rotate(0); }
html[dir="rtl"] .product-image { transform: scaleX(-1); }
html[dir="rtl"] .product-card:hover .product-image,
html[dir="rtl"] .product-card-featured:hover .product-image {
  transform: scaleX(-1) scale(1.06);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 640px) {
  .wa-fab { bottom: 16px; inset-inline-end: 16px; width: 50px; height: 50px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
