﻿/*
 * ============================================================
 *   الغانم بارفيوم — style.css
 *   AlGhanem Perfumes | Main Stylesheet
 * ============================================================
 *
 *  TABLE OF CONTENTS
 *  -----------------
 *   01. CSS Variables (:root)
 *   02. Reset & Base Styles
 *   03. Scrollbar
 *   04. Header & Navigation
 *   05. Scroll Progress Bar & Back-to-Top
 *   06. PWA Install Button
 *   07. Search Modal
 *   08. Swiper Overrides
 *   09. [REMOVED - Buttons]
 *   10. Section Headers & Section Title
 *   11. Products Grid & Cards
 *   12. [REMOVED - Perfume Showcase]
 *   13. [REMOVED - Newsletter]
 *   14. Footer
 *   15. Home: Section Template
 *   16. Home: Fragrance Families
 *   17. Home: Philosophy
 *   18. Home: Oud Perfumes
 *   19. Home: Intro Cards
 *   20. Mobile Menu
 *   21. [REMOVED - Scroll Indicator]
 *   22. Products Slider & Hero
 *   23. Utilitieses
 * ============================================================
 */


/* ====================================================================== */
/*                      01. CSS VARIABLES (:root)                         */
/* ====================================================================== */

:root {

    /* ─── Brand: Primary (Red) ─────────────────────────────── */
    /* Note: --brand-red (#AD1629) is the primary brand colour. */
    /* Legacy alias kept for backward-compat: --luxury-gold      */
    --brand-red:              #AD1629;   /* primary CTA, accents  */
    --brand-red-dark:         #7A0F1D;   /* hover / darker shade  */
    --brand-red-light:        #FDF2F4;   /* tinted backgrounds    */
    --luxury-gold:            #AD1629;   /* ← alias of --brand-red (legacy) */
    --luxury-gold-dark:       #7A0F1D;   /* ← alias of --brand-red-dark     */
    --luxury-gold-light:      #FDF2F4;   /* ← alias of --brand-red-light    */

    /* ─── Brand: Gold Accent ────────────────────────────────── */
    --gold-accent:            #D4AF37;   /* decorative gold lines, badges   */
    --gold-accent-light:      #F5D485;   /* lighter gold highlights         */

    /* ─── Brand: Dark Backgrounds ──────────────────────────── */
    --luxury-black:           #0D1117;   /* main dark background            */
    --luxury-black-light:     #1C2128;   /* cards / elevated surfaces       */
    --luxury-charcoal:        #2D3748;   /* muted dark elements             */
    --luxury-dark-card:       #0E131E;   /* dark glass card background      */

    /* ─── Brand: Light / Neutral ───────────────────────────── */
    --luxury-pearl:           #F8F9FA;   /* light page background           */
    --luxury-cream:           #FDF2F4;   /* warm tinted white               */
    --luxury-white:           #FFFFFF;
    --text-muted:             #666666;

    /* ─── Jewel Accents (page-specific elements) ─────────────── */
    --jewel-emerald:          #50C878;
    --jewel-ruby:             #E0115F;
    --jewel-sapphire:         #0F52BA;
    --jewel-amethyst:         #9966CC;

    /* ─── Typography ────────────────────────────────────────── */
    --font-arabic: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;

    /* ─── Transitions ───────────────────────────────────────── */
    --transition:  all 0.3s ease;

    /* ─── Shadows (generic, light-theme) ───────────────────── */
    --shadow-sm:  0 2px 8px  rgba(0, 0, 0, 0.10);
    --shadow-md:  0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg:  0 8px 32px rgba(0, 0, 0, 0.20);
    --shadow-xl:  0 16px 48px rgba(0, 0, 0, 0.25);

    /* ─── Scrollbar ─────────────────────────────────────────── */
    --scrollbar-size:  6px;

    /* ─── Back-to-Top Button ────────────────────────────────── */
    --scroll-top-size:              56px;
    --scroll-top-size-mobile:       48px;
    --scroll-top-size-tablet:       50px;
    --scroll-top-bottom-desktop:    28px;
    --scroll-top-bottom-touch:      84px;
    --scroll-top-left-desktop:      26px;
    --scroll-top-left-mobile:       14px;
    --scroll-top-left-tablet:       18px;
    --scroll-progress-shadow:       0 0 10px rgba(173, 22, 41, 0.55);
    --scroll-top-shadow:            0 10px 24px rgba(173, 22, 41, 0.42);
    --scroll-top-shadow-hover:      0 14px 30px rgba(173, 22, 41, 0.52);
    --scroll-top-focus-outline:     rgba(173, 22, 41, 0.35);

    /* ─── Header: Dimensions ────────────────────────────────── */
    --header-content-height:          80px;
    --header-content-height-sticky:   68px;
    --header-content-height-mobile:   66px;
    --header-content-height-tablet:   72px;
    --header-content-height-desktop:  88px;
    --header-action-size:             42px;
    --header-action-size-mobile:      38px;
    --header-action-size-tablet:      40px;
    --header-btn-font-size:           17px;
    --header-btn-font-size-mobile:    15px;
    --header-btn-font-size-tablet:    16px;

    /* ─── Header: Colors ────────────────────────────────────── */
    --header-btn-border:                rgba(255, 255, 255, 0.22);
    --header-btn-bg:                    rgba(255, 255, 255, 0.08);
    --header-btn-bg-sticky:             rgba(255, 255, 255, 0.09);
    --header-btn-border-sticky:         rgba(255, 255, 255, 0.18);
    --header-logo-subtitle-color:       #FFFFFF;
    --header-logo-subtitle-color-sticky:#FFFFFF;
    --header-text-strong:               rgba(255, 255, 255, 0.92);
    --header-text-primary:              rgba(255, 255, 255, 0.90);
    --header-nav-color:                 rgba(255, 255, 255, 0.88);
    --header-nav-color-sticky:          rgba(255, 255, 255, 0.82);
    --header-glass-hover-bg:            rgba(255, 255, 255, 0.10);
    --header-glass-hover-border:        rgba(255, 255, 255, 0.18);

    /* ─── Header: Shadows & Badges ──────────────────────────── */
    --header-logo-hover-glow:           0 0 8px rgba(255, 255, 255, 0.25);
    --header-sticky-shadow:             0 1px 0 rgba(173, 22, 41, 0.25), 0 4px 28px rgba(0, 0, 0, 0.40);
    --header-logo-halo:                 radial-gradient(circle, rgba(173, 22, 41, 0.5) 0%, transparent 65%);
    --header-logo-hover-shadow:         drop-shadow(0 4px 14px rgba(173, 22, 41, 0.45));
    --header-btn-hover-shadow:          0 6px 20px rgba(173, 22, 41, 0.40);
    --header-btn-hover-shadow-sticky:   0 6px 20px rgba(173, 22, 41, 0.45);
    --header-nav-active-shadow:         0 4px 16px rgba(173, 22, 41, 0.40);
    --header-nav-active-shadow-hover:   0 4px 20px rgba(173, 22, 41, 0.50);
    --header-badge-size:                20px;
    --header-badge-size-mobile:         17px;
    --header-badge-size-tablet:         18px;
    --header-badge-font-size:           10px;
    --header-badge-font-size-mobile:     9px;
    --header-badge-font-size-tablet:     9.5px;
    --header-badge-shadow:              0 2px 8px  rgba(173, 22, 41, 0.50);
    --header-badge-shadow-hover:        0 4px 12px rgba(173, 22, 41, 0.60);
    --header-badge-border:              rgba(13, 17, 23, 0.90);
    --header-badge-border-sticky:       rgba(13, 17, 23, 0.95);
    --header-mobile-menu-hover-shadow:        0 6px 18px rgba(173, 22, 41, 0.40);
    --header-mobile-menu-hover-shadow-sticky: 0 6px 18px rgba(173, 22, 41, 0.45);
}


/* ====================================================================== */
/*                       02. RESET & BASE STYLES                        */
/* ====================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-y: scroll;            
}

body {
    font-family: var(--font-arabic);
    background-color: var(--luxury-pearl);
    color: var(--luxury-black);
    line-height: 1.6;
    overflow-x: hidden;
    direction: rtl;
    text-align: right;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}


img:not([src]):not([srcset]) {
    visibility: hidden;
}


picture {
    display: block;
}

picture img {
    width: 100%;
    height: auto;
}


.main-product-image,
.brand-logo img {
    background: linear-gradient(135deg, #f8f9fa 0%, #FDF2F4 100%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--luxury-gold);
    outline-offset: 2px;
}

ul {
    list-style: none;
}


.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}


/* ====================================================================== */
/*                            03. SCROLLBAR                             */
/* ====================================================================== */
@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--luxury-gold) transparent;
    }
}


::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

::-webkit-scrollbar-track {
    background: transparent;
    margin: 4px 0;
}


::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        var(--luxury-gold)      0%,
        var(--luxury-gold-dark) 100%
    );
    border-radius: 99px;
    border: 1.5px solid transparent;
    background-clip: padding-box;
    min-height: 40px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        #e84055            0%,
        var(--luxury-gold) 100%
    );
    background-clip: padding-box;
    box-shadow: 0 0 6px rgba(173, 22, 41, 0.40);
}

::-webkit-scrollbar-thumb:active {
    background: var(--luxury-gold-dark);
    background-clip: padding-box;
}

::-webkit-scrollbar-corner {
    background: transparent;
}


