@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700&display=swap");:root { 
        --theme-color: #bb006e; 
        --theme-color-dark: #930046; 
        --theme-text-contrast: #ffffff;
        --theme-gradient: linear-gradient(135deg, #bb006e 0%, #930046 100%);
        --theme-color-bg: rgba(187, 0, 110, 0.1); 
        --theme-color-50: rgba(187, 0, 110, 0.5); 
        --theme-color-30: rgba(187, 0, 110, 0.3); 
        --font-family: "Cairo", sans-serif;
    }html, body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, div { font-family: var(--font-family); }.theme-text { color: var(--theme-color); }.theme-bg { 
        background-color: var(--theme-color); /* Fallback */
        background-image: var(--theme-gradient);
        color: var(--theme-text-contrast) !important;
    }.theme-bg i, .theme-bg span { color: inherit; }.theme-border { border-color: var(--theme-color); }.theme-ring { --tw-ring-color: var(--theme-color) !important; --tw-ring-opacity: 1 !important; }input:focus, textarea:focus, select:focus { --tw-ring-color: var(--theme-color) !important; }.theme-text-hover:hover { color: var(--theme-color) !important; }.variant-option-chip.is-selected {
        border-color: var(--theme-color) !important;
        background-color: transparent !important;
        color: var(--theme-color) !important;
        font-weight: 700 !important;
        box-shadow: 0 0 0 2px var(--theme-color-30) !important;
    }.selected-value-label.theme-text {
        font-weight: 700 !important;
    }.express-cart-btn:hover, .quick-view-btn:hover {
        background-color: var(--theme-color) !important;
        background-image: var(--theme-gradient) !important;
        color: var(--theme-text-contrast) !important;
        border-color: var(--theme-color) !important;
    }.express-cart-btn:hover i, .quick-view-btn:hover i {
        color: inherit !important;
    }.swiper-pagination-bullet { 
        background-color: #fff; 
        opacity: 0.5 !important; 
        transition: all 0.3s ease;
    }.swiper-pagination-bullet-active { 
        background-color: var(--theme-color) !important; 
        opacity: 1 !important; 
    }.main-slider .swiper-pagination-bullet {
        width: 7px !important;
        height: 7px !important;
        border-radius: 50% !important;
    }.main-slider .swiper-pagination-bullet-active {
        width: 22px !important;
        height: 7px !important;
        border-radius: 4px !important;
    }@media (min-width: 768px) {
        .main-slider .swiper-pagination-bullet {
            width: 10px !important;
            height: 10px !important;
        }
        .main-slider .swiper-pagination-bullet-active {
            width: 30px !important;
            height: 10px !important;
            border-radius: 5px !important;
        }
    }#tag_filter, #category_filter, #price_filter { 
        background-color: var(--theme-color-30); 
        transition: background-color 0.2s ease;
    }
    svg.svg-inline--fa.fa-chevron-left, svg.svg-inline--fa.fa-chevron-right{
        height:25px;
        width:25px;
    }
    .instagram-grid { max-width: 450px; }
    .scrollbar-hide::-webkit-scrollbar { display: none; }
    .scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

    /* --- Compact & Dynamic Theme Scrollbar --- */
    ::-webkit-scrollbar {
        width: 6px !important;
        height: 6px !important;
    }
    ::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.05);
        border-radius: 4px;
    }
    .dark ::-webkit-scrollbar-track {
        background: rgba(18, 18, 18, 0.6);
    }
    ::-webkit-scrollbar-thumb {
        background: rgba(156, 163, 175, 0.5);
        border-radius: 4px;
        transition: background 0.2s ease;
    }
    .dark ::-webkit-scrollbar-thumb {
        background: rgba(75, 85, 99, 0.6);
    }
    ::-webkit-scrollbar-thumb:hover {
        background: var(--theme-color) !important;
    }
    ::-webkit-scrollbar-button {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }
    * {
        scrollbar-width: thin;
        scrollbar-color: rgba(156, 163, 175, 0.5) rgba(0, 0, 0, 0.05);
    }
    .dark * {
        scrollbar-color: rgba(75, 85, 99, 0.6) rgba(18, 18, 18, 0.6);
    }

    .se-video-container figure { height: auto !important; padding: 0 !important; }
    .se-video-container iframe { width: 100% !important; height: 550px !important; }
    .se-image-container figure { margin: 0 auto !important; display: block !important; }

    table { width:100%; }

    /* --- Mobile Menu Animation (Swipe Up/Down & Fade) --- */
    #mobile-menu {
        transform-origin: top center;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), max-height 0.4s ease-in-out;
        overflow: hidden;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    /* State: Closed (Swiped Up & Faded Out) */
    .menu-flip-closed {
        transform: translateY(-20px);
        opacity: 0;
        max-height: 0;
        pointer-events: none; /* Prevent clicking links while hidden */
    }

    /* State: Open (Swiped Down & Faded In) */
    .menu-flip-open {
        transform: translateY(0);
        opacity: 1;
        max-height: 600px; /* Adjust if your menu is very long */
        pointer-events: auto;
    }
    
    /* Icon Animation */
    #mobile-menu-button i {
        transition: transform 0.3s ease;
    }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 50px; /* Optional: Adds space for fixed headers */
}

    html[dir="rtl"] span.absolute.end-3.text-gray-500.text-sm {
        right: 10px;
    }

    @media (max-width: 769px){
        #app-layout{ margin:0; }
    }

    @media (max-width:480px){
        .se-video-container iframe { height: 350px !important; }
        #mobile-menu li { padding: 8px; }
        span.theme-bg.text-white.text-sm.font-bold.px-4.py-2.rounded-full.shadow-xl {
            font-size: 11px;
            padding:5px;
        }
    }

    .custom-select-container { position: relative; width: 100%; font-family: var(--font-family); }
    .custom-select-trigger { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.75rem; background-color: #fff; border: 1px solid #d1d5db; border-radius: 0.3rem; cursor: pointer; user-select: none; transition: all 0.2s; color: #111827; }
    .custom-select-trigger:hover { border-color: var(--theme-color); }
    .custom-select-container.open .custom-select-trigger { border-color: var(--theme-color); box-shadow: 0 0 0 2px var(--theme-color-30); }
    .custom-select-trigger i { transition: transform 0.2s; font-size: 0.75rem; opacity: 0.7; }
    .custom-select-container.open .custom-select-trigger i { transform: rotate(180deg); }
    .custom-options { position: absolute; top: calc(100% + 4px); left: 0; right: 0; background-color: #fff; border: 1px solid #e5e7eb; border-radius: 0.5rem; box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); z-index: 50; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: all 0.2s ease; max-height: 250px; overflow-y: auto; }
    .custom-select-container.open .custom-options { opacity: 1; visibility: visible; transform: translateY(0); }
    .custom-option { padding: 0.5rem 1rem; cursor: pointer; transition: background-color 0.1s; color: #374151; }
    .custom-option:hover { background-color: #f3f4f6; color: var(--theme-color); }
    .custom-option.selected { background-color: var(--theme-color-bg); color: var(--theme-color); font-weight: 500; }
    .custom-option-header { padding: 0.5rem 1rem; font-weight: bold; color: #9ca3af; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em; background: #f9fafb; pointer-events: none; }
    .dark .custom-option-header { background-color: #374151; color: #9ca3af; }
    
    #loading-indicator { transition: opacity 0.3s; }
    #loading-indicator.hidden { opacity: 0; pointer-events: none; }
    
    .prose { line-height: 1.3; font-family: var(--font-family) !important; }
    .prose p, .prose ul, .prose ol, .prose li, .prose span, .prose div { font-family: var(--font-family) !important; }
  /*  .prose h1, .prose h2, .prose h3 { margin-top: 1.2em; margin-bottom: 0.5em; } */
    .prose p { margin-left: 1.5em; }
    .prose ul, .prose ol { margin-left: 1.5em; margin-bottom: 1em; }
    .prose li { margin-bottom: 0.5em; }
    .prose a { color: var(--theme-color); text-decoration: none; }
    .prose a:hover { text-decoration: underline; }
    
    html[data-page-type="page"] h1 {
        display: flex;
        align-items: center;
        gap: 12px;

    }
    html[data-page-type="page"] h1::before {
        content: "";
        width: 28px;
        height: 2px;
        background: var(--theme-color);
        flex-shrink: 0;
    }


    .modal-enter { opacity: 0; transform: scale(0.95); }
    .modal-enter-active { opacity: 1; transform: scale(1); transition: opacity 200ms ease-out, transform 200ms ease-out; }
    .modal-exit { opacity: 1; transform: scale(1); }
    .modal-exit-active { opacity: 0; transform: scale(0.95); transition: opacity 150ms ease-in, transform 150ms ease-in; }
    
    .restaurant-menu-item { transition: all 0.2s ease-in-out; border-bottom: 1px solid #e5e7eb; }
    .restaurant-menu-item:hover { background-color: #f9fafb; transform: translateX(4px); }
    .restaurant-menu-arrow { transition: transform 0.2s ease-in-out; }
    .restaurant-menu-item:hover .restaurant-menu-arrow { transform: translateX(2px); }
    
     .swiper-button-prev, .swiper-button-next{
           border: none !important; /* Supprime la bordure */
     }

    /* NoUiSlider Theme */
    .noUi-connect { background: var(--theme-color) !important; }
    .noUi-handle {
        border: 1px solid var(--theme-color) !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        cursor: grab;
        border-radius: 50% !important;
        background: #fff !important;
    }
    .noUi-handle:before,
    .noUi-handle:after { display: none !important; }
    .noUi-target {
        border: none !important;
        box-shadow: none !important;
        background: #e5e7eb !important;
        height: 6px !important;
        border-radius: 6px !important;
    }
    .dark .noUi-target { background: #4b5563 !important; }
    .noUi-horizontal .noUi-handle {
        width: 18px !important;
        height: 18px !important;
        right: -9px !important;
        top: -6px !important;
    }

    /* --- FIX: FORCE LTR ARROWS IN RTL --- */
    html[dir="rtl"] .swiper-button-prev:not(.main-slider .swiper-button-prev), 
    .swiper-rtl .swiper-button-prev:not(.main-slider .swiper-button-prev) {
        left: 10px !important;
        right: auto !important;
    }
    html[dir="rtl"] .swiper-button-next:not(.main-slider .swiper-button-next), 
    .swiper-rtl .swiper-button-next:not(.main-slider .swiper-button-next) {
        right: 10px !important;
        left: auto !important;
    }

    /* CORRECTION - Appliquer UNIQUEMENT en RTL */
    html[dir="rtl"] .swiper-horizontal > .swiper-pagination-bullets,
    html[dir="rtl"] .swiper-pagination-bullets.swiper-pagination-horizontal,
    html[dir="rtl"] .swiper-pagination-custom,
    html[dir="rtl"] .swiper-pagination-fraction {
        transform: rotate(180deg);
    }

    /* For Product Detail Slider */
    html[dir="rtl"] .product-detail-slider .swiper-button-prev,
    html[dir="rtl"] .product-detail-slider .swiper-button-next,
    .swiper-rtl .product-detail-slider .swiper-button-prev,
    .swiper-rtl .product-detail-slider .swiper-button-next {
        transform: rotate(180deg);
    }

    /* For Main Slider */
    html[dir="rtl"] .main-slider .swiper-button-prev,
    html[dir="rtl"] .main-slider .swiper-button-next,
    .swiper-rtl .main-slider .swiper-button-prev,
    .swiper-rtl .main-slider .swiper-button-next {
        transform: none !important;
    }
    html[dir="rtl"] .main-slider .swiper-button-prev,
    .swiper-rtl .main-slider .swiper-button-prev {
        left: 0 !important;
        right: auto !important;
    }
    html[dir="rtl"] .main-slider .swiper-button-next,
    .swiper-rtl .main-slider .swiper-button-next {
        right: 0 !important;
        left: auto !important;
    }
    
    .main-slider .swiper-button-prev,
    .main-slider .swiper-button-next {
        display: flex !important;
        top: auto !important;
        bottom: 0 !important;
        margin-top: 0 !important;
        z-index: 30 !important;
        border-radius: 0 !important;
        color: #ffffff !important;
        align-items: center !important;
        justify-content: center !important;
        transition: all 0.3s ease !important;
    }
    
    .main-slider .swiper-button-prev {
        left: 0 !important;
        right: auto !important;
        background: linear-gradient(to right, rgba(0, 0, 0, 0.5), transparent) !important;
    }
    
    .main-slider .swiper-button-next {
        right: 0 !important;
        left: auto !important;
        background: linear-gradient(to left, rgba(0, 0, 0, 0.5), transparent) !important;
    }
    
    .main-slider .swiper-button-prev:hover,
    .main-slider .swiper-button-prev:active {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.75), transparent) !important;
    }
    
    .main-slider .swiper-button-next:hover,
    .main-slider .swiper-button-next:active {
        background: linear-gradient(to left, rgba(0, 0, 0, 0.75), transparent) !important;
    }

    @media (max-width: 767px) {
        .main-slider .swiper-button-prev,
        .main-slider .swiper-button-next {
            height: 38px !important;
            width: 48px !important;
        }
        .main-slider .swiper-button-prev svg,
        .main-slider .swiper-button-next svg,
        .main-slider .swiper-button-prev i,
        .main-slider .swiper-button-next i {
            width: 13px !important;
            height: 13px !important;
            font-size: 13px !important;
            line-height: 1 !important;
        }
        .main-slider .swiper-pagination {
            bottom: 12px !important;
        }
        .main-slider .swiper-slide section > div.absolute.flex {
            padding-top: 15px !important;
            padding-bottom: 42px !important;
        }
    }

    @media (min-width: 768px) {
        .main-slider .swiper-button-prev,
        .main-slider .swiper-button-next {
            height: 60px !important;
            width: 80px !important;
        }
        .main-slider .swiper-pagination {
            bottom: 25px !important;
        }
        .main-slider .swiper-slide section > div.absolute.flex {
            padding-top: 80px !important;
            padding-bottom: 80px !important;
        }
    }
    
    .swiper-button-lock {
        display: none !important;
    }
    :root {
    --theme-color: #d10472;
    --theme-color-dark: #a8035b;
    --theme-text-contrast: #ffffff;
    --theme-gradient: linear-gradient(135deg, #d10472 0%, #a8035b 100%);
    --theme-color-bg: rgba(209, 4, 114, 0.1);
    --theme-color-50: rgba(209, 4, 114, 0.5);
    --theme-color-30: rgba(209, 4, 114, 0.3);
}

.main-slider{

    direction: rtl;
}

.main-slider .swiper-button-next, .main-slider .swiper-button-prev{display: none;}

body {
    background-color: #300013 !important;
    color: #ffffff;
}

body[data-page="vip-services"] h1{
    display: none;
}

body[data-page="vip-services"] .prose {
    direction: rtl;
}


body[data-page="vip-services"] .dynamic-page.container.mx-auto.p-4.md\:p-8 {
    padding: 0 !important;
}

.swiper-button-next, .swiper-button-prev{
    background-color: #000 !important;
    color: #fff !important;
}

h1, h3{

    color:#fff !important;
}

span.text-gray-900.dark\:text-gray-100.font-bold.truncate.max-w-\[150px\].md\:max-w-xs {
    color: #fff9 !important;
}


/* --- FREE TOOLS BUTTONS --- */
.free-tools-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 colonne sur mobile */
}

@media (min-width: 768px) {
    .free-tools-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur desktop */
    }
}

.tool-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: #000 !important;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none !important;
    gap: 12px;
}

.tool-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.01);
    z-index: 10;
}

/* Dégradés personnalisés */
.gradient-samify { background: linear-gradient(90deg, #76ff03 0%, #00b0ff 100%); }
.gradient-chatgpt { background: linear-gradient(90deg, #00b0ff 0%, #e91e63 100%); }
.gradient-arazerty { background: linear-gradient(90deg, #aa00ff 0%, #c2185b 100%); }
.gradient-qrnor {
    background: linear-gradient(90deg, #c21860 0%, #ff9100 100%);
}


.tag-section span {
    background-color: #1a000b;
    color: #a38f77 !important;
}

.footer_desc img {
width: 80px !important;
}

#app-layout {
    background-color: #300013 !important;
}

/* --- HEADER --- */
#smart-header-wrapper {
    background-color: #1a000b !important;
    border-bottom: 1px solid rgba(209, 4, 114, 0.2);
}

header {
    background-color: #1a000b !important;
}

header nav a,
header nav span {
    color: #e0e0e0 !important;
}

header nav a:hover {
    color: #d10472 !important;
}

.hover-theme-underline::after {
    background-color: #d10472;
}

#mobile-menu {
    background-color: #1a000b !important;
    border-top-color: rgba(209, 4, 114, 0.2) !important;
}

#mobile-menu a {
    color: #e0e0e0 !important;
}

#mobile-menu a:hover {
    color: #d10472 !important;
}

.mobile-submenu-list {
    background-color: rgba(48, 0, 19, 0.8) !important;
}

#mobile-menu-button {
    background-color: rgba(209, 4, 114, 0.15) !important;
    color: #d10472 !important;
}

/* --- CATALOG TITLE --- */
#catalog_container h3 {
    color: #fff !important;
    font-weight: 700;
}

/* --- RESULTS COUNT --- */
#results-count p,
#results-count span {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* --- PRODUCT CARDS --- */
#product-grid a {
    background-color: #1a000b !important;
    border: 1px solid rgba(209, 4, 114, 0.15);
    border-radius: 12px;
}

#product-grid a:hover {
    border-color: rgba(209, 4, 114, 0.4);
    box-shadow: 0 0 25px rgba(209, 4, 114, 0.15) !important;
}

#product-grid a h3 {
    color: #ffffff !important;
}

