/* ===== SECTION WIDGET VISIBILITY ===== */
/* Hide standalone SSR render; show only when inside data-qumra-section (AJAX) */
.shop-products-content { display: none; }
[data-qumra-section="shop-products"] .shop-products-content { display: block; }

/* ===== WAHA COLOR SYSTEM — Oasis Identity ===== */
:root {
    /* Primary Palette — warm cream, nature-inspired */
    --color-bg-primary: #FAF8F4;
    --color-bg-secondary: #F2EFE8;
    --color-bg-tertiary: #EAE5DB;
    --color-bg-green: #EDF4EC;
    --color-bg-peach: #FDF0EA;
    --color-surface: #FFFFFF;

    /* Section Alternation */
    --color-section-a: #FFFFFF;
    --color-section-b: #FAF8F4;

    /* Header */
    --color-header: #FFFFFF;
    --color-header-text: #2D3530;
    --color-header-border: #E2DED5;

    /* Footer — warm dark green */
    --color-footer: #2D3530;
    --color-footer-text: #A8B0A5;
    --color-footer-text-muted: #6B7A6E;
    --color-footer-border: #3D4A3F;
    --color-footer-heading: #FFFFFF;

    /* Text */
    --color-text-primary: #2D3530;
    --color-text-secondary: #5C665F;
    --color-text-tertiary: #8E968F;

    /* Accent — Forest Sage Green */
    --color-accent: #4A7C5E;
    --color-accent-hover: #3D6A4F;
    --color-accent-light: #E2F0E5;

    /* Accent Secondary — Warm Terracotta */
    --color-accent-secondary: #C68B5E;
    --color-accent-secondary-hover: #B07A50;
    --color-accent-secondary-light: #F5E8DC;

    /* Primary alias (used by Tailwind & components) */
    --color-primary: #4A7C5E;
    --color-primary-dark: #3D6A4F;
    --color-primary-rgb: 74, 124, 94;
    --primary-rgb: 74, 124, 94;

    /* Borders */
    --color-border: #E2DED5;
    --color-border-hover: #D0CBC0;
    --color-border-focus: #4A7C5E;

    /* Status */
    --color-success: #4A7C5E;
    --color-error: #C45C5C;
    --color-warning: #D4A24C;

    /* Typography — Font Stacks */
    --font-heading-ar: 'Noto Sans Arabic', Georgia, serif;
    --font-heading-en: 'DM Serif Display', Georgia, serif;
    --font-body-ar: 'Noto Sans Arabic', system-ui, -apple-system, sans-serif;
    --font-body-en: 'Nunito Sans', system-ui, -apple-system, sans-serif;

    /* Spacing — 8px base grid */
    --space-1: 4px;     /* Inline icon gaps */
    --space-2: 8px;     /* Tight padding (tags, badges) */
    --space-3: 12px;    /* Inner component padding */
    --space-4: 16px;    /* Default component padding */
    --space-5: 24px;    /* Card padding */
    --space-6: 32px;    /* Section inner padding */
    --space-7: 48px;    /* Between related sections */
    --space-8: 64px;    /* Section vertical padding */
    --space-9: 80px;    /* Large section gaps */
    --space-10: 120px;  /* Hero/CTA vertical padding */

    /* Gradient Accent — flattened for editorial (solid color, no multi-color gradients) */
    --gradient-accent: var(--color-accent);
    --gradient-accent-hover: var(--color-accent-hover);
    --gradient-accent-light: var(--color-accent-light);
    --gradient-accent-subtle: var(--color-bg-secondary);

    /* Border Radius — sharp, editorial, rectilinear */
    --radius-none: 0px;
    --radius-sm: 2px;       /* Tags, badges */
    --radius-md: 3px;       /* Inputs, buttons */
    --radius-lg: 4px;       /* Cards, modals */
    --radius-xl: 6px;       /* Featured cards */
    --radius-2xl: 8px;      /* Large containers */
    --radius-full: 0px;     /* No pill shapes — editorial = rectangular */

    /* Shadows — nearly eliminated, editorial cards sit ON the page */
    --shadow-sm: none;
    --shadow-md: 0 1px 3px rgba(45,53,48,0.04);
    --shadow-lg: 0 2px 8px rgba(45,53,48,0.05);
    --shadow-xl: 0 4px 12px rgba(45,53,48,0.06);
    --shadow-accent: none;
    --shadow-accent-lg: none;
    --shadow-focus: 0 0 0 2px rgba(74, 124, 94, 0.15);

    /* Animation & Motion — slow and gentle, never rushed */
    --transition-fast: 200ms ease;
    --transition-base: 400ms ease-in-out;
    --transition-slow: 900ms ease-in-out;
    --transition-glacial: 1200ms cubic-bezier(0.25, 0, 0.25, 1);
}

