﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #fc5c7d 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: fadeInLeft 1s ease;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}


@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.phone-call {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

    .phone-call:hover {
        background: rgba(255, 255, 255, 0.3);
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

.language-switch {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

    .language-switch:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    }

/* Navigation - Fixed positioning */
.nav {
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 90px; /* Position right below header */
    z-index: 999;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
    flex-wrap: wrap;
}

.nav-item {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

    .nav-item:hover, .nav-item.active {
        background: rgba(255, 255, 255, 0.25);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box {
    padding: 0.8rem 3rem 0.8rem 1.5rem;
    border: none;
    border-radius: 50px;
    width: 300px;
    outline: none;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

    .search-box:focus {
        width: 350px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    }

.search-btn {
    position: absolute;
    right: 8px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border: none;
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        transform: scale(1.05);
    }

/* Social Links */
.social-links {
    position: fixed;
    right: 20px;
    top: 50%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    cursor:pointer;
}

.social-link {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}


    .social-link:hover {
        transform: scale(1.1) rotate(10deg);
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    }

/* Main Content - Add top margin to account for fixed nav */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    margin-top: 160px; /* Space for header + nav */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem 0;
    color: white;
    animation: fadeInUp 1s ease;
}

    .hero h1 {
        font-size: 4rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
        text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
        animation: textGlow 2s ease-in-out infinite alternate;
    }

@keyframes textGlow {
    from {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }

    to {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.9;
    font-weight: 300;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Categories */
.categories {
    margin: 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 3rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    position: relative;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
        border-radius: 2px;
    }

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    animation: fadeInUp 0.8s ease;
    position: relative;
    overflow: hidden;
}

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .category-card:hover::before {
        left: 100%;
    }

    .category-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
        background: rgba(255, 255, 255, 0.25);
    }

.category-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.category-name {
    font-size: 1.8rem;
    color: white;
    font-weight: 600;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

/* Products */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    position: relative;
    animation: fadeInUp 1s ease;
}

    .product-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
    }

.product-image {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #667eea 0%, #fc5c7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    position: relative;
    overflow: hidden;
}

    .product-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.1);
        opacity: 0;
        transition: opacity 0.3s ease;
    }

.product-card:hover .product-image::before {
    opacity: 1;
}

.product-info {
    padding: 2rem;
    color: white;
}

.product-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.product-description {
    opacity: 0.8;
    margin-bottom: 50px;
    font-size: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.product-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    z-index: 2;
}

.tag {
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

    .tag.bestseller {
        background: linear-gradient(45deg, #FF6B6B, #FF8E8E);
    }

    .tag.discount {
        background: linear-gradient(45deg, #4ECDC4, #44E8DE);
    }

    .tag.unavailable {
        background: linear-gradient(45deg, #95A5A6, #BDC3C7);
    }

/* Footer - Redesigned with 2 columns */
.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(30px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
        z-index: -1;
    }

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* Column 1 - Logo & Brand */
.footer-brand {
    text-align: center;
}

.footer-logo {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4);
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from {
        text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 255, 255, 0.1);
    }

    to {
        text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.4), 0 0 50px rgba(255, 255, 255, 0.3);
    }
}

.footer-tagline {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    font-style: italic;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.footer-description {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 2rem;
    text-align: justify;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.footer-social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

    .footer-social-link.facebook {
        background: linear-gradient(45deg, #3B5998, #4267B2);
    }

    .footer-social-link.instagram {
        background: linear-gradient(45deg, #E4405F, #C13584, #833AB4);
    }

    .footer-social-link.zalo {
        background: linear-gradient(45deg, #0068FF, #0084FF);
    }

    .footer-social-link.youtube {
        background: linear-gradient(45deg, #FF0000, #CC0000);
    }

    .footer-social-link:hover {
        transform: translateY(-5px) scale(1.1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

/* Column 2 - Contact Info */
.footer-contact {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

    .footer-contact h3 {
        font-size: 2rem;
        font-weight: 600;
        margin-bottom: 2rem;
        text-align: center;
        color: #fff;
        text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
        position: relative;
    }

        .footer-contact h3::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 60px;
            height: 3px;
            background: linear-gradient(45deg, #ff6b6b, #4ecdc4);
            border-radius: 2px;
        }

.contact-item {
    flex-wrap: wrap;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .contact-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(10px);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.contact-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}
  

.contact-text {
    flex: 1;
}

    .contact-text strong {
        display: block;
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.3rem;
        color: #fff;
    }

    .contact-text span {
        font-size: 0.9rem;
        opacity: 0.8;
        line-height: 1.4;
    }

    .contact-text a {
        color: #4ecdc4;
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .contact-text a:hover {
            color: #fff;
            text-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
        }

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
        gap: 1rem;
    }

    .nav {
        top: 100px; /* Adjust for mobile header height */
    }

    .main-content {
        margin-top: 220px; /* Adjust for mobile */
        padding: 0 1rem;
    }

    .nav-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .nav-menu {
        justify-content: center;
        gap: 0.5rem;
    }

    .nav-item {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }

    .search-box {
        width: 250px;
    }

        .search-box:focus {
            width: 270px;
        }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-contact {
        padding: 2rem;
    }

    .footer-logo {
        font-size: 2.5rem;
    }

    .contact-item:hover {
        transform: translateY(-5px);
    }

    .category-grid, .products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {

    .hero {
        padding: 4rem 0;
    }

        .hero h1 {
            font-size: 2rem;
        }

        .hero p {
            font-size: 1.1rem;
        }

    .category-card, .product-card {
        margin: 0 0.5rem;
    }

    .footer-contact {
        padding: 1.5rem;
    }
}

.hidden {
    display: none;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ripple effect for buttons */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.image-product {
    object-fit: cover;
    width: 100%;
}

.product-price {
    margin-top: 20px;
    position: fixed;
    bottom: 20px;
}

.old-price {
    font-size: 16px;
    font-weight: normal;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    text-decoration-color: rgba(0, 0, 0, 0.45);
    color: black;
    margin-right: 8px;
    font-size: 16px;
}

.out-of-stock-label {
    float: right;
    margin-bottom: 20px;
    font-weight: bold;
}

.out-of-stock .product-info {
    opacity: 0.6 !important;
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
    }

    .nav {
        top: 160px;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
    .hero img{
        margin-top:70px;    
    }
    .search-container{
        display:none;
    }
}
.nav-menu {
    line-height: 2.5;
}
.social-links svg, .social-links svg #svgMessenger {
    color: #c4996c !important;
    fill: #c4996c !important;
}
.social-links a{
    border:none;
}
.nav-item:hover {
    font-weight: bold;
}
.phone-call:hover {
    font-weight: bold;
}
.out-of-stock-label {
    background-color: red;
}


@media (min-width: 768px) and (max-width: 1024px) {
    .hero img {
        margin-top: 50px;
    }
}
a{
    cursor:pointer;
}