/* WeliaStore - Design Jumia-Style Modern */

:root {
    --orange-primary: #f68b1e;
    --orange-secondary: #ff9a3c;
    --orange-dark: #e57b0e;
    --dark-blue: #282c35;
    --text-dark: #313133;
    --text-muted: #75757a;
    --text-light: #9c9ca0;
    --green-stock: #4caf50;
    --blue-promo: #00bcd4;
    --hot-badge: #4caf50;
    --border-light: #e8e8e8;
    --bg-light: #f5f5f5;
    --bg-white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* ========== TOP HEADER ========== */
.top-header {
    background: var(--bg-white);
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

.top-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 20px;
}

.logo-image {
    height: 56px;
    width: auto;
    object-fit: contain;
    display: block;
}

@media (max-width: 768px) {
    .logo-image {
        height: 42px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .top-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-container {
        order: 3;
        flex: 0 0 100%;
        margin: 10px 0 0 0;
        max-width: 100%;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .call-info {
        display: none;
    }
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--orange-primary);
}

/* Search Bar */
.search-container {
    flex: 1;
    max-width: 550px;
    margin: 0 30px;
}

.search-form {
    display: flex;
    border: 2px solid var(--border-light);
    border-radius: 25px;
    overflow: hidden;
    background: var(--bg-white);
    transition: border-color 0.3s ease;
}

.search-form:focus-within {
    border-color: var(--orange-primary);
}

.search-input {
    flex: 1;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    outline: none;
    background: transparent;
}

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

.search-btn {
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: var(--orange-dark);
}

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

.call-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-dark);
}

.call-icon {
    width: 40px;
    height: 40px;
    background: var(--orange-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.call-text {
    font-size: 12px;
}

.call-text span {
    display: block;
    color: var(--text-muted);
}

.call-text strong {
    color: var(--text-dark);
}

.cart-btn {
    position: relative;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.cart-btn i {
    font-size: 24px;
    color: var(--text-dark);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--orange-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Language Selector */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.lang-btn:hover {
    border-color: var(--orange-primary);
    background: rgba(246, 139, 30, 0.05);
}

.lang-btn i:first-child {
    color: var(--orange-primary);
}

.lang-btn .fa-chevron-down {
    font-size: 10px;
    color: var(--text-muted);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    z-index: 1000;
    display: none;
    min-width: 140px;
    margin-top: 5px;
}

.lang-menu.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-dark);
    transition: background 0.3s ease;
}

.lang-option:hover {
    background: rgba(246, 139, 30, 0.1);
}

.lang-option.active {
    color: var(--orange-primary);
    font-weight: 600;
}

.lang-flag {
    font-size: 16px;
}

/* ========== NAVIGATION ========== */
.main-nav {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.main-nav .container {
    display: flex;
    align-items: center;
}

.categories-dropdown-wrapper {
    position: relative;
}

.categories-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 20px;
    background: transparent;
    border: none;
    color: var(--orange-primary);
    font-weight: 600;
    cursor: pointer;
    border-right: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

.categories-dropdown:hover {
    background: rgba(246, 139, 30, 0.05);
}

.categories-dropdown i {
    font-size: 16px;
}

.categories-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: none;
    border: 1px solid var(--border-light);
    border-top: none;
}

.categories-menu.show {
    display: block;
}

.category-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-light);
}

.category-menu-item:last-child {
    border-bottom: none;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.category-menu-item:hover {
    background: var(--orange-primary);
    color: white;
}

.category-menu-item i {
    width: 20px;
    text-align: center;
    color: var(--orange-primary);
}

.category-menu-item:hover i {
    color: white;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    display: block;
    padding: 15px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--orange-primary);
}

/* ========== HERO BANNER WITH CAROUSEL - JUMIA LAYOUT ========== */
.hero-section {
    padding: 20px 0;
}

.hero-layout {
    display: grid;
    grid-template-columns: 220px 1fr 220px;
    gap: 15px;
}

/* Left Sidebar - Categories */
.hero-categories-sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
    max-height: 400px;
    overflow-y: auto;
}

.sidebar-category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-category-item:hover {
    background: var(--bg-light);
    color: var(--orange-primary);
    border-left-color: var(--orange-primary);
}

