* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background: #fffaf6;
    color: #333;
}

/* HEADER */
.header, header {
    background: #f7a1b2;
    color: white;
    text-align: center;
    padding: 25px;
}

/* NAV */
.nav, nav {
    background: #f48ca0;
    text-align: center;
    padding: 10px;
}

.nav a, nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

/* BANNER */
.banner {
    background: #ff9a9e;
    color: white;
    text-align: center;
    padding: 60px 20px;
}

/* PRODUCT */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
    padding: 30px;
}

.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    border-radius: 10px;
}

.price {
    color: #e53935;
    font-weight: bold;
}

/* CHI TIẾT */
.chitietsanpham {
    max-width: 1000px;
    margin: 40px auto;
    display: flex;
    gap: 30px;
    background: white;
    padding: 20px;
    border-radius: 12px;
}

.product-image img {
    width: 350px;
    border-radius: 12px;
}

/* FOOTER */
.footer, footer {
    background: #2f2f2f;
    color: #ccc;
    text-align: center;
    padding: 25px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.product-card {
    position: relative;
    text-align: left;
}

.product-card img {
    width: 100%;
    background: #fdecc8;
    padding: 40px;
    border-radius: 6px;
}

.product-card h3 {
    color: #8bc34a;
    font-size: 26px;
    margin: 15px 0 5px;
}

.product-card p {
    color: #777;
    margin-bottom: 10px;
}

.price {
    color: #2e7d32;
    font-weight: bold;
    font-size: 20px;
}

/* Badge */
.badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #8bc34a;
    color: white;
    padding: 10px 16px;
    border-radius: 30px;
    font-size: 14px;
    text-align: center;
    font-weight: bold;
}
.button {
    background: #f48ca0;
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: 20px;
    cursor: pointer;
}

.section-title {
    text-align: center;
    margin: 30px 0;
    font-size: 28px;
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #fffaf6;
    color: #333;
}

/* HEADER */
header {
    background: #f7a1b2;
    color: white;
    text-align: center;
    padding: 25px;
}

/* NAV */
nav {
    background: #f48ca0;
    text-align: center;
    padding: 10px;
}

nav a {
    color: white;
    margin: 0 15px;
    text-decoration: none;
    font-weight: bold;
}

/* CHI TIẾT SẢN PHẨM */
.chitietsanpham {
    max-width: 1000px;
    margin: 40px auto;
    background: white;
    display: flex;
    gap: 30px;
    padding: 25px;
    border-radius: 12px;
}

.product-image img {
    width: 350px;
    border-radius: 12px;
}

.product-info {
    flex: 1;
}

.best-seller {
    display: inline-block;
    background: #8bc34a;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-bottom: 10px;
}

.meta {
    color: #777;
    margin: 8px 0;
}

.price {
    font-size: 22px;
    color: #e53935;
    font-weight: bold;
    margin: 10px 0;
}

.section {
    margin: 15px 0;
}

.section h3 {
    margin-bottom: 6px;
}


.quantity input {
    width: 70px;
    padding: 6px;
}

.button {
    background: #f48ca0;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    cursor: pointer;
    margin-top: 20px;
    font-size: 16px;
}

/* FOOTER */
footer {
    background: #2f2f2f;
    color: #ccc;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}
#product-structure,
#product-accessories {
    list-style: none;
    padding-left: 0;
    margin: 0;
}
.banner {
    background: 
        linear-gradient(rgba(255,154,158,0.75), rgba(255,154,158,0.75)),
        url("https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTvPEfOuhiiJzI3yA54CbvyHZtpeCEjNNkS_g&s");
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 80px 20px;
}
.product-card a {
    text-decoration: none;
}
.footer {
    background-color: #f6f6f6;
    padding: 40px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
    background: #f5cfd6;
    color: #333;
}

.footer h3 {
    margin-bottom: 15px;
    font-size: 24px;
    color: #e67e22;
}

.footer p {
    margin: 6px 0;
    font-size: 15px;
}

.footer .social {
    margin: 15px 0;
    font-weight: bold;
    color: #555;
}

.footer .social span {
    cursor: pointer;
}

.footer .social span:hover {
    color: #e67e22;
}

.footer .copy {
    margin-top: 20px;
    font-size: 14px;
    color: #777;
}
/* ===== FOOTER ===== */
.footer {
    background: #e9f5d0;
    padding: 40px 60px 20px;
    font-size: 15px;
    color: #333;
}

/* PHẦN LIÊN HỆ */
/* ===== FOOTER ===== */
/* ===== FOOTER FIX CHUẨN ===== */
.footer {
    background: #f6a9d2;
    width: 100%;
    padding: 70px 0 40px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 80px;
}

/* Tiêu đề cột */
.footer-col h3,
.footer-col h4 {
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
    text-align: left;
}

