* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

}

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
.body.loading {
  opacity: 0;
  transition: opacity 0.5s ease-out; /* Điều chỉnh thời gian và kiểu chuyển đổi */
}

.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Màu nền nửa trong suốt */
  z-index: 9999;
  display: none; /* Ban đầu ẩn lớp này */
  justify-content: center;
  align-items: center;
}

/* Spinner */
.loading-spinner {
  border: 4px solid transparent;
  border-top: 4px solid #333;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.header-actions {
  padding: 10px;
  font-size: 20px;
  display: block;
  align-items: center;
  gap: 10px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: auto;
  margin: 0 auto;
  overflow: hidden;
  margin-bottom: 20px;
  z-index: 1;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  display: block;
}

.dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #28a745;
}

.slide a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Mũi tên */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 12px;
  cursor: pointer;
  z-index: 2;
  font-size: 20px;
  border-radius: 50%;
  transition: background 0.3s;
}

.arrow:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

.arrow-left {
  left: 15px;
}

.arrow-right {
  right: 15px;
}


.language-switcher .lang-btn {
  font-size: 20px;
  text-decoration: none;
  color: #1e3932;
  font-weight: bold;
  margin: 0 5px;
  display: inline-flex;
  align-items: center; 
  gap: 5px;
  min-height: 30px; 
  line-height: 1;
}

.language-switcher .lang-btn img {
  width: 30px;     
  height: 16px;     
  object-fit: cover;
  border-radius: 2px;
  display: block;
}


.language-switcher .lang-btn.active {
  text-decoration: underline;
}

.mobile-header-actions {
  flex: 1;
  height: auto;
}

.search-box {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  font-size: 20px;
  border: none;
  padding: 5px 10px;
  outline: none;
}

.search-box button {
  font-size: 34px;
  background-color: #1e3932;
  color: #ffffff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
}

.cart-icon {
  position: fixed;
  top: 75%;
  /* cách mép trên 20px */
  right: 70px;
  /* cách mép phải 20px */
  z-index: 1000;
  /* đảm bảo nằm trên cùng */
  font-size: 50px;
  color: #333;
  background-color: #fff;
  padding: 10px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-decoration: none;
}

.cart-icon sub span {
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  position: absolute;
  top: 5px;
  right: 5px;
}


.cart-icon:hover {
  background-color: #333;
  color: #a0522d;
  /* Nâu cà phê */
  transform: scale(1.1);
}

.cart-icon i {
  font-size: 50px;
}

.cart-icon sub {
  position: absolute;
  top: -6px;
  right: -10px;
}

#cart-count {
  background: red;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 50%;
  min-width: 18px;
  text-align: center;
  display: inline-block;
  line-height: 1;
  font-weight: bold;
}

.head {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15px;
  background-color: #E5C07B;
}

.container-left,
.container-right {
  flex: 1;
  object-fit: contain;
  height: auto;
  display: flex;
  background-color: #ffffff;
  padding: 0 20px 0 20px;
}

.container {
  width: 100%;
  height: auto;
  justify-content: space-around;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  padding: 0px 20px;
  gap: 40px;
  border-bottom: 1px solid #ccc;
  padding-left: 60px;
}

.logo {
  flex: 1;
  width: 100%;
  height: auto;
  display: block;
  margin: 40px auto;
}

.logo img {
  width: 100px;
  height: auto;
  object-fit: contain;
}

.findstore {
  margin: 0px auto;
  height: auto;
  object-fit: contain;
}

.nav {
  z-index: 10000;
  top: 0;
  position: sticky;
  width: 100%;
  height: auto;
  display: flex;
  background-color: #E5C07B;
  gap: 10px;
  transition: transform 0.3s ease;
}

.nav a {
  text-decoration: none;
  color: black;
  font-size: 24px;
  padding: 0px 20px;
  transition: color 0.3s;
  display: inline-block;
  transition: transform 0.3s ease;
}

.nav a:hover {
  background-color: #2c2c2c;
  color: #ffffff;
  transform: scale(1.1);
  z-index: 10;
  border-bottom: 1px solid #ffffff;
}

.nav h1 {
  border-bottom: 1px solid #ffffff;
}

/* Reset cơ bản */
ul.menu {
  list-style: none;
  padding: 0;
  display: flex;
  margin: auto;

}


/* Style cho menu-item */
.menu-item {
  position: relative;
  z-index: 10;
}

