@font-face {
  font-family: avenir-regular;
  src: url(../fonts/AvenirNextLTPro-Regular.otf);
}

@font-face {
  font-family: avenir-bold;
  src: url(../fonts/AvenirNextLTPro-Bold.otf);
}

@font-face {
  font-family: avenir-demibold;
  src: url(../fonts/AvenirNext-DemiBold.ttf);
}
/* Reset default margin and padding */
body {
  margin: 0;
  padding: 0;
  font-family: "Avenir Next", sans-serif;
  background-color: #ffffff;
}

.custom-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 40px 120px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-top: 20px solid #000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-container .logo {
  max-height: 40px;
}

.nav-menu {
  display: flex;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-menu ul li {
  margin: 0 10px;
}

.nav-menu ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
}

.nav-menu ul li a.active {
  color: #007bff;
  text-decoration: underline;
}

.menu-icon {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 20px solid #000;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-top: 50px;
    z-index: 10; /* Ensure it's above other elements */
  }

  .nav-menu ul {
    flex-direction: column;
  }

  .nav-menu ul li {
    margin: 5px 0;
  }

  .menu-icon {
    display: block;
  }

  .nav-menu.show {
    display: flex;
  }
}

/*.custom-header {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    align-items: center;*/
/*    background-color: #FAFAFA;*/
/*    padding: 40px 120px;*/
/*    border-top: 20px solid #000;*/
/*}*/

/*.logo-container {*/
/*    display: flex;*/
/*    align-items: center;*/
/*    gap: 10px;*/
/*}*/

/*.logo {*/
/*height: 40px;*/
/*    width: auto;*/
/*}*/

/*.site-name {*/
/*    font-size: 14px;*/
/*    font-weight: bold;*/
/*    color: #000;*/
/*}*/

/*.nav-menu ul {*/
/*    list-style: none;*/
/*    display: flex;*/
/*    gap: 30px;*/
/*    margin: 0;*/
/*    padding: 0;*/
/*}*/

/*.nav-menu ul li {*/
/*    display: inline-block;*/
/*}*/

/*.nav-menu ul li a {*/
/*    text-decoration: none;*/
/*    color: #000;*/
/*    font-size: medium;*/
/*    font-weight: 500;*/
/*    position: relative;*/
/*    padding-bottom: 5px;*/
/*}*/

/*.nav-menu ul li a.active {*/
/*    color: #007bff;*/
/*}*/

/*.nav-menu ul li a.active::after {*/
/*    content: "";*/
/*    display: block;*/
/*    width: 100%;*/
/*    height: 2px;*/
/*    background-color: #007bff;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*}*/

/*.nav-menu ul li a:hover {*/
/*    color: #007bff;*/
/*}*/

.section {
  /*margin: 120px 20px;*/
  margin-left: 120px;
  margin-right: 120px;
  margin-top: 10px;
}
.section h2 {
  margin-left: 20px;
}
.scroll-container {
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 10px;
}
.my-custom-card {
  /*flex: 0 0 auto;*/
  position: relative;
  width: 250px;
  border: 1px solid #ccc;
  border-radius: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 0px;
  text-align: center;
  display: flex;
  flex-direction: column; /* Stack items vertically */
  justify-content: space-between; /* Space items apart */
}
.my-custom-card img {
  width: 250px; /* Fixed width */
  height: 200px; /* Fixed height */
  object-fit: cover; /* Ensures aspect-fill behavior */
  border-top-left-radius: 20px; /* Top-left corner radius */
  border-top-right-radius: 20px; /* Top-right corner radius */
  border-bottom-left-radius: 0; /* No border radius on bottom-left */
  border-bottom-right-radius: 0; /* No border radius on bottom-right */
}

.my-custom-card h4 {
  display: -webkit-box; /* Creates a flexible box for multiline support */
  -webkit-line-clamp: 2; /* Limits the text to 2 lines */
  -webkit-box-orient: vertical; /* Sets the box orientation to vertical */
  overflow: hidden; /* Hides overflow content */
  text-overflow: ellipsis; /* Adds ellipsis (...) for overflowing text */
  line-height: 1.2; /* Adjust the line height for better spacing */
  max-height: 2.4em; /* Ensures the height matches 2 lines */
  margin: 10px; /* Optional: remove extra margin */
  font-size: 16px; /* Adjust the font size if needed */
  vertical-align: top; /* Ensures content starts at the top */
}

