.bg-category-custom {
    border: 1px solid #00000029;
    background-color: #5A5B5B;
    color: #ffffff;
}

.border-category-custom {
    border: 1px solid #00000029;
    box-shadow: 0px 3px 6px #00000029;
}

.form-check-label {
    cursor: pointer;
}

.form-check-input {
    cursor: pointer;
}

.form-category-label {
    cursor: pointer;    
}

.thaitrade-bg-FFC107 {
    background-color: #FFC107;
}

.thaitrade-color-white{
    color: #FFFFFF;
}

.thaitrade-btn-mode {
    border: none !important;
    box-shadow: none !important;
    font-size: 15px;
}

.thaitrade-btn-mode.active {
    color: #194F90;
}

.thaitrade-border-none {
    border: none;
}

.thaitrade-product-card {
    border: 1px solid rgba(0,0,0,.125) !important;
    border-radius: 0px;
    box-shadow: none !important;
    max-width: 200px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: auto;
}

.card-img-product-top {
    padding: 20px 10px 5px;
    max-height: 195px;
    max-width: initial;
    width: 100%;
    width: -webkit-fill-available;
    min-width: initial;
}

.card-img-sigle-product-top {    
    max-width: 100%;
    max-height: 100%;
}

.badge-primary {
    color: #fff;
    background-color: #023F88;
}

.product-name-fix-height {
    height: 82px;
}

.product-seller-fix-height {
    height: 50px;
}

.product-link-custom {
    color: #2F353A;
}

.product-link-custom:hover {
    text-decoration: none;
    color: #2F353A;
}

.thaitrade-product-price > span::before {
    content: "$";
}

.thaitrade-product-description {
    height: 40px;
    max-height: 40px;
}

.img-product-fix-height {
    height: 170px;
}

#btn_product_search_more {
    border-radius: 0px;
}

.form-category-label.active {
    color: var(--thaitrade-primary) !important;
}

.custom-check-sort-price {
    cursor: pointer;
    position: absolute;
    margin-top: 10px;
}

.search-icon-w-100 {
    font-size: 100px;
}

.card-product-single-view .btn-custom .fa-heart {
    font-size: 24px;
}

.card-product-single-view .btn-custom:not(.disabled) {
    cursor: pointer;
}

.card-product-single-view .btn-custom:not(.disabled) *{
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition-property: color, background-color, border-color, box-shadow;
    transition-duration: 0.15s, 0.15s, 0.15s, 0.15s;
    transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
    transition-delay: 0s, 0s, 0s, 0s;
}

.card-product-single-view .btn-custom:not(.disabled):hover *{
    color: rgb(2 63 136);
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    transition-property: color, background-color, border-color, box-shadow;
    transition-duration: 0.15s, 0.15s, 0.15s, 0.15s;
    transition-timing-function: ease-in-out, ease-in-out, ease-in-out, ease-in-out;
    transition-delay: 0s, 0s, 0s, 0s;
}

/* .seller-name {
    width: 110px !important;
} */

/* .seller-name-single-card {
    width: 200px !important;
} */

/* @media (max-width: 575.98px){
    .seller-name-single-card {
        width: 150px !important;
    }
} */

@media (max-width: 475px){
    .card-img-sigle-product-top {    
        max-width: 135px;
        max-height: 135px;
        padding-left: 20px;
    }

    /* .seller-name {
        width: 75px !important;
    } */

    /* .seller-name-single-card {
        width: 100px !important;
    } */
    
    .card-product-single-view {
        border: 1px solid rgba(0,0,0,.125) !important;
        border-radius: 0px;
        box-shadow: none !important;
        height: 180px;
    }
}

/* @media (max-width: 390.98px){
    .seller-name-single-card {
        width: 75px !important;
    }
} */

/* custom kendo numberic */
.k-dropdown-wrap .k-select, .k-numeric-wrap .k-select, .k-picker-wrap .k-select {
    line-height: 2em;
    vertical-align: middle;
    -moz-box-sizing: border-box;
    text-align: center;
    width: 1em !important;
    height: 100%;
}

.k-autocomplete, .k-dropdown-wrap.k-state-default, .k-numeric-wrap.k-state-default, .k-picker-wrap.k-state-default {
    background-image: url(textures/highlight.png);
    background-image: none,linear-gradient(to bottom,rgba(255,255,255,.25) 0,rgba(255,255,255,0) 100%);
    background-position: 50% 50%;
    background-color: #ececec;
    border-color: #c5c5c5;
    padding-right: 1rem;
    height: 30px;
}

