html {
  scroll-behavior: smooth;
}
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Ngăn cuộn ngang */
    width: 100%;
  }

  .page {
    display: none;
  }
  .active {
    display: block;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  :root {
    --slantedText: "Pacifico", cursive;
    --primaryColor: #698f3f;
    --secondayColor: #fca311;
    --mainDark: #3a3e3b;
    --mainWhite: #fff;
    --mainGrey: #e5e5e5;
    --mainTransition: all 0.3s ease-in-out;
    --letterSpacing: 0.5rem;
  }
  
  body {
    font-family: "Catamaran", sans-serif;
    line-height: 1.5;
  }
  
  /* helper/utility classes */
  
  a {
    text-decoration: none;
  }
  .text-white {
    color: var(--mainWhite);
  }
  .text-center {
    text-align: center;
  }
  .text-primary {
    color: var(--primaryColor);
  }
  
  /* clearfix */
  .clearfix::after,
  .clearfix::before {
    content: "";
    clear: both;
    display: table;
  }
  
  /* globals */
  .section-center {
    padding: 4rem 0;
    width: 80vw;
    max-width: 1170px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 1.5rem;
    text-transform: uppercase;
  }
  /* nav button */
  .nav-btn {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    color: var(--primaryColor);
    margin: 1rem 1.3rem;
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
    cursor: pointer;
  }
  @keyframes bounce {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.5);
    }
    100% {
      transform: scale(1);
    }
  }
  /* end of nav button */
  /* navbar */
  .navbar {
    width: 100vw; /* Đảm bảo chiếm toàn bộ chiều rộng màn hình */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%; /* Để thanh menu chiếm toàn bộ chiều cao của viewport */
    z-index: 700;/* Đảm bảo thanh menu nằm trên tất cả các phần tử khác */
    background: var(--mainGrey);
    padding-top: 1rem;
    padding-left: 1rem;
    transition: var(--mainTransition);
    /* for closing the navbar */
    transform: translateX(-100%);
    overflow-y: auto; /* Thêm cuộn dọc nếu cần */
    display: none; /* Ẩn menu khi chưa mở */
  }
  .showNav {
    /* for opening the navbar */
    transform: translateX(0);
  }
  /* Khi menu mở */
  .navbar.active {
    display: block;
  }
  .navbar-header {
    padding: 10px;
  }
  .nav-close {
    font-size: 2rem;
    cursor: pointer;
  }
  .nav-items {  
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    margin-top: 50px; /* Khoảng cách từ đầu menu đến các item */
  }
  .nav-items .nav-link {
    color: white;
    display: block;
    padding: 15px 0;
    text-decoration: none;
  }
  .nav-close i {
    color: white;
    font-size: 24px;
    cursor: pointer; /* Thay đổi con trỏ khi hover */
  }
  .nav-link {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--primaryColor);
    transition: var(--mainTransition);
  }
  .nav-link:hover {
    
    padding-left: 0.3rem;
    color: rgb(246, 250, 30); /* Thay đổi màu chữ khi di chuột qua */
    transform: scale(1.05); /* Phóng to liên kết khi di chuột qua */
  }
  
  @media screen and (min-width: 768px) {
    .navbar {
      width: 30vw;
      max-width: 20rem;
    }
  }


  /* Đối với màn hình nhỏ (iPhone) */
@media (max-width: 768px) {
.navbar {
width: 100%; /* Để thanh điều hướng chiếm toàn bộ chiều rộng màn hình */
}

.contact-image img {
width: 100%; /* Đảm bảo hình ảnh không bị vỡ */
height: auto;
}

.product-img {
width: 100%;
height: auto;
}

.products-inventory {
display: flex;
flex-wrap: wrap; /* Sắp xếp sản phẩm theo hàng cho gọn gàng */
justify-content: space-between; /* Căn giữa các sản phẩm đều nhau */
align-items: flex-start; /* Đảm bảo sản phẩm không nhảy khi thay đổi kích thước */
}

.product {
width: 100%; /* Sản phẩm chiếm toàn bộ chiều rộng màn hình khi trên điện thoại */
flex: 1 1 calc(33.333% - 20px); /* Mỗi sản phẩm chiếm 1/3 chiều rộng, trừ khoảng cách 20px giữa các sản phẩm */
margin-bottom: 20px;
}
.product img {
width: 100%; /* Đảm bảo hình ảnh chiếm toàn bộ chiều rộng của phần tử sản phẩm */
height: auto;
object-fit: cover; /* Tránh hình bị méo khi zoom */
}

.main-btn {
width: 100%; /* Các nút có kích thước phù hợp với màn hình */
text-align: center;
}
}

