/*
Theme Name: Gorila Nutrition
Theme URI: https://gorilanutrition.ma
Author: Gorila Nutrition
Author URI: https://gorilanutrition.ma
Description: Thème officiel Gorila Nutrition - Nutrition sportive premium au Maroc.
Version: 1.0.0
Tested up to: 6.7
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gorila-nutrition
*/

/* ==========================================================================
   GORILA NUTRITION — Core Design System & Stylesheet
   Identity: Light, Athletic, Modern Refined Typography, Crimson Red Accents
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa+Ink:wght@700&family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;0,800;1,600;1,700&family=Inter:wght@300;400;500;600;700&family=Noto+Kufi+Arabic:wght@600;700;800&family=IBM+Plex+Sans+Arabic:wght@600;700&family=Cairo:wght@600;700;800&display=swap');

:root {
  /* Palette */
  --bg-primary: #ffffff;
  --bg-secondary: #f5f5f5;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f1f1;
  --bg-glass: rgba(255, 255, 255, 0.9);
  
  --color-red: #E50914;
  --color-red-glow: rgba(229, 9, 20, 0.4);
  --color-red-dark: #b80710;
  
  --text-primary: #111111;
  --text-muted: #5f6368;
  --text-dim: #8a8d93;
  
  --border-subtle: #e5e7eb;
  --border-strong: #d1d5db;
  --border-red: rgba(229, 9, 20, 0.5);
  
  /* Typography Families */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-arabic: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
  --font-hero-arabic: 'Aref Ruqaa Ink', 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Cairo', sans-serif;
  
  /* Standardized Typography Scale Tokens */
  --title-hero-size: clamp(1.75rem, 2.8vw, 2.65rem);    /* ~28px mobile – 42.4px desktop */
  --title-hero-weight: 700;
  --title-hero-lh: 1.25;

  --title-section-size: clamp(1.375rem, 2.1vw, 2rem);   /* ~22px mobile – 32px desktop */
  --title-section-weight: 700;
  --title-section-lh: 1.22;
  --title-section-tracking: 0.01em;

  --title-card-size: clamp(1.02rem, 1.2vw, 1.22rem);    /* ~16.3px mobile – 19.5px desktop */
  --title-card-weight: 600;
  --title-card-lh: 1.35;

  --title-sub-size: clamp(0.95rem, 1.1vw, 1.1rem);      /* ~15.2px mobile – 17.6px desktop */
  --title-sub-weight: 600;
  --title-sub-lh: 1.35;
  
  /* Layout */
  --header-height: 80px;
  --max-width: 1440px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;
  
  /* Shadows & FX */
  --glow-red: 0 0 25px rgba(229, 9, 20, 0.35);
  --shadow-card: 0 10px 30px rgba(17, 17, 17, 0.12);
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.5;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  color: inherit;
}

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

/* Base Semantic Heading Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

h1 {
  font-size: var(--title-hero-size);
  font-weight: var(--title-hero-weight);
  line-height: var(--title-hero-lh);
  letter-spacing: -0.01em;
}

h2 {
  font-size: var(--title-section-size);
  font-weight: var(--title-section-weight);
  line-height: var(--title-section-lh);
  letter-spacing: var(--title-section-tracking);
}

h3 {
  font-size: var(--title-card-size);
  font-weight: var(--title-card-weight);
  line-height: var(--title-card-lh);
}

h4 {
  font-size: var(--title-sub-size);
  font-weight: var(--title-sub-weight);
  line-height: var(--title-sub-lh);
}

/* RTL & Arabic Typography Global Reset */
[dir="rtl"], [lang="ar"] {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3, [dir="rtl"] h4,
[lang="ar"] h1, [lang="ar"] h2, [lang="ar"] h3, [lang="ar"] h4,
.hero-arabic-title, .blog-main-title, .article-card-title, .article-main-h1 {
  font-family: var(--font-arabic);
  letter-spacing: normal !important; /* Preserves smooth Arabic cursive connections */
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f3f4f6;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-red);
}

/* Global Utility Classes */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-red {
  color: var(--color-red);
}

.heading-font {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.section-padding {
  padding: 3.75rem 0;
}

#nouveautes.section-padding {
  padding-bottom: 2.35rem;
}

.section-header {
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.35rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: var(--title-section-size);
  font-weight: var(--title-section-weight);
  text-transform: uppercase;
  letter-spacing: var(--title-section-tracking);
  line-height: var(--title-section-lh);
  position: relative;
  display: inline-block;
  text-align: center;
}

.section-title::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  background: var(--color-red);
  margin: 8px auto 0 auto;
  border-radius: 2px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.35rem;
  text-align: center;
  line-height: 1.5;
}

/* Modal Title Utility Styles */
.modal-section-title {
  font-family: var(--font-heading);
  font-size: var(--title-sub-size);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
  line-height: 1.3;
}

.modal-main-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  line-height: 1.25;
}

.view-all-btn {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
  padding: 0.5rem 0;
}

.view-all-btn:hover {
  color: var(--color-red);
  transform: translateX(4px);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: var(--color-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1rem 2rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background: #ff121f;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  transition: var(--transition-fast);
}

.btn-secondary:hover {
  border-color: var(--color-red);
  background: rgba(229, 9, 20, 0.1);
  color: var(--text-primary);
}

/* ==========================================================================
   1. HEADER
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: height 0.3s ease, background 0.3s ease;
  height: var(--header-height);
}

.site-header.scrolled {
  --header-height: 66px;
  background: #000000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
  border-bottom: 1px solid rgba(229, 9, 20, 0.4);
}

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

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo svg {
  height: 38px;
  width: auto;
  transition: transform 0.3s ease;
}

.official-brand-logo {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.official-brand-logo.footer-logo-img {
  height: 44px;
}

.brand-logo:hover svg,
.brand-logo:hover .official-brand-logo {
  transform: scale(1.04);
}

/* Header Nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.82);
  transition: var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-red);
  transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.action-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: var(--transition-fast);
}

.action-icon-btn:hover {
  background: rgba(229, 9, 20, 0.25);
  border-color: var(--color-red);
  color: #ffffff;
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--color-red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(229, 9, 20, 0.6);
}

/* ==========================================================================
   HEADER SEARCH BAR — Inline Smooth Morphing
   ========================================================================== */
.header-search-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 40px;
  width: 40px;
}

.header-search-container .search-toggle-btn {
  position: relative;
  z-index: 1;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.header-search-container.is-open .search-toggle-btn {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.85);
}

.header-search-bar {
  position: absolute;
  top: 0;
  right: 0;
  height: 40px;
  width: 40px;
  display: flex;
  align-items: center;
  background: #0d0d11;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  padding: 0 6px 0 12px;
  opacity: 0;
  pointer-events: none;
  transform-origin: right center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
  z-index: 5;
  overflow: hidden;
  white-space: nowrap;
}

.header-search-container.is-open .header-search-bar {
  width: 245px;
  opacity: 1;
  pointer-events: auto;
  border-color: rgba(255, 255, 255, 0.35);
}

.header-search-container.is-open .header-search-bar:focus-within {
  border-color: var(--color-red);
  background: #08080a;
  box-shadow: 0 0 0 2px rgba(237, 28, 36, 0.28), 0 8px 24px rgba(0, 0, 0, 0.85);
}

.header-search-bar-icon {
  flex-shrink: 0;
  color: var(--color-red);
  margin-right: 8px;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.header-search-bar-icon:hover {
  transform: scale(1.12);
  filter: drop-shadow(0 0 6px rgba(237, 28, 36, 0.6));
}

.header-search-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 0;
}

.header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.84rem;
  font-weight: 400;
  transition: color 0.2s ease;
}

.header-search-bar:focus-within .header-search-input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}

.header-search-close-btn {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 6px;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.header-search-close-btn:hover {
  background: rgba(237, 28, 36, 0.25);
  color: var(--color-red);
  transform: scale(1.1);
}

.header-search-close-btn:active {
  transform: scale(0.92);
}

.mobile-toggle-btn {
  display: none;
  font-size: 1.5rem;
  color: #ffffff;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   2. MOVING TRUST BAR (Announcement Ticker)
   ========================================================================== */
.trust-bar-ticker {
  position: relative;
  width: 100%;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  background: var(--color-red);
  border-top: 1px solid rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  overflow: hidden;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.2);
}

.trust-ticker-track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
  will-change: transform;
}

.trust-ticker-track:hover {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.5rem;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  line-height: 1;
}

.ticker-item .icon {
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

.ticker-separator {
  color: rgba(255, 255, 255, 0.65);
  font-size: 10px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  user-select: none;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .trust-bar-ticker {
    height: 40px;
    min-height: 40px;
    max-height: 40px;
  }

  .ticker-item {
    font-size: 12px;
    gap: 0.4rem;
    padding: 0 1rem;
    letter-spacing: 0.03em;
  }

  .ticker-item .icon {
    font-size: 12px;
  }

  .ticker-separator {
    font-size: 9px;
  }
}

/* ==========================================================================
   3. HERO SECTION — CINEMATIC VIDEO HERO
   ========================================================================== */

/* --- Container & Video --- */
.hero-section {
  position: relative;
  width: 100%;
  height: clamp(540px, 68vh, 680px);
  min-height: 540px;
  max-height: 680px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: #070709;
  border-bottom: 1px solid rgba(229, 9, 20, 0.25);
}

/* Background Video */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  pointer-events: none;
  z-index: 1;
  filter: brightness(0.80) contrast(1.08);
  transform: scale(1.03);
  animation:
    heroVideoFadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards,
    heroVideoSlowMotion 25s ease-in-out infinite alternate;
}

@keyframes heroVideoFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroVideoSlowMotion {
  0% { transform: scale(1.03); }
  100% { transform: scale(1.00); }
}

/* --- Cinematic Overlay Layers --- */
/* Layer 1: Dark atmospheric film to ensure high contrast for text */
.hero-overlay-dark {
  position: absolute;
  inset: 0;
  /* ~40% dark overlay — keeps video clearly visible at ~60% while ensuring text contrast */
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 8, 0.48) 0%,
    rgba(5, 5, 8, 0.38) 50%,
    rgba(5, 5, 8, 0.62) 100%
  );
  z-index: 2;
  pointer-events: none;
}

/* Layer 2: Centered subtle red atmospheric glow */
.hero-overlay-glow {
  position: absolute;
  top: 46%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: clamp(400px, 65vw, 850px);
  height: clamp(260px, 40vw, 440px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(229, 9, 20, 0.22) 0%, rgba(229, 9, 20, 0.05) 55%, transparent 75%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 3;
}

/* Layer 3: Vignette & bottom seam blend */
.hero-overlay-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(2, 2, 4, 0.85) 100%);
  z-index: 4;
  pointer-events: none;
}

.hero-overlay-vignette::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to bottom, transparent, rgba(5, 5, 8, 0.7));
}

/* --- Centered Content Layout --- */
.hero-content-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
  padding: 0 1.5rem;
}

.hero-content-center {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.5rem 0;
}