/* Link của menu-item */
.menu-item a {
  padding: 10px 20px;
  display: block;
  color: #2c2c2c;
  text-decoration: none;
  font-weight: bold;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.menu-item a:hover {
  color: #e67e22; /* Màu khi hover */
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  z-index: 100000;
}

#suggestion-box {
  position: absolute;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  top:100%;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  display: none; /* Ban đầu ẩn */
  z-index: 1000000000;
}

#suggestion-box div {
  padding: 10px;
  cursor: pointer;
}

#suggestion-box div:hover {
  background-color: #f0f0f0;
}


/* Mega Menu */
.mega-menu {
  display: none; /* Ẩn mega-menu mặc định */
  position: absolute; /* Đặt nó theo vị trí của menu item */
  top: 100%;
  left: 0;
  background: #2c2c2c;
  color: rgb(211, 211, 211);
  padding: 20px 40px;
  gap: 15px;
  z-index: 1000;
  width: auto; /* Đảm bảo chiều rộng của mega menu không bị cố định */
  min-width: 900px; /* Mega menu sẽ luôn chiếm ít nhất 100% chiều rộng của menu-item */
  justify-content: space-between; /* Căn đều các cột */
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1); /* Bóng đổ nhẹ */
  border-radius: 8px; /* Bo góc cho mega menu */
}


/* Cột trong mega-menu */
.mega-menu .column {
  flex: 1;
  padding: 10px;
  gap: 20px;
  box-sizing: border-box;
  flex-wrap: wrap;
}

/* Style cho các item trong mega menu */
.mega-menu .Item {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  color: #fff;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.mega-menu .Item:hover {
  background-color: #e67e22; /* Màu nền khi hover */
  color: #fff; /* Màu chữ khi hover */
}

/* Style cho hình ảnh trong mega menu */
.mega-menu .Item img {
  margin-right: 15px;
  max-width: 40px;
  border-radius: 50%; /* Hình tròn */
  transition: transform 0.3s ease; /* Hiệu ứng khi hover */
}

.mega-menu .Item img:hover {
  transform: scale(1.1); /* Phóng to ảnh khi hover */
}

/* Style cho tiêu đề trong mega menu */
.mega-menu .h4 {
  padding: 0;
  margin: 0;
  margin-bottom: 15px;
  font-size: 22px;
  color: #fff;
  font-weight: bold;
  text-transform: uppercase;
}

/* Cột chứa link với hình ảnh */
.mega-menu .column a {
  display: flex;
  align-items: center;
  gap: 15px;
  text-align: left;
  color: #fff;
  font-size: 16px;
  transition: transform 0.3s ease;
}

/* Hình ảnh trong mỗi cột */
.mega-menu .column img {
  width: 100%;
  margin-bottom: 10px;
  border-radius: 8px;
  border: 3px solid #fff; /* Đường viền cho ảnh */
  transition: transform 0.3s ease;
}

/* Hiệu ứng cho hình ảnh trong cột */
.mega-menu .column img:hover {
  transform: scale(1.05); /* Phóng to ảnh khi hover */
}

.navsign {
  flex-wrap: wrap;
  font-weight: normal;
  display: flex;
  gap: 30px;
}

.navsign a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: black;
  font-size: 20px;
  font-weight: 600;
  height: auto;
  padding: 0 16px;
  border: 2px solid black;
  border-radius: 20px;
  transition: all 0.3s;
  gap: 10px;
}

.navsign a:hover {
  background-color: #E5C07B;
}

.buttonsignin {
  font-size: 20px;
  padding: 6px 16px;
  background-color: white;
  color: rgba(0, 0, 0, 0.959);
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  border: 2px solid rgba(0, 0, 0, 0.959);
}

.buttonsignin:hover {
  background-color: #E5C07B;
}

.buttonjohnnow:hover {
  background-color: #E5C07B;
}

.buttonjohnnow {
  font-size: 20px;
  padding: 6px 16px;
  background-color: black;
  color: white;
  font-weight: 600;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  border: 2px solid white;
}

.content {
  align-items: center;
  justify-content: center;
  width: 95%;
  margin: 0 auto;
  min-height: 300px;
  background-color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
}


.hero-section,
.hero2-section,
.hero3-section,
.hero4-section {
  flex: 0 0 50%;
  width: 100%;
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #4B2E2E;
  height: auto;
}

.hero-left {
  padding: 80px 100px;
  flex: 0 0 50%;
  padding-right: 50px;
}

.hero-left h1 {
  font-size: 68px;
  color: #FAF3E0;
  margin-bottom: 20px;
}

.hero-left p {
  font-size: 20px;
  font-weight: 500;
  color: #FAF3E0;
  margin-bottom: 30px;
}

