@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");
@tailwind base;
@tailwind components;
@tailwind utilities;

@layer components {
  .headerHover {
    @apply px-2 h-[80%] flex items-center border border-transparent hover:border-white cursor-pointer duration-100;
  }
  .footerLink {
    @apply text-sm font-titleFont tracking-wide hover:text-gray-100 cursor-pointer hover:underline duration-150;
  }
  .footerBottomTitle {
    @apply w-24 font-semibold text-[12px] group-hover:underline text-[#DDD] leading-3 mb-[2px];
  }
  .footerBottomText {
    @apply w-24 tracking-tight text-[12px] text-[#999] group-hover:underline leading-3;
  }
  .productLi {
    @apply text-gray-600 hover:text-black text-sm font-medium border-b-[1px] border-b-gray-400 hover:border-b-gray-700 flex items-center justify-end gap-2 hover:cursor-pointer duration-300 w-full;
  }
}
.header-top,
.header-user-actions,
.desktop-navigation-menu {
  display: none;
}

.hedaer-main {
  padding: 20px;
  border-bottom: 1px solid hsl(0, 0%, 93%);
}

.header-logo {
  margin-bottom: 20px;
}

.header-logo img {
  margin: auto;
  margin-top: 20px;
}

.header-search-container {
  position: relative;
}
.header-search-container .search-field {
  font-size: 0.875rem;
  color: hsl(0, 0%, 27%);
  padding: 10px 15px;
  padding-right: 50px;
  border: 1px solid hsl(0, 0%, 93%);
  border-radius: 10px;
}

.search-field::-webkit-search-cancel-button {
  display: none;
}

.search-btn {
  background: #fff;
  position: absolute;
  top: 50%;
  right: 2px;
  transform: translateY(-50%);
  color: hsl(0, 0%, 27%);
  font-size: 18px;
  padding: 8px 15px;
  transition: 0.2s ease;
}

.search-btn:hover {
  color: var(--zoom-blue);
}

.mobile-bottom-navigation {
  background: #fff;
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  margin: auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 5px 0;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.25);
  z-index: 5;
}

.mobile-bottom-navigation .action-btn {
  position: relative;
  font-size: 26px;
  color: hsl(0, 0%, 13%);
  padding: 10px;
}

.mobile-bottom-navigation .count {
  background: hsl(0, 100%, 70%);
  color: #fff;
  position: absolute;
  top: 0;
  right: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 20px;
}

.mobile-navigation-menu {
  background: #fff;
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  max-width: 350px;
  height: 100vh;
  padding: 20px;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.1);
  overflow-y: scroll;
  overscroll-behavior: contain;
  visibility: hidden;
  transition: 0.5s ease;
  z-index: 20;
}

.mobile-navigation-menu.active {
  left: 0;
  visibility: visible;
}

.menu-top {
  padding-bottom: 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid hsl(0, 0%, 93%);
}

.menu-top .menu-title {
  color: var(--zoom-blue);
  font-size: 1.125rem;
  font-weight: 600;
}

.menu-close-btn {
  color: hsl(0, 0%, 13%);
  font-size: 22px;
}

.menu-close-btn ion-icon {
  --ionicon-stroke-width: 50px;
}

.mobile-menu-category-list {
  margin-bottom: 30px;
}

.menu-category .accordion-menu {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-menu-category-list .menu-category {
  border-bottom: 1px solid hsl(0, 0%, 93%);
}

.mobile-menu-category-list .menu-title {
  color: hsl(0, 0%, 27%);
  font-size: 0.938rem;
  font-weight: 500;
  padding: 12px 0;
}

.accordion-menu > div {
  font-size: 14px;
}

.accordion-menu ion-icon {
  color: hsl(0, 0%, 27%);
  --ionicon-stroke-width: 90px;
}

.accordion-menu.active .add-icon,
.accordion-menu .remove-icon {
  display: none;
}

.accordion-menu .add-icon,
.accordion-menu.active .remove-icon {
  display: block;
}

.menu-category .submenu-category-list {
  margin-left: 10px;
}

.submenu-title {
  padding: 6px 0;
  font-size: 0.938rem;
  color: hsl(0, 0%, 47%);
  font-weight: 300;
}

.submenu-title:hover {
  color: hsl(0, 0%, 33%);
}

.submenu-category-list {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.5s ease-in-out;
}

.submenu-category-list.active {
  max-height: 148px;
  visibility: visible;
}

.menu-bottom .menu-category-list {
  margin-bottom: 20px;
}

.menu-bottom .menu-category {
  border-bottom: none;
}

.menu-bottom .menu-title {
  font-size: 0.938rem;
  font-weight: 500;
  color: hsl(0, 0%, 13%);
  padding: 12px 0;
}

.accordion-menu.active .caret-back {
  transform: rotate(-0.25turn);
}

.menu-bottom .submenu-category-list {
  border: 1px solid hsl(0, 0%, 93%);
  border-radius: 10px;
  padding: 0 15px;
  margin-left: 0;
  box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.05);
}