/* ====================================================================== */
/*                       04. HEADER & NAVIGATION                        */
/* ====================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: background 0.35s ease, box-shadow 0.35s ease;
}


.header.sticky {
    background: rgba(13, 17, 23, 0.60);
    -webkit-backdrop-filter: blur(20px) saturate(1.8);
    backdrop-filter: blur(20px) saturate(1.8);
    box-shadow: var(--header-sticky-shadow);
}

.header.sticky .header-content {
    height: var(--header-content-height-sticky);
}


.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: var(--header-content-height);
    gap: 20px;
}


.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-circle-header {
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    flex-shrink: 0;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo-circle-header::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--header-logo-halo);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: -1;
}

.logo-circle-header .logo-svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
    transition: filter 0.35s ease;
}

.logo:hover .logo-circle-header {
    transform: scale(1.07) translateY(-2px);
}

.logo:hover .logo-circle-header::after {
    opacity: 1;
}

.logo:hover .logo-svg {
    filter: var(--header-logo-hover-shadow);
}


.logo-text {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.logo-title {
    font-size: 21px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.2px;
    line-height: 1.2;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
    transition: color 0.3s ease;
}

.logo:hover .logo-title {
    color: #ffffff;
}


.header.sticky .logo-title {
    color: #ffffff;
    text-shadow: none;
}

.logo-subtitle {
    font-size: 11.5px;
    font-weight: 400;
    color: var(--header-logo-subtitle-color);
    letter-spacing: 0.8px;
    line-height: 1;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}


.header.sticky .logo-subtitle {
    color: var(--header-logo-subtitle-color-sticky);
    text-shadow: none;
}


.logo:hover .logo-subtitle {
    color: var(--header-text-strong);
    text-shadow: var(--header-logo-hover-glow);
}


.desktop-nav {
    display: none;
    gap: 6px;
    flex: 1;
    justify-content: center;
    align-items: center;
}

.nav-link {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--header-nav-color);
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid transparent;
    background: transparent;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    position: relative;
}


.header.sticky .nav-link {
    color: var(--header-nav-color-sticky);
    text-shadow: none;
}


.nav-link::after {
    display: none;
}


.nav-link:hover {
    color: #ffffff;
    background: var(--header-glass-hover-bg);
    border-color: var(--header-glass-hover-border);
    transform: translateY(-1px);
    text-shadow: none;
}


.nav-link.active {
    color: #ffffff;
    background: var(--luxury-gold);
    border-color: transparent;
    box-shadow: var(--header-nav-active-shadow);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    transform: none;
}

.nav-link.active:hover {
    background: var(--luxury-gold-dark);
    box-shadow: var(--header-nav-active-shadow-hover);
    transform: translateY(-1px);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}


.header-btn {
    position: relative;
    width: var(--header-action-size);
    height: var(--header-action-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--header-text-primary);
    font-size: var(--header-btn-font-size);
    border: 1px solid var(--header-btn-border);
    background: var(--header-btn-bg);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}


.header.sticky .header-btn {
    color: var(--header-text-strong);
    background: var(--header-btn-bg-sticky);
    border-color: var(--header-btn-border-sticky);
}


.header-btn:hover {
    background: var(--luxury-gold);
    border-color: var(--luxury-gold);
    color: #ffffff;
    transform: translateY(-2px) scale(1.06);
    box-shadow: var(--header-btn-hover-shadow);
}

.header.sticky .header-btn:hover {
    background: var(--luxury-gold);
    border-color: var(--luxury-gold);
    color: #ffffff;
    transform: translateY(-2px) scale(1.06);
    box-shadow: var(--header-btn-hover-shadow-sticky);
}

.header-btn i {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-btn:hover i {
    transform: scale(1.15);
}


.badge {
    position: absolute;
    top: -4px;
    left: -4px;
    background: var(--luxury-gold);
    color: #ffffff;
    font-size: var(--header-badge-font-size);
    font-weight: 800;
    width: var(--header-badge-size);
    height: var(--header-badge-size);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--header-badge-border);
    box-shadow: var(--header-badge-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    pointer-events: none;
}

.header-btn:hover .badge {
    transform: scale(1.15);
    box-shadow: var(--header-badge-shadow-hover);
    border-color: var(--luxury-gold);
}


.header.sticky .badge {
    border-color: var(--header-badge-border-sticky);
}


.mobile-menu-btn {
    display: none;
    width: var(--header-action-size);
    height: var(--header-action-size);
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--header-text-primary);
    background: var(--header-btn-bg);
    border: 1px solid var(--header-btn-border);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    font-size: calc(var(--header-btn-font-size) + 2px);
    cursor: pointer;
    transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}


.header.sticky .mobile-menu-btn {
    color: var(--header-text-strong);
    background: var(--header-btn-bg-sticky);
    border-color: var(--header-btn-border-sticky);
}


.mobile-menu-btn:hover {
    background: var(--luxury-gold);
    border-color: var(--luxury-gold);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--header-mobile-menu-hover-shadow);
}

.header.sticky .mobile-menu-btn:hover {
    background: var(--luxury-gold);
    border-color: var(--luxury-gold);
    color: #ffffff;
    box-shadow: var(--header-mobile-menu-hover-shadow-sticky);
}

.mobile-menu-btn i {
    transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mobile-menu-btn:hover i {
    transform: scale(1.15) rotate(90deg);
}


@media (max-width: 480px) {
    .header-content        { height: var(--header-content-height-mobile); padding: 0 4px; }
    .logo                  { gap: 9px; }
    .logo-circle-header    { width: 42px; height: 42px; }
    .logo-title            { font-size: 15px; }
    .logo-subtitle         { font-size: 10px; }
    .header-actions        { gap: 7px; }
    .header-btn            { width: var(--header-action-size-mobile); height: var(--header-action-size-mobile); font-size: var(--header-btn-font-size-mobile); }
    .badge                 { top: -3px; left: -3px; width: var(--header-badge-size-mobile); height: var(--header-badge-size-mobile); font-size: var(--header-badge-font-size-mobile); }
    .mobile-menu-btn       { display: flex; width: var(--header-action-size-mobile); height: var(--header-action-size-mobile); font-size: calc(var(--header-btn-font-size-mobile) + 2px); }
    .mobile-menu-btn:active { transform: scale(0.94); }
}

@media (min-width: 481px) and (max-width: 768px) {
    .header-content        { height: var(--header-content-height-tablet); }
    .logo-circle-header    { width: 48px; height: 48px; }
    .logo-title            { font-size: 17px; }
    .logo-subtitle         { font-size: 10.5px; }
    .header-btn            { width: var(--header-action-size-tablet); height: var(--header-action-size-tablet); font-size: var(--header-btn-font-size-tablet); }
    .badge                 { top: -3px; left: -3px; width: var(--header-badge-size-tablet); height: var(--header-badge-size-tablet); font-size: var(--header-badge-font-size-tablet); }
    .mobile-menu-btn       { display: flex; width: var(--header-action-size-tablet); height: var(--header-action-size-tablet); font-size: calc(var(--header-btn-font-size-tablet) + 2px); }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .mobile-menu-btn { display: flex; }
}

@media (min-width: 1025px) {
    .header-content     { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; height: var(--header-content-height-desktop); }
    .desktop-nav        { display: flex; justify-content: center; }
    .mobile-menu-btn    { display: none; }
}


/* ====================================================================== */
/*                05. SCROLL PROGRESS BAR & BACK-TO-TOP                 */
/* ====================================================================== */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(to left, #7A0F1D, #AD1629 25%, #D4AF37 60%, #f5d78e 100%);
    z-index: 1001;      
    transform-origin: right;
    transition: width 0.08s linear;
    border-radius: 0 0 2px 2px;
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.55), 0 0 4px rgba(173, 22, 41, 0.4);
    pointer-events: none;
}


.scroll-top {
    position: fixed;
    bottom: var(--scroll-top-bottom-desktop);
    left: var(--scroll-top-left-desktop);
    width: var(--scroll-top-size);
    height: var(--scroll-top-size);
    background: var(--luxury-gold);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    box-shadow: var(--scroll-top-shadow);
    border: 1px solid rgba(255, 255, 255, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.90);
    transition: opacity 0.35s ease, visibility 0.35s ease,
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease, filter 0.25s ease;
    z-index: 999;
    cursor: pointer;
}


.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}


.scroll-top:hover {
    transform: translateY(-3px) scale(1.04);
    background: var(--luxury-gold-dark);
    box-shadow: var(--scroll-top-shadow-hover);
    filter: brightness(1.06);
}

.scroll-top:hover i {
    transform: translateY(-2px);
}

.scroll-top i {
    transition: transform 0.22s ease;
    position: relative;
    z-index: 1;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
}

.scroll-top:active {
    transform: scale(0.96);
}

.scroll-top:focus-visible {
    outline: 3px solid var(--scroll-top-focus-outline);
    outline-offset: 3px;
}

@media (max-width: 480px) {
    .scroll-top {
        width: var(--scroll-top-size-mobile);
        height: var(--scroll-top-size-mobile);
        bottom: var(--scroll-top-bottom-touch);
        left: var(--scroll-top-left-mobile);
        font-size: 16px;
    }

    .scroll-top:active {
        transform: scale(0.92) translateY(0);
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .scroll-top {
        width: var(--scroll-top-size-tablet);
        height: var(--scroll-top-size-tablet);
        bottom: var(--scroll-top-bottom-touch);
        left: var(--scroll-top-left-tablet);
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .scroll-progress-bar,
    .scroll-top,
    .scroll-top i {
        transition: none;
    }

    .scroll-top,
    .scroll-top.show,
    .scroll-top:hover,
    .scroll-top:active,
    .scroll-top:hover i {
        transform: none;
        filter: none;
    }
}


/* ====================================================================== */
/*                        06. PWA INSTALL BUTTON                        */
/* ====================================================================== */
/* ─── PWA Install Button ─────────────────────────────────── */
.pwa-install-btn {
    position: fixed;
    bottom: var(--scroll-top-bottom-desktop);
    right: var(--scroll-top-left-desktop);
    background: var(--luxury-gold);
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 14px 8px;
    box-shadow: var(--scroll-top-shadow);
    border: 1px solid rgba(255, 255, 255, 0.26);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px) scale(0.90);
    transition: opacity 0.35s ease, visibility 0.35s ease,
                transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.25s ease, filter 0.25s ease;
    z-index: 999;
    cursor: pointer;
}

.pwa-install-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.pwa-install-btn:hover {
    transform: translateY(-3px) scale(1.04);
    background: var(--luxury-gold-dark);
    box-shadow: var(--scroll-top-shadow-hover);
    filter: brightness(1.06);
}

.pwa-install-btn:active {
    transform: scale(0.96);
}

.pwa-install-btn:focus-visible {
    outline: 3px solid var(--scroll-top-focus-outline);
    outline-offset: 3px;
}

.pwa-install-btn i {
    font-size: 19px;
    color: #ffffff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.28);
    transition: transform 0.22s ease;
}

.pwa-install-btn:hover i {
    transform: translateY(2px);
}

.pwa-install-label {
    font-size: 10px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.30);
    font-family: var(--font-ar, 'Zain', sans-serif);
    line-height: 1;
}

