/*------------------------------------------------------------------
    SKELETON
-------------------------------------------------------------------*/
body {
    background: #d7d7d8
        /*  color: #666666;
    font-size: 15px;
    font-family: 'Dosis', sans-serif;
    line-height: 1.80857;*/
}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {
    opacity: .8
}

:focus {
    outline: 0;
}

.form-control::-moz-placeholder {
    color: #ffffff;
    opacity: 1;
}

/*------------------------------------------------------------------ LOADER -------------------------------------------------------------------*/
#back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    width: 32px;
    height: 32px;
    text-align: center;
    line-height: 5px;
    background: #404139;
    color: #ffffff;
    cursor: pointer;
    border: 0;
    border-radius: 0px;
    text-decoration: none;
    transition: opacity 0.2s ease-out;
    font-size: 28px;
}

/*------------------------------------------------------------------ HEADER -------------------------------------------------------------------*/
.hvr-hover {
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    position: relative;
    background: #404139;
    -webkit-transition-property: color;
    transition-property: color;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    border-radius: 0;
    box-shadow: none;
}

.hvr-hover::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    border-radius: 100%;
    -webkit-transform: scale(0);
    transform: scale(0);
    -webkit-transition-property: transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-timing-function: ease-out;
    transition-timing-function: ease-out;
}

.hvr-hover:hover::after {
    -webkit-transform: scale(2);
    transform: scale(2);
    color: #ffffff;
}

.hvr-hover {
    overflow: hidden;
}

/*------------------------------------------------------------------ Instagram Feed -------------------------------------------------------------------*/
.instagram-box {
    padding: 70px 0px;
    background: url(../images/ins-bg.jpg) no-repeat center center;
    background-size: auto auto;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -ms-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
}

.instagram-box::before {
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 100%;
    left: 0px;
    top: 0px;
    content: "";
    position: absolute;
    z-index: 0;
}

