/* ==========================================================================
     📍 PLAN DE NAVIGATION ET STRUCTURE DU DESIGN SYSTEM - STYLE.CSS
     --------------------------------------------------------------------------
     Ce fichier définit la charte graphique et la mise en page (CSS).
     Voici l'index détaillé des sections et des blocs de styles :
     
     1. [Ligne ~10]   DESIGN SYSTEM & VARIABLES : Couleurs, polices, arrondis, ombres et resets.
     2. [Ligne ~120]  BOUTONS & CONTROLES GENERAUX : Styles de boutons (.btn, .btn-secondary, etc.).
     3. [Ligne ~211]  STRUCTURE GLOBALE (Layout) : Conteneurs généraux (.container, .section).
     4. [Ligne ~310]  HEADER SECTION : Top Bar de contact et Header principal.
     5. [Ligne ~410]  BARRE DE NAVIGATION : Styles du menu horizontal des catégories (.nav-bar).
     6. [Ligne ~500]  ANNOUNCEMENT TICKER : Bannière de message défilant sous le menu.
     7. [Ligne ~550]  HERO CAROUSEL SLIDER : Structure et transitions du carrousel de la page d'accueil.
     8. [Ligne ~635]  FEATURES BAR : Mise en page de la barre de réassurance commerciale B2B.
     9. [Ligne ~700]  PRODUCT CATALOG SECTION : Grille de catalogue et filtres.
     10. [Ligne ~820] CARD BADGES & PRODUCT CARDS : Cartes produits avec effet de survol et tilt.
     11. [Ligne ~1000] FOOTER SECTION : Style du pied de page légal et réseaux.
     12. [Ligne ~1120] CART DRAWER (SIDEBAR) : Style du panneau latéral coulissant du panier.
     13. [Ligne ~1280] MODALS & DIALOGS OVERLAYS : Structure des fenêtres surgissantes.
     14. [Ligne ~1360] AUTHENTICATION & LOGIN FORM : Formulaires de connexion et d'inscription.
     15. [Ligne ~1520] CLIENT PROFILE & ORDER HISTORY : Tableau de suivi des commandes clients.
     16. [Ligne ~1630] ADMIN DASHBOARD PANELS : Styles des tables d'administration, onglets, statistiques.
     17. [Ligne ~2180] B2B PAYMENT PORTAL STYLES : Mise en page du portail sécurisé.
     18. [Ligne ~2380] 3D INTERACTIVE CREDIT CARD VISUALS : Animation de flip 3D de la carte de paiement.
     19. [Ligne ~2500] RESPONSIVENESS & MEDIA QUERIES : Adaptabilité écrans mobiles et tablettes.
     ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    --primary-color: #0a1d37;        /* Deep Navy Blue */
    --primary-light: #162f52;        /* Lighter Navy for hovers */
    --secondary-color: #c49a45;      /* Metallic Gold */
    --secondary-light: #d6b265;      /* Lighter Gold for hovers */
    --secondary-dark: #a27a2e;       /* Deep Gold for borders/shadows */
    --bg-cream: #fdfbf7;             /* Soft Mediterranean Cream */
    --bg-white: #ffffff;
    --bg-gray: #f4f6f9;
    --text-dark: #0f2547;
    --text-muted: #5e728d;
    --text-light: #ffffff;
    --accent-red: #d9534f;
    --border-color: #e2e8f0;
    --shadow-sm: 0 2px 4px rgba(10, 29, 55, 0.05);
    --shadow-md: 0 4px 12px rgba(10, 29, 55, 0.08);
    --shadow-lg: 0 10px 25px rgba(10, 29, 55, 0.12);
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --font-titles: 'Cinzel', serif;
    --font-body: 'Outfit', sans-serif;
    --max-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
}

/* --- Base Reset & General --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
    transition: var(--transition-fast);
}

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

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

.divider {
    color: var(--text-muted);
    opacity: 0.3;
    margin: 0 0.5rem;
}

/* --- Utility Components --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    transition: var(--transition-normal);
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary-outline {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-secondary-outline:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-block {
    display: flex;
    width: 100%;
}

.badge-gold {
    display: inline-block;
    background-color: rgba(196, 154, 69, 0.15);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    margin-bottom: 0.5rem;
}

/* ==========================================================================
   HEADER SECTION
   ========================================================================== */

