body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    padding: 20px;
}

h1 {
    color: #333;
    text-align: center;
}

form {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    margin: auto;
}

input[type="text"], input[type="password"], input[type="email"], input[type="submit"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ccc;
}

input[type="submit"] {
    background-color: #4CAF50;
    color: white;
    cursor: pointer;
}

input[type="submit"]:hover {
    background-color: #45a049;
}

a {
    text-decoration: none;
    color: #4CAF50;
}

a:hover {
    text-decoration: underline;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 8px;
    text-align: left;
}
/* -------------------------------
   Global Styles & Body
--------------------------------- */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f5f5f5;
    color: #333;
    margin: 0;
    padding: 0;
  }
  
  /* -------------------------------
     Header & Navigation
  --------------------------------- */
  .header {
    background-color: #fff;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    
  }
  
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 1rem 2rem;
    
  }
  
  .nav a {
    color: #333;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s ease-in-out;
  }
  
  .nav a:hover {
    background-color: #f0f0f0;
  }
  
 
  
  .marquee .item {
    display: inline-block;
    margin-right: 10px;
  }
  
  /* Keyframes cho marquee: chuyển hết 50% chiều rộng để tạo hiệu ứng lặp */
  @keyframes marquee {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(-50%);
    }
  }
  
  /* -------------------------------
     Carousel Styles
  --------------------------------- */
  .carousel-container {
    position: relative;
    margin: 2rem auto;
    width: 100%;
    max-width: 600px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    
  }
  
  .carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
  }
  
  .carousel-images img {
    width: 100%;
    max-width: 600px;
    flex-shrink: 0;
    transform: translateY(-60px);
  }
  
  /* -------------------------------
     Arrow Button (Carousel Navigation)
  --------------------------------- */
  .arrow-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px 18px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    opacity: 0.7;
  }
  
  .arrow-button:hover {
    background-color: rgba(0, 0, 0, 0.6);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
  }
  
  .prev {
    left: 15px;
  }
  
  .next {
    right: 15px;
  }
  
  /* Hiển thị nút khi hover vào container (tùy chọn) */
  .carousel-container:hover .arrow-button {
    opacity: 1;
  }
  
  /* -------------------------------
     Carousel Dots
  --------------------------------- */
  .carousel-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
  }
  
  .dot {
    cursor: pointer;
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    transition: background-color 0.3s ease;
  }
  
  .dot.active {
    background-color: #ff5733;
  }
  
  /* -------------------------------
     Responsive & Utility
  --------------------------------- */
  /* Bạn có thể bổ sung thêm media query nếu cần tùy chỉnh responsive cho các thiết bị khác nhau */
  @media (max-width: 768px) {
    .nav {
      justify-content: center;
      padding: 1rem;
    }
    
    .carousel-container {
      max-width: 100%;
    }
  }