/* --- Main Arabic Headline (Strictly ONE Line on Desktop) --- */
.hero-arabic-title {
  font-family: var(--font-arabic);
  font-size: var(--title-hero-size); /* Approx 38–42px on desktop, 28px mobile */
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  margin: 0 0 1.85rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  white-space: nowrap; /* Strictly ONE SINGLE LINE on desktop */
  direction: rtl;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.hero-title-part {
  display: inline-block;
}

.hero-title-white {
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 4px 24px rgba(0, 0, 0, 0.75);
}

.hero-title-red {
  color: var(--color-red);
  text-shadow:
    0 0 20px rgba(229, 9, 20, 0.55),
    0 0 40px rgba(229, 9, 20, 0.25),
    0 2px 14px rgba(0, 0, 0, 0.9);
}

/* --- Premium CTA Button: 280–300px wide, 54–58px high --- */
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  width: 290px;
  max-width: 100%;
  height: 56px;
  background: var(--color-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 22px rgba(229, 9, 20, 0.45), 0 0 30px rgba(229, 9, 20, 0.2);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 2.25rem;
}

.hero-cta:hover {
  background: #ff121f;
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(229, 9, 20, 0.65), 0 0 45px rgba(229, 9, 20, 0.35);
}

.hero-cta-arrow {
  transition: transform 0.25s ease;
}

.hero-cta:hover .hero-cta-arrow {
  transform: translateX(5px);
}

/* --- 3 Compact Benefits Below CTA --- */
.hero-benefits {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  padding: 0.75rem 1.6rem;
  background: rgba(12, 12, 16, 0.6);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.hero-benefit-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
}

.hero-benefit-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid rgba(229, 9, 20, 0.4);
  color: var(--color-red);
  flex-shrink: 0;
}

.hero-benefit-text {
  display: flex;
  flex-direction: column;
  font-family: var(--font-heading);
  line-height: 1.15;
}

.hero-benefit-text strong {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-benefit-text span {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  text-transform: uppercase;
}

.hero-benefit-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.12);
}

/* --- Cinematic Staggered Entrance Animations (0.6–0.8s) --- */
@keyframes heroEntranceFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-anim {
  opacity: 1;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
  animation-duration: 0.7s;
}

/* 2. Arabic title softly fades + rises into position */
.hero-anim--title-white {
  animation-name: heroEntranceFadeUp;
  animation-delay: 0.15s;
}

/* 3. Red portion follows with a subtle stagger */
.hero-anim--title-red {
  animation-name: heroEntranceFadeUp;
  animation-delay: 0.28s;
}

/* 4. CTA fades/slides upward */
.hero-anim--cta {
  animation-name: heroEntranceFadeUp;
  animation-delay: 0.45s;
}

/* 5. Benefits appear one after another */
.hero-anim--benefits {
  animation-name: heroEntranceFadeUp;
  animation-delay: 0.62s;
}

/* ==========================================================================
   ACHETER PAR CATÉGORIE — 8 Circular Categories Navigation Section
   ========================================================================== */
.shop-categories-section {
  padding: 1.75rem 0 1.75rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.shop-categories-container {
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.shop-categories-header {
  text-align: center;
  margin-bottom: 1.45rem;
}

.shop-categories-title {
  font-family: var(--font-heading);
  font-size: var(--title-section-size);
  font-weight: var(--title-section-weight);
  color: #111111;
  text-transform: uppercase;
  letter-spacing: var(--title-section-tracking);
  margin: 0 0 0.45rem;
  line-height: var(--title-section-lh);
}

.shop-categories-line {
  width: 42px;
  height: 3px;
  background: var(--color-red);
  margin: 0.55rem auto 0;
  border-radius: 2px;
}

.shop-categories-mobile-hint {
  display: none;
  text-align: right;
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-categories-mobile-hint span span {
  display: inline-block;
  animation: hintNudge 1.6s ease-in-out infinite;
}

/* 8 items in 1 single horizontal row on desktop */
.shop-categories-track {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: clamp(16px, 1.8vw, 26px);
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}

.shop-category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-category-circle {
  width: clamp(105px, 8.8vw, 130px);
  height: clamp(105px, 8.8vw, 130px);
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.28s ease,
              box-shadow 0.28s ease;
}

.shop-category-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.shop-category-name {
  font-family: var(--font-heading);
  font-size: clamp(0.72rem, 0.85vw, 0.82rem);
  font-weight: 700;
  color: #111111;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.25;
  transition: color 0.25s ease;
  white-space: nowrap;
}

/* Desktop Hover Effects */
.shop-category-item:hover .shop-category-circle {
  transform: translateY(-5px);
  border-color: var(--color-red);
  box-shadow: 0 10px 24px rgba(229, 9, 20, 0.16);
}

.shop-category-item:hover .shop-category-img {
  transform: scale(1.08);
}

.shop-category-item:hover .shop-category-name {
  color: var(--color-red);
}

/* Tablet (821px - 1100px) */
@media (max-width: 1100px) and (min-width: 821px) {
  .shop-categories-track {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 24px;
    column-gap: 20px;
  }
}

/* Mobile & Small Tablet (<= 820px) — Horizontal Swipe Carousel */
@media (max-width: 820px) {
  .shop-categories-section {
    padding: 1.5rem 0 1.65rem;
  }

  .shop-categories-mobile-hint {
    display: flex;
    justify-content: flex-end;
  }

  .shop-categories-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 16px;
    padding: 0.5rem 1rem 1rem;
    margin: 0 -1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
  }

  .shop-categories-track::-webkit-scrollbar {
    display: none;
  }

  .shop-category-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    width: 104px;
  }

  .shop-category-circle {
    width: 98px;
    height: 98px;
    padding: 11px;
    margin-bottom: 0.6rem;
  }

  .shop-category-name {
    font-size: 0.72rem;
    white-space: normal;
    max-width: 98px;
  }

  .shop-categories-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 0.5rem;
  }

  .shop-cat-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #D1D5DB;
    border: none;
    padding: 0;
    transition: width 0.3s ease, background 0.3s ease;
  }

  .shop-cat-dot.active {
    width: 20px;
    background: var(--color-red);
  }
}

/* ==========================================================================
   OBJECTIFS — CHOISISSEZ VOTRE OBJECTIF (Refined Premium Advertising Cards)
   ========================================================================== */

/* Accent palette */
:root {
  --obj-orange:       #FF7200;
  --obj-orange-glow:  rgba(255, 114, 0, 0.45);
  --obj-green:        #00C853;
  --obj-green-glow:   rgba(0, 200, 83, 0.45);
  --obj-blue:         #1683FF;
  --obj-blue-glow:    rgba(22, 131, 255, 0.45);
}

/* ── Section wrapper ─────────────────────────────── */
.objectifs-section {
  padding: 2.25rem 0 3.35rem;
  background: #ffffff;
  position: relative;
  scroll-margin-top: 100px;
  overflow: hidden;
}

/* ── Section header ─────────────────────────────── */
.objectifs-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

.objectifs-main-title {
  font-family: var(--font-heading);
  font-size: var(--title-section-size);
  font-weight: var(--title-section-weight);
  text-transform: uppercase;
  letter-spacing: var(--title-section-tracking);
  line-height: var(--title-section-lh);
  margin-bottom: 0.5rem;
  display: block;
}

.objectifs-title-black { color: #111111; }
.objectifs-title-red   { color: var(--color-red); }

/* Red underline bar */
.objectifs-header::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  background: var(--color-red);
  margin: 10px auto 0;
  border-radius: 2px;
}

.objectifs-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 400;
  max-width: 520px;
  margin: 0.5rem auto 0;
  line-height: 1.5;
}

/* ── Mobile swipe indicator ──────────────────────── */
.obj-mobile-indicator {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding: 0 0.5rem;
}

.obj-indicator-dots {
  display: flex;
  align-items: center;
  gap: 8px;
}

.obj-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #D1D5DB;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.obj-dot.active {
  width: 26px;
  background: var(--color-red);
}

.obj-swipe-hint {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  color: #9CA3AF;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.obj-swipe-hint span {
  display: inline-block;
  animation: hintNudge 1.6s ease-in-out infinite;
}

@keyframes hintNudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

/* ── Container & Grid — 3 equal cards filling the exact target area ── */
.objectifs-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.objectifs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  margin: 0 auto;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

/* ── Card base — premium sports nutrition ad poster ─ */
.obj-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  background: #0c0e12;
  text-decoration: none;
  cursor: pointer;
  height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.obj-card:hover {
  transform: translateY(-5px);
}

.obj-card--orange:hover {
  box-shadow: 0 20px 50px rgba(255, 114, 0, 0.25), 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 114, 0, 0.45);
}

.obj-card--green:hover {
  box-shadow: 0 20px 50px rgba(0, 200, 83, 0.25), 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(0, 200, 83, 0.45);
}

.obj-card--blue:hover {
  box-shadow: 0 20px 50px rgba(22, 131, 255, 0.25), 0 8px 20px rgba(0, 0, 0, 0.2);
  border-color: rgba(22, 131, 255, 0.45);
}

/* ── Background visual wrap ──────────────────────── */
.obj-card-bg-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}

.obj-card-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.obj-card:hover .obj-card-bg-img {
  transform: scale(1.05);
}

/* ── Colored splash / energy aura ───────────────── */
.obj-card-splash {
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  will-change: transform, opacity;
}

.obj-splash--orange {
  background: radial-gradient(ellipse 90% 70% at 50% 62%, rgba(255, 114, 0, 0.5) 0%, rgba(255, 114, 0, 0.16) 42%, transparent 72%);
}

.obj-splash--green {
  background: radial-gradient(ellipse 90% 70% at 50% 62%, rgba(0, 200, 83, 0.45) 0%, rgba(0, 200, 83, 0.14) 42%, transparent 72%);
}

.obj-splash--blue {
  background: radial-gradient(ellipse 90% 70% at 50% 62%, rgba(22, 131, 255, 0.5) 0%, rgba(22, 131, 255, 0.16) 42%, transparent 72%);
}

.obj-card:hover .obj-card-splash {
  transform: scale(1.18);
  opacity: 0.95;
}

/* ── Card gradient overlay (readability vignette) ─ */
.obj-card-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(8, 10, 14, 0.94) 0%,
    rgba(8, 10, 14, 0.8) 26%,
    rgba(8, 10, 14, 0.35) 46%,
    rgba(8, 10, 14, 0.05) 64%,
    rgba(8, 10, 14, 0.55) 100%
  );
}

/* ── Card text content ───────────────────────────── */
.obj-card-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.85rem 1.35rem 1rem;
}

/* ── Badge ───────────────────────────────────────── */
.obj-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ffffff;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.obj-badge--orange { background: var(--obj-orange); box-shadow: 0 3px 12px rgba(255, 114, 0, 0.4); }
.obj-badge--green  { background: var(--obj-green);  box-shadow: 0 3px 12px rgba(0, 200, 83, 0.4); }
.obj-badge--blue   { background: var(--obj-blue);   box-shadow: 0 3px 12px rgba(22, 131, 255, 0.4); }

/* ── Objective title ─────────────────────────────── */
.obj-title {
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.25vw, 1.25rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.18;
  margin: 0 0 0.45rem;
  text-align: center;
}

.obj-title--orange { color: var(--obj-orange); text-shadow: 0 2px 14px rgba(255, 114, 0, 0.25); }
.obj-title--green  { color: var(--obj-green);  text-shadow: 0 2px 14px rgba(0, 200, 83, 0.25); }
.obj-title--blue   { color: var(--obj-blue);   text-shadow: 0 2px 14px rgba(22, 131, 255, 0.25); }

/* ── Description ─────────────────────────────────── */
.obj-desc {
  font-family: var(--font-body);
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 0.8rem;
  max-width: 250px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
}

