/* ============================================================
   ✅ FIX v3.9.2 — FORCE LE MODE CLAIR UNIQUEMENT
   Empêche Chrome/Samsung/Xiaomi d'inverser les couleurs
   en mode sombre automatique (auto-dark-mode).
   Doit rester TOUT EN HAUT du fichier.
   ============================================================ */
html {
    color-scheme: only light;
    -webkit-color-scheme: only light;
}

@media (prefers-color-scheme: dark) {
    :root {
        color-scheme: only light !important;
        forced-color-adjust: none;
    }
    html, body {
        background-color: #f8f6f2 !important;
        color: #1a1a2e !important;
    }
}

body {
    -webkit-text-fill-color: initial;
    forced-color-adjust: none;
}

/* ============================================================
   STYLE.CSS - SMART SWI9A
   Design complet responsive + RTL — MODE CLAIR UNIQUEMENT
   Version 3.9.2 — Fix dark mode forcé
   ============================================================ */

/* ============================================================
   VARIABLES GLOBALES — MODE CLAIR UNIQUEMENT
   ============================================================ */
:root {
    --bg: #f8f6f2;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.75);

    --gold: #a57b2e;
    --gold-light: #c99f3e;
    --gold-rgb: 212, 163, 75;

    --return-color: #9b59b6;
    --return-dark: #6c3483;
    --return-bg: rgba(155, 89, 182, 0.12);

    --restock-color: #2ecc71;
    --restock-dark: #1e7e34;
    --restock-bg: rgba(46, 204, 113, 0.12);

    --text: #1a1a2e;
    --text-muted: #5c5c5c;
    --text-dim: #7a7468;

    --border: rgba(0, 0, 0, 0.08);
    --border-gold: rgba(180, 130, 40, 0.25);

    --success: #2ecc71;
    --danger: #b03a2e;
    --warning: #e67e22;
    --info: #3498db;

    --success-bg: rgba(46, 204, 113, 0.1);
    --info-bg: rgba(52, 152, 219, 0.1);
    --warning-bg: rgba(230, 126, 34, 0.1);
    --danger-bg: rgba(192, 57, 43, 0.1);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.12);
    --shadow-gold: 0 4px 16px rgba(180, 130, 40, 0.2);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.08);

    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    --nav-height: 70px;
    --container-max: 1200px;

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-secondary: 'Playfair Display', Georgia, serif;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --transition-fast: 0s;
        --transition-smooth: 0s;
        --transition-spring: 0s;
    }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================================
   RESET & BASE
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-primary);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.7;
    min-height: 100dvh;
    padding-top: calc(var(--nav-height) + 8px);
    font-size: 16px;
}

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

button {
    font-family: inherit;
    cursor: pointer;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 4px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

*:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================================
   BACKGROUND DÉCORATIF
   ============================================================ */
.bg-particles {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(165, 123, 46, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 70% 60%, rgba(165, 123, 46, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 40% 80%, rgba(165, 123, 46, 0.05) 1px, transparent 1px),
        radial-gradient(circle at 85% 20%, rgba(165, 123, 46, 0.06) 1px, transparent 1px);
    background-size: 200px 200px, 300px 300px, 400px 400px, 250px 250px;
    opacity: 0.9;
    animation: particlesMove 60s linear infinite;
}

@media (hover: none) {
    .bg-particles { animation: none; }
}

@keyframes particlesMove {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 200px 200px, -300px 300px, 400px -400px, -250px -250px; }
}

.bg-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(165, 123, 46, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(165, 123, 46, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 90%);
    opacity: 0.6;
}

body > *:not(.bg-particles):not(.bg-grid):not(.toast):not(.cart-btn-float):not(.back-to-top):not(.cart-sidebar):not(.cart-sidebar-overlay):not(.modal-overlay):not(.blog-article-modal) {
    position: relative;
    z-index: 1;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
    position: absolute;
    top: -999px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 30px;
    font-weight: 700;
    z-index: 10000;
}

.skip-link:focus {
    top: 1rem;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-height);
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 1rem;
    z-index: 999;
    box-sizing: border-box;
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 0;
}

.nav-links {
    display: flex;
    gap: 0.15rem;
    list-style: none;
    align-items: center;
    flex: 1;
    justify-content: center;
    min-width: 0;
    padding: 0 0.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.45rem 0.8rem;
    border-radius: 30px;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.1);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    min-width: 0;
}

.logo-text {
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    color: var(--gold);
    transition: color var(--transition-fast);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo-text:hover {
    color: var(--gold-light);
}

.btn-account {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid var(--border-gold);
    color: var(--text);
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
    min-width: 0;
    flex-shrink: 1;
    max-width: 100%;
}

.btn-account:hover {
    background: var(--gold);
    color: #ffffff;
}

.btn-account.is-logged-in {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.btn-account.is-logged-in:hover {
    background: #7d5a1d;
    border-color: #7d5a1d;
}

.btn-account svg {
    flex-shrink: 0;
}

.btn-account span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.4rem;
    margin: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.burger-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.burger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.open span:nth-child(2) {
    opacity: 0;
}

.burger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.nav-mobile {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 998;
    max-height: calc(100dvh - var(--nav-height));
    overflow-y: auto;
    box-sizing: border-box;
}

.nav-mobile.open {
    display: flex;
}

.nav-mobile a {
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-mobile a:hover {
    color: var(--gold);
}

#langSelect {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 30px;
    color: var(--text);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    cursor: pointer;
    outline: none;
    flex-shrink: 0;
    max-width: 100%;
    text-align: center;
    letter-spacing: -0.3px;
}

#langSelect:focus {
    border-color: var(--gold);
}

.notification-bell {
    position: relative;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    font-size: 1.2rem;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.notification-bell:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.notification-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

/* ============================================================
   BOUTON PANIER FLOTTANT
   ============================================================ */
.cart-btn-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-gold);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
    transition: transform var(--transition-spring);
}

