/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
ul#header-contact span {
    text-transform: none;
}

li.html.header-social-icons a {
    font-size: 14px !important;
}

.header-search-form-wrapper .searchform {
    border: 1px solid #ddd;
    border-radius: 0;
    background-color: #fff;
}

.header-search-form-wrapper .searchform .search-field {
    border: none;
    box-shadow: none;
    background: transparent;
    padding-left: 10px;
    color: #333;
}

.header-search-form-wrapper .searchform .ux-search-submit {
    background-color: transparent;
    border: none;
    border-left: 1px solid #ddd;
    border-radius: 0;
    margin: 0;
    padding: 0 12px;
    box-shadow: none;
}

.header-search-form-wrapper .searchform .ux-search-submit .icon-search {
    color: #2250ae;
}

.absolute-footer.dark {
    display: none;
}

.section-footer span.ux-menu-link__text {
    color: #fff;
    font-size: 14px;
}

.section-footer a.ux-menu-link__link.flex {
    margin-bottom: -6px;
}

.section-footer .ux-menu-link__link::before {
    content: "•";
    color: #fff;
    margin-right: 8px;
    font-size: 14px;
    line-height: 1;
}

.section-footer .ux-menu-link__link {
    align-items: center;
}

.section-footer a.circle,
.section-footer a.circle img {
    border-radius: 6px !important;
}

#main,
#wrapper {
    background-color: #edf0f3;
    position: relative;
}

.custom-breadcrumb-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #000;
    padding: 12px 0;
    line-height: 1.5;
}

.custom-breadcrumb-wrapper a.custom-breadcrumb-item {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
}

.custom-breadcrumb-wrapper a.custom-breadcrumb-item:hover {
    color: #2250ae;
}

.custom-breadcrumb-sep {
    margin: 0 10px;
    color: #ccc;
    font-weight: 300;
}

.custom-breadcrumb-current {
    color: #000;
    font-weight: normal;
}

h1.dynamic-page-title {
    font-size: 22px;
    color: #2250ae;
}

body.single-product {
    background-color: #f2f4f7;
}

.custom-product-page-wrapper {
    padding: 20px 0 40px 0;
}

.custom-product-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.custom-product-title {
    color: #2250ae;
    font-size: 24px;
    font-weight: 700;
    text-transform: none !important;
    margin-bottom: 10px;
    line-height: 1.4;
}

.custom-product-price {
    font-size: 15px;
    margin-bottom: 15px;
}

.custom-product-price .price-label,
.custom-product-price .price-value {
    color: #c81919;
    font-weight: bold;
}

.custom-acf-short-table {
    margin-bottom: 20px;
    width: 100%;
}

.custom-acf-short-table table {
    border-collapse: collapse;
    width: 100%;
    margin: 0;
}

.custom-acf-short-table th,
.custom-acf-short-table td {
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    font-size: 13px;
    text-align: left;
    white-space: normal;
}

.custom-acf-short-table th {
    background-color: #fafafa;
    font-weight: bold;
    color: #000;
    text-transform: none !important;
}

form.cart.custom-main-action-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px !important;
    margin-bottom: 15px !important;
    width: auto !important;
    max-width: 100% !important;
}

.custom-qty-group {
    display: inline-flex !important;
    border: 1px solid #dcdcdc;
    border-radius: 4px;
    overflow: hidden;
    height: 40px;
    margin-bottom: 0 !important;
    flex-shrink: 0 !important;
}

.custom-qty-group .qty-btn {
    width: 30px;
    height: 100%;
    background: #f5f5f5;
    border: none;
    font-weight: bold;
    cursor: pointer;
    padding: 0;
    line-height: 38px;
    text-align: center;
}

.custom-qty-group .qty {
    width: 40px !important;
    height: 100% !important;
    border: none !important;
    border-left: 1px solid #dcdcdc !important;
    border-right: 1px solid #dcdcdc !important;
    text-align: center;
    font-weight: bold;
    padding: 0;
    margin: 0 !important;
    box-shadow: none !important;
    background: #fff;
}