.sidebar-category-item i {
    width: 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.sidebar-category-item:hover i {
    color: var(--orange-primary);
}

/* All Categories Link */
.all-categories-link {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-top: 1px solid var(--border-light);
    margin-top: 5px;
    text-decoration: none;
}

.all-categories-link:hover {
    background: var(--orange-primary);
    color: white;
}

.all-categories-link:hover i {
    color: white;
}

.sidebar-mega-category {
    margin-bottom: 15px;
}

.sidebar-mega-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--orange-primary);
    margin-bottom: 8px;
}

.sidebar-mega-title:hover {
    color: var(--orange-primary);
}

.sidebar-mega-title i {
    color: var(--orange-primary);
}

.sidebar-mega-products {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-mega-product {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.sidebar-mega-product:hover {
    color: var(--orange-primary);
}

.sidebar-mega-more {
    color: var(--orange-primary);
    font-size: 12px;
    font-weight: 500;
    text-decoration: none;
    margin-top: 5px;
}

.sidebar-mega-more:hover {
    text-decoration: underline;
}

/* Make hero categories sidebar relative for mega menu positioning */
.hero-categories-sidebar {
    position: relative;
}

/* Mega Menu Styles for Top Nav */
.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 800px;
    background: var(--bg-white);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: 1000;
}

.mega-menu.show {
    display: flex;
}

.mega-menu-sidebar {
    width: 220px;
    background: #f8f9fa;
    border-radius: 0 0 0 var(--radius-lg);
    padding: 10px 0;
}

.mega-menu-category {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.mega-menu-category:hover,
.mega-menu-category.active {
    background: var(--bg-white);
    color: var(--orange-primary);
    border-left-color: var(--orange-primary);
}

.mega-menu-category i:first-child {
    width: 18px;
    color: var(--text-muted);
}

.mega-menu-category:hover i:first-child {
    color: var(--orange-primary);
}

.mega-menu-category .fa-chevron-right {
    margin-left: auto;
    font-size: 10px;
    color: #ccc;
}

.mega-menu-content {
    flex: 1;
    padding: 20px;
    min-height: 300px;
}

.mega-products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--orange-primary);
}

.mega-products-header h4 {
    margin: 0;
    font-size: 16px;
    color: var(--text-dark);
}

.mega-products-header a {
    color: var(--orange-primary);
    font-size: 13px;
    text-decoration: none;
}

.mega-products-header a:hover {
    text-decoration: underline;
}

.mega-products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.mega-product-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
}

.mega-product-item:hover {
    background: #f8f9fa;
}

.mega-product-item img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
}

.mega-product-name {
    font-size: 12px;
    color: var(--text-dark);
    text-align: center;
    line-height: 1.3;
    max-height: 32px;
    overflow: hidden;
    margin-bottom: 5px;
}

.mega-product-price {
    font-size: 12px;
    font-weight: 600;
    color: var(--orange-primary);
}

.mega-menu-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
}

.mega-menu-placeholder i {
    font-size: 40px;
    margin-bottom: 15px;
    color: #ddd;
}

.mega-menu-placeholder p {
    font-size: 14px;
}

.no-products {
    grid-column: 1 / -1;
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
}

/* Right Sidebar - Services */
.hero-services-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.service-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.service-support .service-icon {
    background: #e8f5e9;
    color: #4caf50;
}

.service-whatsapp .service-icon {
    background: #e8f5e9;
    color: #25d366;
}

.service-seller .service-icon {
    background: #fff3e0;
    color: var(--orange-primary);
}

.service-info {
    display: flex;
    flex-direction: column;
}

.service-label {
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);
}

.service-desc {
    font-size: 11px;
    color: var(--text-muted);
}

