:root,
[data-bs-theme="light"] {
    /* ── Palette projet : blanc #fdfdff · bleu1 #003ecd · bleu2 #002a62 · jaune #ffbc00 ── */
    --app-yellow-color: #ffbc00;
    --app-blue-color: #003ecd;
    --app-blue2-color: #002a62;
    --app-white-color: #fdfdff;
    --app-black-color: #002a62;
    --app-red-color: #d81d1d;        /* statut uniquement (erreur) */
    --app-bronze-color: #ffbc00;
    --app-gold-color: #ffbc00;
    --app-silver-color: #003ecd;
    --app-dark-blue-color: #002a62;
    --app-white-variant1-color: rgba(253, 253, 255, 0.76);
    --app-white-variant2-color: #fdfdff;
    --app-blue-variant1-color: #003ecd;
    --app-blue-variant2-color: rgba(0, 62, 205, 0.33);
    --app-blue-variant3-color: rgba(0, 62, 205, 0.12);
    --app-blue-variant4-color: rgba(0, 62, 205, 0.06);
    --app-blue-variant5-color: rgba(0, 62, 205, 0.03);
    --app-green-color: #00d11c;      /* statut uniquement (succès) */
    --app-green-variant1-color: rgba(0, 209, 28, 0.25);
    --app-red-variant1-color: rgba(216, 29, 29, 0.25);
    --app-yellow-variant1-color: rgba(255, 188, 0, 0.74);
    --app-yellow-variant2-color: rgba(255, 188, 0, 0.33);
    --app-orange-color: #ffbc00;
    --app-dore-color: #ffbc00;
    --datagrid-noresults-placeholder-bg: #dee6ee;
    --table-cell-border-color: #d2dff0;
    --table-hover-cell-bg: #e4ebf3;
    --bs-blue: #63b3ed;
    --bs-indigo: #596cff;
    --bs-purple: #6f42c1;
    --bs-pink: #d63384;
    --bs-red: #f56565;
    --bs-orange: #fd7e14;
    --bs-yellow: #fbd38d;
    --bs-green: #81e6d9;
    --bs-teal: #20c997;
    --bs-cyan: #0dcaf0;
    --bs-white: #fff;
    --bs-gray: #525252;
    --bs-gray-dark: #262626;
    --bs-gray-100: #f5f5f5;
    --bs-gray-200: #e5e5e5;
    --bs-gray-300: #d4d4d4;
    --bs-gray-400: #a3a3a3;
    --bs-gray-500: #737373;
    --bs-gray-600: #525252;
    --bs-gray-700: #404040;
    --bs-gray-800: #262626;
    --bs-gray-900: #171717;
    --bs-primary: #e91e63;
    --bs-secondary: #737373;
    --bs-success: #4caf50;
    --bs-info: #1a73e8;
    --bs-warning: #fb8c00;
    --bs-danger: #f44335;
    --bs-light: #e5e5e5;
    --bs-dark: #262626;
    --bs-white: #fff;
    --bs-dark-blue: #1a237e;
    --bs-primary-rgb: 233, 30, 99;
    --bs-secondary-rgb: 115, 115, 115;
    --bs-success-rgb: 76, 175, 80;
    --bs-info-rgb: 26, 115, 232;
    --bs-warning-rgb: 251, 140, 0;
    --bs-danger-rgb: 244, 67, 53;
    --bs-light-rgb: 229, 229, 229;
    --bs-dark-rgb: 38, 38, 38;
    --bs-white-rgb: 255, 255, 255;
    --bs-dark-blue-rgb: 26, 35, 126;
    --bs-primary-text-emphasis: rgb(93.2, 12, 39.6);
    --bs-secondary-text-emphasis: #2e2e2e;
    --bs-success-text-emphasis: rgb(30.4, 70, 32);
    --bs-info-text-emphasis: rgb(10.4, 46, 92.8);
    --bs-warning-text-emphasis: rgb(100.4, 56, 0);
    --bs-danger-text-emphasis: rgb(97.6, 26.8, 21.2);
    --bs-light-text-emphasis: #404040;
    --bs-dark-text-emphasis: #404040;
    --bs-primary-bg-subtle: rgb(250.6, 210, 223.8);
    --bs-secondary-bg-subtle: #e3e3e3;
    --bs-success-bg-subtle: rgb(219.2, 239, 220);
    --bs-info-bg-subtle: rgb(209.2, 227, 250.4);
    --bs-warning-bg-subtle: rgb(254.2, 232, 204);
    --bs-danger-bg-subtle: rgb(252.8, 217.4, 214.6);
    --bs-light-bg-subtle: #fafafa;
    --bs-dark-bg-subtle: #a3a3a3;
    --bs-primary-border-subtle: rgb(246.2, 165, 192.6);
    --bs-secondary-border-subtle: #c7c7c7;
    --bs-success-border-subtle: rgb(183.4, 223, 185);
    --bs-info-border-subtle: rgb(163.4, 199, 245.8);
    --bs-warning-border-subtle: rgb(253.4, 209, 153);
    --bs-danger-border-subtle: rgb(250.6, 179.8, 174.2);
    --bs-light-border-subtle: #e5e5e5;
    --bs-dark-border-subtle: #737373;
    --bs-white-rgb: 255, 255, 255;
    --bs-black-rgb: 10, 10, 10;
    --bs-font-sans-serif: IBM Plex Sans;
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
        "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg,
            rgba(255, 255, 255, 0.15),
            rgba(255, 255, 255, 0));
    --bs-body-font-family: var(--bs-font-sans-serif);
    --bs-body-font-size: 0.875rem;
    --bs-body-font-weight: 400;
    --bs-body-line-height: 1.5;
    --bs-body-color: #002a62;
    --bs-body-color-rgb: 0, 42, 98;
    --bs-body-bg: #fdfdff;
    --bs-body-bg-rgb: 255, 255, 255;
    --bs-emphasis-color: #0a0a0a;
    --bs-emphasis-color-rgb: 10, 10, 10;
    --bs-secondary-color: rgba(115, 115, 115, 0.75);
    --bs-secondary-color-rgb: 115, 115, 115;
    --bs-secondary-bg: #e5e5e5;
    --bs-secondary-bg-rgb: 229, 229, 229;
    --bs-tertiary-color: rgba(115, 115, 115, 0.5);
    --bs-tertiary-color-rgb: 115, 115, 115;
    --bs-tertiary-bg: #f5f5f5;
    --bs-tertiary-bg-rgb: 245, 245, 245;
    --bs-heading-color: #002a62;
    --bs-link-color: #003ecd;
    --bs-link-color-rgb: 0, 62, 205;
    --bs-link-decoration: none;
    --bs-link-hover-color: #002a62;
    --bs-link-hover-color-rgb: 0, 42, 98;
    --bs-link-hover-decoration: none;
    --bs-code-color: #d63384;
    --bs-highlight-color: #737373;
    --bs-highlight-bg: #fcf8e3;
    --bs-border-width: 1px;
    --bs-border-style: solid;
    --bs-border-color: #d4d4d4;
    --bs-border-color-translucent: rgba(10, 10, 10, 0.175);
    --bs-border-radius: 0.375rem;
    --bs-border-radius-sm: 0.125rem;
    --bs-border-radius-lg: 0.5rem;
    --bs-border-radius-xl: 0.75rem;
    --bs-border-radius-xxl: 2rem;
    --bs-border-radius-2xl: var(--bs-border-radius-xxl);
    --bs-border-radius-pill: 50rem;
    --bs-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --bs-box-shadow-sm: 0 0.3125rem 0.625rem 0 rgba(0, 0, 0, 0.12);
    --bs-box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --bs-box-shadow-inset: inset 0 1px 2px rgba(10, 10, 10, 0.075);
    --bs-focus-ring-width: 0.25rem;
    --bs-focus-ring-opacity: 0.25;
    --bs-focus-ring-color: rgba(233, 30, 99, 0.25);
    --bs-form-valid-color: #66d432;
    --bs-form-valid-border-color: #66d432;
    --bs-form-invalid-color: #fd5c70;
    --bs-form-invalid-border-color: #fd5c70;
    --sidebar-max-width: 16rem;
    --bs-modal-inner-border-radius: 0.5rem;

    /* Surface tokens (light) */
    --surface-bg: #fdfdff;
    --surface-card: #fdfdff;
    --surface-card-hover: #eef3ff;
    --surface-nav-top: #002a62;
    --surface-nav-bottom: #003ecd;
    --surface-footer: #fdfdff;
    --text-primary: #002a62;
    --text-secondary: rgba(0, 42, 98, 0.62);
    --text-on-blue: #fdfdff;
    --border-color: rgba(0, 42, 98, 0.14);
    --shadow-card: 0 4px 24px rgba(0, 42, 98, 0.08);
    --shadow-hover: 0 8px 40px rgba(0, 62, 205, 0.18);
    --glass-bg: rgba(253, 253, 255, 0.7);
    --glass-border: rgba(0, 62, 205, 0.12);

    /* Navbar tokens (light — couleurs unies) */
    --nav-top-bg: #fdfdff;
    --nav-band-bg: #003ecd;
    --nav-border: rgba(0, 62, 205, 0.10);
    --nav-band-border: rgba(0, 62, 205, 0.10);
    --nav-text: #002a62;
    --nav-text-muted: rgba(0, 42, 98, 0.62);
    --nav-text-hover: #003ecd;
    --nav-active: var(--app-blue-color);
    --nav-icon: #002a62;
    --nav-icon-hover-bg: rgba(0, 62, 205, 0.09);
    --nav-vsep: rgba(0, 62, 205, 0.16);
    --nav-search-bg: rgba(0, 62, 205, 0.05);
    --nav-search-border: rgba(0, 62, 205, 0.14);
    --nav-search-text: #002a62;
    --nav-search-placeholder: rgba(0, 42, 98, 0.5);
    --nav-badge-ring: #fdfdff;
    --nav-offcanvas-bg: #fdfdff;
    --nav-top-bg-scrolled: rgba(253, 253, 255, 0.82);
    --nav-band-bg-scrolled: rgba(0, 62, 205, 0.92);
    --nav-dock-bg: rgba(253, 253, 255, 0.72);
    --nav-dock-border: rgba(0, 62, 205, 0.22);

    /* Boutons — bleu uni */
    --btn-blue: #003ecd;
    --btn-blue-hover: #002a62;
    --btn-blue-soft-bg: rgba(0, 62, 205, 0.10);
}

[data-bs-theme="dark"] {
    /* App color overrides for dark */
    --app-black-color: #fdfdff;
    --app-white-color: #002a62;
    --app-white-variant2-color: #003a82;
    --app-blue-variant4-color: rgba(0, 62, 205, 0.18);
    --app-blue-variant3-color: rgba(0, 62, 205, 0.28);
    --datagrid-noresults-placeholder-bg: #002a62;
    --table-cell-border-color: rgba(253, 253, 255, 0.14);
    --table-hover-cell-bg: #00316f;

    /* Bootstrap overrides for dark */
    --bs-body-bg: #001a3d;
    --bs-body-color: rgba(253, 253, 255, 0.86);
    --bs-heading-color: #fdfdff;
    --bs-border-color: rgba(253, 253, 255, 0.14);
    --bs-secondary-bg: #002a62;
    --bs-tertiary-bg: #00224f;
    --bs-link-color: #6f9bff;
    --bs-link-hover-color: #ffbc00;
    --bs-emphasis-color: #fdfdff;

    /* Surface tokens (dark) */
    --surface-bg: #001a3d;
    --surface-card: #002a62;
    --surface-card-hover: #00316f;
    --surface-nav-top: #001530;
    --surface-nav-bottom: #002a62;
    --surface-footer: #001530;
    --text-primary: #fdfdff;
    --text-secondary: rgba(253, 253, 255, 0.62);
    --text-on-blue: #fdfdff;
    --border-color: rgba(253, 253, 255, 0.12);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-hover: 0 8px 40px rgba(0, 62, 205, 0.35);
    --glass-bg: rgba(0, 42, 98, 0.75);
    --glass-border: rgba(0, 62, 205, 0.3);

    /* Navbar tokens (dark — couleurs unies) */
    --nav-top-bg: #002a62;
    --nav-band-bg: #003ecd;
    --nav-border: rgba(253, 253, 255, 0.12);
    --nav-band-border: rgba(0, 62, 205, 0.2);
    --nav-text: #fdfdff;
    --nav-text-muted: rgba(253, 253, 255, 0.62);
    --nav-text-hover: #fdfdff;
    --nav-active: var(--app-yellow-color);
    --nav-icon: rgba(253, 253, 255, 0.82);
    --nav-icon-hover-bg: rgba(253, 253, 255, 0.08);
    --nav-vsep: rgba(253, 253, 255, 0.12);
    --nav-search-bg: rgba(253, 253, 255, 0.06);
    --nav-search-border: rgba(253, 253, 255, 0.12);
    --nav-search-text: rgba(253, 253, 255, 0.9);
    --nav-search-placeholder: rgba(253, 253, 255, 0.4);
    --nav-badge-ring: #002a62;
    --nav-offcanvas-bg: #002a62;
    --nav-top-bg-scrolled: rgba(0, 42, 98, 0.9);
    --nav-band-bg-scrolled: rgba(0, 62, 205, 0.9);
    --nav-dock-bg: rgba(0, 42, 98, 0.74);
    --nav-dock-border: rgba(253, 253, 255, 0.16);

    /* Boutons — bleu uni (dark) */
    --btn-blue: #003ecd;
    --btn-blue-hover: #1f57e6;
    --btn-blue-soft-bg: rgba(0, 62, 205, 0.22);
}

/* :root {
    --app-green-color: #004739;
    --app-blue-color: #1e4b7a;
    --app-blue-variant1-color: #122f4e;
    --app-orange-color: #ffbc00;
    --app-lime-green-color: #c9d101;
    --bs-blue: #2361ce;
    --bs-indigo: #4F46E5;
    --bs-purple: #7C3AED;
    --bs-pink: #EF4683;
    --bs-red: #E11D48;
    --bs-orange: #FBA918;
    --bs-yellow: #f3c78e;
    --bs-green: #10B981;
    --bs-teal: #1E90FF;
    --bs-cyan: #63b1bd;
    --bs-white: #ffffff;
    --bs-gray: #4B5563;
    --bs-gray-dark: #1F2937;
    --bs-primary: #1F2937;
    --bs-secondary: #f0bc74;
    --bs-tertiary: #31316A;
    --bs-success: #10B981;
    --bs-info: #2361ce;
    --bs-warning: #f3c78e;
    --bs-danger: #E11D48;
    --bs-white: #ffffff;
    --bs-indigo: #4F46E5;
    --bs-purple: #7C3AED;
    --bs-yellow-100: #ffeed6;
    --bs-yellow-200: #f5dbb8;
    --bs-gray-50: #F9FAFB;
    --bs-gray-100: #F2F4F6;
    --bs-gray-200: #E5E7EB;
    --bs-gray-300: #D1D5DB;
    --bs-gray-400: #9CA3AF;
    --bs-gray-500: #6B7280;
    --bs-gray-600: #4B5563;
    --bs-gray-700: #374151;
    --bs-gray-800: #1F2937;
    --bs-gray-900: #111827;
    --bs-font-sans-serif: Inter, Helvetica, Arial, sans-serif;
    --bs-font-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bs-gradient: linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0))
} */

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--bs-font-sans-serif), sans-serif;
    font-size: var(--bs-body-font-size) !important;
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    /* -webkit-tap-highlight-color: rgba(17, 24, 39, 0); */
    margin: 0;
    font-size: var(--bs-body-font-size);
    line-height: var(--bs-body-line-height);
    color: var(--app-black-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(10, 10, 10, 0);
    overflow-x: hidden;
    overflow-wrap: break-word;
    max-width: 100%;
}

.text-xs {
    font-size: calc(var(--bs-body-font-size) - 0.25rem) !important;
}

.text-sm {
    font-size: calc(var(--bs-body-font-size) - 0.125rem) !important;
}

.text-md {
    font-size: var(--bs-body-font-size) !important;
}

.text-lg {
    font-size: calc(var(--bs-body-font-size) + 0.0625rem) !important;
}

.text-xl {
    font-size: calc(var(--bs-body-font-size) + 0.125rem) !important;
}

@media (max-width: 479px) {

    .text-xl {
        font-size: calc(var(--bs-body-font-size) + 0.0625rem) !important;
    }

}

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

.text-app-white {
    color: var(--app-white-color);
}

.text-app-blue {
    color: var(--app-blue-color);
}

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

.text-app-green {
    color: var(--app-green-color);
}

.text-app-yellow {
    color: var(--app-yellow-color);
}

/*** TITLE LEVEL ***/

@media (max-width: 479px) {

    h4,
    .h4 {
        font-size: 1.25rem;
    }

    h5,
    .h5 {
        font-size: 1rem;
    }

}

/***BACKGROUND**/

.bg-app-white {
    background-color: var(--app-white-color);
}

.bg-app-black {
    background-color: var(--app-black-color);
}

.bg-app-green {
    background-color: var(--app-green-color);
}

.bg-app-yellow {
    background-color: var(--app-yellow-color);
}

.bg-app-bronze {
    background-color: var(--app-bronze-color);
}

.bg-app-gold {
    background-color: var(--app-gold-color);
}

.bg-app-silver {
    background-color: var(--app-silver-color);
}

.bg-app-dark-blue {
    background-color: var(--app-dark-blue-color);
}

.bg-app-red {
    background-color: var(--app-red-color);
}

.bg-app-green-variant1 {
    background-color: var(--app-green-variant1-color);
}

.bg-app-red-variant1 {
    background-color: var(--app-red-variant1-color);
}

.bg-app-blue-variant2 {
    background-color: var(--app-blue-variant2-color);
}

.bg-app-blue-variant3 {
    background-color: var(--app-blue-variant3-color);
}

