/*
Theme Name: Mettech
Theme URI: https://mettech.gover.vn
Author: Mettech Team
Description: Theme thương hiệu METTECH Boiler — giải pháp nồi hơi công nghiệp. Chuyển đổi từ bản thiết kế HTML sang WordPress với ACF.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: mettech
License: All rights reserved
*/

:root {
    --mt-font: 'Barlow', sans-serif;
    --primary-font: 'Barlow', sans-serif;
}

html, body {
    font-family: 'Barlow', sans-serif !important;
}

h1, h2, h3, h4, h5, h6,
.btn, .header__menu-link, .footer__title,
.home-products__card-title, .hero__title,
.home-news__title, .home-gallery__card-title,
.home-consult__title, .home-careers__title {
    font-family: 'Barlow', sans-serif !important;
}

.contact__form-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 20px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    animation: contactMsgSlideIn 0.3s ease;
}

.contact__form-message::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.contact__form-message--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.contact__form-message--success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M8 12l3 3 5-6'%3E%3C/path%3E%3C/svg%3E");
}

.contact__form-message--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.contact__form-message--error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
}

@keyframes contactMsgSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.contact__btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.product-content .news-pagination {
    margin-top: 20px;
}

.header__langs {
    display: flex;
}

.home-consult__form-message {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    animation: consultMsgSlideIn 0.3s ease;
}

.home-consult__form-message::before {
    content: "";
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.home-consult__form-message--success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.home-consult__form-message--success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cpath d='M8 12l3 3 5-6'%3E%3C/path%3E%3C/svg%3E");
}

.home-consult__form-message--error {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.home-consult__form-message--error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23DC2626' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'%3E%3C/circle%3E%3Cline x1='12' y1='8' x2='12' y2='13'%3E%3C/line%3E%3Cline x1='12' y1='16' x2='12.01' y2='16'%3E%3C/line%3E%3C/svg%3E");
}

@keyframes consultMsgSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.home-consult__submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.products-tabs__item.active img {
    filter: brightness(0) invert(1);
}

.dropdown-menu {
    display: block;
}

.header__menu-link, .hero__title, .filed-contact__link {
    text-transform: uppercase;
}

.hero__title {
    color: var(--blue-color) !important;
}

.hero__desc p span {
    font-size: 18px;
}

.footer__contact-item svg {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin-top: 2px;
}