.my-custom-card .discount {
  font-size: 1em;
  font-weight: bold;
  color: #3e82d8;
}
.my-custom-card .description {
  display: -webkit-box; /* Creates a flexible box for multiline support */
  -webkit-line-clamp: 2; /* Limits the text to 2 lines */
  -webkit-box-orient: vertical; /* Sets the box orientation to vertical */
  overflow: hidden; /* Hides overflow content */
  text-overflow: ellipsis; /* Adds ellipsis (...) for overflowing text */
  color: #9e9e9e; /* Sets text color to red */
  font-size: 12px; /* Sets font size to small */
  line-height: 1.5; /* Adjust line spacing */
  max-height: 3em; /* Matches height for 2 lines (line-height × 2) */
  margin: 0; /* Optional: removes extra margins */
}
.my-custom-card a {
  display: inline-block;
  margin-top: 10px; /* Push the button to the bottom */
  margin-bottom: 10px; /* Push the button to the bottom */
  margin-left: 10px; /* Push the button to the bottom */
  width: 100px;
  height: 30px;
  /*padding: 10px 15px;*/
  background-color: #007bff;
  color: #fff;
  font-size: 14px; /* Sets font size to small */
  font-weight: 600;
  text-decoration: none;
  border-radius: 15px;
  text-align: center; /* Center text inside the button */
  line-height: 30px;
}
.my-custom-card a:hover {
  background-color: #0056b3;
}

footer {
  background-color: #f9f9f9;
  padding-top: 50px;
  margin-top: 20px;
  font-family: "Avenir Next", sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-left: 120px;
  padding-right: 120px;
  gap: 100px;
}

.footer-section {
  flex: 1;
}

.footer-logo {
  max-width: 100px;
  margin-bottom: 10px;
}

