﻿@import url('https://fonts.googleapis.com/css2?family=Kanit:ital,wght@0,100;0,200;0,300;1,200&display=swap');
.align-middle {
    vertical-align: middle !important;
    align-items: center !important;
    display: flex !important;
}

.tt-input-counter.style-01 .minus-btn:before, .tt-input-counter.style-01 .plus-btn:before {
    display: block;
    font-family: wokiee;
    font-size: 12px;
    line-height: 30px;
    border: 1px solid;
    border-radius: 50%;
    height: 30px;
    width: 30px;
}
 

.tt-input-counter.style-01 input {
    background: transparent;
    display: block;
    width: 110px;
    height: 30px;
    font-size: 14px;
    line-height: 1em;
    text-align: center;
    border: none;
    outline: 0;
    font-family: Hind,sans-serif;
    font-weight: 500;
    color: #191919;
    border-radius: 6px;
}

.tt-input-counter.style-01 .minus-btn:before, .tt-input-counter.style-01 .plus-btn:before {
    display: block;
    font-family: wokiee;
    font-size: 12px;
    line-height: 30px;
    border: 1px solid #00a6a2;
    border-radius: 50%;
    height: 30px;
    width: 30px;
}

@media (min-width: 1025px) {
    .tt-product:not(.tt-view) .tt-image-box .tt-label-location {
        position: absolute;
        top: 7px;
        left: 8px;
        z-index: 2;
         display: block !important;  
        flex-direction: row;
        flex-wrap: wrap;
        align-items: flex-start;
    }
}


h5.page-title small {
    font-size: 14px;
    color: #999;
}

@media (min-width: 1025px) {
    .tt-product:not(.tt-view) .tt-description .tt-price {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        font-size: 18px;
        line-height: 20px;
        font-weight: 600;
        font-family: Hind, sans-serif;
        color: #191919;
        margin-bottom: 8px;
    }
}

.btn-favorit {
    width: 10%;
    background-color: #cccccc;
    color: #fff;
    padding: 3px 16px 9px;
    border-radius: 6px;
    transition: .2s linear;
    line-height: 1;
    font-weight: 400;
    font-family: Hind,sans-serif;
    display: inline-block;
    position: relative;
    letter-spacing: .04em;
    color: #2879fe;
    font-size: 14px;
    transition: color .2s linear;
}

    .btn-favorit:before {
        content: '\ea44';
        font-family: wokiee;
        font-size: 20px;
        top: 5px;
        margin-left: -10px;
        font-weight: 400;
        position: relative;
        color: #fff;
        transition: color .2s linear;
    }

a.tt-btn-wishlist.btn-favorit.btn-wishlist-add.active {
    background: #F7462E;
}


 
    .tt-product:not(.tt-view) .tt-description .tt-btn-addtocart.thumbprod-button-bg:hover {
        background-color: #078480;
        color: #fff;
    }

.tt-product {
    padding-bottom: 10px;
}
    .tt-product:hover {
        border:   1px solid #f0f0f0;
    }

.tt-img-box {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: center;
    align-items: center;
    border: 1px solid #e9e7e7;
    text-decoration: none;
    position: relative;
    text-align: center;
    border-radius: 6px;
    transition: border .2s linear;
    padding: 5% !important;
    height: 100px;
}

span.tt-promotion {
    position: absolute;
    top: -8px;
}

.tt-search-type2 .tt-search-input {
    width: 530px;
    border-right: unset;
}

.tt-search-type2 .tt-btn-search {
    /*border: 1px solid #F89A20;*/
}

.tt-search-type2 [class^=icon] 
{   
    font-size: 28px; 
}
.tt-btn-search:hover {
background-color:#F7462E !important;
}

.tt-search-type2 .tt-btn-search {
    padding: 5px 20px 5px;
    top: 6px;
    /* border-top-left-radius: unset; */
    /* border-bottom-left-radius: unset; */
}

.header-link {
    display: inline-block;
    text-align: center;
    font-size: 13px;
    line-height: 15px;
    color: #777;
    padding-left: 5px;
    padding-right: 5px;
    margin-top: 6px;
}

.btn:hover {
    background-color: #037a76 !important;
}


.badge-primary {
    color: #fff;
    background-color: #007bff;
}


.badge-secondary {
    color: #fff;
    background-color: #F89A20;
}

.badge-success {
    color: #fff;
    background-color: #037a76;
}

.tt-shopcart-table table tr td {
    vertical-align: middle;
    padding: 5px 0 !important;
}

.badge-red {
    background-color: red;
    color: #ffffff;
}

.badge-lg {
    font-size: 1em;
}

.select2-container .select2-selection--single {
    box-sizing: border-box;
    cursor: pointer;
    display: block;
    height: auto;
    user-select: none;
    -webkit-user-select: none;
}

.select2-container--default .select2-selection--single {
    background-color: #f7f8fa;
    border: 0px solid #aaa;
    border-radius: 4px;
    padding: 9px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 26px;
    position: absolute;
    top: 8px;
    right: 1px;
    width: 20px;
}

table#tb-cart {
    font-size: 1rem;
}

