:root{
    --primary-color1:#2167B2;
    --primary-color2:#3CB749;
    --dark-text:#090C08;
    --secondary-red:#ff575c;
    --secondary-yellow:#FFCA3A;
    --font-primary:"Instrument Sans", sans-serif;
    --font-secondary:"DM Sans", sans-serif;
}
body{
    overflow-x: hidden;
    box-sizing: border-box;
}
.instrument{
    font-family: var(--font-primary);
}
.dm-sans{
    font-family: var(--font-secondary);
}
.padding-x{
    padding-left: 5rem;
    padding-right: 5rem;
}
.element-font{
    font-family: var(--font-secondary);
    font-size: 15px;
    white-space: nowrap;
}
.link-text{
    color: var(--dark-text);
    transition: ease-in-out 0.3s;
}
.link-text:hover{
    color: var(--primary-color2);
    font-weight: 500;
}
.drop-box{
    position: relative;
}
.drop-menu{
    position: absolute;
    background-color: #ffffff;
    min-width: 150px;
    width: max-content;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    top: 36px;
    box-shadow: 0px 0px 2px rgba(9, 12, 8, 0.1);
    border-radius: 4px;
    border: 1px solid #ababab55;
}
.serch-window{
    position: absolute;
    width: 100vw;
    height:100vh;
    background-color: rgba(9, 12, 8, 0.25);
    left: 0;
    top: 0;
    z-index: 20;
}
.paragraph-size{
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 300;
    line-height: 22px;
}

/* NAVIGATION */
.toggle-bar{
    position: relative;
    width: 40px;
    height: 30px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition:0.5s ease-in-out ;
}
.bar{
    display: block;
    width: 70%;
    background-color: var(--primary-color1);
    height: 2.5px;
    border-radius: 4px;
    position: absolute;
    transition: 0.5s ease-in-out;
}
.bar-1{
  top: 0px;
  transform-origin: left center;
}
.bar-2{
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}
.bar-3{
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}
#menu-toggler:checked + .toggle-bar .bar {
  transition: 0.5s ease-in-out;
}
#menu-toggler:checked + .toggle-bar .bar-2 {
  width: 0%;
  opacity: 0;
  transition-duration: .5s;
}

#menu-toggler:checked + .toggle-bar .bar-1 {
  transition-duration: .5s;
  transform: rotate(45deg);
  top: 4px;
  left: 10px;
}

#menu-toggler:checked + .toggle-bar .bar-3 {
  transform: rotate(-45deg);
  top: 24px;
  left: 10px;
  transition-duration: .5s;
}
.burger{
    display: none;
}

/* SWIPER */