.footer-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.footer-section p {
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.footer-email {
  color: #e63950;
  text-decoration: none;
  font-size: 14px;
}

.footer-email:hover {
  text-decoration: underline;
}

.social-icons a {
  display: inline-block;
  width: 30px;
  height: 30px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: #eee;
  color: #333;
  text-align: center;
  line-height: 30px;
  font-size: 16px;
}

.social-icons a:hover {
  background-color: #007bff;
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding: 10px 0;
  background-color: #000;
  color: #fff;
  height: 50px;
  margin-top: 50px;
  font-size: 12px;
}

.footer-bottom a {
  color: #e63950;
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .footer-section {
    margin-bottom: 20px;
  }

  .footer-section h3 {
    font-size: 16px;
  }

  .footer-section p {
    font-size: 13px;
  }

  .social-icons a {
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 10px;
    height: auto;
    padding: 10px;
  }
}

/*    footer {*/
/*  background-color: #f9f9f9;*/
/*padding: 20px 50px;*/
/*  padding-top:50px;*/
/*  margin-top:20px;*/
/*  font-family: 'Avenir Next', sans-serif;*/
/*}*/

/*.footer-container {*/
/*  display: flex;*/
/*  justify-content: space-between;*/
/*  align-items: flex-start;*/
/*  padding-left:120px;*/
/*  padding-right:120px;*/
/*  gap: 100px;*/
/*}*/

/*.footer-section {*/
/*  flex: 1;*/
/*}*/

/*.footer-logo {*/
/*  max-width: 100px;*/
/*  margin-bottom: 10px;*/
/*}*/

/*.footer-section h3 {*/
/*  font-size: 18px;*/
/*  margin-bottom: 10px;*/
/*}*/

/*.footer-section p {*/
/*  font-size: 14px;*/
/*  color: #333;*/
/*  line-height: 1.6;*/
/*}*/

/*.footer-email {*/
/*  color: #e63950;*/
/*  text-decoration: none;*/
/*  font-size: 14px;*/
/*}*/

/*.footer-email:hover {*/
/*  text-decoration: underline;*/
/*}*/

/*.social-icons a {*/
/*  display: inline-block;*/
/*  width: 30px;*/
/*  height: 30px;*/
/*  margin-right: 10px;*/
/*  border-radius: 50%;*/
/*  background-color: #eee;*/
/*  color: #333;*/
/*  text-align: center;*/
/*  line-height: 30px;*/
/*  font-size: 16px;*/
/*}*/

/*.social-icons a:hover {*/
/*  background-color: #007bff;*/
/*  color: #fff;*/
/*}*/

/*.footer-bottom {*/
/*  text-align: center;*/
/*  padding: 10px 0;*/
/*  background-color: #000;*/
/*  color: #fff;*/
/*  height: 50px;*/
/*  margin-top:50px;*/
/*  font-size: 12px;*/
/*}*/

/*.footer-bottom a {*/
/*  color: #e63950;*/
/*  text-decoration: none;*/
/*  margin: 0 5px;*/
/*}*/

/*.footer-bottom a:hover {*/
/*  text-decoration: underline;*/
/*}*/

@media (max-width: 768px) {
  main {
    padding: 10px;
  }

  .my-custom-card {
    margin: 10px 5px;
  }

  header,
  footer {
    padding: 10px;
  }

  .section {
    /*margin: 120px 20px;*/
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 30px;
  }

  body .carousel {
    background-color: #00ff00;
    height: 100%; /* Fixed height */
    width: 100%;
    margin-left: 10px !important;
    margin-right: 10px !important;

    margin-top: 10px;
    border-radius: 10px;
  }
}

body .carousel {
  background-color: #ffffff;
  height: 50%; /* Fixed height */
  margin-left: 120px;
  margin-right: 120px;
  margin-top: 30px;
  border-radius: 10px;
}
body .carousel img {
  object-fit: cover; /* Ensure images cover the carousel dimensions */
  width: 100%;
  height: 110%;
  border-radius: 10px;
}

.custom-deal-btn {
  width: 100px; /* Set button width */
  height: 30px; /* Set button height */
  border-radius: 15px; /* Rounded corners */
  margin: 10px 0 0; /* Margin to align at the bottom with spacing */
  text-align: center;
  line-height: 100%; /* Vertically align text */
  margin-left: 10px;
  margin-bottom: 10px;
  background-color: #007bff;
  font-size: 14px;
  font-weight: 600;
  border: none;
}

.custom-deal-btn:hover {
  background-color: #007bffcc; /* Darker shade on hover */
}

.search-result-card {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.search-result-card:hover {
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

.search-result-card img {
  border-radius: 4px;
}

.deal-info {
  display: flex;
  flex-direction: column; /* Stack elements vertically */
  align-items: flex-start; /* Align content to the left */
  gap: 5px; /* Optional: add spacing between elements */
}

.deal-info span {
  font-weight: 500; /* Optional: make the title bold */
}

.deal-info p {
  margin: 0; /* Remove default margin for proper alignment */
}

.pagination .page-link {
  display: inline-block;
  text-align: center;
  padding: 8px 12px;
  margin: 0 5px;
  border-radius: 4px;
  background-color: lightgrey; /* Button background color */
  color: #4b5254; /* Button text color */
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.pagination .page-link:hover {
  background-color: darkgrey; /* Hover background color */
  color: black; /* Hover text color */
}

.pagination .active .page-link {
  background-color: #007bff; /* Active button background color */
  color: white; /* Active button text color */
  font-weight: 500;
}

/* 480 body start*/
@media (max-width: 480px) {
  .my-custom-card {
    /*flex: 0 0 auto;*/
    position: relative;
    width: 150px;
    border: 1px solid #ccc;
    border-radius: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 0px;
    text-align: center;
    display: flex;
    flex-direction: column; /* Stack items vertically */
    justify-content: space-between; /* Space items apart */
  }

  .my-custom-card img {
    width: 150px; /* Fixed width */
    height: 100px; /* Fixed height */
    object-fit: cover; /* Ensures aspect-fill behavior */
    border-top-left-radius: 20px; /* Top-left corner radius */
    border-top-right-radius: 20px; /* Top-right corner radius */
    border-bottom-left-radius: 0; /* No border radius on bottom-left */
    border-bottom-right-radius: 0; /* No border radius on bottom-right */
  }

  .my-custom-card h3 {
    font-size: 14px;
  }

  .my-custom-card p {
    font-size: 10px;
  }

  .my-custom-card a {
    padding: 8px 10px;
    font-size: 10px;
  }

  .my-custom-card h4 {
    margin: 5px; /* Optional: remove extra margin */
    font-size: 14px; /* Adjust the font size if needed */
  }

  .my-custom-card .description {
    font-size: 10px; /* Sets font size to small */
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px;
    margin-top: 50px;
    z-index: 10; /* Ensure it's above other elements */
  }

  .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-top: 20px solid #000;
  }

  .section {
    /*margin: 120px 20px;*/
    margin-left: 5px;
    margin-right: 0px;
    margin-top: 10px;
  }

  .section h2 {
    margin-left: 20px;
    font-size: 17px;
    font-weight: bold;
  }

  body .carousel {
    background-color: #ffffff;
    height: 110px; /* Fixed height */
    margin-left: 10px;
    margin-right: 20px;
    margin-top: 10px;
    border-radius: 10px;
    width: 95%;
  }
  body .carousel img {
    object-fit: cover; /* Ensure images cover the carousel dimensions */
    width: 100%;
    height: 110px;
    border-radius: 10px;
  }

  .custom-deal-btn {
    width: 80px !important; /* Set button width */
    height: 20px !important; /* Set button height */
    border-radius: 10px !important; /* Rounded corners */
    font-size: 11px !important;
    font-weight: 600 !important;
  }
}

/* 480 body end*/


 .flag-container {
            display: flex;
            justify-content: flex-end; /* Aligns items to the right */
            align: right;
            gap: 5px;
            margin-right: 20px; /* Adjust the right margin */
            margin-top: 10px;   /* Adjust the top margin */
    }

.flag-container img {
    width: 30px;
    height: auto;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 5px; /* Makes the image circular */
}
    
.flag-container img:hover {
            border-color: #4b5254;
}

 .flag {
        border: 2px solid transparent; /* Default border */
    }

    .flag.selected {
        border: 2px solid red; /* Highlighted border for the selected flag */
    }