.custom-btn-cart {
    background-color: #2250ae !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: bold;
    font-size: 13px !important;
    padding: 0 16px;
    height: 40px;
    line-height: 40px;
    margin: 0 !important;
    text-transform: uppercase;
    border: none !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.button-request-quote {
    background-color: #d9251c !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    font-weight: bold;
    font-size: 13px !important;
    padding: 0 16px !important;
    height: 40px !important;
    line-height: 40px !important;
    margin: 0 !important;
    display: inline-block !important;
    text-transform: uppercase;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
}

.custom-hotline-button {
    margin-top: 5px;
}

.button-hotline {
    background-color: #d9251c !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    width: 55%;
    text-align: center;
    font-weight: bold;
    font-size: 15px;
    height: 40px;
    line-height: 40px;
    margin: 0 !important;
    display: block;
}

.custom-product-related-card .related-products-wrapper .headline {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.woocommerce-variation-add-to-cart>*,
form.cart>* {
    flex: unset;
    margin: 0;
}

button.single_add_to_cart_button.button.alt.custom-btn-cart,
a.button.button-request-quote {
    width: 42%;
}


.custom-cf7-form {
    margin: 0 auto;
}

.custom-cf7-form .form-row {
    margin-bottom: 15px;
}

.custom-cf7-form .form-row.double {
    display: flex;
    gap: 15px;
}

.custom-cf7-form .form-col {
    flex: 1;
    min-width: 0;
}

.custom-cf7-form input[type="text"],
.custom-cf7-form input[type="tel"],
.custom-cf7-form input[type="email"],
.custom-cf7-form select,
.custom-cf7-form textarea {
    width: 100%;
    padding: 6px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
    font-size: 14px;
    color: #333333;
    outline: none;
    box-shadow: none;
    box-sizing: border-box !important;
    transition: border-color 0.2s ease;
    margin-bottom: 0px;
}

.custom-cf7-form input[type="text"]:focus,
.custom-cf7-form input[type="tel"]:focus,
.custom-cf7-form input[type="email"]:focus,
.custom-cf7-form select:focus,
.custom-cf7-form textarea:focus {
    border-color: #d9251c;
}

.custom-cf7-form ::placeholder {
    color: #757575;
    opacity: 1;
}

.custom-cf7-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 35px;
    cursor: pointer;
}

.custom-cf7-form textarea {
    height: 90px;
    resize: vertical;
    line-height: 1.5;
}

.custom-cf7-form .submit-btn {
    text-align: center;
    margin-top: 20px;
}

.custom-cf7-form input[type="submit"] {
    background-color: #d9251c;
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    padding: 4px 45px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.2s ease;
    display: inline-block;
    box-shadow: none;
}

.custom-cf7-form input[type="submit"]:hover {
    background-color: #b81c14;
}

.custom-product-summary-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 15px;
}

.product-summary-thumb {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.product-summary-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.product-summary-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-summary-title {
    font-size: 16px !important;
    font-weight: bold !important;
    color: #1a365d !important;
    margin: 0 0 4px 0 !important;
    line-height: 1.3;
}

.product-summary-qty,
.product-summary-price {
    font-size: 14px;
    color: #333333;
}

.product-summary-price .amount,
.custom-price-contact {
    color: #d9251c !important;
    font-weight: bold;
}

.title-bao-gia p {
    margin-bottom: 0px;
}

span.wpcf7-spinner {
    display: none;
}

#shop-sidebar span {
    background: #2250ae;
    width: 100%;
    display: block;
    padding: 13px 15px 15px;
    color: #fff;
    border-radius: 12px 12px 0 0;
}

.widget_product_categories>ul>li>a {
    float: left;
    width: 100%;
    padding: 13px 15px 15px;
    line-height: 22px;
    font-size: 16px;
    color: #252525;
    font-weight: 400;
    border-bottom: 1px solid #b3b3b3;
    position: relative;
    margin: 0 !important;
}

.widget .is-divider {
    display: none;
}

div#shop-sidebar {
    float: left;
    width: 100%;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 0 7.5px 0 rgba(0, 0, 0, 0.2);
}