/* --- FOOTER --- */
footer {
    background-color: #1a000b !important;
    border-top: 1px solid rgba(209, 4, 114, 0.2);
}

footer h4 {
    color: #fff !important;
}

footer p,
footer li,
footer span,
footer a {
    color: rgba(255, 255, 255, 0.6) !important;
}

footer a:hover {
    color: #d10472 !important;
}

footer .border-t {
    border-top-color: rgba(209, 4, 114, 0.15) !important;
    background-color: rgba(26, 0, 11, 0.5) !important;
}

footer .text-gray-500 {
    color: rgba(255, 255, 255, 0.4) !important;
}

footer .bg-zinc-800\/20 {
    background-color: rgba(209, 4, 114, 0.08) !important;
    border-color: rgba(209, 4, 114, 0.15) !important;
}

footer .bg-zinc-800\/20:hover {
    background-color: #d10472 !important;
    border-color: #d10472 !important;
    color: #fff !important;
}

/* --- SWIPER PAGINATION --- */
.swiper-pagination-bullet {
    background-color: rgba(255, 255, 255, 0.4) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.swiper-pagination-bullet-active {
    background-color: #d10472 !important;
    border-color: #d10472 !important;
    opacity: 1 !important;
}

/* --- CUSTOM SELECT OVERRIDES --- */
.custom-select-trigger, #reset-filters-btn, #search-input {
    background-color: #1a000b !important;
    border-color: rgba(209, 4, 114, 0.3) !important;
    color: #ffffff !important;
}

