/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f5f5f5;
}

.container {
  max-width: 1375px !important;
  margin: auto !important;
}

/* Top Navigation */
.top-nav {
  background-color: #1a1a1a;
  color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.top-nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
}

/* Main Navigation */
.main-nav {
  background-color: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logoG img {
  height: auto;
  max-width: 100px;
}

.nav-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #1a1a1a;
  font-weight: bold;
  position: relative;
}

.nav-links a.sale {
  color: #c41230;
}

.nav-links a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #c41230;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
}

/* Dropdown Menu */
.dropdownN {
  position: relative;
}

.dropdown-contentN {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 700px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  padding: 10px;
  margin-top: 20px;
  margin-left: -30px;
  font-size: 13px;
}

.dropdownN:hover .dropdown-contentN {
  display: flex;
}

.dropdown-column {
  flex: 1;
  padding: 10px;
}

.dropdown-column h3 {
  margin-bottom: 10px;
}

.dropdown-column a {
  display: block;
  padding: 5px 0;
  color: #1a1a1a;
  text-decoration: none;
}

/* Search Bar */
.search-barG {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 5px 10px;
  margin: 10px 0;
}

.search-barG input {
  border: none;
  outline: none;
  padding: 5px;
  width: 200px;
}

/* Express Delivery Button */
.express-delivery {
  background-color: #c41230;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin: 10px 0;
  display: inline-block;
}

/* Breadcrumb */
.breadcrumb {
  padding: 10px 20px;
  background-color: #f9f9f9;
}

.breadcrumb a {
  color: #666;
  text-decoration: none;
}

/* Dropdown Menu for More Brands */
.dropdown {
  position: relative;
  display: inline-block;
}

.toggle-dropdown {
  display: none;
}

.dropbtn {
  color: white;
  font-size: 20px;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
}

.ar {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

/* Ensure the arrow rotates when dropdown is checked */
.toggle-dropdown:checked + label .ar {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 100vw;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  padding: 60px;
  margin-left: -20px;
  margin-top: 7%;
  top: 100%;
  z-index: 2;
}

/* Display dropdown content when checkbox is checked */
.toggle-dropdown:checked + label + .dropdown-content {
  display: block;
}

.brand-gridG {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.brand-logoG {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.brand-logoG img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.carousel-main-container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Carousel */
.carouselG {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
}

.carousel-innerG {
  display: flex;
  transition: transform 2s ease;
}

.carousel-itemG {
  min-width: 100%;
  height: 520px;
}

.carousel-itemG img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-controlG {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 10px;
  text-decoration: none;
}

.carousel-controlG.prev {
  left: 10px;
}
.carousel-controlG.next {
  right: 10px;
}

.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 30px;
  width: 40px;
  height: 40px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  opacity: 0;
  transition: opacity 0.3s, background-color 0.3s;
  z-index: 99;
}
.scroll-to-top:hover {
  background-color: rgba(0, 0, 0, 0.8);
}
.scroll-to-top.visible {
  opacity: 1;
}
#contachIdLink,
#homeIdLink:hover {
  cursor: pointer;
}
/* Responsive Styles */
@media (max-width: 768px) {
  .top-nav,
  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
  }

  .nav-links a {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .search-barG {
    width: 100%;
  }

  .search-barG input {
    width: 100%;
  }

  .dropdown-content {
    width: 100%;
    position: static;
  }

  .brand-gridG {
    grid-template-columns: repeat(2, 1fr);
  }

  .carouselG {
    height: 200px;
  }

  .carousel-itemG {
    height: 200px;
  }
}

/* Category Section */
.category_a {
  max-width: 1350px;
  /* width: 100%; */
  height: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
}

.c_card_a {
  height: auto;
  width: 100%;
  /* background-color: green; */
  margin-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat_card_a {
  height: auto;
  width: 32.5%;
  /* background-color: red; */
  cursor: pointer;
  position: relative;
}

.cat_card_a a img {
  height: 100%;
  width: 100%;
}

.cat_title_a {
  position: absolute;
  bottom: 10px;
  left: 5px;
  color: white;
}

.carousel_a {
  position: relative;
  max-width: 1350px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20vh;
}

.carousel-inner_a {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item_a {
  min-width: 1350px;
  box-sizing: border-box;
}

.carousel-item img_a {
  width: 1350px;
  display: block;
  border-radius: 10px;
}

.carousel-control_a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.3);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 30%;
  user-select: none;
}

.prev_a {
  left: 10px;
}

.next_a {
  right: 10px;
}

.carousel-control:hover_a {
  background-color: rgba(0, 0, 0, 0.8);
}



.carousel-container_a {
  position: relative;
  width: 100%;
  /* max-width: 1300px; */
  margin: 0 auto;
  overflow: hidden;
}

.carousel-inner_a {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item_a {
  min-width: 100%;
  box-sizing: border-box;
}

.carousel-item_a img {
  width: 100%;
  display: block;
}

.carousel-control_a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 2em;
  padding: 0 0.5em;
  cursor: pointer;
  text-decoration: none;
  z-index: 100;
}

.carousel-control_a.previous_a {
  left: 10px;
}

.carousel-control_a.nextt_a {
  right: 10px;
}


/* Abhishek css ends here */

.header {
  display: flex;
  max-width: 1350px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab {
  font-size: 24px;
  font-weight: bold;
  color: #13223d;
  cursor: pointer;
  position: relative;
  padding-bottom: 5px;
  transition: font-size 0.3s ease-in-out;
}

.tab::after {
  content: "";
  display: block;
  width: 50%;
  height: 2px;
  background-color: #ff0000;
  position: absolute;
  bottom: 0;
  left: 25%;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

.tab.active {
  font-size: 32px;
}

.tab.active::after {
  opacity: 1;
}

.view-all {
  align-items: end;
  font-size: 16px;
  font-weight: bold;
  color: #13223d;
  cursor: pointer;
  text-decoration: underline;
  position: inherit;
  text-align: right;
}

#Abhishek1 {
  max-width: 1350px;
}

.carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  /* margin: 20px; */
  /* padding: 10px; */
}

.product-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  width: 100%;
  height: auto;
  min-width: 200px;
  max-width: 1350px;
  flex: 1 0 21%; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  background-color: white;
  border: 1px solid #ddd;
  padding: 10px;
  margin: 10px 0;
}