.post-type-archive #main,
.post-type-archive #wrapper,
.tax-product_cat #main,
.tax-product_cat #wrapper,
.single-post #main,
.single-post #wrapper {
    background: #fff;
}

.custom-product-card {
    border-radius: 8px;
    background: #fff;
    padding: 10px;
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.product-small.box.custom-product-card {
    padding-bottom: 0px;
}


.custom-product-card .product-title {
    text-align: left;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    margin-bottom: 10px;
    min-height: 40px;
}

.custom-product-card .product-title a {
    color: #000;
}

.custom-product-card .rating-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.custom-product-card .static-rating-stars {
    color: #f39c12;
    font-size: 18px;
    letter-spacing: 2px;
    line-height: 1;
}

.custom-product-card .price-wrapper {
    text-align: right;
}

.custom-product-card .price-wrapper .price,
.custom-product-card .price-wrapper .amount {
    color: #d9251c;
    font-weight: bold;
    font-size: 14px;
}

.custom-product-card .custom-btn-wrapper {
    margin-top: 5px;
}

.custom-product-card .btn-xem-them {
    display: block;
    width: 100%;
    background: #3a5daa;
    color: #ffffff !important;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.2s ease;
    text-decoration: none;
}

.custom-product-card .btn-xem-them:hover {
    background-color: #b81c14;
}

.product-small .button.more-link {
    background: #3a5daa !important;
}

.product-section {
    border-top: unset;
}

.post-meta.custom-post-date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #333333;
    font-size: 13px;
}

.post-meta.custom-post-date .icon-calendar {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

h5.post-title.is-large a {
    font-size: 22px;
    color: #000;
}

.widget.widget_recent_entries ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget.widget_recent_entries ul li {
    margin-bottom: 12px;
    padding-bottom: 0;
    border: none;
    list-style: none;
}

.widget.widget_recent_entries ul li a {
    display: block;
    text-decoration: none;
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 20px;
}

.widget.widget_recent_entries .widget-post-item-custom {
    display: flex;
    align-items: center;
    gap: 12px;
}

.widget.widget_recent_entries .widget-post-thumb {
    width: 85px;
    height: 75px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 6px;
}

.widget.widget_recent_entries .widget-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.widget.widget_recent_entries .widget-post-title-text {
    font-size: 13px;
    line-height: 1.4;
    color: #222222;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.widget.widget_recent_entries ul li a:hover .widget-post-title-text {
    color: #2250ae;
}

.widget.widget_recent_entries ul li .post-date {
    display: block;
    font-size: 11px;
    color: #888;
    margin-left: 82px;
    margin-top: -10px;
}

#recent-posts-2 span.widget-title {
    background: #2250ae;
    width: 100%;
    display: block;
    padding: 15px 15px 15px;
    color: #fff;
    border-radius: 12px 12px 0 0;
    margin-bottom: 15px;
}

.custom-contact-form {
    max-width: 100%;
    margin: 0 auto;
}

