/* ==========================================================================
   CLARÓVA™ - Official Moroccan COD Landing Page (100% Arabic - RTL)
   Mobile-First • High-Conversion Funnel Architecture
   With In-Form Shopify-Style Upsell & Order Bump
   ========================================================================== */

:root {
  /* Brand Luxury Palette */
  --burgundy-900: #3D040B;
  --burgundy-800: #5C0712;
  --burgundy-700: #801020; /* Primary Brand */
  --burgundy-600: #9B1428;
  --burgundy-50: #FDF4F5;
  --burgundy-100: #F8DCE0;

  --gold-400: #EAD075;
  --gold-500: #D4AF37; /* Metallic Gold Accent */
  --gold-600: #B89223;
  --gold-700: #8F7014;
  --gold-soft: #FFF9E6;

  --cream-bg: #FCFAF6;
  --cream-card: #FFFFFF;
  --cream-alt: #F6F0E6;
  --cream-border: #EADBCA;

  --text-main: #1C1718;
  --text-muted: #5E5355;
  --text-light: #8E8284;

  --color-success: #1B8347;
  --color-success-bg: #E8F7ED;
  --color-danger: #D32F2F;
  --color-whatsapp: #25D366;

  /* Typography */
  --font-arabic: 'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif-ar: 'Amiri', 'Playfair Display', serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(92, 7, 18, 0.05);
  --shadow-md: 0 8px 25px rgba(92, 7, 18, 0.08);
  --shadow-lg: 0 16px 45px rgba(92, 7, 18, 0.13);
  --shadow-gold: 0 8px 24px rgba(212, 175, 55, 0.35);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Reset & Universal Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-arabic);
  background-color: var(--cream-bg);
  color: var(--text-main);
  line-height: 1.65;
  direction: rtl;
  text-align: right;
  padding-bottom: 75px; /* Space for mobile sticky CTA bar */
}

@media (min-width: 992px) {
  body {
    padding-bottom: 0;
  }
}

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

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

button, input, select {
  font-family: var(--font-arabic);
}

/* Container Utilities */
.container {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

.text-center { text-align: center; }

.gold-text {
  background: linear-gradient(135deg, #B89223 0%, #D4AF37 50%, #8F7014 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 800;
}

.highlight-green {
  color: var(--color-success);
  font-weight: 800;
}

.hide-mobile { display: none !important; }
@media (min-width: 768px) {
  .hide-mobile { display: inline-flex !important; }
}

/* Section Header Styles */
.section {
  padding: 45px 0;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding: 75px 0;
  }
}

.section-header {
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 40px;
  }
}

.sub-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--burgundy-700);
  background: var(--burgundy-50);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--burgundy-100);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.45rem, 3.2vw, 2.2rem);
  font-weight: 800;
  color: var(--burgundy-900);
  line-height: 1.35;
  margin-bottom: 10px;
}

.section-desc {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
  color: var(--text-muted);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-align: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  line-height: 1.25;
}

.btn-primary {
  background: linear-gradient(135deg, var(--burgundy-700) 0%, var(--burgundy-900) 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(128, 16, 32, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(128, 16, 32, 0.48);
  background: linear-gradient(135deg, var(--burgundy-600) 0%, var(--burgundy-800) 100%);
}

.btn-gold {
  background: linear-gradient(135deg, #F0CE64 0%, #D4AF37 50%, #9E7918 100%);
  color: #241A04;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--burgundy-700);
  color: var(--burgundy-700);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.86rem;
}

.btn-block {
  width: 100%;
}

.btn-pulse {
  animation: pulseCta 2.2s infinite;
}

@keyframes pulseCta {
  0% {
    box-shadow: 0 0 0 0 rgba(128, 16, 32, 0.55);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(128, 16, 32, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(128, 16, 32, 0);
  }
}

/* ==========================================================================
   Top Urgency Banner (Mobile Optimized)
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, #4A040C 0%, #801020 50%, #4A040C 100%);
  color: #FFFFFF;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.top-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.top-bar-badge {
  background: var(--gold-500);
  color: #241A04;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

.top-bar-text-main {
  font-size: 0.82rem;
  font-weight: 600;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.stock-pill {
  background: rgba(255, 255, 255, 0.16);
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.76rem;
  white-space: nowrap;
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 5px;
  background: #140204;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--gold-500);
  color: var(--gold-400);
  font-weight: 800;
}

.timer-display {
  letter-spacing: 1.5px;
  direction: ltr;
  display: inline-block;
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .top-bar-content {
    justify-content: center;
  }
  .top-bar-text-main {
    display: none;
  }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background: rgba(252, 250, 246, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--cream-border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

@media (min-width: 768px) {
  .header-inner {
    height: 72px;
  }
}

.brand-logo-img {
  height: 38px;
  width: auto;
}

@media (min-width: 768px) {
  .brand-logo-img {
    height: 48px;
  }
}

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

.header-cta-btn {
  padding: 8px 16px;
  font-size: 0.84rem;
}

/* ==========================================================================
   Hero Section (Mobile First)
   ========================================================================== */
.hero-section {
  padding: 25px 0 45px;
  background: radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.08) 0%, transparent 60%),
              radial-gradient(circle at 80% 80%, rgba(128, 16, 32, 0.05) 0%, transparent 50%),
              var(--cream-bg);
}

.hero-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 992px) {
  .hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    grid-template-areas: 
      "header visual"
      "actions visual";
    gap: 40px;
    align-items: center;
  }
  .hero-header-block { grid-area: header; }
  .hero-media-wrapper { grid-area: visual; }
  .hero-actions-block { grid-area: actions; }
}

