* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* head*/
.header {
    background-color: #ffd400;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.menu a {
    margin-left: 25px;
    text-decoration: none;
    color: #000;
    font-weight: 500;
}

/* content */
.content {
    background-color: #f5f5f5;
    padding: 30px 40px;
}

.content h2 {
    margin-bottom: 20px;
}

/* product list */
.product-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/*  product card  */
.product {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

/* nhãn khuyến mãi */
.label {
    font-size: 12px;
    text-align: left;
    margin-bottom: 6px;
}

.label .hot {
    color: red;
    font-weight: bold;
    margin-right: 6px;
}

.label .normal {
    color: #555;
}

/* hình ảnh */
.product img {
    width: 100%;
    height: 220px;
    object-fit: contain;
}

/* tên sản phẩm */
.product h3 {
    font-size: 14px;
    margin: 10px 0;
}

/* thông tin màn hình */
.spec {
    font-size: 13px;
    color: #666;
    margin: 6px 0;
}

/* dung lượng / RAM */
.storage {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin: 8px 0;
}

.option {
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    color: #333;
}

.option.active {
    border-color: #2a7fff;
    color: #2a7fff;
    background-color: #eaf3ff;
    font-weight: 500;
}

/* giá */
.price {
    color: red;
    font-weight: bold;
    margin-top: 6px;
}

/* quà tặng */
.gift {
    font-size: 13px;
    color: #2a7fff;
    margin-top: 5px;
}

/* đã bán */
.sold {
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
}

/* Footer */
.footer {
    background-color: #fff;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid #ddd;
}

.footer h4 {
    margin-bottom: 10px;
    font-weight: bold;
}

.footer p {
    margin-bottom: 6px;
    font-size: 14px;
}
/* Nút mua */
.button-buy {
    background-color: #04AA6D;
    border: none;
    color: white;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 12px;
    margin: 4px 2px;
}