/* ── CTA button ──────────────────────────────────── */
.obj-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid;
  background: rgba(10, 13, 18, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.obj-cta svg {
  transition: transform 0.25s ease;
}

.obj-card:hover .obj-cta svg {
  transform: translateX(4px);
}

.obj-cta--orange { color: #ffffff; border-color: var(--obj-orange); }
.obj-cta--green  { color: #ffffff; border-color: var(--obj-green); }
.obj-cta--blue   { color: #ffffff; border-color: var(--obj-blue); }

.obj-card--orange:hover .obj-cta--orange {
  background: var(--obj-orange);
  border-color: var(--obj-orange);
  box-shadow: 0 4px 18px rgba(255, 114, 0, 0.55);
}

.obj-card--green:hover .obj-cta--green {
  background: var(--obj-green);
  border-color: var(--obj-green);
  box-shadow: 0 4px 18px rgba(0, 200, 83, 0.55);
}

.obj-card--blue:hover .obj-cta--blue {
  background: var(--obj-blue);
  border-color: var(--obj-blue);
  box-shadow: 0 4px 18px rgba(22, 131, 255, 0.55);
}

/* ── Scroll Entrance Animations ──────────────────── */
.objectifs-section.is-anim-ready:not(.is-visible) .objectifs-header {
  opacity: 0;
  transform: translateY(24px);
}

.objectifs-section.is-anim-ready:not(.is-visible) .obj-card[data-card="1"] {
  opacity: 0;
  transform: translate(-28px, 18px);
}

.objectifs-section.is-anim-ready:not(.is-visible) .obj-card[data-card="2"] {
  opacity: 0;
  transform: translateY(32px);
}

.objectifs-section.is-anim-ready:not(.is-visible) .obj-card[data-card="3"] {
  opacity: 0;
  transform: translate(28px, 18px);
}

.objectifs-section.is-anim-ready:not(.is-visible) .obj-card-content {
  opacity: 0;
  transform: translateY(14px);
}

.objectifs-section.is-visible .objectifs-header {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.objectifs-section.is-visible .obj-card[data-card="1"] {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.15s,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.objectifs-section.is-visible .obj-card[data-card="2"] {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.25s,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.objectifs-section.is-visible .obj-card[data-card="3"] {
  opacity: 1;
  transform: translate(0, 0);
  transition:
    opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.35s,
    box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.objectifs-section.is-visible .obj-card-content {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
}

/* ── RESPONSIVE ADAPTATIONS ──────────────────────── */

/* Tablet (821px to 1024px) */
@media (max-width: 1024px) and (min-width: 821px) {
  .objectifs-section {
    padding: 2.2rem 0 3rem;
  }
  .objectifs-grid {
    gap: 1rem;
    max-width: 900px;
  }
  .obj-card {
    height: 485px;
  }
  .obj-card-content {
    padding: 1.6rem 1.1rem 0.9rem;
  }
  .obj-title {
    font-size: 1.12rem;
  }
  .obj-desc {
    font-size: 0.72rem;
    max-width: 230px;
  }
}

/* Mobile (≤820px): Premium Horizontal Swipe Experience */
@media (max-width: 820px) {
  .objectifs-section {
    padding: 1.75rem 0 2.45rem;
    overflow: hidden;
  }

  .objectifs-header {
    margin-bottom: 1.35rem;
  }

  .obj-mobile-indicator {
    display: flex;
    max-width: 320px;
    margin: 0 auto 1.15rem;
  }

  .objectifs-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.5rem 1.25rem 1.5rem;
    margin: 0 -1.25rem;
    max-width: 100%;
    scrollbar-width: none;
    grid-template-columns: unset;
  }

  .objectifs-grid::-webkit-scrollbar {
    display: none;
  }

  .obj-card {
    flex: 0 0 76vw;
    max-width: 300px;
    min-width: 250px;
    height: 505px;
    scroll-snap-align: center;
    border-radius: 20px;
  }

  .obj-card-content {
    padding: 1.7rem 1.15rem 0.9rem;
  }

  .obj-title {
    font-size: 1.15rem;
  }

  .obj-desc {
    font-size: 0.74rem;
    max-width: 235px;
  }

  .obj-cta {
    font-size: 0.65rem;
    padding: 0.48rem 1.15rem;
  }
}

.promo-banner-section {
  padding: 1rem 0 2.5rem 0;
  background: var(--bg-primary);
}


.promo-banner-link {
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-subtle);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-banner-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(229, 9, 20, 0.16);
  border-color: rgba(229, 9, 20, 0.4);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================================
   BRANDS MARQUEE — Supplement Brand Logo Strip
   ========================================================================== */

/* --- Section shell --- */
.brands-marquee-section {
  position: relative;
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  padding: 0;
  overflow: hidden;
  /* Small red left accent line */
  box-shadow: inset 3px 0 0 0 rgba(237, 28, 36, 0.12);
}

/* --- Soft left/right fade masks --- */
.brands-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.brands-fade--left {
  left: 0;
  background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}
.brands-fade--right {
  right: 0;
  background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

/* --- Scrolling track wrapper --- */
.brands-track-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 22px 0;
  cursor: default;
}

/* --- The scrolling row --- */
.brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 0;
  animation: brandsMarquee 38s linear infinite;
  will-change: transform;
}

/* Pause on hover */
.brands-track-wrapper:hover .brands-track {
  animation-play-state: paused;
}

/* Seamless infinite scroll keyframe */
@keyframes brandsMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* --- Individual logo items --- */
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}

.brand-logo-item:hover {
  opacity: 1;
  transform: scale(1.06);
}

/* SVG logo sizing — consistent height, auto width */
.brand-svg {
  height: 40px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* --- Dot separators between logos --- */
.brand-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.22);
  flex-shrink: 0;
  margin: 0 4px;
}

/* ==========================================================================
   BRANDS MARQUEE — Responsive
   ========================================================================== */

/* Tablet */
@media (max-width: 900px) {
  .brands-track-wrapper {
    padding: 18px 0;
  }
  .brand-logo-item {
    padding: 0 26px;
  }
  .brand-svg {
    height: 33px;
  }
  .brands-fade {
    width: 60px;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .brands-track-wrapper {
    padding: 14px 0;
  }
  .brand-logo-item {
    padding: 0 20px;
    opacity: 0.78;
  }
  .brand-svg {
    height: 26px;
  }
  .brands-fade {
    width: 40px;
  }
  .brand-sep {
    width: 3px;
    height: 3px;
  }
  .brands-track {
    animation-duration: 28s;
  }
}

.hero-tag {
  background: rgba(229, 9, 20, 0.15);
  border: 1px solid var(--border-red);
  color: var(--color-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.hero-headline {
  font-family: var(--font-heading);
  font-size: var(--title-hero-size);
  font-weight: var(--title-hero-weight);
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.hero-headline span {
  display: block;
  color: var(--text-primary);
}

.hero-headline .highlight {
  color: var(--color-red);
  text-shadow: 0 0 35px rgba(229, 9, 20, 0.5);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ==========================================================================
   4. SHOP BY GOAL
   ========================================================================== */
.goals-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.goal-card {
  position: relative;
  height: 380px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.goal-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
  filter: none;
}

.goal-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(229,9,20,0.72) 0%, rgba(229,9,20,0.34) 42%, rgba(229,9,20,0.05) 100%);
  transition: var(--transition-fast);
}

.goal-card-content {
  position: absolute;
  inset: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  z-index: 2;
}

.goal-card-title {
  font-family: var(--font-heading);
  font-size: clamp(1.12rem, 1.35vw, 1.28rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.35rem;
  color: #ffffff;
  transition: var(--transition-fast);
}

.goal-card-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.goal-card-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.goal-card:hover,
.goal-card:focus-visible,
.goal-card.is-selected {
  border-color: var(--color-red);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.25);
  transform: translateY(-4px);
  outline: none;
}

.goal-card:hover .goal-card-bg,
.goal-card:focus-visible .goal-card-bg,
.goal-card.is-selected .goal-card-bg {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.02);
}

.goal-card:hover .goal-card-overlay,
.goal-card:focus-visible .goal-card-overlay,
.goal-card.is-selected .goal-card-overlay {
  background: linear-gradient(to top, rgba(229,9,20,0.95) 0%, rgba(229,9,20,0.58) 48%, rgba(229,9,20,0.12) 100%);
}

.goal-card:hover .goal-card-title,
.goal-card:focus-visible .goal-card-title,
.goal-card.is-selected .goal-card-title {
  color: #ffffff;
}

.goal-card:hover .goal-card-desc,
.goal-card:focus-visible .goal-card-desc,
.goal-card.is-selected .goal-card-desc {
  color: rgba(255, 255, 255, 0.88);
}

.goal-card:hover .goal-card-arrow,
.goal-card:focus-visible .goal-card-arrow,
.goal-card.is-selected .goal-card-arrow {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #ffffff;
  transform: translateX(4px);
}

/* ==========================================================================
   5. PRODUCT CAROUSEL SYSTEM (Nouveautés & Best Sellers)
   ========================================================================== */
.carousel-wrapper {
  position: relative;
  width: 100%;
}

.carousel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-card);
}

.carousel-nav-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: var(--glow-red);
}

.carousel-nav-btn.prev { left: -20px; }
.carousel-nav-btn.next { right: -20px; }

.product-carousel {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.5rem 0.25rem 1.5rem 0.25rem;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.product-carousel::-webkit-scrollbar {
  display: none;
}

/* Product Card */
.product-card {
  flex: 0 0 calc(20% - 1.2rem);
  min-width: 210px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 12px 35px rgba(17, 17, 17, 0.14), 0 0 15px rgba(229, 9, 20, 0.12);
  transform: translateY(-4px);
}

.product-badges {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  z-index: 3;
}

.badge {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  line-height: 1;
}

.badge-new { background: var(--color-red); color: #fff; }
.badge-discount { background: #ffffff; color: #080808; }

.wishlist-toggle-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  z-index: 3;
  transition: var(--transition-fast);
}

.wishlist-toggle-btn:hover, .wishlist-toggle-btn.active {
  color: var(--color-red);
  background: rgba(229, 9, 20, 0.15);
  border-color: var(--color-red);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 185px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  cursor: pointer;
}

.product-image-container img {
  max-height: 160px;
  object-fit: contain;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-image-container img {
  transform: scale(1.08);
}

.product-brand {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin-bottom: 0.45rem;
  cursor: pointer;
  transition: color 0.2s;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.75rem;
}

.product-title:hover {
  color: var(--color-red);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}

.stars {
  color: #ffb703;
  letter-spacing: -2px;
}

.review-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin-top: auto;
  margin-bottom: 1rem;
}

.current-price {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
}

.old-price {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.add-to-cart-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-to-cart-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* Category Filter Tabs for Best Sellers */
.category-tabs {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.tab-btn {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #ffffff;
}

/* ==========================================================================
   7. PROMOTIONAL / PACK SECTION (BUILD YOUR STACK)
   ========================================================================== */
.stack-section {
  background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  overflow: hidden;
}

.stack-banner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.stack-banner-content {
  position: relative;
  z-index: 2;
}

.stack-tag {
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.stack-title {
  font-family: var(--font-heading);
  font-size: var(--title-section-size);
  font-weight: var(--title-section-weight);
  line-height: var(--title-section-lh);
  text-transform: uppercase;
  letter-spacing: var(--title-section-tracking);
  margin-bottom: 0.75rem;
}

.stack-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 480px;
}

.stack-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(17, 17, 17, 0.14), 0 0 30px rgba(229, 9, 20, 0.12);
  border: 1px solid var(--border-strong);
}

.stack-image-wrapper img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

/* ==========================================================================
   9. CLIENT REVIEWS / TESTIMONIALS (Compact 5-Card Product-Focused Carousel)
   ========================================================================== */
.reviews-section {
  padding: 3.5rem 0 3.75rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.reviews-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.reviews-header {
  text-align: center;
  margin-bottom: 2rem;
}

.reviews-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-red);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.reviews-title {
  font-family: var(--font-heading);
  font-size: var(--title-section-size);
  font-weight: var(--title-section-weight);
  text-transform: uppercase;
  letter-spacing: var(--title-section-tracking);
  line-height: var(--title-section-lh);
  color: #111111;
  margin-bottom: 0.4rem;
}

.reviews-title-red {
  color: var(--color-red);
}

.reviews-subtitle {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ── Carousel Wrapper ────────────────────────────── */
.reviews-carousel-wrapper {
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 2rem;
}

.reviews-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 0.5rem 0.25rem 1rem;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

/* ── Review Card (Desktop: 5 cards in 1 row) ─────── */
.review-card {
  flex: 0 0 calc((100% - 4 * 18px) / 5);
  min-width: 220px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-bottom: 2.5px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  scroll-snap-align: start;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-bottom-color 0.35s ease;
  position: relative;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
  border-bottom-color: var(--color-red);
}

/* ── Product Photography Media ───────────────────── */
.review-card-media {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f8fafc;
}

.review-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.review-card:hover .review-img {
  transform: scale(1.05);
}

.review-tag-unbox {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(17, 17, 17, 0.78);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 0.28rem 0.65rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* ── Review Card Body ────────────────────────────── */
.review-card-body {
  padding: 1.15rem 1.15rem 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.review-quote-icon {
  position: absolute;
  top: -4px;
  right: 12px;
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(229, 9, 20, 0.08);
  pointer-events: none;
  user-select: none;
}

.review-stars {
  color: #f59e0b;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.55rem;
  line-height: 1;
}

.review-quote {
  font-family: var(--font-body);
  font-size: 0.78rem;
  line-height: 1.5;
  color: #2b2f35;
  margin-bottom: 0.85rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-style: normal;
}

.review-quote-ar {
  direction: rtl;
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.55;
}

.review-card-divider {
  height: 1px;
  background: #f0f2f5;
  margin-bottom: 0.75rem;
}

/* ── Customer Footer ─────────────────────────────── */
.review-card-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
}

.review-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  color: #ffffff;
  border: 1.5px solid #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-gradient-1 { background: linear-gradient(135deg, #FF7200, #E50914); }
.avatar-gradient-2 { background: linear-gradient(135deg, #1683FF, #0056b3); }
.avatar-gradient-3 { background: linear-gradient(135deg, #00C853, #007e33); }
.avatar-gradient-4 { background: linear-gradient(135deg, #8E2DE2, #4A00E0); }
.avatar-gradient-5 { background: linear-gradient(135deg, #f59e0b, #d97706); }

.review-user-meta {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.review-user-name {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.review-user-city {
  font-family: var(--font-body);
  font-size: 0.68rem;
  color: #71767e;
  line-height: 1.2;
}

.review-verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #10b981;
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Carousel Arrows ─────────────────────────────── */
.reviews-nav-btn {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.reviews-nav-btn:hover {
  background: var(--color-red);
  color: #ffffff;
  border-color: var(--color-red);
  box-shadow: 0 6px 18px rgba(229, 9, 20, 0.35);
}

.reviews-nav-btn.prev { left: 0; }
.reviews-nav-btn.next { right: 0; }

/* ── Pagination Dots ─────────────────────────────── */
.reviews-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 1.25rem;
}

.reviews-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.reviews-dot.active {
  width: 24px;
  background: var(--color-red);
}

/* ── Scroll Entrance Animations ──────────────────── */
.reviews-section.is-anim-ready:not(.is-visible) .reviews-header {
  opacity: 0;
  transform: translateY(20px);
}

.reviews-section.is-anim-ready:not(.is-visible) .review-card {
  opacity: 0;
  transform: translateY(25px);
}

.reviews-section.is-visible .reviews-header {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reviews-section.is-visible .review-card {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              border-bottom-color 0.35s ease;
}

.reviews-section.is-visible .review-card[data-index="0"] { transition-delay: 0.1s; }
.reviews-section.is-visible .review-card[data-index="1"] { transition-delay: 0.18s; }
.reviews-section.is-visible .review-card[data-index="2"] { transition-delay: 0.26s; }
.reviews-section.is-visible .review-card[data-index="3"] { transition-delay: 0.34s; }
.reviews-section.is-visible .review-card[data-index="4"] { transition-delay: 0.42s; }

/* ── Responsive Adaptations ──────────────────────── */
@media (max-width: 1180px) and (min-width: 769px) {
  .reviews-carousel-wrapper {
    padding: 0 2.25rem;
  }
  .review-card {
    flex: 0 0 calc((100% - 2 * 16px) / 3);
    min-width: 230px;
  }
}

@media (max-width: 768px) {
  .reviews-section {
    padding: 2.75rem 0 3rem;
  }
  .reviews-header {
    margin-bottom: 1.5rem;
  }
  .reviews-carousel-wrapper {
    padding: 0 1rem;
    max-width: 100%;
  }
  .reviews-nav-btn {
    display: none;
  }
  .reviews-track {
    gap: 12px;
    padding: 0.5rem 0.5rem 1rem;
    margin: 0 -0.5rem;
  }
  .review-card {
    flex: 0 0 85vw;
    max-width: 320px;
    scroll-snap-align: center;
  }
  .review-card-media {
    height: 190px;
  }
}

/* ==========================================================================
   10. TON PARCOURS. NOTRE SOUTIEN. (EDITORIAL JOURNEY SECTION)
   ========================================================================== */
.parcours-journey-section {
  position: relative;
  background: #08080a;
  background: radial-gradient(circle at 82% 38%, rgba(237, 28, 36, 0.14) 0%, transparent 55%),
              radial-gradient(circle at 12% 75%, rgba(237, 28, 36, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #060608 0%, #0a0a0d 50%, #060608 100%);
  color: #ffffff;
  padding: 6.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* Container Grid */
.parcours-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* Left Column */
.parcours-left-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 1600px) {
  .parcours-container {
    max-width: 1560px;
    gap: 5.5rem;
  }
  .parcours-journey-section {
    padding: 7.5rem 0;
  }
}

/* Main Headline */
.parcours-headline {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 3.6vw, 3.5rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.parcours-headline-white {
  color: #ffffff;
  display: block;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.parcours-headline-red {
  color: #ED1C24;
  display: block;
  text-shadow: 0 0 30px rgba(237, 28, 36, 0.45);
}

/* Lead text */
.parcours-lead {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  margin-bottom: 2.25rem;
  font-weight: 400;
}

/* 4-Step Grid */
.parcours-steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.parcours-step-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 1.25rem 1.35rem;
  backdrop-filter: blur(8px);
  position: relative;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.28s ease,
              border-color 0.28s ease,
              box-shadow 0.28s ease;
  overflow: hidden;
}

.parcours-step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: #ED1C24;
  transition: height 0.28s ease;
}

.parcours-step-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(237, 28, 36, 0.38);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35), 0 0 20px rgba(237, 28, 36, 0.12);
}

.parcours-step-card:hover::before {
  height: 100%;
}

.step-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.65rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ED1C24;
  letter-spacing: 0.05em;
}

.step-icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: rgba(237, 28, 36, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ED1C24;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), background 0.28s ease;
}

.parcours-step-card:hover .step-icon-wrap {
  transform: scale(1.12) rotate(4deg);
  background: #ED1C24;
  color: #ffffff;
}

.step-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.03em;
  margin-bottom: 0.35rem;
  text-transform: uppercase;
}

.step-desc {
  font-family: var(--font-body);
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

/* Action Row (CTA + Trust) */
.parcours-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.parcours-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #ED1C24;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 1.05rem 2.2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(237, 28, 36, 0.4);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.parcours-cta-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.parcours-cta-btn:hover {
  background: #ff1f28;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(237, 28, 36, 0.6);
}

.parcours-cta-btn:hover::after {
  left: 140%;
}

.parcours-cta-arrow {
  transition: transform 0.25s ease;
}

.parcours-cta-btn:hover .parcours-cta-arrow {
  transform: translateX(4px);
}

.parcours-trust-badge {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.trust-stars {
  color: #ffb703;
  font-size: 0.92rem;
  letter-spacing: 2px;
}

.trust-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
}

/* Right Column: Visual Frame */
.parcours-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.parcours-visual-frame {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 4 / 3;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.65), 0 0 35px rgba(237, 28, 36, 0.2);
  background: #000000;
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
}

.parcours-visual-frame:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 75px rgba(0, 0, 0, 0.75), 0 0 50px rgba(237, 28, 36, 0.3);
}

.parcours-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 2;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.parcours-visual-frame:hover .parcours-visual-img {
  transform: scale(1.03);
}

/* Floating Badges */
.visual-badge {
  position: absolute;
  z-index: 3;
  background: rgba(10, 10, 14, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(14px);
  padding: 0.75rem 1.1rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.visual-badge-top {
  top: 1.25rem;
  right: 1.25rem;
  animation: badgeFloat 6s ease-in-out infinite alternate;
}

.visual-badge-bottom {
  bottom: 1.25rem;
  left: 1.25rem;
  animation: badgeFloat 7s ease-in-out infinite alternate-reverse;
}

@keyframes badgeFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ED1C24;
  box-shadow: 0 0 10px #ED1C24;
}

.badge-icon {
  font-size: 1.15rem;
}

.badge-content {
  display: flex;
  flex-direction: column;
}

.badge-title {
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
}

.badge-subtitle {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Scroll Animations */
.parcours-fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.parcours-visible .parcours-fade-in {
  opacity: 1;
  transform: translateY(0);
}

.parcours-visible .anim-delay-1 { transition-delay: 0.08s; }
.parcours-visible .anim-delay-2 { transition-delay: 0.16s; }
.parcours-visible .anim-delay-3 { transition-delay: 0.24s; }
.parcours-visible .anim-delay-4 { transition-delay: 0.32s; }
.parcours-visible .anim-delay-5 { transition-delay: 0.40s; }
.parcours-visible .anim-delay-6 { transition-delay: 0.48s; }
.parcours-visible .anim-delay-visual { transition-delay: 0.2s; }

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE):
   The section appears cleanly on desktop, tablet, and mobile.
   ========================================================================== */
@media (max-width: 991px) {
  .parcours-journey-section {
    padding: 4.5rem 0;
  }

  .parcours-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 0 1.5rem;
  }

  .parcours-left-col {
    align-items: center;
    text-align: center;
  }

  .parcours-headline {
    align-items: center;
    text-align: center;
    font-size: clamp(2rem, 5.5vw, 3rem);
  }

  .parcours-lead {
    text-align: center;
    max-width: 600px;
  }

  .parcours-action-row {
    justify-content: center;
    gap: 1.5rem;
  }

  .parcours-visual-frame {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .parcours-journey-section {
    padding: 3.5rem 0;
  }

  .parcours-container {
    padding: 0 1rem;
    gap: 2.25rem;
  }

  .parcours-steps-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    width: 100%;
  }

  .parcours-step-card {
    padding: 1.1rem 1.15rem;
    text-align: left;
  }

  .parcours-action-row {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 1rem;
  }

  .parcours-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }

  .parcours-trust-badge {
    align-items: center;
    text-align: center;
  }

  .visual-badge {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }

  .visual-badge-top {
    top: 0.75rem;
    right: 0.75rem;
  }

  .visual-badge-bottom {
    bottom: 0.75rem;
    left: 0.75rem;
  }
}

/* Compact white redesign */
.parcours-journey-section {
  background: #ffffff;
  color: #111111;
  padding: 2.75rem 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}

.parcours-container {
  grid-template-columns: minmax(0, 0.98fr) minmax(420px, 1.02fr);
  gap: clamp(2rem, 4vw, 4.25rem);
  align-items: center;
  max-width: 1320px;
  padding: 0 1.5rem;
}

.parcours-headline {
  font-size: clamp(1.85rem, 2.8vw, 2.65rem);
  line-height: 1.04;
  margin-bottom: 0.75rem;
  letter-spacing: 0;
}

.parcours-headline-white {
  color: #111111;
  text-shadow: none;
}

.parcours-headline-red {
  color: var(--color-red);
  text-shadow: none;
}

.parcours-lead {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #5f6672;
  max-width: 540px;
  margin-bottom: 1.1rem;
}

.parcours-steps-grid {
  gap: 0.7rem;
  margin-bottom: 1.05rem;
  width: 100%;
}

.parcours-step-card {
  min-height: 116px;
  background: #fbfbfc;
  border: 1px solid #e7e9ee;
  border-radius: 8px;
  padding: 0.78rem 0.9rem;
  backdrop-filter: none;
  box-shadow: 0 8px 22px rgba(17, 17, 17, 0.035);
}

.parcours-step-card::before {
  width: 2px;
  background: var(--color-red);
}

.parcours-step-card:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(229, 9, 20, 0.32);
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.08);
}

.step-card-header {
  margin-bottom: 0.45rem;
}

.step-number {
  font-size: 1rem;
  color: var(--color-red);
}

.step-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(229, 9, 20, 0.08);
  color: var(--color-red);
}

.parcours-step-card:hover .step-icon-wrap {
  background: var(--color-red);
  color: #ffffff;
}

.step-title {
  font-size: 0.82rem;
  line-height: 1.25;
  color: #111111;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 0.78rem;
  line-height: 1.4;
  color: #626a76;
}

.parcours-action-row {
  gap: 1rem;
}

.parcours-cta-btn {
  font-size: 0.8rem;
  padding: 0.78rem 1.25rem;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(229, 9, 20, 0.18);
}

.parcours-trust-badge {
  gap: 0.15rem;
}

.trust-stars {
  font-size: 0.82rem;
}

.trust-text {
  font-size: 0.78rem;
  color: #626a76;
}

.parcours-visual-col {
  justify-content: stretch;
}

.parcours-visual-frame {
  max-width: none;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  background: #f4f5f7;
  box-shadow: 0 16px 40px rgba(17, 17, 17, 0.08);
}

.parcours-visual-frame:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 46px rgba(17, 17, 17, 0.12);
}

.parcours-visual-img {
  object-fit: cover;
  object-position: center;
}

.visual-badge {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(229, 231, 235, 0.95);
  color: #111111;
  padding: 0.62rem 0.85rem;
  border-radius: 8px;
  gap: 0.55rem;
  box-shadow: 0 10px 26px rgba(17, 17, 17, 0.12);
}

.badge-title {
  color: #111111;
  font-size: 0.66rem;
}

.badge-subtitle {
  color: #626a76;
  font-size: 0.66rem;
}

@media (min-width: 1600px) {
  .parcours-container {
    max-width: 1400px;
    gap: 4.5rem;
  }

  .parcours-journey-section {
    padding: 3rem 0;
  }
}

@media (max-width: 991px) {
  .parcours-journey-section {
    padding: 2.35rem 0 2.55rem;
  }

  .parcours-container {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 0 1.25rem;
  }

  .parcours-left-col {
    align-items: flex-start;
    text-align: left;
  }

  .parcours-headline {
    align-items: flex-start;
    text-align: left;
    font-size: clamp(1.75rem, 4.8vw, 2.4rem);
  }

  .parcours-lead {
    text-align: left;
    margin-bottom: 1.15rem;
  }

  .parcours-action-row {
    justify-content: flex-start;
  }

  .parcours-visual-frame {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .parcours-journey-section {
    padding: 2rem 0 2.2rem;
  }

  .parcours-container {
    gap: 1.4rem;
    padding: 0 1rem;
  }

  .parcours-steps-grid {
    gap: 0.65rem;
  }

  .parcours-step-card {
    min-height: auto;
    padding: 0.75rem 0.85rem;
  }

  .parcours-action-row {
    align-items: stretch;
  }

  .parcours-cta-btn {
    width: 100%;
    padding: 0.86rem 1rem;
  }

  .parcours-trust-badge {
    align-items: flex-start;
    text-align: left;
  }

  .visual-badge {
    padding: 0.45rem 0.6rem;
  }
}

/* ==========================================================================
   11. ARABIC FITNESS & NUTRITION ARTICLES SYSTEM (GORILA ARTICLES & BLOG)
   ========================================================================== */

.gorila-blog-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  padding-top: 4.5rem;
  padding-bottom: 2.25rem;
}

.blog-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem auto;
}

.blog-main-title {
  font-family: var(--font-arabic);
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  line-height: 1.28;
  letter-spacing: -0.01em;
  text-align: center;
}

.blog-title-underline {
  width: 52px;
  height: 3.5px;
  background: var(--color-red);
  margin: 0 auto 0.9rem auto;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
}

.blog-main-subtitle {
  font-family: var(--font-arabic);
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 auto;
  font-weight: 500;
  text-align: center;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.85rem;
  direction: rtl;
}

/* Article Card */
.article-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
  position: relative;
  text-align: right;
  direction: rtl;
}

.article-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: var(--color-red);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.09);
  border-color: rgba(229, 9, 20, 0.28);
}

.article-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

/* Image Link & Aspect Ratio */
.article-card-img-link {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
}

.article-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-card:hover .article-card-img {
  transform: scale(1.05);
}

/* Card Body */
.article-card-body {
  padding: 1.25rem 1.35rem 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* Meta: Category & Reading Time */
.article-card-meta {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.76rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-arabic);
}

.article-badge {
  background: rgba(229, 9, 20, 0.08);
  color: var(--color-red);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.article-dot {
  color: #c4c7cc;
  font-size: 0.65rem;
}

.article-reading-time {
  color: var(--text-muted);
  font-weight: 500;
}

/* Card Title */
.article-card-title {
  font-family: var(--font-arabic);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.65rem;
}

.article-card-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s ease;
}

.article-card:hover .article-card-title a {
  color: var(--color-red);
}

/* Card Description */
.article-card-desc {
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.15rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Read More Button */
.article-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-arabic);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-red);
  text-decoration: none;
  align-self: flex-start;
  transition: transform 0.25s ease;
}

.article-read-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.article-card:hover .article-read-arrow {
  transform: translateX(-4px);
}

/* View all articles button container */
.blog-view-all-wrap {
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
}

.blog-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2rem;
  background: transparent;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-arabic);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.blog-view-all-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.35);
}

