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

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

/* Header */
.header {
    background: #000000;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.logo {
    max-height: 180px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    color: white;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Section Titles */
.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Promo Section */
.promo-section {
    margin-bottom: 50px;
}

.promo-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #2196F3 #f5f5f5;
}

.promo-carousel::-webkit-scrollbar {
    height: 8px;
}

.promo-carousel::-webkit-scrollbar-track {
    background: #f5f5f5;
    border-radius: 10px;
}

.promo-carousel::-webkit-scrollbar-thumb {
    background: #2196F3;
    border-radius: 10px;
}

.promo-card {
    min-width: 280px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.promo-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #2196F3;
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
}

.promo-info {
    padding: 20px;
}

.promo-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.promo-price-old {
    color: #999;
    text-decoration: line-through;
    font-size: 14px;
    margin-bottom: 5px;
}

.promo-price-new {
    color: #2196F3;
    font-size: 24px;
    font-weight: 700;
}

/* Category Section */
.category-section {
    margin-bottom: 50px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-controls {
    display: flex;
    gap: 10px;
}

.carousel-btn {
    background: #2196F3;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
}

.carousel-btn:hover {
    background: #1976D2;
    transform: scale(1.1);
}

.carousel-btn:active {
    transform: scale(0.95);
}

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

.product-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

.loading-products {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
    width: 100%;
}

.product-card {
    min-width: 200px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.product-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, #2196F3 0%, #64B5F6 100%);
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    flex-grow: 1;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: #2196F3;
}


/* Responsive */
@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }

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

    .promo-card {
        min-width: 250px;
    }

    .product-card {
        min-width: 180px;
    }

    .carousel-controls {
        display: flex;
    }

    .logo {
        max-height: 150px;
    }

    .logo-text {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .promo-card {
        min-width: 220px;
    }

    .product-card {
        min-width: 160px;
    }

    .product-image {
        height: 150px;
    }

    .promo-image {
        height: 150px;
    }
}