/* Show only on mobile / tablet */
@media (min-width: 769px) {
    .pwa-install-btn,
    .pwa-install-btn.show {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .pwa-install-btn {
        bottom: var(--scroll-top-bottom-touch);
        right: var(--scroll-top-left-mobile);
        padding: 8px 12px 7px;
    }

    .pwa-install-btn i {
        font-size: 16px;
    }

    .pwa-install-label {
        font-size: 9px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .pwa-install-btn {
        bottom: var(--scroll-top-bottom-touch);
        right: var(--scroll-top-left-tablet);
    }
}

@media (prefers-reduced-motion: reduce) {
    .pwa-install-btn,
    .pwa-install-btn i {
        transition: none;
    }

    .pwa-install-btn,
    .pwa-install-btn.show,
    .pwa-install-btn:hover,
    .pwa-install-btn:active {
        transform: none;
        filter: none;
    }
}
/* ─────────────────────────────────────────────────────────── */


/* ====================================================================== */
/*                           07. SEARCH MODAL                           */
/* ====================================================================== */
.search-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    z-index: 3000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
}

.search-modal.active {
    display: flex;
}

.search-modal-content {
    width: 100%;
    max-width: 700px;
    padding: 0 20px;
}

.search-close {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 24px;
    transition: var(--transition);
}

.search-close:hover {
    background: var(--luxury-gold);
    transform: rotate(90deg);
}

.search-box {
    position: relative;
    margin-bottom: 30px;
}

.search-box i {
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--luxury-gold);
    font-size: 24px;
}

.search-box input {
    width: 100%;
    padding: 20px 70px 20px 25px;
    background: white;
    border: 1px solid var(--luxury-gold);
    border-radius: 50px;
    font-size: 18px;
    font-family: inherit;
    outline: none;
}

.search-results {
    background: white;
    border-radius: 15px;
    padding: 20px;
    max-height: 500px;
    overflow-y: auto;
}

.search-result-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 10px;
    transition: var(--transition);
    cursor: pointer;
}

.search-result-item:hover {
    background: var(--luxury-pearl);
}

.search-result-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.search-result-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.search-result-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}


/* ====================================================================== */
/*                         08. SWIPER OVERRIDES                         */
/* ====================================================================== */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 1.2rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--luxury-gold);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 8px !important;
    transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
    background: var(--luxury-gold);
    width: 30px;
    border-radius: 5px;
}


/* ====================================================================== */
/*                      10. SECTION & PAGE HEADERS                      */
/* ====================================================================== */
.section {
    padding: 60px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--luxury-black);
    margin-bottom: 15px;
    line-height: 1.3;
}/* ====================================================================== */
/*                      11. PRODUCTS GRID & CARDS                       */
/* ====================================================================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    contain: layout style paint;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.05) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(173, 22, 41, 0.2);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 80%;
    
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.product-card:hover .product-image-wrapper::after {
    opacity: 1;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-image {
    transform: scale(1.03);
}

.product-badges {
    display: none;
}

.product-badge {
    padding: 8px 14px 8px 16px;
    border-radius: 14px 0 0 14px;
    font-size: 11px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 0.3px;
    background: var(--luxury-charcoal);
    box-shadow: 0 10px 22px rgba(45, 55, 72, 0.28);
    border: 1px solid rgba(13, 17, 23, 0.08);
    animation: fadeInDown 0.5s ease forwards;
    transform-origin: top right;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.badge-new {
    background: var(--luxury-charcoal);
}

.badge-bestseller {
    background: var(--luxury-charcoal);
}
.product-info {
    padding: 20px 18px 18px;
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.product-brand {
    display: none;
}

.product-name {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    color: var(--luxury-black);
    margin: 0;
}

.add-to-cart-btn,
.whatsapp-order-btn {
    width: calc(100% - 36px);
    margin: 0 auto 18px;
    padding: .5rem 1.5rem .625rem;
    border-radius: .75rem;
    background: #ffffff;
    color: var(--luxury-gold-dark);
    border: 1px solid var(--luxury-gold);
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 2;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

 .add-to-cart-btn:disabled,
 .add-to-cart-btn[disabled],
 .whatsapp-order-btn:disabled,
 .whatsapp-order-btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
 }

 .add-to-cart-btn:disabled:hover,
 .add-to-cart-btn[disabled]:hover,
 .whatsapp-order-btn:disabled:hover,
 .whatsapp-order-btn[disabled]:hover {
    background: #ffffff;
    border-color: var(--luxury-gold);
    transform: none;
    box-shadow: none;
    color: var(--luxury-gold-dark);
 }


.add-to-cart-btn:hover,
.whatsapp-order-btn:hover {
    background: linear-gradient(135deg, var(--luxury-black-light) 0%, var(--luxury-charcoal) 100%);
    border-color: rgba(173, 22, 41, 0.7);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 10px 22px rgba(45, 55, 72, 0.28);
    color: var(--luxury-pearl);
}

.add-to-cart-btn::before,
.whatsapp-order-btn::before {
    content: '';
    position: absolute;
    top: -100%;
    left: -100%;
    width: 300%;
    height: 300%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.1) 20%,
        rgba(255, 223, 0, 0.8) 40%,
        rgba(255, 255, 255, 0.9) 50%,
        rgba(255, 223, 0, 0.8) 60%,
        rgba(255, 255, 255, 0.1) 80%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    opacity: 0;
    pointer-events: none;
}

.add-to-cart-btn:hover::before,
.whatsapp-order-btn:hover::before {
    left: 100%;
    opacity: 1;
    transition: left 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s;
}

.add-to-cart-btn::after,
.whatsapp-order-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg, 
        rgba(173, 22, 41, 0.08) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(173, 22, 41, 0.11) 100%
    );
    border-radius: 14px;
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 1;
    pointer-events: none;
}


.add-to-cart-btn:hover::after,
.whatsapp-order-btn:hover::after {
    opacity: 0.8;
}


.add-to-cart-btn:active,
.whatsapp-order-btn:active {
    transform: translateY(-2px) scale(0.98);
    box-shadow: 0 3px 10px rgba(13, 17, 23, 0.2);
}

.add-to-cart-btn i,
.whatsapp-order-btn i {
    font-size: 22px;
    position: relative;
    z-index: 2;
    animation: pulseIcon 3s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    will-change: transform, filter;
    transform-origin: center;
}

.add-to-cart-btn:hover i,
.whatsapp-order-btn:hover i {
    transform: scale(1.2) rotate(0deg);
    animation: none;
    filter: drop-shadow(0 0 8px #AD1629ab);
    color: var(--luxury-gold);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.add-to-cart-btn span,
.whatsapp-order-btn span {
    position: relative;
    z-index: 2;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.add-to-cart-btn:hover span,
.whatsapp-order-btn:hover span {
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.5);
    letter-spacing: 1.2px;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(173, 22, 41, 0));
    }
    50% {
        transform: scale(1.15) rotate(5deg);
        filter: drop-shadow(0 0 6px var(--luxury-gold));
    }
    100% {
        transform: scale(1) rotate(0);
        filter: drop-shadow(0 0 2px rgba(173, 22, 41, 0));
    }
}


/* ====================================================================== */
/*                              14. FOOTER                              */
/* ====================================================================== */
.site-footer {
    background: linear-gradient(175deg, #0A0E14 0%, #111620 60%, #0A0E14 100%);
    color: #e8e6e3;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 15% 0%,   rgba(173, 22, 41,  0.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 100%, rgba(173, 22, 41,  0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 50%,  rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.site-footer > * {
    position: relative;
    z-index: 1;
}

.footer-accent-line {
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #AD1629 30%, #D4AF37 50%, #AD1629 70%, transparent 100%);
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.35), 0 0 6px rgba(173, 22, 41, 0.4);
    position: relative;
    z-index: 2;
}


.footer-main {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 40px;
    padding: 55px 0 45px;
}


.footer-brand-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-brand-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    overflow: hidden;
    border: 1.5px solid rgba(212, 175, 55, 0.40);
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.08),
        0 4px 16px rgba(0, 0, 0, 0.3);
    transition: box-shadow 0.35s ease, border-color 0.35s ease;
}

.footer-brand:hover .footer-brand-icon {
    border-color: rgba(212, 175, 55, 0.65);
    box-shadow:
        0 0 0 4px rgba(212, 175, 55, 0.14),
        0 6px 20px rgba(212, 175, 55, 0.15);
}

.footer-brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.footer-brand-tagline {
    font-size: 0.8rem;
    color: #D4AF37;
    letter-spacing: 0.5px;
}

.footer-brand-desc {
    font-size: 0.92rem;
    line-height: 1.75;
    color: rgba(232, 230, 227, 0.6);
    margin-bottom: 22px;
    max-width: 320px;
}


.footer-social {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-social-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.70);
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, rgba(255,255,255,0.12), transparent 65%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.footer-social-link:hover::before {
    opacity: 1;
}

.footer-social-link:hover {
    border-color: rgba(173, 22, 41, 0.5);
    color: #fff;
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 8px 20px rgba(173, 22, 41, 0.30);
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.30), rgba(173, 22, 41, 0.15));
}

.footer-social-channel {
    width: auto;
    border-radius: 50px;
    padding: 0 16px;
    gap: 7px;
    font-size: 0.85rem;
}

.footer-channel-badge {
    font-size: 0.7rem;
    color: #D4AF37;
    font-weight: 600;
}


.footer-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    position: relative;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #AD1629);
    border-radius: 2px;
    animation: footer-heading-line 1.6s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

@keyframes footer-heading-line {
    to { width: 52px; }
}

.footer-heading-icon {
    color: #D4AF37;
    font-size: 0.9rem;
}


.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-nav-list a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(232, 230, 227, 0.60);
    font-size: 0.93rem;
    text-decoration: none;
    padding: 7px 10px;
    border-radius: 8px;
    transition: all 0.25s ease;
    border-right: 2px solid transparent;
}

.footer-nav-list a i {
    font-size: 0.6rem;
    transition: transform 0.25s ease;
    opacity: 0.35;
}

.footer-nav-list a:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
    padding-right: 16px;
    border-right-color: #AD1629;
}

.footer-nav-list a:hover i {
    transform: translateX(-4px);
    opacity: 1;
    color: #AD1629;
}


.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-contact-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-contact-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.14), rgba(212, 175, 55, 0.06));
    border: 1px solid rgba(173, 22, 41, 0.20);
    color: #D4AF37;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.footer-contact-list li:hover .footer-contact-icon {
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.25), rgba(212, 175, 55, 0.10));
    border-color: rgba(173, 22, 41, 0.35);
}