.social-proof-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.stars {
  color: #FFA41C;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.rating-text {
  font-size: 0.84rem;
  color: var(--text-muted);
  font-weight: 600;
}

.hero-title {
  font-size: clamp(1.55rem, 4vw, 2.7rem);
  line-height: 1.35;
  color: var(--burgundy-900);
  margin-bottom: 14px;
  font-weight: 900;
}

.hero-subtitle {
  font-size: clamp(0.94rem, 1.8vw, 1.1rem);
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 10px;
}

.hero-subtitle strong {
  color: var(--burgundy-800);
}

/* Hero Media Card */
.hero-media-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.hero-image-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--cream-border);
  overflow: hidden;
}

.hero-img {
  width: 100%;
  border-radius: calc(var(--radius-lg) - 4px);
  object-fit: cover;
  display: block;
}

.exclusive-ribbon {
  position: absolute;
  top: 20px;
  left: -38px;
  background: linear-gradient(135deg, #E6C665 0%, #D4AF37 50%, #9C7716 100%);
  color: #211602;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 5px 42px;
  transform: rotate(-45deg);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}

.floating-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(212, 175, 55, 0.4);
}

.floating-badge .icon {
  font-size: 1.2rem;
}

.floating-badge strong {
  display: block;
  font-size: 0.82rem;
  color: var(--burgundy-900);
}

.floating-badge small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.hero-float-1 {
  bottom: 16px;
  right: 16px;
}

.hero-float-2 {
  top: 16px;
  right: 16px;
}

@media (max-width: 550px) {
  .hero-float-1, .hero-float-2 {
    display: none;
  }
}

/* Feature Pills Row */
.feature-pills-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 15px;
  margin-bottom: 20px;
}

@media (min-width: 500px) {
  .feature-pills-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feat-pill {
  background: #FFFFFF;
  border: 1px solid var(--cream-border);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-sm);
}

.feat-icon-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--burgundy-50);
  border: 1px solid var(--burgundy-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.feat-pill-text strong {
  display: block;
  font-size: 0.88rem;
  color: var(--burgundy-800);
}

.feat-pill-text span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-cta-box {
  background: #FFFFFF;
  padding: 20px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--cream-border);
  box-shadow: var(--shadow-md);
}

.hero-cta-box .btn {
  padding: 16px 20px;
}

.hero-cta-box .btn span {
  font-size: 1.05rem;
}

.hero-cta-box .btn small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.92;
  margin-top: 4px;
}

.hero-reassurance {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 700;
  text-align: center;
}

@media (min-width: 550px) {
  .hero-reassurance {
    flex-direction: row;
    justify-content: space-around;
  }
}

/* ==========================================================================
   Emotional Section (عاطفة البنات)
   ========================================================================== */
.emotional-section {
  background: #FFFFFF;
  border-top: 1px solid var(--cream-border);
  border-bottom: 1px solid var(--cream-border);
}

.emotional-story-box {
  background: linear-gradient(135deg, #FDF9F5 0%, #FBF3E8 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--radius-lg);
  padding: 24px 18px;
  margin-bottom: 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .emotional-story-box {
    padding: 40px 36px;
  }
}

.quote-icon-decor {
  font-family: var(--font-serif-ar);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--burgundy-700);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  left: 18px;
}