/* Nội dung */
.footer-col p,
.footer-col li {
    font-size: 16px;          /* ⬅️ ĐỒNG ĐỀU */
    line-height: 1.8;
    margin-bottom: 8px;
    color: #4a1f2d;
    text-align: left;
}

/* ===== PHẦN LIÊN HỆ ===== */
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;          /* ⬅️ ĐỒNG ĐỀU */
    margin-bottom: 10px;
    color: #4a1f2d;
}

/* Mạng xã hội */
.footer-social {
    margin-top: 12px;
    font-size: 15px;
    font-weight: bold;
    color: #6b2c3e;
}

/* Bản quyền */
.footer-license {
    max-width: 1300px;
    margin: 50px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(0,0,0,0.2);
    font-size: 14px;
    color: #6b2c3e;
    text-align: left;
}

/* RESPONSIVE */
@media (max-width: 1000px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}
.footer ul {
    list-style: none;   /* ❌ bỏ dấu chấm */
    padding-left: 0;    /* ❌ bỏ thụt lề */
    margin: 0;
}

.footer ul li {
    margin-bottom: 10px;
}
.footer-contact {
    text-align: left;
}

/* Tiêu đề Liên hệ */
.footer-contact h3 {
    text-align: left;
    margin-left: 0;
}

/* Các dòng Liên hệ */
.footer-contact p {
    justify-content: flex-start; /* không đẩy vào giữa */
    padding-left: 0;
    margin-left: 0;
}

/* Mạng xã hội */
.footer-social {
    text-align: left;
    margin-left: 0;
}
.footer-license {
    width: 100%;                 /* ⬅️ chiếm toàn trang */
    text-align: center;          /* ⬅️ căn giữa chữ */
    margin-top: 40px;
    padding: 20px 0;

    border-top: 1px solid rgba(0,0,0,0.2);
    font-size: 14px;
    color: #6b2c3e;
    line-height: 1.6;
}
.sizes {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;   /* ⭐ RẤT QUAN TRỌNG: hiện hết size */
}

.size-btn {
    padding: 8px 16px;
    border: 1px solid #ff7aa2;
    background: #fff;
    color: #ff4f7b;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
}

.size-btn:hover {
    background: #ff7aa2;
    color: #fff;
}
/* MÀU MẶC ĐỊNH – BÁNH KHÁC (HỒNG) */
.product-info h2,
.product-info h3 {
    color: #ff4f7b;
}
.product-info h2 {
    color: #8bc34a;
    font-weight: 700;
}
.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    cursor: pointer;
    color: #0f100f;
    transition: all 0.3s ease;
    font-size: 14px;
}

/* hover giống nút */
.footer-col ul li:hover {
    color: #ffffff;
    padding-left: 6px;
}
/* ===== KÍCH THƯỚC – CHỌN & GIỮ ===== */
.sizes {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.sizes input[type="radio"] {
    display: none;
}

.sizes label {
    padding: 8px 18px;
    border: 1px solid #ff7aa2;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #ff4f7b;
    transition: all 0.3s ease;
}

.sizes label:hover {
    background: #ffb3c7;
    color: #fff;
}

.sizes input[type="radio"]:checked + label {
    background: #ff4f7b;
    color: white;
    border-color: #ff4f7b;
}

/* ================= MOBILE CHI TIẾT SẢN PHẨM ================= */
@media (max-width: 768px) {

    .chitietsanpham {
        flex-direction: column;     /* ⬅️ xếp dọc */
        padding: 16px;
        margin: 20px 10px;
        gap: 20px;
    }

    .product-image img {
        width: 100%;                /* ⬅️ ảnh full */
        max-width: 100%;
        height: auto;
        border-radius: 12px;
    }

    .product-info h2 {
        font-size: 22px;
        line-height: 1.3;
    }

    .price {
        font-size: 20px;
    }

    .section h3 {
        font-size: 16px;
    }

    .section p,
    .section li {
        font-size: 14px;
        line-height: 1.6;
    }

    /* SIZE */
    .sizes {
        gap: 10px;
    }

    .sizes label {
        padding: 10px 18px;     /* ⬅️ dễ bấm */
        font-size: 14px;
    }

    /* SỐ LƯỢNG */
   /* ===== SỐ LƯỢNG – MOBILE ĐẸP ===== */
/* ===== CHI TIẾT SẢN PHẨM – MOBILE ===== */
@media (max-width: 768px) {

    .chitietsanpham {
        flex-direction: column;
        padding: 16px;
        gap: 20px;
    }

    .qty-box {
        gap: 14px;
    }

    .qty-box input {
        width: 80px;
        height: 44px;
        font-size: 18px;
    }

    .qty-btn {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
}



    /* NÚT MUA */
    .button {
        width: 100%;
        padding: 14px;
        font-size: 17px;
        border-radius: 30px;
    }
}