.bg-app-blue-variant4 {
    background-color: var(--app-blue-variant4-color);
}

.bg-app-yellow-variant2 {
    background-color: var(--app-yellow-variant2-color);
}

/***BORDER***/

.border-app-blue {
    border-color: var(--app-blue-color) !important;
}

/****INPUTS***/

.form-control::placeholder {
    color: var(--app-blue-variant2-color) !important;
    opacity: 1 !important;
}

/***BTN***/

.btn {
    font-size: var(--bs-body-font-size);
}

.btn,
.btn:not(:disabled):not(.disabled):not(.btn-link):focus,
.btn:not(:disabled):not(.disabled):not(.btn-link):not(.btn-danger):hover {
    border-color: transparent !important;
    box-shadow: none !important;
}

.btn.btn-outline-app-blue {
    color: var(--app-blue-color) !important;
    border: 1px solid var(--app-blue-color) !important;
    background-color: transparent;
    transition: all 0.5s ease-in-out;
}

.btn.btn-outline-app-blue:hover,
.btn.btn-outline-app-blue:focus,
.btn.btn-outline-app-blue:active {
    color: var(--app-white-color) !important;
    background-color: var(--app-blue-color) !important;
    background: var(--app-blue-color) !important;
    border: 1px solid var(--app-blue-color) !important;
    border-color: var(--app-blue-color) !important;
}

.btn-app-blue {
    background-color: var(--app-blue-color) !important;
    background: var(--app-blue-color) !important;
    color: var(--app-white-color) !important;
    border: 1px solid transparent !important;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.btn-app-blue:hover,
.btn-app-blue:focus,
.btn-app-blue:active {
    background-color: var(--app-black-color) !important;
    background: var(--app-black-color) !important;
    color: var(--app-white-color) !important;
}

.btn-app-dark {
    background-color: var(--app-black-color) !important;
    color: var(--app-white-color) !important;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.btn-app-dark:hover {
    background-color: var(--app-blue-color) !important;
    color: var(--app-white-color) !important;
}

.btn-app-yellow-gradient {
    position: relative;
    overflow: hidden;
    background: var(--app-yellow-color);
    color: var(--app-black-color);
    border: 1px solid var(--app-yellow-color) !important;
    font-weight: 500;
    border-radius: 5px;
    transition: color 0.3s ease-in-out;
    z-index: 0;
}

.btn-app-yellow-gradient:hover {
    color: var(--app-white-color);
}

.btn-app-yellow-gradient::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--app-yellow-variant1-color);
    z-index: -1;
    transition: width 0.5s ease-in-out;
    border-radius: 5px;
}

.btn-app-yellow-gradient:hover::before {
    width: 100%;
}

.btn-remove-to-cart {
    border: 1px solid var(--app-red-color) !important;
    border-radius: 50%;
    padding: 2px;
    background-color: transparent;
    color: var(--app-red-color);
    opacity: 0.6;
    transition: all 0.5s ease-in-out;
}

.btn-remove-to-cart:hover {
    border: 1px solid var(--app-red-color) !important;
    background-color: transparent;
    color: var(--app-red-color);
    opacity: 1;
    transition: all 0.5s ease-in-out;
}

.btn-app-yellow {
    background-color: var(--app-yellow-color);
    color: var(--app-white-color);
    border: 1px solid transparent !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.btn-app-yellow:hover {
    background-color: transparent;
    color: var(--app-yellow-color);
    border-color: var(--app-yellow-color) !important;
    transition: all 0.5s ease-in-out;
}

.btn-about-app-black {
    color: var(--app-blue-color);
    border: 1px solid var(--app-blue-color) !important;
    font-weight: 700;
    border-radius: 50%;
    padding: 5px;
    height: 25px;
    width: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease-in-out;

}

.btn-about-app-black:hover {
    color: var(--app-black-color);
    border-color: var(--app-black-color) !important;
}

.btn-app-red {
    background-color: var(--app-red-color) !important;
    color: var(--app-white-color) !important;
    border: 1px solid transparent !important;
    font-size: 14px;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.5s ease-in-out;
}

.btn-app-red:hover {
    background-color: var(--app-red-variant1-color) !important;
    transition: all 0.5s ease-in-out;
}

.btn.btn-outline-app-red {
    color: var(--app-red-color) !important;
    border: 1px solid var(--app-red-color) !important;
    background-color: transparent;
    transition: all 0.5s ease-in-out;
}

.btn.btn-outline-app-red:hover {
    color: var(--app-white-color) !important;
    background-color: var(--app-red-color) !important;
    border: 1px solid var(--app-red-color) !important;
}

.btn.btn-outline-app-green {
    color: var(--app-green-color) !important;
    border: 1px solid var(--app-green-color) !important;
    background-color: transparent;
    transition: all 0.5s ease-in-out;
}

.btn.btn-outline-app-green:hover {
    color: var(--app-white-color) !important;
    background-color: var(--app-green-color) !important;
    border: 1px solid var(--app-green-color) !important;
}

/*** SHARED LINK ***/
.share-link ul {
    list-style: none;
    display: flex;
    padding: 0;
}

.share-link ul li:not(:last-child) {
    margin-right: 10px;
}

/*** AVATAR ***/
.avatar-miniature {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.custom-shadow {
    box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.2);
}

.custom-blue-variant-shadow {
    box-shadow: 2px 2px 10px 1px rgba(1, 80, 159, 0.2);
}

.input-group-text {
    background-color: #002a6230;
    border-color: #002a6269;
    color: var(--app-blue-color);
}

.form-control,
.form-select {
    background-color: #002a6215;
    border-color: #002a6269;
    color: var(--app-blue-color);
}

.form-control:focus,
.form-select:focus,
.navbar.user-dahsboard-navbar-container .search-container .search-form:focus {
    color: var(--app-blue-color);
    border-color: var(--app-blue-variant1-color);
    outline: 0;
    box-shadow: 0 1px 2px 0 rgba(1, 80, 159, 0.071),
        0 0 0 0.18rem rgba(1, 80, 159, 0.251);
}

input[type="checkbox"] {
    border-color: #002a6269;
}

input[type="checkbox"]:checked {
    background-color: var(--app-blue-color);
    border-color: #002a6269;
}

input[type="checkbox"]:focus {
    border-color: var(--app-blue-variant1-color);
    outline: 0;
    box-shadow: 0 1px 2px 0 rgba(1, 80, 159, 0.071),
        0 0 0 0.18rem rgba(1, 80, 159, 0.251);
}

input:disabled,
select:disabled {
    background-color: #002a6215;
    border-color: #002a6269;
    color: var(--app-blue-variant2-color);
}

.btn.show-hide-password {
    position: absolute;
    right: 0px;
    top: 0;
    width: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.btn.show-hide-password:focus {
    border: 0px solid transparent;
}

input[type="password"] {
    padding-right: 25px;
}

/*** LINK ***/

a {
    color: var(--app-black-color);
    text-decoration: none;
}

a:hover {
    color: var(--app-blue-color);
}

a,
a:hover {
    transition: all 0.5s ease-in-out;
}

.link-app-blue {
    color: var(--app-blue-color);
}

.link-app-blue:hover {
    color: var(--app-black-color);
}

.alert-box {
    opacity: 0;
    z-index: 999999 !important;
    transform: translateX(120%);
    transition: all 1s ease-in-out;
}

[data-bg-image] {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.error-box-container,
.success-box-container {
    display: none;
}

.dropdown-menu {
    padding: 5px;
}

/*** Offcanvas ***/

.offcanvas .offcanvas-header .offcanvas-close {
    position: relative;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    border: 0;
    background-color: transparent;
}

.offcanvas .offcanvas-header .offcanvas-close::after {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 20px;
    height: 2px;
    content: "";
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    background-color: var(--app-black-color);
}

.offcanvas .offcanvas-header .offcanvas-close::before {
    position: absolute;
    top: calc(50% - 1px);
    left: 0;
    width: 20px;
    height: 2px;
    content: "";
    -webkit-transition: all 0.5s ease 0s;
    transition: all 0.5s ease 0s;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: var(--app-black-color);
}

.offcanvas .offcanvas-header .offcanvas-close:hover:before {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
    background-color: var(--app-blue-color);
}

.offcanvas .offcanvas-header .offcanvas-close:hover:after {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    background-color: var(--app-blue-color);
}

/***HEADER STYLES***/

/* ── Bande supérieure ── */
/* ── Navbar : intégrée à plat par défaut, dock flottant au scroll ── */
.navbar-top-bar {
    position: fixed;
    top: 12px;
    left: 0;
    right: 0;
    z-index: 1030;
    background: transparent !important;
    border: none !important;
    padding-left: clamp(12px, 3vw, 40px);
    padding-right: clamp(12px, 3vw, 40px);
    transition: top 0.35s ease;
}

/* Réserve l'espace sous la navbar fixe (toutes les pages publiques) */
.navbar-dock-spacer { height: 80px; width: 100%; }
@media (max-width: 575px) { .navbar-dock-spacer { height: 68px; } }

/* État par défaut : dock flottant centré (sans ombre) */
.navbar-top-strip {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    height: 62px;
    padding: 0 18px;
    gap: 14px;
    justify-content: space-between;
    border-radius: 20px;
    background: var(--nav-dock-bg);
    border: 1px solid var(--nav-dock-border);
    box-shadow: none;
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    transition: box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}

/* État scrollé : le dock descend légèrement + ombre portée */
.navbar-top-bar.scrolled {
    top: 22px;
}
.navbar.scrolled .navbar-top-strip {
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Sections gauche / centre / droite : logo centré */
.navbar-side { flex: 1 1 0; min-width: 0; }
.navbar-side-right { gap: 2px; }
.navbar-brand-center { flex: 0 0 auto; margin: 0 8px; }

/* ── Logo ── */
.navbar-brand-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    position: relative;
    flex-shrink: 0;
}

.navbar-brand-modern .navbar-logo {
    max-height: 52px;
    width: auto;
    display: block;
}

/* ── Barre de recherche ── */
.navbar-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-search-icon {
    position: absolute;
    left: 16px;
    color: var(--nav-search-placeholder);
    display: flex;
    align-items: center;
    pointer-events: none;
}

.navbar-search-input {
    width: 100%;
    height: 38px;
    background: var(--nav-search-bg);
    border: 1px solid var(--nav-search-border);
    border-radius: 50px;
    color: var(--nav-search-text);
    font-size: 13px;
    padding: 0 110px 0 42px;
    transition: background 0.3s ease, border-color 0.3s ease;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.navbar-search-input::placeholder {
    color: var(--nav-search-placeholder);
}

.navbar-search-input:focus {
    background: var(--nav-search-bg);
    border-color: rgba(0, 62, 205, 0.55);
    box-shadow: 0 0 0 3px rgba(0, 62, 205, 0.2);
}

.navbar-search-input::-webkit-search-cancel-button {
    appearance: none;
}

.navbar-search-btn {
    position: absolute;
    right: 4px;
    height: 30px;
    padding: 0 16px;
    background: var(--btn-blue);
    border: none;
    border-radius: 50px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.25s ease;
}

.navbar-search-btn:hover {
    background: var(--btn-blue-hover);
}

/* ── Icônes d'action (droite) ── */
.navbar-actions {
    flex-shrink: 0;
}

/* Bouton icône générique */
.navbar-icon-btn {
    position: relative;
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: transparent;
    border: none;
    color: var(--nav-icon);
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
    text-decoration: none;
    padding: 0;
    flex-shrink: 0;
}

.navbar-icon-btn:hover {
    background: var(--nav-icon-hover-bg);
    color: var(--nav-text-hover);
}

/* Badge (panier/favoris) */
.navbar-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    background: var(--app-red-color);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: none;
}

/* Bloc compte utilisateur (desktop) */
.navbar-action-item {
    text-decoration: none;
    color: var(--nav-text-muted);
    padding: 4px 10px 4px 4px;
    border-radius: 10px;
    transition: background 0.25s ease, color 0.25s ease;
}

.navbar-action-item:hover {
    background: var(--nav-icon-hover-bg);
    color: var(--nav-text-hover);
}

.navbar-action-label {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.navbar-action-label-top {
    font-size: 10px;
    font-weight: 400;
    opacity: 0.65;
}

.navbar-action-label-bottom {
    font-size: 12px;
    font-weight: 600;
}

/* Séparateur vertical */
.navbar-vsep {
    display: block;
    width: 1px;
    height: 22px;
    background: var(--nav-vsep);
    margin: 0 4px;
    flex-shrink: 0;
}

/* ── Mobile menu offcanvas ── */
/* ════════════════════════════════════════════════════════════════
   MOBILE — burger animé + menu overlay plein écran immersif
════════════════════════════════════════════════════════════════ */

/* Burger custom : barres asymétriques → morph en X à l'ouverture */
.nav-burger {
    position: relative;
    width: 42px; height: 42px;
    display: inline-flex; align-items: center; justify-content: center;
    border: none;
    border-radius: 12px;
    background: transparent;
    cursor: pointer; padding: 0; flex-shrink: 0;
    transition: background .25s ease, transform .3s ease;
}
.nav-burger:hover { background: var(--nav-icon-hover-bg); }
.nav-burger-inner {
    position: relative; width: 22px; height: 16px; display: block;
    transition: transform .5s cubic-bezier(.68, -0.35, .27, 1.45);
}

/* Anneau qui jaillit autour de la croix à l'ouverture (effet ressort) */
.nav-burger::after {
    content: ''; position: absolute; inset: 5px;
    border-radius: 50%;
    border: 2px solid var(--app-blue-color);
    opacity: 0; transform: scale(.3) rotate(-90deg);
    transition: opacity .3s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1);
    pointer-events: none;
}
.nav-burger.is-open::after { opacity: 1; transform: scale(1) rotate(0deg); }
.nav-burger-inner > span {
    position: absolute; left: 0; height: 2px; border-radius: 2px;
    background: var(--nav-icon);
    transition: transform .42s cubic-bezier(.68,-0.6,.32,1.6), width .4s ease,
                opacity .25s ease, background .3s ease, top .3s ease;
}
.nav-burger-inner > span:nth-child(1) { top: 0;    width: 22px; }
.nav-burger-inner > span:nth-child(2) { top: 7px;  width: 13px; }
.nav-burger-inner > span:nth-child(3) { top: 14px; width: 22px; }

/* État ouvert : la croix jaillit avec un spin + anneau (bouton de fermeture animé) */
.nav-burger.is-open { background: transparent; }
.nav-burger.is-open:hover { background: var(--btn-blue-soft-bg); }
.nav-burger.is-open .nav-burger-inner { transform: rotate(180deg); }
.nav-burger.is-open .nav-burger-inner > span { background: var(--app-blue-color); }
.nav-burger.is-open .nav-burger-inner > span:nth-child(1) { top: 7px; width: 16px; left: 3px; transform: rotate(45deg); }
.nav-burger.is-open .nav-burger-inner > span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.is-open .nav-burger-inner > span:nth-child(3) { top: 7px; width: 16px; left: 3px; transform: rotate(-45deg); }

/* ── Feuille déroulante flottante (dropdown depuis le dock) ── */
/* Panneau glissant depuis la gauche, sous la navbar — continuité du dock.
   Fond = même que la navbar (clair en light, navy en dark) via --nav-dock-*. */
#mobile-menu-offcanvas.mobile-menu-sheet {
    top: 70px !important;
    left: clamp(12px, 3vw, 40px) !important;
    right: auto !important;
    bottom: auto !important;
    width: min(80vw, 320px) !important;
    height: auto !important;
    max-height: calc(100dvh - 84px) !important;
    border: 1px solid var(--nav-dock-border) !important;
    border-radius: 18px !important;
    background: var(--nav-dock-bg) !important;
    box-shadow: 0 16px 44px rgba(0, 42, 98, 0.18);
    -webkit-backdrop-filter: blur(20px) saturate(170%);
    backdrop-filter: blur(20px) saturate(170%);
    display: flex; flex-direction: column;
    padding: 8px; overflow-y: auto;
}

.mm-nav { display: flex; flex-direction: column; padding: 2px; }
.mm-link {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 12px;
    border-radius: 12px;
    text-decoration: none; color: var(--nav-text-muted);
    opacity: 0; transform: translateX(-18px);
    transition: opacity .45s ease, transform .45s cubic-bezier(.2,.7,.2,1), background .2s ease, color .2s ease;
    transition-delay: 0s;
}
.mm-ic {
    width: 36px; height: 36px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
    background: var(--nav-icon-hover-bg);
    color: var(--nav-icon);
    transition: background .2s ease, color .2s ease;
}
.mm-text { font-size: 1.02rem; font-weight: 600; flex: 1 1 auto; letter-spacing: -.01em; }
.mm-arrow { color: var(--nav-text-muted); opacity: .55; display: flex; transition: transform .25s ease, color .2s ease, opacity .2s ease; }
.mm-link:hover, .mm-link:active { background: var(--nav-icon-hover-bg); color: var(--nav-text-hover); }
.mm-link:hover .mm-ic { background: var(--app-blue-color); color: #fff; }
.mm-link:hover .mm-arrow { opacity: 1; transform: translateX(3px); }
.mm-link.active { background: var(--btn-blue-soft-bg); color: var(--nav-text-hover); }
.mm-link.active .mm-ic { background: var(--app-blue-color); color: #fff; }
.mm-link.active .mm-text { color: var(--app-blue-color); }

/* Révélation en cascade — déclenchée à l'ouverture (.show) */
.mobile-menu-sheet.show .mm-link {
    opacity: 1; transform: none;
    transition-delay: calc(0.06s + var(--mm-i) * 0.05s);
}

/* Pied : compte + réseaux */
.mm-foot {
    margin-top: 6px; padding: 14px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--nav-border);
    display: flex; flex-direction: column; align-items: stretch; gap: 14px;
    opacity: 0; transform: translateY(12px);
    transition: opacity .45s ease, transform .45s ease; transition-delay: 0s;
}
.mobile-menu-sheet.show .mm-foot { opacity: 1; transform: none; transition-delay: .34s; }
.mm-account { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--nav-text); min-width: 0; }
.mm-account-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--btn-blue-soft-bg); border: 1px solid rgba(0, 62, 205, 0.3);
    display: flex; align-items: center; justify-content: center; color: var(--app-blue-color); flex-shrink: 0;
}
.mm-account-info { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.mm-account-label { font-size: 11px; color: var(--nav-text-muted); }
.mm-account-name { font-size: 13px; font-weight: 700; }
.mm-account .ms-auto { display: none; }
.mm-socials { display: flex; gap: 8px; flex-shrink: 0; }
.mm-socials a {
    width: 36px; height: 36px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--nav-icon-hover-bg); border: 1px solid var(--nav-border);
    color: var(--nav-icon); text-decoration: none;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}
