
        /* CSS Variables cho màu sắc */
        :root {
            --dark-blue: #1A237E;
            --purple: #673AB7;
            --orange: #FF5722;
            --white: #F5F5F5;
            --light-grey: #BDBDBD;
        }

        /* Thiết lập chung cho trang */
        body {
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--dark-blue);
            color: var(--white);
            overflow-x: hidden;
        }

        /* Phần đầu trang (Header) */
        .header {
            display: flex; /*đưa vào hộp fex container*/
            justify-content: space-between; /*căn trục chính (space-between: căn đều 2 bên chia khoản cách ở giữa)*/
            align-items: center; /*căn trục chéo*/
            padding: 20px 5%;
            background-color: var(--dark-blue);
        }

        .logo {
            font-size: 2em;
            font-weight: bold;
            color: var(--white);
        }
        
        

        .nav-icons a {
            color: var(--white);
            margin-left: 20px;
        }

        /* Phần banner chính (Hero Section) */
        .bannertrangchu {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;/*đặt các phần tử con xếp theo cột thay vì mawch định là ngang*/
            text-align: center;
            padding: 100px 5% 50px;
            background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('/R.png') ;
            height: 38vh; /*cao 60 % chiều cao màng hình*/
            background-size: contain;
            background-position: center;
            background-repeat: no-repeat;

        }

        .titlebanner1 {
           
           
            color: var(--white);
            margin-bottom: 10px;
        }
        .titlebanner1 samp 
        {
            
            color: orangered;
            margin-bottom: 10px;

        }

        .titlebanner2 {
            font-size: 1.2em;
            color: var(--light-grey);
            margin-bottom: 30px;
        }
        .xemngay {
  display: inline-block;
  padding: 12px 25px;
  background-color: orange;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  margin-top: 20px; /* cách trên 1 chút cho thoáng */
}

.xemngay:hover {
  background-color: darkorange;
  transform: translateY(-3px);
  box-shadow: 0 8px 12px rgba(0,0,0,0.3);
}
       
        /* Phần danh mục sản phẩm */
        .product-categories {
            display: flex;
            justify-content: space-between;
            padding: 50px 5%;
        }

        .category-card {
            width: 30%;
            background-color: var(--purple);
            border-radius: 10px; /*bo góc the*/
            padding: 30px;
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        .category-card a {
    text-decoration: none; /* Bỏ gạch chân */
    color: inherit; /* Giữ nguyên màu chữ theo thẻ cha */
}

        .category-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.3);
        }

        .category-card h3 {
            font-size: 1.8em;
            margin-bottom: 15px;
        }
        
        .category-card p {
            color: var(--light-grey);
            font-size: 1em;
        }

        .btn-shop {
            display: inline-block;
            background-color: var(--orange);
            color: var(--white);
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            font-weight: bold;
            margin-top: 20px;
            transition: background-color 0.3s ease;
        }
        
        .btn-shop:hover {
            background-color: #E64A19;
        }
         /* ===== MENU CHÍNH ===== */
.menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 20px;
}

.menu li {
  position: relative;
  display: inline-block;
}

.menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  padding: 10px 15px; /* đổi từ margin sang padding để không lệch */
  transition: color 0.3s ease, transform 0.2s ease;
}

.menu a:hover {
  color: var(--orange);
  transform: translateY(-2px);
}

/* ===== MENU CON (Dropdown) ===== */
.menu_an {
  display: none;
  position: absolute;
  top: 100%;
  left: 0; /* căn thẳng hàng với chữ Giày */
  transform: translateY(10px); /* hiệu ứng trượt xuống */
  background: var(--purple);
  padding: 10px 0;
  min-width: 180px;
  border-radius: 10px;
  z-index: 1000;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform-origin: top;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Hover vào menu cha thì hiện menu con */
.menu li:hover .menu_an {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ===== ITEM TRONG MENU CON ===== */
.menu_an li {
  display: block;
}

.menu_an li a {
  color: white;
  display: block;
  padding: 10px 20px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.menu_an li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateX(5px);
  border-radius: 5px;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 60px;
  background-color: #0b1c61;
  font-family: 'Segoe UI', sans-serif;
}

.nav-icons a {
  color: var(--white);
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-icons a:hover {
  color: var(--orange);
}

/* Phần trưng bày sản phẩm */
.trungbaysanpham {
  background: #1d1f4b; /* xanh tím đậm để hợp với banner */
  padding: 60px 20px;
  text-align: center;
}

.tieudetrungbay {
  font-size: 28px;
  color: #fff;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Lưới sản phẩm */
.luoitrungbay {
   display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch; /* ✅ giúp các khối sản phẩm cao đều */
}

/* Thẻ sản phẩm */
.thesanpham {
  background: linear-gradient(145deg, #2e2f70, #22245a);
  border-radius: 16px;
  padding: 20px;
  transition: 0.3s;
  box-shadow: 0 6px 12px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.thesanpham:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.6);
}

.thesanpham img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  margin-bottom: 15px;
}

.thesanpham h3 {
  font-size: 18px;
  color: #fff;
  margin: 10px 0;
}

.price {
  font-size: 16px;
  color: #ffcc00;
  margin-bottom: 15px;
}

/* Nút mua ngay */
.muangay {
  background: #ff9800;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.muangay:hover {
  background: #ffcc00;
  color: #1d1f4b;
}
.hinhsp {
  width: 175px;
  height: 175px;
}
.bannertranggiay {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;/*đặt các phần tử con xếp theo cột thay vì mawch định là ngang*/
            text-align: center;
            padding: 100px 5% 50px;
            background: url('/CHÍNH\ SÁCH\ BẢO\ HÀNH\ 2\ NĂM\ \(970\ x\ 250\ px\).png') ;
            height: 38vh; /*cao 60 % chiều cao màng hình*/
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;}