/* BANNER SWIPER */
.bannerSwiper .swiper-button-next,.bannerSwiper .swiper-button-prev{
    background-color: white;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.bannerSwiper .swiper-button-next::after,.bannerSwiper .swiper-button-prev::after{
    font-size: 24px;
    color: var(--primary-color1);
}
/* CATEGORIES SWIPER */
.categoriesSwiper .swiper-button-next,.categoriesSwiper .swiper-button-prev{
    background-color: white;
    border-radius: 100px;
    width: 45px;
    height: 45px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.categoriesSwiper .swiper-button-next::after,.categoriesSwiper .swiper-button-prev::after{
    font-size: 20px;
    color: var(--primary-color2);
}
/* PRODUCT SWIPER */
.productSwiper .swiper-button-next,.productSwiper .swiper-button-prev{
    background-color: white;
    border-radius: 100px;
    color: var(--primary-color2);
    width: 45px;
    height: 45px;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
}
.productSwiper .swiper-button-next:hover,.productSwiper .swiper-button-prev:hover{
    background-color: var(--primary-color2);
    color: white;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}
.productSwiper .swiper-button-next::after,.productSwiper .swiper-button-prev::after{
    font-size: 20px;
}

.swiper-slide{
    display: flex !important;
    justify-content: center;
    height: 100%;
}

.productSwiper .swiper-slide{
    width: fit-content;
}
.brandSwiper .swiper-slide{
    width: fit-content;
}
.brandSwiper .swiper-pagination .swiper-pagination-bullet-active{
    background-color: #3CB749;
}

/* HEADLINES */

.section-headline{
    font-family: var(--font-primary);
    font-size: 24px;
    font-weight: 600;
}
.sub-title{
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 500;
}
.product-text{
    font-family: var(--font-secondary);
    font-size: 16px;
    font-weight: 500;
}
.product-content{
    font-family: var(--font-secondary);
    font-size: 13px;
    font-weight: 300;
}
.sub-headline{
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: bold;
}
.top-link-text{
    font-family: var(--font-secondary);
    font-size: 14px;
    font-weight: 300;
}

.categories-card{
    background-color: #F5F5F5;
    border-radius: 8px;
    padding: 10px;
    text-align: center;
    box-shadow: 0px 0px 4px #3cb74940;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 195px;
    transition: 0.5s ease;
    border: 1px solid transparent;
}
.categories-card:hover{
    box-shadow: 0px 10px 20px #3cb74824;
    border: 1px solid #ababab55;
}
.product-card{
    background-color: #fff;
    border: 1px solid #DEDEDE;
    border-radius: 8px;
    padding: 14px 12px;
}
.product-card:hover img{
    transition: 0.5s ease;
    transform: scale(1.2);
}
.product-button{
    border: 1px solid var(--primary-color2);
    color: var(--primary-color2);
    font-family: var(--font-secondary);
    padding: 8px 10px;
    border-radius: 10px;
    font-size: 14px;
    transition: ease-in-out 0.5s;
}
.product-button:hover{
    background-color: var(--primary-color2);
    color: white;
    filter: drop-shadow(0px 2px 4px #DEDEDE);
}
.tool-bg{
    background: url('../assets/images/construction-tool-table.webp'),#F5F5F5;
    background-size: cover;
    background-repeat: no-repeat;
}

/* RATING STAR */

.rating-star{
  cursor: pointer;
  transition: color 0.3s;
}
.rating-star:before {
  content: "\2605";
  font-size: 24px;
  color: var(--secondary-yellow);
}
.filter-star::before{
  content: "\2605";
  font-size: 14px;
  color: #ABABAB;
}

.rating-input input {
  display: none;
}

.rating-input label {
  float: right;
  padding-right: 16px;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s;
}

.rating-input label:before {
  content: '\2605';
  font-size: 20px;
}

.rating-input input:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: var(--secondary-yellow);
  transition: color 0.3s;
}

.buy-button{
    background-color: var(--primary-color2);
    color: white;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color ease-in-out 0.3s;
}
.buy-button:hover{
    background-color: #00a63e;
}
.buy-button:active,.add-to-cart-button:active{
    transform: scale(0.98);
}
.add-to-cart-button{
    background-color: white;
    color: var(--primary-color2);
    border: var(--primary-color2) 1px solid;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: border ease-in-out 0.3s,color ease-in-out 0.3s;
}
.add-to-cart-button:hover{
    color: var(--primary-color1);
    border: var(--primary-color1) 1px solid;
}
.transition-toggle{
    transition: 1s ease;
}
.toggle-details{
    position: absolute;
    height: 0;
    transition: 0.3s ease-in-out;
    filter: blur(1px);
    opacity: 0;
}
.product-image::after{
position: absolute;
content: '';
display: var(--display);
width: 100%;
height: 100%;
background-color: #53514C;
top: 0;
left: 0;
background-image: var(--url);
background-size: 200%;
background-repeat: no-repeat;
background-position: var(--zoom-x) var(--zoom-y);
border: 1px solid #F5F5F5;
border-radius: 8px;
}

/* INPUT ARROWS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type=number] {
  -moz-appearance: textfield;
}

/*CUSTOM SELECTION*/
.input-selection{
    width: fit-content;
    box-sizing: border-box;
    position: relative;
    font-family: var(--font-secondary);
}
.selection-box{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    cursor: pointer;
    min-width: 180px;
    width: 100%;
    border: 1px solid #090C08;
    border-radius: 30px;
    transition: ease-in 0.3s;
}
.selection-box:hover{
    background-color: #3cb74843;
    color: #090C08;
    border: 1px solid #090C08;
}
.selection-box-drop{
    right: 0;
    top: 32px;
    width: 100%;
    position: absolute;
    overflow: hidden;
    border-radius: 8px;
}
.input-selection ul{
    flex-direction: column;
    background-color: white;
    border: 1px solid #3cb7487a;
    width: 100%;
    border-radius: 8px;
}
.input-selection ul li{
 cursor: pointer;
 padding: 6px 10px;
 font-size: 12px;
 color: #ABABAB;
 transition: 0.3s ease;
}
.input-selection ul li:hover{
 background-color: #3cb74843;
 color: var(--dark-text);
}
.input-selection ul li:last-child{
 background-color: #F5F5F5;
 color: #d1d0d0;
}
.input-selection ul li:last-child:hover{
 background-color: #dedede;
 color: white;
}
.filter-container{
    /* height: calc(100vh - 136px); */
    overflow-y: auto;
}

.filter-container input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 1px solid var(--primary-color1);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
  transition: 0.3s ease-in-out;
}

.filter-container input[type="checkbox"]:checked {
  border-color: var(--primary-color2);
  background-color: var(--primary-color2);
}

.filter-container input[type="checkbox"]:checked::before {
  content: "✓";
  color: white;
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-size: 12px;
}

.filter-container::-webkit-scrollbar{
    width: 8px;
}
.filter-container::-webkit-scrollbar-track{
    background-color: #dadada;
    border-radius: 10px;
}
.filter-container::-webkit-scrollbar-thumb{
  background-color: var(--primary-color1);
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}
.profile-button{
    border: 1px solid var(--primary-color1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-secondary);
    color: var(--primary-color1);
    padding: 10px;
    cursor: pointer;
    text-align: center;
    transition: ease 0.3s;
}
.profile-button-active{
    border: 1px solid var(--primary-color1);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    font-family: var(--font-secondary);
    background-color: var(--primary-color1);
    color: white;
    padding: 10px;
    cursor: pointer;
    transition: ease 0.3s;
}
.profile-button:hover{
    background-color: #e5f2ff;
    color: var(--primary-color1);
}
.edit-button{
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--primary-color1);
    transition: 0.3s ease-in-out;
}
.edit-button:hover{
    color: #184f8b;
}