/* Container full chiều ngang */
.promo-container {
  background: linear-gradient(135deg, #E3F2FD, #BBDEFB); /* Xanh biển nhạt */
  width: 100%;
  padding: 25px 10px; /* Giảm padding ở hai bên */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

/* Nội dung chính */
.promo-content {
  display: flex;
  flex-wrap: wrap; /* Cho phép các phần tử co lại trên màn hình nhỏ */
  justify-content: center; /* Canh giữa trên các thiết bị nhỏ */
  align-items: center;
  width: 90%;
  max-width: 1000px;
  background: rgba(255, 255, 255, 0.7); /* Lớp kính mờ */
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(8px);
  box-sizing: border-box;
}

/* Tiêu đề */
.promo-title {
  font-size: 22px; /* Giảm font size một chút cho thích hợp trên di động */
  font-weight: bold;
  color: #1565C0; /* Xanh đậm */
  text-transform: uppercase;
  width: 100%;
}

/* Chữ mô tả */
.promo-subtitle {
  font-size: 14px;
  color: #1976D2;
  margin-top: 5px;
  width: 100%;
}

/* Bộ đếm giờ */
.countdown-timer {
  font-size: 10px; /* Giảm kích thước chữ một chút */
  font-weight: bold;
  background: #FF7043; /* Cam đậm nổi bật */
  color: white;
  padding: 8px 16px; /* Điều chỉnh padding cho gọn */
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(255, 112, 67, 0.5);
  min-width: 120px;
  text-align: center;
  margin-top: 10px;
}

/* Ghi chú dưới cùng */
.promo-note {
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  color: #37474F;
  padding: 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  display: inline-block;
  width: 100%;
}

/* Responsive cho điện thoại */
@media (max-width: 600px) {
  .promo-title {
    font-size: 18px; /* Giảm font-size tiêu đề trên màn hình nhỏ */
  }

  .promo-content {
    flex-direction: column; /* Sắp xếp lại các phần tử theo chiều dọc trên di động */
    align-items: center;
    padding: 10px;
  }

  .countdown-timer {
    font-size: 18px;
    padding: 8px 14px;
    min-width: 100px;
  }

  .promo-note {
    font-size: 12px; /* Điều chỉnh font-size của ghi chú */
    padding: 10px;
  }
}

  
  /* Header cố định */
  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    padding: 20px 40px;
  }
  
  /* Khi cuộn lên, header trượt lên để ẩn */
  header.hide {
    transform: translateY(-100%);
  }
  
  /* Tạo khoảng trống cho phần nội dung phía dưới header */
  body {
    padding-top: 80px; /* Đặt giá trị tương đương với chiều cao header */
  }
  .social-sidebar {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000; /* Đảm bảo luôn ở trên các phần tử khác */
  }
  
  .social-sidebar a {
    display: block;
    width: 60px;       /* Điều chỉnh kích thước icon */
    height: 60px;      /* Điều chỉnh kích thước icon */
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
  }
  
  .social-sidebar a:hover {
    transform: scale(1.1); /* Hiệu ứng phóng to nhẹ khi hover */
  }
  
  .social-sidebar a img {
    width: 100%;    /* Điều chỉnh kích thước icon bên trong */
    height: auto;
    object-fit: contain;
  }
  .add-to-cart {
    position: relative;
    z-index: 1; /* Đảm bảo nội dung nút nằm trên pseudo-element */
    padding: 12px 24px;
    font-size: 16px;
    color: #fff;
    background-color: #ff6f00; /* Màu nền nút */
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
  }
  
  /* Pseudo-element ::before tạo hiệu ứng viền rainbow xoay */
  .add-to-cart::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(
      red, 
      orange, 
      yellow, 
      green, 
      blue, 
      indigo, 
      violet,
      red
    );
    border-radius: inherit;
    z-index: -2;
    animation: rotateRainbow 2s linear infinite;
  }
  
  /* Pseudo-element ::after che phủ bên trong, chỉ để lộ ra viền rainbow */
  .add-to-cart::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    bottom: 3px;
    background: #53AF13; /* Giống màu nền nút */
    border-radius: inherit;
    z-index: -1;
  }
  
  /* Keyframes xoay hiệu ứng rainbow */
  @keyframes rotateRainbow {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
  }
  
  @keyframes rainbowBorder {
    0% { border-color: red; }
    14% { border-color: orange; }
    28% { border-color: yellow; }
    42% { border-color: rgb(18, 97, 216); }
    57% { border-color: rgb(163, 228, 198); }
    71% { border-color: rgb(190, 140, 140); }
    85% { border-color: violet; }
    100% { border-color: red; }
  }
  
  #checkout-btn {
    position: relative;
    font-weight: bold;
    text-transform: uppercase;
    border: 3px solid red;
    animation: rainbowBorder 4s infinite linear;
    transition: all 0.3s ease-in-out;
  }
  
  #checkout-btn:hover {
    transform: scale(1.05);
  }
  .add-to-cart {
    border: none;
    padding: 10px 20px;
    background-color: #4CAF50; /* Màu xanh lá cây */
    color: white;
    border-radius: 5px;
  
    /* Hiệu ứng khi hover */
    &:hover {
      background-color: #3e8e41;
      cursor: pointer;
    }
  }
      /* Thiết kế tổng thể */
      .promo-container {
        background-color: #fff5f5;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin: 10px;
        text-align: center;
    }

    .promo-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 15px;
    }

    /* Tiêu đề và phụ đề */
    .promo-title {
        font-size: 24px;
        font-weight: bold;
        color: #ff4500;
    }

    .promo-subtitle {
        font-size: 16px;
        color: #333;
    }

    /* Bộ đếm thời gian */
    .countdown-timer {
        font-size: 18px;
        font-weight: bold;
        color: #ff4500;
        margin-top: 10px;
    }

    .time-block {
        padding: 5px 15px;
        background-color: #fff;
        color: #ff4500;
        border-radius: 5px;
        margin: 0 5px;
        font-size: 14px;
        display: inline-block;
    }

    /* Ghi chú khuyến mãi */
    .promo-note {
        font-size: 16px;
        color: #333;
        margin-top: 20px;
        line-height: 1.5;
    }

    .promo-note strong {
        color: #ff4500;
    }

    /* Responsive: Mobile */
    @media (max-width: 768px) {
        .promo-container {
            padding: 15px;
        }

        .promo-title {
            font-size: 20px;
        }

        .promo-subtitle {
            font-size: 14px;
        }

        .countdown-timer {
            font-size: 16px;
        }

        .promo-note {
            font-size: 14px;
        }

        .time-block {
            font-size: 12px;
            padding: 4px 12px;
        }
    }

    /* Responsive: Desktop */
    @media (min-width: 769px) {
        .promo-container {
            padding: 25px;
        }

        .promo-title {
            font-size: 26px;
        }

        .promo-subtitle {
            font-size: 18px;
        }

        .countdown-timer {
            font-size: 20px;
        }

        .promo-note {
            font-size: 18px;
        }
    }
    .social-sidebar {
      position: fixed; /* Giữ cố định */
      top: 50%; /* Căn giữa theo chiều dọc */
      left: 10px; /* Cách mép trái 10px */
      transform: translateY(-50%); /* Căn chỉnh chính giữa */
      z-index: 1000; /* Đảm bảo hiển thị trên cùng */
      display: flex;
      flex-direction: column;
      gap: 10px; /* Khoảng cách giữa các icon */
  }
  
  .social-sidebar a img {
      width: 40px; /* Điều chỉnh kích thước icon */
      height: auto;
      border-radius: 50%;
      transition: transform 0.3s ease-in-out;
  }
  
  .social-sidebar a img:hover {
      transform: scale(1.1); /* Hiệu ứng phóng to khi di chuột vào */
  }
  /* Cấu hình chung */