.mm-socials a:hover { background: var(--app-blue-color); color: #fff; transform: translateY(-2px); }

/* ── Bande inférieure (liens de navigation) ── */
.navbar .container-fluid.bg-app-blue {
    background: var(--nav-band-bg) !important;
    border-bottom: 1px solid var(--nav-band-border);
    min-height: 44px;
}

/* Séparateur entre les deux bandes — masqué */
.navbar .custom-divider {
    display: none;
}

/* ── Compatibilité anciennes classes ── */
.navbar .container-fluid.bg-app-black {
    background: var(--nav-top-bg) !important;
}

.navbar .navbar-brand .navbar-logo {
    max-width: 120px;
    height: auto;
}

.navbar .nav-link {
    font-weight: 600;
    font-size: 14px;
    color: var(--nav-text-muted);
    transition: color 0.3s ease;
    position: relative;
}

.navbar .navbar-nav.left-nav-link li:not(:last-child) {
    margin-right: 15px;
    padding-right: 15px;
}

.navbar .navbar-nav.right-nav-link li:not(:last-child) {
    margin-right: 5px;
    padding-right: 5px;
}

.navbar .nav-link:hover {
    color: var(--nav-text-hover);
    transition: color 0.3s ease;
}

.navbar .nav-link.active {
    color: var(--nav-active);
}

.bg-app-blue {
    background-color: var(--app-blue-color);
}

.navbar select {
    color: var(--app-white-color);
    background-color: transparent;
    padding: 5px 6px;
    margin: auto;
    font-size: 12px;
    appearance: none;
    border-radius: 5px;
    border: 1px solid var(--app-white-color);
    align-self: center;
}

.navbar select option {
    color: var(--app-black-color);
    background-color: var(--app-white-color);
}

.search-container,
.search-container .navbar-search {
    position: relative;
}

.search-form {
    width: 100%;
    height: 35px;
    border: 1px solid var(--app-white-variant1-color);
    border-radius: 50px;
    background-color: transparent;
    color: var(--app-white-color);
    padding-right: 40px;
    font-size: 12px;
}

.search-form:focus,
.footer .newsletter .email-newsletter:focus {
    color: var(--app-white-color);
    background-color: transparent;
    border-color: var(--app-white-variant1-color);
    outline: 0;
    box-shadow: 0 1px 2px 0 rgba(249, 249, 249, 0.071),
        0 0 0 0.18rem rgba(249, 249, 249, 0.251);
}

.search-form::placeholder,
.footer .newsletter .email-newsletter::placeholder {
    color: var(--app-white-color);
    opacity: 0.8;
}

.search-form::-webkit-search-cancel-button {
    appearance: none;
}

.search-button {
    position: absolute;
    top: 0;
    right: 0;
    color: var(--app-white-color);
    width: 65px;
    height: 35px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.navbar .nav-item .nav-link.nav-login-button {
    font-size: 12px;
}

.navbar .nav-item .nav-link.nav-login-button .login-text-container {
    font-size: 10px;
}

.navbar .nav-item .nav-link.cart-button,
.navbar .nav-item .nav-link.wishlist-button {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.navbar .nav-item .nav-link.cart-button .cart-item-count,
.navbar .nav-item .nav-link.wishlist-button .wishlist-item-count {
    position: absolute;
    top: 0px;
    right: 0px;
    background-color: var(--app-red-color);
    color: var(--app-white-color);
    font-size: 13px;
    font-weight: 400;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.minicart-product-list {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.minicart-product-list li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #ebebeb;
}

.minicart-product-list li .image {
    -webkit-box-flex: 1;
    -ms-flex: 1 0 75px;
    flex: 1 0 75px;
}

.minicart-product-list li .image img {
    max-width: 100%;
    border: 1px solid #ebebeb;
}

@media only screen and (max-width: 575px) {
    .minicart-product-list li .image {
        -ms-flex: 1 0 50px;
        -webkit-box-flex: 1;
        flex: 1 0 50px;
    }
}

.minicart-product-list li .content {
    position: relative;
    -webkit-box-flex: 1;
    -ms-flex: 1 0 calc(100% - 150px);
    flex: 1 0 calc(100% - 150px);
    padding-left: 15px;
}

.minicart-product-list li .content .title {
    color: var(--app-black-color);
    font-weight: 500;
    display: block;
    width: 90%;
    line-height: 20px;
}

.minicart-product-list li .content .title:hover {
    color: var(--app-blue-color);
}

.minicart-product-list li .content .quantity-price {
    display: block;
    margin-top: 10px;
}

.minicart-product-list li .content .quantity-price .amount {
    color: var(--app-blue-color);
    font-weight: 500;
}

.minicart-product-list li .content .remove {
    line-height: 1.5;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0 3px;
    color: var(--app-black-color);
}

.minicart-product-list li .content .remove:hover {
    color: var(--app-red-color);
}

@media only screen and (max-width: 575px) {
    .minicart-product-list li .content {
        -ms-flex: 1 0 calc(100% - 75px);
        -webkit-box-flex: 1;
        flex: 1 0 calc(100% - 75px);
    }
}

.minicart-product-list li:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 0;
}

.navbar #mobile-menu-offcanvas .nav-link {
    color: var(--app-black-color);
}

.navbar #mobile-menu-offcanvas .nav-link:hover {
    color: var(--app-blue-color);
    transition: all 0.5s ease-in-out;
}

.navbar #mobile-menu-offcanvas .nav-link.active {
    color: var(--app-blue-color);
}

@media only screen and (max-width: 479px) {
    .offcanvas {
        width: 85% !important;
    }
}

/**PACKS PAGES STYLES***/

.pack-card {
    height: 450px;
    max-height: 450px;
    background-color: var(--bs-body-bg);
    border: none;
    border-radius: 10px;
    box-shadow: 2px 2px 10px 1px rgba(0, 0, 0, 0.2);
}

.become-affiliate-container .card-img-top,
.become-client-container .card-img-top {
    height: 150px;
    max-width: 100%;
    width: 100%;
    object-fit: scale-down;
}

.pack-card .card-body {
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: var(--app-white-color);
    border-radius: 10px;
}

.card .card-body .card-title {
    font-size: 16px;
    font-weight: 500;
}

.card .card-body .card-text {
    font-size: 14px;
    color: var(--app-black-color);
    text-align: justify;
}

/****FOOTER STYLES****/
.footer {
    background: #002a62;
    color: rgba(253, 253, 255, 0.72);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

/* Accent décoratif en haut du footer */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--app-blue-color);
    opacity: 0.85;
}

/* Orbe décorative dans le footer */
.footer::after {
    content: '';
    position: absolute;
    bottom: -120px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: transparent;
    pointer-events: none;
}

.footer-logo {
    max-height: 56px;
    width: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.footer .about-text {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.55);
    text-align: left;
    line-height: 1.7;
}

.footer .social-links ul,
.social-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: left;
    gap: 4px;
}

.footer .social-links ul li:not(:last-child),
.social-links ul li:not(:last-child) {
    margin-right: 0;
}

.footer .social-links ul li a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer .social-links ul li a:hover {
    background: var(--app-blue-color);
    border-color: var(--app-blue-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer .footer-links ul li a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 0;
}

.footer .footer-links ul li a::before {
    content: '›';
    color: var(--app-yellow-color);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.25s ease;
}

.footer .footer-links ul li a:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer h6 {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    display: inline-block;
}

.footer .newsletter .email-newsletter {
    width: 100%;
    height: 42px;
    border: 1px solid rgba(0, 62, 205, 0.4);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.85);
    padding: 10px 50px 10px 14px;
    font-size: 13px;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.footer .newsletter .email-newsletter:focus {
    background-color: rgba(255, 255, 255, 0.08);
    border-color: var(--app-blue-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 62, 205, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.footer .newsletter .email-newsletter::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.footer .newsletter .btn-subscribe-newsletter {
    position: absolute;
    top: 0;
    right: 0;
    background-color: transparent;
    color: var(--app-yellow-color);
    height: 42px;
    width: 45px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    border-radius: 0 10px 10px 0;
}

.footer .newsletter .btn-subscribe-newsletter:hover {
    background-color: rgba(255, 188, 0, 0.1);
    color: var(--app-yellow-color);
}

.footer .newsletter .footer-product-area .footer-product {
    background-color: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    max-width: 60px;
    min-width: 50px;
    max-height: 60px;
    min-height: 50px;
    transition: border-color 0.3s ease;
}

.footer .newsletter .footer-product-area .footer-product:hover {
    border-color: rgba(0, 62, 205, 0.4);
}

.footer .newsletter .footer-product-area .footer-product img {
    object-fit: scale-down;
    max-width: 100%;
    width: 100%;
    height: 100%;
}

@media (max-width: 479px) {
    .footer .newsletter .footer-product-area .footer-product {
        height: 60px;
        width: 60px;
    }

    .footer .newsletter .footer-product-area .footer-product img {
        height: 60px;
    }
}

.custom-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.footer .footer-bottom-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer .footer-bottom-text a {
    color: var(--app-yellow-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-weight: 600;
}

.footer .footer-bottom-text a:hover {
    opacity: 0.75;
}

/* Contact info icons dans le footer */
.footer ul.list-unstyled li {
    color: rgba(255, 255, 255, 0.55);
    font-size: 13.5px;
}

/***PURCHASE PACKS PAGE STYLES***/
.become-affiliate-container,
.become-client-container {
    background-color: var(--bs-body-bg);
    border: none;
    border-radius: 10px;
    color: var(--app-black-color);
}

.become-affiliate-container {
    background-color: #dce4ec;
}

.become-client-container {
    background-color: #f5f3e6;
}

.become-affiliate-container .card-body ul,
.become-client-container .card-body ul {
    padding: 0px 10px 0px 20px;
    margin: 0;
}

.become-affiliate-container .card-body ul li,
.become-client-container .card-body ul li {
    font-size: 14px;
    color: var(--app-black-color);
    text-align: justify;
}

.become-affiliate-container .card-body,
.become-client-container .card-body {
    padding: 20px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    border-radius: 10px;
}

.order-summary-container {
    box-shadow: -2px -2px 10px 1px rgba(0, 0, 0, 0.2);
}

.cart-item-quantity-input {
    height: 25px;
    min-height: 25px;
}

.cart-item-quantity-input:focus {
    border-color: var(--app-blue-variant1-color);
    outline: 0;
    box-shadow: 0 1px 2px 0 rgba(1, 80, 159, 0.071),
        0 0 0 0.18rem rgba(1, 80, 159, 0.251);
}

.order-summary-container .cart-item-title {
    font-size: inherit;
}

/***AFFILIATE REGISTRATION PAGE STYLE***/
.paiement-data-container {
    border-radius: 10px;
}

.paiement-data-container .registration-pagination .step-number-container {
    width: 70%;
    min-width: 30%;
}

.paiement-data-container .registration-pagination .step-number-container .step-number {
    background-color: var(--bs-gray-300);
    border-radius: 50%;
    padding: 10px;
    width: 25px;
    height: 25px;
    text-align: center;
    color: var(--bs-gray-500);
}

.paiement-data-container .registration-pagination .step-number-container .step-number.active {
    background-color: var(--app-blue-color);
    color: var(--app-white-color);
    font-weight: 600;
}

.paiement-data-container .registration-pagination .step-number-container .bar {
    width: 100%;
    min-width: 30%;
    height: 2px;
    background-color: var(--bs-gray-300);
}

.paiement-data-container .registration-pagination .step-number-container .bar.active {
    background-color: var(--app-blue-color);
}

.paiement-data-container .registration-pagination .step-title-container {
    width: 100%;
}

.paiement-data-container .registration-pagination .step-title-container .step-title {
    width: 25px;
    flex-grow: 1;
    color: var(--bs-gray-500);
}

.paiement-data-container .registration-pagination .step-title-container .step-title.active {
    color: var(--app-blue-color);
}

.form-label.required::after {
    content: " *";
    color: var(--app-red-color);
}

.paiement-data-container .form-steps-container {
    width: 100%;
}

.paiement-data-container .form-steps {
    width: 300%;
}

.paiement-data-container .form-steps .step {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
    max-height: 0;
    opacity: 0;
}

.paiement-data-container .form-steps .step.active {
    max-height: max-content;
    opacity: 1;
}

/***LOGIN PAGE STYLES**/
/* ============================================================
   AUTH PAGES — login & register split-screen
   ============================================================ */

/* Wrapper pleine hauteur */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: var(--surface-bg);
}

/* Logo cliquable (retour accueil) — pas de navbar sur les pages auth */
.auth-brand-logo-link {
    display: block; text-align: center;
    margin: 0 auto 1.85rem; position: relative; z-index: 1;
}
.auth-brand-logo-link img { max-height: 92px; width: auto; display: inline-block; }
.auth-form-logo {
    display: none;
    margin: 0 auto 1.75rem;
}
.auth-form-logo img { max-height: 40px; width: auto; }
@media (max-width: 767px) {
    .auth-form-logo { display: block; text-align: center; }
}

/* ── Panneau gauche — branding dark ── */
.auth-brand-panel {
    width: 45%;
    flex-shrink: 0;
    background: #002a62;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 48px 52px;
}

/* Grille de points décorative */
.auth-brand-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

/* Ligne d'accent haute */
.auth-brand-panel::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--app-yellow-color);
    opacity: 0.85;
}

/* Orbes */
.auth-brand-panel .auth-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(55px);
    pointer-events: none;
}
.auth-brand-panel .auth-orb-1 {
    width: 320px; height: 320px;
    background: transparent;
    top: -80px; right: -60px;
}
.auth-brand-panel .auth-orb-2 {
    width: 240px; height: 240px;
    background: transparent;
    bottom: -60px; left: -40px;
}

/* Logo + contenu */
.auth-brand-content {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: clamp(8px, 3vh, 28px);
}

.auth-brand-logo {
    max-height: 44px;
    width: auto;
    margin-bottom: 2.5rem;
}

.auth-brand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--app-yellow-color);
    background: rgba(0, 62, 205, 0.25);
    border: 1px solid rgba(255, 188, 0, 0.5);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(4px);
}

.auth-brand-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.auth-brand-title span {
    color: var(--app-yellow-color);
}

.auth-brand-desc {
    font-size: 0.88rem;
    color: rgba(255,255,255,.82);
    line-height: 1.75;
    margin-bottom: 2rem;
}

/* Features list */
.auth-brand-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-brand-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.83rem;
    color: rgba(255,255,255,.88);
    line-height: 1.5;
}

.auth-brand-features .feat-icon {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: rgba(0, 62, 205, 0.3);
    border: 1px solid rgba(255, 188, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--app-yellow-color);
    margin-top: 1px;
}

/* Bas du panneau */
.auth-brand-footer {
    position: relative;
    z-index: 1;
    font-size: 12px;
    color: rgba(255,255,255,.5);
}

/* ── Panneau droit — formulaire ── */
.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background: var(--surface-bg);
    overflow-y: auto;
}

.auth-form-box {
    width: 100%;
    max-width: 440px;
}

/* En-tête du formulaire */
.auth-form-header {
    margin-bottom: 2rem;
}

.auth-form-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    margin-bottom: 0.4rem;
    line-height: 1.2;
}

.auth-form-subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Champs */
.auth-field {
    margin-bottom: 1.1rem;
}

.auth-field label,
.auth-field .form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.auth-field .form-control,
.auth-field select.form-select,
.auth-field input:not([type="checkbox"]):not([type="radio"]) {
    width: 100%;
    height: 44px;
    background: var(--surface-card) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: 10px !important;
    color: var(--text-primary) !important;
    font-size: 0.875rem;
    padding: 0 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    outline: none;
}

.auth-field .form-control:focus,
.auth-field select.form-select:focus,
.auth-field input:not([type="checkbox"]):not([type="radio"]):focus {
    border-color: var(--app-blue-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 62, 205,.18) !important;
    background: var(--surface-card) !important;
    color: var(--text-primary) !important;
}

.auth-field .form-control::placeholder,
.auth-field input::placeholder {
    color: var(--text-secondary);
    opacity: 0.65;
}

/* Select */
.auth-field select.form-select {
    appearance: auto;
    padding-right: 36px;
}

/* Conteneur password avec toggle */
.auth-field .auth-password-wrap {
    position: relative;
}

.auth-field .auth-password-wrap .form-control {
    padding-right: 44px;
}

.auth-field .auth-password-wrap .show-hide-password {
    position: absolute;
    right: 0;
    top: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    padding: 0;
}

.auth-field .auth-password-wrap .show-hide-password:hover {
    color: var(--app-blue-color);
}

/* Erreurs */
.auth-field .auth-error {
    display: block;
    font-size: 0.75rem;
    color: var(--app-red-color);
    margin-top: 4px;
}

/* Checkbox */
.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 1rem;
}

.auth-checkbox-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--app-blue-color);
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.auth-checkbox-row label,
label.auth-checkbox-row,
.auth-checkbox-row > span {
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin: 0;
    line-height: 1.4;
}

/* Ligne remember me / forgot + register link */
.auth-row-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 8px;
}

