/*
Theme Name: Honda Đức Hải
Theme URI: https://www.facebook.com/ha.cheerful
Description: Child theme for Flatsome
Author: Duy Thanh
Author URI: https://www.facebook.com/ha.cheerful
Template: flatsome
Version: 1.0.0
Text Domain: flatsome-child
*/

form.cart .quantity {
    display: none !important;
}

form.cart .single_add_to_cart_button {
    width: 100%;
}

.home-products-grid .price span.amount {
    color: var(--primary-color);
}

.home-products-grid .product-title a {
    font-weight: bold;
    color: #222222;
}

#wide-nav .sub-menu.nav-dropdown {
    background-color: var(--primary-color);
    border: none;
    padding: 0
}

#wide-nav .sub-menu.nav-dropdown a {
    color: white;
    font-size: 0.8em;
}

#main-menu.mobile-sidebar .nav-sidebar li > a {
    font-weight: normal !important;
}

.tabbed-content ul.nav-line-bottom {
    border-bottom: 1px solid #dddddd;
}

.tabbed-content ul li.tab {
    min-width: 150px;
    text-align: center;
}

.mobile-nav .nav-icon .icon-menu {
    color: var(--primary-color);
}

.woocommerce-tabs .product-tabs {
    display: none;
}

.tab-panels .accordion .accordion-title {
    background-color: var(--primary-color);
    color: white;
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    padding: 5px 10px;
    border-top: 1px solid #ddd;
    font-weight: inherit !important;
}

.tab-panels .accordion .accordion-title button.toggle {
    margin: 0;
    position: unset;
}

.nav-line-bottom > li > a:before, .nav-line-grow > li > a:before, .nav-line > li > a:before {
    height: 2px;
    margin-bottom: -1px;
}

.flickity-slider > .img {

}

.row.fix-row-margin {
    margin: auto !important;
}

.woocommerce-tabs .tab-panels {
    padding: 0
}

.--single-product-layout .product-title {
    color: var(--primary-color);
}


.specifications-header {
    background-color: var(--primary-color);
    color: white;
    padding: 5px 20px;
}

.specifications-header-content {
    padding: 5px 20px;
}

.specifications-header-content table {
    width: 100%;
}

.specifications-header-content table tr:not(:last-child) td {
    border-bottom: 1px dashed #ececec;
}

.specifications-header-content table tr:last-child td {
    border-bottom: none;
}


.tdt-variant-title {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
}

.tdt-color-view {
    display: block;
    vertical-align: middle;
    width: 100%;
    height: 24px;
}

.tdt-variant-colors {
    display: flex;
    flex-wrap: wrap;
}

.tdt-variant-color {
    width: 50%;
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.tdt-color-view-group {
    transform: skewX(-25deg);
    width: 66px;
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
}

#tdt-stickies {
    position: fixed;
    z-index: 999;
    bottom: 95px;
    right: 22px;
}

#tdt-stickies .tdt-sticky {
    width: 44px;
    height: 44px;
    border-radius: 40px;
    padding: 3px;
    position: relative;
    margin-top: 10px;
}

#tdt-stickies .tdt-sticky a {
    display: block;
}

#tdt-stickies .tdt-sticky img {
    border-radius: 50px;
}

#tdt-stickies .tdt-sticky .tdt-call-now-circle {
    position: absolute;
    width: 46px;
    height: 46px;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    border-radius: 50%;
    -webkit-animation: bubble-animation 1.5s infinite;
    animation: bubble-animation 1.5s infinite;
    opacity: 0.8;
}

#tdt-stickies .tdt-call-now {
    background: var(--primary-color);
}

#tdt-stickies .tdt-call-now .tdt-call-now-circle {
    border: 2px solid var(--primary-color);
}

#tdt-stickies .tdt-zalo-btn {
    background: #0068ff;
}

#tdt-stickies .tdt-zalo-btn .tdt-call-now-circle {
    border: 2px solid #0068ff;
}

@-webkit-keyframes bubble-animation {
    to {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

@keyframes bubble-animation {
    to {
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}

.wpforms-container .wpforms-submit {
    background-color: var(--primary-color) !important;
}

.tdt-single-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tdt-btn-hotline {
    display: inline-flex;
    padding: 10px 22px 10px;
    border-radius: 30px;
    background-color: #f4b00b;
    color: #fff;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    width: 49%;
}

.tdt-btn-hotline:hover, .tdt-btn-dktv:hover {
    color: white;
    opacity: 0.9;
}

.tdt-btn-dktv {
    display: inline-flex;
    padding: 10px 22px 10px;
    border-radius: 30px;
    background-color: var(--primary-color);
    color: #fff;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    width: 49%;
}

.tdt-dktv-popup {
    display: none;
}

.tdt-overlay-outer {
    position: fixed;
    inset: 0;
    background-color: black;
    opacity: 0.5;
    z-index: 99;
}

.tdt-overlay-inner {
    position: fixed;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 600px;
    max-width: 100%;
    background-color: white;
    padding: 0 30px;
}

.tdt-show-for-mobile {
    display: none;
}

.badge-container .badge {
    height: unset;
    width: unset;
}

.badge-container .badge-inner {
    font-weight: normal;
    padding: 6px 10px;
    line-height: 1;
    font-size: 12px;
}


.woocommerce.single-product .tdt-price {
    justify-content: left !important;
}

.woocommerce.single-product .tdt-origin-woo-price {
    display: block !important;
}

.woocommerce.single-product .variations label {
    margin-bottom: unset !important;
}


/*Mobile*/

@media (max-width: 849px) {
    .tdt-show-for-mobile {
        display: block;
    }

    .tdt-hide-for-mobile {
        display: none;
    }

    .category-filtering.product-filter-row {
        display: none;
    }

    .tabbed-content ul.nav {
        flex-wrap: nowrap;
    }

    .tabbed-content ul li.tab {
        min-width: unset;
        width: 100%;
    }

    .tabbed-content ul li.tab a {
        font-size: 0.8em;
    }

    .tdt-btn-hotline, .tdt-btn-dktv {
        width: 100%;
    }
}