:root {
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --bg: #f5f7f2;
    --text: #1f2937;
    --radius: 16px;
}

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

body {
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #222;
}

h1 {
    text-align: center;
    margin-top: 30px;
    margin-bottom: 20px;
}


h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* ================= Hearder ================= */
.site-header {
    background: #2b3b10;
    color: #fff;
    padding: 18px 5%;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1300px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.main-nav a {
    color: #f3f3f3;
    text-decoration: none;
    font-size: 15px;
    transition: color .2s ease;
}

.main-nav a:hover {
    color: #ffe082;
}

.nav-cart {
    background: #2e7d32;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    cursor: pointer;
    padding: 8px;
    transition: background 0.3s;
    z-index: 1000;
}

.hamburger:hover {
    background: rgba(255, 255, 255, 0.2);
}

.hamburger span {
    width: 20px;
    height: 2px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

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

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

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

@media(max-width:480px) {

    .hamburger {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 60%;
        height: 100vh;
        background: #1a1a1a;
        flex-direction: column;
        align-items: left;
        justify-content: flex-start;
        padding-top: 94px;
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
    }



    .main-nav.active {
        transform: translateY(0);
    }

    /* 
      .main-nav.active{
        display:;
    } */

    .main-nav a {
        margin: 10px 0;
        font-size: 16px;
        color: #fff;
    }

    .about-left h1 {
        font-size: 42px;
    }

    .category-title {
        font-size: 36px;
    }

    .site-header {
        padding: 16px 4%;
    }

    .main-nav {
        gap: 10px;
        justify-content: center;
    }

    .main-nav a {
        font-size: 14px;
    }

}

.footer {
    background: linear-gradient(135deg, #1B5E20, #2E7D32);
    color: white;
    padding-top: 50px;
    margin-top: 60px;
    border-radius: 30px 30px 0 0;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: auto;
    padding: 0 30px 40px;
}

.footer-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #FFF59D;
}

.footer-column p {
    line-height: 1.8;
    color: #f1f1f1;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

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

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover {
    color: #FFD54F;
    padding-left: 5px;
}

.footer-info p {
    margin: 10px 0;
}

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    color: #ddd;
}



/* Responsive */
@media(max-width:480px) {

    .footer {
        border-radius: 20px 20px 0 0;
    }

    .footer-container {
        padding: 20px;
    }

    .footer-column {
        text-align: center;
    }

}

/* CART FLOAT */

.cart-float {
    position: fixed;
    right: 20px;
    bottom: 190px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #2e7d32;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

#cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    font-size: 13px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.float-zalo {
    position: fixed;
    bottom: 110px;
    right: 25px;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: #0084ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    z-index: 999;
    text-decoration: none;
}

.float-phone {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #ff5722;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ff5722;
    z-index: 999;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}