.auth-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--app-blue-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-link:hover {
    color: var(--app-blue-variant1-color);
}

/* Bouton submit */
.btn-auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 46px;
    background: var(--btn-blue);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.9rem;
    border: none !important;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
    box-shadow: 0 4px 16px rgba(0, 62, 205, .25);
    letter-spacing: 0.01em;
    margin-bottom: 0.5rem;
}

.btn-auth-submit:hover {
    background: var(--btn-blue-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 62, 205, .38) !important;
    color: #fff !important;
}

.btn-auth-submit:active {
    transform: translateY(0);
}

/* Séparateur */
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Pied du formulaire */
.auth-form-footer {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* Alerte intégrée */
.auth-alert {
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.auth-alert.auth-alert-danger {
    background: rgba(216,29,29,.1);
    border: 1px solid rgba(216,29,29,.25);
    color: var(--app-red-color);
}

.auth-alert.auth-alert-success {
    background: rgba(0,209,28,.1);
    border: 1px solid rgba(0,209,28,.25);
    color: var(--app-green-color);
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .auth-brand-panel { width: 42%; padding: 40px 36px; }
    .auth-form-panel { padding: 40px 28px; }
    .auth-brand-title { font-size: 1.6rem; }
}

@media (max-width: 767px) {
    .auth-page { flex-direction: column; min-height: 100dvh; background: #e9f0fc; }

    /* Panneau gauche → bannière compacte en haut */
    .auth-brand-panel {
        width: 100%;
        padding: 28px 24px 32px;
        min-height: auto;
    }
    .auth-brand-features { display: none; }
    .auth-brand-desc { display: none; }
    .auth-brand-footer { display: none; }
    .auth-brand-content { justify-content: flex-start; }
    .auth-brand-logo { margin-bottom: 1rem; }
    .auth-brand-title { font-size: 1.35rem; margin-bottom: 0; }

    /* Mobile : logo multicolore centré + formulaire en carte blanche */
    .auth-form-panel {
        flex-direction: column;
        justify-content: flex-start;
        padding: 36px 18px 48px;
        background: #e9f0fc;
    }
    .auth-form-logo {
        display: block;
        text-align: center;
        margin: 6px auto 22px;
    }
    .auth-form-logo img { max-height: 66px; width: auto; }
    .auth-form-box {
        width: 100%;
        max-width: 460px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 22px;
        box-shadow: 0 14px 44px rgba(0, 42, 98, 0.13);
        padding: 28px 22px;
    }
}

@media (max-width: 575px) {
    .auth-brand-panel { padding: 22px 20px 26px; }
    .auth-brand-title { font-size: 1.2rem; }
    .auth-form-panel { padding: 24px 16px 40px; }
    .auth-form-title { font-size: 1.3rem; }
}

/***USER DASHBOARD INDEX PAGE STYLE***/

.navbar.user-dashboard-navbar-container .navbar-nav li:not(:last-child) {
    margin-right: 10px;
    padding-right: 10px;
}

.navbar.user-dashboard-navbar-container select {
    color: var(--app-blue-color);
    border: 1px solid var(--app-blue-color);
}

.navbar.user-dashboard-navbar-container select option {
    color: var(--app-black-color);
    background-color: var(--app-white-color);
}

.navbar.user-dashboard-navbar-container .user-default-avatar-container {
    height: 30px;
    width: 30px;
    object-fit: scale-down;
    border: 1px solid var(--app-blue-color);
}

.navbar.user-dashboard-navbar-container .search-container .search-form {
    border-color: #002a6269;
    color: var(--app-blue-color);
}

.navbar.user-dashboard-navbar-container .search-container .search-form::placeholder {
    color: var(--app-blue-variant1-color);
}

.navbar.user-dashboard-navbar-container .nav-item .dropdown .dropdown-toggle::after {
    display: none;
}

.navbar.user-dashboard-navbar-container .nav-item .notification-dropdown button {
    border: 1px solid var(--app-blue-color);
    border-radius: 5px;
    padding: 5.5px;
    background-color: transparent;
    color: var(--app-blue-color);
}

ul.dropdown-menu li:not(:last-child) {
    margin-right: 0 !important;
    padding-right: 0 !important;
}

/***SIDEBAR STYLE***/
.sidebar {
    --cui-sidebar-padding-x: 0.5rem;
    --cui-sidebar-padding-y: 0.5rem;
}

aside .user-dashboard-sidebar {
    width: 4rem;
    height: calc(var(--vh, 1vh) * 100);
    z-index: 1021;
    transition: all 0.5s ease-in-out;
    overflow-y: auto;
}

aside .user-dashboard-sidebar:not(.sidebar-narrow) {
    width: 16rem;
}

.user-dashboard-sidebar .sidebar-nav .nav-item .nav-link svg {
    margin-right: 0.5rem;
}

.user-dashboard-sidebar .sidebar-nav .nav-item .nav-link.active {
    background-color: var(--app-blue-color);
    color: var(--app-white-color);
}

.tooltip {
    z-index: 99999 !important;
}

@media (max-width: 991.99px) {
    aside .user-dashboard-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 16rem;
    }

    aside .user-dashboard-sidebar.show {
        z-index: 1050 !important;
    }
}

.main-container {
    width: calc(100% - 4rem);
    transition: all 0.5s ease-in-out;
}

@media (max-width: 991.99px) {
    .main-container {
        width: 100%;
        transition: all 0.5s ease-in-out;
    }
}

/* Sidebar + navbar fixes à leur position sur tous les dashboards (desktop) */
@media (min-width: 992px) {
    aside .user-dashboard-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1031;
    }

    .main-container {
        margin-left: 4rem;
        width: calc(100% - 4rem);
    }

    .user-dashboard-navbar-container {
        position: sticky;
        top: 0;
        z-index: 1030;
    }
}

.btn.user-sidebar-toggler,
.btn.user-sidebar-toggler:focus {
    color: var(--app-blue-color);
    border: none;
    box-shadow: none;
    transition: all 0.5s ease-in-out;
}

.btn.user-sidebar-toggler:hover {
    color: var(--app-black-color);
    border: none;
    box-shadow: none !important;
}

.btn.user-sidebar-toggler i {
    font-size: 25px;
}

.user-dashboard-container,
.admin-dashboard-container {
    font-size: 12px;
}

.user-dashboard-container .user-dashboard-section1 div.card .icon-container,
.admin-dashboard-container .admin-dashboard-section1 div.card .icon-container {
    height: 50px;
}

.user-dashboard-container .user-dashboard-section1 div.card,
.user-dashboard-container .user-dashboard-section1 div.card h6,
.admin-dashboard-container .admin-dashboard-section1 div.card,
.admin-dashboard-container .admin-dashboard-section1 div.card h6 {
    font-size: 14px;
}

.user-dashboard-container .user-dashboard-section1 div.card .statistique-container span.variation-container {
    padding: 2px 5px;
}

.user-default-avatar {
    height: 120px;
    width: 120px;
    border: 1px solid rgba(0, 62, 205, 0.30);
    border-radius: 50%;
}

@media (max-width: 992px) {
    .user-default-avatar {
        height: 80px;
        width: 80px;
    }
}

.user-dashboard-container .user-dashboard-section2 .vertical-line {
    width: 1px;
    background-color: var(--bs-gray-400);
}

.btn.btn-show-sponsor,
.btn.btn-show-sponsor:focus,
.btn.btn-show-more,
.btn.btn-show-more:focus {
    color: var(--app-blue-color);
    border: none;
    border: 0px solid transparent;
}

.user-dashboard-container .user-dashboard-section2 .btn.btn-show-sponsor i {
    font-size: 18px;
}

.swiper {
    overflow: hidden;
    max-width: 100%;
}

.swiper .swiper-button-next:after {
    content: "";
}

.swiper .swiper-button-prev:after {
    content: "";
}

.swiper .swiper-button-next:after,
.swiper .swiper-button-prev:after {
    font-family: "Pe-icon-7-stroke";
    font-size: 40px;
    text-transform: none !important;
    letter-spacing: 0;
    text-transform: none;
    font-variant: initial;
    line-height: 1;
    outline: 0;
}

.swiper .swiper-button-prev,
.swiper .swiper-button-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9;
    width: 40px;
    height: 40px;
    line-height: 50px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
    margin: auto;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 3px 25.5px 4.5px rgba(0, 0, 0, 0.09);
    color: var(--app-black-color);
    background-color: var(--bs-gray-300);
}

.swiper:hover .swiper-button-next,
.swiper:hover .swiper-button-prev {
    opacity: 1;
    visibility: visible;
}

.swiper:hover .swiper-button-next {
    right: 30px;
}

.swiper:hover .swiper-button-prev {
    left: 30px;
}

.swiper .swiper-button-next:hover,
.swiper .swiper-button-prev:hover {
    background-color: var(--app-blue-color);
    color: var(--app-white-color);
}

.swiper .swiper-button-disabled {
    color: var(--bs-gray-400);
}

.swiper-pagination span:not(:first-child, :last-child) {
    margin: 0 5px !important;
}

.swiper-pagination span.swiper-pagination-bullet-active {
    background-color: var(--app-blue-color);
}

.user-dashboard-container .user-dashboard-section3 .award-unlocked-container i {
    font-size: 25px;
}

.user-dashboard-container .user-dashboard-section3 .award-unlocked-container div:first-child,
.user-dashboard-container .user-dashboard-section3 .award-locked-container div:first-child {
    height: 90px;
    width: 90px;
}

.user-dashboard-container .user-dashboard-section3 .award-unlocked-container div:first-child img,
.user-dashboard-container .user-dashboard-section3 .award-locked-container div:first-child img {
    width: 100%;
    max-width: 100%;
    height: 90px;
    object-fit: scale-down;
}

.user-dashboard-container .user-dashboard-section3 .award-locked-container button {
    padding: 5px 10px;
}

.user-dashboard-container .user-dashboard-section4 .section,
.admin-dashboard-container .admin-dashboard-section3 .section {
    overflow-y: auto;
    height: 530px;
}

.nav.nav-tabs {
    border: none;
}

.nav.nav-tabs a.nav-link {
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 15px;
    padding: 0px;
    transition: all 0.5s ease-in-out;
    color: var(--bs-gray-400);
    box-sizing: border-box;
}

.nav.nav-tabs a.nav-link:hover,
.nav.nav-tabs a.nav-link.active {
    color: var(--app-blue-color);
    border-bottom: 1px solid var(--app-blue-color);
    transition: all 0.5s ease-in-out;
    box-sizing: border-box;
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom .tab-pane,
.user-dashboard-container .user-dashboard-section4 .team-performance-container .team-performance-container-bottom .tab-pane,
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom .tab-pane {
    display: block;
    overflow: hidden;
    height: 0;
    visibility: hidden;
    max-width: 100%;
    opacity: 0;
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom .tab-pane.active,
.user-dashboard-container .user-dashboard-section4 .team-performance-container .tab-pane.active,
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom .tab-pane.active {
    height: auto;
    visibility: visible;
    opacity: 1;
    overflow: visible;
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom .rank-condition {
    background-color: var(--app-blue-variant3-color);
    border: 1px solid var(--app-blue-variant2-color);
    border-radius: 10px;
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom #rank-list .rank-list-item,
.user-dashboard-container .user-dashboard-section4 .team-performance-container .team-performance-container-bottom #best-winners-list .best-winners-list-item,
.user-dashboard-container .user-dashboard-section4 .team-performance-container .team-performance-container-bottom #best-recruiters-list .best-recruiters-list-item,
.user-dashboard-container .user-dashboard-section4 .new-member-container .new-member-item,
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom #income-list .income-list-item,
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom #commission-list .commission-list-item,
.admin-dashboard-container .admin-dashboard-section3 .transactions-container .transaction-item,
.admin-dashboard-container .admin-dashboard-section3 .new-member-container .new-member-item,
.admin-dashboard-container .admin-dashboard-section4 #best-recruiters-list .best-recruiters-list-item,
.admin-dashboard-container .admin-dashboard-section4 #package-presentation-list .package-presentation-list-item,
.admin-dashboard-container .admin-dashboard-section4 #ranking-overview-list .ranking-overview-list-item {
    padding: 10px 0px;
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom #rank-list .rank-list-item:not(:last-child),
.user-dashboard-container .user-dashboard-section4 .team-performance-container .team-performance-container-bottom #best-winners-list .best-winners-list-item:not(:last-child),
.user-dashboard-container .user-dashboard-section4 .team-performance-container .team-performance-container-bottom #best-recruiters-list .best-recruiters-list-item:not(:last-child),
.user-dashboard-container .user-dashboard-section4 .new-member-container .new-member-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom #income-list .income-list-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom #commission-list .commission-list-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section3 .transactions-container .transaction-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section3 .new-member-container .new-member-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section4 #best-recruiters-list .best-recruiters-list-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section4 #package-presentation-list .package-presentation-list-item:not(:last-child),
.admin-dashboard-container .admin-dashboard-section4 #ranking-overview-list .ranking-overview-list-item:not(:last-child) {
    border-bottom: 1px solid var(--bs-gray-300);
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom #rank-list .rank-list-item span i {
    font-size: 14px;
}

.user-dashboard-container .user-dashboard-section4 .rank-container .rank-container-bottom #rank-list .rank-list-item button {
    font-size: 12px;
    padding: 5px 10px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border: 1px solid var(--app-blue-color);
    object-fit: scale-down;
}

.recruits-number {
    width: 25px;
    height: 25px;
}

/***WALLET PAGE STYLE***/

.wallet-details-container-header.nav.nav-tabs a.nav-link,
.tree-container-header.nav.nav-tabs a.nav-link {
    background-color: var(--bs-white);
    border: none;
    border-radius: 5px;
    font-size: 14px;
    padding: 2px 10px;
    transition: all 0.5s ease-in-out;
    color: var(--app-black-color);
    box-sizing: border-box;
}

.wallet-details-container-header.nav.nav-tabs a.nav-link:hover,
.wallet-details-container-header.nav.nav-tabs a.nav-link.active,
.tree-container-header.nav.nav-tabs a.nav-link:hover,
.tree-container-header.nav.nav-tabs a.nav-link.active {
    color: var(--app-white-color);
    background-color: var(--app-blue-color);
    border: none;
    transition: all 0.5s ease-in-out;
    box-sizing: border-box;
}

table,
th,
tr,
td {
    background-color: inherit !important;
}

table tbody.table-group-divider {
    border-color: var(--app-blue-variant2-color);
}

.wallet-details-container-bottom .filter-form-container input,
.wallet-details-container-bottom .filter-form-container select,
.wallet-details-container-bottom .filter-form-container button,
.withdrawal-details-container .filter-form-container input,
.withdrawal-details-container .filter-form-container select,
.withdrawal-details-containe button,
.tree-search-container input,
.tree-search-container button {
    font-size: 12px;
}

.wallet-details-container-bottom .filter-form-container button,
.withdrawal-details-container button,
.tree-search-container input,
.tree-search-container button {
    padding: 5px 10px;
}

/****TREE PAGE STYLE***/

.node circle {
    fill: transparent;
}

.node text {
    font: 14px sans-serif;
    fill: var(--adm-text, #333);
}

.link {
    fill: none;
    stroke: var(--adm-border, #ccc);
    stroke-width: 2px;
}

.tree-tooltip,
.tree-view-tooltip {
    position: fixed;
    background: var(--bs-white);
    height: 120px;
    width: 320px;
    font-size: 10px;
    pointer-events: none;
    border: 2px solid var(--app-blue-variant2-color);
    border-radius: 10px;
    display: none;
    box-sizing: border-box;
}

.tree-tooltip .user-data-container,
.tree-view-tooltip .user-data-container {
    width: 150px;
}

.tree-add-button {
    font-size: 10px;
    color: white;
    padding: 2px 4px;
    border: none;
    border-radius: 3px;
    width: 15px;
    height: 15px;
}

.action-button {
    top: 50px;
    right: 15px;
}

.action-button button {
    width: 30px;
    height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#tree-view .affiliate-data-container {
    width: 400px;
    border: 1px solid var(--bs-gray-300);
    border-radius: 5px;
    position: relative;
}

#tree-view .affiliate-data-container .level-container,
#tree-view .affiliate-data-container .about-data-container {
    background-color: var(--bs-gray-100);
    padding: 2px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
    font-size: 10px;
}

#tree-view .affiliate-data-container .btn-show-hide-affiliates {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    padding: 2px;
    top: calc(50% -30px);
    left: -10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
}

.descendants-container {
    position: relative;
    left: 2%;
    border-left: 1px solid var(--bs-gray-300);
    box-sizing: border-box;
    height: 0;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}

.descendants-container .descendants {
    position: relative;
    top: 18px;
    left: 30px;
    width: max-content;
    box-sizing: border-box;
}

.descendants-container .descendants .line {
    bottom: 18px;
    left: -31px;
    width: 31px;
    background-color: var(--bs-gray-300);
    height: 1px;
}

.pagination,
.pagination .page-link {
    color: var(--app-blue-color) !important;
    border-color: var(--cui-pagination-border-color) !important;
}

.pagination .page-item.disabled .page-link {
    color: var(--app-blue-variant2-color) !important;
}

.pagination .page-item.active .page-link, .pagination .page-item.active .page-link:hover {
    color: #fff !important;
    background-color: var(--btn-blue) !important;
    border-color: var(--btn-blue) !important;
}

/***SETTING PAGE STYLE***/

.user-dashboard-container .user-setting-section1 .profile-picture-section {
    border-right: 1px dashed var(--app-blue-color);
}

@media (max-width: 767px) {
    .user-dashboard-container .user-setting-section1 .profile-picture-section {
        border-right: none;
    }
}

.user-dashboard-container .user-setting-section1 .icon-rounded-container {
    height: 35px;
    width: 35px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.user-dashboard-container .user-setting-section1 .pv-gpv-container {
    border-left: 4px solid var(--app-blue-color);
    box-sizing: border-box;
}

.user-setting-section2 .nav,
.admin-dashboard-section4 .nav {
    padding: 0;
}

.user-setting-section2 .nav .nav-link,
.admin-dashboard-section4 .nav .nav-link {
    width: 100%;
}

.user-setting-section2 .nav .nav-link:not(:last-child),
.admin-dashboard-section4 .nav .nav-link:not(:last-child) {
    margin: 20px 0px;
}

.user-setting-section2 .nav .nav-link:hover,
.admin-dashboard-section4 .nav .nav-link:hover {
    color: var(--app-black-color) !important;
    border: none !important;
}

.user-setting-section2 .nav .nav-link.active,
.admin-dashboard-section4 .nav .nav-link.active {
    background-color: var(--bs-white);
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    padding: 10px 20px;
    color: var(--app-black-color) !important;
    border: none !important;
}

/*** ADMIN DASHBOARD STYLE ***/

.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom #income-list .income-list-price-item,
.admin-dashboard-container .admin-dashboard-section3 .income-container .income-container-bottom #commission-list .commission-list-price-item {
    width: 60px;
}

.admin-dashboard-container .admin-dashboard-section3 .transactions-container .transaction-item .icon-container {
    height: 25px;
    width: 25px;
    background-color: var(--app-blue-variant1-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--app-white-color);
    font-size: 14px;
    border-radius: 50%;
}

/*** ADMIN DASHBOARD STYLE ***/

/***E-COMMERCE WEBSITE STYLE***/

/**INDEX STYLE***/
.hero-slider-container .hero-slider-item {
    height: 450px;
}

.circle-60 {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-content: center;
    justify-content: center;
}

.expertise-section .expertise-image-container {
    height: 370px;
}

.expertise-section .expertise-image-container img {
    height: 370px;
    object-fit: scale-down;
}

@media (max-width: 992px) {
    .expertise-section .expertise-image-container {
        height: 300px;
    }

    .expertise-section .expertise-image-container img {
        height: 300px;
        width: 100%;
        object-fit: cover;
    }
}

@media (max-width: 479px) {
    .expertise-section .expertise-image-container {
        height: 270px;
    }

    .expertise-section .expertise-image-container img {
        height: 270px;
        width: 100%;
        object-fit: cover;
    }
}

/**DAY OFFER**/

.product {
    border: 1.5px solid var(--app-blue-variant3-color);
    border-radius: 15px;
    padding: 10px;
}

.product .product-image,
.other-product .product-image {
    height: 180px;
    width: 180px;
    border: 1.5px solid var(--app-blue-variant3-color);
    border-radius: 15px;
    box-sizing: border-box;
}

.product .product-image img,
.other-product .product-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: scale-down;
    border: 1.5px solid var(--app-blue-variant3-color);
    border-radius: 15px;
    box-sizing: border-box;
    transition: all 0.5s ease-in-out;
}

.product .product-image img.hover-image,
.other-product .product-image img.hover-image {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    opacity: 0;
}

.product:hover .product-image img:not(:last-child),
.other-product:hover .product-image img:not(:last-child) {
    opacity: 0;
}

.product:hover .product-image img.hover-image,
.other-product:hover .product-image img.hover-image {
    opacity: 1;
}

.product .product-image .btn-add-wishlist-container {
    position: absolute;
    right: 5px;
    top: 5px;
}

.product .product-image .btn-add-wishlist {
    padding: 5px;
    transition: all 0.5s ease-in-out;
}

.product .product-image .btn-add-wishlist:hover {
    opacity: 0.5;
}

.product .product-image .btn-add-to-cart {
    padding: 5px;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--app-blue-variant3-color);
    border-radius: 50%;
    background-color: var(--app-white-variant2-color);
    transition: all 0.5s ease-in-out;
}