/* --- Top Header --- */
.top-header {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.top-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-contact {
    display: flex;
    gap: 1.2rem;
}

.top-contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.top-contact a:hover {
    color: var(--secondary-color);
}

/* --- Main Header --- */
.main-header {
    background-color: var(--bg-white);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.main-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo-container:hover .main-logo {
    transform: scale(1.03);
}

/* --- Live Search Bar --- */
.search-wrapper {
    flex: 1;
    max-width: 550px;
    position: relative;
}

.search-input-group {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: var(--bg-gray);
    transition: var(--transition-fast);
}

.search-input-group:focus-within {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(196, 154, 69, 0.2);
    background-color: var(--bg-white);
}

.search-input-group input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.search-input-group input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 0 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: var(--primary-light);
}

/* --- Search Suggestions Dropdown --- */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 0.5rem;
    z-index: 101;
    max-height: 350px;
    overflow-y: auto;
    display: none;
}

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

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.suggestion-item:hover {
    background-color: var(--bg-gray);
}

.suggestion-img {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.suggestion-info {
    flex: 1;
}

.suggestion-title {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text-dark);
}

.suggestion-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.suggestion-price {
    font-weight: 600;
    color: var(--secondary-color);
    font-size: 0.88rem;
}

/* --- Header Actions --- */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* User & Cart buttons */
.btn-login-toggle {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--primary-color);
    text-align: left;
    padding: 0.5rem;
    border-radius: var(--radius-md);
}

.btn-login-toggle i {
    font-size: 1.8rem;
}

.btn-login-toggle:hover {
    background-color: rgba(10, 29, 55, 0.05);
}

.login-text, .cart-text {
    display: flex;
    flex-direction: column;
}