.promo-banner {
    background: var(--orange-primary);
    border-radius: var(--radius-md);
    padding: 15px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.promo-title {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 5px;
}

.promo-subtitle {
    display: block;
    color: rgba(255,255,255,0.9);
    font-size: 12px;
    margin-bottom: 10px;
}

.promo-btn {
    display: inline-block;
    background: white;
    color: var(--orange-primary);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

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

.hero-carousel-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    min-height: 400px;
    background: linear-gradient(135deg, #3a3f4b 0%, #282c35 100%);
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, visibility 0.6s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.7;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 50px;
    color: white;
    max-width: 500px;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.carousel-arrow:hover {
    background: var(--orange-primary);
    color: white;
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

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

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators .indicator.active {
    background: var(--orange-primary);
    transform: scale(1.2);
}

.carousel-indicators .indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.hero-badge {
    display: inline-block;
    background: var(--orange-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
}

.hero-title span {
    color: var(--orange-primary);
}

.hero-description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 25px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--orange-primary);
    color: white;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(246, 139, 30, 0.3);
    color: white;
}

/* Side Cards */
.hero-side {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    flex: 1;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s ease;
}

.side-card:hover {
    box-shadow: var(--shadow-md);
}

.side-card-label {
    color: var(--orange-primary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.side-card-title {
    color: var(--text-dark);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.side-card-link {
    color: var(--text-muted);
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.side-card-link:hover {
    color: var(--orange-primary);
}

.side-card-image {
    width: 100%;
    height: 80px;
    object-fit: contain;
    margin-top: 10px;
}

/* ========== SECTION TITLES ========== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border-light);
}

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

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

.section-link {
    color: var(--orange-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ========== NEW ARRIVALS BAR ========== */
.arrivals-bar {
    background: #e8dff5;
    padding: 10px 0;
    text-align: center;
}

.arrivals-badge {
    display: inline-block;
    background: var(--dark-blue);
    color: white;
    padding: 8px 25px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

/* ========== PRODUCT CARD ========== */
.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
}

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

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

.badge-promo {
    background: var(--blue-promo);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}

.badge-hot {
    background: var(--hot-badge);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-low-stock {
    background: #ff9800;
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.badge-out-stock {
    background: #f44336;
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
}

.product-gallery {
    display: flex;
    gap: 8px;
    padding: 10px;
    background: var(--bg-light);
}

.product-image-wrapper {
    position: relative;
    flex: 1;
    height: 200px;
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.3s ease;
}

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

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 50px;
}

.thumb-item {
    width: 48px;
    height: 48px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    background: white;
    transition: all 0.2s ease;
}

.thumb-item:hover,
.thumb-item.active {
    border-color: var(--orange-primary);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-actions {
    position: absolute;
    bottom: 15px;
    right: 15px;
    display: flex;
    gap: 8px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

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

.action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.action-btn.view-btn {
    background: var(--bg-white);
    color: var(--text-dark);
}

.action-btn.cart-action-btn {
    background: var(--orange-primary);
    color: white;
}

.action-btn.btn-wishlist {
    background: var(--bg-white);
    color: #e74c3c;
}
.action-btn.btn-wishlist.active {
    background: #e74c3c;
    color: white;
}

.action-btn:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--text-muted);
    font-size: 12px;
    margin-bottom: 8px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-name:hover {
    color: var(--orange-primary);
}

.product-price {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

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

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

.stock-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

.stock-status.in-stock {
    color: var(--green-stock);
}

.stock-status.low-stock {
    color: #ff9800;
}

.stock-status.out-of-stock {
    color: #f44336;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
}

/* ========== PRODUCT DETAIL MODAL ========== */
.product-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.product-detail-modal.active {
    display: flex;
}

.product-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(3px);
}

.product-detail-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-detail-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 36px;
    height: 36px;
    border: none;
    background: #f5f5f5;
    border-radius: 50%;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.product-detail-close:hover {
    background: #e0e0e0;
    color: #333;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.product-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-detail-main-image {
    background: #f8f8f8;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.product-detail-main-image img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.product-detail-thumbs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.product-detail-thumb {
    width: 70px;
    height: 70px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    padding: 5px;
}

.product-detail-thumb:hover,
.product-detail-thumb.active {
    border-color: var(--orange-primary);
}

.product-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-detail-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.product-detail-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--dark-blue);
    line-height: 1.3;
    margin: 0;
}

.product-detail-price {
    font-size: 28px;
    font-weight: 700;
    color: var(--orange-primary);
}

.product-detail-price .old-price {
    font-size: 18px;
    color: #999;
    text-decoration: line-through;
    margin-left: 15px;
    font-weight: 400;
}

.product-detail-description {
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.product-detail-description h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.product-detail-description p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.product-detail-stock {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

.product-detail-stock.in-stock {
    color: var(--green-stock);
}

.product-detail-stock.low-stock {
    color: #ff9800;
}

.product-detail-stock.out-of-stock {
    color: #f44336;
}

.product-detail-add-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.product-detail-add-btn:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

.product-detail-add-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsive Product Detail Modal */
@media (max-width: 768px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .product-detail-main-image {
        min-height: 220px;
    }
    
    .product-detail-main-image img {
        max-height: 200px;
    }
    
    .product-detail-thumb {
        width: 55px;
        height: 55px;
    }
    
    .product-detail-name {
        font-size: 20px;
    }
    
    .product-detail-price {
        font-size: 22px;
    }
    
    .product-detail-close {
        top: 10px;
        right: 15px;
    }
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark-blue);
    color: white;
    padding: 50px 0 30px;
    margin-top: 50px;
}

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

.footer-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

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

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

.footer-links a {
    color: #b2bec3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--orange-primary);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--orange-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b2bec3;
    font-size: 14px;
}

/* ========== MODALS ========== */
.modal-content {
    border: none;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.modal-header {
    background: var(--orange-primary);
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 20px 25px;
}

.modal-header .btn-close {
    filter: invert(1);
}

.modal-body {
    padding: 25px;
}

/* Cart Modal */
.cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.cart-item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: var(--radius-md);
    background: var(--bg-light);
}

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

.cart-item-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cart-item-price {
    color: var(--orange-primary);
    font-weight: 600;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
}

.qty-btn {
    width: 26px;
    height: 26px;
    border-radius: 2px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    font-size: 14px;
}

.qty-btn:hover {
    border-color: var(--orange-primary);
    color: var(--orange-primary);
}

.qty-value {
    font-weight: 500;
    min-width: 28px;
    height: 26px;
    text-align: center;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.remove-btn {
    background: none;
    border: none;
    color: #f44336;
    cursor: pointer;
    font-size: 18px;
}

.cart-total {
    text-align: right;
    padding-top: 20px;
    border-top: 2px solid var(--border-light);
    margin-top: 20px;
}

.cart-total h4 {
    font-size: 20px;
}

.cart-total .total-amount {
    color: var(--orange-primary);
    font-weight: 700;
}

/* WhatsApp Button */
.btn-whatsapp {
    background: #25d366;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-whatsapp:hover {
    background: #128c7e;
    color: white;
}

/* Utility Classes */
.text-orange { color: var(--orange-primary) !important; }
.bg-orange { background: var(--orange-primary) !important; }

.btn-orange {
    background: var(--orange-primary);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-orange:hover {
    background: var(--orange-dark);
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-layout {
        grid-template-columns: 200px 1fr 180px;
    }
    
    .sidebar-category-item {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .service-card {
        padding: 10px 12px;
    }
    
    .service-label {
        font-size: 12px;
    }
    
    .service-desc {
        font-size: 10px;
    }
}

@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
    }
    
    .hero-categories-sidebar {
        display: none;
    }
    
    .hero-services-sidebar {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 15px;
    }
    
    .promo-banner {
        padding: 12px;
    }
    
    .hero-side {
        flex-direction: row;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .call-info {
        display: none;
    }
    
    .lang-btn span#currentLang {
        display: inline;
    }
}

@media (max-width: 768px) {
    .top-header .container {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        max-width: none;
        margin: 10px 0 0 0;
    }
    
    .header-actions {
        gap: 10px;
    }
    
    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .lang-btn .fa-globe {
        display: none;
    }
    
    .nav-links {
        display: none;
    }
    
    .hero-services-sidebar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-carousel-wrapper {
        min-height: 300px;
    }
    
    .hero-carousel {
        min-height: 300px;
    }
    
    .carousel-arrow {
        width: 35px;
        height: 35px;
    }
    
    .hero-content {
        padding: 25px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-side {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-gallery {
        flex-direction: column;
        padding: 8px;
    }
    
    .product-thumbnails {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        order: 2;
    }
    
    .thumb-item {
        width: 40px;
        height: 40px;
    }
    
    .product-image-wrapper {
        height: 160px;
    }
    
    .product-info {
        padding: 12px;
    }
    
    .current-price {
        font-size: 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 18px;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .hero-carousel-wrapper {
        min-height: 250px;
    }
    
    .hero-carousel {
        min-height: 250px;
    }
    
    .hero-title {
        font-size: 22px;
    }
    
    .hero-description {
        font-size: 13px;
        display: none;
    }
    
    .hero-badge {
        font-size: 10px;
        padding: 4px 12px;
    }
    
    .hero-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .carousel-indicators .indicator {
        width: 8px;
        height: 8px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .product-gallery {
        padding: 6px;
        gap: 5px;
    }
    
    .product-thumbnails {
        gap: 4px;
    }
    
    .thumb-item {
        width: 32px;
        height: 32px;
    }
    
    .product-image-wrapper {
        height: 130px;
    }
    
    .product-info {
        padding: 10px;
    }
    
    .product-name {
        font-size: 12px;
        height: auto;
        -webkit-line-clamp: 2;
    }
    
    .product-category {
        font-size: 10px;
    }
    
    .current-price {
        font-size: 13px;
    }
    
    .old-price {
        font-size: 11px;
    }
    
    .stock-status {
        font-size: 10px;
    }
    
    .action-btn {
        width: 32px;
        height: 32px;
    }
    
    .badge-promo,
    .badge-hot {
        font-size: 9px;
        padding: 3px 6px;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* Loading Animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
}

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

.empty-state h3 {
    color: var(--text-dark);
    margin-bottom: 10px;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Product Modal */
#productModal .modal-body {
    padding: 0;
}

.product-modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
    .product-modal-content {
        grid-template-columns: 1fr;
    }
}

.product-modal-gallery {
    background: var(--bg-light);
    padding: 30px;
}

.product-modal-main-image {
    width: 100%;
    height: 300px;
    object-fit: contain;
    border-radius: var(--radius-md);
    margin-bottom: 15px;
}

.product-modal-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.thumbnail {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--orange-primary);
}

.product-modal-details {
    padding: 30px;
}

.product-modal-category {
    color: var(--text-muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.product-modal-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    line-height: 1.3;
}

.product-modal-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.product-modal-price .current-price {
    font-size: 26px;
}

.product-modal-price .discount-badge {
    background: var(--blue-promo);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
}

.product-modal-description {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.product-modal-stock {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: 25px;
}

.product-modal-stock.low {
    background: rgba(255, 152, 0, 0.1);
}

.product-modal-stock.out {
    background: rgba(244, 67, 54, 0.1);
}

.product-modal-actions {
    display: flex;
    gap: 15px;
}

.product-modal-actions .btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
}

/* ========== CART SUMMARY ========== */
.cart-summary {
    background: #f8f9fa;
    border-radius: var(--radius-md);
    padding: 20px;
    margin-top: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-dark);
}

.cart-summary-row.total {
    border-top: 2px solid #e0e0e0;
    margin-top: 10px;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.cart-summary-row .total-amount {
    color: var(--orange-primary);
}

.free-shipping {
    color: var(--green-stock);
    font-weight: 600;
}

.cart-modal-footer {
    flex-direction: column;
    gap: 10px;
}

.btn-checkout {
    width: 100%;
    padding: 14px 20px;
    background: var(--orange-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
}

.btn-checkout:hover {
    background: var(--orange-dark);
    color: white;
}

/* ========== WHATSAPP FLOATING BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
}

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

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    background: var(--dark-blue);
    color: white;
    padding: 10px 15px;
    border-radius: var(--radius-md);
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
    border: 8px solid transparent;
    border-left-color: var(--dark-blue);
    border-right: 0;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 24px;
    }
    
    .whatsapp-tooltip {
        display: none;
    }
}

/* ========== ALL CATEGORIES SECTION ========== */
.all-categories-section {
    padding: 40px 0;
    background: #f5f5f5;
}

.categories-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.category-showcase-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.category-showcase-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.category-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--orange-primary);
}

.category-showcase-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-showcase-title i {
    color: var(--orange-primary);
}

.category-count {
    font-size: 12px;
    color: var(--text-muted);
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 20px;
}

.category-products-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.preview-product {
    aspect-ratio: 1;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #f9f9f9;
    border: 1px solid #eee;
    transition: all 0.2s ease;
}

.preview-product:hover {
    border-color: var(--orange-primary);
    transform: scale(1.05);
}

.preview-product img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 5px;
}

.no-preview {
    text-align: center;
    color: var(--text-muted);
    padding: 30px;
    font-size: 14px;
}

.category-see-all {
    display: block;
    text-align: center;
    color: var(--orange-primary);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.category-see-all:hover {
    background: var(--orange-primary);
    color: white;
}

/* ========== ENHANCED FOOTER ========== */
.footer {
    background: #1a2332;
    padding: 50px 0 20px;
    color: #b8c5d3;
}

.footer-grid-3 {
    display: grid;
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 40px;
}

.footer-col {
    padding: 0;
}

.footer-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: #8a9bb0;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a9bb0;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--orange-primary);
    color: white;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #8a9bb0;
    font-size: 14px;
}

.footer-contact li i {
    color: var(--orange-primary);
    font-size: 16px;
    margin-top: 2px;
}

.footer-contact li span {
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #6a7b8c;
    font-size: 13px;
    margin: 0;
}

@media (max-width: 992px) {
    .footer-grid-3 {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid-3 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .categories-showcase {
        grid-template-columns: 1fr;
    }
    
    .category-products-preview {
        grid-template-columns: repeat(4, 1fr);
    }
}



/* ═══════════════════════════════════════════════
   WIDGET AUTH CLIENT — bouton Se connecter / menu Mon Compte
   (partagé par toutes les pages via includes/customer_menu.php)
   ═══════════════════════════════════════════════ */

.welia-auth-widget {
    position: relative;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

/* Bouton "Se connecter" (non connecté) */
.btn-customer-login {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: #f68b1e !important;
    color: #fff !important;
    border: 2px solid #f68b1e !important;
    border-radius: 22px !important;
    padding: 7px 16px !important;
    font-size: .85rem !important;
    font-weight: 700 !important;
    font-family: inherit !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    line-height: 1.4 !important;
    transition: all .2s !important;
    box-shadow: 0 2px 10px rgba(246,139,30,.25) !important;
}
.btn-customer-login:hover {
    background: #e07800 !important;
    border-color: #e07800 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(246,139,30,.40) !important;
    color: #fff !important;
}
.btn-customer-login i  { font-size: 14px !important; color: #fff !important; }
.btn-customer-login span { color: #fff !important; display: inline !important; }

/* Menu déroulant "Mon Compte" (connecté) */
#customerMenu.welia-header-menu {
    position: relative;
}
.welia-customer-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f68b1e;
    border: 2px solid #f68b1e;
    color: #fff;
    border-radius: 22px;
    padding: 7px 15px;
    font-size: .85rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    user-select: none;
    transition: all .2s;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(246,139,30,.30);
}
.welia-customer-info:hover {
    background: #e07800;
    border-color: #e07800;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(246,139,30,.40);
}
.welia-customer-info i { color: #fff !important; }
.welia-customer-info .caret { font-size: 10px; transition: transform .2s; }
#customerMenu.welia-header-menu.open .welia-customer-info .caret { transform: rotate(180deg); }

/* Avatar initiale dans le bouton connecté */
.welia-customer-info .cm-avatar-pill {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255,255,255,.30);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}
.welia-customer-info .cm-name-text {
    max-width: 90px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.welia-customer-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
    min-width: 210px;
    z-index: 9999;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    animation: cmDrop .18s ease;
}
@keyframes cmDrop {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}
#customerMenu.welia-header-menu.open .welia-customer-dropdown { display: block; }

.welia-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px 10px;
    border-bottom: 1px solid #f0f0f0;
}
.welia-dropdown-header .cm-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: #fff3e0; color: var(--orange-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.welia-dropdown-header .cm-info .cm-name { font-weight: 700; font-size: .9rem; color: #222; }
.welia-dropdown-header .cm-info .cm-email { font-size: .78rem; color: #888; }

.welia-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    color: #333 !important;
    text-decoration: none !important;
    font-size: .88rem;
    font-weight: 500;
    transition: background .15s, color .15s;
    cursor: pointer;
}
.welia-dropdown-item:hover { background: #fff8f0; color: var(--orange-primary) !important; }
.welia-dropdown-item.danger { color: #e53935 !important; }
.welia-dropdown-item.danger:hover { background: #fff5f5; color: #c62828 !important; }
.welia-dropdown-divider { height: 1px; background: #f5f5f5; margin: 0; }

@media (max-width: 480px) {
    .btn-customer-login span { display: none !important; }
    .welia-customer-info .cm-name-text { max-width: 60px; }
}