/* ===== HEADER — Scroll State ===== */
.header-scrolled {
    backdrop-filter: blur(12px) saturate(1.2);
    -webkit-backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}

/* ===== SECTION ALTERNATION ===== */
.section-a { background: var(--color-section-a); }
.section-b { background: var(--color-section-b); }

/* ===== RESET ===== */
/* Tailwind v4 preflight handles the full reset. */
/* We only keep x-cloak and base body styles. */

/* Alpine.js — hide elements until initialized */
[x-cloak] {
    display: none !important;
}

body {
    font-family: var(--font-body-ar);
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: 0.005em;
    font-size: 16px;
    animation: pageEnter 600ms ease both;
}

html[lang="en"] body,
html[dir="ltr"] body {
    font-family: var(--font-body-en);
}

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

/* ===== WAHA TYPOGRAPHY SYSTEM ===== */

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading-ar);
    color: var(--color-text-primary);
}

html[lang="en"] h1, html[lang="en"] h2, html[lang="en"] h3,
html[lang="en"] h4, html[lang="en"] h5, html[lang="en"] h6,
html[dir="ltr"] h1, html[dir="ltr"] h2, html[dir="ltr"] h3,
html[dir="ltr"] h4, html[dir="ltr"] h5, html[dir="ltr"] h6 {
    font-family: var(--font-heading-en);
}

/* Arabic headings — Noto Sans Arabic at bold weight for editorial drama */
html[lang="ar"] h1, html[lang="ar"] h2,
html[dir="rtl"] h1, html[dir="rtl"] h2 {
    font-weight: 700;
}

html[lang="ar"] h3, html[lang="ar"] h4,
html[dir="rtl"] h3, html[dir="rtl"] h4 {
    font-weight: 600;
}