.main-instagram.owl-carousel .owl-nav button.owl-prev {
    background: #000000;
    position: absolute;
    z-index: 1;
    display: block;
    height: 100%;
    width: 50px;
    line-height: 0px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    top: 0;
    padding: 0;
    margin-top: 0;
    opacity: 1;
    left: 0px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.main-instagram.owl-carousel .owl-nav button.owl-next {
    background: #000000;
    position: absolute;
    z-index: 1;
    display: block;
    height: 100%;
    width: 50px;
    line-height: 0px;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
    top: 0;
    padding: 0;
    margin-top: 0;
    opacity: 1;
    right: 0px;
    -webkit-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.main-instagram.owl-carousel .owl-nav button.owl-next:hover,
.main-instagram.owl-carousel .owl-nav button.owl-prev:hover {
    background: #b0b435;
}

.ins-inner-box {
    position: relative;
}

.hov-in {
    opacity: 0;
    background: rgba(211, 59, 51, 0.5);
    bottom: -100%;
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all 0.3s ease-out 0.5s;
    -moz-transition: all 0.3s ease-out 0.5s;
    -o-transition: all 0.3s ease-out 0.5s;
    -ms-transition: all 0.3s ease-out 0.5s;
    transition: all 0.3s ease-out 0.5s;
    text-align: center;
    display: table;
}

.hov-in a {
    display: table-cell;
    vertical-align: middle;
    height: 100%;
}

.hov-in i {
    color: #000000;
    font-size: 48px;
    position: relative;
    z-index: 2;
}

.hov-in a i:hover {
    color: #ffffff;
}

.ins-inner-box:hover .hov-in {
    bottom: 0;
    opacity: 1;
}

/*------------------------------------------------------------------ All Pages -------------------------------------------------------------------*/
.shop-cat-box {
    margin-bottom: 30px;
    position: relative;
    padding: 3px;
    overflow: hidden;
    border: 0px solid #000000;
    box-shadow: 9px 9px 30px 0px rgba(0, 0, 0, 0.3);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease-in-out 0s;
}

.shop-cat-box img {
    margin: -10px 0 0 -10px;
    max-width: none;
    width: -webkit-calc(100% + 10px);
    width: calc(100% + 10px);
    opacity: 0.9;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(10px, 10px, 0);
    transform: translate3d(10px, 10px, 0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.shop-cat-box:hover img {
    opacity: 0.6;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.shop-cat-box a {
    position: absolute;
    z-index: 2;
    bottom: 0px;
    left: 0px;
    right: 0;
    margin: 0 auto;
    text-align: center;
    border: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 0px;
}

.contact-info-left {
    background: url(../images/contact-bg.webp) center/cover;
    height: 400px;
    /* background-size: cover;     */
    /* opacity: .6 */
}

.contact-info-left p {
    margin-bottom: 15px;
}

.contact-info-left ul li {
    margin-bottom: 12px;
}

.contact-info-left ul li p {
    font-size: 16px;
    color: #222222;
    font-weight: 300;
    padding-right: 16px;
    padding-left: 25px;
    line-height: 24px;
    position: relative;
}

.contact-info-left ul li p i {
    position: absolute;
    left: 0;
    top: 5px;
    padding-right: 6px;
    color: #404139;
}

.contact-info-left ul li p a:hover {
    color: #404139;
}

.submit-button button {
    padding: 10px 20px;
    font-weight: 700;
    color: #ffffff;
    border: none;
}

.help-block.with-errors {
    position: absolute;
    right: 0;
    background: red;
    color: #fff;
    padding: 0px 15px;
}

.help-block ul li {
    color: #fff;
}

.carousel-indicators {
    position: relative;
    bottom: 0;
    background: #000000;
}

.carousel-indicators li {
    width: 30%;
    height: 100%;
    cursor: pointer;
}

.products-box .carousel-item img {
    width: 100%;
    height: 200px;
    object-fit: contain;
}

.buy-button {
    display: inline-block;
    background: #23272c;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    -webkit-transition: all ease-in-out 300ms;
    transition: all ease-in-out 300ms;
}

.buy-button:hover {
    box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0px, -10px) scale(1.2);
    transform: translate(0px, -10px) scale(1.2);
}

.btn-add-to-cart {
    display: inline-block;
    background: #23272c;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    -webkit-transition: all ease-in-out 300ms;
    transition: all ease-in-out 300ms;
}

.btn-add-to-cart:hover {
    box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0px, -10px) scale(1.2);
    transform: translate(0px, -10px) scale(1.2);
}

.category-btn {
    display: inline-block;
    background: #23272c;
    color: #fff;
    border-radius: 15px;
    box-shadow: 0px 17px 10px -10px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    -webkit-transition: all ease-in-out 300ms;
    transition: all ease-in-out 300ms;
}

.category-btn:hover {
    box-shadow: 0px 37px 20px -20px rgba(0, 0, 0, 0.2);
    -webkit-transform: translate(0px, -10px) scale(1.2);
    transform: translate(0px, -10px) scale(1.2);
}

.card-outline-secondary .card-body a {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    padding: 12px 25px;
    border: none;
}

.social-icons a {
    color: #6c757d;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #007bff;
}

.product-card {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.product-card:hover {
    cursor: grab;
    transform: scale(1.05);
    opacity: 0.8;
}

.product_info .product-image {
    width: 100%;
    height: 400px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border: 1px solid #e9ecef;
    padding: 8px;
}

.product_info .thumbnail {
    width: 80px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    background: #fff;
    border: 1px solid #dee2e6;
    padding: 4px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.product_info .thumbnail:hover,
.product_info .thumbnail.active {
    opacity: 1;
}

@media (max-width: 767.98px) {
    .product_info .product-image {
        height: 300px;
    }
}

.breadcrumb-item+.breadcrumb-item::before {
    content: ""
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-input {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* .navbar-nav li:not(#cartList):not(#cart-item):hover { */
.navrefs:hover {
    cursor: pointer;
    opacity: 0.8;
    transform: scale(1.1);
}

/* #cartDropdown.show {
    background-color: transparent !important;
    color: inherit !important;
} */

#cartList {
    z-index: 1050 !important;
    /* Ensure it appears above other elements */
    background-color: transparent !important;
    /* Remove hover background */
    color: inherit !important;
    /* Keep text color unchanged */
    box-shadow: none !important;
    /* Remove any box shadow */
}

.badge {
    background-color: #6394F8;
    border-radius: 10px;
    color: white;
    display: inline-block;
    font-size: 12px;
    line-height: 1;
    padding: 3px 7px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}

/* Make the cart dropdown wider */
.cart-dropdown {
    min-width: 380px;
    max-width: 460px;
    max-height: 460px;
    overflow-y: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

#cart-items .list-group-item {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    display: block;
    border-left: 0;
    border-right: 0;
    border-top: 0;
    padding: 10px 0;
    background: transparent;
}

#cart-items {
    display: block;
    max-height: 280px;
    overflow-y: auto;
    overflow-x: hidden;
    white-space: normal;
    padding-right: 2px;
}

/* Full-width Checkout Button */
.cart-btn {
    width: 100%;
    font-weight: 600;
}

/* Cart Item Layout */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    padding: 0;
    border: 0;
}

.item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    flex: 1;
}

.item-left img {
    margin-right: 0;
    border-radius: 8px;
    background: #f4f4f4;
    border: 1px solid #ececec;
    object-fit: contain;
    flex-shrink: 0;
}

.item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.item-name {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    color: #202124;
    white-space: normal;
    overflow-wrap: anywhere;
}

.item-meta {
    font-size: 12px;
    color: #5f6368;
    margin-top: 3px;
}

.item-subtotal {
    font-size: 12px;
    color: #202124;
    margin-top: 3px;
}

.item-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.cart-remove-btn {
    border-radius: 999px;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

#cartDropdownMenu .list-group-horizontal {
    display: block;
}

#cartDropdownMenu .list-group-horizontal > .list-group-item {
    display: block;
    width: 100%;
    padding: 2px 0;
    background: transparent;
    border: 0;
    color: #2f2f2f;
    font-size: 14px;
}

#cart-total-count,
#cart-total-price {
    font-weight: 600;
}

.cart-empty {
    color: #6c757d;
    font-size: 13px;
    border-bottom: 0 !important;
    padding: 16px 0 !important;
}

/* Checkout modal readability */
#orderSummaryModal .table th {
    font-size: 13px;
    font-weight: 700;
    color: #3b4450;
    border-bottom-width: 1px;
}

#orderSummaryModal .table td {
    padding-top: 10px;
    padding-bottom: 10px;
}