.small-text {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.bold-text {
    font-size: 0.85rem;
    font-weight: 600;
}

.cart-toggle-btn {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background-color: var(--bg-cream);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    color: var(--primary-color);
}

.cart-toggle-btn:hover {
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
}

.cart-icon-wrapper {
    position: relative;
    font-size: 1.3rem;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
.nav-bar {
    background-color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
}

.nav-container {
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
}

.nav-links li {
    flex: 1;
    text-align: center;
}

.nav-link {
    display: block;
    color: rgba(255, 255, 255, 0.85);
    padding: 1rem 0.5rem;
    font-size: 0.88rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
}

.nav-link:hover, .nav-link.active {
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.02);
    border-bottom-color: var(--secondary-color);
}

/* ==========================================================================
   ANNOUNCEMENT TICKER
   ========================================================================== */
.announcement-ticker {
    background-color: rgba(196, 154, 69, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 0;
    font-size: 0.82rem;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid rgba(196, 154, 69, 0.2);
}

.ticker-content {
    display: flex;
    width: 100%;
    justify-content: space-around;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.ticker-item {
    padding: 0 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-item i {
    color: var(--secondary-color);
}

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

/* ==========================================================================
   HERO SLIDER
   ========================================================================== */
.hero-section {
    position: relative;
}

.carousel-container {
    height: 480px;
    position: relative;
    overflow: hidden;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.slide-content {
    color: var(--text-light);
    max-width: 650px;
    z-index: 3;
    transform: translateY(30px);
    transition: transform 0.8s ease;
}

.carousel-slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h1 {
    font-family: var(--font-titles);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.slide-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    font-weight: 300;
}

.slide-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Slide Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(10, 29, 55, 0.4);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.carousel-control:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.carousel-control.prev { left: 20px; }
.carousel-control.next { right: 20px; }

/* Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-fast);
}

.indicator.active {
    background-color: var(--secondary-color);
    transform: scale(1.2);
}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */
.features-bar {
    background-color: var(--bg-white);
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    background-color: rgba(196, 154, 69, 0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-text h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.feature-text p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ==========================================================================
   CATALOG SECTION
   ========================================================================== */
.catalog-section {
    padding: 4rem 0;
    background-color: var(--bg-cream);
}

.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.catalog-title-wrapper .subtitle {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--secondary-color);
    font-weight: 600;
}

.catalog-title-wrapper h2 {
    font-family: var(--font-titles);
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.catalog-controls {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.product-count {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.sort-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
}

.sort-wrapper select {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-white);
}

/* --- Alert Locked Box --- */
.alert-box-locked {
    background-image: linear-gradient(135deg, rgba(10, 29, 55, 0.03) 0%, rgba(196, 154, 69, 0.05) 100%);
    border: 1px solid rgba(196, 154, 69, 0.3);
    border-left: 5px solid var(--secondary-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    box-shadow: var(--shadow-sm);
}

.alert-box-locked.hidden {
    display: none;
}

.alert-box-locked .alert-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.alert-message {
    flex: 1;
}

.alert-message h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.alert-message p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* --- Products Grid --- */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 2rem;
}

/* --- Product Card --- */
.product-card {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: var(--transition-normal);
    position: relative;
}

.product-card:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background-color: #fafafa;
    overflow: hidden;
}

.product-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--primary-color);
    color: var(--text-light);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-quickview-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -30%);
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 1px solid var(--primary-color);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    z-index: 3;
    box-shadow: var(--shadow-md);
}

.product-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 29, 55, 0.3);
    opacity: 0;
    transition: var(--transition-fast);
    z-index: 1;
}

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

.product-card:hover .card-quickview-btn {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.card-quickview-btn:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

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

.product-card-brand {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    line-height: 1.35;
    height: 2.6rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-info {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.product-card-info span strong {
    color: var(--text-dark);
}

.product-card-footer {
    margin-top: auto;
}

/* Price view logic */
.price-locked-btn {
    width: 100%;
    padding: 0.6rem;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-sm);
    background-color: var(--bg-gray);
    color: var(--text-muted);
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.price-locked-btn:hover {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
}

.price-active-zone {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price-block {
    display: flex;
    flex-direction: column;
}

.product-price-block .price {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}

.product-price-block .ht {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: -0.2rem;
}

.btn-add-cart-quick {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    background-color: var(--primary-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.btn-add-cart-quick:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.main-footer {
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.88rem;
    border-top: 4px solid var(--secondary-color);
}

.footer-top {
    padding: 4rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}

.about-col p {
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-links a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-col h3 {
    font-family: var(--font-titles);
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul a:hover {
    color: var(--secondary-color);
    padding-left: 4px;
}

.contact-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    font-size: 0.82rem;
}

.contact-item i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 3px;
}

.contact-item strong {
    color: var(--text-light);
}

.security-badges {
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.security-badges i {
    color: var(--secondary-color);
    font-size: 1.3rem;
}

.badge-text {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    font-size: 0.78rem;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.designer-tag {
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   CART DRAWER (SIDEBAR)
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 29, 55, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 998;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 100%;
    max-width: 420px;
    background-color: var(--bg-white);
    box-shadow: -5px 0 25px rgba(0,0,0,0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.cart-drawer-header h3 {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-close-drawer {
    color: var(--text-light);
    font-size: 1.3rem;
}

.btn-close-drawer:hover {
    color: var(--secondary-color);
}

.cart-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

/* Empty View */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: var(--text-muted);
}

.cart-empty i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1rem;
}

.cart-empty p {
    margin-bottom: 1.5rem;
}

/* Cart list items */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.cart-item-meta {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.cart-item-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.quantity-control button {
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-gray);
    font-size: 0.75rem;
}

.quantity-control button:hover {
    background-color: var(--border-color);
}

.quantity-control input {
    width: 30px;
    height: 25px;
    border: none;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-item-price {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.88rem;
}

.btn-remove-item {
    color: var(--accent-red);
    font-size: 0.85rem;
}

.btn-remove-item:hover {
    opacity: 0.7;
}

/* Cart Footer */
.cart-drawer-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--bg-gray);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.cart-summary-row.total-row {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}



.btn-checkout {
    width: 100%;
    padding: 0.9rem;
    font-weight: 600;
}

/* ==========================================================================
   MODAL DIALOG (LOGIN & QUICK VIEW)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 29, 55, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1000;
    padding: 1rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    position: relative;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    border: 1px solid rgba(196, 154, 69, 0.2);
}

.modal-overlay.active .modal-card {
    transform: translateY(0);
}

.btn-close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.4rem;
    color: var(--text-muted);
    z-index: 10;
}

.btn-close-modal:hover {
    color: var(--primary-color);
}

/* --- Login Modal Card --- */
.login-card {
    padding: 2.5rem 2rem;
}

.login-modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}

.login-modal-header h3 {
    font-family: var(--font-titles);
    font-size: 1.35rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.login-modal-header p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.login-tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 1.5rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    text-align: center;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--secondary-color);
}

.modal-form {
    display: none;
}

.modal-form.active {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-gray);
    padding: 0 0.75rem;
    transition: var(--transition-fast);
}

.input-wrapper:focus-within {
    border-color: var(--secondary-color);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(196, 154, 69, 0.15);
}

.input-wrapper i {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.65rem 0.25rem;
    font-size: 0.88rem;
}

.form-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-muted);
    cursor: pointer;
}

.forgot-pwd {
    color: var(--secondary-dark);
    font-weight: 500;
}

.forgot-pwd:hover {
    text-decoration: underline;
}

.disclaimer-text {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.4;
    margin-top: 0.5rem;
}

.form-error-msg {
    color: var(--accent-red);
    font-size: 0.78rem;
    text-align: center;
    display: none;
}

/* --- Product Detail Modal Card --- */
.product-detail-card {
    max-width: 850px;
    padding: 0;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
}

.product-modal-image-wrapper {
    position: relative;
    background-color: #fafafa;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-badge {
    position: absolute;
    top: 20px;
    left: 20px;
}

.modal-product-image {
    max-height: 400px;
    object-fit: contain;
}

.product-modal-info {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--secondary-color);
    letter-spacing: 1.5px;
    margin-bottom: 0.25rem;
}

.product-modal-info h2 {
    font-family: var(--font-titles);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.25;
    margin-bottom: 1rem;
}

.product-packaging-info {
    background-color: var(--bg-cream);
    border: 1px solid rgba(196, 154, 69, 0.15);
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pkg-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
}

.pkg-label {
    color: var(--text-muted);
}

.pkg-value {
    font-weight: 600;
    color: var(--primary-color);
}

.product-description-text {
    margin-bottom: 2rem;
}

.product-description-text h3 {
    font-size: 0.88rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.25rem;
}

.product-description-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Pricing Action Zone */
.modal-pricing-zone-locked {
    background-color: var(--bg-gray);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.modal-pricing-zone-locked p {
    font-size: 0.78rem;
    color: var(--text-muted);
    max-width: 250px;
}

.modal-pricing-active {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-price-display {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

.modal-price-display .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.modal-price-display .ht {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.modal-action-row {
    display: flex;
    gap: 1rem;
}

.modal-qty-select {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 48px;
}

.modal-qty-select button {
    width: 35px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-gray);
}

.modal-qty-select button:hover {
    background-color: var(--border-color);
}

.modal-qty-select input {
    width: 45px;
    height: 100%;
    border: none;
    text-align: center;
    font-weight: 600;
}

.btn-add-cart-modal {
    flex: 1;
    height: 48px;
    font-weight: 600;
}

/* ==========================================================================
   TOAST NOTIFICATION
   ========================================================================== */
.notification-toast {
    position: fixed;
    bottom: -80px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-left: 5px solid var(--secondary-color);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    z-index: 1100;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), bottom 0.3s ease;
}

.notification-toast.active {
    bottom: 30px;
}

.notification-toast i {
    color: var(--secondary-color);
    font-size: 1.25rem;
}

.toast-message {
    font-size: 0.88rem;
    font-weight: 500;
}

/* --- Profile Card & Order History --- */
.profile-card {
    max-width: 650px;
    padding: 2.5rem 2rem;
}

.profile-modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.profile-header-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.profile-modal-header h3 {
    font-family: var(--font-titles);
    font-size: 1.45rem;
    color: var(--primary-color);
    font-weight: 700;
}

.profile-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 1.5rem;
    background-color: var(--bg-cream);
    border: 1px solid rgba(196, 154, 69, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 2rem;
}

.profile-detail-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(10, 29, 55, 0.05);
    padding-bottom: 0.35rem;
}

.profile-detail-item:last-child, .profile-detail-item:nth-last-child(2) {
    border-bottom: none;
    padding-bottom: 0;
}

.detail-label {
    color: var(--text-muted);
}

.detail-val {
    font-weight: 600;
    color: var(--primary-color);
}

.order-history-section h3 {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.order-history-container {
    max-height: 250px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
}

.order-history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    display: table;
}

.order-history-table th, .order-history-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.order-history-table th {
    background-color: var(--bg-gray);
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
}

.order-history-table td {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.order-history-table tr:last-child td {
    border-bottom: none;
}

.order-history-table tr:hover td {
    background-color: rgba(196, 154, 69, 0.03);
}

.badge-status {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
}

.badge-status.pending {
    background-color: rgba(162, 122, 46, 0.1);
    color: #6a4a0f;
    border: 1px solid rgba(162, 122, 46, 0.25);
}

.history-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2.5rem;
    color: var(--text-muted);
    text-align: center;
}

.history-empty i {
    font-size: 2.5rem;
    color: var(--border-color);
    margin-bottom: 0.5rem;
}

.history-empty p {
    font-size: 0.82rem;
}

/* --- Admin Card & Dashboard Stats --- */
.admin-card {
    max-width: 800px;
    padding: 2.5rem 2rem;
}

.admin-modal-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.admin-header-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.admin-modal-header h3 {
    font-family: var(--font-titles);
    font-size: 1.45rem;
    color: var(--primary-color);
    font-weight: 700;
}

.admin-stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.stat-box {
    background-color: var(--bg-cream);
    border: 1px solid rgba(196, 154, 69, 0.15);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

#stat-total-ca {
    color: var(--secondary-dark);
}

.stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-top: 0.25rem;
    letter-spacing: 0.5px;
}

.admin-orders-section h3 {
    font-family: var(--font-titles);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-orders-container {
    max-height: 300px;
    overflow-y: auto;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background-color: var(--bg-white);
}

.admin-orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
    display: table;
}

.admin-orders-table th, .admin-orders-table td {
    padding: 0.75rem 1rem;
    text-align: left;
}

.admin-orders-table th {
    background-color: var(--bg-gray);
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 5;
}

.admin-orders-table td {
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
}

.admin-orders-table tr:last-child td {
    border-bottom: none;
}

.admin-orders-table tr:hover td {
    background-color: rgba(196, 154, 69, 0.02);
}

.badge-status.validated {
    background-color: rgba(30, 117, 187, 0.1);
    color: #185280;
    border: 1px solid rgba(30, 117, 187, 0.25);
}

.btn-action-validate {
    background-color: #2b7a4c;
    color: var(--text-light);
    border: 1px solid #2b7a4c;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.btn-action-validate:hover {
    background-color: #205c39;
    border-color: #205c39;
}

.validated-text {
    color: #2b7a4c;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.admin-orders-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: var(--text-muted);
    text-align: center;
}

.admin-orders-empty i {
    font-size: 2.8rem;
    color: var(--border-color);
    margin-bottom: 0.5rem;
}

.admin-orders-empty p {
    font-size: 0.85rem;
}

/* --- Price Edit Button --- */
.btn-edit-price {
    background-color: var(--bg-gray);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    cursor: pointer;
    vertical-align: middle;
    transition: var(--transition-fast);
}

.btn-edit-price:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

/* --- Admin Catalog Management --- */
.admin-prod-thumb {
    width: 35px;
    height: 35px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.admin-slide-thumb {
    width: 70px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.btn-action-delete {
    color: var(--accent-red);
    font-size: 1rem;
    padding: 0.25rem;
}

.btn-action-delete:hover {
    opacity: 0.7;
}

/* --- Image Overlay Upload Button --- */
.product-modal-image-wrapper {
    position: relative;
}

.btn-change-image-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(10, 29, 55, 0.85);
    color: var(--secondary-color);
    border: 1px solid rgba(196, 154, 69, 0.4);
    padding: 0.45rem 0.8rem;
    border-radius: var(--radius-sm);
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    z-index: 10;
    transition: var(--transition-fast);
}

.btn-change-image-overlay:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.badge-status.paid {
    background-color: rgba(43, 122, 76, 0.12);
    color: #1e5a36;
    border: 1px solid rgba(43, 122, 76, 0.25);
}

.payment-tabs .tab-btn {
    background: var(--bg-gray);
    border: 1px solid var(--border-color);
    border-bottom: none;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    transition: var(--transition-fast);
}

.payment-tabs .tab-btn.active {
    background: #fff;
    border-color: var(--border-color);
    color: var(--primary-color);
    font-weight: 600;
    border-bottom: 2px solid #fff;
    margin-bottom: -2px;
}

@keyframes spin-3ds {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-success {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(43, 122, 76, 0.4); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(43, 122, 76, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(43, 122, 76, 0); }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .product-modal-grid {
        grid-template-columns: 1fr;
    }
    .product-modal-image-wrapper {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 1.5rem;
    }
    .product-modal-info {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 1rem;
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
    
    .search-wrapper {
        width: 100%;
        max-width: none;
        order: 3;
    }
    
    .header-actions {
        width: 100%;
        justify-content: space-between;
        order: 2;
    }
    
    .logo-container {
        order: 1;
    }
    
    .main-logo {
        height: 60px;
    }
    
    .hidden-mobile {
        display: none !important;
    }
    
    .nav-links {
        justify-content: flex-start;
        overflow-x: auto;
        white-space: nowrap;
        flex-wrap: nowrap;
        padding: 0.5rem 0;
    }
    
    .nav-links li {
        flex: 0 0 auto;
    }
    
    .nav-link {
        padding: 0.5rem 1rem;
    }
    
    .slide-content h1 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
    
    .carousel-container {
        height: 380px;
    }
    
    .catalog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .catalog-controls {
        width: 100%;
        justify-content: space-between;
    }
    
    .alert-box-locked {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .alert-box-locked button {
        width: 100%;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media (max-width: 480px) {
    .slide-actions .btn {
        width: 100%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        text-align: center;
    }
    
    .top-header-container {
        justify-content: center;
        text-align: center;
    }
    
    .top-contact {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   3D CREDIT CARD & ANIMATION EFFECTS
   ========================================================================== */
.card-3d-container {
    perspective: 1000px;
    width: 100%;
    max-width: 320px;
    height: 180px;
    margin: 0 auto 1.5rem auto;
    cursor: pointer;
}

.card-3d-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: left;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
}

/* When flipped */
.card-3d-inner.flipped {
    transform: rotateY(180deg);
}

.card-3d-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: var(--radius-lg);
    padding: 1.25rem;
    box-sizing: border-box;
    color: #fff;
    font-family: 'Courier New', Courier, monospace;
    box-shadow: 0 10px 25px rgba(10, 29, 55, 0.3);
    overflow: hidden;
}

.card-3d-front {
    background: linear-gradient(135deg, #0a1d37 0%, #1f3c64 100%);
    border: 1px solid rgba(196, 154, 69, 0.3);
}

.card-3d-back {
    background: linear-gradient(135deg, #1f3c64 0%, #0a1d37 100%);
    transform: rotateY(180deg);
    padding: 0;
    border: 1px solid rgba(196, 154, 69, 0.3);
}

.card-3d-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(196, 154, 69, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.card-3d-chip {
    width: 38px;
    height: 28px;
    background: linear-gradient(135deg, #e5c07b 0%, #c49a45 100%);
    border-radius: 5px;
    position: relative;
}

.card-3d-chip::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 8px;
    width: 22px;
    height: 20px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 3px;
}

.card-3d-number {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
    word-spacing: 3px;
}

.card-3d-label {
    font-size: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.card-3d-name, .card-3d-expiry {
    font-size: 0.78rem;
    letter-spacing: 1.2px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    text-transform: uppercase;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card-3d-strip {
    width: 100%;
    height: 36px;
    background: #111;
    margin-top: 1.25rem;
}

.card-3d-signature-zone {
    background: repeating-linear-gradient(45deg, #fff, #fff 10px, #f2f2f2 10px, #f2f2f2 20px);
    width: 80%;
    height: 30px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    margin-left: 1rem;
}

.card-3d-cvv-text {
    color: #000;
    font-weight: 700;
    font-style: italic;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* Modal 3D Perspective and Glassmorphism */
.modal-overlay {
    perspective: 1200px;
    background-color: rgba(10, 29, 55, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-card {
    transform: scale(0.9) rotateX(8deg);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1) rotateX(0deg);
    opacity: 1;
}

/* Spring Hover effects on elements */
.btn, .product-card, .user-profile-info {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(1px);
}

/* Pulse animation for cart */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.badge-cart-pulse {
    animation: pulse 0.45s ease-out 2;
}

/* 3D tilt shadows */
.product-card {
    transform-style: preserve-3d;
    will-change: transform;
}

.product-card:hover {
    box-shadow: 0 15px 30px rgba(10, 29, 55, 0.15);
}