/* H1 — Dramatic Editorial Title */
h1 {
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

/* H2 — Section Title */
h2 {
    font-size: 3rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

/* H3 — Card Title */
h3 {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* H4 — Subtitle */
h4 {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

/* --- Body Variants --- */
.text-body-lg {
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.text-body {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.75;
    letter-spacing: 0.01em;
}

.text-body-sm {
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.015em;
    color: var(--color-text-secondary);
}

.text-caption {
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.03em;
    color: var(--color-text-tertiary);
}

/* --- Price --- */
.text-price {
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
    font-family: var(--font-heading-ar);
}

.text-price-sale {
    font-size: 1.375rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0;
    text-decoration: line-through;
    color: var(--color-text-tertiary);
}

/* --- Typography Rules --- */
p {
    max-width: 65ch;
    margin-bottom: 1.5em;
}

p:last-child {
    margin-bottom: 0;
}

/* --- Mobile Type Scale --- */
@media (max-width: 768px) {
    body { font-size: 15px; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1rem; }
    .text-body-lg { font-size: 1rem; }
    .text-body { font-size: 0.9375rem; }
    .text-body-sm { font-size: 0.8125rem; }
    .text-caption { font-size: 0.6875rem; }
    .text-price, .text-price-sale { font-size: 1.125rem; }
}

/* Image fade-in on load */
.img-fade {
    opacity: 0;
    transition: opacity 600ms ease;
}

.img-fade.is-loaded {
    opacity: 1;
}

/* Scroll Reveal — only when JS has initialised (prevents builder blanking) */
html.reveal-init .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 700ms ease, transform 700ms ease;
}
html.reveal-init .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Hover — subtle opacity, NO scale on cards */
.hover-fade {
    transition: opacity 400ms ease;
}

.hover-fade:hover {
    opacity: 0.85;
}


.btn-breathe-white {
    animation: btnBreatheWhite 3s ease-in-out infinite;
}


/* ===== THEME COLOR UTILITIES ===== */
.bg-accent        { background-color: var(--color-accent); }
.bg-accent-hover  { background-color: var(--color-accent-hover); }
.text-accent      { color: var(--color-accent); }
.text-secondary   { color: var(--color-text-secondary); }
.text-tertiary    { color: var(--color-text-tertiary); }
.bg-tertiary      { background-color: var(--color-bg-tertiary); }
.border-accent    { border-color: var(--color-accent); }

.hover\:bg-accent:hover       { background-color: var(--color-accent); }
.hover\:bg-accent-hover:hover { background-color: var(--color-accent-hover); }
.hover\:border-accent:hover   { border-color: var(--color-accent); }
.hover\:text-accent:hover     { color: var(--color-accent); }

/* Waha Duotone Utilities — Terracotta secondary accent */
.bg-accent-secondary        { background-color: var(--color-accent-secondary); }
.bg-accent-secondary-light  { background-color: var(--color-accent-secondary-light); }
.text-accent-secondary      { color: var(--color-accent-secondary); }
.border-accent-secondary    { border-color: var(--color-accent-secondary); }
.bg-green                   { background-color: var(--color-bg-green); }
.bg-peach                   { background-color: var(--color-bg-peach); }

.hover\:bg-accent-secondary:hover       { background-color: var(--color-accent-secondary); }
.hover\:text-accent-secondary:hover     { color: var(--color-accent-secondary); }
.hover\:border-accent-secondary:hover   { border-color: var(--color-accent-secondary); }

/* ===== WAHA BUTTON SYSTEM — Editorial ===== */

/* Base — shared by all buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1;
    border-radius: 0;
    cursor: pointer;
    transition: all 300ms ease;
    position: relative;
    overflow: hidden;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Primary — solid rectangle, no gradient */
.btn-primary {
    background: var(--color-accent);
    color: #FFFFFF;
    border: none;
    padding: 16px 40px;
    box-shadow: none;
}

.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: none;
    box-shadow: none;
}

.btn-primary:active {
    transform: none;
    box-shadow: none;
}

/* Secondary — thin border rectangle */
.btn-secondary {
    background: transparent;
    color: var(--color-text-primary);
    border: 1px solid var(--color-text-primary);
    padding: 15px 40px;
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: transparent;
    transform: none;
    box-shadow: none;
}

.btn-secondary:active {
    border-color: var(--color-accent-hover);
    color: var(--color-accent-hover);
    transform: none;
}

/* Ghost — animated underline CTA */
.btn-ghost {
    background: transparent;
    border: none;
    color: var(--color-text-primary);
    padding: 8px 0;
    text-decoration: none;
    position: relative;
}

.btn-ghost::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 400ms ease;
}
html[dir="rtl"] .btn-ghost::after {
    transform-origin: left;
}
.btn-ghost:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
html[dir="rtl"] .btn-ghost:hover::after {
    transform-origin: right;
}

.btn-ghost:active {
    color: var(--color-accent);
}

/* ===== WAHA GRADIENT UTILITIES (flattened for editorial) ===== */
.waha-gradient-bg       { background: var(--color-accent); }
.waha-gradient-bg-hover:hover { background: var(--color-accent-hover); }
.waha-gradient-bg-light { background: var(--color-accent-light); }
.waha-gradient-bg-subtle { background: var(--color-bg-secondary); }
.waha-gradient-text {
    color: var(--color-accent);
}

/* ===== WAHA CARD SYSTEM — Editorial: flat, on-the-page ===== */
.waha-card {
    border-radius: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    transition: border-color 300ms ease;
}
.waha-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--color-text-tertiary);
}

.waha-card-gradient {
    border-radius: 0;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    position: relative;
    overflow: hidden;
    transition: border-color 300ms ease;
}
.waha-card-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--color-accent);
    opacity: 0;
    transition: opacity 300ms ease;
}
.waha-card-gradient:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--color-text-tertiary);
}
.waha-card-gradient:hover::before {
    opacity: 1;
}

/* ===== WAHA DECORATIVE ELEMENTS — Hidden for editorial ===== */
.waha-section-deco {
    position: relative;
    overflow: hidden;
}
.waha-section-deco::before { display: none; }
.waha-deco-top-end::before { display: none; }
.waha-deco-bottom-start::before { display: none; }
.waha-deco-center::before { display: none; }
.waha-dots { display: none; }
.waha-ring { display: none; }

/* ===== WAHA SECTION HEADER — Editorial thin rule ===== */
.waha-section-header {
    text-align: center;
    margin-bottom: 64px;
    position: relative;
    z-index: 1;
}
.waha-section-header .waha-sh-line {
    width: 100%;
    max-width: 120px;
    height: 1px;
    border-radius: 0;
    background: var(--color-border);
    margin: 0 auto 20px;
}
.waha-section-header h2 {
    margin-bottom: 16px;
}
.waha-section-header p {
    color: var(--color-text-tertiary);
    max-width: 500px;
    margin: 0 auto;
    font-size: 15px;
    letter-spacing: 0.01em;
}

/* ===== WAHA HOVER LIFT — Disabled for editorial ===== */
.waha-lift {
    transition: opacity 300ms ease;
}
.waha-lift:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.85;
}

