* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* TOP BAR */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #eee;
    padding: 5px 20px;
    font-size: 13px;
}

.top-center {
    text-align: center;
    flex: 1;
}

/* HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    border-bottom: 1px solid #ddd;
}

/* LOGO */
.logo {
    font-weight: bold;
    font-size: 20px;
    letter-spacing: 2px;
}

/* MENU */
.menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.menu li a {
    text-decoration: none;
    color: black;
    font-size: 14px;
    transition: 0.3s;
}

.menu li a:hover {
    color: #888;
}

.sale a {
    color: red;
    font-weight: bold;
}

/* ICONS */
.icons {
    display: flex;
    gap: 15px;
    align-items: center;
    font-size: 14px;
    cursor: pointer;
}

.icons span:hover {
    opacity: 0.6;
}
.logo img {
    height: 25px;   /* chỉnh nhỏ lại */
    width: auto;
    object-fit: contain;
}
.hero {
    height: 500px;
    background: url('./img/logo_vans.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;
    padding-left: 80px;
    color: white;
}
.hero {
    height: 550px;
     background: url('../img/logo_vans.jpg') center/cover no-repeat;
    position: relative;
    display: flex;
    align-items: center;
}

/* lớp phủ tối */
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

/* nội dung */
.hero-content {
    position: relative;
    color: white;
    padding-left: 80px;
    max-width: 500px;
}

.hero-content h1 {
    font-size: 50px;
    margin-bottom: 10px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.hero-content button {
    padding: 12px 25px;
    background: white;
    color: black;
    border: none;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.hero-content button:hover {
    background: black;
    color: white;
}
/* ===== SECTION ===== */
.best-seller {
   max-width: 1200px;
    margin: 0 auto; /* căn giữa */
    padding: 60px 20px;
}

.best-seller__title {
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* ===== LIST ===== */
.best-seller__list {
  display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ===== CARD ===== */
.product-card {
    width: 220px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

/* ===== IMAGE ===== */
.product-card__img {
    width: 100%;
    transition: 0.3s;
}

.product-card:hover .product-card__img {
    transform: scale(1.05);
}

/* ===== BADGE ===== */
.product-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: red;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
}

/* ===== TEXT ===== */
.product-card__name {
    margin-top: 10px;
    font-size: 13px;
}

.product-card__brand {
    font-size: 11px;
    color: gray;
}

/* ===== PRICE ===== */
.product-card__price {
    margin-top: 5px;
}

.price-new {
    color: red;
    font-weight: bold;
}

.price-old {
    text-decoration: line-through;
    color: gray;
    margin-left: 5px;
}
.banner-chinh {
    position: relative;
    height: 500px;
   background: url('../img/logo_vans_2.webp') center/cover no-repeat;
    overflow: hidden;
     width: 100%;
    max-width: 1200px; /* thu nhỏ lại */
    margin: 40px auto; /* căn giữa */
   
}

/* hiệu ứng */
/* .lop-hieu-ung {
    position: absolute;
    width: 100%;
    height: 100%;
    background: url('../img/logo_vans.jpg') center/cover no-repeat;
    opacity: 0.6;
    animation: glitch 2s infinite;
} */

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-5px, 5px); }
    40% { transform: translate(5px, -5px); }
    60% { transform: translate(-3px, 3px); }
    80% { transform: translate(3px, -3px); }
    100% { transform: translate(0); }
}

/* nội dung */
.noi-dung-banner {
   position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* giữ nguyên cái này */
    text-align: center;
    width: 100%;
    max-width: 600px; /* để nó không bị dàn quá rộng */
}

.tieu-de-banner {
    font-size: 40px;
    letter-spacing: 3px;
}

.mo-ta-banner {
    margin: 15px 0;
}

/* nút */
.nut-mua {
     position: absolute;
    bottom: 20px;  /* cách đáy */
    right: 20px;   /* cách phải */
    
    padding: 10px 20px;
    background: white;
    color: black;
    border: none;
    cursor: pointer;
}

.nut-mua:hover {
    background: red;
}
.anh-banner {
    width: 870px;   /* theo devtools bạn đang thấy */
    height: auto;   /* giữ đúng tỷ lệ */
}
.tin-tuc {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.tieu-de-tin {
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

/* grid 3 cột */
.danh-sach-tin {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* card */
.the-tin {
    background: #f5f5f5;
    overflow: hidden;
    transition: 0.3s;
}

/* ảnh */
.anh-tin {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* nội dung */
.noi-dung-tin {
    padding: 15px;
}

.ngay-tin {
    font-size: 12px;
    color: gray;
    margin-bottom: 10px;
}

.ten-tin {
    font-size: 16px;
    margin-bottom: 10px;
}

.mo-ta-tin {
    font-size: 14px;
    color: #555;
}

/* hover */
.the-tin:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.footer {
    background: #f5f5f5;
    font-family: Arial, sans-serif;
}

/* phần trên */
.footer-tren {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 40px 60px;
    gap: 40px;
}

/* cột */
.cot-footer h4 {
    margin-bottom: 15px;
}

.cot-footer ul {
    list-style: none;
    padding: 0;
}

.cot-footer ul li {
    margin-bottom: 8px;
    font-size: 14px;
    cursor: pointer;
}

.cot-footer ul li:hover {
    text-decoration: underline;
}

/* email */
.nhap-email {
    display: flex;
    margin: 15px 0;
}

.nhap-email input {
    padding: 10px;
    border: 1px solid #ccc;
    flex: 1;
}

.nhap-email button {
    background: black;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

/* mạng xã hội */
.mang-xa-hoi span {
    display: inline-block;
    border: 1px solid #ccc;
    padding: 8px 12px;
    margin-right: 5px;
    cursor: pointer;
}

/* mô tả */
.mo-ta-footer {
    font-size: 14px;
    color: #555;
}

.chinh-sach {
    font-size: 12px;
    color: gray;
}

/* phần dưới */
.footer-duoi {
    text-align: center;
    padding: 15px;
    background: black;
    color: white;
    font-size: 13px;
}
.banner {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    height: 400px;
}

/* bên trái */
.banner-trai {
    width: 50%;
    background: black;
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo {
    width: 100px;
    margin-bottom: 20px;
}

.banner-trai h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-trai p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.banner-trai button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 12px 20px;
    cursor: pointer;
    width: fit-content;
    transition: 0.3s;
}

.banner-trai button:hover {
    background: white;
    color: black;
}

/* bên phải */
.banner-phai {
    width: 50%;
}

.banner-phai img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}