.menu-bottom .submenu-category:not(:last-child) {
  border-bottom: 1px solid hsl(0, 0%, 93%);
}

.menu-social-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.menu-social-container .social-link {
  background: hsl(0, 0%, 93%);
  color: hsl(0, 0%, 13%);
  font-size: 20px;
  padding: 10px;
  border-radius: 10px;
}
/*------------------------*/

/* @media (min-width: 1024px) { */
.header-social-container {
  display: flex;
  align-items: center;
  gap: 5px;
}

.header-social-container .social-link {
  padding: 5px;
  background: hsl(0, 0%, 95%);
  border-radius: 5px;
  color: hsl(0, 0%, 47%);
  transition: 0.2s ease;
}

.header-social-container .social-link:hover {
  background: var(--zoom-blue);
  color: #fff;
}

.header-user-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-user-actions .action-btn {
  position: relative;
  font-size: 35px;
  color: hsl(0, 0%, 27%);
  padding: 5px;
}

.header-user-actions .count {
  position: absolute;
  top: -2px;
  right: -3px;
  background: hsl(0, 100%, 70%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  padding: 2px 4px;
  border-radius: 20px;
}

.desktop-navigation-menu {
  display: block;
}

.desktop-menu-category-list {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 70px;
  margin-bottom: 15px;
}

.desktop-menu-category-list .menu-category:not(:nth-child(2)) {
  position: relative;
}

.desktop-menu-category-list .menu-category > .menu-title {
  position: relative;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  padding: 15px 0;
  transition: 0.2s ease;
}

.desktop-menu-category-list .menu-category > .menu-title:hover {
  color: var(--zoom-blue);
}

.desktop-menu-category-list .menu-category > .menu-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--zoom-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.2s ease;
}

.desktop-menu-category-list .menu-category > .menu-title:hover::after {
  transform: scaleX(1);
}

.dropdown-panel {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 30px;
  border: 1px solid hsl(0, 0%, 93%);
  box-shadow: 0 3px 5px hsla(0, 0%, 0%, 0.1);
  border-radius: 10px;
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 5;
}

.desktop-menu-category-list .menu-category:hover > .dropdown-panel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.dropdown-panel-list .menu-title a {
  color: hsl(0, 0%, 27%);
  font-size: var(--fs-7);
  text-transform: capitalize;
  transition: 0.2s ease;
}

.panel-list-item a {
  color: hsl(0, 0%, 47%);
  font-size: 0.875rem;
  text-transform: capitalize;
  transition: 0.2s ease;
}

.panel-list-item a:hover {
  color: #000;
}

.panel-list-item:not(:last-child) a {
  padding: 4px 0;
}

.panel-list-item:last-child {
  margin-top: 20px;
}

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

