/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/
.title-oto{
    position: relative;
    text-align: center;
    overflow: visible;
}

.title-oto h2{
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 12px 70px;
    color: #fff;
    font-weight: 500;
    line-height: 1;
    overflow: visible;
}

.title-oto h2::before,
.title-oto h2::after{
    content: "";
    position: absolute;
    top: 0;
    width: 59px;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.title-oto h2::before{
    left: -58px;
    background-image: url("https://honda-otodongthap5s.com/wp-content/uploads/2026/07/title-bar-left.png");
}

.title-oto h2::after{
    right: -58px;
    background-image: url("https://honda-otodongthap5s.com/wp-content/uploads/2026/07/title-bar-right.png");
}

/* Tablet */
@media (max-width: 991px){
    .title-oto h2{
        padding: 11px 55px;
    }

    .title-oto h2::before,
    .title-oto h2::after{
        width: 48px;
    }

    .title-oto h2::before{
        left: -47px;
    }

    .title-oto h2::after{
        right: -47px;
    }
}

/* Mobile */
@media (max-width: 767px){
    .title-oto h2{
        padding: 10px 38px;
    }

    .title-oto h2::before,
    .title-oto h2::after{
        width: 36px;
    }

    .title-oto h2::before{
        left: -35px;
    }

    .title-oto h2::after{
        right: -35px;
    }
}

/* Mobile nhỏ */
@media (max-width: 480px){
    .title-oto h2{
        padding: 9px 28px;
    }

    .title-oto h2::before,
    .title-oto h2::after{
        width: 28px;
    }

    .title-oto h2::before{
        left: -27px;
    }

    .title-oto h2::after{
        right: -27px;
    }
}
/*content */
.css-post-content h1{
    font-size: 28px;
    color: var(--color-2);
    font-weight: 600;
}

.css-post-content h2{
    font-size: 24px;
    color: var(--color-2);
    font-weight: 600;
}

.css-post-content h3{
    font-size: 20px;
    color: var(--color-2);
    font-weight: 600;
}

.css-post-content h4{
    font-size: 18px;
    color: var(--color-2);
    font-weight: 600;
}

.css-post-content h5{
    font-size: 16px;
    color: var(--color-2);
    font-weight: 600;
}

.css-post-content h6{
    font-size: 14px;
    color: var(--color-2);
    font-weight: 600;
}

/* Mobile */
@media (max-width: 767px){
    .css-post-content h1{font-size:24px;}
    .css-post-content h2{font-size:22px;}
    .css-post-content h3{font-size:20px;}
    .css-post-content h4{font-size:18px;}
    .css-post-content h5{font-size:16px;}
    .css-post-content h6{font-size:14px;}
}

.price-desktop{
    overflow: auto;
}

.price-desktop table{
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.price-desktop th{
    background: #999;
    color: #fff;
    padding: 16px;
}

.price-desktop td,
.price-desktop th{
    border: 1px solid #ddd;
    padding: 14px;
    text-align: center;
    vertical-align: middle;
}

.price-desktop .car-photo{
    max-width: 260px;
    width: 100%;
    display: block;
    margin: auto;
}

.price-desktop .car-title,
.price-desktop .model-name{
    font-weight: 700;
    color: #1f2d3d;
}

.price-desktop .price-tag span{
    color:     color: #de0000;
    font-weight: 700;
}

.price-desktop .price-tag{
    color: #de0000;
    white-space: nowrap;
	font-weight: 700;
}

@media(max-width: 768px){
    .price-desktop table{
        min-width: 760px;
    }

    .price-desktop .car-photo{
        max-width: 170px;
    }

    .price-desktop td,
    .price-desktop th{
        padding: 10px;
        font-size: 14px;
    }
}

/* Add to Cart page chi tiết */
#brxe-cewhws .woocommerce-variation-price,
#brxe-cewhws .woocommerce-variation-description,
#brxe-cewhws .woocommerce-variation-availability {
    display: none !important;
}

/* Ẩn số lượng và nút thêm giỏ hàng */
#brxe-cewhws .quantity,
#brxe-cewhws .single_add_to_cart_button {
    display: none !important;
}

#brxe-cewhws .single_variation {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}

#brxe-cewhws .single_variation_wrap {
    margin: 0 !important;
    padding: 0 !important;
}
#brxe-cewhws table.variations tr{
    border-bottom: 0 !important;
}
/* Bỏ đường kẻ dưới của bảng biến thể */
#brxe-cewhws table.variations{
    border: none !important;
}

#brxe-cewhws table.variations tbody,
#brxe-cewhws table.variations tr,
#brxe-cewhws table.variations td,
#brxe-cewhws table.variations th{
    border: none !important;
}
/*css icon popup*/
.css-form .form-group{
    position: relative;
}

.css-form .form-group::before{
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-90%);
    font-family: Font Awesome\ 6 Solid;
	font-weight: 900;
    font-size: 16px;
    color: #c6c6c6;
    z-index: 2;
    pointer-events: none;
}

.css-form .form-group input,
.css-form .form-group select{
    padding-left: 48px !important;
}

.css-form .form-group:nth-child(1)::before{
    content: "\f007";
}
.css-form .form-group:nth-child(2)::before{
    content: "\f095"; 
}
.css-form .form-group:nth-child(3)::before{
    content: "\f1b9";
}