* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


.navbar {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff6b6b;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.search-box {
    margin: 0 1rem;
    max-width: 200px;
}

@media (max-width: 768px) {
    .search-box {
        max-width: 150px;
        margin: 0 0.5rem;
    }
}

.cart-icon-container {
position: relative;
display: inline-block;
margin-left: 1rem;
}

.cart-icon {
    font-size: 1.4rem;
    position: relative;
    display: inline-block;
    padding: 0.5rem;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff6b6b;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 20px;
    text-align: center;
    line-height: 1;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-btn {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-btn::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: #ff6b6b;
    bottom: 0;
    left: 0;
    transition: width 0.3s ease;
}

.nav-btn:hover::after {
    width: 100%;
}

.nav-btn:hover {
    color: #ff6b6b;
}

.login-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff4c4c);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(255, 107, 107, 0.2);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(255, 107, 107, 0.3);
}


.menu-icon {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
    transition: color 0.3s ease;
}

.menu-icon:hover {
    color: #ff6b6b;
}


.mobile-login {
    display: none;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: #ffffff;
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-icon {
        display: block;
    }
    
    .nav-center {
        justify-content: flex-end;
    }
    
    .nav-btn {
        padding: 1rem;
        text-align: center;
    }
    
    .desktop-login {
        display: none;
    }
    
    .mobile-login {
        display: block;
        text-align: center;
        margin-top: 1rem;
    }
}

.new-arrivals {
    padding: 2rem;
    text-align: left;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #242323;
    animation: fadeIn 1s ease-in-out;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.product-card {
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wishlist-btn:hover {
    background: #ff6b6b;
}

.wishlist-btn:hover .heart-icon {
    color: white;
}

.heart-icon {
    color: #ff6b6b;
    font-size: 18px;
    transition: color 0.3s ease;
}

.image-container:hover .wishlist-btn {
    opacity: 1;
    transform: translateY(0);
}

.image-container:hover .product-image {
    transform: scale(1.05);
}

.product-title {
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
    color: #444;
}

.price-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.discounted-price {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.1rem;
}

.discount-percent {
    background: #ff6b6b;
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 3px;
    font-size: 0.8rem;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }

    .product-image {
        height: 150px;
    }

    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

.footer {
    background-color: #242323;
    color: #fff;
    padding: 2rem 1rem;
    margin-top: 3rem;
    animation: fadeIn 1s ease-in-out;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.footer-section {
    padding: 1rem;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ff6b6b;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b6b;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    color: #fff;
    font-size: 1.2rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
    color: #ff6b6b;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #444;
}

@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