.cart-btn-float:hover {
    transform: scale(1.05);
}

.cart-icon-emoji {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.cart-badge.show {
    opacity: 1;
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 5rem;
    right: 2rem;
    z-index: 997;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-smooth);
    pointer-events: none;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.back-to-top:hover {
    background: var(--gold);
    color: #ffffff;
    transform: scale(1.1);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast {
    position: fixed;
    top: 90px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    color: var(--text);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    z-index: 99999;
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: all var(--transition-spring);
    pointer-events: none;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ============================================================
   BANNIÈRE PROMO (marquee)
   ============================================================ */
.navbar-promo-banner {
    background: linear-gradient(90deg, var(--gold), #7d5a1d);
    color: #ffffff;
    text-align: center;
    padding: 0.25rem 1rem;
    font-weight: 700;
    font-size: 0.78rem;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    margin-top: 0;
    mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
    line-height: 1.3;
}

.navbar-promo-banner .marquee-text {
    display: inline-block;
    animation: marquee 20s linear infinite;
    padding-left: 100%;
}

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

/* ============================================================
   PHOTO BANNER
   ============================================================ */
.newphoto-banner-wrapper {
    max-width: var(--container-max);
    margin: 0 auto 1rem;
    padding: 0 1rem;
}

.responsive-hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 21/9;
    max-height: 38vh;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    display: block;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    position: relative;
    padding: 1.5rem 1.5rem 1.8rem;
    max-width: var(--container-max);
    margin: 0 auto;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    pointer-events: none;
}

.hero-glow.g1 {
    width: 400px;
    height: 400px;
    background: rgba(var(--gold-rgb), 0.2);
    top: -100px;
    left: -100px;
}

.hero-glow.g2 {
    width: 300px;
    height: 300px;
    background: rgba(var(--gold-rgb), 0.15);
    bottom: -80px;
    right: -80px;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--gold);
    margin-bottom: 1rem;
    line-height: 1.4;
    max-width: 100%;
    text-align: center;
    white-space: normal;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

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

.hero-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.4rem, 4.5vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.hero-title em {
    color: var(--gold);
    font-style: normal;
}

.hero-sub {
    font-size: clamp(0.85rem, 1.4vw, 1.05rem);
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto 1.2rem;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: center;
}

/* ============================================================
   BOUTONS
   ============================================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-spring);
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--gold);
    border: 2px solid var(--gold);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-spring);
}

.btn-ghost:hover {
    background: var(--gold);
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: transparent;
    color: var(--text-muted);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem 1.5rem;
    padding: 0.9rem 1rem;
    max-width: 900px;
    margin: 0 auto 1.2rem;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.trust-item {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.trust-item svg {
    flex-shrink: 0;
    color: var(--gold);
}

/* ============================================================
   BANNIÈRES CARROUSELS
   ============================================================ */
.banners-section {
    max-width: var(--container-max);
    margin: 0 auto 2rem;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.banner-wrapper {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.banner-title {
    font-family: var(--font-secondary);
    color: var(--gold);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.banner-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-track-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius-sm);
}

.banner-track {
    display: flex;
    transition: transform 0.05s linear;
    will-change: transform;
}

.banner-item {
    flex: 0 0 calc(33.333% - 16px);
    margin-right: 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    border: 1px solid var(--border);
    position: relative;
}

.banner-item:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-md);
}

.banner-item img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.banner-item span {
    display: block;
    padding: 0.5rem;
    font-size: 0.75rem;
    text-align: center;
    color: var(--text);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-item .banner-discount-badge {
    position: absolute;
    top: 0.3rem;
    left: 0.3rem;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 30px;
    z-index: 2;
}

.banner-nav {
    background: rgba(var(--gold-rgb), 0.15);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    font-size: 1.2rem;
}

.banner-nav:hover {
    background: var(--gold);
    color: #ffffff;
}

/* ============================================================
   SECTION GÉNÉRIQUE
   ============================================================ */
.section {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid var(--border-gold);
    padding: 0.2rem 1rem;
    border-radius: 50px;
    font-size: 0.7rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.section-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
    text-align: center;
}

/* ============================================================
   PRODUITS - TOOLBAR
   ============================================================ */
.products-wrap {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.products-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    align-items: center;
}

.filter-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

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

.filter-btn.active {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.sort-btn {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
}

.sort-btn:hover,
.sort-btn:focus {
    border-color: var(--gold);
    color: var(--gold);
}

.sort-btn option {
    background: var(--bg-card);
    color: var(--text);
}

.filters-categories {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
    width: 100%;
}

.search-bar-products {
    margin-bottom: 1.5rem;
}

.search-input-wrapper {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    pointer-events: none;
}

#productSearch {
    width: 100%;
    padding: 0.7rem 1rem 0.7rem 2.8rem;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--bg-surface);
    color: var(--text);
    font-size: 0.9rem;
    transition: border-color var(--transition-fast);
}

#productSearch:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15);
}

#productSearch::placeholder {
    color: var(--text-dim);
}

.filter-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.3rem 0.8rem;
    border: 1px solid var(--border);
    border-radius: 30px;
    transition: all var(--transition-fast);
}

.filter-checkbox:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.filter-checkbox input {
    accent-color: var(--gold);
}

.filters-advanced {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-reset-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all var(--transition-fast);
    margin-left: auto;
}

.filter-reset-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   PRODUITS - GRILLE
   ============================================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.product-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.product-img {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--bg);
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-smooth);
}

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

.favorite-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 2;
}

.favorite-btn:hover {
    transform: scale(1.1);
    border-color: var(--gold);
}

.favorite-btn.is-fav {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}

.badge-hot {
    background: var(--danger);
    color: #ffffff;
}