.story-headline {
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  font-weight: 900;
  color: var(--burgundy-800);
  margin-bottom: 16px;
  line-height: 1.45;
}

.story-content p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 14px;
}

.story-content p strong {
  color: var(--burgundy-800);
}

.story-highlight-box {
  background: rgba(255, 255, 255, 0.92);
  border-right: 4px solid var(--burgundy-700);
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
}

.heart-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.story-highlight-box p {
  margin-bottom: 0;
  font-size: 0.94rem;
}

.pain-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 30px;
}

@media (min-width: 600px) {
  .pain-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pain-card {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  text-align: center;
}

.pain-icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

.pain-card h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--burgundy-900);
  margin-bottom: 8px;
}

.pain-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.solution-bridge-banner {
  background: linear-gradient(135deg, var(--burgundy-900) 0%, var(--burgundy-700) 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.banner-tag {
  display: inline-block;
  background: var(--gold-500);
  color: #241A04;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.solution-bridge-banner h3 {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 12px;
  line-height: 1.4;
}

.solution-bridge-banner p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   Scientific Infographic Section
   ========================================================================== */
.scientific-section {
  background: var(--cream-bg);
}

.scientific-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .scientific-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
  }
}

.science-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--cream-border);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.science-img {
  width: 100%;
  display: block;
}

.science-floating-caption {
  position: absolute;
  bottom: 12px;
  right: 12px;
  left: 12px;
  background: rgba(26, 20, 22, 0.92);
  backdrop-filter: blur(8px);
  color: #FFFFFF;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(212, 175, 55, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 8px var(--gold-500);
  flex-shrink: 0;
}

.science-floating-caption strong {
  display: block;
  font-size: 0.86rem;
  color: var(--gold-400);
}

.science-floating-caption small {
  font-size: 0.74rem;
  opacity: 0.88;
}

.science-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.science-step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
}

.science-step-card.step-featured {
  border-color: var(--gold-500);
  background: #FFFDF9;
}

.step-badge-number {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--burgundy-700);
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--burgundy-900);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Before / After Section
   ========================================================================== */
.before-after-section {
  background: #FFFFFF;
  border-top: 1px solid var(--cream-border);
  border-bottom: 1px solid var(--cream-border);
}

.comparison-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

.comparison-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--cream-border);
}

.comparison-img {
  width: 100%;
  display: block;
}

.comparison-labels {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  gap: 8px;
}

.badge-label {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
}

.badge-before {
  background: rgba(28, 23, 24, 0.88);
  color: #FFFFFF;
}

.badge-after {
  background: linear-gradient(135deg, #E6C665 0%, #D4AF37 50%, #9C7716 100%);
  color: #1F1502;
}

.results-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 25px;
}

@media (min-width: 600px) {
  .results-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

.timeline-box {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

.timeline-box.active-box {
  border-color: var(--burgundy-700);
  background: #FFFBFB;
}

.timeline-day {
  display: inline-block;
  background: var(--burgundy-700);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 8px;
}

.timeline-box h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--burgundy-900);
  margin-bottom: 6px;
}

.timeline-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Ingredients Section
   ========================================================================== */
.ingredients-section {
  background: var(--cream-bg);
}

.ingr-grid {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (min-width: 992px) {
  .ingr-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 45px;
    align-items: center;
  }
}

.ingr-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--cream-border);
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
}

.ingr-img {
  width: 100%;
}

.ingr-cert-pill {
  position: absolute;
  bottom: 14px;
  right: 14px;
  left: 14px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-border);
}

.ingr-cert-pill strong {
  display: block;
  font-size: 0.88rem;
  color: var(--burgundy-700);
}

.ingr-cert-pill span {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.ingr-cards-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.ingr-single-card {
  display: flex;
  gap: 14px;
  background: #FFFFFF;
  border: 1px solid var(--cream-border);
  padding: 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.ingr-emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.ingr-single-card h4 {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--burgundy-900);
  margin-bottom: 4px;
}

.ingr-single-card p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ==========================================================================
   SHOPIFY-STYLE CHECKOUT FORM WITH IN-FORM UPSELL & ORDER BUMP
   ========================================================================== */
.checkout-section-anchor {
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.12) 0%, transparent 70%),
              var(--cream-bg);
  padding: 40px 0 60px;
}

.shopify-checkout-card {
  max-width: 680px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(92, 7, 18, 0.1);
  border: 1.5px solid var(--cream-border);
  padding: 24px 16px;
}