/* ==========================================================================
   ARTICLE PAGE DETAIL & BLOG HUB STYLES
   ========================================================================== */

.article-page-body {
  background-color: #fafafa;
  color: var(--text-primary);
  direction: rtl;
  text-align: right;
  font-family: var(--font-arabic);
}

.article-main-container {
  padding: 2.5rem 0 4.5rem;
}

/* Breadcrumbs */
.article-breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  font-family: var(--font-arabic);
}

.article-breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.article-breadcrumbs a:hover {
  color: var(--color-red);
}

.breadcrumb-sep {
  color: var(--border-strong);
}

.breadcrumb-current {
  color: var(--text-primary);
  font-weight: 600;
}

/* Article Hero Header */
.article-hero-header {
  max-width: 880px;
  margin-bottom: 2rem;
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.article-badge-lg {
  background: rgba(229, 9, 20, 0.1);
  color: var(--color-red);
  font-weight: 700;
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  font-size: 0.82rem;
  text-decoration: none;
}

.article-time-lg,
.article-date-lg {
  color: var(--text-muted);
  font-size: 0.82rem;
}

.article-main-h1 {
  font-family: var(--font-arabic);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.article-lead-p {
  font-size: 1.12rem;
  line-height: 1.8;
  color: var(--text-muted);
  max-width: 820px;
}

/* Hero Image Wrap */
.article-hero-image-wrap {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  border-radius: 14px;
  margin-bottom: 2.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--border-subtle);
}

.article-hero-image {
  width: 100%;
  height: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* Content Layout with Sticky Sidebar */
.article-content-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.article-content-body {
  background: #ffffff;
  padding: 2.5rem 2.75rem;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.article-content-body h2 {
  font-family: var(--font-arabic);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 2.2rem 0 1rem;
  line-height: 1.4;
  position: relative;
  padding-right: 0.85rem;
  border-right: 4px solid var(--color-red);
}

.article-content-body p {
  font-family: var(--font-arabic);
  font-size: 1.02rem;
  line-height: 1.85;
  color: #2d3139;
  margin-bottom: 1.35rem;
}

.article-content-body ul {
  margin: 1.25rem 0 1.6rem 0;
  padding-right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.article-content-body li {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #374151;
}

/* Callout Box */
.article-callout-box {
  background: #fff8f8;
  border: 1px solid rgba(229, 9, 20, 0.2);
  border-right: 4px solid var(--color-red);
  border-radius: 8px;
  padding: 1.35rem 1.5rem;
  margin: 2.25rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.callout-icon {
  font-size: 1.5rem;
}

.callout-text h4 {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 0.35rem;
}

.callout-text p {
  font-size: 0.92rem;
  margin-bottom: 0;
  color: #4b5563;
}

/* Store Banner */
.article-store-banner {
  background: #000000;
  color: #ffffff;
  padding: 2rem 2.2rem;
  border-radius: 10px;
  margin: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.store-banner-text h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: #ffffff;
}

.store-banner-text p {
  font-size: 0.88rem;
  color: #bbb;
  margin-bottom: 0;
}

.store-banner-btn {
  background: var(--color-red);
  color: #ffffff;
  padding: 0.85rem 1.6rem;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.25s ease;
  box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.store-banner-btn:hover {
  background: #ff121f;
  transform: translateY(-2px);
}

/* Related Products Inside Article */
.article-related-products {
  margin-top: 2.75rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.related-section-header {
  margin-bottom: 1.5rem;
}
.related-section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
}

.related-section-underline {
  width: 40px;
  height: 3px;
  background: var(--color-red);
  border-radius: 2px;
}

.article-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.article-product-card {
  background: #fdfdfd;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.25s, border-color 0.25s;
}

.article-product-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-red);
}

.article-product-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  margin-bottom: 0.85rem;
}

.article-product-name {
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--text-primary);
}
.article-product-price {
  font-weight: 700;
  color: var(--color-red);
  font-size: 1rem;
  margin-bottom: 0.85rem;
}

.article-product-btn {
  background: var(--text-primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s;
  width: 100%;
}

.article-product-btn:hover {
  background: var(--color-red);
}

/* Sidebar */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  position: sticky;
  top: 100px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.6rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.sidebar-cta-box {
  background: linear-gradient(145deg, #161616 0%, #000000 100%);
  color: #ffffff;
  border: 1px solid rgba(229, 9, 20, 0.4);
}

.sidebar-badge {
  display: inline-block;
  background: var(--color-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.sidebar-cta-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #fff;
}

.sidebar-cta-box p {
  font-size: 0.85rem;
  color: #bbb;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.sidebar-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.82rem;
  color: #eee;
}

.sidebar-shop-btn {
  display: block;
  text-align: center;
  background: var(--color-red);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s;
}

.sidebar-shop-btn:hover {
  background: #ff121f;
}

.sidebar-title {
  font-size: 1.0rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 0.5rem;
}

.sidebar-categories {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.sidebar-cat-link {
  display: block;
  padding: 0.6rem 0.8rem;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  background: #f8f9fa;
  transition: all 0.2s;
}

.sidebar-cat-link:hover {
  background: rgba(229, 9, 20, 0.08);
  color: var(--color-red);
  padding-right: 1.1rem;
}

/* Related Articles Section */
.related-articles-section {
  margin-top: 4.5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.related-section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.4rem;
}

/* Blog Hub Specific */
.blog-hub-header {
  text-align: center;
  max-width: 820px;
  margin: 1rem auto 3rem auto;
}

.blog-hub-tag {
  display: inline-block;
  background: rgba(229, 9, 20, 0.1);
  color: var(--color-red);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
}

.blog-filters-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
}

.blog-filter-btn {
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-family: var(--font-arabic);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 1.15rem;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.blog-filter-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
}

.blog-filter-btn.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

/* ==========================================================================
   RESPONSIVE DESIGN (ARTICLES & BLOG)
   ========================================================================== */

@media (max-width: 1024px) {
  .article-content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .article-sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .article-content-body {
    padding: 1.75rem;
  }
  .article-store-banner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  /* Horizontal swipe carousel for mobile, zero page overflow */
  .articles-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 1.25rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(229, 9, 20, 0.3) transparent;
  }
  .articles-grid::-webkit-scrollbar {
    height: 4px;
  }
  .articles-grid::-webkit-scrollbar-thumb {
    background: rgba(229, 9, 20, 0.3);
    border-radius: 4px;
  }
  .article-card {
    flex: 0 0 85%;
    min-width: 270px;
    scroll-snap-align: center;
  }
  .article-main-h1 {
    font-size: 1.85rem;
  }
  .article-content-body {
    padding: 1.25rem 1rem;
  }
}

/* ==========================================================================
   12. NEWSLETTER & SQUAD COMMUNITY
   ========================================================================== */
.squad-community-section {
  padding-top: 1.5rem;
  padding-bottom: 4rem;
  background-color: var(--bg-primary);
}

.newsletter-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem 2.25rem;
  text-align: center;
  position: relative;
  overflow: visible;
}


.newsletter-form {
  max-width: 500px;
  margin: 2rem auto 0 auto;
  display: flex;
  gap: 0.5rem;
}

.newsletter-input {
  flex-grow: 1;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--color-red);
}


/* ==========================================================================
   12b. SQUAD SOCIAL CARDS
   ========================================================================== */

/* ── Entry animation keyframe ── */
@keyframes squadCardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Grid container ── */
.squad-social-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-top: 1.8rem;
  /* Use ~90% of the newsletter-box width — no artificial cap */
  width: 100%;
  max-width: none;
}

/* ── Individual card ── */
.squad-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.15rem;
  min-height: 88px;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-subtle, #e8e8e8);
  border-radius: 11px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-decoration: none;
  color: var(--text-primary, #111);
  cursor: pointer;
  /* Entry animation */
  opacity: 1;
  transform: translateY(0);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease;
  will-change: transform, opacity;
  position: relative;
  overflow: visible;
}

/* staggered entry delays */
.squad-card:nth-child(1) { animation-delay: 0ms; }
.squad-card:nth-child(2) { animation-delay: 100ms; }
.squad-card:nth-child(3) { animation-delay: 200ms; }
.squad-card:nth-child(4) { animation-delay: 300ms; }

/* when JS triggers animation */
.squad-card.squad-animated {
  animation: squadCardIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

/* ── Icon wrapper ── */
.squad-card-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red, #e50914);
  transition: transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.squad-card-icon svg {
  width: 24px;
  height: 24px;
}

/* ── Thin vertical divider ── */
.squad-card-divider {
  flex-shrink: 0;
  width: 1px;
  height: 36px;
  background: var(--border-subtle, #e2e2e2);
  transition: background 0.28s ease;
}

/* ── Text block ── */
.squad-card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: left;
  min-width: 0;
}

.squad-card-platform {
  font-family: var(--font-heading, 'Barlow Condensed', sans-serif);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary, #111);
  transition: color 0.28s ease;
  white-space: nowrap;
  line-height: 1.25;
}

.squad-card-handle {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--text-primary, #111);
  transition: color 0.28s ease;
  /* Keep on one line — cards are now wide enough */
  white-space: nowrap;
  line-height: 1.35;
}

.squad-card-sub {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-weight: 400;
  font-size: 0.74rem;
  color: var(--text-muted, #888);
  white-space: nowrap;
  line-height: 1.35;
  margin-top: 1px;
}

/* ── Arrow button ── */
.squad-card-arrow {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border-subtle, #e2e2e2);
  border-radius: 50%;
  background: rgba(0,0,0,0.02);
  color: var(--text-muted, #999);
  transition:
    transform 0.28s cubic-bezier(0.22, 0.61, 0.36, 1),
    border-color 0.28s ease,
    color 0.28s ease,
    background 0.28s ease;
}

.squad-card-arrow svg {
  width: 14px;
  height: 14px;
}

/* ── Hover states ── */
.squad-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-red, #e50914);
  box-shadow: 0 10px 28px rgba(229, 9, 20, 0.14);
}

.squad-card:hover .squad-card-icon {
  transform: scale(1.05);
}

.squad-card:hover .squad-card-platform,
.squad-card:hover .squad-card-handle {
  color: var(--color-red, #e50914);
}

.squad-card:hover .squad-card-divider {
  background: rgba(229, 9, 20, 0.3);
}

.squad-card:hover .squad-card-arrow {
  transform: translateX(3px);
  border-color: var(--color-red, #e50914);
  color: var(--color-red, #e50914);
  background: rgba(229, 9, 20, 0.06);
}

/* ── Mobile: horizontal scroll-snap carousel ── */
@media (max-width: 768px) {
  .squad-social-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .squad-social-grid::-webkit-scrollbar {
    display: none;
  }
  .squad-card {
    flex: 0 0 80%;
    min-width: 260px;
    scroll-snap-align: start;
    padding: 1.1rem 1.15rem;
  }
}

@media (max-width: 480px) {
  .squad-card {
    flex: 0 0 88%;
    min-width: 240px;
  }
}

/* ==========================================================================
   13. FOOTER
   ========================================================================== */

.site-footer {
  background: #c90812;
  background: linear-gradient(180deg, #d30812 0%, #b80710 100%);
  border-top: 3px solid #99050d;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.official-brand-logo.footer-logo-img {
  height: 44px;
  filter: brightness(0) invert(1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1.35fr 1fr 1.45fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.footer-brand-desc {
  margin-top: 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
  display: inline-block;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.social-icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d30812;
  transition: var(--transition-fast);
}

.social-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-btn:nth-child(2) svg,
.social-icon-btn:nth-child(3) svg {
  fill: currentColor;
  stroke: none;
}

.social-icon-btn .whatsapp-icon {
  fill: currentColor;
  stroke: none;
  width: 20px;
  height: 20px;
}

.social-icon-btn:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(229, 9, 20, 0.18);
}

.footer-map-card {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #ffffff;
  transition: var(--transition-fast);
}

.footer-map-card:hover {
  border-color: var(--color-red);
  box-shadow: 0 12px 30px rgba(17, 17, 17, 0.1);
}

.footer-map-embed {
  display: block;
  width: 100%;
  height: 145px;
  border: 0;
}

.footer-map-link {
  display: block;
  padding: 0.9rem 1rem 1rem;
  background: #ffffff;
  transition: var(--transition-fast);
}

.footer-map-link:hover {
  background: rgba(229, 9, 20, 0.06);
}

.footer-map-link strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.footer-map-link small {
  display: block;
  color: var(--text-muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ==========================================================================
   14. MODALS & SLIDE DRAWERS
   ========================================================================== */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 17, 17, 0.35);
  backdrop-filter: blur(8px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.overlay-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

/* Slide Drawer (Cart & Wishlist & Mobile Nav) */
.slide-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 440px;
  height: 100%;
  background: var(--bg-secondary);
  z-index: 2001;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(17, 17, 17, 0.16);
  border-left: 1px solid var(--border-subtle);
  visibility: hidden;
  pointer-events: none;
}

.slide-drawer.active {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

#mobileDrawer.active {
  transform: translateX(0) !important;
}

.drawer-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
}

.drawer-close-btn {
  font-size: 1.4rem;
  color: var(--text-muted);
  transition: color 0.2s;
}

.drawer-close-btn:hover { color: var(--color-red); }

.drawer-body {
  padding: 1.5rem;
  flex-grow: 1;
  overflow-y: auto;
}

.drawer-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-subtle);
  background: var(--bg-card);
}

/* Cart Specific */
.free-shipping-bar {
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--border-red);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.progress-track {
  height: 6px;
  background: var(--border-subtle);
  border-radius: 3px;
  margin-top: 0.5rem;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--color-red);
  width: 70%;
  transition: width 0.3s ease;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.cart-item-img {
  width: 75px;
  height: 75px;
  object-fit: contain;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
  padding: 0.25rem;
}

.cart-item-info {
  flex-grow: 1;
  min-width: 0;
}

.cart-item-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  overflow-wrap: anywhere;
}

.cart-item-variant {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
}

.qty-btn {
  padding: 0.2rem 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.qty-btn:hover { color: var(--color-red); }

.qty-btn:disabled {
  color: var(--text-dim);
  cursor: not-allowed;
  opacity: 0.45;
}

.qty-val {
  padding: 0 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-actions {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cart-item-price {
  justify-self: end;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
}

.cart-remove-btn {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.cart-remove-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-remove-btn:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background: rgba(229, 9, 20, 0.08);
}

/* Modal Popup (Product Detail & COD Checkout) */
.modal-window {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%) scale(0.95);
  width: 90%;
  max-width: 900px;
  max-height: 90vh;
  background: var(--bg-secondary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  z-index: 2002;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(17, 17, 17, 0.18);
}

.modal-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-red);
  color: #fff;
}

/* ============================================================
   PRODUCT DETAIL MODAL — Gallery + Info Layout
   ============================================================ */

#productDetailModal {
  max-width: 960px;
  overflow: hidden;
  padding: 0;
}

/* Close button needs z-index to float above the grid content */
#productDetailModal .modal-close-btn {
  z-index: 20;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 0;
}

/* ---- LEFT: Gallery ---- */
.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 2rem 1.5rem 2rem 2rem;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-subtle);
}

.detail-wishlist-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 6;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  color: var(--text-muted);
}
.detail-wishlist-btn:hover,
.detail-wishlist-btn.active {
  color: var(--color-red);
  border-color: var(--color-red);
  background: #ffffff;
}

.detail-main-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.detail-main-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.25rem;
  display: block;
  transition: opacity 0.15s ease;
}