.badge-new {
    background: var(--success);
    color: #ffffff;
}

.badge-promo {
    background: var(--gold);
    color: #ffffff;
}

.product-body {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.p-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 1.3rem;
    color: var(--text);
}

.p-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.p-stats {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
}

.p-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.p-price {
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    flex-wrap: wrap;
}

.p-price small {
    font-weight: 400;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.btn-add-to-cart {
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 0.3rem 0.7rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-add-to-cart:hover {
    background: var(--gold);
    color: #ffffff;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.3rem;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.pagination-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    min-width: 36px;
}

.pagination-btn:hover:not(.disabled) {
    border-color: var(--gold);
    color: var(--gold);
}

.pagination-btn.active {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

.pagination-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin: 0 0.5rem;
}

/* ============================================================
   LOADING SPINNER
   ============================================================ */
.loading-spinner {
    display: none;
    justify-content: center;
    padding: 2rem 0;
}

.loading-spinner.active {
    display: flex;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================================
   AVANTAGES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    text-align: center;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.feature-card h3 {
    font-family: var(--font-secondary);
    color: var(--text);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   BLOG
   ============================================================ */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
}

.blog-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

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

.blog-img {
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-img-bg-1 { background: linear-gradient(135deg, #d4a34b 0%, #8b6914 100%); }
.blog-img-bg-2 { background: linear-gradient(135deg, #6b46c1 0%, #2d1b69 100%); }
.blog-img-bg-3 { background: linear-gradient(135deg, #2ecc71 0%, #145a32 100%); }
.blog-img-bg-4 { background: linear-gradient(135deg, #c0392b 0%, #7b241c 100%); }
.blog-img-bg-5 { background: linear-gradient(135deg, #3498db 0%, #154360 100%); }
.blog-img-bg-6 { background: linear-gradient(135deg, #f39c12 0%, #7d510f 100%); }

.blog-body {
    padding: 1rem;
}

.blog-date {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.blog-title {
    font-family: var(--font-secondary);
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
}

.blog-read-more {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.blog-read-more:hover {
    color: var(--gold-light);
}

/* ============================================================
   BLOG ADMIN
   ============================================================ */
.admin-blog-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    margin-bottom: 0.8rem;
    transition: border-color var(--transition-fast);
}

.admin-blog-item:hover {
    border-color: var(--border-gold);
}

.admin-blog-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background: var(--bg-surface);
    flex-shrink: 0;
}

.admin-blog-info {
    flex: 1;
    min-width: 0;
}

.admin-blog-info h4 {
    font-size: 1rem;
    color: var(--text);
    margin-bottom: 0.3rem;
    font-family: var(--font-secondary);
}

.admin-blog-info .meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.admin-blog-info .status {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
}

.admin-blog-info .status.draft {
    background: var(--warning-bg);
    color: var(--warning);
}

.admin-blog-info .status.published {
    background: var(--success-bg);
    color: var(--success);
}

/* ============================================================
   AVIS (TÉMOIGNAGES STATIQUES)
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.t-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.t-stars {
    color: var(--gold);
    margin-bottom: 0.8rem;
    display: flex;
    justify-content: center;
    gap: 0.2rem;
}

.t-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-style: italic;
}

.t-author {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-weight: 600;
}

/* ============================================================
   TÉMOIGNAGES DYNAMIQUES (Firestore)
   ============================================================ */
.testimonials-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.testimonial-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-align: left;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}

.testimonial-product-thumb {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    text-align: center;
    position: relative;
}

.testimonial-product-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    margin: 0 auto 0.5rem;
    border-radius: var(--radius-sm);
    display: block;
}

.testimonial-product-placeholder {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin: 0 auto 0.5rem;
    color: var(--text-dim);
}

.testimonial-product-name {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 2.2em;
}

.testimonial-body {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.testimonial-comment {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author-block {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-top: 0.7rem;
    border-top: 1px solid var(--border);
}

.testimonial-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(var(--gold-rgb), 0.3);
}

.testimonial-author-info {
    min-width: 0;
    flex: 1;
}

.testimonial-author-info .t-author {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-bottom: 0.15rem;
}

.testimonial-verified {
    font-size: 0.7rem;
    color: var(--success);
    flex-shrink: 0;
}

.testimonial-city {
    font-size: 0.72rem;
    color: var(--text-dim);
    display: block;
}

.testimonial-card .t-stars {
    color: var(--gold);
    font-size: 1rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    direction: ltr;
    display: inline-block;
    unicode-bidi: isolate;
}

[dir="rtl"] .testimonial-card {
    text-align: right;
}

[dir="rtl"] .testimonial-author-block {
    flex-direction: row-reverse;
}

[dir="rtl"] .testimonial-author-info .t-author {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

@media (max-width: 480px) {
    .testimonial-product-img,
    .testimonial-product-placeholder {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    .testimonial-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .testimonial-comment {
        font-size: 0.8rem;
    }
}

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badges {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.trust-badge-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.trust-badge-icon {
    display: inline-flex;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.trust-badge-item strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.trust-badge-item small {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ============================================================
   À PROPOS
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.about-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.about-card h3 {
    font-family: var(--font-secondary);
    color: var(--gold);
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.about-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================================
   LÉGAL
   ============================================================ */
#legal details {
    margin-bottom: 0.8rem;
}

#legal summary {
    font-weight: 700;
    cursor: pointer;
    font-size: 1rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0;
    list-style: none;
}

#legal summary::-webkit-details-marker {
    display: none;
}

#legal details p {
    margin-top: 0.6rem;
    line-height: 1.8;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 2rem 1rem;
    text-align: center;
    margin-top: 3rem;
}

.footer-logo {
    font-family: var(--font-secondary);
    font-size: 1.5rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 0.5rem;
}

.footer-contact {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0.8rem 0;
}

.footer-contact a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.footer-social-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: color var(--transition-fast);
}

.footer-social-links a:hover {
    color: var(--gold);
}

.social-icon {
    width: 20px;
    height: 20px;
}

/* ============================================================
   MODALES
   ============================================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay.open {
    display: flex;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 500px;
    width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: transparent;
    border: 1px solid var(--border);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--danger);
    color: #ffffff;
    border-color: var(--danger);
}

.modal h2 {
    font-family: var(--font-secondary);
    color: var(--gold);
    margin-bottom: 1rem;
    text-align: center;
}

/* ============================================================
   COMPTE - FORMULAIRES
   ============================================================ */
.account-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.account-form input {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 16px;
    width: 100%;
}

.account-form input:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15);
}

.account-form input[type="date"] {
    cursor: pointer;
    min-height: 44px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23a57b2e' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 20px;
    padding-right: 2.5rem;
}

.account-form input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
}

.btn-submit {
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-spring);
    width: 100%;
}

.btn-submit:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

/* ============================================================
   BOUTONS CONNEXION SOCIALE
   ============================================================ */
.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text);
    width: 100%;
}

.btn-social:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-social-google:hover {
    border-color: #4285F4;
    color: #4285F4;
}

.btn-social-facebook {
    background: #1877F2;
    border-color: #1877F2;
    color: #ffffff;
}

.btn-social-facebook:hover {
    background: #0f5bbd;
    border-color: #0f5bbd;
    color: #ffffff;
}

.btn-social svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.auth-separator {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    color: var(--text-dim);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.switch-mode {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
}

.switch-mode:hover {
    color: var(--gold);
}

.switch-mode span {
    color: var(--gold);
    font-weight: 600;
}

.tab-btn {
    padding: 0.3rem 1rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.8rem;
}

.tab-btn:hover,
.tab-btn.active {
    border-color: var(--gold);
    color: var(--gold);
}

.logout-btn {
    padding: 0.3rem 1rem;
    background: var(--danger);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: 0.8rem;
}

.logout-btn:hover {
    opacity: 0.85;
}

.edit-profile-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.edit-profile-form input {
    padding: 0.7rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 16px;
    width: 100%;
}

.edit-profile-form input:focus {
    border-color: var(--gold);
    outline: none;
}

.btn-save-profile {
    padding: 0.8rem 2rem;
    background: var(--gold);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-spring);
}

.btn-save-profile:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-gold);
}

.btn-cancel-edit {
    padding: 0.5rem 1.5rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cancel-edit:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   CITY SEARCH (utilisé par panier.js)
   ============================================================ */
.city-search-wrapper {
    position: relative;
}

.city-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
    display: none;
    box-shadow: var(--shadow-md);
}

.city-suggestions.active {
    display: block;
}

.city-suggestion-item {
    padding: 0.6rem 0.8rem;
    cursor: pointer;
    transition: background var(--transition-fast);
    font-size: 0.85rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.city-suggestion-item:last-child {
    border-bottom: none;
}

.city-suggestion-item:hover {
    background: rgba(var(--gold-rgb), 0.1);
}

/* ============================================================
   COMMANDES - STATUTS (6 statuts)
   ============================================================ */
.order-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    border: 1px solid currentColor;
}

.order-status-pending { background: var(--warning-bg); color: var(--warning); }
.order-status-confirmed { background: var(--info-bg); color: var(--info); }
.order-status-shipping { background: rgba(230, 126, 34, 0.15); color: #d35400; }
.order-status-delivered { background: var(--success-bg); color: var(--success); }
.order-status-returned { background: var(--return-bg); color: var(--return-color); border-color: var(--return-color); }
.order-status-cancelled { background: var(--danger-bg); color: var(--danger); }
.order-status-validated { background: var(--info-bg); color: var(--info); }
.order-status-received { background: var(--success-bg); color: var(--success); }

/* ============================================================
   TIMELINE DE COMMANDE
   ============================================================ */
.order-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0.5rem;
    margin: 1rem 0;
    position: relative;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    height: 2px;
    background: var(--border);
    z-index: 0;
}

.order-timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.order-timeline-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.order-timeline-step.done .order-timeline-dot {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
}

.order-timeline-step.current .order-timeline-dot {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
    box-shadow: 0 0 0 4px rgba(var(--gold-rgb), 0.25);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

.order-timeline-step.current.returned .order-timeline-dot,
.order-timeline-step.done.returned .order-timeline-dot {
    background: var(--return-color);
    border-color: var(--return-color);
}

.order-timeline-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.2;
}

.order-timeline-step.done .order-timeline-label,
.order-timeline-step.current .order-timeline-label {
    color: var(--gold);
    font-weight: 600;
}

.order-timeline-step.current.returned .order-timeline-label,
.order-timeline-step.done.returned .order-timeline-label {
    color: var(--return-color);
}

/* ============================================================
   COMMANDES - CARTES
   ============================================================ */
.order-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1rem;
    transition: border-color var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.order-card:hover {
    border-color: var(--border-gold);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}

.order-card-id {
    font-weight: 700;
    color: var(--gold);
    font-size: 0.95rem;
}

.order-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.order-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.order-card-body strong {
    color: var(--text);
}

.order-card-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.order-cancellable-timer {
    font-size: 0.75rem;
    color: var(--gold);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.order-cancel-btn {
    padding: 0.4rem 1rem;
    background: var(--danger);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.order-cancel-btn:hover {
    opacity: 0.85;
}

.order-details-btn {
    padding: 0.4rem 1rem;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
}

.order-details-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* ============================================================
   NOTIFICATIONS
   ============================================================ */
.notification-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    margin-bottom: 0.6rem;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    transition: all var(--transition-fast);
    cursor: pointer;
}

.notification-item.unread {
    border-color: var(--border-gold);
    background: rgba(var(--gold-rgb), 0.05);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    font-size: 0.85rem;
}

.notification-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.2rem;
}

.notification-message {
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.notification-date {
    font-size: 0.7rem;
    color: var(--text-dim);
}

/* ============================================================
   AVIS - AFFICHAGE
   ============================================================ */
.review-item {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.review-user-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.review-verified-badge {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid var(--success);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.review-date {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-left: auto;
}

.review-stars {
    color: var(--gold);
    font-size: 1rem;
    margin-bottom: 0.4rem;
    direction: ltr;
    unicode-bidi: isolate;
    display: inline-block;
}

.review-title {
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
}

.review-comment {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.6rem;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    word-break: break-word;
}

.review-photos {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.6rem;
}

.review-photos img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: transform var(--transition-fast);
}

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

.review-like-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    border-radius: 30px;
    padding: 0.3rem 0.8rem;
    font-size: 0.8rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all var(--transition-fast);
}

.review-like-btn:hover,
.review-like-btn.liked {
    border-color: var(--gold);
    color: var(--gold);
}

.review-like-btn.liked {
    background: rgba(var(--gold-rgb), 0.12);
}

.review-star-input {
    display: flex;
    gap: 0.3rem;
    font-size: 2rem;
    cursor: pointer;
    direction: ltr;
    margin-bottom: 0.5rem;
}

.review-star-input .star {
    color: var(--text-dim);
    transition: color var(--transition-fast);
}

.review-star-input .star.active,
.review-star-input .star:hover {
    color: var(--gold);
}

.review-photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.review-photo-slot {
    aspect-ratio: 1/1;
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
}

.review-photo-slot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================================
   ADMIN - BOUTON "⭐ AFFICHER EN PAGE D'ACCUEIL"
   ============================================================ */
.btn-feature {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-feature:hover:not(:disabled) {
    background: rgba(var(--gold-rgb), 0.12);
    border-color: var(--gold);
    color: var(--gold);
}

.btn-feature:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-feature.active {
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    color: #ffffff;
    border-color: var(--gold);
    box-shadow: 0 2px 8px rgba(var(--gold-rgb), 0.3);
}

.btn-feature.active:hover:not(:disabled) {
    background: #7d5a1d;
    border-color: #7d5a1d;
    color: #ffffff;
    transform: scale(1.02);
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(var(--gold-rgb), 0.3);
}

.admin-review-item.is-featured {
    border-color: var(--gold) !important;
    box-shadow: 0 0 0 1px var(--border-gold), 0 4px 12px rgba(var(--gold-rgb), 0.12);
    position: relative;
}

[dir="rtl"] .btn-feature {
    flex-direction: row-reverse;
}

@media (max-width: 480px) {
    .btn-feature {
        padding: 0.4rem 0.8rem;
        font-size: 0.72rem;
    }
    .featured-badge {
        font-size: 0.6rem;
        padding: 0.12rem 0.45rem;
    }
}

/* ============================================================
   ADMIN - AVIS
   ============================================================ */
.admin-review-pending  { border-left: 4px solid #d4a34b; }
.admin-review-approved { border-left: 4px solid #2ecc71; }
.admin-review-rejected { border-left: 4px solid #e74c3c; }

.admin-review-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.btn-approve {
    background: var(--success);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-reject {
    background: var(--danger);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-danger {
    background: var(--danger);
    color: #ffffff;
    padding: 0.4rem 1rem;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

/* ============================================================
   PANIER ABANDONNÉ
   ============================================================ */
.abandoned-cart-notification {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    opacity: 0;
    transition: all var(--transition-spring);
    max-width: 500px;
    width: 90%;
}

.abandoned-cart-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.abandoned-cart-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.abandoned-cart-icon {
    font-size: 1.5rem;
}

.abandoned-cart-text {
    flex: 1;
    font-size: 0.85rem;
    min-width: 150px;
    color: var(--text);
}

.abandoned-cart-actions {
    display: flex;
    gap: 0.5rem;
    margin-left: auto;
}

.btn-abandoned-cart {
    background: var(--gold);
    color: #ffffff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.8rem;
}

.btn-abandoned-dismiss {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
}

/* ============================================================
   MODALE "GÉRER LE RETOUR"
   ============================================================ */
.return-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0.8rem;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color var(--transition-fast);
}

.return-item-row:hover {
    border-color: var(--return-color);
}

.return-qty-input {
    width: 80px;
    padding: 0.4rem;
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    background: var(--bg-surface);
    color: var(--text);
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.return-qty-input:focus {
    border-color: var(--return-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(155, 89, 182, 0.15);
}

.btn-return {
    padding: 0.3rem 0.8rem;
    border-radius: 30px;
    background: var(--return-color);
    color: white;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.8rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-return:hover:not(:disabled) {
    background: var(--return-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(155, 89, 182, 0.3);
}

.btn-return:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.return-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--return-bg);
    color: var(--return-color);
    border: 1px solid var(--return-color);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.2rem 0.6rem;
    border-radius: 30px;
}

[dir="rtl"] .return-item-row {
    flex-direction: row-reverse;
}

/* ============================================================
   BOUTON "➕ RESTOCKER"
   ============================================================ */
.admin-btn-restock {
    padding: 0.4rem 0.7rem;
    border-radius: 30px;
    background: var(--restock-bg);
    border: 1px solid var(--restock-color);
    color: var(--restock-color);
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
}

.admin-btn-restock:hover:not(:disabled) {
    background: var(--restock-color);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}

.admin-btn-restock:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ============================================================
   ✅ PAGE PANIER DÉDIÉE (/panier) — v3.8.0
   ============================================================ */

.cart-page-main {
    padding-top: 1rem;
    padding-bottom: 3rem;
    max-width: var(--container-max);
    margin: 0 auto;
}

.cart-page-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    min-height: 50vh;
}

.cart-page-header {
    margin-bottom: 1.5rem;
}

.cart-page-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.4rem, 4vw, 2rem);
    color: var(--text);
    font-weight: 700;
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    flex-wrap: wrap;
    letter-spacing: -0.02em;
}

.cart-page-count {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0;
}

.cart-page-empty {
    text-align: center;
    padding: 4rem 1rem;
    max-width: 500px;
    margin: 2rem auto;
}

.cart-page-empty-icon {
    font-size: 5rem;
    margin-bottom: 1.5rem;
    line-height: 1;
    animation: cartEmptyBounce 2s ease-in-out infinite;
}

@keyframes cartEmptyBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cart-page-empty-title {
    font-family: var(--font-secondary);
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    color: var(--text);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.cart-page-empty-text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cart-page-empty-btn {
    display: inline-flex;
    padding: 0.9rem 2rem;
    font-size: 0.95rem;
}

.cart-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.cart-page-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-page-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0.3rem;
}

.cart-page-items-header > span {
    font-family: var(--font-secondary);
    color: var(--gold);
    font-size: 1.1rem;
    font-weight: 700;
}

.cart-page-clear-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.cart-page-clear-btn:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.cart-page-item {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.cart-page-item:hover {
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}

.cart-page-item-img-link {
    display: block;
    text-decoration: none;
    flex-shrink: 0;
    align-self: start;
}

.cart-page-item-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    display: block;
    transition: transform var(--transition-fast);
}

.cart-page-item-img-link:hover .cart-page-item-img {
    transform: scale(1.03);
}

.cart-page-item-info {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
}

.cart-page-item-name {
    font-family: var(--font-secondary);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    text-decoration: none;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color var(--transition-fast);
}

.cart-page-item-name:hover {
    color: var(--gold);
}

.cart-page-item-meta {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    font-size: 0.78rem;
}

.cart-item-category {
    color: var(--text-muted);
    background: rgba(var(--gold-rgb), 0.08);
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
    border: 1px solid var(--border-gold);
    font-weight: 600;
}

.cart-item-stock {
    font-weight: 600;
}

.cart-item-stock.ok { color: var(--success); }
.cart-item-stock.low { color: var(--warning); }
.cart-item-stock.out { color: var(--danger); }

.cart-item-rating {
    font-size: 0.78rem;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    direction: ltr;
    unicode-bidi: isolate;
}

.cart-item-rating span {
    color: var(--text-dim);
    direction: ltr;
}

.cart-page-item-bottom {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--border);
}

.cart-page-item-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cart-item-old-price {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.cart-item-current-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--gold);
}

.cart-item-discount {
    background: var(--danger);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 30px;
}

.cart-page-item-actions {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
}

.cart-page-qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.cart-page-qty-btn:hover:not(:disabled) {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(var(--gold-rgb), 0.08);
}

.cart-page-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.cart-page-qty-input {
    width: 45px;
    height: 32px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: inherit;
    padding: 0;
    -moz-appearance: textfield;
}

.cart-page-qty-input::-webkit-outer-spin-button,
.cart-page-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-page-qty-input:focus {
    border-color: var(--gold);
    outline: none;
}

.cart-page-item-linetotal {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text);
    white-space: nowrap;
    min-width: 80px;
    text-align: right;
}

.cart-page-remove-btn {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-dim);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cart-page-remove-btn:hover {
    border-color: var(--danger);
    background: var(--danger-bg);
    color: var(--danger);
}

.cart-page-continue-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 0;
    margin-top: 0.5rem;
    transition: color var(--transition-fast);
}

.cart-page-continue-link:hover {
    color: var(--gold-light);
}

.cart-page-summary-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-page-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-page-summary-title {
    font-family: var(--font-secondary);
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}

.cart-page-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    padding: 0.35rem 0;
    color: var(--text-muted);
}

.cart-page-summary-row.savings {
    color: var(--success);
    font-weight: 600;
}

.cart-page-summary-row.discount {
    color: var(--success);
    font-weight: 600;
}

.cart-delivery-value {
    font-weight: 700;
    color: var(--text);
}

.cart-delivery-value.pending {
    color: var(--text-dim);
    font-style: italic;
    font-weight: 500;
    font-size: 0.82rem;
}

.cart-page-summary-divider {
    height: 1px;
    background: var(--border);
    margin: 0.8rem 0;
}

.cart-page-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text);
}

.cart-page-total-value {
    color: var(--gold);
    font-size: 1.35rem;
}

.cart-page-free-delivery {
    background: linear-gradient(135deg, rgba(var(--gold-rgb), 0.08), rgba(var(--gold-rgb), 0.03));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.9rem;
    font-size: 0.82rem;
    color: var(--text);
    text-align: center;
    font-weight: 600;
}

.cart-page-free-delivery-bar {
    width: 100%;
    height: 6px;
    background: rgba(var(--gold-rgb), 0.15);
    border-radius: 30px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.cart-page-free-delivery-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    border-radius: 30px;
    transition: width 0.5s ease;
}

.cart-page-promo-hint {
    background: rgba(var(--gold-rgb), 0.08);
    border: 1px dashed var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 0.6rem 0.9rem;
    font-size: 0.8rem;
    color: var(--gold);
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.9rem;
    line-height: 1.4;
}

.cart-page-promo-hint.active {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.12), rgba(46, 204, 113, 0.05));
    border-color: var(--success);
    border-style: solid;
    color: var(--success);
    animation: promoPulse 2s ease-in-out infinite;
}

@keyframes promoPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(46, 204, 113, 0); }
}

.cart-page-form {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-page-form-title {
    font-family: var(--font-secondary);
    color: var(--gold);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: 0.6rem;
    border-bottom: 1px solid var(--border);
}

.cart-page-field {
    margin-bottom: 0.8rem;
}

.cart-page-field label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.cart-page-field input,
.cart-page-field textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    color: var(--text);
    font-size: 16px;
    font-family: inherit;
    transition: border-color var(--transition-fast);
}

.cart-page-field input:focus,
.cart-page-field textarea:focus {
    border-color: var(--gold);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--gold-rgb), 0.15);
}

.cart-page-field textarea {
    resize: vertical;
    min-height: 55px;
}

.cart-page-trust {
    background: rgba(var(--gold-rgb), 0.05);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    margin: 1rem 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.4rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-page-trust > div {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.cart-page-checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--gold), #7d5a1d);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-spring);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    box-shadow: var(--shadow-gold);
    letter-spacing: 0.3px;
}

.cart-page-checkout-btn:hover:not(:disabled) {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(var(--gold-rgb), 0.4);
}

.cart-page-checkout-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.cart-page-suggestions {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.cart-page-suggestions + .cart-page-suggestions {
    margin-top: 2.5rem;
}

.cart-page-suggestions-title {
    font-family: var(--font-secondary);
    color: var(--gold);
    font-size: clamp(1.15rem, 3vw, 1.4rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-page-suggestions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
}

.cart-suggestion-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.cart-suggestion-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-gold);
    box-shadow: var(--shadow-md);
}

.cart-suggestion-img {
    position: relative;
    aspect-ratio: 1/1;
    background: var(--bg-surface);
    overflow: hidden;
}

.cart-suggestion-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-smooth);
}

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

