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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* Top Banner */
.top-banner {
    background-color: #E53E3E;
    color: white;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 500;
}

.top-banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-banner-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-banner-text i {
    font-size: 16px;
}

.cart-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s ease;
}

.cart-icon:hover {
    transform: scale(1.05);
}

.cart-count {
    background-color: white;
    color: #E53E3E;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Header */
.header {
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #E53E3E;
    transition: transform 0.2s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo i {
    font-size: 28px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-main {
    font-weight: 800;
    font-size: 18px;
    line-height: 1;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-weight: 600;
    font-size: 11px;
    line-height: 1;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.nav {
    display: flex;
    gap: 35px;
    align-items: center;
}

.nav-item {
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding: 8px 0;
    letter-spacing: 0.3px;
}

.nav-item:hover {
    color: #E53E3E;
    transform: translateY(-1px);
}

.nav-item.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 8px;
    padding: 15px 0;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #f0f0f0;
}

.nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa;
    color: #E53E3E;
    padding-left: 25px;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.auth-section:hover {
    color: #E53E3E;
    background-color: #f8f9fa;
    border-color: #E53E3E;
    transform: translateY(-1px);
}

/* Hero Banner */
.hero-banner {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-slider {
    position: relative;
    height: 450px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: all 0.8s ease-in-out;
}

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

.hero-slide:first-child {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 50%, #A02626 100%);
}

.hero-slide:last-child {
    background: linear-gradient(135deg, #2B6CB0 0%, #1A365D 50%, #0F2A44 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    color: white;
    padding: 0 20px;
}

.hero-left h3 {
    font-size: 20px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-left h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-left p {
    font-size: 20px;
    margin-bottom: 25px;
    opacity: 0.9;
    font-weight: 400;
}

.discount-text {
    font-size: 80px;
    font-weight: 900;
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.discount-text span {
    font-size: 28px;
    font-weight: 700;
}

.hero-cta-btn {
    background-color: white;
    color: #E53E3E;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    background-color: #f8f9fa;
}

.hero-right img {
    max-width: 400px;
    height: 350px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.hero-right img:hover {
    transform: scale(1.02);
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
}

.hero-prev, .hero-next {
    background-color: rgba(255, 255, 255, 0.25);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    font-size: 18px;
    backdrop-filter: blur(10px);
}

.hero-prev:hover, .hero-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

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

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

/* Product Sections */
.product-section {
    padding: 80px 0;
}

.product-section:nth-child(even) {
    background-color: #fafafa;
}

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

.section-header .section-title {
    margin-bottom: 0;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #1A202C;
    letter-spacing: -1px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #E53E3E;
    border-radius: 2px;
}

.section-subtitle {
    color: #718096;
    font-size: 16px;
    margin-top: 10px;
    font-weight: 400;
}

.view-all-btn {
    color: #E53E3E;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 2px solid #E53E3E;
    border-radius: 6px;
    background-color: transparent;
}

.view-all-btn:hover {
    background-color: #E53E3E;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

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

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #E53E3E;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #1A202C;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 25px;
}

.product-info h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1A202C;
    line-height: 1.3;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 12px;
}

.product-rating i {
    color: #FFC107;
    font-size: 14px;
}

.product-rating span {
    margin-left: 8px;
    color: #718096;
    font-size: 14px;
    font-weight: 500;
}

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

.original-price {
    color: #A0AEC0;
    text-decoration: line-through;
    font-size: 15px;
    font-weight: 500;
}

.sale-price {
    color: #E53E3E;
    font-weight: 700;
    font-size: 20px;
}

.add-to-cart-btn {
    background-color: #E53E3E;
    color: white;
    border: none;
    padding: 14px 25px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.add-to-cart-btn:hover {
    background-color: #C53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

/* Category Section */
.category-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 250px;
    border: 1px solid #f0f0f0;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: 40px 25px 25px;
}

.category-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.category-content p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    font-weight: 400;
}

.category-btn {
    background-color: #E53E3E;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-btn:hover {
    background-color: #C53030;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.4);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
    background-color: #fafafa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.blog-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    border-color: #E53E3E;
}

.blog-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover img {
    transform: scale(1.05);
}

.blog-content {
    padding: 30px;
}

.blog-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
    color: #1A202C;
    line-height: 1.4;
    letter-spacing: -0.3px;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    color: #718096;
    font-size: 13px;
    font-weight: 500;
}

.blog-category {
    background-color: #E53E3E;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.blog-content p {
    color: #4A5568;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.read-more-btn {
    color: #E53E3E;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.read-more-btn:hover {
    color: #C53030;
    transform: translateX(5px);
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
    color: white;
    padding: 60px 0;
}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.newsletter-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

.newsletter-text p {
    font-size: 16px;
    opacity: 0.9;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    min-width: 400px;
}

.newsletter-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    background-color: white;
    color: #333;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    background-color: #1A202C;
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-btn:hover {
    background-color: #2D3748;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background-color: #1A202C;
    color: white;
    padding: 60px 0 30px;
}

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

.footer-section h4 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #E53E3E;
    letter-spacing: -0.3px;
}

.footer-section h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 25px;
    color: #E53E3E;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #A0AEC0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
    font-size: 15px;
}

.footer-section ul li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-section p {
    color: #A0AEC0;
    line-height: 1.7;
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-contact i {
    color: #E53E3E;
    width: 16px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #2D3748;
    color: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-links a:hover {
    background-color: #E53E3E;
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(229, 62, 62, 0.3);
}

.payment-methods {
    margin-top: 25px;
}

.payment-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.payment-icons i {
    font-size: 28px;
    color: #A0AEC0;
    transition: color 0.3s ease;
}

.payment-icons i:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2D3748;
    padding-top: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #A0AEC0;
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 25px;
}

.footer-bottom-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.footer-bottom-links a:hover {
    color: white;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    .hero-content {
        padding: 0 30px;
    }
    
    .hero-left h1 {
        font-size: 48px;
    }
    
    .discount-text {
        font-size: 64px;
    }
    
    .newsletter-form {
        min-width: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-content {
        position: relative;
    }
    
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        border-radius: 0 0 15px 15px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
        gap: 20px;
        align-items: flex-start;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-item {
        font-size: 16px;
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        margin-top: 10px;
        border-radius: 8px;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
    
    .auth-section {
        font-size: 16px;
        padding: 12px 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        padding: 40px 30px;
        gap: 40px;
    }
    
    .hero-left h1 {
        font-size: 40px;
    }
    
    .discount-text {
        font-size: 60px;
        justify-content: center;
    }
    
    .hero-right img {
        max-width: 320px;
        height: 240px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .blog-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .hero-nav {
        display: none;
    }
    
    .newsletter-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter-form {
        min-width: auto;
        width: 100%;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .top-banner-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .top-banner-text {
        font-size: 13px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 20px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .product-info {
        padding: 20px;
    }
    
    .product-info h3 {
        font-size: 17px;
    }
    
    .hero-left h1 {
        font-size: 32px;
    }
    
    .discount-text {
        font-size: 50px;
    }
    
    .hero-right img {
        max-width: 280px;
        height: 200px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hero-slider {
        height: 400px;
    }
}

/* Animation for cart count */
@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

.cart-count.animate {
    animation: bounce 0.6s;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}