/* ===== WAHA FORM & INPUT STYLES ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="url"],
textarea,
select,
.input {
    width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 0;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.5;
    color: var(--color-text-primary);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

input::placeholder,
textarea::placeholder,
.input::placeholder {
    color: var(--color-text-tertiary);
}

input:focus,
textarea:focus,
select:focus,
.input:focus {
    border-color: var(--color-text-primary);
    box-shadow: none;
}

/* Error state */
input.is-error,
textarea.is-error,
select.is-error,
.input.is-error {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(196,114,108,0.15);
}

/* Label */
label,
.label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin-bottom: var(--space-2);
}

/* Helper / Error text */
.input-helper {
    font-size: 13px;
    color: var(--color-text-tertiary);
    margin-top: var(--space-1);
}

.input-error {
    font-size: 13px;
    color: var(--color-error);
    margin-top: var(--space-1);
}

/* ===== WAHA ICON SYSTEM ===== */
/* Line/outline icons, 1.5px stroke — Phosphor Icons (Light) */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
    flex-shrink: 0;
}

.icon svg {
    stroke-width: 1.5;
}

.icon-sm { width: 16px; height: 16px; }      /* Inline */
.icon-md { width: 20px; height: 20px; }      /* Default */
.icon-lg { width: 24px; height: 24px; }      /* Navigation */

/* ===== WAHA IMAGE TREATMENT ===== */

/* Aspect Ratios */
.img-product { aspect-ratio: 4 / 5; }        /* Product — portrait */
.img-hero { aspect-ratio: 16 / 9; }          /* Hero — wide */
.img-category { aspect-ratio: 1 / 1; }       /* Category — square */

/* Base image style */
.img-product,
.img-hero,
.img-category,
.img-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.9);
}

/* Image in cards — sharp editorial */
.img-card {
    border-radius: 0;
    overflow: hidden;
}

/* Image standalone — no radius */
.img-full {
    border-radius: var(--radius-none);
    overflow: hidden;
}

/* Hover — slow subtle zoom */
.img-zoom {
    overflow: hidden;
}

.img-zoom img {
    transition: transform var(--transition-slow);
}

.img-zoom:hover img {
    transform: scale(1.02);
}

