

    /* ===== Reset CSS ===== */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html, body {
      font-family: Arial, sans-serif;
      line-height: 1.15;
      font-size: 16px;
      background-color: #fff;
      color: #000;
    }

    img {
      max-width: 100%;
      display: block;
      border: 0;
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    ul, ol {
      list-style: none;
    }

    button {
      font-family: inherit;
      font-size: 100%;
      line-height: 1.15;
      margin: 0;
      border: none;
      background: none;
      cursor: pointer;
    }



    /* ===== HEADER LAYOUT ===== */
.site-header { background:whitesmoke; border-bottom: 1px solid rgba(0,0,0,0.06); }
.header-inner {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 20px;
}

/* logo trái */
.logo img { width: 120px; height: auto; display: block; }

/* nav ở giữa */
.main-menu { flex: 1; }
.main-menu ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 36px;
  align-items: center;
}

.main-menu li { position: relative; }
.main-menu a {
  text-decoration: none;
  color: #111;
  font-weight: 600;
  padding: 8px 12px;
  display: inline-block;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.main-menu a:hover { background: rgba(216,27,36,0.08); color:#d81b24; }

/* ===== SUBMENU ===== */
.menu_an {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 230px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  padding: 6px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
  z-index: 999;
}

.main-menu li.has-sub:hover > .menu_an {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}


.menu_an li { display: block; }
.menu_an li a {
  display: block;
  padding: 10px 16px;
  color: #222;
  font-weight: 500;
  border-radius: 6px;
  text-decoration: none;
  border-bottom: 1px solid #f4f4f4;
}
.menu_an li:last-child a { border-bottom: none; }
.menu_an li a:hover { background: #d81b24; color: #fff; }

/* ===== HIỆU ỨNG HIỆN MENU CON ===== */
.main-menu li.has-sub:hover > .menu_an,
.main-menu li.has-sub:focus-within > .menu_an {
  display: block;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ===== HOTLINE ===== */
.hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  padding: 6px 12px;
  border-radius: 40px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}
.hotline .icon {
  background: #d81b24;
  color:#fff;
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hotline .phone { font-weight:700; color:#222; }
.hotline .text  { font-size:12px; color:#666; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .main-menu ul { gap: 18px; }
  .logo img { width: 100px; }
}
@media (max-width: 600px) {
  .header-inner { flex-wrap: wrap; gap: 12px; }
  .main-menu { order: 3; width: 100%; }
  .main-menu ul { justify-content: space-around; }
  .hotline { order: 2; }
}

    /* ===== Layout Utilities ===== */
    .d-flex { display: flex; }
    .d-inline-flex { display: inline-flex; }
    .d-block { display: block; }
    .d-inline-block { display: inline-block; }
    .flex-row { flex-direction: row; }
    .flex-column { flex-direction: column; }
    .flex-wrap { flex-wrap: wrap; }
    .flex-1 { flex: 1; }
    .j-center { justify-content: center; }
    .j-start { justify-content: flex-start; }
    .j-end { justify-content: flex-end; }
    .j-sb { justify-content: space-between; }
    .a-center { align-items: center; }
    .a-start { align-items: flex-start; }
    .a-end { align-items: flex-end; }
    .full-width { width: 100%; }
    .full-height { height: 100%; }
    .t-center { text-align: center; }
    .pointer { cursor: pointer; }

    /* ===== Page Containers ===== */
    .page-area {
      width: 72.91667vw;
      margin: auto;
    }

    .bg-fff { background-color: #fff; }

    /* ===== Swiper Overrides ===== */
    .swiper-container { width: 100%; height: 100%; }
    .swiper-slide { text-align: center; display: flex; justify-content: center; align-items: center; }

    /* ===== Nuxt Progress Bar ===== */
    .nuxt-progress {
      position: fixed;
      top: 0;
      left: 0;
      height: 4px;
      width: 0;
      background-color: black;
      z-index: 9999;
      transition: width 0.1s, opacity 0.4s;
    }

    .nuxt-progress-failed { background-color: red; }
       .product-header {
      text-align: center;
      margin-top: 30px;
    }


   
    .mixue-icon {
      width: 80px;
    }

    /* Mixue mascot */
    .mixue-side {
      position: fixed;
      bottom: 0;
      right: 0;
      z-index: 1;
      transform: translate(0, 10%);
    }

    .mixue-character {
      width: 120px;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .horizontal-images img {
        width: 100%;
      }

      .product {
        width: 45%;
      }
    }

    @media (max-width: 480px) {
      .product {
        width: 90%;
      }
    }
  
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: Arial, sans-serif;
      background: #ffffff;
      overflow-x: hidden;
    }
    .product-header {
  display: flex;              /* Kích hoạt flexbox */
  flex-direction: column;     /* Sắp xếp từ trên xuống dưới */
  align-items: center;        /* Canh giữa theo trục ngang */
  justify-content: center;    /* Canh giữa theo trục dọc (nếu cần) */
  margin-top: 30px;
  gap: 10px;                  /* Khoảng cách giữa icon và chữ */
}

.mixue-icon {
  width: 80px;
  height: auto;
  display: block;
}

/* ===== STORE GALLERY ===== */
.store-gallery {
  background: linear-gradient(180deg, #fff9f9, #ffffff);
  text-align: center;
  padding: 60px 20px;
  overflow: hidden;
}

.store-gallery h2 {
  font-size: 1.8em;
  color: #e60012;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Khung tổng */
.slider-frame {
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Đường chạy hình ảnh */
.slide-track {
  display: flex;
  width: calc(250px * 10); /* 10 hình × 250px */
  animation: scroll 30s linear infinite;
}

.slide-track img {
  width: 250px;
  height: 180px;
  border-radius: 15px;
  margin: 0 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.slide-track img:hover {
  transform: scale(1.08);
}

/* Hiệu ứng trượt ngang vô hạn */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .slide-track img {
    width: 180px;
    height: 130px;
  }
}








.image-column {
    flex: 1.2; /* Cột hình ảnh lớn hơn một chút */
    position: relative;
    padding: 20px;
    background-color: #222; /* Hoặc màu nền phù hợp với ảnh */
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px; /* Bo góc nhẹ cho ảnh bên trong */
}

.text-column {
    flex: 1; 
    padding: 40px;
    background-color: white;
    /* Áp dụng đường cong vào phần này để tạo hiệu ứng */
    /* Tuy nhiên, hiệu ứng cong phức tạp cần dùng thêm pseudo-element hoặc SVG */
}

.section-heading {
    font-family: 'Arial', sans-serif;
    font-size: 2.5em;
    font-weight: 700;
    color: #CC0000; /* Màu đỏ mạnh/Màu cam của VNSport #FF8C00 */
    margin-bottom: 10px;
}

.section-subheading, .description-list {
    font-family: 'Arial', sans-serif;
    color: #555;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 20px;
    background-color: #CC0000; /* Màu Đỏ */
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #990000;
}

/* Hiệu ứng HOVER cho ảnh */

.image-gallery {
    max-width: 1400px; 
    margin: 0 auto;
    padding: 10px;
}

/* Điều chỉnh khoảng cách giữa các ảnh lớn hơn */
.row {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 15px; /* Tăng khoảng cách (gap) giữa các ảnh để tạo không gian trắng */
    margin-bottom: 15px; 
}

.gallery-item {
    overflow: hidden; 
    /* Thêm padding vào bên trong gallery-item để 'thu nhỏ' ảnh bên trong */
    padding: 10px; 
    
    /* Quan trọng: Thiết lập transition và cursor cho hover */
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    cursor: pointer; 
    
    /* Tùy chọn: Thêm nền trắng nhẹ cho mỗi item */
    background-color: #ffffff; 
    border-radius: 8px; /* Bo góc nhẹ cho khung ảnh */
}

/* Hiệu ứng HOVER (Vẫn giữ nguyên và hoạt động) */
.gallery-item:hover {
    transform: scale(1.03); 
    z-index: 10; 
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); 
}

.gallery-item img {
    width: 100%; 
    height: auto; 
    display: block;
    transition: filter 0.3s ease-in-out;
    /* Tùy chọn: Bo góc nhẹ cho chính hình ảnh bên trong */
    border-radius: 4px;
}
.gallery-item img {
    width: 100%; 
   
    display: block;
    /* Nếu bạn muốn tất cả ảnh có cùng chiều cao, hãy sử dụng: */
     object-fit: cover; 
       height: 200px; 
}

.gallery-item:hover img {
    filter: brightness(90%); 
}
     .footer {
            padding: 30px 10%;
            color: rgb(255, 245, 245);
            display: flex;
            gap: 20px;
            justify-content: space-between;
            font-size: small;
            background-color: #CC0000;
        }

        .cuoitrang {
            align-items: center;
            background-color: #CC0000;
            color: white;
            font-weight: 20;
            border: 1px solid white;
            padding: 20px;
            text-align: center;
        }
.social-qr-footer {
    background-color: #CC0000; /* Màu đỏ nổi bật */
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex; /* Sử dụng Flexbox để chia cột */
    justify-content: space-around; /* Căn đều các item */
    gap: 20px;
}

.qr-item {
    text-align: center;
    width: 25%; /* Mỗi item chiếm khoảng 1/4 */
}

.social-qr-footer {
    background-color: #CC0000; /* Màu đỏ nổi bật */
    padding: 30px 15px; /* Giảm padding tổng thể */
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 800px; /* Thu hẹp độ rộng tối đa của container (Làm mọi thứ nhỏ lại) */
    margin: 0 auto;
    display: flex; 
    justify-content: space-between; /* Giữ khoảng cách giữa các item */
    gap: 15px; /* Giảm khoảng cách giữa các item */
}

.qr-item {
    text-align: center;
    width: 25%; 
    padding: 0 5px; /* Thêm padding ngang nhẹ cho item */
}

/* 2. Định dạng Hộp QR Code */
.qr-box {
    background-color: white;
    padding: 5px; /* Giảm padding (khoảng đệm trắng) bên trong */
    border-radius: 12px; /* Bo góc nhỏ hơn */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Giảm bóng đổ cho nhẹ nhàng */
    display: inline-block;
    position: relative;
    overflow: hidden; 
}

.qr-box img {
    width: 100%;
    max-width: 120px; /* **GIẢM KÍCH THƯỚC TỐI ĐA CỦA QR CODE** */
    height: auto;
    display: block;
    border-radius: 6px; 
}

/* 3. Định dạng Tên Mạng Xã Hội */
.social-label {
    color: white; 
    font-size: 1em; /* Giảm kích thước font */
    font-weight: 500; /* Giảm độ đậm của font */
    margin-top: 8px; /* Giảm khoảng cách */
}

.social-label i {
    margin-right: 4px;
    font-size: 1.1em;
}

/* 4. Tùy chỉnh cho mobile */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column; 
    }
    .qr-item {
        width: 100%;
        margin-bottom: 15px;
    }
}

/* ===== KHUNG TỔNG ===== */
.container-section {
  display: flex;
  align-items: center;
  justify-content: center; /* Canh giữa nội dung */
  gap: 40px; /* Khoảng cách giữa ảnh và nội dung */
  width: 85%;
  max-width: 1100px;
  margin: 60px auto; /* Canh giữa toàn khung trên trang */
  border: 1px solid #f5d7d7;
  border-radius: 25px;
  padding: 40px 50px;
  background: #fffaf9;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* ===== CỘT HÌNH ẢNH (TRÁI) ===== */
.image-column {
  flex: 1.1;
  height: 400px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

/* ===== ẢNH TRONG SLIDER ===== */
.section-image {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeSlide 12s infinite;
  border-radius: 20px;
}

.section-image:nth-child(1) { animation-delay: 0s; }
.section-image:nth-child(2) { animation-delay: 3s; }
.section-image:nth-child(3) { animation-delay: 6s; }
.section-image:nth-child(4) { animation-delay: 9s; }

@keyframes fadeSlide {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}

/* ===== CỘT NỘI DUNG (PHẢI) ===== */
.text-column {
  flex: 0.9;
  padding: 20px 30px;
  color: #333;
  text-align: left;
}

.text-column h2 {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #e60012;
  letter-spacing: 0.5px;
}

.text-column p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 25px;
}

.divider {
  width: 60%;
  height: 2px;
  background: #ff3333;
  margin: 25px 0;
  border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .container-section {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    padding: 25px 20px;
  }

  .image-column {
    width: 100%;
    height: 300px;
  }

  .text-column {
    width: 90%;
    padding: 0;
  }

  .divider {
    margin: 15px auto;
  }
}


/* Thiết lập cơ bản */
body {
    margin: 0;
    font-family: sans-serif; /* Sử dụng font chữ dễ đọc, bạn có thể thay đổi */
}

.mixue-hero {
    /* Đặt chiều cao và chiều rộng cho khu vực hiển thị */
    width: 100%;
    height: 600px; /* Chiều cao mẫu, điều chỉnh theo ý muốn */
    background-image: url('https://www.cukcuk.vn/wp-content/uploads/2024/10/mastcot-mixue.jpg'); 
    background-size: cover; /* Đảm bảo ảnh nền phủ kín khu vực */
    background-position: center bottom; /* Căn ảnh nền ở giữa và phía dưới */
    position: relative; /* Quan trọng cho việc định vị lớp phủ và nội dung */
    color: #fff; /* Màu chữ mặc định là trắng */
}

.mixue-overlay {
    /* Tạo lớp phủ màu tối nhẹ (hoặc gradient) để làm nổi bật chữ */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Dùng gradient nếu cần tái tạo hiệu ứng chuyển màu trên ảnh gốc */
    background: linear-gradient(
        90deg, 
        rgba(0, 0, 0, 0.4) 0%, /* Màu đen mờ bên trái */
        rgba(0, 0, 0, 0.2) 50%, /* Màu ít mờ hơn ở giữa */
        rgba(0, 0, 0, 0.4) 100% /* Màu đen mờ bên phải */
    );
    display: flex;
    justify-content: center; /* Căn nội dung theo chiều ngang */
    align-items: center; /* Căn nội dung theo chiều dọc */
    text-align: center;
}

.mixue-content {
    /* Thiết lập cho khối nội dung chính */
    z-index: 10;
    padding: 20px;
}

.cta-heading {
    /* Thiết lập cho dòng chữ lớn "Gia nhập MIXUE ngay hôm nay" */
    font-size: 2.5em; /* Kích thước chữ lớn */
    font-weight: bold;
    margin-bottom: 5px;
    /* Dùng màu trắng */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Tạo bóng chữ để dễ đọc */
}

.cta-subtext {
    /* Thiết lập cho dòng chữ nhỏ "Điền vào mẫu đăng ký nhượng quyền" */
    font-size: 1.1em;
    font-weight: 300;
    margin-top: 5px;
    margin-bottom: 20px;
    /* Dùng màu trắng hoặc trắng nhạt */
}

.btn-register {
    /* Thiết lập cho nút "Đăng ký ngay" */
    display: inline-block;
    padding: 15px 30px;
    background-color: #e50012; /* Màu đỏ đặc trưng của MIXUE */
    color: #fff;
    text-decoration: none; /* Bỏ gạch chân */
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 50px; /* Bo tròn góc nút */
    transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu khi hover */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); /* Bóng nút nổi bật */
}

.btn-register:hover {
    background-color: #ff3344; /* Màu đỏ sáng hơn khi rê chuột vào */
}

.arrow-icon {
    margin-left: 10px;
    font-size: 1.2em;
    vertical-align: middle;
}

/* --------------------
   MEDIA QUERIES (Tối ưu cho thiết bị di động)
   -------------------- */
@media (max-width: 768px) {
    .mixue-hero {
        height: 400px; /* Giảm chiều cao trên thiết bị nhỏ */
    }

    .cta-heading {
        font-size: 1.8em; /* Giảm kích thước chữ lớn */
    }

    .cta-subtext {
        font-size: 1em;
    }

    .btn-register {
        padding: 12px 25px;
        font-size: 1em;
    }
}

/* ===== BOXCHAT NHỎ Ở GÓC PHẢI ===== */
.floating-mascot-small {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;      /* nhỏ gọn như file 3 */
  z-index: 999;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.floating-mascot-small {
      position: fixed;
      right: 20px;
      bottom: 30px;
      width: 140px;
      z-index: 50; }

.floating-mascot-small:hover {
  transform: scale(1.1);
}

/* Responsive cho mobile */
@media (max-width: 768px) {
  .floating-mascot-small {
    width: 40px;
    bottom: 15px;
    right: 15px;
  }
}