.card {
  min-width: 300px;
  max-width: 300px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: white;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
  padding: 10px;
  height: auto !important;
}

.card img {
  width: 100%;
  height: 50%;
}

.details {
  padding: 10px;
}

.sizes {
  position: absolute;
  bottom: 10px;
  left: 10px;
  right: 10px;
  display: flex;
  justify-content: center;
  display: none;
  padding: 5px 0;
}

.sizes button {
  padding: 5px 8px;
  border: none;
  background-color: #eee;
  cursor: pointer;
}

.sizes button:hover {
  border: #ffffff;
}

.card:hover {
  transform: translateY(-5px);
}

.card:hover .sizes {
  display: flex;
}

.scroll-button {
  margin: 20px;
  padding: 10px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #13223d;
  color: white;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

.scroll-button.left {
  left: 10px;
}

.scroll-button.right {
  right: 10px;
}

.scroll-button:hover {
  background-color: #393e47;
}

/* AbhishekMS css ends here */

h1 {
  color: #21314d;
  margin-bottom: 30px;
  text-align: left;
  padding-left: 20px;
}

.banner {
  position: relative;
  background-color: #222;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px;
  height: 400px;
  overflow: hidden;
  margin-bottom: 30px;
}

.text-content {
  z-index: 2;
  text-align: left;
  max-width: 40%;
  margin-left: 20px;
}

.text-content h2 {
  font-size: 36px;
  margin: 0;
}

.text-content button {
  margin-top: 20px;
  padding: 10px 20px;
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s, color 0.3s, transform 0.3s;
}

.text-content button:hover {
  background-color: #fff;
  color: #222;
  transform: scale(1.05);
}

.nav-linksH {
  margin-top: 30px;
}

.nav-linksH a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s, border-bottom 0.3s;
  padding-bottom: 5px;
  border-bottom: 2px solid transparent;
}

.nav-linksH a:hover {
  color: #aaa;
  border-bottom: 2px solid #aaa;
}

.image-container {
  position: relative;
  max-width: 25%;
  height: 100%;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {
  .tabs {
    flex-wrap: wrap;
  }
  
  .product-card {
    flex: 1 0 45%; /* Adjust for smaller screens */
  }

  .scroll-button {
    padding: 8px;
  }
}

@media (max-width: 480px) {
  .tabs {
    flex-direction: column;
    align-items: center;
  }

  .view-all {
    padding: 5px;
  }

  .product-card {
    flex: 1 0 100%; /* Stacking for very small screens */
  }

  .scroll-button {
    padding: 5px;
  }
}

@media (max-width: 768px) {
  .banner {
    flex-direction: column;
    height: auto;
    padding: 20px;
  }

  .text-content {
    max-width: 100%;
    text-align: center;
    margin-left: 0;
  }

  .nav-linksH {
    text-align: center;
  }

  .image-container {
    max-width: 100%;
    height: 200px;
    margin-top: 20px;
  }
}
.referral-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0c2f52;
  color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  margin: 20px;
}

.referral-content {
  display: flex;
  align-items: center;
}

.referral-icon {
  font-size: 30px;
  margin-right: 15px;
  color: #fddb3a;
}

.referral-text h2 {
  font-size: 18px;
  margin: 0;
  font-weight: bold;
}

.referral-text p {
  margin: 5px 0 0;
  font-size: 14px;
}

.signup-button {
  background-color: #ffffff;
  color: #0c2f52;
  border: 2px solid #ffffff;
  border-radius: 3px;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.signup-button:hover {
  background-color: #0c2f52;
  color: #ffffff;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgb(0, 0, 0);
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 10px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.submit-button {
  background-color: #0c2f52;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 15px;
}

.submit-button:hover {
  background-color: #fddb3a;
  color: #0c2f52;
}
#signupModal > img {
  max-width: 1300px;
}
.added-image {
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.icon-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 20px;
}

.icon {
  text-align: center;
  position: relative;
}

.icon img {
  width: 80px;
  height: 80px;
  cursor: pointer;
}

.popup-message {
  visibility: hidden;
  background-color: transparent;
  color: #fff2f2;
  text-align: center;
  padding: 35px;
  border-radius: 5px;
  position: absolute;
  z-index: 1;
  bottom: 100%; /* Position above the icon */
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.icon:hover .popup-message {
  visibility: visible;
  opacity: 1;
}