.marquee-container {
  overflow: hidden;
  padding: 1rem 0;
}

.marquee {
  display: flex; /* Sử dụng flex để căn chỉnh các mục trên cùng một hàng */
  gap: 40px;  /* Tăng khoảng cách giữa các item */
  animation: marquee 35s linear infinite;
}

.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 300px;  /* Kích thước item phù hợp với màn hình lớn */
  flex-shrink: 0;
  text-align: center;
}

.item img {
  width: 100%;
  height: auto;
  max-width: 250px;  /* Kích thước ảnh tối đa */
}

.item h2 {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.item p {
  color: #4a4a4a;
  font-size: 16px;
  margin-top: 5px;
}

.item a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}

.item a:hover {
  text-decoration: underline;
}

/* Animation marquee */
@keyframes marquee {
  0% {
      transform: translateX(0);
  }
  100% {
      transform: translateX(-100%);
  }
}

/* Nút "Thêm vào giỏ hàng" */
.add-to-cart-btn {
  padding: 12px 24px;
  font-size: 16px;
  background-color: #4CAF50; /* Màu nền */
  color: white;
  border: none;  /* Xóa đường viền */
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;  /* Thêm hiệu ứng chuyển động */
  display: inline-block;  /* Đảm bảo nút không bị bao quanh khung */
  white-space: nowrap;  /* Đảm bảo văn bản trong nút không bị ngắt dòng */
  width: auto;  /* Đảm bảo nút không kéo dài không cần thiết */
}