.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-label {
    font-size: 0.75rem;
    color: rgba(232, 230, 227, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-contact-info span,
.footer-contact-info a {
    font-size: 0.9rem;
    color: rgba(232, 230, 227, 0.7);
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-contact-info a:hover {
    color: #D4AF37;
}


.footer-branch {
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-branch:last-of-type {
    margin-bottom: 18px;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-branch-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #D4AF37;
    letter-spacing: 0.3px;
    padding-right: 10px;
    border-right: 2px solid rgba(212, 175, 55, 0.35);
}

.footer-branch-icon {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-shared-info {
    padding-top: 4px;
}

.footer-shared-info .footer-contact-list {
    gap: 14px;
}


.footer-bottom {
    background: rgba(0, 0, 0, 0.30);
    border-top: 1px solid transparent;
    background-clip: padding-box;
    box-shadow: inset 0 1px 0 rgba(212, 175, 55, 0.12);
    padding: 20px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(232, 230, 227, 0.45);
    margin: 0;
}

.footer-bottom-accent {
    display: flex;
    gap: 6px;
}

.footer-bottom-accent span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    opacity: 0.55;
    animation: footer-dot-pulse 2.4s ease-in-out infinite;
}

.footer-bottom-accent span:nth-child(1) {
    background: #AD1629;
    animation-delay: 0s;
}

.footer-bottom-accent span:nth-child(2) {
    background: #D4AF37;
    animation-delay: 0.4s;
    width: 9px;
    height: 9px;
    opacity: 0.75;
}

.footer-bottom-accent span:nth-child(3) {
    background: #AD1629;
    animation-delay: 0.8s;
}

@keyframes footer-dot-pulse {
    0%, 100% { transform: scale(1);    opacity: 0.55; }
    50%       { transform: scale(1.35); opacity: 0.90; }
}


@media (max-width: 991px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
        padding: 40px 0 35px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 767px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 35px 0 30px;
    }
    .footer-brand {
        grid-column: auto;
        text-align: center;
    }
    .footer-brand-header {
        justify-content: center;
    }
    .footer-brand-desc {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social {
        justify-content: center;
    }
    .footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .footer-main {
        padding: 28px 0 24px;
        gap: 24px;
    }
    .footer-social-link {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-social-link,
    .footer-nav-list a,
    .footer-nav-list a i,
    .footer-contact-info a,
    .footer-brand-icon,
    .footer-contact-icon {
        transition: none;
    }
    .footer-social-link:hover,
    .footer-nav-list a:hover i {
        transform: none;
    }
    .footer-heading::after {
        animation: none;
        width: 52px;
    }
    .footer-bottom-accent span {
        animation: none;
        opacity: 0.55;
    }
}


/* ====================================================================== */
/*                      15. HOME: SECTION TEMPLATE                      */
/* ====================================================================== */
.home-section-template {
    position: relative;
}



.home-section-template__tray {
    border: 1px solid rgba(173, 22, 41, 0.16);
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(253, 242, 244, 0.92));
    padding: 12px;
}

.home-section-template__cta {
    box-shadow: var(--shadow-sm);
}

.home-section-template__cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.home-section-template__nav-btn {
    border: 1px solid rgba(173, 22, 41, 0.22);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .home-section-template__tray {
        border-radius: 16px;
        padding: 8px;
    }
}


/* ====================================================================== */
/*                     16. HOME: FRAGRANCE FAMILIES                     */
/* ====================================================================== */
/* ═══════════════════════════════════════════════════════════════
   FAMILIES SECTION — Redesigned
═══════════════════════════════════════════════════════════════ */
.families-section {
    padding: 84px 0 76px;
    position: relative;
    background: #070b11;
    overflow: hidden;
}

.families-section::before {
    content: '';
    position: absolute;
    top: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    pointer-events: none;
}

.families-section::after {
    content: '';
    position: absolute;
    bottom: 0; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.18), transparent);
    pointer-events: none;
}

/* ─── Header ──────────────────────────────────────────────────── */
.families-header {
    text-align: center;
    margin-bottom: 52px;
}

.families-header-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    color: #D4AF37;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3.5px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.families-header-line {
    width: 48px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4AF37, transparent);
    display: inline-block;
}

.families-header-title {
    font-size: clamp(1.75rem, 3.2vw, 2.6rem);
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 20px;
}

.families-header-title::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 2px;
    background: linear-gradient(90deg, transparent, #D4AF37 40%, #AD1629 70%, transparent);
    border-radius: 2px;
}

.families-header-subtitle {
    font-size: clamp(0.88rem, 1.3vw, 1rem);
    color: rgba(255, 255, 255, 0.5);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ─── Grid ────────────────────────────────────────────────────── */
.families-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* ─── Card ────────────────────────────────────────────────────── */
.family-card {
    --family-color: #AD1629;
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: rgba(14, 19, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    display: flex;
    flex-direction: column;
}

.family-card--floral   { --family-color: #E879A0; }
.family-card--oriental { --family-color: #D4891A; }
.family-card--woody    { --family-color: #A07050; }
.family-card--citrus   { --family-color: #C8B820; }
.family-card--chypre   { --family-color: #6E9E66; }
.family-card--fougere  { --family-color: #8B7DC8; }
.family-card--leather  { --family-color: #C4653B; }
.family-card--aquatic  { --family-color: #3FA0CC; }
.family-card--gourmand { --family-color: #C4873A; }

/* top accent stripe per family */
.family-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 5%, var(--family-color) 40%, var(--family-color) 60%, transparent 95%);
    opacity: 0.65;
    transition: opacity 0.35s ease, height 0.35s ease;
    z-index: 4;
}

.family-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.55),
        0 0 40px -12px var(--family-color);
}

.family-card:hover::before {
    opacity: 1;
    height: 3px;
}

/* ─── Image ───────────────────────────────────────────────────── */
.family-card-image {
    position: relative;
    height: 205px;
    overflow: hidden;
}

.family-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.85) saturate(0.88);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                filter 0.45s ease;
}

.family-card:hover .family-card-image img {
    transform: scale(1.1);
    filter: brightness(0.75) saturate(1.05);
}

.family-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(7, 11, 17, 0) 25%,
        rgba(7, 11, 17, 0.72) 100%);
    pointer-events: none;
    transition: background 0.45s ease;
}

.family-card:hover .family-card-overlay {
    background: linear-gradient(180deg,
        rgba(7, 11, 17, 0.08) 15%,
        rgba(7, 11, 17, 0.82) 100%);
}

/* ─── Icon badge ─────────────────────────────────────────────── */
.family-card-icon {
    position: absolute;
    top: 13px; left: 13px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(7, 11, 17, 0.72);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--family-color);
    font-size: 0.95rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.35s ease, background 0.35s ease;
    z-index: 2;
}

.family-card:hover .family-card-icon {
    transform: scale(1.13) rotate(-7deg);
    background: var(--family-color);
    color: #fff;
    border-color: transparent;
}

/* ─── English name pill on image ─────────────────────────────── */
.family-card-en-badge {
    position: absolute;
    bottom: 11px; right: 13px;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.52);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 2;
    direction: ltr;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.family-card:hover .family-card-en-badge {
    color: var(--family-color);
    border-color: var(--family-color);
}

/* ─── Body ────────────────────────────────────────────────────── */
.family-card-body {
    padding: 17px 18px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.family-card-title {
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.5;
    font-weight: 700;
}

/* hide the old inline English span (replaced by badge on image) */
.family-card-en {
    display: none;
}

.family-card-tagline {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--family-color);
    margin-bottom: 10px;
    line-height: 1.5;
    opacity: 0.9;
}

.family-card-desc {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.48);
    line-height: 1.9;
    margin: 0;
    flex: 1;
}

/* ─── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
    .families-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 860px) {
    .families-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .family-card-image { height: 185px; }
}

@media (max-width: 600px) {
    .families-section { padding: 52px 0 46px; }
    .families-header { margin-bottom: 34px; }

    .families-grid {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .family-card {
        flex-direction: row;
        border-radius: 14px;
    }

    /* left stripe instead of top stripe on horizontal cards */
    .family-card::before {
        top: 0; bottom: 0;
        left: 0; right: auto;
        width: 3px; height: 100%;
        background: var(--family-color);
        opacity: 0.7;
        border-radius: 0;
    }

    .family-card:hover::before {
        height: 100%;
        opacity: 1;
    }

    .family-card-image {
        width: 120px; min-width: 120px;
        height: auto; min-height: 155px;
        border-radius: 0;
    }

    .family-card-icon {
        width: 33px; height: 33px;
        top: 9px; left: 9px;
        font-size: 0.8rem;
    }

    .family-card-en-badge { display: none; }

    .family-card-body { padding: 13px 14px 15px; }

    .family-card-title { font-size: 0.97rem; }

    .family-card-desc {
        font-size: 0.81rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

@media (max-width: 380px) {
    .family-card-image { width: 100px; min-width: 100px; }
}

@media (prefers-reduced-motion: reduce) {
    .family-card,
    .family-card-image img,
    .family-card-icon,
    .family-card-overlay,
    .family-card::before,
    .family-card-en-badge {
        transition: none;
    }

    .family-card:hover,
    .family-card:hover .family-card-image img,
    .family-card:hover .family-card-icon {
        transform: none;
    }
}


/* ====================================================================== */
/*                     17. HOME: PHILOSOPHY SECTION                     */
/* ====================================================================== */
.philosophy-section {
    padding: 70px 0 60px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background: linear-gradient(160deg, #FFFFFF 0%, #FEF9F5 50%, #FFFFFF 100%);
}

.philosophy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.4), transparent);
    pointer-events: none;
    z-index: 1;
}


.philosophy-bg-accent {
    position: absolute;
    top: -30%;
    left: -8%;
    width: 50%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(173, 22, 41, 0.04) 0%, transparent 65%);
    pointer-events: none;
    z-index: -1;
}


.philosophy-layout {
    display: grid;
    grid-template-columns: 0.88fr 1.12fr;
    gap: 48px;
    align-items: center;
}


.philosophy-visual {
    position: relative;
    padding-bottom: 22px;
}

.philosophy-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        0 24px 64px rgba(173, 22, 41, 0.14),
        0 8px 24px rgba(0, 0, 0, 0.08);
}

.philosophy-image-frame img {
    width: 100%;
    height: 440px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.philosophy-image-frame:hover img {
    transform: scale(1.04);
}


.philosophy-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(13, 17, 23, 0.35) 100%);
    pointer-events: none;
}


.philosophy-image-border {
    position: absolute;
    top: 14px;
    right: 14px;
    bottom: 14px;
    left: 14px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 16px;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.4s ease;
}

.philosophy-image-frame:hover .philosophy-image-border {
    border-color: rgba(212, 175, 55, 0.45);
}