.custom-select-trigger:hover, #reset-filters-btn:hover {
    border-color: #d10472 !important;
}

.custom-options {
    background-color: #1a000b !important;
    border-color: rgba(209, 4, 114, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
}

.custom-option {
    color: rgba(255, 255, 255, 0.7) !important;
}

.custom-option:hover {
    background-color: rgba(209, 4, 114, 0.15) !important;
    color: #d10472 !important;
}

.custom-option.selected {
    background-color: rgba(209, 4, 114, 0.15) !important;
    color: #d10472 !important;
}

.custom-option-header {
    background-color: rgba(48, 0, 19, 0.8) !important;
    color: rgba(255, 255, 255, 0.4) !important;
}

/* --- NO UI SLIDER --- */
.noUi-target {
    background: rgba(255, 255, 255, 0.1) !important;
}

.noUi-connect {
    background: #d10472 !important;
}

.noUi-handle {
    background: #1a000b !important;
    border-color: #d10472 !important;
}

/* --- SCROLLBAR --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #300013;
}

::-webkit-scrollbar-thumb {
    background: #d10472;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8035b;
}

/* --- LOADING INDICATOR --- */
#loading-indicator p {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* --- GENERAL DARK OVERRIDES --- */
.text-zinc-800,
.dark\:text-white,
.text-gray-800,
.text-gray-700 {
    color: #ffffff !important;
}

.text-gray-600,
.dark\:text-gray-400,
.text-gray-500 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.text-zinc-600,
.dark\:text-gray-400 {
    color: rgba(255, 255, 255, 0.6) !important;
}

.bg-white,
.dark\:bg-zinc-800 {
    background-color: #1a000b !important;
}

.bg-gray-50 {
    background-color: #300013 !important;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(209, 4, 114, 0.1) !important;
}

/* --- SUBMENU DROPDOWN IN NAV --- */
header .group-hover\:opacity-100 {
    background-color: #1a000b !important;
    border-color: rgba(209, 4, 114, 0.2) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

header .group-hover\:opacity-100 a {
    color: rgba(255, 255, 255, 0.7) !important;
    border-bottom-color: rgba(209, 4, 114, 0.1) !important;
}

header .group-hover\:opacity-100 a:hover {
    background-color: rgba(209, 4, 114, 0.1) !important;
    color: #d10472 !important;
}

/* --- SOCIAL ICONS IN HEADER --- */
header .text-zinc-600,
header .dark\:text-gray-400 {
    color: rgba(255, 255, 255, 0.5) !important;
}

header .text-zinc-600:hover,
header .dark\:text-gray-400:hover {
    color: #d10472 !important;
}

/* --- BORDER OVERRIDES --- */
.border-gray-50,
.dark\:border-gray-800,
.border-gray-100,
.dark\:border-gray-700 {
    border-color: rgba(209, 4, 114, 0.1) !important;
}

/* --- PLACEHOLDER IMAGE BG --- */
#product-grid img {
    background-color: #1a000b !important;
}