/* ============================================
   BOUTIQUE CLIENT - MODERN CSS
   Ekstraòdinè ak Modèn!
   ============================================ */

/* ============================================
   VARIABLES
   ============================================ */

/* STYLES ORIGINAL POU BOUTON AUTH */
.auth-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-auth {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    cursor: pointer;
}

.btn-login {
    background: transparent;
    color: #6366f1;
    border: 1px solid #6366f1;
}

.btn-login:hover {
    background: #6366f1;
    color: white;
}

.btn-register {
    background: #6366f1;
    color: white;
    border: 1px solid #6366f1;
}

.btn-register:hover {
    background: #4f46e5;
    border-color: #4f46e5;
}

/* RANPLASE AVÈK EMOJI SOU MOBILE */
@media (max-width: 768px) {
    .auth-buttons {
        gap: 6px;
    }
    
    .btn-auth {
        padding: 8px; /* Fè bouton yo pi piti */
        min-width: 40px;
        min-height: 40px;
        justify-content: center;
        border-radius: 8px;
    }
    
    /* Kache tèks, montre sèlman emoji */
    .btn-auth span {
        display: none;
    }
    
    /* Ranplase ikon FontAwesome pa emoji */
    .btn-auth i {
        display: none;
    }
    
    /* Ajoute emoji apre bouton lan */
    .btn-auth::after {
        content: "";
        font-size: 16px;
        line-height: 1;
    }
    
    /* Emoji pou login */
    .btn-login::after {
        content: "🔑";
    }
    
    /* Emoji pou register */
    .btn-register::after {
        content: "👤";
    }
}

/* Si ou vle yon vèsyon ki montre emoji deyò, tèks andedan (pou accessibility) */
/* 
.btn-auth {
    position: relative;
}

.btn-auth span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
*/



:root {
    --primary: #0891b2;
    --primary-dark: #0e7490;
    --primary-light: #06b6d4;
    --accent: #a855f7;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    --text-dark: #0f172a;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px rgba(0,0,0,0.15);
    
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    
    --transition: all 0.3s ease;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

button {
    font-family: inherit;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-lg);
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

/* Brand */
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--primary);
}

.brand-logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.brand-icon {
    font-size: 32px;
}

.brand-name {
    white-space: nowrap;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    gap: 8px;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--primary);
    background: var(--bg-light);
}

.nav-link.active {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(6, 182, 212, 0.1));
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 3px 3px 0 0;
}

/* Actions */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.action-btn {
    position: relative;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

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

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* Search Bar */
.search-bar {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--bg-light);
    border-top: 1px solid var(--border);
}

.search-bar.active {
    max-height: 100px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 0;
}

.search-input-wrapper i {
    color: var(--text-muted);
    font-size: 18px;
}

.search-input-wrapper input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    transition: var(--transition);
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-close {
    padding: 8px 12px;
    background: var(--danger);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.search-close:hover {
    background: #dc2626;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero-section {
    margin-top: 76px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: inherit;
}

.hero-logo {
    margin-bottom: 32px;
}

.hero-logo img {
    max-height: 120px;
    width: auto;
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 24px;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: inherit;
    flex-wrap: wrap;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(8, 145, 178, 0.4);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border-color: white;
}

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

.btn-block {
    width: 100%;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.section-title i {
    color: var(--primary);
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}



.simple-credit {
    font-size: 14px;
    color: #a0aec0; 
    text-align: center;
    margin-top: 10px;
}

.simple-credit a.dekode-credit-link {
    color: #F5F5DC;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.simple-credit a.dekode-credit-link:hover {
    color: #ffffff;
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */


.categories-section {
    padding: 80px 0;
    background: #80dfff;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.category-card {
    background: white;
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.category-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.category-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.category-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    font-size: 14px;
    transition: var(--transition);
}

.category-card:hover .category-arrow {
    background: var(--primary);
    color: white;
    transform: translateX(4px);
}
.categories-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.categories-grid::-webkit-scrollbar {
    display: none;
}
.category-card {
    flex: 0 0 auto;
    padding: 12px 20px; /* redwi taille */
    border-radius: 999px; /* pill */
    min-width: auto;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    transform: none;
}
.category-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
    margin: 0;
}
.category-name {
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
}

.category-description {
    display: none; /* optionnel */
}
.category-card:hover {
    transform: translateY(-2px);
}

/* ============================================
   PRODUCTS SECTIONS
   ============================================ */
.featured-section,
.products-section {
    padding: 80px 0;
}

.featured-section {
    background: white;
}

.products-section {
    background: var(--bg-light);
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-left {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sort-select {
    padding: 10px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary);
}

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

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

/* Product Image */
.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bg-light);
}

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

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: var(--text-light);
}

/* Badges */
.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.badge-featured {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.badge-sale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Product Actions */
.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
}

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

.action-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.action-icon:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Product Info */
.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing */
.product-pricing {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    margin-top: auto;
}