/* Hiệu ứng hover */
.add-to-cart-btn:hover {
  background-color: #45a049; /* Màu nền khi hover */
  transform: translateY(-5px); /* Hiệu ứng nhấc lên khi rê chuột */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Thêm bóng khi hover */
}

/* Nếu nút không có khung, thêm bo tròn và mềm mại */
.add-to-cart-btn:focus {
  outline: none;
  box-shadow: 0 0 5px 3px rgba(72, 204, 98, 0.7); /* Thêm hiệu ứng khi focus */
}

/* Loại bỏ khung của form bao quanh nút */
form {
  margin: 0;  /* Xóa margin */
  padding: 0;  /* Xóa padding */
  border: none;  /* Xóa border */
}

/* Loại bỏ khung xung quanh nút nếu có */
.form-container {
  margin: 0;
  padding: 0;
  border: none;
}
.meo1{
  font-size:xx-large;
  color: rgb(223, 98, 15);
}
.meo11{
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: left;
  width: 50%;  
  margin: 0 auto;
}
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

.contact-buttons {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.button {
  display: inline-block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  margin: 10px;
  color: white;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  animation: glow 1.5s linear infinite;
}

/* Hiệu ứng hover */
.button:hover {
  transform: translateY(-5px);
}

/* Facebook */
.facebook {
  background-color: #3b5998;
}

/* Zalo */
.zalo {
  background-color: #4CAF50;
}

/* Font Awesome Icon */
.button i {
  margin: 0;
}

/* Tạo hiệu ứng nhấn vào nút */
.button:active {
  transform: translateY(2px);
}

/* Keyframe hiệu ứng đèn 7 màu chạy quanh */
@keyframes glow {
  0% {
      box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 20px #ff0000;
      border-color: #ff0000;
  }
  14% {
      box-shadow: 0 0 5px #ff7f00, 0 0 10px #ff7f00, 0 0 15px #ff7f00, 0 0 20px #ff7f00;
      border-color: #ff7f00;
  }
  28% {
      box-shadow: 0 0 5px #ffff00, 0 0 10px #ffff00, 0 0 15px #ffff00, 0 0 20px #ffff00;
      border-color: #ffff00;
  }
  42% {
      box-shadow: 0 0 5px #00ff00, 0 0 10px #00ff00, 0 0 15px #00ff00, 0 0 20px #00ff00;
      border-color: #00ff00;
  }
  57% {
      box-shadow: 0 0 5px #0000ff, 0 0 10px #0000ff, 0 0 15px #0000ff, 0 0 20px #0000ff;
      border-color: #0000ff;
  }
  71% {
      box-shadow: 0 0 5px #4b0082, 0 0 10px #4b0082, 0 0 15px #4b0082, 0 0 20px #4b0082;
      border-color: #4b0082;
  }
  85% {
      box-shadow: 0 0 5px #9400d3, 0 0 10px #9400d3, 0 0 15px #9400d3, 0 0 20px #9400d3;
      border-color: #9400d3;
  }
  100% {
      box-shadow: 0 0 5px #ff0000, 0 0 10px #ff0000, 0 0 15px #ff0000, 0 0 20px #ff0000;
      border-color: #ff0000;
  }
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .contact-buttons {
      bottom: 15px;
      right: 15px;
  }

  .button {
      width: 50px;
      height: 50px;
      font-size: 24px;
      line-height: 50px;
      margin: 8px;
  }
}

@media screen and (max-width: 480px) {
  .contact-buttons {
      bottom: 10px;
      right: 10px;
  }

  .button {
      width: 45px;
      height: 45px;
      font-size: 20px;
      line-height: 45px;
      margin: 6px;
  }
}