.philosophy-floating-badge {
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #AD1629 0%, #7A0F1D 100%);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(173, 22, 41, 0.35);
    z-index: 3;
    white-space: nowrap;
    letter-spacing: 0.3px;
    animation: philosophy-badge-glow 3.5s ease-in-out infinite;
}

@keyframes philosophy-badge-glow {
    0%, 100% { box-shadow: 0 10px 30px rgba(173, 22, 41, 0.35); }
    50%       { box-shadow: 0 12px 40px rgba(173, 22, 41, 0.55), 0 0 18px rgba(212, 175, 55, 0.18); }
}

.philosophy-floating-badge i {
    color: #D4AF37;
    font-size: 0.95rem;
}


.philosophy-content {
    padding: 8px 0;
}


.philosophy-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #AD1629;
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.philosophy-label-line {
    width: 44px;
    height: 2.5px;
    background: linear-gradient(90deg, #AD1629, #D4AF37);
    border-radius: 4px;
    display: inline-block;
}


.philosophy-title {
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    color: var(--luxury-black);
    line-height: 1.3;
    margin-bottom: 22px;
    letter-spacing: 0.2px;
}

.philosophy-title-accent {
    color: #AD1629;
    font-weight: 700;
    position: relative;
}


.philosophy-lead {
    font-size: clamp(1.05rem, 1.6vw, 1.18rem);
    color: #AD1629;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.75;
}

.philosophy-text {
    color: var(--luxury-charcoal);
    line-height: 1.95;
    margin-bottom: 12px;
    font-size: 0.97rem;
}


.philosophy-quote {
    position: relative;
    margin: 22px 0;
    padding: 22px 28px 22px 20px;
    border-right: 4px solid #D4AF37;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.04) 0%, rgba(212, 175, 55, 0.03) 100%);
    border-radius: 0 18px 18px 0;
}

.philosophy-quote-icon {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.6rem;
    color: #D4AF37;
    opacity: 0.2;
}

.philosophy-quote p {
    font-size: clamp(1.12rem, 1.8vw, 1.32rem);
    font-weight: 700;
    color: #AD1629;
    margin: 0;
    line-height: 1.65;
}


.philosophy-stats {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 28px 0;
    padding: 22px 8px;
    border-top: 1px solid rgba(173, 22, 41, 0.1);
    border-bottom: 1px solid rgba(173, 22, 41, 0.1);
}

.philosophy-stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 12px 8px;
    border-radius: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.philosophy-stat:hover {
    background: rgba(173, 22, 41, 0.05);
    transform: translateY(-3px);
}

.philosophy-stat-number {
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    font-weight: 800;
    color: #AD1629;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.philosophy-stat-plus {
    color: #D4AF37;
    font-weight: 700;
}

.philosophy-stat-label {
    font-size: 0.82rem;
    color: var(--luxury-charcoal);
    margin-top: 6px;
    font-weight: 500;
}

.philosophy-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, transparent, rgba(173, 22, 41, 0.2), transparent);
    flex-shrink: 0;
}


.philosophy-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 36px;
    background: linear-gradient(135deg, #AD1629 0%, #7A0F1D 100%);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.97rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 8px 24px rgba(173, 22, 41, 0.28);
    letter-spacing: 0.3px;
    border: 1px solid transparent;
}

.philosophy-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(173, 22, 41, 0.4);
    background: linear-gradient(135deg, #7A0F1D 0%, #AD1629 100%);
    color: #fff;
    border-color: rgba(212, 175, 55, 0.3);
}

.philosophy-cta-arrow {
    font-size: 0.85rem;
    transition: transform 0.35s ease;
}

.philosophy-cta:hover .philosophy-cta-arrow {
    transform: translateX(-5px);
}


@media (max-width: 1024px) {
    .philosophy-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .philosophy-visual {
        max-width: 560px;
        margin: 0 auto;
    }

    .philosophy-image-frame img {
        height: 360px;
    }

    .philosophy-content {
        text-align: center;
    }

    .philosophy-label {
        justify-content: center;
    }

    .philosophy-cta {
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .philosophy-section {
        padding: 40px 0 36px;
    }

    .philosophy-layout {
        gap: 32px;
    }

    .philosophy-image-frame img {
        height: 260px;
    }

    .philosophy-image-border {
        top: 10px;
        right: 10px;
        bottom: 10px;
        left: 10px;
    }

    .philosophy-floating-badge {
        padding: 10px 22px;
        font-size: 0.82rem;
        bottom: -14px;
    }

    .philosophy-quote {
        padding: 16px 20px 16px 14px;
    }

    .philosophy-stats {
        padding: 18px 4px;
    }

    .philosophy-stat-divider {
        height: 30px;
    }

    .philosophy-cta {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
    }
}

@media (max-width: 480px) {
    .philosophy-section {
        padding: 32px 0 28px;
    }

    .philosophy-image-frame img {
        height: 220px;
    }

    .philosophy-stats {
        gap: 0;
        padding: 16px 0;
    }

    .philosophy-stat-number {
        font-size: 1.4rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .philosophy-image-frame img,
    .philosophy-cta,
    .philosophy-cta-arrow,
    .philosophy-image-border,
    .philosophy-stat {
        transition: none;
    }

    .philosophy-floating-badge {
        animation: none;
    }

    .philosophy-image-frame:hover img,
    .philosophy-cta:hover,
    .philosophy-cta:hover .philosophy-cta-arrow,
    .philosophy-stat:hover {
        transform: none;
    }
}


/* ====================================================================== */
/*                    18. HOME: OUD PERFUMES SECTION                    */
/* ====================================================================== */
/* ── 5. قسم العود ──────────────────────────────────────────── */
.oud-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(155deg, #080b10 0%, #13091a 50%, #0a0d13 100%);
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.oud-bg-pattern {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 800px 500px at 15% 50%, rgba(173, 22, 41, 0.10) 0%, transparent 65%),
        radial-gradient(ellipse 500px 400px at 85% 20%, rgba(212, 175, 55, 0.07) 0%, transparent 65%),
        radial-gradient(ellipse 350px 250px at 65% 90%, rgba(173, 22, 41, 0.06) 0%, transparent 70%),
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(212, 175, 55, 0.40) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 88% 72%, rgba(212, 175, 55, 0.30) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 8%, rgba(212, 175, 55, 0.25) 0%, transparent 100%),
        radial-gradient(1px 1px at 72% 45%, rgba(212, 175, 55, 0.20) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 30% 85%, rgba(255, 255, 255, 0.08) 0%, transparent 100%),
        radial-gradient(1px 1px at 65% 92%, rgba(212, 175, 55, 0.18) 0%, transparent 100%),
        radial-gradient(1px 1px at 42% 60%, rgba(212, 175, 55, 0.15) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 95% 15%, rgba(212, 175, 55, 0.22) 0%, transparent 100%),
        radial-gradient(1px 1px at 5% 60%, rgba(255, 255, 255, 0.07) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* جزيئات الجمر المتطايرة */
.oud-embers {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.oud-ember {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D4AF37;
    box-shadow: 0 0 6px 2px rgba(212, 175, 55, 0.5);
    opacity: 0;
    animation: oud-ember-rise var(--dur, 6s) ease-in var(--delay, 0s) infinite;
}

.oud-ember:nth-child(1) { left: 15%; --dur: 7s;   --delay: 0s; }
.oud-ember:nth-child(2) { left: 35%; --dur: 5.5s; --delay: 1.5s; background: #AD1629; box-shadow: 0 0 6px 2px rgba(173,22,41,0.5); width: 3px; height: 3px; }
.oud-ember:nth-child(3) { left: 55%; --dur: 8s;   --delay: 0.8s; width: 2px; height: 2px; }
.oud-ember:nth-child(4) { left: 72%; --dur: 6.5s; --delay: 2.2s; background: #F5D485; box-shadow: 0 0 6px 2px rgba(245,212,133,0.6); }
.oud-ember:nth-child(5) { left: 88%; --dur: 5s;   --delay: 3s;   width: 3px; height: 3px; }

@keyframes oud-ember-rise {
    0%   { transform: translateY(0)         translateX(0)    scale(1);   opacity: 0; }
    10%  {                                                                opacity: 0.8; }
    50%  { transform: translateY(-50vh)     translateX(25px) scale(0.7); opacity: 0.5; }
    80%  {                                                                opacity: 0.2; }
    100% { transform: translateY(-95vh)     translateX(-15px) scale(0.3); opacity: 0; }
}

.oud-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* ── المرئي ────────────────────────────────────────────────── */
.oud-visual {
    position: relative;
}

/* توهج ذهبي خلف الصورة */
.oud-visual-glow {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%; height: 100%;
    background: radial-gradient(ellipse, rgba(212,175,55,0.13) 0%, rgba(173,22,41,0.08) 40%, transparent 70%);
    filter: blur(45px);
    z-index: 0;
    animation: oud-glow-breathe 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes oud-glow-breathe {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1);   }
    50%       { opacity: 1;   transform: translate(-50%, -50%) scale(1.12); }
}

.oud-image-frame {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    z-index: 1;
    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(212, 175, 55, 0.15),
        0 0 60px -15px rgba(173, 22, 41, 0.30);
    transition: box-shadow 0.5s ease;
}

.oud-image-frame:hover {
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.60),
        0 0 0 1px rgba(212, 175, 55, 0.32),
        0 0 80px -10px rgba(173, 22, 41, 0.42);
}

.oud-image-frame img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.oud-image-frame:hover img {
    transform: scale(1.05);
}

.oud-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(8, 11, 16, 0.82) 100%);
    pointer-events: none;
}

/* أركان الصورة الأربعة */
.oud-image-corner {
    position: absolute;
    width: 52px;
    height: 52px;
    border-color: #D4AF37;
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.oud-image-frame:hover .oud-image-corner { opacity: 1; }

.oud-corner-tl { top: 12px;    left: 12px;  border-top: 2px solid; border-left: 2px solid;   border-radius: 4px 0 0 0; transform: translate(-5px, -5px); }
.oud-corner-tr { top: 12px;    right: 12px; border-top: 2px solid; border-right: 2px solid;  border-radius: 0 4px 0 0; transform: translate(5px, -5px); }
.oud-corner-bl { bottom: 12px; left: 12px;  border-bottom: 2px solid; border-left: 2px solid;  border-radius: 0 0 0 4px; transform: translate(-5px, 5px); }
.oud-corner-br { bottom: 12px; right: 12px; border-bottom: 2px solid; border-right: 2px solid; border-radius: 0 0 4px 0; transform: translate(5px, 5px); }

.oud-image-frame:hover .oud-corner-tl,
.oud-image-frame:hover .oud-corner-tr,
.oud-image-frame:hover .oud-corner-bl,
.oud-image-frame:hover .oud-corner-br { transform: translate(0, 0); }

/* بادج "عود معتّق" */
.oud-image-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(8, 11, 16, 0.82);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    border-radius: 30px;
    padding: 8px 18px;
    color: #D4AF37;
    font-size: 0.88rem;
    font-weight: 600;
    z-index: 3;
    animation: oud-badge-pulse 3s ease-in-out infinite;
}

.oud-image-badge i { font-size: 0.8rem; color: #AD1629; }

@keyframes oud-badge-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 18px rgba(212,175,55,0.10); }
    50%       { box-shadow: 0 4px 20px rgba(0,0,0,0.4), 0 0 30px rgba(212,175,55,0.28); }
}

/* ── المحتوى ───────────────────────────────────────────────── */
.oud-content {
    color: #e8e6e3;
}

.oud-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(173, 22, 41, 0.12);
    border: 1px solid rgba(173, 22, 41, 0.30);
    border-radius: 30px;
    padding: 6px 18px;
    margin-bottom: 20px;
    font-size: 0.82rem;
    color: #D4AF37;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.oud-label-icon {
    font-size: 0.85rem;
    color: #AD1629;
    animation: oud-glow-pulse 2.5s ease-in-out infinite;
}

