* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f5f5;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #131921;
  color: white;
  padding: 10px 20px;
}

.nav-logo img {
  width: 100px;
}

.nav-search {
  flex: 1;
  display: flex;
  margin: 0 20px;
}

.nav-search input {
  width: 100%;
  padding: 8px;
  border: none;
  border-radius: 4px 0 0 4px;
}

.nav-search button {
  padding: 8px 16px;
  background-color: #febd69;
  border: none;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}
/* Dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
  color: white;
}

.dropbtn {
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 14px;
  text-align: left;
  line-height: 1.2;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  color: black;
  min-width: 350px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 20px;
  top: 100%;
  right: 0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.sign-in-section {
  text-align: center;
  margin-bottom: 10px;
}

.sign-in-btn {
  background-color: #febd69;
  border: none;
  padding: 8px 20px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}
.dropdown-content-text4 p{
  text-align: center;
}
.dropdown-content-text4 p a {
  color: #007185;
  text-decoration: none;
}
.dropdown-content-text4 p a:hover {
  text-decoration: underline;
}

.dropdown-columns {
  display: flex;
  gap: 30px;
  justify-content: space-between;
}

.dropdown-columns div h4 {
  margin-bottom: 8px;
  font-size: 14px;
  color: #111;
}

.dropdown-columns div a {
  display: block;
  text-decoration: none;
  color: #007185;
  font-size: 13px;
  margin: 4px 0;
}

.dropdown-columns div a:hover {
  text-decoration: underline;
}
.nav-delivery a {
  margin-left: 20px;
  color: white;
  text-decoration: none;
}
.main-content {
  padding: 20px;
}
.lang-dropdown {
  position: relative;
  display: inline-block;
  margin-right: 15px;
}

.lang-btn {
  background-color: transparent;
  color: white;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.lang-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: white;
  color: black;
  padding: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 2;
  font-size: 14px;
}

.lang-dropdown:hover .lang-menu {
  display: block;
}

.lang-menu form label {
  display: block;
  margin: 5px 0;
  font-size: 13px;
}

.lang-menu hr {
  margin: 10px 0;
}

.lang-menu p {
  margin: 5px 0;
  font-size: 13px;
}

.lang-menu a {
  color: #007185;
  text-decoration: none;
  font-size: 13px;
}

.lang-menu a:hover {
  text-decoration: underline;
}

.banner-slider {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  margin-top: 10px;
}

.slides {
  display: none;
}

.slides img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.active {
  display: block;
}

.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 12px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 24px;
  border: none;
  background-color: rgba(0,0,0,0.4);
  border-radius: 0 3px 3px 0;
  user-select: none;
  z-index: 2;
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.dots {
  text-align: center;
  padding: 10px 0;
  background-color: #f3f3f3;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
  
}

.active-dot {
  background-color: #717171;
}
/* Keyframes for sliding effect (optional JS alternative below) */
@keyframes slide {
  0% { transform: translateX(0); }
  33% { transform: translateX(-100%); }
  66% { transform: translateX(-200%); }
  100% { transform: translateX(0); }
}
.region-notice {
  background-color: #f3f3f3;
  padding: 10px;
  text-align: center;
  font-size: 24px;
  color: #111;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}

.region-notice a {
  color: #007185;
  text-decoration: none;
  font-weight: 500;
}

.region-notice a:hover {
  text-decoration: underline;
}


/* Global reset for consistent box model */
.card-section {
  padding: 1.5rem;
  background: #f5f5f5;
}

.card-container {
  gap: 1rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, auto);
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .card-container {
    grid-template-columns: 1fr;
  }
}


.category-card {
  background-color: white;
  border-radius: 0.5rem;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: translateY(-4px);
}

.category-card h2 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.main-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
}

.sub-images {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.sub-images div {
  width: 48%;
  text-align: center;
}

.sub-images img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
  display: block;
  transition: transform 0.2s;
}

.sub-images img:hover {
  transform: scale(1.05);
}

p {
  margin: 0.25rem 0;
  font-size: 0.9rem;
  text-align: left;
}

.sub-image-link {
  text-decoration: none;
  color: #007185;
  font-size: 0.875rem;
}

.footer-link {
  display: block;
  margin-top: 1rem;
  font-size: 1.4rem;
  color: #007185;
  transition: transform 0.2s, color 0.3s;
}

.footer-link a {
  text-decoration: none;
  color: #007185;
}

.footer-link:hover {
  text-decoration: underline;
  transform: scale(1.05);
}

/* Base styling for sub-header */
.sub-header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  background-color: #232f3e;
}

.sub-header li {
  padding: 12px 16px;
  color: white;
  cursor: pointer;
  user-select: none; /* Prevent text selection */
  transition: background-color 0.3s;
}

.sub-header li a {
  text-decoration: none;
  color: white;
  user-select: none; /* Prevent text selection */
}