.back-drop-layer{
    background-color: #090c084f;
    justify-content: center;
    padding-top: 150px;
    font-family: var(--font-secondary);
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
}

.otp-container input:focus{
    box-shadow: 0px,0px,6px,var(--primary-color1);
    border: 0.8px solid var(--primary-color1);
}
.disable-otp{
    background-color: #ccc;
}
.coupon-card{
    height: 100%;
}
.coupon-card{
    background-color: white;
    border-radius: 10px;
}
.offer-box{
    background-color: var(--primary-color2);
    writing-mode: sideways-lr;
    text-orientation: mixed;
    color: white;
    font-weight: bold;
    font-size: 15px;
    padding: 16px 10px;
    text-align: center;
    border-radius: 10px 0px 0px 10px ;
}

.search-input-box{
    border-radius: 8px;
    padding: 8px 12px;
    width: 100%;
    box-shadow: inset 0px 0px 3px rgba(9,12,8,0.2);
    transition: ease-in-out 0.3s ;
}

.search-input-box:hover, .search-input-box:focus{
    box-shadow: inset 0px 0px 5px rgb(0, 166, 62,0.5);
}
.search-input-box:hover svg, .search-input-box:focus svg{
    color: var(--primary-color2);
}
.choose-card{
    background-color: white;
    border-radius: 8px;
    transition: 0.5s ease;
    cursor: pointer;
    &:hover{
        box-shadow: 0px 12px 10px #00a63d48;
    }
}
.text-product{
    background-color: #2167b22e;
    border-radius: 50px;
    color: var(--dark-text);
    border: 1px solid #184f8b;
    transition: ease 0.5s;
    cursor: pointer;
    &:hover{
        background-color: #184f8b;
        color: white;
    }
}
.contact-form input,.contact-form textarea{
    width: 100%;
    font-family: var(--font-secondary);
    font-size: 15px;
    color: var(--dark-text);
    padding: 14px 16px;
    border: #090c0836 solid 1px;
    border-radius: 10px;
}
.contact-form textarea{
    min-height: 100px;
}
.brand-card{
    border: 1px solid #090c081a;
    transition: ease 0.5s;
    &:hover{
        box-shadow: 0px 6px 10px #18508b2c;
    }
}
.category-card{
    border: 1px solid #18508b68;
    transition: ease 0.5s;
    &:hover{
        box-shadow: 0px 6px 10px #00a63d30;
    }
}
/* RESPONSIVE */
    