@keyframes oud-glow-pulse {
    0%, 100% { opacity: 0.7; }
    50%       { opacity: 1; text-shadow: 0 0 10px rgba(173, 22, 41, 0.7); }
}

/* عنوان ذهبي متدرج */
.oud-title {
    font-size: clamp(2.2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #F5D485 40%, #D4AF37 70%, #C09B2E 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0;
    line-height: 1.15;
    display: block;
}

.oud-title-en {
    display: block;
    font-size: 0.62em;
    letter-spacing: 0.28em;
    background: linear-gradient(135deg, rgba(212,175,55,0.5), rgba(212,175,55,0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 5px;
    font-weight: 600;
}

/* خط ذهبي تزييني تحت العنوان */
.oud-title-line {
    width: 70px;
    height: 3px;
    background: linear-gradient(90deg, #AD1629, #D4AF37, transparent);
    border-radius: 2px;
    margin: 16px 0 22px;
}

.oud-subtitle {
    font-size: 1.1rem;
    color: rgba(212, 175, 55, 0.90);
    margin-bottom: 22px;
    font-style: italic;
    line-height: 1.7;
}

.oud-text-block p {
    font-size: 1rem;
    line-height: 1.9;
    color: rgba(232, 230, 227, 0.78);
    margin-bottom: 12px;
}

.oud-text-block p:last-child {
    margin-bottom: 24px;
}

.oud-quote {
    position: relative;
    margin: 28px 0;
    padding: 20px 28px 20px 20px;
    border-right: 3px solid #D4AF37;
    background: linear-gradient(135deg, rgba(173,22,41,0.09), rgba(212,175,55,0.04));
    border-radius: 0 14px 14px 0;
    overflow: hidden;
}

.oud-quote::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(212,175,55,0.03));
    pointer-events: none;
}

.oud-quote-line {
    position: absolute;
    top: -1px;
    right: -3px;
    width: 3px;
    height: 0;
    background: linear-gradient(180deg, #AD1629, #D4AF37);
    border-radius: 2px;
    animation: oud-quote-line-fill 1.2s ease-out 0.5s forwards;
}

@keyframes oud-quote-line-fill {
    to { height: calc(100% + 2px); }
}

.oud-quote-mark {
    position: absolute;
    top: 6px;
    left: 14px;
    font-size: 4rem;
    color: rgba(212, 175, 55, 0.08);
    line-height: 1;
    font-family: Georgia, serif;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
}

.oud-quote p {
    font-size: 1.05rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.90);
    line-height: 1.85;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ميزات العود */
.oud-features {
    display: flex;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.oud-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 12px 18px;
    flex: 1 1 calc(33% - 14px);
    min-width: 130px;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.oud-feature::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #AD1629, #D4AF37);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.oud-feature:hover {
    background: rgba(173, 22, 41, 0.10);
    border-color: rgba(212, 175, 55, 0.20);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.20);
}

.oud-feature:hover::after { opacity: 1; }

.oud-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.25), rgba(212, 175, 55, 0.15));
    border: 1px solid rgba(212, 175, 55, 0.20);
    color: #D4AF37;
    font-size: 1rem;
    flex-shrink: 0;
    transition: all 0.35s ease;
}

.oud-feature:hover .oud-feature-icon {
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.40), rgba(212, 175, 55, 0.25));
    box-shadow: 0 0 16px rgba(212,175,55,0.22);
}

.oud-feature-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.oud-feature-text strong {
    font-size: 0.88rem;
    color: rgba(232, 230, 227, 0.92);
    font-weight: 600;
    line-height: 1.2;
}

.oud-feature-text span {
    font-size: 0.75rem;
    color: rgba(212, 175, 55, 0.60);
}

/* زر استكشاف العود */
.oud-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 38px;
    background: linear-gradient(135deg, #AD1629, #8B1122);
    color: #fff;
    border: 1px solid rgba(212, 175, 55, 0.32);
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 24px rgba(173, 22, 41, 0.30);
    position: relative;
    overflow: hidden;
}

/* بريق الزر عند hover */
.oud-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.14), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
}

.oud-cta::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.oud-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(173, 22, 41, 0.45);
    border-color: rgba(212, 175, 55, 0.52);
    color: #fff;
    text-decoration: none;
}

.oud-cta:hover::before { left: 150%; }
.oud-cta:hover::after  { opacity: 1; }

.oud-cta-arrow {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.oud-cta:hover .oud-cta-arrow { transform: translateX(-5px); }
.oud-cta span { position: relative; z-index: 1; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .oud-section { padding: 70px 0; }
    .oud-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .oud-visual { order: -1; }
    .oud-image-frame img { height: 360px; }
    .oud-feature { flex: 1 1 calc(50% - 14px); }
}

@media (max-width: 767px) {
    .oud-section { padding: 50px 0; }
    .oud-image-frame img { height: 270px; }
    .oud-features { gap: 10px; }
    .oud-feature {
        padding: 10px 14px;
        flex: 1 1 calc(50% - 10px);
    }
    .oud-cta {
        width: 100%;
        justify-content: center;
    }
    .oud-quote { padding: 16px 18px 16px 16px; }
}

@media (max-width: 480px) {
    .oud-title { font-size: 1.9rem; }
    .oud-feature { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .oud-image-frame img,
    .oud-image-corner,
    .oud-feature,
    .oud-cta,
    .oud-cta-arrow {
        transition: none;
    }
    .oud-image-frame:hover img,
    .oud-feature:hover,
    .oud-cta:hover,
    .oud-cta:hover .oud-cta-arrow {
        transform: none;
    }
    .oud-label-icon { animation: none; }
    .oud-visual-glow,
    .oud-image-badge { animation: none; }
    .oud-quote-line {
        animation: none;
        height: calc(100% + 2px);
    }
    .oud-ember { display: none; }
}


/* ====================================================================== */
/*                    19. HOME: INTRO CARDS SECTION                     */
/* ====================================================================== */
/* ── Intro Cards Section ───────────────────────────────────── */
.intro-cards-section {
    padding: 90px 0;
    position: relative;
    background: #070b11;
    overflow: hidden;
    isolation: isolate;
    border-top: 1px solid rgba(212, 175, 55, 0.10);
    border-bottom: 1px solid rgba(212, 175, 55, 0.10);
}

/* جسوم ضوئية في الخلفية */
.intro-cards-bg-accent {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 450px at 50% -10%, rgba(173, 22, 41, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 500px 350px at 10% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 65%),
        radial-gradient(ellipse 400px 300px at 90% 70%, rgba(173, 22, 41, 0.05) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

.intro-cards-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.25), rgba(173, 22, 41, 0.20), transparent);
    pointer-events: none;
    z-index: 1;
}

/* عنوان القسم */
.intro-cards-header {
    text-align: center;
    margin-bottom: 54px;
    position: relative;
    z-index: 1;
}

.intro-cards-header-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    color: #D4AF37;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.intro-cards-header-line {
    flex: 1;
    max-width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5));
    border-radius: 1px;
}

.intro-cards-header-label .intro-cards-header-line:last-child {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.5), transparent);
}

.intro-cards-header-title {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 0;
    position: relative;
    padding-bottom: 22px;
    background: linear-gradient(135deg, #fff 30%, #F5D485 70%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.intro-cards-header-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #AD1629, #D4AF37, transparent);
    border-radius: 2px;
}

.intro-cards-header-sub {
    font-size: 0.97rem;
    color: rgba(232, 230, 227, 0.55);
    margin-top: 18px;
    margin-bottom: 0;
    font-style: italic;
    line-height: 1.7;
}

/* شبكة البطاقات */
.intro-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    align-items: stretch;
    position: relative;
    z-index: 1;
}

/* البطاقة */
.intro-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(14, 19, 30, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform 0.38s ease, box-shadow 0.38s ease, border-color 0.38s ease;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
}

/* شريط لوني علوي */
.intro-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #AD1629, #D4AF37);
    opacity: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: opacity 0.4s ease, transform 0.4s ease;
    z-index: 2;
    border-radius: 20px 20px 0 0;
}

.intro-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.18);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.50),
        0 0 40px -12px rgba(173, 22, 41, 0.30);
}

.intro-card:hover::before {
    opacity: 1;
    transform: scaleX(1);
}

/* منطقة الصورة */
.intro-card-visual {
    position: relative;
    overflow: hidden;
}

.intro-card-visual img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
    filter: brightness(0.88) saturate(0.9);
}

.intro-card:hover .intro-card-visual img {
    transform: scale(1.07);
    filter: brightness(1) saturate(1.05);
}

.intro-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7,11,17,0.10) 0%, rgba(7,11,17,0.65) 100%);
    pointer-events: none;
}

/* رقم البطاقة */
.intro-card-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(8, 12, 18, 0.75);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #D4AF37;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1px;
    border: 1px solid rgba(212, 175, 55, 0.35);
    transition: background 0.35s ease, box-shadow 0.35s ease;
}

.intro-card:hover .intro-card-number {
    background: rgba(173, 22, 41, 0.80);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 0 18px rgba(173, 22, 41, 0.40);
    color: #fff;
}