#orderSummaryModal .order-customer-card {
    background: #f8fafc;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 10px;
}

#orderSummaryModal .order-customer-card .form-label {
    font-size: 12px;
    font-weight: 600;
    color: #495057;
}

#orderSummaryModal .order-customer-optional summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: #495057;
    user-select: none;
}

#orderSummaryModal .order-customer-optional[open] summary {
    margin-bottom: 6px;
}

#orderSummaryModal #order-summary-stock-alert {
    font-size: 12px;
    border-radius: 8px;
}

#orderSummaryModal .order-summary-row td {
    vertical-align: middle;
}

#orderSummaryModal .order-item-cell {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

#orderSummaryModal .order-item-thumb {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    object-fit: contain;
    flex-shrink: 0;
}

#orderSummaryModal .order-item-text {
    min-width: 0;
}

#orderSummaryModal .order-item-name {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
    line-height: 1.3;
}

#orderSummaryModal .order-item-unit {
    font-size: 12px;
    color: #6c757d;
    margin-top: 3px;
}

#orderSummaryModal .order-row-subtotal {
    color: #0f5132;
}

#orderSummaryModal .order-summary-grand-total {
    border-top: 1px dashed #cfd4da;
    padding-top: 6px;
    margin-top: 4px;
}

#orderSummaryModal .order-summary-grand-total strong {
    color: #0f5132;
}

#orderSummaryModal .order-payment-box {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background: #fbfcfd;
    padding: 10px;
}

#orderSummaryModal .order-payment-title {
    font-size: 13px;
    font-weight: 700;
    color: #2f3a45;
}

#orderSummaryModal #paypal-checkout-buttons {
    min-height: 44px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#orderSummaryModal #paypal-checkout-buttons iframe {
    max-width: 100%;
}

#orderSummaryModal #paypal-checkout-buttons > div {
    width: 100%;
    max-width: 480px;
}

#orderSummaryModal .paypal-row-buttons {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: 100%;
    gap: 10px;
}

#orderSummaryModal .paypal-funding-btn {
    flex: 1 1 0;
    min-width: 0;
}

#orderSummaryModal .order-qty-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