.dropdown-list {
  position: absolute;
  top: 100%;
  left: 0;
  width: 170px;
  background: #fff;
  padding: 20px 10px;
  border-radius: 10px;
  border: 1px solid hsl(0, 0%, 93%);
  box-shadow: 0 3px 5px hsla(0, 0%, 0%, 0.1);
  transform: translateY(50px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.2s ease;
  z-index: 5;
}

.desktop-menu-category-list .menu-category:hover > .dropdown-list {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.dropdown-list .dropdown-item a {
  color: hsl(0, 0%, 47%);
  font-size: 0.875rem;
  text-transform: capitalize;
  padding: 4px 20px;
  transition: 0.2s ease;
}

.dropdown-list .dropdown-item a:hover {
  color: #000;
}

.cover {
  display: none;
}
/* } */

/* .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: yellow; */

/* Center slide text vertically */
/* display: flex;
  justify-content: center;
  align-items: center;
} */

/* .swiper-slide img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
} */

.swiper-button-prev:after,
.swiper-button-next:after {
  background-color: #131921;
  border-radius: 100%;
  color: #fff;
  font-size: 10px !important;
  padding: 8px 10px;
}
.swiper-button-prev,
.swiper-button-next {
  width: 30px !important;
  height: 30px !important;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background-color: #fff;
}

.input-group-alternative {
  box-shadow: 0 1px 3px rgba(50, 50, 93, 0.15), 0 1px 0 rgba(0, 0, 0, 0.02);
  border: 0;
  transition: box-shadow 0.15s ease;
}

.form-control {
  display: block;
  width: 100%;
  outline: none;
  height: calc(1.5em + 1.25rem + 2px);
  padding: 1.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #8898aa;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #cad1d7;
  border-radius: 0.375rem;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control-select {
  display: block;
  width: 100%;
  outline: none;
  height: calc(1.5em + 1.5rem + 2px);
  padding: 0.7rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #8898aa;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #cad1d7;
  border-radius: 0.375rem;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}
.form-control-method {
  position: relative;
  height: calc(1.5em + 1.5rem + 2px);
  padding: 0.6rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: #8898aa;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #cad1d7;
  border-radius: 0.375rem;
  box-shadow: none;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.form-control-method::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 10px;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  background-color: black;
  border-radius: 50%;
}
.priceCard {
  background: #f7f7f7;
  border-radius: 10px;
  padding: 12px;
}

.ic_preloader_main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.815);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader {
  width: 30vmin;
  height: 30vmin;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.65);
  animation: spin-all calc(var(--sp) * 2) linear 0s infinite;
}

:root {
  --sp: 2.5s; /* change speed */
}

.circle {
  --in: 80%;
  --ar: #2b6be2;
  --dt: #f3a4b5;
  --shadow: drop-shadow(0vmin 0vmin 0.5vmin #000)
    drop-shadow(0vmin 1vmin 0.5vmin #0004);
  --cross: linear-gradient(
      0deg,
      #fff0 calc(50% - 2px),
      #000 calc(50% - 1px) calc(50% + 1px),
      #fff0 calc(50% + 2px)
    ),
    linear-gradient(
      90deg,
      #fff0 calc(50% - 2px),
      #000 calc(50% - 1px) calc(50% + 1px),
      #fff0 calc(50% + 2px)
    );
  border: 4vmin solid var(--ar);
  width: var(--in);
  height: var(--in);
  border-radius: 100%;
  position: absolute;
  box-sizing: border-box;
  border-top-color: rgba(255, 255, 255, 0);
  border-left-color: rgba(255, 255, 255, 0);
  top: 15vmin;
  right: -10vmin;
  animation: spin-bot var(--sp) ease 0s infinite;
  background-image: var(--cross),
    radial-gradient(
      var(--dt) 5.5vmin,
      rgba(255, 255, 255, 0) calc(5.5vmin + 1px)
    );
  background-repeat: no-repeat;
  background-size: 3vmin 1vmin, 1vmin 3vmin, 100% 100%;
  background-position: center center;
}

.circle:nth-child(2) {
  --in: 60%;
  top: -2vmin;
  animation: spin-top var(--sp) ease 0s infinite;
  transform: rotate(-45deg);
  background-image: var(--cross),
    radial-gradient(
      var(--dt) 1.25vmin,
      rgba(255, 255, 255, 0) calc(1.25vmin + 1px)
    );
  right: -4vmin;
  background-size: 1.4vmin 1vmin, 1vmin 1.4vmin, 100% 100%;
}

.circle:nth-child(3) {
  --in: 100%;
  top: -5vmin;
  left: -13vmin;
  transform: rotate(175deg);
  animation: spin-left var(--sp) ease calc(var(--sp) / 4) infinite;
  background-image: var(--cross),
    radial-gradient(var(--dt) 9vmin, rgba(255, 255, 255, 0) calc(9vmin + 1px));
  background-size: 5vmin 1vmin, 1vmin 5vmin, 100% 100%;
}

.circle:nth-child(4) {
  --in: 60%;
  top: 35vmin;
  left: -6vmin;
  transform: rotate(-280deg);
  animation: spin-last var(--sp) ease calc((var(--sp) / 4 + var(--sp)) * -1)
    infinite;
  background-image: var(--cross),
    radial-gradient(
      var(--dt) 2.5vmin,
      rgba(255, 255, 255, 0) calc(2.5vmin + 1px)
    );
  background-size: 2vmin 1vmin, 1vmin 2vmin, 100% 100%;
}

@keyframes spin-all {
  0% {
    transform: rotate(0deg) scale(0.65);
  }
  100% {
    transform: rotate(360deg) scale(0.65);
  }
}
@keyframes spin-top {
  0% {
    transform: rotate(-45deg);
  }
  100% {
    transform: rotate(315deg);
  }
}
@keyframes spin-bot {
  0%,
  35% {
    transform: rotate(0deg);
  }
  80%,
  100% {
    transform: rotate(-360deg);
  }
}
@keyframes spin-left {
  0%,
  35% {
    transform: rotate(175deg);
  }
  80%,
  100% {
    transform: rotate(535deg);
  }
}
@keyframes spin-last {
  0%,
  10% {
    transform: rotate(-280deg);
  }
  90%,
  100% {
    transform: rotate(-640deg);
  }
}

.whatsapp-button {
  background-color: #25d366; /* WhatsApp green */
  color: white; /* Text color */
  border: none; /* Remove default border */
  padding: 10px 20px; /* Padding for button size */
  font-size: 16px; /* Font size */
  border-radius: 5px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  display: flex; /* Inline-block for margin/padding to take effect */
  text-align: center; /* Center text inside button */
  text-decoration: none; /* Remove underline if any */
  justify-content: center;
  align-items: center;
}

.whatsapp-button:hover {
  background-color: #20b358; /* Slightly darker green on hover */
}

.my-float {
  font-size: 28px;
  margin-right: 10px;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 20px;
  right: 20px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-floatIcon {
  margin-top: 16px;
}
