
/* CÀI ĐẶT CHUNG */
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #252525;
    background: #fff;
}

a {
    text-decoration: none;
}

/* THANH MENU */
.fashion-navbar {
    background: #fff;
    padding: 22px 7%;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
    font-size: 27px;
    font-weight: bold;
    color: #222;
    letter-spacing: 2px;
}

.brand-logo span,
.footer-content h2 span {
    color: #aa8174;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    color: #333;
    font-size: 15px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #aa8174;
}

.nav-icons a {
    color: #333;
    font-size: 15px;
}

/* BANNER */
.hero {
    min-height: 580px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #f3ebe6;
    align-items: center;
}

.hero-content {
    padding: 70px 12%;
}

.hero-label {
    color: #a17a6c;
    letter-spacing: 5px;
    font-size: 13px;
}

.hero-content h1 {
    font-size: 55px;
    line-height: 1.2;
    margin: 25px 0;
    font-weight: 700;
}

.hero-content p {
    color: #777;
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
}

.hero-image {
    height: 580px;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* NÚT MUA HÀNG */
.shop-btn {
    display: inline-block;
    padding: 16px 32px;
    background: #292929;
    color: white;
    font-size: 13px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.shop-btn:hover {
    background: #aa8174;
    color: white;
}

/* TIÊU ĐỀ */
.section-heading {
    text-align: center;
    margin-bottom: 45px;
}

.section-heading span,
.about-content span,
.newsletter span {
    color: #aa8174;
    letter-spacing: 4px;
    font-size: 12px;
}

.section-heading h2 {
    font-size: 30px;
    letter-spacing: 3px;
    margin: 15px 0;
}

.section-heading p {
    color: #888;
}

/* DANH MỤC */
.category-section {
    padding: 85px 7%;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-card {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.category-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: 0.5s;
}

.category-card:hover img {
    transform: scale(1.06);
}

.category-card h3 {
    color: #292929;
    font-size: 17px;
    letter-spacing: 2px;
    margin-top: 20px;
}

/* SẢN PHẨM */
.product-section {
    background: #faf8f6;
    padding: 85px 7%;
}

.product-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: white;
    text-align: center;
    padding-bottom: 25px;
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    transition: 0.5s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.sale-label {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #aa8174;
    color: white;
    padding: 7px 12px;
    font-size: 11px;
    z-index: 2;
}

.product-info {
    padding: 15px;
}

.product-info h3 {
    font-size: 16px;
    margin: 10px 0;
}

.price {
    color: #aa8174;
    font-size: 17px;
    font-weight: bold;
}

.product-info button {
    background: #292929;
    color: white;
    border: none;
    padding: 12px 20px;
    margin-top: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.product-info button:hover {
    background: #aa8174;
}

/* GIỚI THIỆU */
.about-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    padding: 90px 10%;
}

.about-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-content h2 {
    font-size: 32px;
    line-height: 1.5;
    margin: 20px 0;
}

.about-content p {
    color: #777;
    line-height: 1.9;
    margin-bottom: 30px;
}

/* KHU VỰC CUỐI TRANG */
.newsletter {
    text-align: center;
    padding: 75px 20px;
    background: #f3ebe6;
}

.newsletter h2 {
    font-size: 30px;
    margin: 20px 0;
}

.newsletter p {
    color: #777;
    margin-bottom: 30px;
}

/* FOOTER */
.fashion-footer {
    background: #222;
    color: white;
    padding: 55px 8% 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-content h2 {
    font-size: 25px;
    letter-spacing: 2px;
}

.footer-content h4 {
    font-size: 15px;
    margin-bottom: 20px;
}

.footer-content p {
    color: #bbb;
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 35px;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
    font-size: 13px;
}

/* ĐIỆN THOẠI VÀ TABLET */
@media (max-width: 900px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-content h1 {
        font-size: 38px;
    }

    .nav-links {
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .fashion-navbar {
        padding: 18px 5%;
    }

    .nav-container {
        flex-wrap: wrap;
        gap: 15px;
    }

    .nav-links {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .hero {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 60px 8%;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-image {
        height: 400px;
    }

    .category-list {
        grid-template-columns: 1fr;
    }

    .product-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image img {
        height: 230px;
    }

    .product-info button {
        padding: 10px;
        font-size: 11px;
    }

    .about-section {
        grid-template-columns: 1fr;
        padding: 50px 7%;
        gap: 25px;
    }

    .about-image img {
        height: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.cart-link {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    margin-left: 4px;
    border-radius: 50%;
    background-color: #d63333;
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* TAI KHOAN */
.account-greeting {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.account-logout {
    border: none;
    background: none;
    color: #b33a3a;
    font-size: 14px;
    cursor: pointer;
    font-weight: 600;
}

.account-logout:hover {
    text-decoration: underline;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.nav-icons a {
    text-decoration: none;
}
