* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Roboto, 'Helvetica Neue', 'Noto Sans', 'Liberation Sans', Arial, sans-serif;
    color: #333;
}

/* Top Banner Slider */
.top-banner {
    background: linear-gradient(135deg, #f4c790 0%, #e0b87a 100%);
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.banner-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.banner-slide {
    min-width: 100%;
    padding: 0 10px;
}

/* Header */
header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
}

.logo {
    height: 60px;
    margin-right: 50px;
}

nav {
    display: flex;
    gap: 30px;
    align-items: center;
    flex: 1;
}

.nav-item {
    position: relative;
}

nav a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    transition: color 0.3s;
    cursor: pointer;
}

nav a:hover {
    color: #666;
}

/* Mobile Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: white;
    z-index: 9999;
    overflow-y: auto;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    left: 0;
}

.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-overlay.active {
    opacity: 1;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-nav-close {
    font-size: 30px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

.mobile-nav-content {
    padding: 20px;
}

.mobile-nav-item {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
}

/* Mega Menu */
.mega-menu {
    position: absolute;
    top: 100%;
    left: -40px;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    min-width: 600px;
    display: none;
    z-index: 1000;
    margin-top: 15px;
}

.nav-item:hover .mega-menu {
    display: block;
}

.mega-menu:hover {
    display: block;
}

.nav-item::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 20px;
}

.mega-menu-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mega-menu-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    color: #333;
}

.mega-menu-column ul {
    list-style: none;
}

.mega-menu-column li {
    margin-bottom: 10px;
}

.mega-menu-column a {
    font-size: 13px;
    color: #666;
    text-transform: none;
    font-weight: 400;
}

.mega-menu-column a:hover {
    color: #333;
}

.header-icons {
    display: flex;
    gap: 20px;
    align-items: center;
}

.icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.icon:hover {
    opacity: 0.7;
}

/* Hero Slider */
.hero {
    position: relative;
    height: calc(100vh - 100px);
    min-height: 600px;
    overflow: hidden;
}

.hero-slider {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.hero-slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-slide-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-slide-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.hero-slide-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-btn {
    padding: 15px 40px;
    background: white;
    color: #333;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.3s;
}

.hero-btn:hover {
    transform: translateY(-2px);
}

.hero-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 2;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.hero-dot.active {
    background: white;
}

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.hero-arrow.prev {
    left: 30px;
}

.hero-arrow.next {
    right: 30px;
}

/* Best Seller Section */
.best-seller {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 40px;
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 50px;
    color: #333;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 320px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 14px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
    min-height: 40px;
}

.product-price {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.current-price {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.shop-more-btn {
    display: block;
    margin: 40px auto;
    padding: 12px 40px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s;
}

.shop-more-btn:hover {
    background: #333;
}

/* Features Section */
.features {
    background: #f9f9f9;
    padding: 60px 0;
    margin-top: 60px;
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 40px;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.feature-desc {
    font-size: 13px;
    color: #666;
}

/* Brands Section */
.brands-section {
    padding: 80px 0;
    background: white;
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.brands-title {
    text-align: center;
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 20px;
    color: #333;
}

.brands-subtitle {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin-bottom: 50px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.brand-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    cursor: pointer;
    min-height: 120px;
}

.brand-card:hover {
    border-color: #333;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.brand-name {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.view-all-brands-btn {
    display: block;
    margin: 40px auto 0;
    padding: 15px 50px;
    background: transparent;
    color: #333;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.view-all-brands-btn:hover {
    background: #333;
    color: white;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #f4c790 0%, #e0b87a 100%);
    padding: 60px 0 20px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.footer-section p, .footer-section a {
    font-size: 14px;
    color: #333;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-section a:hover {
    text-decoration: underline;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
}

.newsletter-btn {
    padding: 10px 20px;
    background: #000;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.newsletter-btn:hover {
    background: #333;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icon {
    width: 24px;
    height: 24px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.social-icon:hover {
    opacity: 0.7;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    color: #666;
}

.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: #000;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: background 0.3s;
}

.scroll-top:hover {
    background: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }

    .logo {
        height: 50px;
        margin-right: 0;
    }

    nav {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .mobile-overlay {
        display: block;
    }

    .header-icons {
        gap: 15px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 20px;
    }

    .brand-card {
        padding: 20px 15px;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 40px;
    }

    .icon {
        width: 18px;
        height: 18px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image {
        height: 200px;
    }

    .section-title {
        font-size: 24px;
    }
}