/* جسم البطاقة */
.intro-card-body {
    padding: 24px 22px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* أيقونة */
.intro-card-icon-badge {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.15), rgba(212, 175, 55, 0.08));
    color: #D4AF37;
    font-size: 1.2rem;
    margin-bottom: 16px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: background 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.intro-card:hover .intro-card-icon-badge {
    background: linear-gradient(135deg, rgba(173, 22, 41, 0.30), rgba(212, 175, 55, 0.16));
    transform: scale(1.08) rotate(-4deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.30);
}

/* عنوان و شعار */
.intro-card-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #f0ede8;
    margin-bottom: 6px;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.intro-card:hover .intro-card-title { color: #fff; }

.intro-card-tagline {
    font-size: 0.83rem;
    color: rgba(212, 175, 55, 0.65);
    font-style: italic;
    margin-bottom: 12px;
    line-height: 1.5;
}

.intro-card:hover .intro-card-tagline { color: rgba(212, 175, 55, 0.90); }

.intro-card-text {
    font-size: 0.93rem;
    line-height: 1.88;
    color: rgba(200, 196, 190, 0.72);
    margin-bottom: 20px;
    flex: 1;
}

/* زر البطاقة */
.intro-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 12px;
    background: transparent;
    color: #D4AF37;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(212, 175, 55, 0.30);
    transition: all 0.32s ease;
    width: fit-content;
    margin-top: auto;
    position: relative;
    overflow: hidden;
}

.intro-card-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #AD1629, #8B1122);
    opacity: 0;
    transition: opacity 0.32s ease;
    z-index: 0;
}

.intro-card-cta:hover {
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(173, 22, 41, 0.35);
    text-decoration: none;
}

.intro-card-cta:hover::before { opacity: 1; }

.intro-card-cta span,
.intro-card-cta-arrow {
    position: relative;
    z-index: 1;
}

.intro-card-cta-arrow {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.intro-card-cta:hover .intro-card-cta-arrow { transform: translateX(-4px); }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 991px) {
    .intro-cards-section { padding: 65px 0; }
    .intro-cards-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .intro-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .intro-cards-section { padding: 48px 0; }
    .intro-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .intro-card:last-child { grid-column: auto; max-width: none; }
    .intro-card-visual img { height: 200px; }
    .intro-card-body { padding: 20px 18px 22px; }
    .intro-cards-header { margin-bottom: 36px; }
    .intro-card-cta { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .intro-card-visual img { height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
    .intro-card,
    .intro-card::before,
    .intro-card-cta,
    .intro-card-cta-arrow,
    .intro-card-icon-badge,
    .intro-card-visual img {
        transition: none;
    }
    .intro-card:hover,
    .intro-card-cta:hover,
    .intro-card:hover .intro-card-icon-badge,
    .intro-card:hover .intro-card-visual img,
    .intro-card-cta:hover .intro-card-cta-arrow,
    .intro-card:hover .intro-card-number {
        transform: none;
    }
    .intro-card:hover::before { transform: scaleX(1); }
}


@media (max-width: 480px) {
    
    .container {
        padding: 0 12px;
    }

    
    html {
        font-size: 14px;
    }

    
    .section {
        padding: 40px 0;
    }

.hero-title {
        font-size: 28px;
        line-height: 1.25;
        margin-bottom: 14px;
        font-weight: 800;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.6;
        opacity: 0.95;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 12px;
        line-height: 1.3;
    }

.hero {
        margin-top: -80px;
    }

    .hero-label {
        font-size: 11px;
        padding: 6px 14px;
        margin-bottom: 14px;
        letter-spacing: 0.5px;
    }

    .btn {
        width: 100%;
        padding: 15px 24px;
        font-size: 15px;
        min-height: 50px;
        border-radius: 12px;
        font-weight: 700;
    }

    .btn i {
        font-size: 16px;
    }

    
    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.15);
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 16px !important;
    }

    

    .swiper-pagination-bullet {
        width: 11px;
        height: 11px;
    }

    .swiper-pagination-bullet-active {
        width: 20px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 4px;
    }

    
    .product-card {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .product-card:active {
        transform: translateY(-8px) scale(0.98);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    }

    .product-image-wrapper {
        padding-top: 100%;
        
    }

    .product-image {
        transition: transform 0.3s ease;
    }

    .product-card:active .product-image {
        transform: scale(1.05);
    }

    .product-badges {
        top: 8px;
        right: 8px;
        gap: 5px;
        z-index: 5;
    }

    .product-badge {
        padding: 6px 10px;
        font-size: 9px;
        border-radius: 12px;
        font-weight: 800;
        letter-spacing: 0.3px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    }

.product-info {
        padding: 14px 12px 12px;
    }

    .product-brand {
        font-size: 10px;
        margin-bottom: 4px;
        font-weight: 800;
        letter-spacing: 0.5px;
    }

    .product-name {
        font-size: 13px;
        line-height: 1.35;
        
        font-weight: 700;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        
    }

.add-to-cart-btn,
    .whatsapp-order-btn {
        width: calc(100% - 20px);
        margin: 0 10px 12px;
        
        font-size: 14px;
        min-height: 44px;
        border-radius: 14px;
        
        gap: 10px;
        
    }

    .add-to-cart-btn:active,
    .whatsapp-order-btn:active {
        transform: translateY(-2px) scale(0.97);
    }

    .add-to-cart-btn i,
    .whatsapp-order-btn i {
        font-size: 18px;
    }

    
.search-modal-content {
        padding: 0 15px;
        padding-top: 0;
    }

    .search-box {
        margin-bottom: 20px;
    }

    .search-box input {
        padding: 16px 60px 16px 20px;
        font-size: 15px;
        border-radius: 12px;
    }

    .search-box i {
        font-size: 20px;
        right: 20px;
    }

    .search-close {
        top: 20px;
        left: 20px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .search-results {
        border-radius: 12px;
        padding: 15px;
        max-height: 400px;
    }

    .search-result-item {
        padding: 12px;
        border-radius: 10px;
    }

    .search-result-image {
        width: 70px;
        height: 70px;
        border-radius: 8px;
    }

    .search-result-info h4 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .search-result-info p {
        font-size: 12px;
    }
}


@media (min-width: 481px) and (max-width: 768px) {
    
    .container {
        padding: 0 18px;
    }

    
    html {
        font-size: 15px;
    }

    
    .section {
        padding: 55px 0;
    }

.section-title {
        font-size: 28px;
        margin-bottom: 14px;
    }

.hero {
        margin-top: -80px;
    }

    .hero-content {
        padding-top: 110px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.3;
        font-weight: 800;
    }

    .hero-description {
        font-size: 16px;
        line-height: 1.6;
    }

    .hero-label {
        font-size: 12px;
        padding: 7px 16px;
    }

    
.section-title {
        font-size: 26px;
    }

    .btn {
        padding: 16px 30px;
        font-size: 16px;
        min-height: 52px;
        border-radius: 12px;
        font-weight: 700;
    }

    .btn i {
        font-size: 17px;
    }

    
    .swiper-button-next,
    .swiper-button-prev {
        width: 45px;
        height: 45px;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after {
        font-size: 18px !important;
    }

    .swiper-pagination-bullet {
        width: 11px;
        height: 11px;
    }

    .swiper-pagination-bullet-active {
        width: 25px;
    }

    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 6px;
    }

    .product-card {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .product-card:active {
        transform: translateY(-3px) scale(0.98);
        box-shadow: 0 8px 18px rgba(173, 22, 41, 0.2);
    }

    

    .product-badges {
        top: 10px;
        right: 10px;
        gap: 6px;
    }

    .product-badge {
        padding: 5px 10px;
        font-size: 10px;
        font-weight: 800;
    }

    .product-info {
        padding: 13px;
    }

    .product-brand {
        font-size: 11px;
        font-weight: 800;
    }

    .product-name {
        font-size: 14px;
        line-height: 1.4;
        font-weight: 700;
        
        
    }

.add-to-cart-btn,
    .whatsapp-order-btn {
        padding: .5rem 1.5rem .625rem;
        font-size: 15px;
        min-height: 44px;
        border-radius: 12px;
        font-weight: 700;
        gap: 8px;
    }

    .add-to-cart-btn:active,
    .whatsapp-order-btn:active {
        transform: scale(0.97);
    }

    .add-to-cart-btn i,
    .whatsapp-order-btn i {
        font-size: 17px;
    }

    
.section {
        padding: 50px 0;
    }

    
}


@media (min-width: 769px) and (max-width: 1024px) {
    
    .container {
        padding: 0 20px;
    }

    
    .hero-title {
        font-size: 42px;
    }

    .section-title {
        font-size: 32px;
    }

    
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}


@media (min-width: 1025px) {
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }

    
}


@media (hover: none) and (pointer: coarse) {
    
    .product-card:hover {
        transform: none;
    }

    .product-card:active {
        transform: scale(0.98);
    }

}


@media (max-width: 768px) and (orientation: landscape) {
    .section {
        padding: 35px 0;
    }
}


/* ====================================================================== */
/*                           20. MOBILE MENU                            */
/* ====================================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.3s, opacity 0.3s;
}

.mobile-menu.active {
    visibility: visible;
    opacity: 1;
}

.mobile-menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 82%;
    max-width: 340px;
    background: linear-gradient(180deg, #0d1218 0%, #111827 50%, #0d1218 100%);
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 50px rgba(0, 0, 0, 0.55), -2px 0 0 rgba(173, 22, 41, 0.25);
    border-right: none;
    border-left: 1px solid rgba(173, 22, 41, 0.20);
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}


.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 18px;
    background: linear-gradient(160deg, #080c12 0%, #0f1520 100%);
    border-bottom: 1px solid rgba(173, 22, 41, 0.30);
    flex-shrink: 0;
    position: relative;
}

.mobile-menu-header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #AD1629 35%, #AD1629 65%, transparent 100%);
    opacity: 0.7;
}

.mobile-menu-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mm-logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(173, 22, 41, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 16px rgba(173, 22, 41, 0.12), inset 0 1px 0 rgba(255,255,255,0.04);
}

.mm-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mm-logo-text h3 {
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0;
    color: #ffffff;
    line-height: 1.4;
    letter-spacing: 0.2px;
}

.mm-logo-text p {
    font-size: 0.72rem;
    margin: 0;
    color: #FFFFFF;
    letter-spacing: 0.04em;
    font-weight: 600;
}
.mm-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0 6px;
}

.mm-nav::-webkit-scrollbar {
    width: 6px;
}

.mm-nav::-webkit-scrollbar-thumb {
    background: rgba(173, 22, 41, 0.3);
    border-radius: 8px;
}

.mm-nav::-webkit-scrollbar-track {
    background: transparent;
}

.mm-nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 22px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.93rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.28s ease;
    border-right: 3px solid transparent;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.mm-nav-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.88rem;
    flex-shrink: 0;
    transition: all 0.28s ease;
}

.mm-nav-link span {
    flex: 1;
}

.mm-nav-arrow {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    opacity: 1;
    transition: all 0.3s ease;
}

.mm-nav-link:hover,
.mm-nav-link.active {
    background: linear-gradient(90deg, rgba(173, 22, 41, 0.14) 0%, rgba(173, 22, 41, 0.04) 100%);
    border-right-color: #AD1629;
    color: #ffffff;
}

.mm-nav-link:hover .mm-nav-icon,
.mm-nav-link.active .mm-nav-icon {
    background: linear-gradient(135deg, #AD1629, #7A0F1D);
    color: #fff;
    border-color: transparent;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(173, 22, 41, 0.35);
}

.mm-nav-link:hover .mm-nav-arrow {
    transform: translateX(-4px);
    color: #AD1629;
}


.mm-contact {
    padding: 14px 22px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.mm-contact-label {
    font-size: 0.65rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.28);
    text-transform: uppercase;
    letter-spacing: 0.10em;
    margin-bottom: 10px;
}

.mm-contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.8rem;
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.25s ease;
    margin-bottom: 4px;
    border: 1px solid transparent;
}

.mm-contact-link:last-child {
    margin-bottom: 0;
}

.mm-contact-link i {
    width: 18px;
    font-size: 0.78rem;
    color: #AD1629;
    text-align: center;
    flex-shrink: 0;
}

.mm-contact-link:hover {
    background: rgba(173, 22, 41, 0.10);
    border-color: rgba(173, 22, 41, 0.18);
    color: rgba(255, 255, 255, 0.85);
}


.mm-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 14px 22px 20px;
    background: linear-gradient(160deg, #080c12, #0d1420);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
}

.mm-social-link {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mm-social-link::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background 0.25s ease;
}

.mm-social-link:hover::after {
    background: rgba(255, 255, 255, 0.15);
}

.mm-social-fb {
    background: linear-gradient(135deg, #1877F2, #0d5ec4);
}

.mm-social-ig {
    background: linear-gradient(135deg, #E4405F, #C13584);
}

.mm-social-wa {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.mm-social-ch {
    background: linear-gradient(135deg, #25D366, #075E54);
}

.mm-social-link:hover {
    transform: translateY(-4px) scale(1.06);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}


@media (max-width: 359px) {
    .mobile-menu-content {
        width: 88%;
    }
    .mm-nav-link {
        padding: 12px 18px;
        font-size: 0.87rem;
    }
    .mm-nav-icon {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }
    .mm-social-link {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }
}


@media (hover: none) {
    .mm-nav-link:hover {
        background: transparent;
        border-right-color: transparent;
        color: rgba(255, 255, 255, 0.75);
    }
    .mm-nav-link:hover .mm-nav-icon {
        background: rgba(255, 255, 255, 0.05);
        color: rgba(255, 255, 255, 0.55);
        border-color: rgba(255, 255, 255, 0.08);
        transform: none;
        box-shadow: none;
    }
    .mm-nav-link:hover .mm-nav-arrow {
        color: rgba(255, 255, 255, 0.25);
        transform: none;
    }
    .mm-nav-link:active {
        background: linear-gradient(90deg, rgba(173, 22, 41, 0.14), rgba(173, 22, 41, 0.04));
        border-right-color: #AD1629;
        color: #ffffff;
    }
    .mm-nav-link:active .mm-nav-icon {
        background: linear-gradient(135deg, #AD1629, #7A0F1D);
        color: #fff;
        border-color: transparent;
        box-shadow: 0 4px 14px rgba(173, 22, 41, 0.35);
    }
    .mm-social-link:hover {
        transform: none;
        box-shadow: none;
    }
}


/* ====================================================================== */
/*                      22. PRODUCTS SLIDER & HERO                      */
/* ====================================================================== */
.products-slider{
    padding: 20px 15px 30px;
}
.products-slider .swiper-button-next, .products-slider .swiper-button-prev{
    background: rgb(28, 33, 40, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

 .home-section-template {
    position: relative;
    overflow: hidden;
    margin: 60px 0;
    color: #fff;
 }


 .home-section-template__bg {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.02);
    filter: saturate(0.95) contrast(0.95);
    height: 30rem;
 }

 .home-section-template__bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(13, 17, 23, 0.82), rgba(13, 17, 23, 0.42));
 }

 .home-section-template .container {
    position: relative;
    z-index: 1;
 }
 .home-section-template__bg .container {
    padding-top: 5.5rem;
 }
 .home-section-template > .container {
    margin-top: -248px;
    overflow: hidden;
 }
 .home-section-template__header {
    position: relative;
 }

 

 .home-section-template__header .section-title,
 .home-section-template__actions .section-title {
    font-size: 1.4rem;
    line-height: 3rem;
    font-weight: 600;
    margin-bottom: 0;
    
 }
 .home-section-template__header .section-title{
    color: #fff;
 }
 

 .home-section-template__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 0px 15px;
 }

 .home-section-template__cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
 }

 .home-section-template__cta:hover {
    background: rgba(255, 255, 255, 0.2);
 }

 .home-section-template__nav {
    display: inline-flex;
    align-items: center;
    gap: 10px;
 }

 .home-section-template__nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
 }

 .home-section-template__nav-btn:hover {
    background: rgba(255, 255, 255, 0.2);
 }

 .home-section-template__nav-btn.swiper-button-disabled,
 .home-section-template__nav-btn.swiper-button-lock,
 .home-section-template__nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    filter: grayscale(1);
 }

 .home-section-template__view-all {
    color: var(--luxury-gold);
    font-weight: 600;
    margin-left: 20px;
 }

 .home-section-template__view-all:hover {
    color: var(--luxury-gold-dark);
 }


 .home-section-template__actions .section-title{
    color: var(--luxury-black);
 }
 [data-home-category-section]{
    padding: 0 0 60px ;
 }
 [data-home-category-section] .home-section-template__nav-btn,
 [data-pd-related-section] .home-section-template__nav-btn {
    border: 1px solid rgba(209,213,219,1);
    color: #6b7280;
 }
 [data-home-category-section] .home-section-template__nav-btn:hover,
 [data-pd-related-section] .home-section-template__nav-btn:hover {
    border-color: var(--luxury-gold);
 }

 [data-home-category-section] .home-section-template__nav-btn.swiper-button-disabled,
 [data-home-category-section] .home-section-template__nav-btn:disabled {
     opacity: 0.35;
     cursor: not-allowed;
     pointer-events: none;
 }
 [data-home-category-section] .home-section-template__nav-btn:hover i,
 [data-pd-related-section] .home-section-template__nav-btn:hover i{
    color: var(--luxury-black);
 }