.arrow-location-tab .slick-arrow:hover {
    background: #DC143C;
    color: #fff;
}

.tt-input-counter.style-01 {
    position: relative;
    max-width: 132px;
    min-width: 132px;
    margin-left: 30px;
}


    .tt-input-counter.style-01 .none-btn:before {
        display: block;
        font-family: wokiee;
        font-size: 12px;
        line-height: 30px;
        border: 1px solid #ccc;
        border-radius: 50%;
        height: 30px;
        width: 30px;
    }

    .tt-input-counter.style-01 .none-btn:before {
        content: "\e9b1";
    }

    .tt-input-counter.style-01 span.none-btn {
        right: 0;
    }


#ontop {
background-color:red;
color:#fff;
}


.tt-shopcart-col {
    margin-top: 0px;
}

#tt-pageContent > .container-indent:not(.nomargin):not([class^=tt-offset]) {
    margin-top: 20px;
}

.coupon {
    cursor: pointer;
}

.coupon .notActive {
    background-color: #999 !important;
    color: #fff !important;
}

.coupon.active {
    background-color: #dc143c !important;
    border: 1px solid orange !important;
    color: #f0f0f0 !important;
}

.pro .btn-primary:not(:disabled):not(.disabled).active,
.pro .btn-primary:not(:disabled):not(.disabled):active,
.pro .show > .btn-primary.dropdown-toggle {
    color: #fff;
    background-color: red;
    padding-top: 1px !important;
    padding-bottom: 1px !important;
    height: 30px;
}

.coupon {
    border-radius: 5px;
    box-shadow: 0 4px 6px 0 rgb(0 0 0 / 20%);
    background-color: #999;
    position: relative;
    display: inline-block;
    padding-top: 4px !important;
    padding-bottom: 1px !important;
    height: 30px;
    color: #fff !important;
    margin-right: 5px;
    padding-left: 5px;
    padding-right: 5px;
}



    .coupon:after {
        position: absolute;
        content: "";
        height: 8px;
        right: -3px;
        border-radius: 40px;
        z-index: 1;
        top: 9px;
        background-color: #fff;
        width: 8px;
    }

    .coupon:before {
        position: absolute;
        content: "";
        height: 8px;
        left: -3px;
        border-radius: 40px;
        z-index: 1;
        top: 9px;
        background-color: #fff;
        width: 8px;
    }


.lb {
    padding: 5px;
    border-top:0px solid #e4e4e4; 
    border-left: 1px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
}

.rb {
    padding: 5px;
    border-top: 0px solid #e4e4e4;
    border-left: 0px solid #e4e4e4;
    border-right: 1px solid #e4e4e4;
}

.lb {
    padding: 5px;
    border-top: 0px solid #e4e4e4;
    border-left: 1px solid #e4e4e4;
    border-right: 0px solid #e4e4e4;
}

.title-price {
    font-family: 'Kanit';
    font-weight: 600;
}
.swal2-title {
    font-family: 'Kanit';
    font-size: 1.5rem !important;
    margin-bottom: 0px !important;
    padding-bottom: 2px !important;
}
.swal2-content {
    font-family: 'Kanit';
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: #00A6A2;
    border-color: #00A6A2;
}


.swal-button:not([disabled]):hover {
    background-color: #037A76 !important;
    color:#fff !important;
}



.tt-input-counter.style-01 {
    position: relative;
    max-width: unset !important;
    /* min-width: 132px; */
    margin-left: 30px;
    border: 1px solid;
    margin-right: 30px;
}

    .tt-input-counter.style-01 span.none-btn {
        right: -19px;
    }

    .tt-input-counter.style-01 span.plus-btn {
        right: -19px;
    }


    .tt-input-counter.style-01 .none-btn:before {
        display: block;
        font-family: wokiee;
        font-size: 12px;
        line-height: 30px;
        border: 1px solid #ccc;
        border-radius: unset !important;
        height: 30px;
        width: 30px;
    }

    .tt-input-counter.style-01 .minus-btn:before {
        display: block;
        font-family: wokiee;
        font-size: 12px;
        line-height: 30px;
        border: unset !important;
        border-right: 1px solid !important;
        border-radius: unset !important;
        height: 30px;
        width: 30px;
    }

    .tt-input-counter.style-01 .plus-btn:before {
        display: block;
        font-family: wokiee;
        font-size: 12px;
        line-height: 30px;
        border: unset !important;
        border-left: 1px solid !important;
        border-radius: unset !important;
        height: 30px;
        width: 30px;
    }


    .tt-input-counter.style-01 input {
        background: transparent;
        display: block;
        width: 100% !important;
        height: 30px;
        font-size: 14px;
        line-height: 1em;
        text-align: center;
        border: none;
        outline: 0;
        font-family: Hind,sans-serif;
        font-weight: 500;
        color: #191919;
        border-radius: 6px;
    }

#frm-cart .border-success .tb-premium {
    color: #333;
}
#frm-cart .border-danger, #frm-cart .border-success {
    border-width: 3px !important;
    padding-bottom: 20px !important;
}