@media (min-width: 768px) {
  .shopify-checkout-card {
    padding: 38px 32px;
  }
}

.shopify-form-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--cream-border);
}

.header-secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #EDF7EE;
  color: #1E7E34;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  border: 1px solid #D4EDDA;
}

.shopify-form-title {
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  font-weight: 900;
  color: var(--burgundy-900);
  margin-bottom: 6px;
}

.shopify-form-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-step-container {
  margin-bottom: 24px;
}

.step-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.step-num-pill {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--burgundy-700);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-title-row h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--burgundy-900);
}

/* Shopify Pack Tiers List */
.shopify-tiers-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shopify-tier-card {
  background: #FFFFFF;
  border: 2px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  position: relative;
  transition: all var(--transition-fast);
}

.shopify-tier-card:hover {
  border-color: var(--burgundy-100);
  background: #FFFDFB;
}

.shopify-tier-card.selected {
  border-color: var(--burgundy-700);
  background: var(--burgundy-50);
  box-shadow: 0 4px 14px rgba(128, 16, 32, 0.1);
}

.shopify-tier-card.tier-featured.selected {
  border-color: var(--gold-500);
  background: #FFFDF7;
  box-shadow: 0 6px 18px rgba(212, 175, 55, 0.25);
}

.tier-top-ribbon {
  position: absolute;
  top: -11px;
  right: 20px;
  background: linear-gradient(135deg, #F0CE64 0%, #D4AF37 50%, #9E7918 100%);
  color: #241A04;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 2px 12px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.tier-radio-input {
  display: none;
}

.tier-radio-custom {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #C4B8B9;
  flex-shrink: 0;
  position: relative;
  transition: all var(--transition-fast);
}

.shopify-tier-card.selected .tier-radio-custom {
  border-color: var(--burgundy-700);
}

.shopify-tier-card.selected .tier-radio-custom::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--burgundy-700);
}

.shopify-tier-card.tier-featured.selected .tier-radio-custom {
  border-color: var(--gold-500);
}

.shopify-tier-card.tier-featured.selected .tier-radio-custom::after {
  background: var(--gold-500);
}

.tier-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tier-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.tier-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--burgundy-900);
}

.tier-badge-simple {
  font-size: 0.7rem;
  font-weight: 700;
  background: #EFE8DE;
  color: #615545;
  padding: 1px 7px;
  border-radius: var(--radius-sm);
}

.tier-badge-vip {
  font-size: 0.7rem;
  font-weight: 800;
  background: var(--burgundy-100);
  color: var(--burgundy-800);
  padding: 1px 7px;
  border-radius: var(--radius-sm);
}

.tier-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tier-free-ship {
  font-size: 0.74rem;
  color: var(--color-success);
  font-weight: 800;
}

.tier-savings-pill {
  font-size: 0.76rem;
  color: #8E24AA;
  font-weight: 800;
}

.tier-pricing {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.tier-old-price {
  font-size: 0.82rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.tier-current-price {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--burgundy-900);
  line-height: 1.1;
}

.gold-current-price {
  color: var(--burgundy-800);
}

.tier-current-price small {
  font-size: 0.88rem;
  font-weight: 700;
}

/* ==========================================================================
   Shopify Order Bump Card (The High Converting Dashed Box)
   ========================================================================== */
.shopify-order-bump-box {
  background: #FFFDF6;
  border: 2px dashed #D4AF37;
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
  position: relative;
  transition: all var(--transition-fast);
}

.shopify-order-bump-box.bump-active {
  background: #FFF9E8;
  border-style: solid;
  border-color: #B89223;
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.bump-tag-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--burgundy-800);
  margin-bottom: 10px;
}

.bump-flash-icon {
  font-size: 1rem;
}

.bump-content-layout {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.bump-checkbox-col {
  padding-top: 3px;
  flex-shrink: 0;
}

.bump-checkbox-input {
  display: none;
}

.bump-checkbox-label {
  cursor: pointer;
  display: block;
}

.custom-check-box {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid #D4AF37;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.bump-checkbox-input:checked + .bump-checkbox-label .custom-check-box {
  background: #D4AF37;
  border-color: #B89223;
}

.bump-checkbox-input:checked + .bump-checkbox-label .custom-check-box::after {
  content: '✓';
  color: #1F1502;
  font-size: 1.1rem;
  font-weight: 900;
}

.bump-img-col {
  flex-shrink: 0;
}

.bump-thumb-img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1.5px solid var(--cream-border);
}

.bump-text-col {
  flex-grow: 1;
}