/* Hover effect */
.sub-header li:hover,
.sub-header li a:hover {
  background-color: #37475a;
}
/* Side menu */
.side-menu {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background-color: #fff;
  box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  z-index: 2000;
  transition: left 0.3s ease;
  padding: 20px;
}

.side-menu h3 {
  margin-top: 0;
}

.side-menu ul {
  list-style: none;
  padding: 0;
}

.side-menu ul li {
  padding: 10px 0;
}

.side-menu ul li a {
  text-decoration: none;
  color: #232f3e;
  font-weight: 500;
}

.side-menu .close-btn {
  font-size: 28px;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}
.scroll-container {
  overflow-x: auto;
  white-space: nowrap;
  background: white;
  padding: 16px;
  border-radius: 8px;
  scrollbar-width: thin;
}

.scroll-container::-webkit-scrollbar {
  height: 6px;
}

.scroll-container::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.scroll-row {
  display: flex;
  gap: 16px;
}

.scroll-item {
  flex: 0 0 auto;
  width: 160px; /* Increased from 120px */
  text-align: center;
}

.scroll-item img {
  width: 100%;
  height: 200px; /* Increased from 160px */
  object-fit: contain; /* Changed from 'cover' to 'contain' */
  border-radius: 8px;
  transition: transform 0.3s ease;
  background-color: #f8f8f8; /* Optional: to fill empty space behind image */
}

.scroll-item img:hover {
  transform: scale(1.05);
}

.scroll-item a {
  text-decoration: none;
  color: black;
}

.bottom-section {
  background-color: #f3f3f3;
  padding: 20px;
  text-align: center;
}
.recommendation-card-button {
  background-color: #eaf55b;
  color: black;
  border: none;
  padding: 9.5px 80px;
  border-radius: 5px;
  font-weight: bold;
}
.recommendation-card-signup-button{
  padding: 10px;
}
.recommendation-card-button:hover {
  background-color: #d4d4d4;
  color: black;
  border: none;
  padding: 9.5px 80px;
  border-radius: 5px;
  font-weight: bold;
}
.recommendation-card-text {
  font-size: 16px;
  color: #111;
  margin-bottom: 10px;
  text-align: center;
}
.recommendation-card-text a {
  color: #007185;
  text-decoration: none;
}
.recommendation-card-text a:hover {
  text-decoration: underline;
  transition: color 0.3s ease;
  color: #011e24;
}
.back-to-top-section {
  padding: 10px 0;           /* Top and bottom space */
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #3e4e62;
}

.back-to-top-text {
  text-align: center;
}

.back-to-top-button {
  background-color: #eaf55b;  /* Yellow */
  color: black;
  font-weight: bold;
   padding: 9.5px 80px;
  border: none;
  border-radius: 40px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Smooth shadow */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.back-to-top-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.3);
}



/* Footer Base */
.footer {
  background-color: #232f3e;
  color: white;
  padding: 40px 0;
  font-family: Arial, sans-serif;
}
/* Footer Links Container */
.footer-links1 {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}
/* Footer Column Styles */
.footer-link-column1,
.footer-link-column2,
.footer-link-column3,
.footer-link-column4 {
  flex: 1;
  min-width: 200px;
  margin: 20px;
}

.footer-link-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.footer-link-column1 ul,
.footer-link-column2 ul,
.footer-link-column3 ul,
.footer-link-column4 ul {
  list-style: none;
}

.footer-link-column1 ul li,
.footer-link-column2 ul li,
.footer-link-column3 ul li,
.footer-link-column4 ul li {
  margin-bottom: 8px;
}

.footer-link-column1 ul li a,
.footer-link-column2 ul li a,
.footer-link-column3 ul li a,
.footer-link-column4 ul li a {
  color: #ddd;
  text-decoration: none;
  font-size: 14px;
}

.footer-link-column1 ul li a:hover,
.footer-link-column2 ul li a:hover,
.footer-link-column3 ul li a:hover,
.footer-link-column4 ul li a:hover {
  text-decoration: underline;
  color: white;
}
.footer-legal {
  background-color: #131A22;
  color: #ccc;
  text-align: center;
  padding: 20px 10px;
  font-size: 13px;
}

.legal-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 8px;
}

.legal-links a {
  color: #ccc;
  text-decoration: none;
}

.legal-links a:hover {
  text-decoration: underline;
}

.toggle-icon {
  width: 20px;
  height: 12px;
  vertical-align: middle;
  margin-left: 4px;
}




.product-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.product-card {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  width: 220px;
  padding: 15px;
  text-align: center;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  border-radius: 4px;
}

.product-card h3 {
  font-size: 16px;
  margin: 10px 0;
  height: 60px;
  overflow: hidden;
}

.price {
  font-weight: bold;
  color: #B12704;
}

.strike {
  color: #555;
  text-decoration: line-through;
  margin-left: 8px;
}

.rating {
  margin: 5px 0;
  font-size: 14px;
  color: #555;
}

.product-card button {
  background-color: #ffa41c;
  border: none;
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  color: #111;
}

.product-card button:hover {
  background-color: #f08804;
}