@media(min-width: 640px){
    .home-section-template__bg {
        height: 464px;
    }
    .home-section-template__bg .container {
        padding-top: 5rem;
    }
}
@media(min-width: 768px){
    .home-section-template__header {
        padding-right: 2rem;
    }
}
 @media (max-width: 768px) {
    .products-slider{
        padding: 20px 10px 30px;
}

    .home-section-template__nav-btn {
        display: none;
    }
}
@media (max-width: 479px) {
    .products-slider{
        padding: 20px 5px 30px;
        margin-left: -.625rem;
        margin-right: -.625rem;
    }
}

.products-hero .hero-overlay{
    background: url('../assets/images/product-share.webp') center/cover;
}


/* ====================================================================== */
/*                            23. UTILITIES                             */
/* ====================================================================== */
.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hidden {
    display: none !important;
}

.no-scroll {
    overflow: hidden;
}

 .confirm-modal-overlay {
     position: fixed;
     inset: 0;
     background: rgba(13, 17, 23, 0.55);
     -webkit-backdrop-filter: blur(2px);
     backdrop-filter: blur(2px);
     z-index: 11000;
     display: flex;
     align-items: center;
     justify-content: center;
     padding: 20px;
 }

 .confirm-modal {
     width: 100%;
     max-width: 520px;
     background: linear-gradient(180deg, #ffffff 0%, #FDF2F4 100%);
     border: 1px solid rgba(173, 22, 41, 0.25);
     border-radius: 18px;
     box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
     padding: 18px;
     position: relative;
     animation: confirmModalIn 160ms ease;
 }

 .confirm-modal-close {
     position: absolute;
     top: 12px;
     left: 12px;
     width: 38px;
     height: 38px;
     border-radius: 12px;
     border: 1px solid rgba(13, 17, 23, 0.12);
     background: rgba(255, 255, 255, 0.9);
     color: var(--luxury-black);
     cursor: pointer;
     transition: var(--transition);
 }

 .confirm-modal-close:hover {
     transform: translateY(-1px);
     border-color: rgba(173, 22, 41, 0.55);
 }

 .confirm-modal-title {
     margin: 0 0 8px;
     font-weight: 900;
     font-size: 18px;
     color: var(--luxury-black);
     padding-left: 46px;
 }

 .confirm-modal-message {
     color: rgba(13, 17, 23, 0.75);
     line-height: 1.9;
     font-size: 14px;
     margin-bottom: 14px;
 }

 .confirm-modal-actions {
     display: grid;
     grid-template-columns: 1fr 1fr;
     gap: 10px;
 }

 .confirm-modal-btn {
     border: 1px solid transparent;
     border-radius: 14px;
     padding: 12px 14px;
     font-weight: 900;
     cursor: pointer;
     transition: var(--transition);
 }

 .confirm-modal-btn-cancel {
     background: #fff;
     border-color: rgba(173, 22, 41, 0.35);
     color: var(--luxury-black);
 }

 .confirm-modal-btn-cancel:hover {
     background: rgba(173, 22, 41, 0.08);
     border-color: rgba(173, 22, 41, 0.55);
 }

 .confirm-modal-btn-confirm {
     background: linear-gradient(135deg, var(--luxury-black-light) 0%, var(--luxury-charcoal) 100%);
     border-color: rgba(173, 22, 41, 0.22);
     color: var(--luxury-white);
 }

 .confirm-modal-btn-confirm:hover {
     transform: translateY(-1px);
 }

@keyframes confirmModalIn {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


.lucide-saudi-riyal-icon,
.lucide-saudi-riyal,
i[class*="lucide-saudi-riyal"] {
    display: none !important;
}