.bump-clickable-headline {
  cursor: pointer;
  display: block;
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 4px;
}

.bump-cta-action {
  color: var(--burgundy-800);
  font-weight: 900;
  text-decoration: underline;
}

.bump-deal-price {
  color: var(--color-danger);
  font-size: 1.05rem;
  font-weight: 900;
}

.bump-strike-price {
  color: var(--text-light);
  text-decoration: line-through;
  font-size: 0.8rem;
  font-weight: 500;
}

.bump-description {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   Customer Delivery Inputs (Shopify COD Standard)
   ========================================================================== */
.shopify-inputs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 600px) {
  .shopify-inputs-grid {
    grid-template-columns: 1fr 1fr;
  }
  .full-col {
    grid-column: 1 / -1;
  }
}

.shopify-input-group {
  display: flex;
  flex-direction: column;
}

.shopify-input-group label {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 5px;
}

.req {
  color: var(--color-danger);
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.inner-icon {
  position: absolute;
  right: 12px;
  font-size: 1rem;
  color: var(--text-muted);
  pointer-events: none;
}

.inner-flag {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--text-main);
  background: var(--cream-alt);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  direction: ltr;
  position: absolute;
  right: 8px;
}

.input-with-icon input,
.input-with-icon select {
  width: 100%;
  padding: 12px 38px 12px 12px;
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-md);
  font-size: 16px; /* Crucial to prevent iOS auto zoom */
  color: var(--text-main);
  background: #FFFFFF;
  transition: all var(--transition-fast);
}

.input-with-icon input:focus,
.input-with-icon select:focus {
  outline: none;
  border-color: var(--burgundy-700);
  box-shadow: 0 0 0 3px rgba(128, 16, 32, 0.12);
}

.shopify-input-group.has-morocco-flag .input-with-icon input {
  padding-right: 90px;
}

.input-note-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 3px;
}

.error-msg {
  font-size: 0.75rem;
  color: var(--color-danger);
  font-weight: 700;
  margin-top: 4px;
  display: none;
}

.shopify-input-group.has-error .error-msg {
  display: block;
}

.shopify-input-group.has-error input,
.shopify-input-group.has-error select {
  border-color: var(--color-danger);
  background: #FFF7F7;
}

/* ==========================================================================
   Order Summary Box
   ========================================================================== */
.shopify-summary-box {
  background: var(--cream-bg);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  border: 1px solid var(--cream-border);
}

.summary-line-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--text-muted);
}

.summary-line-item strong {
  color: var(--text-main);
}

.free-badge-pill {
  color: var(--color-success);
  font-weight: 800;
}

.summary-separator {
  height: 1px;
  background: var(--cream-border);
  margin: 10px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-text-col {
  display: flex;
  flex-direction: column;
}

.total-caption {
  font-size: 1rem;
  font-weight: 900;
  color: var(--burgundy-900);
}

.total-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.total-amount-display {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--burgundy-800);
}

/* Big Submit Button */
.btn-submit-order {
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.btn-submit-order .main-cta-text {
  font-size: 1.12rem;
  font-weight: 900;
}

.btn-submit-order .sub-cta-text {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.95;
  margin-top: 3px;
}

/* WhatsApp Direct Section */
.whatsapp-direct-section {
  text-align: center;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--cream-border);
}

.whatsapp-direct-section p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.btn-whatsapp {
  background: #25D366;
  color: #FFFFFF;
  border: none;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  font-size: 0.96rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #1DA851;
  transform: translateY(-2px);
}

.wa-icon {
  font-size: 1.25rem;
}

/* Form Trust Badges */
.form-guarantees-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--cream-border);
}

@media (min-width: 500px) {
  .form-guarantees-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.guarantee-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.g-icon {
  font-size: 1.4rem;
  margin-bottom: 2px;
}

.guarantee-item strong {
  font-size: 0.82rem;
  color: var(--burgundy-900);
}

.guarantee-item small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-section {
  background: #FFFFFF;
  border-top: 1px solid var(--cream-border);
}

.rating-summary-pill {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  display: inline-block;
  padding: 14px 24px;
  border-radius: var(--radius-lg);
  margin-top: 10px;
}

.summary-score {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--burgundy-900);
  line-height: 1;
}

.summary-score span {
  font-size: 1.15rem;
  color: var(--text-muted);
}

.rating-summary-pill .stars {
  margin: 4px 0;
}

.rating-summary-pill p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.review-card {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.reviewer-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-500);
}

