@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --background: #fff;
  --foreground: #171717;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}
body {
  color: var(--foreground);
  background: var(--background);
}

.submenu{
  background-color: rgba(225,225,225,.8);
}
.main-title span{
  font-weight: normal;
}
/* .home-page-carousels div div{
  height: 49vh;
} */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.aspect-ratio{
  aspect-ratio: 1 / 1;
}
.ws-6{
  word-spacing: 6px;
}
.clip-custom-shape{
  clip-path: polygon(15px 0%, calc(100% - 15px) 0%, 100% 15px, 100% calc(100% - 15px), calc(100% - 15px) 100%, 15px 100%, 0% calc(100% - 15px), 0% 15px);
}
.clip-custom-title{
  clip-path: polygon(0% 0%, calc(100% - 5px) 0%, 100% 0%, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0% 100%, 0% 0%);
}
div[dir="rtl"] .clip-custom-title{
  clip-path: polygon(100% 0%, calc(0% + 5px) 0%, 0% 0%, 0% calc(100% - 15px), 15px 100%, 100% 100%, 100% 0%);
}
.nextjs-toast{
  display: none;
}
.feedback_description img{
  margin: 4px auto 0;
}
.rgb_color_format{
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background: rgb(255, 34, 254);
  background: linear-gradient(90deg, rgba(255, 34, 254, 1) 0%, rgba(254, 51, 106, 1) 11%, rgba(255, 101, 58, 1) 29%, rgba(255, 254, 65, 1) 45%, rgba(66, 254, 106, 1) 63%, rgba(26, 255, 255, 1) 82%, rgba(72, 59, 255, 1) 100%);
  transform-origin: center;
  animation: glowing 5s linear infinite;
}
.anchor_gray_color a,
.post_below_content a{
  color: #43474f;
}
.custom-pagenation .swiper-pagination {
  text-align: left;
  padding-left: 32px;
  bottom: 32px !important;
}
.custom-pagenation .swiper-pagination .swiper-pagination-bullet{
    background: #CBD5E1;
    opacity: 1;
    height: 10px;
    width: 10px;
}
.custom-pagenation .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active{
  background: #04196C;
}
.stretched-link::before{
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  content: "";
}
@keyframes glowing{
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

.pagination ul{
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  justify-content: center;
  -webkit-justify-content: center;
   gap: 6px;
}



html[dir='rtl'] {
  /* Adjust layouts for RTL */
  text-align: right;
}

html[dir='rtl'] button,
html[dir='rtl'] input {
  direction: rtl;
}
.slider-seprator .swiper-slide:not(:last-child):after {
    content: "";
    position: absolute;
    height: 56px;
    width: 1px;
    background: #F1F5F9;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
}
html[dir='rtl'] .slider-seprator .swiper-slide:not(:last-child):after {
    right: auto;
    left: -28px;
}

.prodcut-detail-slide .swiper-button-next,
.prodcut-detail-slide .swiper-button-prev {
    display: none;
}

.prodcut-detail-slide{
  padding-bottom: 30px !important;
}

.prodcut-detail-slide .swiper-pagination {
    position: absolute;
    bottom: 0px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.prodcut-detail-slide .swiper-pagination-bullet-active{
  background: #04196C !important;
  zoom: 1 !important;
}

.prodcut-detail-slide .swiper-pagination-bullet{
  background: #CBD5E1;
  opacity: 1 !important;
}

.prodcut-detail-slide .swiper-pagination-bullet:last-child{
  zoom: .6;
}

.prodcut-detail-slide .swiper-pagination-bullet:nth-last-child(2) {
  zoom: 0.8;
}

.prodcut-detail-slide .swiper-pagination-bullet:first-child{
  zoom: .6;
}

.prodcut-detail-slide .swiper-pagination-bullet:first-of-type(2n){
  zoom: 0.8;
}

.reviewbox-wrap::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 80px;
  transform: translateX(0) rotate(45deg);
  width: 16px;
  height: 16px;
  background-color: white;
}

.react-select__indicators .react-select__indicator-separator {
    display: none;
}

.PhoneInputInput:focus{
  outline: none;
}

.inputIcon:focus{
  border: 1px solid #04196c;
}

@media screen and (max-width: 1280px) {
  .relative.custom-pagenation .custom-swiper-pagination {
      bottom: -20px !important;
      
  }
}
@media screen and (max-width: 1024px) {
  .slider-seprator .swiper-slide:not(:last-child):after {
    right: -20px;
  }
  html[dir='rtl'] .slider-seprator .swiper-slide:not(:last-child):after {
    right:auto;
    left: -20px;
  }
}
@media screen and (max-width: 640px) {
  .slider-seprator .swiper-slide:not(:last-child):after {
   display: none;
  }
}