/* `sm` applies to x-small devices (portrait phones, less than 576px)  */
@media (max-width: 35.99875em) {
.padding-x{
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.section-headline{
    font-size: 20px;
}

/* BANNER SWIPER */
.bannerSwiper .swiper-button-next,.bannerSwiper .swiper-button-prev{
    width: 20px;
    height: 35px;
}
.bannerSwiper .swiper-button-next::after,.bannerSwiper .swiper-button-prev::after{
    font-size: 12px;
}
/* CATEGORIES SWIPER */
.categoriesSwiper .swiper-button-next,.categoriesSwiper .swiper-button-prev{
    width: 30px;
    height: 30px;
}
.categoriesSwiper .swiper-button-next::after,.categoriesSwiper .swiper-button-prev::after{
    font-size: 12px;
}

}



/*  330px to 576px  */
@media (min-width: 20.625em) and (max-width: 35.99875em) {
 .w-text{
    width: 60%;
 }
 .flex-col-custom{
    flex-direction: column;
 }
}

/* less than 330px */
@media (max-width: 20.62375em) {
 .w-text{
    width: 100%;
 }
  .flex-col-custom{
    flex-direction: column;
 }
}

/* `md` applies to small devices (landscape phones, less than 768px)  sm - md   576px - 36em    768px - 48em*/
@media (min-width: 36em) and (max-width: 47.99875em) {
.padding-x{
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.section-headline{
    font-size: 22px;
}
}


/* `md` applies to medium devices (tablets, less than 768px)   768px - 48em */
@media (max-width: 47.99875em) {

}

/* `lg` applies to medium devices (tablets, less than 992px)   922px - 62em */
@media (max-width: 61.99875em) {
.navbar{
    position: absolute;
    left: 0;
}
.nav-links{
    position: absolute;
    top: 115px;
    background-color: #fff;
    flex-direction: column;
    padding: 16px;
    width: 100%;
    text-align: center;
    transform: translateY(-100%);
    z-index: -5;
    opacity: 0;
    transition: 0.5s ease-in-out;
    max-height: calc(100vh - 220px);
    overflow-y: auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.2);
}
.nav-links::-webkit-scrollbar{
    width: 8px;
}
.nav-links::-webkit-scrollbar-track{
    background-color: #F4FFF6;
    border-radius: 10px;
}
.nav-links::-webkit-scrollbar-thumb{
  background-color: var(--primary-color1);
  border-radius: 10px;
  border: 2px solid #f1f1f1;
}
.header-icons{
    position:absolute;
    width: 100vw;
    justify-content: end;
    padding: 16px;
    background-color: #eef3f9;
    box-shadow: 0px 2px 4px #3cb74817;
    right: 0;
    z-index: 5;
    top: 59px;
}
.search-input-box {
    margin-inline-start: 16px;
}
.nav-links li{
    padding: 8px 12px;
}
.nav-links li:hover{
    background-color: #3cb74817;
}
.burger {
  display: block;
}
.nav-view{
    transform: translateY(0);
    opacity: 1;
    z-index: 10;
}
.drop-menu{
    position: absolute;
    width: 100%;
    margin-top: 6px;
}
.nav-links .drop-menu{
    position: static;
}
.drop-menu a:hover{
    background-color: #2167b214;
}
.hero-banner-slide{
    margin-top: 56px;
}
.filter-container{
    position: fixed;
    z-index: 10;
    height:calc(100vh - 156px);
    left: 0;
    right: 0;
    top: 150px;
    box-shadow: 2px 2px 6px #2167b214 ;
}
}


/* md - lg    768px - 48em  992px - 62em */
@media (min-width: 48em) and (max-width: 61.99875em) {
.padding-x{
    padding-left: 3rem;
    padding-right: 3rem;
}
.section-headline{
    font-size: 23px;
}
}


/* `xl` applies to large devices (desktops, less than 1200px)  75em - 1200px  */
@media (min-width: 62em) and (max-width: 74.99875em) {
.padding-x{
    padding-left: 4rem;
    padding-right: 4rem;
}
}

@media (max-width: 74.99875em) {

}



/* `xxl` applies to x-large devices (large desktops, less than 1400px)  1400px - 87.5em */
@media (min-width: 75em) and (max-width: 87.49875em) {
.padding-x{
    padding-left: 5rem;
    padding-right: 5rem;
}
}


/* 1200px max */
@media (min-width: 75em) {}