.price-compare {
    font-size: 16px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

/* Add to Cart Button */
.btn-add-cart {
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* ============================================
   CART SIDEBAR
   ============================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: white;
    box-shadow: var(--shadow-xl);
    z-index: 2000;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 2px solid var(--border);
}

.cart-header h3 {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    background: var(--danger);
    color: white;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 2px solid var(--border);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.newsletter-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.newsletter-content p {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.9;
}

.newsletter-form-main {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form-main input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
}

.newsletter-form-main .btn {
    padding: 16px 32px;
    background: white;
    color: var(--primary);
}

.newsletter-form-main .btn:hover {
    background: var(--bg-light);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--text-dark);
    color: white;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-title i {
    color: var(--primary-light);
}

.footer-about {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 16px;
}

.footer-note {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-link.whatsapp { background: #25d366; }
.social-link.facebook { background: #1877f2; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Newsletter Footer */
.newsletter {
    margin-top: 24px;
}

.newsletter-text {
    font-size: 14px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-btn {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-btn:hover {
    background: var(--primary);
}

/* Footer Bottom */
.footer-bottom {
    padding: 24px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.payment-methods {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.payment-logo {
    height: 24px;
}

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.whatsapp-float,
.back-to-top {
    position: fixed;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
}

.whatsapp-float {
    right: 24px;
    background: #25d366;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
}

.back-to-top {
    right: 24px;
    bottom: 92px;
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: all;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* ============================================
   EMPTY STATE
   ============================================ */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    grid-column: 1 / -1;
}

.empty-state i {
    font-size: 80px;
    color: var(--text-light);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-muted);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .navbar-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 280px;
        height: calc(100vh - 76px);
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-xl);
        transition: left 0.3s ease;
    }

    .navbar-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-left {
        order: 2;
    }

    .filter-right {
        order: 1;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .newsletter-form-main {
        flex-direction: column;
    }
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 60px;
    padding: 40px 20px;
    flex-wrap: wrap;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

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

.pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-number {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: white;
    border: 2px solid var(--border);
    color: var(--text-dark);
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
}

.pagination-number:hover {
    background: var(--bg-light);
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-number.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

.pagination-dots {
    padding: 0 8px;
    color: var(--text-muted);
    font-weight: 600;
}

.pagination-info {
    text-align: center;
    margin-top: 24px;
}

.pagination-info p {
    color: var(--text-muted);
    font-size: 15px;
}

.pagination-info strong {
    color: var(--primary);
    font-weight: 700;
}

/* Responsive Pagination */
@media (max-width: 768px) {
    .pagination {
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .pagination-number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    /* Hide some page numbers on mobile */
    .pagination-numbers a:not(.active):nth-child(n+4):nth-last-child(n+4) {
        display: none;
    }
}

@media (max-width: 480px) {
    .pagination {
        flex-direction: column;
        gap: 16px;
    }
    
    .pagination-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-icon {
    font-size: 72px;
    margin-bottom: 24px;
    opacity: 0.9;
}

.cta-content h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 36px;
    font-size: 16px;
}

.btn-outline-white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary);
    border: 2px solid white;
}

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

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb-section {
    padding: 24px 0;
    background: var(--bg-light);
    margin-top: 76px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.breadcrumb i {
    color: var(--text-light);
    font-size: 12px;
}

.breadcrumb span {
    color: var(--text-muted);
}

/* ============================================
   PRODUCTS PAGE
   ============================================ */
.products-page {
    padding: 60px 0;
}

.page-header {
    margin-bottom: 48px;
}

.page-header-content {
    text-align: center;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}


.page-title i {
    color: var(--primary);
}

.page-subtitle {
    font-size: 18px;
    color: var(--text-muted);
}

/* Products Layout */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* ============================================
   SIDEBAR
   ============================================ */
.products-sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-widget {
    background: white;
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.widget-title i {
    color: var(--primary);
}

.category-list {
    list-style: none;
}

.category-list li {
    margin-bottom: 8px;
}

.category-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.category-list a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 24px;
}

.category-list a.active {
    background: linear-gradient(135deg, rgba(8, 145, 178, 0.1), rgba(6, 182, 212, 0.1));
    color: var(--primary);
    font-weight: 700;
}

.category-list a i {
    font-size: 14px;
}

.category-list a .count {
    margin-left: auto;
    padding: 4px 10px;
    background: var(--bg-light);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.category-list a.active .count {
    background: var(--primary);
    color: white;
}

/* Widget Info */
.widget-info {
    text-align: center;
    border: 2px dashed var(--border);
    background: var(--bg-light);
}

.info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.widget-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.widget-info p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 0;
}

/* ============================================
   PRODUCTS MAIN
   ============================================ */
.products-main {
    display: flex;
    flex-direction: column;
}

.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.toolbar-info {
    font-size: 14px;
    color: var(--text-muted);
}

.toolbar-info strong {
    color: var(--primary);
    font-weight: 700;
}

.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.toolbar-sort label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

/* ============================================
   RESPONSIVE PRODUCTS PAGE
   ============================================ */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 240px 1fr;
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .products-layout {
        grid-template-columns: 1fr;
    }

    .products-sidebar {
        order: 2;
    }

    .products-main {
        order: 1;
    }

    .page-title {
        font-size: 32px;
    }

    .cta-content h2 {
        font-size: 32px;
    }

    .cta-actions {
        flex-direction: column;
    }
} 