.cart-suggestion-badge {
    position: absolute;
    top: 0.4rem;
    left: 0.4rem;
    background: var(--danger);
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 30px;
    z-index: 2;
}

.cart-suggestion-body {
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    flex: 1;
}

.cart-suggestion-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.2em;
}

.cart-suggestion-price {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.cart-suggestion-current {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--gold);
}

.cart-suggestion-old {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.cart-suggestion-btn {
    background: rgba(var(--gold-rgb), 0.12);
    border: 1px solid var(--border-gold);
    color: var(--gold);
    padding: 0.45rem 0.7rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    margin-top: auto;
}

.cart-suggestion-btn:hover {
    background: var(--gold);
    color: #ffffff;
    border-color: var(--gold);
}

/* ============================================================
   ✅ v3.8.1 : COMPATIBILITÉ MULTI-PLATEFORME
   ============================================================ */

@supports (padding-top: env(safe-area-inset-top)) {
    body {
        padding-top: calc(var(--nav-height) + 8px + env(safe-area-inset-top, 0px));
    }
    #navbar {
        padding-top: env(safe-area-inset-top, 0px);
        height: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    }
    .nav-mobile {
        top: calc(var(--nav-height) + env(safe-area-inset-top, 0px));
    }
}

@media (min-width: 481px) and (max-width: 599px) {
    .cart-page-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .cart-page-item {
        grid-template-columns: 100px 1fr;
        padding: 1rem;
    }
    .cart-page-item-img {
        width: 100px;
        height: 100px;
    }
    .cart-page-summary,
    .cart-page-form {
        padding: 1.3rem;
    }
    .cart-page-suggestions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.9rem;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .cart-page-main {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
    .cart-page-grid {
        grid-template-columns: 1fr 320px;
        gap: 1.5rem;
        align-items: start;
    }
    .cart-page-summary-column {
        position: sticky;
        top: calc(var(--nav-height) + 1.5rem);
    }
    .cart-page-item {
        grid-template-columns: 100px 1fr;
        padding: 1rem;
    }
    .cart-page-item-img {
        width: 100px;
        height: 100px;
    }
    .cart-page-item-name {
        font-size: 1rem;
    }
    .cart-page-summary,
    .cart-page-form {
        padding: 1.2rem;
    }
    .cart-page-suggestions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.9rem;
    }
    .cart-page-summary-title,
    .cart-page-form-title {
        font-size: 1.05rem;
    }
    .cart-page-total-value {
        font-size: 1.2rem;
    }
}