.product .product-image .new-badge,
.product .product-image .best-seller-badge,
.product .product-image .promo-badge {
    border-top-left-radius: 15px;
    border-bottom-right-radius: 15px;
    padding: 2.5px 10px !important;
}

.product .product-image .promo-badge {
    transform: rotate(-30deg);
    top: 12.5px;
}

.product .product-image .btn-add-to-cart:hover {
    background-color: var(--app-blue-variant2-color);
}

.blog-container {
    background-color: #fffcf3;
}

.subcribe-newsletter-container {
    height: 300px;
}

.subcribe-newsletter-container #subscribe-newsletter-email {
    height: 40px;
    border-radius: 25px;
    padding-left: 30px;
    padding-right: 105px;
    background-color: var(--bs-gray-200);
}

.subcribe-newsletter-container .send-outline-icon-container {
    position: absolute;
    top: 0;
    left: 5px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.subcribe-newsletter-container .btn-subscribe-newsletter {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 100px;
    box-sizing: border-box;
    border-radius: 25px;
}

@media (max-width: 479px) {
    .subcribe-newsletter-container .w-75 {
        width: 100% !important;
    }
}

/***PRODUCT LIST PAGE STYLE***/

.category-list-container ul li:not(:last-child) {
    margin-bottom: 10px;
}

.price-filter-container .noUi-horizontal {
    height: 5px;
}

.price-filter-container .noUi-target {
    background-color: var(--bs-gray-300);
    border: none;
    border-radius: 5px;
}

.price-filter-container .noUi-horizontal .noUi-handle {
    width: 15px;
    height: 15px;
    border: none;
    border-radius: 50%;
    background-color: var(--app-blue-color);
    top: -5px;
    right: -8px;
    box-shadow: none;
}

.price-filter-container .noUi-horizontal .noUi-handle::before,
.price-filter-container .noUi-horizontal .noUi-handle::after {
    display: none;
}

.price-filter-container .noUi-connect {
    background-color: var(--app-blue-color);
}

.other-product .product-image {
    height: 127px;
    width: 127px;
}

.other-product .product-image img {
    height: 127px;
    object-fit: scale-down;
}

/***PRODUCT DETAIL PAGE STYLE***/
.img-responsive {
    max-width: 100%;
    display: block;
}

.zoom-top .swiper-slide {
    border-radius: 15px;
    border: 2px solid var(--bs-gray-200);
    padding: 3px;
    overflow: hidden;
}

.zoom-top .swiper-slide::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background-color: #000;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease 0s;
}

.zoom-top .swiper-slide .full-preview {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    font-size: 24px;
    color: #ffffff;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--app-blue-color);
    transition: all 0.3s ease 0s;
    margin-top: -30px;
    margin-left: -30px;
    transform: scale(0);
    transition-delay: 0.01s;
    opacity: 0;
    border-radius: 5px;
}

.zoom-top .swiper-slide:hover .full-preview {
    transform: scale(1);
    opacity: 1;
}

.zoom-top .swiper-slide:hover::before {
    opacity: 0.4;
    transform: scale(1);
}

.zoom-thumbs {
    width: 70%;
    margin: 18px auto 0px auto;
}

.zoom-thumbs .swiper-slide img {
    transition: all 0.3s ease 0s;
    border: 2px solid var(--bs-gray-200);
    border-radius: 10px;
}

.zoom-thumbs .swiper-slide:hover img,
.zoom-thumbs .swiper-slide.swiper-slide-thumb-active img {
    border-color: var(--app-blue-color);
}

.zoom-thumbs .swiper-slide .img-responsive {
    width: auto;
}

.action-buttons-container .cart-plus-minus {
    border: 1px solid #ebebeb;
    display: inline-block;
    height: 50px;
    overflow: hidden;
    padding: 0;
    position: relative;
    width: 80px;
    background: var(--app-white-color);
    border-radius: 5px;
}

.action-buttons-container .cart-plus-minus .qtybutton {
    color: var(--app-black-color);
    cursor: pointer;
    float: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 20px;
    margin: 0;
    position: absolute;
    text-align: center;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    width: 30px;
}

.action-buttons-container .cart-plus-minus input.cart-plus-minus-box {
    background: transparent none repeat scroll 0 0;
    border: medium none;
    color: var(--app-black-color);
    float: left;
    font-size: 14px;
    height: 50px;
    margin: 0;
    padding: 0;
    text-align: center;
    width: 80px;
    outline: none;
}

.action-buttons-container .cart-plus-minus .inc.qtybutton {
    height: 50px;
    right: 0;
    top: 0;
}

.action-buttons-container .cart-plus-minus .dec.qtybutton {
    height: 50px;
    left: 0;
    top: 0;
}

.action-buttons-container button {
    height: 50px;
}

.description-review-container {
    border: 2px solid var(--bs-gray-200);
}

.description-review-container .nav.nav-tabs {
    border-bottom: 2px solid var(--bs-gray-200);
    margin: 0;
    padding: 0;
}

.description-review-container .nav.nav-tabs .nav-link:hover,
.description-review-container .nav.nav-tabs .nav-link.active {
    border-width: 2px;
}

.description-review-container .ratting-form-wrapper .ratting-form .rating-product {
    cursor: pointer;
}

.description-review-container-bottom #product-description div {
    text-align: justify !important;
}

/******CART******/

.cart-main-area .table-content table,
#exampleModal-Order table {
    border: 1px solid var(--app-blue-variant3-color);
    width: 100%;
}

.cart-main-area .table-content table thead>tr,
#exampleModal-Order table thead>tr {
    background-color: var(--app-blue-variant3-color) !important;
    border: 1px solid var(--app-blue-variant3-color) !important;
}

.cart-main-area .table-content table thead>tr>th,
#exampleModal-Order table thead>tr>th {
    border-top: medium none;
    color: var(--app-black-color);
    font-weight: 600;
    padding: 11px 45px 12px;
    text-align: center;
    text-transform: uppercase;
    vertical-align: middle;
    white-space: nowrap;
}

.cart-main-area .table-content table tbody>tr,
#exampleModal-Order table tbody>tr {
    background-color: var(--app-blue-variant5-color) !important;
    border-bottom: 1px solid var(--app-blue-variant3-color);
}

.cart-main-area .table-content table tbody>tr td,
#exampleModal-Order table tbody>tr td {
    color: var(--app-black-color);
    padding: 10px 0;
    text-align: center;
}

.cart-main-area .table-content table tbody>tr td.product-thumbnail {
    width: 100px;
}

.cart-main-area .table-content table tbody>tr td.product-thumbnail a img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
}

.cart-main-area .table-content table tbody>tr td.product-name,
#exampleModal-Order table tbody>tr td.product-name {
    width: 500px;
    text-align: justify;
    padding-left: 15px;
}

.cart-main-area .table-content table tbody>tr td.product-name a,
#exampleModal-Order table tbody>tr td.product-name a {
    color: var(--app-black-color);
    font-weight: 400;
    line-height: 20px;
    display: inline-block;
}

.cart-main-area .table-content table tbody>tr td.product-quantity .cart-plus-minus {
    display: inline-block;
    height: 35px;
    padding: 0;
    position: relative;
    width: 70px;
}

.cart-main-area .table-content table tbody>tr td.product-quantity .cart-plus-minus .dec.qtybutton {
    height: 35px;
    left: 0;
    top: 0;
}

.cart-main-area .table-content table tbody>tr td.product-quantity .cart-plus-minus .inc.qtybutton {
    height: 35px;
    right: 0;
    top: 0;
}

.cart-main-area .table-content table tbody>tr td.product-quantity .cart-plus-minus .qtybutton {
    color: var(--app-black-color);
    cursor: pointer;
    float: inherit;
    margin: 0;
    position: absolute;
    transition: all 0.3s ease 0s;
    width: 20px;
    text-align: center;
}

.cart-main-area .table-content table tbody>tr td.product-quantity .cart-plus-minus input.cart-plus-minus-box {
    color: var(--app-black-color);
    float: left;
    height: 35px;
    margin: 0;
    width: 70px;
    border: 1px solid var(--app-blue-variant3-color);
    border-radius: 2.5px;
    padding: 0;
    text-align: center;
}

.cart-main-area .table-content table tbody>tr td.product-remove {
    width: 100px;
}

.cart-main-area .table-content table tbody>tr td.product-remove a {
    color: var(--app-black-color);
    margin: 0 10px;
}

.cart-main-area .table-content table tbody>tr td.product-remove .update-cart:hover,
.cart-main-area .table-content table tbody>tr td.product-remove a.add-cart:hover {
    color: var(--app-blue-color);
}

.cart-main-area .table-content table tbody>tr td.product-remove .remove:hover {
    color: var(--app-red-color);
}

.cart-main-area .table-content table tbody>tr td.product-wishlist-cart>a {
    background-color: var(--app-blue-color);
    border-radius: 0px;
    color: var(--app-white-color);
    font-weight: 600;
    line-height: 1;
    padding: 10px 12px;
    text-transform: uppercase;
}

.cart-main-area .table-content table tbody>tr td.product-wishlist-cart>a:hover {
    background-color: var(--app-black-color);
}

@media (min-width: 768px) and (max-width: 991px) {
    .cart-main-area .table-content table tbody>tr td.product-thumbnail {
        height: 50px;
        width: 50px;
    }

    .cart-main-area .table-content table tbody>tr td.product-thumbnail a img {
        max-width: max-content !important;
        width: 50px !important;
        height: 50px;
    }
}

/* ════════════════════════════════════════════════════════════════
   PANIER — version MOBILE : chaque ligne devient une carte moderne
   (desktop inchangé : on garde le tableau). Markup intact (JS Stimulus).
════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
    .cart-main-area .table-content,
    .cart-main-area .cart-table-content { overflow: visible !important; }
    .cart-main-area .table-content table,
    .cart-main-area .table-content table tbody { display: block !important; width: 100% !important; max-width: 100%; }
    .cart-main-area .table-content table thead { display: none !important; }

    /* Léger espace entre le grand cadre (bordure du tableau) et les cartes */
    .cart-main-area .table-content table { padding: 10px !important; border-radius: 20px; box-sizing: border-box; }
    .cart-main-area .table-content table tbody > tr:last-child { margin-bottom: 0 !important; }

    /* Carte */
    .cart-main-area .table-content table tbody > tr {
        display: grid !important;
        grid-template-columns: 56px minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name   remove"
            "thumb pv     price"
            "qty   qty    subtotal";
        gap: 9px 12px;
        align-items: center;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        background: var(--surface-card) !important;
        border: 1px solid var(--border-color) !important;
        border-radius: 18px;
        padding: 14px 16px;
        margin-bottom: 14px;
        box-shadow: var(--shadow-card);
    }

    /* Reset des largeurs/alignements hérités du tableau (cause des débordements) */
    .cart-main-area .table-content table tbody > tr td {
        display: flex; align-items: center;
        width: auto !important; min-width: 0; max-width: 100%;
        padding: 0 !important; border: none !important; text-align: left !important;
        font-size: .9rem; color: var(--text-primary); overflow: hidden;
    }

    /* Vignette (1re colonne, sur 2 rangées) */
    .cart-main-area .table-content table tbody > tr td.product-thumbnail { grid-area: thumb; width: 56px !important; height: 56px; }
    .cart-main-area .table-content table tbody > tr td.product-thumbnail a,
    .cart-main-area .table-content table tbody > tr td.product-thumbnail a img {
        width: 56px !important; height: 56px !important; max-width: 56px !important;
        border-radius: 12px; object-fit: cover; margin: 0 !important;
    }

    /* Nom — une ligne avec ellipsis */
    .cart-main-area .table-content table tbody > tr td.product-name { grid-area: name; }
    .cart-main-area .table-content table tbody > tr td.product-name a {
        display: block; width: 100%; min-width: 0;
        color: var(--text-primary); font-weight: 700; font-size: .9rem; line-height: 1.3;
        white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    }

    /* PV / Prix unitaire — libellés discrets */
    .cart-main-area .table-content table tbody > tr td.product-pv { grid-area: pv; white-space: nowrap; }
    .cart-main-area .table-content table tbody > tr td.product-price-cart { grid-area: price; justify-content: flex-end; white-space: nowrap; }
    .cart-main-area .table-content table tbody > tr td.product-pv::before { content: 'PV'; }
    .cart-main-area .table-content table tbody > tr td.product-price-cart::before { content: 'Prix'; }
    .cart-main-area .table-content table tbody > tr td.product-pv::before,
    .cart-main-area .table-content table tbody > tr td.product-price-cart::before {
        font-size: .64rem; text-transform: uppercase; letter-spacing: .05em;
        color: var(--text-secondary); font-weight: 700; margin-right: 6px;
    }

    /* Sous-total — mis en avant */
    .cart-main-area .table-content table tbody > tr td.product-subtotal {
        grid-area: subtotal; justify-content: flex-end; white-space: nowrap;
        font-weight: 800; font-size: .98rem; color: var(--app-blue-color);
    }
    .cart-main-area .table-content table tbody > tr td.product-subtotal::before {
        content: 'Total'; font-size: .64rem; text-transform: uppercase; letter-spacing: .05em;
        color: var(--text-secondary); font-weight: 700; margin-right: 6px;
    }

    /* Quantité (bas gauche, sur 2 colonnes) */
    .cart-main-area .table-content table tbody > tr td.product-quantity { grid-area: qty; }
    .cart-main-area .table-content table tbody > tr td.product-quantity .cart-plus-minus { margin: 0; }

    /* Actions (haut droite) : modifier + supprimer — compacts */
    .cart-main-area .table-content table tbody > tr td.product-remove { grid-area: remove; justify-content: flex-end; }
    .cart-main-area .table-content table tbody > tr td.product-remove > div { gap: 2px; justify-content: flex-end !important; }
    .cart-main-area .table-content table tbody > tr td.product-remove .btn { padding: 4px; width: auto !important; min-width: 0; }

    /* Barre d'actions du panier : boutons pleine largeur */
    .cart-shiping-update .btn,
    .confirm-order .btn { width: 100%; }
    .confirm-order { margin-top: 6px; }
}

/***CONTACT PAGE STYLE***/

@media (max-width: 767px) {
    .contact-info-container {
        height: auto !important;
    }
}