.reviewer-initials {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--burgundy-700);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.reviewer-name {
  font-size: 0.94rem;
  color: var(--burgundy-900);
  font-weight: 800;
}

.verified-buyer-badge {
  font-size: 0.72rem;
  color: var(--color-success);
  font-weight: 800;
  background: var(--color-success-bg);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
}

.reviewer-city {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.stars-mini {
  color: #FFA41C;
  font-size: 0.88rem;
  letter-spacing: 1px;
  margin-top: 2px;
}

.review-quote {
  font-size: 0.9rem;
  color: var(--text-main);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 10px;
}

.review-date {
  font-size: 0.74rem;
  color: var(--text-light);
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  background: var(--cream-bg);
}

.faq-narrow-container {
  max-width: 680px;
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-card {
  background: #FFFFFF;
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-card.active {
  border-color: var(--burgundy-700);
}

.faq-header-btn {
  width: 100%;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  text-align: right;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--burgundy-900);
  cursor: pointer;
  gap: 12px;
}

.faq-icon-arrow {
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--burgundy-700);
  transition: transform var(--transition-fast);
}

.faq-card.active .faq-icon-arrow {
  transform: rotate(45deg);
}

.faq-body-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 18px;
}

.faq-card.active .faq-body-content {
  max-height: 250px;
  padding: 0 18px 16px;
}

.faq-body-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Sticky Mobile Bottom Bar
   ========================================================================== */
.sticky-mobile-buy-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--cream-border);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.12);
  padding: 8px 12px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-mobile-buy-bar.visible {
  transform: translateY(0);
}

.sticky-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 480px;
  margin: 0 auto;
  gap: 10px;
}

.sticky-left-info {
  display: flex;
  flex-direction: column;
}

.sticky-bundle-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}

.sticky-pricing {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sticky-price {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--burgundy-900);
}

.sticky-free-ship {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--color-success);
  background: var(--color-success-bg);
  padding: 1px 5px;
  border-radius: var(--radius-pill);
}

#btnStickyAction {
  padding: 10px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .sticky-mobile-buy-bar {
    display: none !important;
  }
}

/* ==========================================================================
   Live Notification Toast
   ========================================================================== */
.live-orders-toast {
  position: fixed;
  bottom: 72px;
  right: 12px;
  left: 12px;
  max-width: 330px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border: 1px solid var(--cream-border);
  box-shadow: 0 6px 25px rgba(0,0,0,0.15);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.35s ease;
}

@media (min-width: 768px) {
  .live-orders-toast {
    left: auto;
    right: 20px;
    bottom: 20px;
  }
}

.live-orders-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.toast-bell {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.toast-body {
  flex-grow: 1;
}

.toast-text {
  font-size: 0.8rem;
  color: var(--text-main);
  line-height: 1.35;
  margin-bottom: 2px;
}

.toast-meta {
  font-size: 0.7rem;
  color: var(--text-light);
  display: block;
}

.toast-dismiss {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 4px;
}

/* ==========================================================================
   Order Success Modal Dialog
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 10, 12, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-content-box {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  transform: translateY(15px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid var(--cream-border);
}

.modal-backdrop.open .modal-content-box {
  transform: translateY(0) scale(1);
}

.modal-celebration-icon {
  font-size: 3rem;
  margin-bottom: 8px;
}

.modal-heading {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--burgundy-900);
  margin-bottom: 10px;
}

.modal-intro {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.modal-order-details {
  background: var(--cream-bg);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius-md);
  padding: 14px;
  text-align: right;
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.detail-row:last-child {
  margin-bottom: 0;
}

.gold-amount {
  font-size: 1.15rem;
  color: var(--burgundy-800);
  font-weight: 900;
}

.modal-actions-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #190F11;
  color: #D3C9CB;
  padding: 40px 0 20px;
  border-top: 2px solid var(--burgundy-700);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 25px;
}

@media (min-width: 768px) {
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-logo-img {
  height: 36px;
  margin-bottom: 10px;
}

.footer-brand p {
  font-size: 0.84rem;
  color: #9C8F92;
  line-height: 1.65;
}

.footer-shipping-cities h4 {
  font-size: 0.9rem;
  color: var(--gold-400);
  margin-bottom: 6px;
  font-weight: 800;
}

.footer-shipping-cities p {
  font-size: 0.82rem;
  color: #8C8082;
  line-height: 1.55;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
  font-size: 0.76rem;
  color: #7A6F71;
  text-align: center;
}