@media (min-width: 768px) {
    .cart-page-main {
        padding-top: 1.5rem;
        padding-bottom: 4rem;
    }
    .cart-page-grid {
        grid-template-columns: 1fr 380px;
        gap: 2rem;
        align-items: start;
    }
    .cart-page-summary-column {
        position: sticky;
        top: calc(var(--nav-height) + 1.5rem);
    }
    .cart-page-item {
        grid-template-columns: 110px 1fr;
        gap: 1.2rem;
        padding: 1.2rem;
    }
    .cart-page-item-img {
        width: 110px;
        height: 110px;
    }
    .cart-page-item-name {
        font-size: 1.05rem;
    }
    .cart-page-suggestions-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .cart-page-grid {
        grid-template-columns: 1fr 420px;
        gap: 2.5rem;
    }
    .cart-page-item {
        grid-template-columns: 120px 1fr;
    }
    .cart-page-item-img {
        width: 120px;
        height: 120px;
    }
    .cart-page-suggestions-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) and (max-width: 1280px) {
    .cart-page-grid {
        grid-template-columns: 1fr 360px;
        gap: 2rem;
    }
}

@media (min-width: 1920px) {
    .cart-page-main {
        max-width: 1400px;
    }
    .cart-page-grid {
        grid-template-columns: 1fr 460px;
        gap: 3rem;
    }
    .cart-page-suggestions-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .cart-page-main {
        padding-top: 0.6rem;
        padding-bottom: 1.5rem;
    }
    .cart-page-summary-column {
        position: static;
    }
    .cart-page-item {
        padding: 0.7rem;
    }
    .cart-page-summary,
    .cart-page-form {
        padding: 1rem;
    }
    .cart-page-suggestions {
        margin-top: 1.5rem;
        padding-top: 1rem;
    }
}