.gmap_canvas {
    line-height: 0;
}

.gmap_canvas iframe {
    overflow: hidden;
    background: none !important;
    height: 450px;
    width: 100%;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .gmap_canvas iframe {
        height: 400px;
    }
}

@media only screen and (max-width: 767px) {
    .gmap_canvas iframe {
        height: 350px;
    }
}

/***ADD TO CART MODAL STYLE***/
#add-cart-modal .modal-dialog,
#add-favorite-modal .modal-dialog {
    margin: 0% auto;
    max-width: 960px;
    width: 960px;
    padding: 35px;
    transition: all 0.3s ease 0s;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {

    #add-cart-modal .modal-dialog,
    #add-favorite-modal .modal-dialog {
        max-width: 720px;
        width: 720px;
    }
}

@media only screen and (max-width: 767px) {

    #add-cart-modal .modal-dialog,
    #add-favorite-modal .modal-dialog {
        width: 98%;
        max-width: 100%;
        padding: 35px 0;
    }
}

.modal.customize-class .modal-dialog {
    max-width: 500px;
}

.modal.customize-class .modal-dialog .modal-body {
    padding: 30px 0;
}

.modal.customize-class .modal-dialog .modal-body .tt-modal-messages {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    color: #000;
    line-height: 1;
}

.modal.customize-class .modal-dialog .modal-body .tt-modal-messages i {
    font-size: 20px;
    color: #000;
    margin-right: 10px;
}

.modal.customize-class .modal-dialog .modal-body .tt-img img {
    max-width: 220px;
}

.modal.customize-class .modal-dialog .modal-body .tt-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.modal.customize-class .modal-dialog .modal-body .tt-title a {
    color: #000000;
}

.modal.customize-class .modal-dialog .modal-body .tt-title a:hover {
    color: var(--app-blue-color);
}

#add-cart-modal .modal-dialog .btn-close,
#add-favorite-modal .modal-dialog .btn-close {
    position: absolute;
    top: 0;
    right: -35px;
    color: #fff;
    border: 1px solid var(--app-blue-color);
    padding: 0px;
    outline: none;
    background-color: var(--app-blue-color);
    font-size: 24px;
    border-radius: 5px;
    background-image: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    opacity: 1;
    z-index: 999999;
}

@media only screen and (max-width: 767px) {

    #add-cart-modal .modal-dialog .btn-close,
    #add-favorite-modal .modal-dialog .btn-close {
        width: 30px;
        height: 30px;
        right: 0;
        font-size: 18px;
    }
}

/***PROMOTION PAGE STYLE***/
.promotion-date-countdown-container .promotion-date-countdown {
    /* height: 250px; */
    background: var(--app-blue-color);
}

/*** BLOG PAGE STYLE ***/
.blog-category-list-container ul li {
    border: 1px solid var(--bs-gray-300);
    padding: 5px;
    border-radius: 10px;
}

.blog-category-list-container ul li:not(:last-child) {
    margin-bottom: 10px;
}