/* Placeholder — shown before image loads */
.img-placeholder {
    background: var(--color-bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blur-up loading technique */
.img-blur {
    filter: blur(15px) saturate(0.9);
    transform: scale(1.05);
    transition: filter var(--transition-slow), transform var(--transition-slow);
}

.img-blur.is-loaded {
    filter: blur(0) saturate(0.9);
    transform: scale(1);
}










/* Waha Theme - Stylesheet */

/* ===== Base Styles ===== */
.loading {
    opacity: 0.6;
    pointer-events: none;
  }
  
  .active {
    color: var(--color-accent);
  }
  
  .removing {
    opacity: 0;
    transition: all 0.4s ease;
  }
  html[dir="ltr"] .removing { transform: translateX(-100%); }
  html[dir="rtl"] .removing { transform: translateX(100%); }

  /* ===== Line Clamp ===== */
  .line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* Button Styles — Waha Button System */
  
  /* ===== Scrollbar ===== */
  .custom-scrollbar::-webkit-scrollbar {
    width: 4px;
  }
  
  .custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
  }
  
  .custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 2px;
  }
  
  /* Hide scrollbar but keep scroll */
  .scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
  .scrollbar-hide::-webkit-scrollbar {
    display: none;
  }
  
  .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-secondary);
  }
  
  /* ===== Swiper Custom Styles ===== */
  .swiper-pagination-bullet {
    background: var(--color-accent) !important;
    opacity: 0.4;
  }
  
  .swiper-pagination-bullet-active {
    opacity: 1 !important;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: var(--color-accent) !important;
    background: rgba(255, 255, 255, 0.9);
    width: 40px !important;
    height: 40px !important;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid var(--color-border);
  }
  
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px !important;
    font-weight: bold;
  }
  
  /* Swiper equal-height slides */
  .swiper-outside-pagination .swiper-wrapper {
    align-items: stretch;
  }
  .swiper-outside-pagination .swiper-slide {
    height: auto;
  }
  
  /* Pagination outside slides (for product sliders) */
  .swiper-outside-pagination {
    overflow-x: clip;
    overflow-y: visible;
  }
  
  .swiper-outside-pagination > .swiper-pagination {
    position: relative !important;
    bottom: auto !important;
    margin-top: 1.5rem;
  }
  
  /* ===== Toast Notifications ===== */
  .toast {
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    animation: toastIn 0.4s ease;
  }
  
  .toast-success { background-color: var(--color-success); }
  .toast-error { background-color: var(--color-error); }
  .toast-warning { background-color: #f59e0b; }
  .toast-info { background-color: var(--color-accent); }
  
  @keyframes toastIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  /* ===== Overlay ===== */
  /* Lang form reset — remove default form spacing */
  .lang-form {
    margin: 0;
    padding: 0;
  }

  .overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    backdrop-filter: blur(2px);
  }
  
  /* ===== Drawer ===== */
  .drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 400px;
    background: #fff;
    z-index: 50;
    overflow-y: auto;
    transition: transform 0.4s ease;
  }

  html[dir="rtl"] .drawer-start {
    right: 0;
    transform: translateX(100%);
  }
  
  html[dir="ltr"] .drawer-start {
    left: 0;
    transform: translateX(-100%);
  }
  
  html[dir="rtl"] .drawer-end {
    left: 0;
    transform: translateX(-100%);
  }
  
  html[dir="ltr"] .drawer-end {
    right: 0;
    transform: translateX(100%);
  }
  
  .drawer.open {
    transform: translateX(0) !important;
  }
  
  /* ===== Animations ===== */
  @keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
  }
  
  @keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .animate-fade-in { animation: fadeIn 0.4s ease; }
  .animate-slide-up { animation: slideUp 0.7s ease; }
  
  /* ===== Product Card ===== */
  /* Cards use Tailwind classes directly. This section is for AJAX-loaded cards only. */
  .ajax-card {
    transition: opacity 700ms ease, transform 700ms ease;
  }
  
  
  /* ===== Section Header ===== */
  .section-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 0.5rem;
  }
  
  .section-header p {
    color: var(--color-text-secondary);
    font-size: 1rem;
  }
  
  /* ===== Loading & Success Animations ===== */
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .animate-spin {
    animation: spin 0.8s linear infinite;
  }
  
  @keyframes checkPop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  
  .animate-check {
    animation: checkPop 0.4s ease;
  }
  
  /* ===== Cart Item Enter ===== */
  @keyframes cartItemEnter {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .cart-item-enter {
    animation: cartItemEnter 0.4s ease-out;
  }
  
  /* ===== Rating Stars ===== */
  .stars {
    display: inline-flex;
    gap: 2px;
  }
  
  .stars .star-filled { color: #fbbf24; }
  .stars .star-empty { color: var(--color-border); }
  
  /* ===== Price Range Slider ===== */
  .price-slider {
    position: relative;
    height: 28px;
    display: flex;
    align-items: center;
  }
  
  .price-slider .slider-track {
    position: absolute;
    width: 100%;
    height: 5px;
    background: var(--color-border);
    border-radius: 9999px;
  }

  .price-slider .slider-range {
    position: absolute;
    height: 5px;
    background: var(--color-accent);
    border-radius: 9999px;
  }
  
  .price-slider input[type="range"] {
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    padding: 0;
    height: 5px;
    outline: none;
  }
  
  .price-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--color-accent);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
  }

  .price-slider input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  }

  .price-slider input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.2);
  }

  .price-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: white;
    border: 2.5px solid var(--color-accent);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
  }
  
  .price-slider input[type="range"]::-moz-range-track {
    background: transparent;
    border: none;
  }

  /* ===== Missing Keyframes ===== */
  @keyframes pageEnter {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes btnBreatheWhite {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0.4); }
    50% { box-shadow: 0 0 0 8px rgba(255,255,255,0); }
  }

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



  .p-qoute * {
    color: white ;
  }

/* ===== EDITORIAL UTILITY CLASSES ===== */

/* Editorial category/meta label */
.editorial-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-tertiary);
}

/* Thin horizontal rule divider */
.editorial-rule {
    width: 100%;
    height: 1px;
    background: var(--color-border);
    border: none;
}

/* Editorial underline link — animated ::after */
.editorial-link {
    position: relative;
    display: inline-block;
    color: var(--color-text-primary);
    text-decoration: none;
}
.editorial-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms ease;
}
html[dir="rtl"] .editorial-link::after {
    transform-origin: left;
}
.editorial-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
html[dir="rtl"] .editorial-link:hover::after {
    transform-origin: right;
}

/* Drop cap for article content — editorial first letter */
.waha-article-content > p:first-of-type::first-letter {
    font-family: var(--font-heading-en);
    float: right;
    font-size: 4.5em;
    line-height: 0.8;
    padding-inline-end: 12px;
    padding-top: 6px;
    color: var(--color-text-primary);
    font-weight: 400;
}
html[dir="ltr"] .waha-article-content > p:first-of-type::first-letter {
    float: left;
    padding-inline-start: 0;
    padding-inline-end: 12px;
}

/* Editorial toast — sharp */
.toast {
    border-radius: 0;
}