.detail-main-img.gallery-img-fade { opacity: 0; }

/* Gallery arrows */
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
  line-height: 1;
}
.gallery-arrow:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #fff;
  box-shadow: var(--glow-red);
}
.gallery-arrow-prev { left: 0.6rem; }
.gallery-arrow-next { right: 0.6rem; }

/* Image counter */
.gallery-counter {
  position: absolute;
  bottom: 0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(17,17,17,0.62);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  pointer-events: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

/* Thumbnail strip */
.detail-thumbs-wrapper {
  width: 100%;
  overflow: hidden;
}

.detail-thumbs {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.detail-thumbs::-webkit-scrollbar { display: none; }

.detail-thumb-btn {
  flex: 0 0 68px;
  height: 68px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 2px solid var(--border-subtle);
  overflow: hidden;
  padding: 0.25rem;
  cursor: pointer;
  transition: border-color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.detail-thumb-btn:hover { border-color: var(--border-strong); }
.detail-thumb-btn.active {
  border-color: var(--color-red);
  box-shadow: 0 0 0 1px var(--color-red);
}

/* ---- RIGHT: Product Info ---- */
.detail-info {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 2rem 1.75rem;
  overflow-y: auto;
  max-height: 88vh;
}

.detail-brand {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.detail-product-title {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 800;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.detail-rating {
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
}

.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
}

.detail-current-price {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--color-red);
  line-height: 1;
}

.detail-old-price {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 500;
}

.detail-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.detail-option-group {
  margin-bottom: 1rem;
}

/* Quantity control */
.detail-qty-row {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.detail-qty-control {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.detail-qty-btn {
  width: 40px;
  height: 42px;
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-qty-btn:hover:not(:disabled) {
  background: rgba(229,9,20,0.1);
  color: var(--color-red);
}
.detail-qty-btn:disabled { opacity: 0.35; cursor: not-allowed; }

.detail-qty-val {
  min-width: 44px;
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  border-left: 1px solid var(--border-subtle);
  border-right: 1px solid var(--border-subtle);
  padding: 0 0.5rem;
  line-height: 42px;
  display: block;
}

/* CTA */
.detail-cta-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.detail-add-btn {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.88rem;
  padding: 0.9rem 1.25rem;
}

.detail-buy-btn {
  flex: 0 0 auto;
  font-size: 0.82rem;
  padding: 0.9rem 1.1rem;
  white-space: nowrap;
}

/* Trust badges */
.detail-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: auto;
}

.detail-trust-item {
  font-size: 0.79rem;
  color: var(--text-muted);
}



.variant-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.option-chip {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition-fast);
}

.option-chip:hover, .option-chip.selected {
  border-color: var(--color-red);
  background: rgba(229, 9, 20, 0.15);
  color: var(--color-red);
}

/* COD Checkout Form */
.checkout-modal-body {
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.form-input, .form-select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--color-red);
}

.cod-badge-box {
  background: rgba(229, 9, 20, 0.1);
  border: 1px solid var(--border-red);
  padding: 1rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* Search Overlay */
.search-modal-content {
  padding: 3rem;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.search-main-input {
  width: 100%;
  padding: 1.2rem 1.5rem 1.2rem 3.5rem;
  background: var(--bg-card);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1.2rem;
  outline: none;
}

.search-main-input:focus {
  border-color: var(--color-red);
}

.search-icon-pos {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--text-muted);
}

/* Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--color-red);
  border-left: 4px solid var(--color-red);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card), 0 0 15px rgba(229, 9, 20, 0.18);
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transform: translateY(150%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.active {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   15. BOUTIQUE CATALOG PAGE
   ========================================================================== */
.boutique-catalog-section {
  background: var(--bg-primary);
  padding-top: 3.5rem;
}

.boutique-products-title {
  display: block;
  margin-bottom: 2rem;
  text-align: left;
}

.boutique-products-title::after {
  margin-left: 0;
}

.boutique-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.boutique-toolbar .section-header,
.boutique-toolbar .section-title,
.boutique-toolbar .section-subtitle {
  text-align: left;
}

.boutique-toolbar .section-title::after {
  margin-left: 0;
}

.boutique-filter-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.boutique-filter-btn {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.boutique-filter-btn:hover,
.boutique-filter-btn.active {
  background: var(--color-red);
  border-color: var(--color-red);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(229, 9, 20, 0.18);
}

.boutique-product-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.1rem;
}

.boutique-product-grid .product-card {
  min-width: 0;
  width: 100%;
  flex: none;
  padding: 1rem;
}

.boutique-product-grid .product-image-container {
  height: 190px;
}

.boutique-product-grid .product-image-container img {
  max-height: 165px;
}

.boutique-product-grid .product-title {
  font-size: 0.92rem;
}

.boutique-product-grid .current-price {
  font-size: 1.18rem;
}

.boutique-product-grid .add-to-cart-btn {
  padding: 0.72rem 0.65rem;
  font-size: 0.75rem;
}

/* ==========================================================================
   16. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1200px) {
  .main-nav { display: none; }
  .mobile-toggle-btn { display: block; }
  /* Carousel: 3 visible cards on tablet */
  .product-card { flex: 0 0 calc(33.333% - 1rem); min-width: 190px; }
  .boutique-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .goals-grid { grid-template-columns: repeat(2, 1fr); }
  /* Categories: 3 per row on tablet (5 cards) */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 900px) {
  .site-header { height: 70px; }
  
  .hero-headline { font-size: 3rem; }

  /* Hero video — tablet */
  .hero-section {
    height: clamp(480px, 70vh, 600px);
    min-height: 480px;
    max-height: 600px;
  }
  .hero-arabic-title {
    font-size: clamp(2.1rem, 4.6vw, 2.9rem);
    gap: 0.5rem;
  }
  .hero-benefits {
    gap: 1.1rem;
    padding: 0.7rem 1.3rem;
  }
  .stack-banner-grid, .mindset-layout { grid-template-columns: 1fr; gap: 2rem; }
  
  /* Carousel: 2 visible cards on smaller tablet */
  .product-card { flex: 0 0 calc(50% - 0.75rem); min-width: 200px; }
  .boutique-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .boutique-toolbar { align-items: flex-start; flex-direction: column; }
  .boutique-filter-bar { justify-content: flex-start; }
  .blog-grid { grid-template-columns: 1fr; }

  /* Product detail: switch to single column on tablet */
  #productDetailModal {
    width: 94%;
    max-height: 92vh;
    overflow-y: auto;
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-gallery {
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .detail-info {
    padding: 1.5rem;
    max-height: none;
    overflow-y: visible;
  }
  .detail-main-img-wrap {
    max-height: 340px;
    aspect-ratio: auto;
    height: 340px;
  }

  /* Categories: still 3 per row */
  
  .carousel-nav-btn { display: none; }
}

@media (max-width: 600px) {
  .container { padding: 0 1rem; }
  .official-brand-logo { height: 40px; max-width: 120px; }
  .header-actions { gap: 0.5rem; }
  .action-icon-btn { width: 36px; height: 36px; }
  .mobile-toggle-btn { font-size: 1.35rem; }
  .goals-grid { grid-template-columns: 1fr; }
  .goal-card { height: 300px; }
  /* Categories: 2 per row on mobile */
  
  .hero-stats { flex-direction: column; align-items: flex-start; gap: 1rem; }

  /* Hero video — mobile */
  .hero-section {
    height: clamp(460px, 75vh, 560px);
    min-height: 460px;
    max-height: 560px;
  }
  .hero-content-wrapper {
    padding: 0 1rem;
  }
  .hero-content-center {
    padding: 1rem 0;
  }
  .hero-arabic-title {
    font-size: clamp(1.75rem, 6.8vw, 2.35rem);
    white-space: normal;
    flex-wrap: wrap;
    gap: 0.25rem;
    line-height: 1.35;
    margin-bottom: 1.75rem;
  }
  .hero-cta {
    width: 100%;
    max-width: 290px;
    height: 54px;
    font-size: 0.94rem;
    margin-bottom: 1.85rem;
  }
  .hero-benefits {
    gap: 0.65rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    width: 100%;
    max-width: 380px;
    justify-content: space-around;
  }
  .hero-benefit-icon {
    width: 28px;
    height: 28px;
  }
  .hero-benefit-icon svg {
    width: 15px;
    height: 15px;
  }
  .hero-benefit-text strong {
    font-size: 0.65rem;
  }
  .hero-benefit-text span {
    font-size: 0.58rem;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  
  /* Product carousels: two full products plus partial third card preview */
  .product-carousel {
    gap: 9px;
    padding: 0.25rem 0 0.95rem;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .product-carousel::-webkit-scrollbar {
    display: none;
  }
  .product-carousel .product-card {
    flex: 0 0 calc((100% - 18px) / 2.22);
    width: calc((100% - 18px) / 2.22);
    min-width: calc((100% - 18px) / 2.22);
    max-width: calc((100% - 18px) / 2.22);
    padding: 0.52rem 0.48rem;
    border-radius: var(--radius-sm);
    scroll-snap-align: start;
    box-sizing: border-box;
  }
  .product-badges {
    top: 0.55rem;
    left: 0.55rem;
  }
  .badge {
    font-size: 0.5rem;
    letter-spacing: 0.02em;
    padding: 0.2rem 0.34rem;
  }
  .wishlist-toggle-btn {
    top: 0.5rem;
    right: 0.5rem;
    width: 27px;
    height: 27px;
  }
  .wishlist-toggle-btn svg {
    width: 14px;
    height: 14px;
  }
  .product-image-container {
    height: 112px;
    margin-bottom: 0.55rem;
  }
  .product-image-container img {
    max-height: 96px;
    max-width: 92%;
  }
  .product-brand {
    font-size: 0.56rem;
    letter-spacing: 0.045em;
    margin-bottom: 0.18rem;
  }
  .product-title {
    font-size: 0.84rem;
    line-height: 1.24;
    height: 2.1rem;
    margin-bottom: 0.35rem;
  }
  .product-rating {
    gap: 0.22rem;
    font-size: 0.68rem;
    margin-bottom: 0.55rem;
    white-space: nowrap;
  }
  .stars {
    letter-spacing: -1.8px;
  }
  .review-count {
    font-size: 0.62rem;
  }
  .product-price-row {
    gap: 0.34rem;
    margin-bottom: 0.55rem;
    min-width: 0;
    flex-wrap: wrap;
    row-gap: 0.1rem;
  }
  .current-price {
    font-size: 0.98rem;
    line-height: 1.1;
  }
  .old-price {
    font-size: 0.68rem;
  }
  .add-to-cart-btn {
    min-height: 34px;
    padding: 0.48rem 0.28rem;
    gap: 0.25rem;
    font-size: 0.62rem;
    letter-spacing: 0.015em;
    line-height: 1.05;
  }
  .add-to-cart-btn svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .boutique-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .boutique-product-grid .product-card {
    padding: 0.55rem;
  }
  .boutique-product-grid .product-image-container {
    height: 112px;
  }
  .boutique-product-grid .product-image-container img {
    max-height: 96px;
  }
  .boutique-product-grid .product-title {
    font-size: 0.84rem;
  }
  .boutique-product-grid .current-price {
    font-size: 0.98rem;
  }
  .boutique-product-grid .add-to-cart-btn {
    padding: 0.48rem 0.28rem;
    font-size: 0.62rem;
  }
  .boutique-catalog-section { padding-top: 2.5rem; }
  .boutique-products-title { margin-bottom: 1.5rem; }
  .cart-item { gap: 0.75rem; }
  .cart-item-img { width: 64px; height: 64px; }
  .cart-item-actions {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }
  .cart-item-price { justify-self: start; }
  .cart-remove-btn { grid-column: 2; grid-row: 1 / span 2; }
  .footer-map-embed { height: 170px; }

  /* Product detail: compact mobile layout */
  #productDetailModal {
    width: 95%;
    max-height: 94vh;
    border-radius: var(--radius-md);
  }
  .detail-wishlist-btn {
    width: 34px;
    height: 34px;
    top: 0.5rem;
    right: 0.5rem;
  }
  .detail-gallery {
    padding: 1rem 1rem 0.75rem 1rem;
  }
  .detail-info {
    padding: 1rem;
  }
  .detail-main-img-wrap {
    max-height: 280px;
    aspect-ratio: auto;
    height: 280px;
  }
  .detail-thumb-btn {
    flex: 0 0 56px;
    height: 56px;
  }
  .detail-product-title {
    font-size: 1.1rem;
  }
  .detail-current-price {
    font-size: 1.4rem;
  }
  .detail-cta-row {
    flex-direction: column;
  }
  .detail-add-btn,
  .detail-buy-btn {
    width: 100%;
    flex: 0 0 auto;
  }
  .gallery-arrow {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   17. HIDE SPECIFIED SECTIONS ON MOBILE ONLY
   ========================================================================== */

/* Hide "مقالات ونصائح غذائية" Arabic blog articles section on mobile */
@media (max-width: 767px) {
  #blogSection {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

/* Ensure desktop-only blog content stays fully visible on tablet and desktop */
@media (min-width: 768px) {
  #blogSection { display: block !important; visibility: visible !important; }
}

/* ==========================================================================
   18. WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45), 0 2px 10px rgba(0, 0, 0, 0.22);
  z-index: 9998;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, background 0.2s ease;
  animation: waEnter 0.65s cubic-bezier(0.16, 1, 0.3, 1) 1.2s both;
}

@keyframes waEnter {
  from { opacity: 0; transform: scale(0.35) translateY(30px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}

/* Subtle pulse ring */
.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.38);
  animation: waPulse 2.8s ease-out infinite;
  z-index: -1;
}

@keyframes waPulse {
  0%   { transform: scale(1);    opacity: 0.65; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

.whatsapp-float-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
  flex-shrink: 0;
  display: block;
}

@media (hover: hover) {
  .whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6), 0 4px 15px rgba(0, 0, 0, 0.28);
    background: #20bc5a;
  }
  .whatsapp-float-btn:hover::before {
    animation-play-state: paused;
  }
}

.whatsapp-float-btn:active {
  transform: scale(0.95);
}

@media (max-width: 767px) {
  .whatsapp-float-btn {
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    right: 16px;
    width: 56px;
    height: 56px;
  }
  .whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
  }
  /* Push toast above WhatsApp button */
  .toast-notification {
    bottom: 86px;
    right: 1rem;
    left: 1rem;
    max-width: calc(100vw - 2rem);
  }
}

@media (max-width: 360px) {
  .whatsapp-float-btn {
    width: 50px;
    height: 50px;
    bottom: 16px;
    right: 14px;
  }
  .whatsapp-float-btn svg {
    width: 27px;
    height: 27px;
  }
}

/* ==========================================================================
   19. ADDITIONAL MOBILE RESPONSIVE IMPROVEMENTS
   ========================================================================== */

@media (max-width: 767px) {
  body {
    display: flex;
    flex-direction: column;
  }

  body > * {
    order: 20;
  }

  .site-header {
    --header-height: 108px;
    order: 0;
    height: var(--header-height);
    overflow: visible;
  }

  .header-inner {
    position: relative;
    height: 60px;
    justify-content: center;
    padding: 0 1rem;
  }

  .site-header .brand-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
  }

  .site-header .brand-logo:hover .official-brand-logo {
    transform: none;
  }

  .site-header .official-brand-logo {
    height: 38px;
    max-width: 128px;
  }

  .header-actions {
    position: static;
    width: 100%;
    gap: 0;
  }

  .mobile-toggle-btn,
  #cartToggleBtn {
    position: absolute;
    top: 50%;
    z-index: 3;
    transform: translateY(-50%);
  }

  .mobile-toggle-btn {
    left: 1rem;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    font-size: 1.28rem;
    line-height: 1;
  }

  #cartToggleBtn {
    right: 1rem;
    width: 38px;
    height: 38px;
  }

  /* Mobile Search Bar: Clean dark bar with subtle red outline directly below header */
  .header-search-container {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: 60px;
    width: calc(100% - 2rem);
    height: 42px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
  }

  .header-search-container .search-toggle-btn {
    display: none !important;
  }

  .header-search-bar {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 38px !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 999px !important;
    background: #0d0d11 !important;
    border: 1px solid var(--color-red) !important;
    padding: 0 8px 0 14px !important;
    display: flex !important;
    align-items: center !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.45) !important;
    box-sizing: border-box !important;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  }

  .header-search-container.is-open .header-search-bar {
    width: 100% !important;
  }

  .header-search-bar:focus-within {
    border-color: var(--color-red) !important;
    background: #08080b !important;
    box-shadow: 0 0 0 2px rgba(237, 7, 18, 0.28), 0 4px 14px rgba(0, 0, 0, 0.8) !important;
  }

  .header-search-bar-icon {
    flex-shrink: 0 !important;
    color: var(--color-red) !important;
    width: 17px !important;
    height: 17px !important;
    margin-right: 9px !important;
    cursor: pointer !important;
  }

  .header-search-input {
    flex: 1 !important;
    min-width: 0 !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #ffffff !important;
    font-family: var(--font-body) !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    padding: 0 !important;
  }

  .header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.58) !important;
    font-size: 0.82rem !important;
  }

  .header-search-close-btn {
    flex-shrink: 0 !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: none !important;
    color: rgba(255, 255, 255, 0.7) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    margin-left: 6px !important;
    transition: background 0.2s ease, color 0.2s ease !important;
  }

  .header-search-close-btn:hover,
  .header-search-close-btn:active {
    background: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
  }

  .trust-bar-ticker {
    order: 4;
    height: 36px;
    min-height: 36px;
    max-height: 36px;
  }

  #heroSection {
    order: 1;
  }

  #categories-nav {
    order: 2;
  }

  #nouveautes {
    order: 3;
  }

  #objectifs {
    order: 5;
  }

  #categories-nav .shop-categories-header {
    display: none;
  }

  .shop-categories-section {
    padding: 1.1rem 0 1.2rem;
  }

  .shop-categories-mobile-hint,
  .obj-mobile-indicator {
    color: var(--color-red);
  }

  .shop-categories-mobile-hint {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.35rem;
    padding-right: 0.25rem;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
  }

  .obj-swipe-hint {
    color: var(--color-red);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.13em;
  }

  .shop-categories-track {
    padding-top: 0.15rem;
    padding-bottom: 0.7rem;
  }

  .shop-categories-dots {
    margin-top: 0.15rem;
  }

  /* Section padding reduction */
  .section-padding { padding: 2.35rem 0; }

  #nouveautes.section-padding {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }

  /* Section title */
  .section-title {
    font-size: clamp(1.35rem, 5.5vw, 1.85rem);
    line-height: 1.08;
  }

  .section-title::after {
    margin-top: 6px;
  }

  .section-header {
    margin-bottom: 0.55rem;
    gap: 0.15rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .section-subtitle,
  .objectifs-subtitle,
  .reviews-subtitle,
  .blog-main-subtitle,
  .parcours-lead {
    font-size: clamp(0.72rem, 3.1vw, 0.8rem);
    line-height: 1.3;
    margin-top: 0.15rem;
    margin-bottom: 0.15rem;
    max-width: 100%;
  }

  .section-subtitle {
    white-space: normal;
  }

  .section-header .view-all-btn {
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: var(--text-muted);
    text-decoration: none;
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    padding: 0;
    margin: 0.15rem auto 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    transition: color 0.2s ease, transform 0.2s ease;
  }

  .section-header .view-all-btn:hover,
  .section-header .view-all-btn:active {
    color: var(--color-red);
    transform: translateX(3px);
  }

  /* Horizontal Product Carousels: two full products plus partial third card preview */
  .product-carousel {
    gap: 9px;
    padding: 0.25rem 0 0.95rem;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .product-carousel::-webkit-scrollbar {
    display: none;
  }
  .product-carousel .product-card {
    flex: 0 0 calc((100% - 18px) / 2.22);
    width: calc((100% - 18px) / 2.22);
    min-width: calc((100% - 18px) / 2.22);
    max-width: calc((100% - 18px) / 2.22);
    padding: 0.52rem 0.48rem;
    border-radius: var(--radius-sm);
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .objectifs-section {
    padding-top: 1.55rem;
  }

  .objectifs-header {
    margin-bottom: 0.95rem;
  }

  .objectifs-main-title {
    font-size: clamp(1.32rem, 5.4vw, 1.78rem);
    line-height: 1.08;
    margin-bottom: 0.25rem;
  }

  .objectifs-header::after {
    margin-top: 7px;
  }

  .objectifs-subtitle {
    max-width: 100%;
  }

  .obj-mobile-indicator {
    margin-bottom: 0.7rem;
  }

  /* Newsletter box */
  .newsletter-box {
    padding: 1.5rem 1rem;
    border-radius: var(--radius-md);
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
  }
  .newsletter-input {
    width: 100%;
    min-width: 0;
  }

  /* Footer */
  .site-footer { padding-top: 2.5rem; }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  .footer-brand-desc { max-width: 100%; font-size: 0.85rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 0.75rem; }
  .footer-map-embed { height: 140px; }

  /* Boutique filter bar: horizontal scroll */
  .boutique-toolbar { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .boutique-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: flex-start;
  }
  .boutique-filter-bar::-webkit-scrollbar { display: none; }
  .boutique-filter-btn { flex-shrink: 0; white-space: nowrap; }
  .boutique-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px; }


  /* Promo banner */
  .promo-banner-section { overflow: hidden; }
  .promo-banner-link img {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 120px;
  }

  /* Brands marquee */
  .brand-logo-item { padding: 0 20px; }

  /* Reviews section */
  .reviews-section { padding: 2.5rem 0 3rem; }

  /* Modal sizing */
  .modal-window {
    width: 97%;
    max-width: 97%;
    max-height: 92vh;
    border-radius: var(--radius-md);
  }
  .checkout-modal-body { padding: 1.5rem 1rem; }
  .search-modal-content { padding: 1.75rem 1.25rem; }

  /* Drawer: full width */
  .slide-drawer { max-width: 100%; }

  .toast-notification {
    left: 1rem;
    right: 5.25rem;
    bottom: max(18px, env(safe-area-inset-bottom, 18px));
    max-width: none;
    min-height: 52px;
    padding: 0.72rem 0.85rem;
    border-left-width: 3px;
    gap: 0.55rem;
  }

  .toast-notification span:first-child {
    font-size: 1rem !important;
  }

  #toastMessage {
    font-size: 0.76rem !important;
    line-height: 1.2;
  }
}