.blog-category-list-container ul li span.item-count {
    background-color: var(--app-blue-variant4-color);
    width: 25px;
    height: 25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.blog-category-list-container ul li img.blog-category-image {
    width: 25px;
    height: 25px;
    object-fit: cover;
}

.blog-tendancy-container .col:not(:last-child) {
    border-bottom: 1px solid var(--bs-gray-400);
}

.blog-tendancy-container .tendancy-product-image,
.blog-galery-container .galery-product-image {
    height: 90px;
    width: 90px;
    background-color: var(--app-blue-variant4-color);
    border-radius: 5px;
}

.blog-tendancy-container .tendancy-product-image img,
.blog-galery-container .galery-product-image img {
    height: 90px;
    max-width: 100%;
    width: 100%;
    object-fit: scale-down;
}

.blog-galery-container .galery-product-image {
    height: 50px;
    width: 50px;
}

.blog-galery-container .galery-product-image img {
    height: 50px;
}

/*** ABOUT PAGE STYLE ***/
.about-section6 .team-image {
    height: 320px;
}

.about-section6 .team-image img {
    max-width: 100%;
    width: 100%;
    height: 320px;
    object-fit: cover;
}
/* ── Chat widget IA vendeur ─────────────────────────────── */
.chat-widget {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1050;
}

.chat-widget__toggle {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.chat-widget__badge {
    position: absolute;
    top: 0;
    right: 0;
    font-size: .6rem;
}

.chat-widget__panel {
    position: absolute;
    bottom: calc(100% + .75rem);
    right: 0;
    width: 340px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    border-radius: .75rem;
    overflow: hidden;
}

.chat-widget__messages {
    flex: 1;
    max-height: 320px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.chat-bubble {
    max-width: 80%;
    padding: .5rem .75rem;
    border-radius: 1rem;
    font-size: .85rem;
    line-height: 1.4;
    word-break: break-word;
}

.chat-bubble--user {
    align-self: flex-end;
    background: var(--app-blue-color);
    color: #fff;
    border-bottom-right-radius: .25rem;
}

.chat-bubble--assistant {
    align-self: flex-start;
    background: #f0f4f8;
    color: #1a1a2e;
    border-bottom-left-radius: .25rem;
}

.chat-typing span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #888;
    animation: chatBounce .9s infinite;
    margin: 0 2px;
}

.chat-typing span:nth-child(2) { animation-delay: .15s; }
.chat-typing span:nth-child(3) { animation-delay: .3s; }

@keyframes chatBounce {
    0%, 80%, 100% { transform: translateY(0); }
    40%           { transform: translateY(-6px); }
}

@media (max-width: 480px) {
    .chat-widget__panel { width: calc(100vw - 2rem); right: -1rem; }
}

/* ============================================================
   HELPERS HOMEPAGE
   ============================================================ */
.min-vh-hero {
    min-height: 84vh;
}

@media (max-width: 991px) {
    .min-vh-hero { min-height: auto; padding: 5rem 0; }
}

.bg-body {
    background-color: var(--surface-bg);
}

[data-bs-theme="dark"] .bg-body {
    background-color: var(--surface-bg) !important;
}

/* ============================================================
   THEME TRANSITION — smooth switch light/dark
   ============================================================ */
body,
.navbar,
.card,
.offcanvas,
.modal-content,
.dropdown-menu,
.footer {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* ============================================================
   DARK MODE — component overrides
   ============================================================ */
[data-bs-theme="dark"] body {
    background-color: var(--surface-bg);
    color: var(--text-primary);
}

[data-bs-theme="dark"] .navbar {
    background-color: transparent !important;
}

/* Navbar : couleurs gérées par les tokens --nav-* (voir blocs :root / [data-bs-theme]) */

[data-bs-theme="dark"] .bg-app-black,
[data-bs-theme="dark"] .container-fluid.bg-app-black {
    background-color: var(--surface-nav-top) !important;
}

[data-bs-theme="dark"] .bg-app-blue-variant4 {
    background-color: var(--app-blue-variant4-color) !important;
    border: 1px solid var(--glass-border);
}

[data-bs-theme="dark"] .bg-white,
[data-bs-theme="dark"] .card {
    background-color: var(--surface-card) !important;
    border-color: var(--border-color) !important;
}

[data-bs-theme="dark"] .card-title,
[data-bs-theme="dark"] .card-text,
[data-bs-theme="dark"] h1, [data-bs-theme="dark"] h2,
[data-bs-theme="dark"] h3, [data-bs-theme="dark"] h4,
[data-bs-theme="dark"] h5, [data-bs-theme="dark"] h6,
[data-bs-theme="dark"] .h1, [data-bs-theme="dark"] .h2,
[data-bs-theme="dark"] .h3, [data-bs-theme="dark"] .h4,
[data-bs-theme="dark"] .h5, [data-bs-theme="dark"] .h6 {
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .text-secondary {
    color: var(--text-secondary) !important;
}

[data-bs-theme="dark"] .text-center.d-block,
[data-bs-theme="dark"] span:not([class*="text-app-"]):not(.badge) {
    color: var(--text-secondary);
}

[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
    background-color: rgba(0, 62, 205, 0.1) !important;
    border-color: rgba(0, 62, 205, 0.3) !important;
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .offcanvas {
    background-color: var(--surface-card) !important;
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .offcanvas .offcanvas-header .offcanvas-close::after,
[data-bs-theme="dark"] .offcanvas .offcanvas-header .offcanvas-close::before {
    background-color: var(--text-primary);
}

[data-bs-theme="dark"] .dropdown-menu {
    background-color: var(--surface-card) !important;
    border-color: var(--border-color) !important;
}

[data-bs-theme="dark"] .dropdown-item {
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .dropdown-item:hover {
    background-color: var(--app-blue-variant4-color) !important;
}

[data-bs-theme="dark"] .modal-content {
    background-color: var(--surface-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-bs-theme="dark"] .minicart-product-list li {
    border-bottom-color: var(--border-color);
}

[data-bs-theme="dark"] .minicart-product-list li .content .title {
    color: var(--text-primary);
}

[data-bs-theme="dark"] .footer {
    background: #001a3d !important;
    border-top-color: rgba(253, 253, 255, 0.08) !important;
}

[data-bs-theme="dark"] .footer .about-text,
[data-bs-theme="dark"] .footer ul.list-unstyled li {
    color: rgba(255, 255, 255, 0.45) !important;
}

[data-bs-theme="dark"] .footer .footer-links ul li a {
    color: rgba(255, 255, 255, 0.45) !important;
}

[data-bs-theme="dark"] .footer .footer-links ul li a:hover {
    color: rgba(255, 255, 255, 0.85) !important;
}

[data-bs-theme="dark"] .footer .footer-bottom-text {
    color: rgba(255, 255, 255, 0.3) !important;
}

[data-bs-theme="dark"] .footer .custom-divider {
    background: rgba(255, 255, 255, 0.05) !important;
}

[data-bs-theme="dark"] .chat-bubble--assistant {
    background: #002a62;
    color: #e2e8f0;
}

/* ============================================================
   DARK MODE TOGGLE BUTTON
   ============================================================ */
.theme-toggle-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--nav-icon);
    transition: background 0.3s ease;
    padding: 0;
}

.theme-toggle-btn:hover {
    background: var(--nav-icon-hover-bg);
}

.theme-toggle-btn .icon-sun,
.theme-toggle-btn .icon-moon {
    position: absolute;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle-btn .icon-sun { opacity: 0; transform: rotate(90deg) scale(0.7); }
.theme-toggle-btn .icon-moon { opacity: 1; transform: rotate(0deg) scale(1); }

[data-bs-theme="dark"] .theme-toggle-btn .icon-sun { opacity: 1; transform: rotate(0deg) scale(1); }
[data-bs-theme="dark"] .theme-toggle-btn .icon-moon { opacity: 0; transform: rotate(-90deg) scale(0.7); }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.92);
}

.reveal.revealed {
    opacity: 1 !important;
    transform: none !important;
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================================
   NAVBAR MODERN — glassmorphism on scroll
   ============================================================ */
/* Le flou est limité au dock (.navbar-top-strip) ; pas de flou sur toute la barre. */


/* ============================================================
   HERO GRADIENT SECTION
   ============================================================ */
.hero-carousel-section {
    position: relative;
    /* Le hero remonte sous la navbar fixe : son fond remplit le haut,
       plus de bande blanche visible derrière le dock au scroll. */
    margin-top: -80px;
}

.hero-swiper {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    /* Compense la remontée : le contenu reste dégagé sous la navbar */
    padding-top: 80px;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 575px) {
    .hero-carousel-section { margin-top: -68px; }
    .hero-slide { padding-top: 68px; }
}

/* Fonds SVG par slide — variantes light & dark dédiées */
.hero-slide--blue   { background-image: url('/assets/images/hero/hero-slide-1.svg'); }
.hero-slide--green  { background-image: url('/assets/images/hero/hero-slide-2.svg'); }
.hero-slide--orange { background-image: url('/assets/images/hero/hero-slide-3.svg'); }
[data-bs-theme="dark"] .hero-slide--blue   { background-image: url('/assets/images/hero/hero-slide-1-dark.svg'); }
[data-bs-theme="dark"] .hero-slide--green  { background-image: url('/assets/images/hero/hero-slide-2-dark.svg'); }
[data-bs-theme="dark"] .hero-slide--orange { background-image: url('/assets/images/hero/hero-slide-3-dark.svg'); }

.hero-slide-content {
    padding: 2.5rem 0;
}

/* Badge / chip */
.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 62, 205, 0.18);
    color: var(--app-blue-color);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    backdrop-filter: blur(6px);
}

.hero-chip::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--app-blue-color);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
    font-size: clamp(1.75rem, 3.6vw, 2.6rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--app-dark-blue-color);
    margin-bottom: 1.1rem;
    max-width: 600px;
}

.hero-headline .hero-accent {
    background: var(--app-blue-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-lead {
    font-size: 0.92rem;
    color: rgba(0, 28, 55, 0.62);
    max-width: 500px;
    line-height: 1.7;
    margin-bottom: 1.9rem;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.btn-hero-primary {
    background: var(--btn-blue);
    color: #ffffff !important;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 50px;
    border: none !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 62, 205, 0.30);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 62, 205, 0.42) !important;
    background: var(--btn-blue-hover) !important;
    color: #ffffff !important;
}

.btn-hero-ghost {
    background: rgba(255, 255, 255, 0.65) !important;
    color: var(--app-dark-blue-color) !important;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid rgba(0, 28, 55, 0.15) !important;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
}

.btn-hero-ghost:hover {
    background: #ffffff !important;
    border-color: rgba(0, 28, 55, 0.3) !important;
    transform: translateY(-2px);
}

/* Visuel produit */
.hero-slide-visual {
    position: relative;
    padding: 2rem 0;
}

.hero-product-frame {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 340px;
    height: 340px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 60px -25px rgba(0, 28, 55, 0.35);
    backdrop-filter: blur(10px);
    text-decoration: none;
    animation: heroFloat 5s ease-in-out infinite alternate;
}

@keyframes heroFloat {
    0%   { transform: translateY(0); }
    100% { transform: translateY(-16px); }
}

.hero-product-img {
    position: relative;
    z-index: 1;
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(0, 28, 55, 0.18));
}

.hero-product-frame--empty {
    color: rgba(0, 62, 205, 0.4);
}

.hero-product-tag {
    position: absolute;
    z-index: 3;
    top: 18px;
    left: 18px;
    max-width: calc(100% - 36px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: #ffffff;
    color: var(--app-blue-color);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 50px;
    box-shadow: 0 6px 16px rgba(0, 28, 55, 0.12);
}

.hero-product-price {
    position: absolute;
    z-index: 3;
    bottom: 18px;
    right: 18px;
    background: var(--btn-blue);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 800;
    padding: 7px 16px;
    border-radius: 50px;
    border: 1px solid rgba(255, 188, 0, 0.6);
    box-shadow: 0 8px 18px rgba(0, 62, 205, 0.35);
}

/* Thèmes par slide */
.hero-slide--green .hero-chip {
    color: #0c9b63;
    border-color: rgba(12, 155, 99, 0.22);
}
.hero-slide--green .hero-chip::before { background: #0c9b63; }
.hero-slide--green .hero-headline .hero-accent {
    background: #00d11c;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-slide--green .hero-product-tag { color: #0c9b63; }

.hero-slide--orange .hero-chip {
    color: #cc8a00;
    border-color: rgba(255, 188, 0, 0.25);
}
.hero-slide--orange .hero-chip::before { background: #ffbc00; }
.hero-slide--orange .hero-headline .hero-accent {
    background: var(--app-yellow-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-slide--orange .hero-product-tag { color: #cc8a00; }

/* Contrôles Swiper */
.hero-swiper-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    color: var(--app-dark-blue-color);
    box-shadow: 0 8px 22px rgba(0, 28, 55, 0.16);
    cursor: pointer;
    transition: background 0.25s, transform 0.25s;
    backdrop-filter: blur(6px);
}

.hero-swiper-btn:hover { background: #ffffff; }
.hero-swiper-prev { left: 18px; }
.hero-swiper-next { right: 18px; }
.hero-swiper-btn.swiper-button-disabled { opacity: 0.35; cursor: default; }

.hero-swiper-pagination {
    position: absolute;
    bottom: 18px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.hero-swiper-pagination .swiper-pagination-bullet {
    width: 9px;
    height: 9px;
    background: var(--app-blue-color);
    opacity: 0.3;
    border-radius: 50px;
    transition: width 0.25s, opacity 0.25s;
}

.hero-swiper-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    width: 26px;
}

[data-bs-theme="dark"] .hero-swiper-pagination .swiper-pagination-bullet {
    background: #d4def5;
}

/* ── Hero — adaptation dark mode (texte clair sur fonds nuit) ── */
[data-bs-theme="dark"] .hero-headline { color: #f1f5f9; }
[data-bs-theme="dark"] .hero-lead { color: rgba(226, 232, 240, 0.72); }
[data-bs-theme="dark"] .hero-chip {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    color: #e2e8f0;
}
[data-bs-theme="dark"] .hero-chip::before { background: #e2e8f0; }

[data-bs-theme="dark"] .hero-slide--blue .hero-chip { color: #9ec5f5; border-color: rgba(125, 178, 245, 0.30); }
[data-bs-theme="dark"] .hero-slide--blue .hero-chip::before { background: #6f9bff; }
[data-bs-theme="dark"] .hero-slide--blue .hero-headline .hero-accent {
    background: var(--app-blue-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .hero-slide--green .hero-chip { color: #6fe3b3; border-color: rgba(111, 227, 179, 0.30); }
[data-bs-theme="dark"] .hero-slide--green .hero-chip::before { background: #4fd99a; }
[data-bs-theme="dark"] .hero-slide--green .hero-headline .hero-accent {
    background: #00d11c;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-bs-theme="dark"] .hero-slide--orange .hero-chip { color: #ffbd7a; border-color: rgba(255, 169, 85, 0.32); }
[data-bs-theme="dark"] .hero-slide--orange .hero-chip::before { background: #ffbc00; }
[data-bs-theme="dark"] .hero-slide--orange .hero-headline .hero-accent {
    background: var(--app-yellow-color);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bouton secondaire & cadre produit en dark */
[data-bs-theme="dark"] .btn-hero-ghost {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
}
[data-bs-theme="dark"] .btn-hero-ghost:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.30) !important;
}
[data-bs-theme="dark"] .hero-swiper-btn {
    background: rgba(30, 41, 59, 0.85);
    color: #e2e8f0;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}
[data-bs-theme="dark"] .hero-swiper-btn:hover { background: #002a62; }
[data-bs-theme="dark"] .hero-product-frame {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.14);
    box-shadow: 0 30px 60px -25px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   FEATURE CARDS — "Pourquoi nous choisir"
   ============================================================ */
.feature-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--app-blue-color);
    background: var(--app-blue-variant4-color);
    border: 1px solid var(--app-blue-variant3-color);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(1.3rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 0.6rem;
}

.section-subtitle {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.7;
}

.feature-card {
    background: var(--surface-card);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 28px 24px;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
                box-shadow 0.35s ease,
                border-color 0.35s ease;
    cursor: default;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0, 62, 205, 0.3);
}

.feature-card .feature-icon {
    width: 54px;
    height: 54px;
    background: var(--app-blue-color);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.08) rotate(-3deg);
}

.feature-card .feature-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.feature-card .feature-text {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   EXPERTISE SECTION
   ============================================================ */
.expertise-section-modern {
    background: #002a62;
    border-radius: 24px;
    overflow: hidden;
    padding: 56px 52px;
    position: relative;
    border: 1px solid rgba(255, 188, 0, 0.45);
}

/* Motif grille de points décoratif */
.expertise-section-modern::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

/* Orbe lumineux en haut à droite */
.expertise-section-modern::after {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 380px;
    height: 380px;
    background: transparent;
    pointer-events: none;
}

/* Orbe bleu en bas à gauche */
.expertise-section-modern .expertise-orb-bottom {
    position: absolute;
    bottom: -100px;
    left: -60px;
    width: 300px;
    height: 300px;
    background: transparent;
    pointer-events: none;
    border-radius: 50%;
}

/* Ligne d'accent horizontale en haut */
.expertise-section-modern .expertise-top-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(0, 62, 205, 0.6);
}

/* Carte mini-réalisation (colonne droite) */
.expertise-achievement-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    height: 100%;
}

.expertise-achievement-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 62, 205, 0.4);
    transform: translateY(-3px);
}

.expertise-achievement-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-achievement-icon.icon-yellow {
    background: rgba(0, 62, 205, 0.25);
    border: 1px solid rgba(255, 188, 0, 0.45);
    color: var(--app-yellow-color);
}

.expertise-achievement-icon.icon-blue {
    background: rgba(0, 62, 205, 0.3);
    color: #6f9bff;
}

.expertise-achievement-icon.icon-orange {
    background: rgba(255, 188, 0, 0.2);
    color: var(--app-orange-color);
}

.expertise-achievement-icon.icon-green {
    background: rgba(0, 209, 28, 0.15);
    color: #4ade80;
}

.expertise-achievement-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3px;
    line-height: 1.3;
}

.expertise-achievement-text {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    margin: 0;
}

/* Séparateur entre texte principal et stats */
.expertise-divider {
    width: 100%;
    height: 1px;
    background: rgba(253, 253, 255, 0.12);
    margin: 40px 0;
}

/* Pills de stats */
.expertise-stat-pill {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 22px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: background 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-stat-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--app-yellow-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-stat-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.expertise-stat-pill:hover::before {
    opacity: 1;
}

.expertise-stat-pill .stat-number {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--app-yellow-color);
    line-height: 1;
    margin-bottom: 5px;
    letter-spacing: -0.02em;
}

.expertise-stat-pill .stat-label {
    font-size: 0.76rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    line-height: 1.4;
}

/* ============================================================
   PRODUCTS SECTION
   ============================================================ */
.products-section {
    padding: 72px 0;
}

.section-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-top-bar .view-all-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--app-blue-color);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s ease;
}

.section-top-bar .view-all-link:hover {
    gap: 10px;
    color: var(--app-blue-variant1-color);
}

.product-card-modern {
    background: var(--surface-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.product-card-modern .product-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--app-blue-variant4-color);
    aspect-ratio: 1;
}

.product-card-modern .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.product-card-modern .product-image-wrapper img.main-img {
    opacity: 1;
    z-index: 1;
}

.product-card-modern:hover .product-image-wrapper img.main-img {
    opacity: 0;
    transform: scale(1.05);
}

.product-card-modern .product-image-wrapper img.hover-img {
    opacity: 0;
    z-index: 2;
}

.product-card-modern:hover .product-image-wrapper img.hover-img {
    opacity: 1;
}

.product-card-modern .product-actions {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    display: flex;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 3;
}

.product-card-modern:hover .product-actions {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.product-card-modern .product-action-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface-card);
    border: 1px solid var(--glass-border) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    transition: background 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.product-card-modern .product-action-btn:hover {
    background: var(--btn-blue) !important;
    color: white !important;
    transform: scale(1.1);
}

.product-card-modern .product-body {
    padding: 14px 16px 18px;
}

.product-card-modern .product-category {
    font-size: 0.72rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.product-card-modern .product-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    line-height: 1.3;
}

.product-card-modern .product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.product-card-modern .price-current {
    font-size: 1rem;
    font-weight: 800;
    color: var(--app-red-color);
}

.product-card-modern .price-old {
    font-size: 0.78rem;
    color: var(--text-secondary);
    text-decoration: line-through;
}

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-section {
    padding: 72px 0;
}

.blog-card-modern {
    background: var(--surface-card);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.blog-card-modern .blog-image-wrapper {
    overflow: hidden;
    aspect-ratio: 16/9;
}

.blog-card-modern .blog-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-image-wrapper img {
    transform: scale(1.06);
}

.blog-card-modern .blog-body {
    padding: 18px;
}

.blog-card-modern .blog-meta {
    font-size: 0.75rem;
    color: var(--app-blue-color);
    font-weight: 600;
    margin-bottom: 6px;
}

.blog-card-modern .blog-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
}

.blog-card-modern .blog-excerpt {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.6;
}

.blog-card-modern .blog-read-more {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--app-blue-color);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.25s ease;
}

.blog-card-modern .blog-read-more:hover {
    gap: 10px;
    color: var(--app-blue-variant1-color);
}

/* ============================================================
   NEWSLETTER SECTION
   ============================================================ */
.newsletter-section-modern {
    background: var(--app-blue2-color);
    border-radius: 24px;
    padding: 56px 48px;
    position: relative;
    overflow: hidden;
}

.newsletter-section-modern::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: transparent;
    pointer-events: none;
}

.newsletter-section-modern::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 10%;
    width: 200px;
    height: 200px;
    background: transparent;
    pointer-events: none;
}

@media (max-width: 767px) {
    .newsletter-section-modern { padding: 36px 24px; }
}

.newsletter-section-modern .newsletter-title {
    font-size: clamp(1.15rem, 2.4vw, 1.5rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.newsletter-section-modern .newsletter-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.newsletter-form-modern {
    display: flex;
    gap: 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 4px;
    max-width: 460px;
}

.newsletter-form-modern input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    padding: 10px 20px;
    font-size: 0.88rem;
    outline: none !important;
    box-shadow: none !important;
}

.newsletter-form-modern input::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}

.newsletter-form-modern .btn-newsletter-submit {
    background: var(--btn-blue);
    color: #ffffff !important;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 50px;
    border: none !important;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.newsletter-form-modern .btn-newsletter-submit:hover {
    background: var(--btn-blue-hover);
    box-shadow: 0 4px 16px rgba(0, 62, 205, 0.4) !important;
    transform: scale(1.03);
}

/* ============================================================
   BADGES PRODUITS
   ============================================================ */
.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 3;
    letter-spacing: 0.03em;
}

.product-badge.badge-new {
    background: rgba(0, 62, 205, 0.12);
    color: var(--app-blue-color);
    border: 1px solid rgba(0, 62, 205, 0.22);
    backdrop-filter: blur(4px);
}

.product-badge.badge-promo {
    background: rgba(216, 29, 29, 0.10);
    color: var(--app-red-color);
    border: 1px solid rgba(216, 29, 29, 0.22);
    backdrop-filter: blur(4px);
}

.product-badge.badge-bestseller {
    background: rgba(255, 188, 0, 0.16);
    color: #9a7000;
    border: 1px solid rgba(255, 188, 0, 0.4);
    backdrop-filter: blur(4px);
}

[data-bs-theme="dark"] .product-badge.badge-new {
    background: rgba(125, 178, 245, 0.16);
    color: #9ec5f5;
    border-color: rgba(125, 178, 245, 0.30);
}
[data-bs-theme="dark"] .product-badge.badge-promo {
    background: rgba(248, 113, 113, 0.16);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.30);
}
[data-bs-theme="dark"] .product-badge.badge-bestseller {
    background: rgba(255, 188, 0, 0.16);
    color: #ffbc00;
    border-color: rgba(255, 188, 0, 0.30);
}

/* ============================================================
   STOCK INDICATOR
   ============================================================ */
.stock-indicator {
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.stock-indicator.in-stock { color: var(--app-green-color); }
.stock-indicator.out-of-stock { color: var(--app-red-color); }

/* ============================================================
   RATING STARS
   ============================================================ */
.stars-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin-bottom: 4px;
}

/* ============================================================
   RESPONSIVE — GLOBAL (toutes pages)
   ============================================================ */

/* ── Tablet large / Desktop intermédiaire (≤ 1199px) ── */
@media (max-width: 1199px) {
    .hero-headline { font-size: clamp(1.9rem, 4.5vw, 3rem); }
    .hero-product-frame { width: 300px; height: 300px; }
    .expertise-section-modern { padding: 44px 40px; }
}

/* ── Tablet portrait / paysage (≤ 991px) ── */
@media (max-width: 991px) {

    /* Container principal homepage */
    .container-fluid.px-lg-5 { padding-left: 1rem !important; padding-right: 1rem !important; }

    /* Hero */
    .hero-slide .container { padding-top: 1.25rem !important; padding-bottom: 1.75rem !important; }
    .hero-slide-content { padding: 1.25rem 1.5rem; }
    .hero-headline { max-width: 100%; }
    .hero-lead { max-width: 100%; }
    /* Flèches masquées sur tablette/mobile (swipe tactile) — évite le chevauchement du texte */
    .hero-swiper-btn { display: none; }
    .hero-swiper-pagination { bottom: 12px; }

    /* Navbar top strip — hauteur réduite sur tablette */
    .navbar-top-strip { height: 58px; }
    .navbar-search-btn { font-size: 11px; padding: 0 12px; }

    /* Features */
    .feature-section { padding-top: 0; }

    /* Expertise */
    .expertise-section-modern { padding: 36px 28px; }
    .expertise-divider { margin: 28px 0; }

    /* Products */
    .products-section .section-top-bar { flex-wrap: wrap; gap: 8px; }

    /* Blog */
    .blog-section { padding-top: 0; }

    /* Newsletter */
    .newsletter-section-modern { padding: 40px 28px; }
    .newsletter-form-modern { max-width: 100%; }

    /* Footer — espacement colonnes */
    .footer .container-fluid.pt-3 { padding-top: 1.5rem !important; }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767px) {

    /* Sections spacing */
    .container-fluid.py-5 { padding-top: 2rem !important; padding-bottom: 2rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }

    /* Hero */
    .hero-slide .container { padding-top: 1rem !important; padding-bottom: 1.5rem !important; }
    .hero-slide-content { padding: 1rem 1.25rem; }
    .hero-chip { font-size: 11px; padding: 5px 13px; }
    .hero-cta-group { flex-direction: column; align-items: stretch; gap: 10px; }
    .btn-hero-primary,
    .btn-hero-ghost { text-align: center; justify-content: center; width: 100%; max-width: 300px; }

    /* Section header */
    .section-title { font-size: 1.3rem; }
    .section-subtitle { font-size: 0.85rem; }
    .section-header { margin-bottom: 1.75rem; }

    /* Feature cards */
    .feature-card { padding: 22px 18px; }

    /* Expertise */
    .expertise-section-modern { padding: 28px 20px; border-radius: 16px; }
    .expertise-divider { margin: 24px 0; }
    .expertise-stat-pill { padding: 16px 12px; }
    .expertise-stat-pill .stat-number { font-size: 1.5rem; }
    .expertise-stat-pill .stat-label { font-size: 0.72rem; }
    .expertise-achievement-card { padding: 14px 16px; gap: 12px; }
    .expertise-achievement-icon { width: 36px; height: 36px; min-width: 36px; }

    /* Product cards — sur mobile, toujours afficher les actions (pas de hover) */
    .product-card-modern .product-actions {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }

    /* Blog */
    .blog-card-modern .blog-body { padding: 14px; }
    .blog-card-modern .blog-title { font-size: 0.85rem; }

    /* Newsletter */
    .newsletter-section-modern { padding: 28px 18px; border-radius: 16px; }
    .newsletter-section-modern .newsletter-title { font-size: 1.15rem; }
    .newsletter-form-modern {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 10px;
    }
    .newsletter-form-modern input {
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        border-radius: 50px !important;
        color: #fff !important;
        padding: 11px 20px !important;
    }
    .newsletter-form-modern .btn-newsletter-submit {
        border-radius: 50px !important;
        padding: 11px 24px !important;
        text-align: center;
        justify-content: center;
        width: 100%;
    }

    /* Footer */
    .footer .container-fluid.pt-3 { padding-top: 1.5rem !important; }
    .footer h6 { margin-bottom: 0.75rem; }
    .footer .social-links { margin-top: 0.5rem; }
}

/* ── Navbar : logo centré sur mobile/tablette (burger à gauche, actions à droite) ── */
@media (max-width: 991.98px) {
    .navbar-top-strip { position: relative; }
    .navbar-brand-modern {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        margin: 0;
    }
    /* La zone de gauche ne réserve plus la place du logo (désormais hors-flux) */
    .navbar-lead { gap: 0; }
}

/* ── Petits mobiles (≤ 575px) ── */
@media (max-width: 575px) {

    /* Hero */
    .hero-headline { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }

    /* Navbar dock mobile */
    .navbar-top-strip { height: 56px; padding: 0 12px; border-radius: 16px; }
    .navbar-brand-modern .navbar-logo { max-height: 46px; }

    /* Product cards — 2 colonnes sur très petits écrans mais padding réduit */
    .product-card-modern .product-body { padding: 10px 12px 14px; }
    .product-card-modern .product-name { font-size: 0.78rem; }
    .product-card-modern .price-current { font-size: 0.9rem; }
    .product-card-modern .product-action-btn { width: 32px; height: 32px; }

    /* Feature cards — 1 colonne */
    .feature-card { padding: 20px 16px; }

    /* Expertise stats */
    .expertise-stat-pill { padding: 14px 10px; }
    .expertise-stat-pill .stat-number { font-size: 1.35rem; }

    /* Section header */
    .section-top-bar { flex-direction: column; align-items: flex-start; gap: 6px; }

    /* Blog cards à 1 colonne sur xs - override Bootstrap */
    .blog-section .row { --bs-gutter-x: 1rem; }
}

/* ── Très petits écrans (≤ 400px) ── */
@media (max-width: 400px) {
    .hero-cta-group .btn-hero-primary,
    .hero-cta-group .btn-hero-ghost { max-width: 100%; }
}

/* ── Touch devices — actions toujours visibles ── */
@media (hover: none) {
    .product-card-modern .product-actions {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    .product-card-modern:hover { transform: none; box-shadow: var(--shadow-card); }
    .feature-card:hover { transform: none; }
    .blog-card-modern:hover { transform: none; }
    .hero-product-frame { animation: none; }
}

/* ============================================================
   SHOP PAGE — listing produits
   ============================================================ */

.shop-page { background: var(--surface-bg); min-height: 60vh; }

/* Hero/breadcrumb strip — palette soft */
.shop-hero {
    background: var(--surface-card);
    border-bottom: 1px solid var(--border-color);
    padding: 22px 0;
    position: relative;
    overflow: hidden;
}
.shop-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--app-blue-color);
}
.shop-hero-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 5px;
    letter-spacing: -0.02em;
}
.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.77rem;
    color: var(--text-secondary);
    list-style: none;
    padding: 0;
    margin: 0;
}
.shop-breadcrumb a { color: var(--text-secondary); text-decoration: none; }
.shop-breadcrumb a:hover { color: var(--app-blue-color); }
.shop-breadcrumb .bc-sep { opacity: .4; }
.shop-breadcrumb .bc-current { color: var(--app-blue-color); font-weight: 600; }

[data-bs-theme="dark"] .shop-hero {
    background: var(--surface-card);
}
[data-bs-theme="dark"] .shop-breadcrumb a:hover,
[data-bs-theme="dark"] .shop-breadcrumb .bc-current { color: var(--app-yellow-color); }

/* ── Boutique : recherche + catégories horizontales ── */
.shop-content { padding: 26px 0 48px; }

.shop-search { position: relative; max-width: 460px; margin: 0 auto 22px; }
.shop-search-ic {
    position: absolute;
    left: 16px; top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    display: flex;
    pointer-events: none;
}
.shop-search-input {
    width: 100%;
    height: 46px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0 18px 0 44px;
    font-size: 0.9rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.shop-search-input::placeholder { color: var(--text-secondary); }
.shop-search-input:focus { border-color: var(--btn-blue); box-shadow: 0 0 0 3px var(--btn-blue-soft-bg); }
.shop-search-input::-webkit-search-cancel-button { appearance: none; -webkit-appearance: none; }

.cat-scroller-wrap { position: relative; margin-bottom: 22px; }
.cat-scroller {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 4px 2px 10px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-scroller::-webkit-scrollbar { display: none; }

.cat-chip {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 104px;
    padding: 14px 10px;
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    transition: border-color .2s, transform .2s, background .2s;
}
.cat-chip:hover { border-color: var(--btn-blue); transform: translateY(-2px); }
.cat-chip-ic {
    width: 50px; height: 50px;
    border-radius: 50%;
    background: var(--btn-blue-soft-bg);
    color: var(--btn-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid transparent;
}
.cat-chip-ic img { width: 100%; height: 100%; object-fit: cover; }
.cat-chip-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    max-width: 90px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.cat-chip.active { background: var(--btn-blue); border-color: var(--btn-blue); }
.cat-chip.active .cat-chip-label { color: #fff; }
.cat-chip.active .cat-chip-ic { background: rgba(255, 255, 255, 0.2); color: #fff; border-color: rgba(255, 188, 0, 0.6); }

/* Catégories centrées sur l'accueil */
.home-categories .cat-scroller { justify-content: center; }

/* Produits accueil : une seule ligne horizontale scrollable (Nouveautés, En promotion) */
.home-products-row {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 2px 12px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}
.home-products-row::-webkit-scrollbar { height: 6px; }
.home-products-row::-webkit-scrollbar-track { background: transparent; }
.home-products-row::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 10px; }
.home-product-item {
    flex: 0 0 auto;
    width: 210px;
    scroll-snap-align: start;
}
@media (max-width: 575px) { .home-product-item { width: 158px; } }

/* État vide — section En promotion (design innovant) */
.promo-empty-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 12px;
    padding: 48px 24px;
    background: var(--btn-blue-soft-bg);
    border: 1px dashed rgba(0, 62, 205, 0.3);
    border-radius: 22px;
}
.promo-empty-icon {
    position: relative;
    width: 64px; height: 64px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--app-blue-color); color: #fff;
    margin-bottom: 4px;
}
/* Anneaux qui pulsent (effet vivant) */
.promo-empty-icon::before,
.promo-empty-icon::after {
    content: ''; position: absolute; inset: 0; border-radius: 50%;
    border: 2px solid var(--app-blue-color);
    animation: promoPulse 2.4s ease-out infinite;
}
.promo-empty-icon::after { animation-delay: 1.2s; }
@keyframes promoPulse {
    0%   { opacity: .55; transform: scale(1); }
    100% { opacity: 0;   transform: scale(2); }
}
.promo-empty-title { font-size: 1.12rem; font-weight: 800; color: var(--text-primary); letter-spacing: -.01em; }
.promo-empty-text { font-size: .88rem; color: var(--text-secondary); max-width: 360px; line-height: 1.6; margin: 0 0 4px; }
@media (prefers-reduced-motion: reduce) {
    .promo-empty-icon::before, .promo-empty-icon::after { animation: none; }
}

.cat-scroll-btn {
    position: absolute;
    top: calc(50% - 5px);
    transform: translateY(-50%);
    z-index: 4;
    width: 36px; height: 36px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: var(--surface-card);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.10);
    transition: background .2s, color .2s, opacity .2s;
}
.cat-scroll-btn:hover { background: var(--btn-blue-soft-bg); color: var(--btn-blue); }
.cat-scroll-prev { left: -6px; }
.cat-scroll-next { right: -6px; }
.cat-scroll-btn.is-hidden { opacity: 0; pointer-events: none; }
@media (max-width: 767px) { .cat-scroll-btn { display: none; } }

.shop-count-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.shop-no-result { font-size: 0.85rem; color: var(--text-secondary); font-style: italic; }

/* ── Page promotion : bandeau soft ── */
.promo-hero {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
    padding: 26px 0;
    background:
        var(--surface-card);
}
.promo-hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}
.promo-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(216, 29, 29, 0.10);
    color: var(--app-red-color);
    border: 1px solid rgba(216, 29, 29, 0.22);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 0.7rem;
}
.promo-hero-title {
    font-size: clamp(1.3rem, 2.6vw, 1.9rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin: 0 0 0.3rem;
}
.promo-hero-sub { font-size: 0.9rem; color: var(--text-secondary); margin: 0; }
.promo-hero-sub strong { color: var(--app-red-color); }
.promo-hero-badge {
    flex-shrink: 0;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: var(--btn-blue);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(0, 62, 205, 0.30);
    border: 2px solid rgba(255, 188, 0, 0.6);
}
.promo-hero-badge-pct { font-size: 1.5rem; font-weight: 800; line-height: 1; }
.promo-hero-badge-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.85; }

[data-bs-theme="dark"] .promo-hero {
    background:
        var(--surface-card);
}

.promo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 48px 16px;
    color: var(--text-secondary);
}
.promo-empty p { margin: 10px 0 16px; }

@media (max-width: 575px) {
    .promo-hero-badge { width: 74px; height: 74px; }
    .promo-hero-badge-pct { font-size: 1.15rem; }
}

/* Layout */
.shop-layout {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    padding: 28px 0 48px;
}

/* Sidebar */
.shop-sidebar {
    width: 240px;
    min-width: 240px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.shop-sidebar-section {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 18px;
}
.shop-filter-title {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.shop-filter-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Category list */
.cat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 3px; }
.cat-list-item a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 7px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background .2s, color .2s;
}
.cat-list-item a:hover,
.cat-list-item a.active {
    background: var(--app-blue-variant4-color);
    color: var(--app-blue-color);
    font-weight: 600;
}
.cat-count {
    font-size: 0.7rem;
    background: var(--surface-bg);
    color: var(--text-secondary);
    padding: 1px 7px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    transition: inherit;
}
.cat-list-item a:hover .cat-count,
.cat-list-item a.active .cat-count {
    background: var(--app-blue-color);
    color: #fff;
    border-color: var(--app-blue-color);
}

/* Brand checkboxes */
.brand-check-list { display: flex; flex-direction: column; gap: 8px; }
.brand-check-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
}
.brand-check-item input[type="checkbox"] {
    width: 15px; height: 15px;
    accent-color: var(--app-blue-color);
    cursor: pointer;
    flex-shrink: 0;
}

/* Price filter inputs */
.price-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 16px;
}
.price-input {
    width: 100%;
    height: 36px;
    background: var(--surface-bg);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    padding: 0 10px;
    font-size: 0.78rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color .2s;
}
.price-input:focus { border-color: var(--app-blue-color); }