@media (max-width: 480px) {
    .cart-page-main {
        padding-top: 0.8rem;
        padding-bottom: 2rem;
    }
    .cart-page-title {
        font-size: 1.2rem;
    }
    .cart-page-count {
        font-size: 0.75rem;
    }
    .cart-page-item {
        grid-template-columns: 80px 1fr;
        gap: 0.8rem;
        padding: 0.8rem;
    }
    .cart-page-item-img {
        width: 80px;
        height: 80px;
    }
    .cart-page-item-name {
        font-size: 0.88rem;
    }
    .cart-page-item-meta {
        font-size: 0.7rem;
        gap: 0.5rem;
    }
    .cart-page-item-bottom {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .cart-page-item-price {
        order: 1;
        width: 100%;
    }
    .cart-item-current-price {
        font-size: 0.95rem;
    }
    .cart-page-item-actions {
        order: 2;
        margin-left: 0;
    }
    .cart-page-item-linetotal {
        order: 3;
        font-size: 0.9rem;
        min-width: 60px;
    }
    .cart-page-remove-btn {
        order: 4;
        margin-left: auto;
    }
    .cart-page-qty-btn {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    .cart-page-qty-input {
        width: 40px;
        height: 30px;
        font-size: 0.85rem;
    }
    .cart-page-summary,
    .cart-page-form {
        padding: 1.1rem;
        border-radius: var(--radius-md);
    }
    .cart-page-summary-title,
    .cart-page-form-title {
        font-size: 1.05rem;
    }
    .cart-page-total-value {
        font-size: 1.2rem;
    }
    .cart-page-trust {
        grid-template-columns: 1fr;
        font-size: 0.75rem;
    }
    .cart-page-checkout-btn {
        padding: 0.9rem;
        font-size: 0.95rem;
        min-height: 48px;
    }
    .cart-page-suggestions {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    .cart-page-suggestions-title {
        font-size: 1.05rem;
        margin-bottom: 0.8rem;
    }
    .cart-page-suggestions-grid {
        gap: 0.6rem;
    }
    .cart-suggestion-body {
        padding: 0.55rem;
    }
    .cart-suggestion-name {
        font-size: 0.78rem;
    }
    .cart-suggestion-current {
        font-size: 0.85rem;
    }
    .cart-suggestion-btn {
        font-size: 0.68rem;
        padding: 0.4rem 0.5rem;
    }
    .cart-page-empty-icon {
        font-size: 4rem;
    }
    .cart-page-empty-title {
        font-size: 1.1rem;
    }
    .cart-page-empty-text {
        font-size: 0.85rem;
    }
    .cart-page-empty-btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.88rem;
    }
}

@media (max-width: 360px) {
    .cart-page-item {
        grid-template-columns: 70px 1fr;
        gap: 0.6rem;
        padding: 0.7rem;
    }
    .cart-page-item-img {
        width: 70px;
        height: 70px;
    }
    .cart-page-item-name {
        font-size: 0.82rem;
    }
    .cart-item-current-price {
        font-size: 0.9rem;
    }
    .cart-page-item-actions {
        gap: 0.2rem;
    }
    .cart-page-qty-btn {
        width: 28px;
        height: 28px;
    }
    .cart-page-qty-input {
        width: 36px;
        height: 28px;
        font-size: 0.8rem;
    }
    .cart-page-summary,
    .cart-page-form {
        padding: 0.9rem;
    }
    .cart-suggestion-btn {
        font-size: 0.62rem;
        padding: 0.35rem 0.4rem;
    }
}

[dir="rtl"] .cart-page-item {
    grid-template-columns: 1fr 100px;
}

[dir="rtl"] .cart-page-item-img-link {
    grid-column: 2;
    grid-row: 1;
}

[dir="rtl"] .cart-page-item-info {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

[dir="rtl"] .cart-item-rating {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .cart-page-item-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-item-price {
    flex-direction: row-reverse;
    justify-content: flex-start;
}

[dir="rtl"] .cart-page-item-bottom {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-item-linetotal {
    text-align: left;
}

[dir="rtl"] .cart-page-remove-btn {
    margin-left: 0;
    margin-right: auto;
}

[dir="rtl"] .cart-page-summary-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-summary-total {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-items-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-continue-link {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-suggestions-title {
    flex-direction: row-reverse;
}

[dir="rtl"] .cart-page-trust > div {
    flex-direction: row-reverse;
    justify-content: flex-end;
}

[dir="rtl"] .cart-suggestion-btn {
    flex-direction: row-reverse;
}

@media (min-width: 768px) {
    [dir="rtl"] .cart-page-item {
        grid-template-columns: 1fr 110px;
    }
}

@media (min-width: 1024px) {
    [dir="rtl"] .cart-page-item {
        grid-template-columns: 1fr 120px;
    }
}

@media (max-width: 480px) {
    [dir="rtl"] .cart-page-item {
        grid-template-columns: 1fr 80px;
    }
    [dir="rtl"] .cart-page-item-bottom {
        flex-direction: row-reverse;
    }
}

@media (max-width: 360px) {
    [dir="rtl"] .cart-page-item {
        grid-template-columns: 1fr 70px;
    }
}

@media print {
    #navbar,
    .cart-btn-float,
    .back-to-top,
    .navbar-promo-banner,
    .site-footer,
    .toast,
    .notification-bell,
    .cart-page-suggestions,
    .cart-page-actions,
    .cart-page-remove-btn,
    .cart-page-clear-btn {
        display: none !important;
    }
    .cart-page-grid {
        display: block !important;
    }
    .cart-page-item {
        break-inside: avoid;
        page-break-inside: avoid;
        border: 1px solid #ccc;
    }
    .cart-page-item-img {
        max-width: 100px;
    }
    .cart-page-summary,
    .cart-page-form {
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    body {
        background: white;
        color: black;
        padding-top: 0;
    }
}