@media (max-width: 800px) {
.section-title, .contact-text {
font-size: 35px;
}

.banner-btn {
padding: 10px 15px; /* Giảm padding cho các nút để phù hợp hơn với màn hình nhỏ */
}
}
  /* end of navbar */
  
  /* header */
  .header {
    min-width: 100vw; /* Đảm bảo chiếm toàn bộ chiều rộng màn hình */
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), 
      url("./images/checkout.jpg") center/cover no-repeat fixed;
    position: relative;
    transition: background-image 0.5s ease-in-out, filter 0.5s ease-in-out;/* Hiệu ứng chuyển đổi mượt */
  }
  
  /* banner */
  .banner {
    position: absolute;
    top: 50%;
    left: 50%;
    text-align: center;
    padding: 0 20px; /* Thêm padding để tránh cắt ở hai bên */
    transform: translate(-50%, -50%);
    letter-spacing: var(--letterSpacing);
  }
  @media (max-width: 768px) {
    .banner {
        padding: 0 20px; /* Giảm padding ở màn hình nhỏ */
    }
}
  
  .banner-subtitle {
    font-size: 3.2rem;
    color: var(--primaryColor);
    animation: none; 
    font-family: 'Calistoga', cursive; 
  }
  @media (max-width: 768px) {
    .banner-subtitle {
        font-size: 1.5rem; /* Giảm kích thước phông chữ trên thiết bị di động */
    }
}
@media (max-width: 480px) {
  .banner-subtitle {
      font-size: 1.3rem; /* Giảm thêm cho màn hình nhỏ hơn */
  }
}
  
  .banner-title {
    text-transform: uppercase;
    font-size: 3.2rem;
    color: var(--mainWhite);
    margin-top: 2.5rem;
    line-height: 1.3;
    animation: none;
    font-family: 'Alata', cursive;
  }
  
  
  .main-btn,
  .banner-btn {
    display: inline-block;
    background: var(--primaryColor);
    text-transform: uppercase;
    padding: 0.8rem 1.2rem;
    color: var(--mainDark);
    font-weight: bold;
    outline: 0.2rem solid var(--primaryColor);
    outline-offset: 4px;
    cursor: pointer;
    margin-top: 2rem;
    transition: none;
  }
  
  .main-btn:hover,
  .banner-btn:hover {
    color: var(--mainWhite);
    opacity: 1;
  }
  
  .banner-btn {
    padding: 1.2rem 1.5rem;
    animation: none;
  }
  
  /* end of header */
  
  /* animations */
  
  @keyframes show {
    0% {
      transform: scale(2);
      opacity: 0;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  @keyframes slideFromRight {
    0% {
      transform: translate(1000px);
    }
    50% {
      transform: translate(-200px);
    }
    75% {
      transform: translate(50px);
    }
    100% {
      transform: translate(0);
    }
  }
  
  @keyframes slideFromLeft {
    0% {
      transform: translate(-1000px);
    }
    50% {
      transform: translate(200px);
    }
    75% {
      transform: translate(-50px);
    }
    100% {
      transform: translate(0);
    }
  }
  
  /* end of animations */
  
  /* content divider  */
  .content-divider {
    height: 0.5rem;
    background: linear-gradient(
      to left,
      var(--primaryColor),
      var(--secondayColor),
      var(--primaryColor)
    );
  }
  /* end of content divider  */
  
  /* skills */
  .skills {
    background: var(--mainGrey);
  }
  .skill {
    padding: 2.5rem 0;
    text-align: center;
    transition: var(--mainTransition);
  }
  .skill-icon {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1.5rem;
  }
  .skill-title {
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: var(--letterSpacing);
    margin-bottom: 1.5rem;
    color: var(--primaryColor);
    transition: var(--mainTransition);
  }
  .skill-text {
    max-width: 13rem;
    margin: 0 auto;
  }
  .skill:hover {
    background: var(--primaryColor);
  }
  .skill:hover .skill-title {
    color: var(--mainWhite);
  }
  .skill:hover .skill-icon {
    transform: translateY(-5px);
  }
  @media screen and (min-width: 576px) {
    .skill {
      float: left;
      width: 50%;
    }
  }
  @media screen and (min-width: 1200px) {
    .skill {
      width: 25%;
    }
  }
  /* end of skills */
  
  /* about */
  .about-img,
  .about-info {
    padding: 2rem 0;
  }
  .about-pic-container {
    background: var(--primaryColor);
    border: 0.5rem solid var(--primaryColor);
    border-radius: 1rem;
    /* overflow */
    overflow: hidden;
  }
  .about-pic {
    width: 100%;
    display: block;
    transition: var(--mainTransition);
  }
  .about-pic-container:hover .about-pic {
    opacity: 0.5;
    transform: scale(1.2);
  }
  .about-text {
    margin: 1rem 0;
    max-width: 26rem;
  }
  @media screen and (min-width: 992px) {
    .about-img,
    .about-info {
      float: left;
      width: 50%;
      padding: 2rem;
    }
  }
  /* end of about */
  
  /* products */
  .products {
    background: var(--mainDark);
    position: relative;
    overflow: hidden;
  }
  .products-info,
  .products-inventory {
    padding: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;  
    
  }
  .product-text {
    color: var(--mainWhite);
    margin: 1rem 0;
    max-width: 26rem;
  }
  .product {
    width: 100%; /* Đảm bảo sản phẩm chiếm toàn bộ chiều rộng màn hình nhỏ */
    margin-bottom: 20px;
    padding: 2rem 0;
    flex: 1 1 calc(33.333% - 20px); /* Chia đều 3 sản phẩm mỗi hàng và trừ khoảng cách */
    margin-bottom: 20px; /* Khoảng cách giữa các hàng sản phẩm */
    
  }
  @media (max-width: 768px) {
    .product {
      width: 100%; /* Đảm bảo sản phẩm hiển thị đủ trên màn hình nhỏ hơn */
    }
  }
  .teapot-products .product {
    width: 100%; /* Đảm bảo sản phẩm ấm trà chiếm toàn bộ chiều rộng màn hình nhỏ */
    margin-bottom: 20px;
  }
  
  .product-img {
    width: 100%;
    display: block;
    border-radius: 0.4rem;
    margin-bottom: 2rem;
    height: auto;
  }
  .product-title {
    font-family: 'Merriweather', serif;
    color: var(--mainWhite);
    text-transform: uppercase;
    letter-spacing: var(--letterSpacing);
    margin-bottom: 1rem;
    font-size: 14px; /* Kích thước chữ của tiêu đề sản phẩm */
    color: rgb(248, 248, 248);
    font-weight: bold;
    transition: text-decoration 0.3s ease, transform 0.3s ease, font-weight 0.3s ease; /* Hiệu ứng chuyển đổi cho gạch chân, phóng to và độ đậm chữ */
  }
  .product-title:hover {
    color: #e1f33f; /* Màu chữ khi di chuột qua (xanh dương sáng) */
    text-decoration: underline; /* Thêm gạch chân khi di chuột qua */
    transform: scale(1.1); /* Phóng to một chút khi di chuột qua */
    font-weight: bold; 
  }
  .product-price {
    font-size: 18px; /* Làm nổi bật giá sản phẩm với kích thước lớn hơn */
    letter-spacing: var(--letterSpacing);
    font-family: 'Roboto', sans-serif;
    color: #d35400; /* Màu sắc nổi bật cho giá sản phẩm */
  }
  @media screen and (min-width: 768px) {
    .product {
      float: left;
      width: 50%;
      padding: 2rem 1rem;
    }
    .products-info {
      padding: 2rem 1rem;
    }
  }
  @media screen and (min-width: 992px) {
    .product {
      width: 33.3%;
    }
  }
  .details-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px;
    border-radius: 5px;
    opacity: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    padding: 5px 10px;
    display: none;
    text-align: center;
    transition: opacity 0.3s ease;
  }
  .product:hover .details-overlay {
    
    display: flex;
  }
  @media screen and (min-width: 1200px) {
    .products-info {
      float: left;
      width: 30%;
    }
    .products-inventory {
      float: left;
      width: 70%;
    }
    .product {
      padding: 1.5rem 1rem 0 1rem;
    }
  }
  .product-link {
    position: relative;
    display: flex;
  }
  /* Styling for product price */
  .product-price {
    color: var(--mainWhite); /* Màu trắng */
    letter-spacing: var(--letterSpacing);
    font-family: var(--slantedText);
  }
  /* end of products */


  /*video */
  .tea-brewing {
    background: linear-gradient(135deg, #4caf50, #a5d6a7, #81c784); /* Màu nền gradient */
    padding: 50px 0;
    color: white; /* Màu chữ */
  }
  
  .video-container {
    float: left;
    width: 50%;
    padding-right: 20px; /* Khoảng cách giữa video và mô tả */
  }
  
  .video-description {
    float: right;
    width: 50%;
    padding-left: 20px; /* Đệm cho phần mô tả */
  }
  
  @media (max-width: 768px) {
    .video-container, .video-description {
      float: none;
      width: 100%;
      padding: 0 10px; /* Điều chỉnh padding trên màn hình nhỏ */
      text-align: center; /* Căn giữa nội dung trên màn hình nhỏ */
    }
  }
  
  
  /* services */
  .services {
    background-color: #9e9c9c; 
    padding: 50px 0; 
  }
  .services-title {
    padding-top: 4rem;
    margin-bottom: 30px; /* Khoảng cách dưới tiêu đề */
  }
  .service-card {
    border: 0.3rem solid var(--primaryColor);
    padding: 0.2rem;
    border-radius: 1rem;
    margin: 2rem 0;
    /* box-shadow */
    box-shadow: 7px 7px 3px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 7px 7px 3px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 7px 7px 3px 0px rgba(0, 0, 0, 0.75);
    transition: var(--mainTransition);
  }
  .service-card:hover {
    box-shadow: 8px 8px 5px rgba(0, 0, 0, 0.5); /* Điều chỉnh box-shadow */
    -webkit-box-shadow: 10px 12px 6px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 12px 6px 0px rgba(0, 0, 0, 0.75);
  }
  .service-img {
    width: 100%;
    display: block;
    border-top-left-radius: 0.5rem;
    border-top-right-radius: 0.5rem;
  }
  .service-info {
    background: var(--mainDark);
    border-bottom-left-radius: 0.5rem;
    border-bottom-left-radius: 0.5rem;
    text-align: center;
    font-size: 1.3rem;
    letter-spacing: var(--letterSpacing);
    color: var(--mainWhite);
    text-transform: capitalize;
    padding: 2.5rem 0 1rem 0;
  }
  .service-btn {
    color: var(--primaryColor);
    display: inline-block;
    background: var(--mainWhite);
    text-decoration: none;
    text-transform: capitalize;
    padding: 0.8rem 2rem;
    font-weight: bold;
    border: 0.2rem solid var(--primaryColor);
    border-radius: 0.5rem;
    cursor: pointer;
    margin-top: 1rem;
    transition: var(--mainTransition);
  }
  .service-btn:hover {
    background: var(--primaryColor);
    color: var(--mainWhite);
    border: 0.2rem solid var(--mainWhite);
  }
  .service-img-container {
    position: relative;
  }
  .service-icon {
    position: absolute;
    bottom: 0;
    left: 50%;
    font-size: 2rem;
    background-color: var(--primaryColor);
    padding: 0.25rem 0.6rem;
    border-radius: 50%;
    border: 0.2rem solid var(--mainDark);
    color: var(--mainDark);
    /* element contains its own width and height,
    when we use positon prop it will not show it in center
    --> to fix it we use transform prop accoring to position prop ex:- transform: translateX(-50%);
    to move -50% of its own width and height(same for banner title also) */
    transform: translate(-50%, 50%);
    /* box-shadow: */
    box-shadow: 8px 9px 5px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 8px 9px 5px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 8px 9px 5px 0px rgba(0, 0, 0, 0.75);
  }
  
  @media screen and (min-width: 768px) {
    .service-card {
      float: left;
      width: 45%;
      margin-right: 5%;
    }
  }
  @media screen and (min-width: 992px) {
    .service-card {
      width: 30%;
      margin-right: 3.33%;
    }
  }
  /* end of services */
  
  /* contact */
  .contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Căn giữa các thành phần */
    align-items: center; /* Giữ cho các mục ở tâm thẳng hàng */
    padding: 20px;
  }
  .contact-image {
    flex: 1 1 300px; /* Cho phép ảnh chiếm không gian nhưng không nhỏ hơn 300px */
    margin-right: 20px; /* Khoảng cách giữa hình ảnh và thông tin */
    margin-left: auto; /* Đảm bảo không dính lề bên trái */
    max-width: 430px;
    width: 100%; /* Giúp ảnh co giãn phù hợp với bố cục */
  }
.contact-info {
  flex: 1 1 300px;
  margin-right: auto; /* Đảm bảo không dính lề bên phải */
  max-width: 600px;
  }
  .contact-item {
    margin-bottom: 10px;
  }
  .contact-title {
    color: var(--primaryColor);
    font-family: var(--slantedText);
    text-transform: uppercase;
    letter-spacing: var(--letterSpacing);
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  .contact-icon i {
    margin-right: 1rem;
  }
  .contact-text {
    text-transform: uppercase;
    font-size: 18px; /* Kích thước chữ mặc định */
    color: #333; /* Màu chữ mặc định */
    white-space: nowrap;
    transition: transform 0.3s ease; /* Hiệu ứng chuyển đổi cho phóng to */
  }
  /* Hiệu ứng khi di chuột qua thông tin liên hệ */
  .contact-text:hover {
    transform: scale(1.1); /* Phóng to thông tin khi di chuột qua */
    color: #007bff; /* Thay đổi màu sắc khi di chuột qua */
  }
  .main-btn {
    padding: 10px 20px; /* Điều chỉnh kích thước nút */
  }

  .form-control {
    display: block;
    width: 100%;
    border: none;
    outline: none;
    border-bottom: 2px solid var(--primaryColor);
    margin: 2rem 0;
    padding: 1.3rem 0;
    font-size: 0.85rem;
    font-weight: bold;
  }
  .form-control::placeholder {
    font-family: "Catamaran", sans-serif;
    color: var(--primaryColor);
    text-transform: uppercase;
    letter-spacing: var(--letterSpacing);
  }
  @media screen and (min-width: 992px) {
    .contact-info,
    .contact-form {
      float: left;
      width: 50%;
      padding: 0 1rem;
    }
    .contact-info {
      flex: 1 1 300px; /* Cho phép thông tin chiếm không gian nhưng không nhỏ hơn 300px */
      text-align: left; /* Căn lề trái cho văn bản */
      max-width: 600px;
    }
  }
  .section-center {
    padding: 0;
    max-width: 1170px; /* Hoặc một giá trị cụ thể phù hợp với thiết kế của bạn */
    margin: 0 auto; /* Đảm bảo căn giữa nội dung */
  }

  /* Thiết lập kiểu chữ chung */
.contact-title, .contact-text {
  font-size: 16px; /* Kích thước phông chữ mặc định */
  line-height: 1.5; /* Tạo khoảng cách hợp lý giữa các dòng */
}

  @media (max-width: 768px) {
    
    .contact {
        flex-direction: column; /* Chuyển thành bố cục dọc khi màn hình nhỏ */
    }
    
    /* Thu nhỏ kích thước phông chữ */
    .contact-title {
      font-size: 18px; /* Giảm kích thước phông chữ của tiêu đề */
    }
    .contact-text {
      font-size: 12px; /* Giảm kích thước phông chữ của nội dung */
    }

    .contact-image {
      margin-right: 0; /* Xóa khoảng cách bên phải */
      margin-bottom: 20px; /* Thêm khoảng cách dưới ảnh */
      
    }
  

    .contact-info {
        text-align: center; /* Căn giữa văn bản trên màn hình nhỏ */
        max-width: 100%; /* Đảm bảo thông tin chiếm toàn bộ chiều rộng container */
    }

    .order-button {
        text-align: center; /* Căn giữa nút đặt hàng */
    }
}
  /* end of contact */
  
  /* footer */
  .footer {
    background: var(--mainDark);
    color: var(--mainWhite);
    padding: 20px 0;
    margin-top: 20px; /* Điều chỉnh nếu cần */
    width: 100%; /* Đảm bảo footer chiếm 100% chiều rộng */
    text-align: center;
  }
  .social-icon {
    color: var(--mainWhite);
    font-size: 1.3rem;
    margin-right: 1rem;
    transition: var(--mainTransition);
  }
  .social-icon:hover {
    color: var(--primaryColor);
  }
  .footer-text {
    color: var(--mainWhite);
    text-transform: uppercase;
    letter-spacing: var(--letterSpacing);
    margin-top: 1rem;
    font-size: 00.85rem;
  }
  /* end of footer */


  /*after explore*/
  .story {
    padding: 5rem 0;
    background-color: rgba(0, 0, 0, 0.9);
    color: var(--mainWhite);
    text-align: center;
    min-height: 100vh;
    display: none; /* Ẩn ban đầu */
  }
  .story-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.2rem;
  }/* end of explore */
  

  /* Đảm bảo ảnh nền luôn giữ nguyên */
  .about-img {
    position: relative;
    width: 50%;
    float: left;
  }
  
  .about-info {
    width: 50%;
    float: left;
  }
  
  .page {
    display: none; /* Mặc định ẩn */
  }
  
  .page.active {
    display: block; /* Hiển thị khi trang đang được chọn */
  }
  
  .about-pic-container {
    position: relative;
  }
  
  .about-pic {
    width: 100%;
    height: auto;
  }
  
  .main-btn {
    background-color: #6b705c;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    margin-top: 20px;
  }         


  /* Hide non-active story pages */
  .story-content {
    display: none;
  }
  
  .story-content.active {
    display: block;
  }


  /* Styling for the products section */
  .products {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(135deg, #4caf50, #a5d6a7, #81c784); /* Màu gradient chuyển đổi từ xanh lá đến xanh nhạt */
    background-size: 300% 300%; /* Tăng kích thước để tạo hiệu ứng sóng rộng hơn */
    animation: gradientWave 8s ease infinite; /* Giảm tốc độ animation để sóng chậm hơn */
    color: white;
  }

  .productsTeapot {
    position: relative;
    padding: 50px 0;
    background: linear-gradient(135deg, #3f2b07, #72531a, #045727); /* Màu gradient chuyển đổi từ xanh lá đến xanh nhạt */
    background-size: 300% 300%; /* Tăng kích thước để tạo hiệu ứng sóng rộng hơn */
    animation: gradientWave 8s ease infinite; /* Giảm tốc độ animation để sóng chậm hơn */
    color: white;
  }
  
  @keyframes gradientWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  

  /* Styling for the teapot products section */
  .teapot-products {
    position: relative;
    padding: 50px 0;
    background: radial-gradient(circle at center, #854004, #18130f, #926e2f); /* Tăng sự tương phản với tông màu nâu và be */
    background-size: 300% 300%;
    animation: teapotWave 10s ease infinite; /* Điều chỉnh thời gian cho sóng chuyển động chậm hơn */
    color: white;
  }
  
  @keyframes teapotWave {
    0% { background-position: 50% 0%; }
    50% { background-position: 50% 100%; }
    100% { background-position: 50% 0%; }
  }
  
  
  
  /* Overlay effect to darken the background for better readability */
  .products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Nền đen trong suốt */
    z-index: 1;
  }
  
  /* Content inside the products section */
  .section-center {
    position: relative;
    z-index: 2; /* Đảm bảo nội dung luôn nằm trên ảnh nền */
  }
  
  .products-info {
    margin-bottom: 20px;
  }
  
  .product-text {
    color: white; /* Text màu trắng để hiển thị tốt trên nền tối */
  }
  
  /* Additional styles for buttons and text */
  .main-btn {
    background-color: #fff;
    color: #000;
    padding: 10px 20px;
    border: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .main-btn:hover {
    background-color: #f0c040; /* Màu khi hover */
    color: white;
  }
  #addToCartBtn {
    background-color: rgb(250, 246, 246); /* Màu nền ban đầu là đỏ */
    color: rgb(34, 32, 32); /* Chữ màu trắng */
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease; /* Hiệu ứng chuyển màu mượt */
  }
  
  #addToCartBtn:hover {
    background-color: rgb(27, 226, 183); /* Màu nền chuyển sang xanh lá cây khi hover */
    color: white; /* Chữ màu trắng khi hover */
  }
  
  
  .products-inventory .product {
    margin-bottom: 20px;
  }

  
  .social-icons {
   display: flex;
   justify-content: center;
   gap: 15px; /* Khoảng cách giữa các biểu tượng */
  }

  .social-icon {
    font-size: 24px; /* Kích thước biểu tượng mặc định */
    color: #cab7b7; /* Màu sắc mặc định của biểu tượng */
    transition: transform 0.3s ease, color 0.3s ease; /* Hiệu ứng chuyển đổi cho phóng to và thay đổi màu */
  }

  .social-icon:hover {
    transform: scale(1.2); /* Phóng to biểu tượng khi di chuột qua */
    color: #007bff; /* Thay đổi màu sắc của biểu tượng khi di chuột qua */
  }

  .floating-icons {
    position: fixed;
    right: 15px; /* Đặt sát bên phải */
    bottom: 80px; /* Khoảng cách từ dưới lên */
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-icons .icon {
    width: 55px;
    height: 55px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-icons .icon img {
    width: 32px;
    height: 32px;
}

.floating-icons .icon:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.3);
}

img {
  display: block;  /* Đảm bảo ảnh là một khối */
  margin: 0 auto;  /* Căn giữa theo chiều ngang */
  max-width: 100%; /* Đảm bảo ảnh không vượt quá kích thước màn hình */
  height: auto;    /* Giữ tỉ lệ ảnh */
}

@media screen and (max-width: 768px) {
  .contact-image {
      text-align: center; /* Căn giữa ảnh */
      display: flex;
      justify-content: center;
  }
  
  .contact-image img {
      max-width: 90%; /* Đảm bảo ảnh vừa với màn hình điện thoại */
      height: auto;
  }
}

/* Định dạng màu nền riêng cho từng icon */
.floating-icons .messenger {
    background-color: #0084ff;
}

.floating-icons .zalo {
    background-color: #008fe5;
}

#bank-info {
  display: none; 
  margin-top: 10px; padding: 10px; 
  background: #fff3cd; 
  border-radius: 5px; display: flex; 
  justify-content: space-between; 
  align-items: center;
}

#momo-info {
  display: none; 
  margin-top: 10px; 
  padding: 10px; 
  background: #d1e7dd; 
  border-radius: 5px; 
  display: flex; 
  justify-content: space-between; 
  align-items: center;
}