#orderSummaryModal .order-qty-btn {
    width: 30px;
    height: 30px;
    line-height: 1;
    padding: 0;
    border-radius: 8px;
}

#orderSummaryModal .order-qty-input {
    width: 68px;
    text-align: center;
    font-weight: 600;
    padding-left: 4px;
    padding-right: 4px;
}

#orderSummaryModal .order-qty-available {
    font-size: 11px;
    line-height: 1.2;
}

.app-toast-container {
    z-index: 1085;
    width: min(92vw, 380px);
}

.app-toast {
    opacity: 0.98;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.app-toast .toast-body {
    font-size: 13px;
    line-height: 1.35;
    word-break: break-word;
}

/* #languageDropdown {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#languageDropdown img {
    display: block;
    width: 30px;
    height: 25px;
}

#languageDropdown .dropdown-menu {
    min-width: auto !important;
}

#languageDropdown .dropdown-menu .dropdown-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
} */


/* Adjust for smaller screens */
@media (max-width: 576px) {
    .cart-dropdown {
        width: 94vw;
        max-width: 94vw;
    }

    .cart-item {
        align-items: center;
    }

    .item-name {
        font-size: 12px;
    }

    .item-meta,
    .item-subtotal {
        font-size: 11px;
    }

    #orderSummaryModal .table th,
    #orderSummaryModal .table td {
        font-size: 12px;
    }

    #orderSummaryModal .table th {
        white-space: nowrap;
    }

    #orderSummaryModal .table td {
        white-space: normal;
    }

    #orderSummaryModal .order-item-name {
        font-size: 12px;
    }

    #orderSummaryModal .order-item-cell {
        gap: 8px;
    }

    #orderSummaryModal .order-item-thumb {
        width: 34px;
        height: 34px;
    }

    #orderSummaryModal .order-item-unit {
        font-size: 11px;
    }

    #orderSummaryModal .order-qty-control {
        gap: 4px;
    }

    #orderSummaryModal .order-qty-btn {
        width: 28px;
        height: 28px;
    }

    #orderSummaryModal .order-qty-input {
        width: 56px;
    }

    .app-toast-container {
        width: calc(100vw - 16px);
        right: 8px !important;
        bottom: 8px !important;
        padding: 0 !important;
    }
}

/* .dropdown-cart {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
}

.dropdown-cart li {
    margin-bottom: 18px;
    border: none;
}

.dropdown-cart img {
    float: left;
    margin-right: 12px;
}

.dropdown-cart .item-name {
    display: block;
    padding-top: 10px;
    font-size: 16px;
}

.dropdown-cart .item-price {
    color: #6394F8;
    margin-right: 8px;
}

.dropdown-cart .item-quantity {
    color: #ABB0BE;
}

.dropdown-cart .cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.dropdown-cart .item-left {
    display: flex;
    align-items: center;
}

.dropdown-cart .item-info {
    display: flex;
    flex-direction: column;
}

.dropdown-cart .item-right button {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 1.2rem;
    cursor: pointer;
}

.dropdown-cart .clearfix:after {
    content: "";
    display: table;
    clear: both;
} */


.datasheet-link {
    color: hsl(0, 96%, 9%);
    text-decoration: none;
    background-image: linear-gradient(90deg, hsl(0, 100%, 10%), hsl(0, 100%, 10%)),
        linear-gradient(90deg, hsla(249, 100%, 50%, 0.5), hsla(249, 100%, 50%, 0.5));
    background-size: 10px 3px,
        100% 5px;
    background-repeat: no-repeat;
    background-position-x: calc(10px * -1), 0;
    background-position-y: 100%;
    transition: background-position-x 0.5s;
}

.datasheet-link:hover {
    background-image: linear-gradient(90deg, hsl(0, 100%, 10%), hsl(0, 100%, 10%)),
        linear-gradient(90deg,
            hsla(249, 100%, 50%, 0.5),
            hsla(249, 100%, 50%, 0.5));
    background-position-x: calc(100% + 20px), 0;
}

@media (hover: none) and (pointer: coarse) {
    .hover-effect {
        color: black;
        /* Default color for mobile */
    }

    .hover-effect:active {
        color: red;
        /* Active effect for mobile */
    }
}