.custom-contact-form .form-group {
    margin-bottom: 15px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    background-color: #fff;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.custom-contact-form input[type="text"]:focus,
.custom-contact-form input[type="email"]:focus,
.custom-contact-form input[type="tel"]:focus,
.custom-contact-form textarea:focus {
    border-color: #d9251c;
}

.custom-contact-form textarea {
    height: 120px;
    resize: vertical;
}

.custom-contact-form input::placeholder,
.custom-contact-form textarea::placeholder {
    color: #666666;
    opacity: 1;
}

.custom-contact-form .submit-group {
    margin-top: 20px;
}

.custom-contact-form input[type="submit"] {
    background-color: #2250ae;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 24px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: background-color 0.3s ease;
}

.custom-contact-form input[type="submit"]:hover {
    background-color: #b81c14;
}


.product-category .box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 15px 15px 20px 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-category .woocommerce-loop-category__title,
.product-category h5,
.product-category .box-text h5 {
    color: #2250ae;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 15px;
    margin-top: 12px;
    margin-bottom: 10px;
    text-align: center;
}

.cat-readmore-wrapper {
    text-align: center;
    margin-top: 5px;
}

.cat-readmore-btn {
    display: inline-block;
    padding: 6px 24px;
    border: 1px solid #d9251c;
    border-radius: 20px;
    color: #d9251c;

    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.product-category:hover .cat-readmore-btn {
    background-color: #2250ae;
    color: #ffffff;
}

.product-category .box-image {
    overflow: hidden;
    border-radius: 6px;
}

.product-category .box-image img,
.product-category img {
    transition: transform 0.4s ease;
}

.product-category:hover .box-image img,
.product-category:hover img {
    transform: scale(1.06);
}

.row-count {
    counter-reset: col-step;
}

.row-count .col-number .col-inner {
    position: relative;
    z-index: 1;
    border: 1px solid #2250ae;
    border-radius: 16px;
    overflow: hidden;
}

.row-count .col-number .is-border {
    display: none;
}

.row-count .col-number .col-inner>* {
    position: relative;
    z-index: 2;
}

.row-count .col-number .col-inner::after {
    counter-increment: col-step;
    content: counter(col-step);
    position: absolute;
    right: 5px;
    bottom: 10px;
    font-size: 200px;
    font-weight: 800;
    line-height: 1;
    color: rgba(34, 80, 174, 0.1);
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.col-number .col-inner {
    min-height: 232px;
}

.blog-small h5.post-title.is-large a {
    font-size: 16px;
    color: #000;
}


.custom-social-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.custom-social-buttons .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.custom-social-buttons .social-btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.custom-social-buttons .facebook {
    background-color: #4267B2;
}

.custom-social-buttons .twitter {
    background-color: #1DA1F2;
}

.custom-social-buttons .wechat {
    background-color: #07C160; 
}
.custom-social-buttons .email {
    background-color: #111111;
}

.custom-social-buttons .linkedin {
    background-color: #0077B5;
}

.custom-social-buttons .zalo {
    background-color: #0068FF;
    font-weight: bold;
    font-size: 11px !important;
    font-family: Arial, sans-serif;
}

.custom-social-buttons .whatsapp {
    background-color: #25D366;
}

.img-box-blog .box-text.text-left {
    background: #00000096;
    padding: 20px;
}


.blog-news .box-image {
    display: none !important;
}

.blog-news .post-item {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    margin-bottom: 0 !important;
}

.blog-news .col-inner {
    margin-bottom: 0 !important;
}

.blog-news .box-blog-post {
    margin-bottom: 0 !important;
}

.blog-news .blog-post-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    padding: 8px 0 !important;
    border-bottom: 1px solid #eee;
}

.blog-news .post-title {
    order: 1;
    width: 70%;
    margin-bottom: 3px !important;
    font-size: 15px !important;
}

.blog-news .custom-post-date {
    order: 2;
    width: 30%;
    text-align: right;
    margin-bottom: 0 !important;
    font-size: 12px;
    color: #888;
}

.blog-news .from_the_blog_excerpt {
    order: 3;
    width: 100%;
    margin-bottom: 0 !important;
    color: #666;
    font-size: 13px;
}

.btn-sale {
    margin: 0px;
}

.btn-sale span {
    font-size: 15px;

}


@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
i.icon-menu, i.icon-shopping-cart {
    color: #2250ae;
}
	
	
	.custom-social-buttons .social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 8px;
    color: #ffffff !important;
    font-size: 18px;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
	
	form.cart.custom-main-action-form {
    display: block;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px !important;
    margin-bottom: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
}
	
	button.single_add_to_cart_button.button.alt.custom-btn-cart {
   width: 75%;
}
	
	a.button.button-request-quote {
    margin-top: 10px !important;
    width: 100%;
}
	
	.custom-product-card .price-wrapper {
    text-align: left;
}
	
	    .custom-product-card .price-wrapper {
        text-align: left;
        margin-top: 10px;
    }
	
	.custom-product-card .rating-price-row {
    display: block;
}
	
	.product-category .woocommerce-loop-category__title, .product-category h5, .product-category .box-text h5 {
    color: #2250ae;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    margin-top: 12px;
    margin-bottom: 10px;
    text-align: center;
		min-height: 35px;
}

}