html, body {
    background-color: #EEE9;
    /* background-image: url(/bg-3.jpg); */
    background-attachment: fixed;
    background-position: bottom left;
    background-repeat: no-repeat;
    background-size: cover;
}

:root {
    --old-primary: #088178;
    --original-primary: #01C4FD;
    --primary: #029bca;
    --primary-solid: #037598;
    --secondary: #FABF03;
}

.bg-prima {
    background-color: var(--primary) !important;
    color: #fff !important;
}
.bg-second {
    background-color: var(--secondary) !important;
    color: #fff !important;
}


input, .form-control {
    border-color: #ced4da;
}
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
    display: none;
}
input[type=number] {
    -moz-appearance: textfield;
}

.crop-text-1 {
    line-clamp: 1;
    -webkit-line-clamp: 1;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.text-truncate-2 {
    line-clamp: 2;
    -webkit-line-clamp: 2;
    overflow : hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.header-style-3 .header-middle-ptb-1 {
    padding: 8px 0;
}

.carausel-6-columns-cover .product-img {
    border: 0;
}

.pointer {
    cursor: pointer;
}

.select2-container--default .select2-selection--single {
    background-color: #f4f5f9;
    border: 2px solid #f4f5f9;
    border-radius: 4px !important;
    border-right: unset;
    height: 45px;
    padding-left: 10px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 40px;
    font-size: 13px;
}

.sort-by-cover .sort-by-dropdown {
    width: 250px;
    height: 300px !important;
    padding-bottom: 0px;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow-y: auto;
}
.sort-by-cover .sort-by-dropdown form {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    padding: 0;
}
.sort-by-cover .sort-by-dropdown form .custome-checkbox, .sort-by-cover .sort-by-dropdown form .form-body {
    flex: 1;
    overflow-y: auto;
}

.carausel-4-columns-cover .carausel-4-columns .product-cart-wrap {
    margin-right: 3px;
    margin-left: 3px;
}
.carausel-6-columns-cover .carausel-6-columns .card-1 {
    margin-right: 4px;
    margin-left: 4px;
}

.card-1 {
    border-radius: 10px;
    /* border: 0; */
    position: relative;
}
.card-1 figure {
    overflow: hidden;
    margin: 0px;
    border-radius: 0px;
}

.detail-qty-content {
    max-width: 80px;
    padding: 9px 20px;
    position: relative;
    width: 100%;
    border-radius: 4px;
}

.detail-qty-content>a {
    font-size: 16px;
    position: absolute;
    right: 8px;
    color: #707070;
}

.detail-qty-content>a:hover {
    color: #088178;
}

.detail-qty-content>a.qty-up {
    top: 0;
}

.detail-qty-content>a.qty-down {
    bottom: 0;
}

/* --------- description list --------*/

[class*="dlist"] {
    margin-bottom: 5px;
}

.dlist-inline dt, .dlist-inline dd {
    display: inline-block;
}

.dlist {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.dlist dt {
    width: 150px;
    font-weight: normal;
}

.dlist dd {
    margin-left: 30px;
    vertical-align: baseline;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    margin-bottom: 0;
    text-align: right;
}

b {
    font-weight: 700;
}

.sort-by-cover .sort-by-dropdown {
    z-index: 900000 !important;
}
.sort-by-dropdown .sort-by-dropdown-header {
    border-bottom: 1px solid #DDD;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: .75rem .5rem .5rem .5rem;
    margin-bottom: .5rem;
    position: relative;
}


.overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 20000;
    background-color: #000A;
    display: none;
}
.overlay.show {
    display: unset;
}

.sticky-head {
    position: sticky;
    top: 55px;
    z-index: 100;
    transition: all ease-in-out .3s;
}

@media (max-width: 768px) {
    .table.shopping-summery tbody tr {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        text-align: left;
        box-sizing: border-box;
    }
    .table.shopping-summery tbody td:first-child {
        flex: 1 1 100%;
        text-align: left !important;
    }
    .table.shopping-summery tbody td:last-child {
        flex: 1 1 10%;
        border: 0;
    }
    .table.shopping-summery tbody td:not(:first-child):not(:last-child) {
        flex: 30%;
        border: 0;
    }

    body > main .container {
        padding-left: .01rem;
        padding-right: .01rem;
        overflow-x: hidden;
    }
    .rounded-3, .rounded, .card {
        border-radius: 0 !important;
    }

    .sort-by-dropdown {
        position: fixed;
        top: unset;
        left: 0;
        right: 0;
        bottom: -400px;
        height: auto !important;
        width: 100% !important;
        border-radius: 10px 10px 0 0;
        transition: all ease-in-out .2s;
        background-color: #FFF;
        border: 0;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .sort-by-dropdown .sort-by-dropdown-header::after {
        content: '';
        position: absolute;
        left: 50%;
        top: 0px;
        transform: translateX(-50%);
        height: 5px;
        width: 30px;
        border-radius: 2px;
        background-color: #707070;
        z-index: 100;
    }

    .sort-by-dropdown.show {
        bottom: -1px;
    }
    .sort-by-dropdown form button {
        flex: 1;
    }

    .sort-by-product-area {
        overflow-x: auto;
    }

    .sticky-head {
        top: 48px;
    }
}


@media only screen and (max-width: 480px) {
    .carausel-6-columns, .carausel-4-columns {
        max-width: 405px;
    }
}

@media (min-width: 1400px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
        max-width: 1250px;
    }
}

#scrollUp {
    width: 38px;
    height: 38px;
    right: 16px;
    bottom: 16px;
    border-radius: 4px;
    z-index: 999 !important;
}

.shop-product-filter .sort-by-product-area .sort-by-product-wrap {
    background-color: #DDD;
    font-weight: 700;
}
.page-header .breadcrumb span {
    padding: 0;
}