.view-menu-btn {
  padding: 12px 24px;
  font-size: 20px;
  background-color: transparent;
  border: 2px solid #E5C07B;
  color: #E5C07B;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-menu-btn:hover {
  background-color: #E5C07B;
  color: #FAF3E0;
}

.hero-right {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

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

/* hero2 */
.hero2-section {
  background-color: #E5C07B;
}

.hero2-left {
  padding: 80px 0 0 100px;
  flex: 0 0 50%;
  text-align: right;
  padding-right: 50px;
}

.hero2-left h1 {
  font-size: 60px;
  color: #4B2E2E;
  margin-bottom: 20px;
}

.hero2-left p {
  font-size: 20px;
  color: #4B2E2E;
  margin-bottom: 30px;
  font-weight: lighter;
}

.view-menu-btn2 {
  padding: 12px 24px;
  font-size: 20px;
  background-color: transparent;
  border: 2px solid #4B2E2E;
  color: #4B2E2E;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-menu-btn2:hover {
  background-color: #4B2E2E;
  color: #FAF3E0;
}

.hero2-right {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

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

/* hero3 */
.hero3-section {
  background-color: #4B2E2E;
}

.hero3-left {
  padding: 80px 0 0 100px;
  flex: 0 0 50%;
  text-align: left;
  padding-right: 50px;
}

.hero3-left h1 {
  font-size: 40px;
  color: #FAF3E0;
  margin-bottom: 20px;
}

.hero3-left p {
  font-size: 20px;
  color: #FAF3E0;
  margin-bottom: 30px;
  font-weight: lighter;
}

.view-menu-btn3 {
  padding: 12px 24px;
  font-size: 20px;
  background-color: transparent;
  border: 2px solid #E5C07B;
  color: #E5C07B;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-menu-btn3:hover {
  background-color: #E5C07B;
  color: #FAF3E0;
}

.hero3-right {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

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

/* hero4 */
.hero4-section {
  background-color: #763e02;
}

.hero4-left {
  padding: 80px 100px;
  flex: 0 0 50%;
  padding-right: 50px;
}

.hero4-left h1 {
  font-size: 68px;
  color: #FAF3E0;
  margin-bottom: 20px;
}

.hero4-left p {
  font-size: 20px;
  font-weight: 500;
  color: #FAF3E0;
  margin-bottom: 30px;
}

.view-menu-btn4 {
  padding: 12px 24px;
  font-size: 20px;
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.view-menu-btn4:hover {
  background-color: #E5C07B;
  color: #FAF3E0;
}

.hero4-right {
  flex: 0 0 50%;
  display: flex;
  justify-content: center;
}

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

@media (max-width: 1024px) {

  .nav,
  .navsign {
    flex-direction: column;
    gap: 10px;
  }

  .hero-section,
  .hero2-section,
  .hero3-section,
  .hero4-section {
    flex-direction: column;
  }

  .hero-left,
  .hero-right,
  .hero2-left,
  .hero2-right,
  .hero3-left,
  .hero3-right,
  .hero4-left,
  .hero4-right {
    padding: 20px;
    width: 100%;
    text-align: center;
  }
}


.dicreption {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 200;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  text-transform: none;
}

.dicreption p {
  margin-bottom: 50px;
}

.Support {
  border-spacing: 5px;
  text-align: left;
  font-size: 24px;
}

.Support td {
  padding: 10px 10px;
  vertical-align: top;

}

.Support p {
  font-weight: bold;
  margin-bottom: 10px;
}

.Support a {
  display: block;
  margin-bottom: 8px;
  text-decoration: none;
  color: white;
  transition: color 0.3s;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: none;
  font-weight: 200;
}

.Support a:hover {
  color: #E5C07B;
}

.social-media-icons {
  text-align: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.social-media-icons a {
  font-size: 40px;
  color: #000;
  margin: 0 10px;
  text-decoration: none;
}

.social-media-icons a:hover {
  color: #E5C07B;
}

.social-media-icons img {
  width: 100%;
  height: auto;
}

.footer {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 30px;
  margin-top: 10%;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
}

#mobile-menu {
  display: none;
  background: #fff;
  padding: 10px;
}

#mobile-menu ul {
  list-style: none;
  padding: 0;
}

#mobile-menu ul li {
  padding: 10px 0;
}


/* === IMPROVED HAMBURGER MENU FOR MOBILE === */
.menu-toggle {
  position: sticky;
  top: 15px;
  left: 15px;
  z-index: 1001;
  display: none;
  font-size: 28px;
  background: #fff;
  border: 2px solid #1e3932;
  color: #1e3932;
  padding: 8px 12px;
  border-radius: 6px;
}

#mobile-menu {
  display: none;
  position: sticky;
  top: 50px;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  border-bottom: 1px solid #ccc;
}

#mobile-menu.active {
  display: block;
}