.k-numeric-wrap .k-link.k-state-selected {
    background-color: white !important;
    background-color: unset !important;
}

/* custom kendo switch */
.k-switch.k-widget.k-switch-on, .k-switch.k-widget.k-switch-off {
    width: 150px !important;
}
.k-switch-on .k-switch-container, .k-switch-off .k-switch-container {
    color: white !important;
    background-image: linear-gradient(0deg, rgb(76, 175, 80) 0%, rgb(70, 113, 72) 100%);
}
.k-switch-label-on, .k-switch-label-off {
    display: block;
    color: white;
}
.k-switch-on .k-switch-handle, .k-switch-off .k-switch-handle {
    color: white !important;
    background-color: white !important;
    border-color: white !important;
}

/* custom product single view */
.card-product-single-view {
    border: 1px solid rgba(0,0,0,.125) !important;
    border-radius: 0px;
    box-shadow: none !important;
    height: 205px;
}

.card-product-single-img {
    /* padding: 20px 10px 5px; */
    height: 200px;
    max-width: 190px;
    min-width: 150px;
}

.div-card-single-product-body {
    position: absolute;
    width: 55%;
    right: 0px;
    top: 20px;
}

.fix-height-single-product-name {
    height: 45px;
    max-height: 45px;
}

.fix-width-single-product {
    max-width: 150px;
}

.img-seller-site-sigle-product {
    max-width: 40px;
    min-width: 40px;
    border-radius: 50%;
    border: 1px solid #c3c3c3;
}

.card-product-single-view .btn-ask-for-price {
    background-color: rgb(2 63 136);
    color: white;
    height: 23px !important;
    line-height: 13px;
    font-size: 12px;
}

/* render filter category */
.c-sidebar {
    background-color: #FFFFFF;
}

.text-dark-custom {
    color: #2F353A;
}

.btn-sidebar-search-custom {
    width: 40%;
    background: none;
    padding: 0;
    margin: 0px;
    height: 25px;
}

.text-over-flow-dot {
    max-width: 100%;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.text-over-flow-dot-2-line {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.thaitrade-product-price.text-muted,
.thaitrade-product-price.text-muted::before {
    line-height: 10px;
    font-size: 11px;
    text-decoration: line-through;
}

.thaitrade-product-price > span::before,
.thaitrade-product-price.text-muted::before {
    content: "$";
}


.thaitrade-product-card .discount-tag {
    top: 5px;
    right: 5px;
    width: 100%;
    height: auto;
}

.thaitrade-product-card .discount-tag .block-discount {
    background: #D71C1C;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding-top: 2px;
}

.thaitrade-product-card .discount-tag .block-discount .val-discount {
    font-size: 18px;
    line-height: 18px;
    padding-bottom: 4px;
}

.thaitrade-product-card .discount-tag .block-discount .symbol-precent {
    font-size: 14px;
    width: 12px;
    line-height: 5px;
}

.thaitrade-product-card .discount-tag .block-discount .symbol-precent.off::after {
    content: 'OFF';
    font-size: 6px;
}

/* single discount */
.card-product-single-view .discount-tag {
    top: 15px;
    left: 26%;
    height: auto;
    z-index: 1;
}

.card-product-single-view .discount-tag .block-discount {
    background: #D71C1C;
    color: white;
    font-weight: bold;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    padding-top: 2px;
}

.card-product-single-view .discount-tag .block-discount .val-discount {
    font-size: 18px;
    line-height: 18px;
    padding-bottom: 4px;
}

.card-product-single-view .discount-tag .block-discount .symbol-precent {
    font-size: 14px;
    width: 12px;
    line-height: 5px;
}

.card-product-single-view .discount-tag .block-discount .symbol-precent.off::after {
    content: 'OFF';
    font-size: 6px;
}

.container, .container-sm, .container-md, .container-lg, .container-xl {
    max-width: 1320px;
}

.div-card-single-product-body .btn-custom .fa-heart {
    font-size: 24px;
}

.thaitrade-product-card .btn-ask-for-price {
    background-color: rgb(2 63 136);
    color: white;
    height: 23px !important;
    line-height: 20px;
    font-size: 12px;
}

@media (max-width: 767.98px) {
    .d-sm-down-none {
        display: none;
    }
    .d-sm-down-show {
        display: block !important;
    }
}