/* Very small mobile: 320px – 360px */
@media (max-width: 360px) {
  .container { padding: 0 0.85rem; }
  .official-brand-logo { height: 34px; max-width: 95px; }
  .hero-arabic-title { font-size: clamp(1.4rem, 8vw, 1.75rem); }
  .hero-cta { max-width: 260px; font-size: 0.88rem; }
  .hero-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    padding: 0.62rem 0.65rem;
    gap: 0.35rem;
  }
  .hero-benefit-item {
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
    min-width: 0;
    text-align: center;
  }
  .hero-benefit-text {
    align-items: center;
    min-width: 0;
  }
  .hero-benefit-divider { display: none; }
  .hero-benefit-text strong { font-size: 0.57rem; }
  .hero-benefit-text span   { font-size: 0.5rem; }
  .section-title { font-size: clamp(1.4rem, 7vw, 1.9rem); }
  .section-subtitle {
    font-size: 0.72rem;
    letter-spacing: -0.01em;
  }
  .site-header {
    --header-height: 104px;
  }
  .header-inner {
    height: 56px;
    padding: 0 0.85rem;
  }
  .header-search-container {
    left: 0.85rem;
    right: 0.85rem;
    top: 56px;
    width: calc(100% - 1.7rem);
    height: 40px;
  }
  .header-search-bar {
    height: 35px !important;
    padding: 0 6px 0 11px !important;
  }
  .header-search-input {
    font-size: 0.8rem !important;
  }
  .header-search-input::placeholder {
    font-size: 0.78rem !important;
  }
  .product-carousel {
    gap: 8px;
  }
  .product-carousel .product-card {
    flex: 0 0 calc((100% - 16px) / 2.22);
    width: calc((100% - 16px) / 2.22);
    min-width: calc((100% - 16px) / 2.22);
    max-width: calc((100% - 16px) / 2.22);
    padding: 0.42rem 0.36rem;
  }
  .product-carousel .product-image-container {
    height: 98px;
  }
  .product-carousel .product-image-container img {
    max-height: 82px;
  }
  .product-carousel .product-title {
    font-size: 0.74rem;
    line-height: 1.2;
    height: 1.82rem;
  }
  .product-carousel .current-price {
    font-size: 0.86rem;
  }
  .product-carousel .add-to-cart-btn {
    min-height: 29px;
    font-size: 0.52rem;
    padding: 0.35rem 0.12rem;
    gap: 0.2rem;
  }
  .product-carousel .add-to-cart-btn svg {
    width: 11px;
    height: 11px;
  }
  .boutique-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px; }
  .boutique-product-grid .product-card {
    flex: none;
    width: 100%;
    padding: 0.48rem;
  }
}

/* Tablet targeted fixes (768px – 1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
  .section-padding { padding: 4rem 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .boutique-product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .newsletter-form { max-width: 100%; }
}

/* Global: images never break containers */
img, video, iframe { max-width: 100%; }
.article-content-body pre, .article-content-body table { overflow-x: auto; max-width: 100%; }