/* Main zone */
.shop-main { flex: 1; min-width: 0; }

.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.shop-count {
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.shop-count strong { color: var(--text-primary); font-weight: 700; }

/* Product card badges */
.pc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
}
.pc-badge-new {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    background: rgba(0, 62, 205, 0.12);
    color: var(--app-blue-color);
    border: 1px solid rgba(0, 62, 205, 0.22);
    padding: 2px 8px;
    border-radius: 5px;
    backdrop-filter: blur(4px);
}
.pc-badge-promo {
    font-size: 9px;
    font-weight: 800;
    background: rgba(216, 29, 29, 0.10);
    color: var(--app-red-color);
    border: 1px solid rgba(216, 29, 29, 0.22);
    padding: 2px 8px;
    border-radius: 5px;
    backdrop-filter: blur(4px);
}

[data-bs-theme="dark"] .pc-badge-new {
    background: rgba(125, 178, 245, 0.16);
    color: #9ec5f5;
    border-color: rgba(125, 178, 245, 0.30);
}
[data-bs-theme="dark"] .pc-badge-promo {
    background: rgba(248, 113, 113, 0.16);
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.30);
}

/* Wishlist btn on card top-right */
.pc-wishlist-btn {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 3;
    width: 32px; height: 32px;
    background: var(--surface-card);
    border: 1px solid var(--border-color) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--app-red-color);
    transition: background .2s, color .2s;
    opacity: 0;
    padding: 0;
}
.product-card-modern:hover .pc-wishlist-btn,
.pc-wishlist-btn:focus { opacity: 1; }
.pc-wishlist-btn:hover { background: var(--app-red-color) !important; color: #fff !important; }

/* Stock pill */
.pc-stock {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    margin-top: 4px;
}
.pc-stock.in  { color: var(--app-green-color); }
.pc-stock.out { color: var(--app-red-color); }

/* Star rating row */
.pc-rating { display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.pc-stars { color: var(--app-yellow-color); display: flex; gap: 1px; }
.pc-rating-count { font-size: 0.7rem; color: var(--text-secondary); }

/* Responsive shop */
@media (max-width: 991px) {
    .shop-sidebar { width: 210px; min-width: 210px; }
}
@media (max-width: 767px) {
    .shop-layout { flex-direction: column; padding: 20px 0 40px; }
    .shop-sidebar { width: 100%; min-width: unset; flex-direction: row; flex-wrap: wrap; gap: 12px; }
    .shop-sidebar-section { flex: 1 1 calc(50% - 6px); }
}
@media (max-width: 575px) {
    .shop-sidebar-section { flex: 1 1 100%; }
}
@media (hover: none) {
    .pc-wishlist-btn { opacity: 1; }
}

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */

.pd-page { background: var(--surface-bg); min-height: 60vh; }

/* Gallery */
.pd-gallery { position: sticky; top: 76px; }

.pd-gallery-main {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 10px;
}
.pd-gallery-main .zoom-top .swiper-slide {
    background: var(--surface-card);
}
.pd-gallery-main .zoom-top .swiper-slide::before { display: none; }
.pd-gallery-main .zoom-top .swiper-slide:hover::before { display: none; }
.pd-gallery-main .zoom-top .swiper-slide .full-preview {
    opacity: 0;
    background: rgba(0,0,0,.45);
    border: none;
    color: rgba(255,255,255,.9);
    border-radius: 8px;
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 12px; right: 12px;
    top: auto; left: auto;
    transform: none;
    transition: opacity .2s ease;
}
.pd-gallery-main .zoom-top .swiper-slide:hover .full-preview { opacity: 1; }

.pd-gallery-thumbs .zoom-thumbs { border-radius: 12px; overflow: hidden; }
.pd-gallery-thumbs .zoom-thumbs .swiper-slide img {
    border: 2px solid transparent;
    border-radius: 10px;
    transition: border-color .2s;
}
.pd-gallery-thumbs .zoom-thumbs .swiper-slide.swiper-slide-thumb-active img,
.pd-gallery-thumbs .zoom-thumbs .swiper-slide:hover img {
    border-color: var(--app-blue-color);
}

/* Info panel */
.pd-info-badges { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 14px; }
.pd-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 50px;
    display: inline-block;
}
.pd-badge-new { background: rgba(0, 62, 205, 0.12); color: var(--app-blue-color); border: 1px solid rgba(0, 62, 205, 0.22); }
.pd-badge-promo { background: rgba(216, 29, 29, 0.10); color: var(--app-red-color); border: 1px solid rgba(216, 29, 29, 0.22); }
.pd-badge-bestseller { background: rgba(255, 188, 0, 0.16); color: #9a7000; border: 1px solid rgba(255, 188, 0, 0.35); }

[data-bs-theme="dark"] .pd-badge-new { background: rgba(125, 178, 245, 0.16); color: #9ec5f5; border-color: rgba(125, 178, 245, 0.30); }
[data-bs-theme="dark"] .pd-badge-promo { background: rgba(248, 113, 113, 0.16); color: #f87171; border-color: rgba(248, 113, 113, 0.30); }
[data-bs-theme="dark"] .pd-badge-bestseller { background: rgba(255, 188, 0, 0.16); color: #ffbc00; border-color: rgba(255, 188, 0, 0.30); }

.pd-title {
    font-size: clamp(1.2rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 14px;
}

.pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.pd-price-current { font-size: 1.6rem; font-weight: 800; color: var(--app-red-color); line-height: 1; }
.pd-price-old { font-size: 1rem; color: var(--text-secondary); text-decoration: line-through; }
.pd-price-save {
    font-size: 0.72rem;
    font-weight: 700;
    background: rgba(216,29,29,.1);
    color: var(--app-red-color);
    border: 1px solid rgba(216,29,29,.2);
    padding: 2px 8px;
    border-radius: 50px;
}

.pd-rating-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.pd-stars { color: var(--app-yellow-color); display: flex; gap: 2px; }
.pd-rating-label { font-size: 0.82rem; color: var(--text-secondary); }

.pd-divider { height: 1px; background: var(--border-color); margin: 16px 0; }

.pd-desc-short {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.pd-desc-short a { color: var(--app-blue-color); font-weight: 600; font-size: 0.8rem; text-decoration: none; }
.pd-desc-short a:hover { text-decoration: underline; }

.pd-meta-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    margin-bottom: 8px;
}
.pd-meta-label { color: var(--text-secondary); }
.pd-meta-link { color: var(--app-blue-color); text-decoration: none; font-weight: 600; }
.pd-meta-link:hover { text-decoration: underline; }

/* Quantity + buttons */
.pd-actions-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 22px;
}
.pd-qty {
    display: flex;
    align-items: stretch;
    background: var(--surface-card);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    height: 46px;
}
.pd-qty-btn {
    width: 40px;
    background: transparent;
    border: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s;
    flex-shrink: 0;
    padding: 0;
}
.pd-qty-btn:hover { background: var(--app-blue-variant4-color); color: var(--app-blue-color); }
.pd-qty-input {
    width: 52px;
    text-align: center;
    background: transparent;
    border: none;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.9rem;
    outline: none;
}

.pd-btn-cart {
    flex: 1;
    min-width: 150px;
    height: 46px;
    background: var(--btn-blue);
    color: #fff !important;
    border: none !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: background .25s, transform .2s, box-shadow .25s;
    box-shadow: 0 4px 16px rgba(0, 62, 205, .25);
}
.pd-btn-cart:hover { background: var(--btn-blue-hover); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0, 62, 205, .35) !important; }

.pd-btn-icon {
    width: 46px; height: 46px;
    border-radius: 10px;
    background: var(--surface-card);
    border: 1.5px solid var(--border-color) !important;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    flex-shrink: 0;
    padding: 0;
}
.pd-btn-icon:hover { background: var(--app-blue-color) !important; color: #fff !important; border-color: var(--app-blue-color) !important; }

.pd-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: 10px;
}
.pd-stock-pill.in  { color: var(--app-green-color); }
.pd-stock-pill.out { color: var(--app-red-color); }

/* Tabs section */
.pd-tabs-section {
    background: var(--surface-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}
.pd-tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
}
.pd-tab-btn {
    position: relative;
    padding: 15px 18px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: none;
    background: transparent;
    cursor: pointer;
    transition: color .2s;
    white-space: nowrap;
}
.pd-tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--app-blue-color);
    transform: scaleX(0);
    transition: transform .2s;
}
.pd-tab-btn.active, .pd-tab-btn:hover { color: var(--app-blue-color); }
.pd-tab-btn.active::after { transform: scaleX(1); }
.pd-tab-pane { display: none; padding: 24px; }
.pd-tab-pane.active { display: block; }

/* Description */
.pd-description-content {
    font-size: 0.9rem;
    line-height: 1.85;
    color: var(--text-secondary);
}

/* Review overview */
.pd-review-overview {
    display: flex;
    gap: 24px;
    align-items: center;
    background: var(--surface-bg);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.pd-review-avg { text-align: center; min-width: 80px; }
.pd-review-avg-num { font-size: 2.5rem; font-weight: 800; color: var(--text-primary); line-height: 1; margin-bottom: 4px; }
.pd-review-avg-stars { color: var(--app-yellow-color); display: flex; justify-content: center; gap: 2px; margin-bottom: 4px; }
.pd-review-avg-label { font-size: 0.72rem; color: var(--text-secondary); }
.pd-review-bars { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 160px; }
.pd-review-bar-row { display: flex; align-items: center; gap: 8px; font-size: 0.75rem; color: var(--text-secondary); }
.pd-review-bar-track { flex: 1; height: 6px; background: var(--border-color); border-radius: 50px; overflow: hidden; }
.pd-review-bar-fill { height: 100%; background: var(--app-yellow-color); border-radius: 50px; }

/* Review card */
.review-card {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}
.review-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.review-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
    flex-shrink: 0;
}
.review-author { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.review-date { font-size: 0.72rem; color: var(--text-secondary); }
.review-stars { display: flex; gap: 2px; color: var(--app-yellow-color); margin-left: auto; }
.review-text { font-size: 0.84rem; color: var(--text-secondary); line-height: 1.7; }

/* Add review */
.pd-add-review {
    background: var(--surface-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}
.pd-add-review h6 { font-weight: 700; font-size: 0.9rem; color: var(--text-primary); margin-bottom: 16px; }
.pd-star-picker { display: flex; gap: 4px; margin-bottom: 12px; cursor: pointer; color: var(--app-yellow-color); }
.pd-add-review textarea.form-control {
    background: var(--surface-card) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
    border-radius: 10px;
    font-size: 0.875rem;
    resize: vertical;
    min-height: 90px;
}
.pd-add-review textarea.form-control:focus {
    border-color: var(--app-blue-color) !important;
    box-shadow: 0 0 0 3px rgba(0, 62, 205,.15) !important;
}

/* Related */
.pd-related-section { padding: 40px 0 24px; }
.pd-related-title { font-size: 1.2rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.02em; margin-bottom: 4px; }
.pd-related-sub { font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 24px; }

/* Responsive detail */
@media (max-width: 991px) {
    .pd-gallery { position: static; }
    .pd-btn-cart { min-width: 120px; }
}
@media (max-width: 575px) {
    .pd-tabs-nav { padding: 0 12px; overflow-x: auto; }
    .pd-tab-btn { padding: 13px 10px; font-size: 0.8rem; }
    .pd-tab-pane { padding: 16px; }
    .pd-actions-bar { gap: 8px; }
    .pd-btn-cart { min-width: 0; }
}

/* Mode light imposé (temporaire) — boutons de bascule de thème masqués */
#theme-toggle, .theme-toggle-btn { display: none !important; }
