/*
///////////////////////////////
/// SWIPER
///////////////////////////////
*/

:root{
    --swiper-pagination-bullet-border-radius: 0px;
    --swiper-pagination-bullet-size: 16px;
    --swiper-pagination-bullet-horizontal-gap: 10px;
    --swiper-pagination-color: var(--bs-primary);
    --swiper-pagination-bullet-inactive: var(--bs-silvery-white);
}


/*
////////////////////////////////
/// HOVER EFFECTS
////////////////////////////////
*/

.hover-parent:hover .hover-scale {
    transform: scale(1.1);
}

/*
///////////////////////////////
/// TRANSITIONS
///////////////////////////////
*/

.transition{
    transition: all .15s linear;
}

/*
////////////////////////////////
/// CF7
////////////////////////////////
*/

span.wpcf7-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}
span.wpcf7-not-valid-tip {
    position: absolute;
}

/*
////////////////////////////////
/// LINES
////////////////////////////////
*/

.lines-3{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-height: 1.2em;
    min-height: 3.6em;
}
.lines-2{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3em;
    min-height: 2.6em;
}

/*
////////////////////////////////
/// HEADER FIXED ON SCROLL
////////////////////////////////
*/

.fixed-top {
    position: fixed !important;
}


/*
////////////////////////////////
/// MEGAMENU
////////////////////////////////
*/

.has-megamenu a.show {
    color: var(--bs-primary) !important;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 20px;
    text-decoration-thickness: 2px;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
    
    .navbar .has-megamenu{
        position:static!important;
    }
    .navbar .megamenu{
        left:0;
        right:0; 
        width:100%; 
        margin-top:0;
    }
    
}	
/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media(max-width: 991px){
    .navbar.fixed-top .navbar-wrapper, .navbar.sticky-top .navbar-wrapper{
        overflow-y: auto;
        max-height: 90vh;
        margin-top:10px;
    }
}
/* ============ mobile view .end// ============ */


.megamenu {
    display: block !important;
    transition: .25s ease;
}
.megamenu.show {
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    margin-top: 0px;
}
.megamenu:not(.show) {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    margin-top: -50px;
}


/*
////////////////////////////////
/// SCROLLBOX SHADOW
////////////////////////////////
*/

.scrollbox {
    position: relative;
    overflow: auto;
    background: white;
}

/* Shared shadow styles */
.scrollbox::before,
.scrollbox::after {
    content: "";
    position: sticky;
    left: 0;
    right: 0;
    height: 14px;
    pointer-events: none;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.2s ease;
    display: block;
}

/* Top shadow */
.scrollbox::before {
    top: 0;
    background: radial-gradient(
        farthest-side at 50% 0,
        rgba(0,0,0,.25),
        rgba(0,0,0,0)
    );
}

/* Bottom shadow */
.scrollbox::after {
    bottom: 0;
    background: radial-gradient(
        farthest-side at 50% 100%,
        rgba(0,0,0,.25),
        rgba(0,0,0,0)
    );
}

/* Show shadows when needed */
.scrollbox.scroll-top::before {
    opacity: 1;
}

.scrollbox.scroll-bottom::after {
    opacity: 1;
}


/*
////////////////////////////////
/// CUSTOM QUANTITY
////////////////////////////////
*/

.quantity {
    position: relative;
    width: fit-content;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.quantity input {
    text-align: center;
    width: 100px !important;
    height: 100%;
}
.quantity-nav {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
}
.quantity-button {
    background-color: var(--bs-tech-white);
    border: var(--bs-border-width) solid var(--bs-border-color);
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    width: 35px;
    text-align: center;
    line-height: 1.5;
    padding: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: all;
}
.woocommerce-cart .quantity-button {
    color: #fff;
}
.woocommerce-cart .quantity-button {
    color: #000;
}
.quantity-button.quantity-up {
    position: absolute;
    right: 0;
}
.quantity-button.quantity-down {
    position: absolute;
    left: 0;
}


/*
////////////////////////////////
/// CHECKOUT
////////////////////////////////
*/

.d-none-v2 {
    display: none;
}
.woocommerce-invalid input.form-control {
    border-color: red;
}
.woocommerce-validated input.form-control{
    border-color: green;
}
.checkout-inline-error-message {
    display: none;
}

#order_review label[for="payment_method_wc_leanpay_module"] img {
    height: 26px;
}

/*
////////////////////////////////
/// PRODUCT
////////////////////////////////
*/

.swiper-thumbs .swiper-slide:not(.swiper-slide-thumb-active) .swiper-slide-inner {
    background-color: #eeeeee;
}
.swiper-thumbs .swiper-slide:not(.swiper-slide-thumb-active) .swiper-slide-inner img {
    opacity: .25;
}