#mobile-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#mobile-menu ul li {
  padding: 12px 16px;
  border-bottom: 1px solid #ccc;
}

#mobile-menu ul li a {
  text-decoration: none;
  font-size: 20px;
  color: #333;
  display: block;
}

#mobile-menu ul li a:hover {
  background-color: #f2f2f2;
  color: #E5C07B;
}


/* ========== RESPONSIVE HEADER & MOBILE MENU ========== */
@media screen and (max-width: 1024px) {

  /* Ẩn menu lớn */
  .nav {
    display: none !important;
  }

  /* Hiện nút toggle */
  .menu-toggle {
    display: block;
    position: sticky;
    top: 0;
    left: 15px;
    z-index: 1000;
    font-size: 28px;
    background: #fff;
    border: 2px solid #1e3932;
    color: #1e3932;
    padding: 8px 12px;
    border-radius: 6px;
  }

  /* Mobile menu cố định */
  #mobile-menu {
    display: none;
    position: sticky;
    top: 5%;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
  }

  #mobile-menu.active {
    display: block;
  }

  #mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  #mobile-menu ul li {
    padding: 12px 16px;
    border-bottom: 1px solid #ccc;
  }

  #mobile-menu ul li a {
    text-decoration: none;
    font-size: 20px;
    color: #333;
    display: block;
  }

  #mobile-menu ul li a:hover {
    background-color: #f2f2f2;
    color: #E5C07B;
  }

  /* Header container co lại hợp lý */
  .container {
    position: relative;
    width: 100%;
    padding: 80px 15px 15px;
    /* dành chỗ cho menu fixed */
    box-sizing: border-box;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .container-left {
    padding: 10px 0;
    flex: 1;
    margin: 0 auto
  }

  .container-right {
    padding: 10px 0;
    flex: 1;
    margin: 0 auto;
    width: 100%;
  }

  /* Logo giữa */
  .logo {
    flex: 1;

    height: auto;
    margin: 0 auto;
  }

  .logo img {

    height: auto;
  }
  /* Nút tìm kiếm, ngôn ngữ, v.v. */
  .mobile-header-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 10px;
    padding: 10px;
    background: #fff;
  }

  .mobile-header-actions .search-box {
    width: 100%;
    justify-content: center;
  }

  .mobile-header-actions input {
    flex: 1;
    width: 100%;
    font-size: 16px;
  }

  .mobile-header-actions button,
  .mobile-header-actions .mobile-link {
    flex: 0 0 25%;
    width: 50%;
    font-size: 16px;
    text-align: center;
  }

  /* Hero section mobile fix */
  .hero-section,
  .hero2-section,
  .hero3-section,
  .hero4-section {
    flex-direction: column;
  }

  .hero-section,
  .hero3-section {
    display: flex;
    flex-direction: column-reverse;
    /* đảo ảnh lên đầu */
  }

  .hero-left,
  .hero-right,
  .hero2-left,
  .hero2-right,
  .hero3-left,
  .hero3-right,
  .hero4-left,
  .hero4-right {
    padding: 20px;
    width: 100%;
    text-align: center;
  }
  .hero-left h1,
  .hero2-left h1,
  .hero3-left h1,
  .hero4-left h1 {
    font-size: 32px;
  }

  .hero-left p,
  .hero2-left p,
  .hero3-left p,
  .hero4-left p {
    font-size: 16px;
  }

  .view-menu-btn,
  .view-menu-btn2,
  .view-menu-btn3,
  .view-menu-btn4 {
    width: 100%;
    margin: 10px 0;
  }

  /* Footer mobile */
  .footer .Support {
    width: 100%;
    height: auto;
    padding-bottom: 20px;
    object-fit: contain;
  }

  .Support p {
    font-size: 14px;
  }

  .Support a {
    font-size: 15px;
  }
  .footerend h3{
    font-size: 14px;
  }

  .dicreption {
    font-size: 16px;
  }
}



/* Ẩn giao diện Google Translate mặc định */
#google_translate_element {
  display: none;
}

.goog-te-banner-frame.skiptranslate,
body>.skiptranslate {
  display: none !important;
  height: 0 !important;
  visibility: hidden;
}

/* Tránh dịch giao diện không mong muốn */
body {
  top: 0px !important;
}