/*
 Theme Name: Flatsome Child
 Theme URI: https://ototruongphat.com.vn
 Description: Child theme for Flatsome – Trường Phát Auto
 Author: Trường Phát Auto
 Template: flatsome
 Version: 1.0.0
*/

/* ===============================
   GOOGLE FONTS
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

/* ===============================
   BODY / NỘI DUNG CHUNG
   =============================== */
body,
p,
li,
span,
a {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* ===============================
   HEADING (H1–H6)
   =============================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #111;
    line-height: 1.3;
    margin-bottom: 0.5em;
}

/* H2, H3 trong nội dung bài viết nhẹ hơn */
.entry-content h2,
.entry-content h3 {
    font-weight: 600;
}

/* ===============================
   LINK / BUTTON / CTA
   =============================== */
a,
.button,
.btn,
.tp-hotline,
.tp-zalo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover,
.button:hover,
.tp-hotline:hover,
.tp-zalo:hover {
    opacity: 0.85;
}

/* ===============================
   RESPONSIVE FONT SIZE
   =============================== */
@media (max-width: 768px) {
    body,
    p,
    li,
    span,
    a {
        font-size: 14px;
        line-height: 1.5;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }
}

/* ===============================
   SEO – KHẢ NĂNG ĐỌC
   =============================== */
strong {
    font-weight: 700;
}

em {
    font-style: italic;
}

ul,
ol {
    margin-left: 1.5em;
    margin-bottom: 1em;
}

/* ===============================
   HOTLINE / ZALO
   =============================== */
.tp-hotline-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.tp-hotline,
.tp-zalo {
    background: #ff6600;
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
}

.tp-hotline:hover,
.tp-zalo:hover {
    background: #e65c00;
}

/* ===============================
   H2 DANH MỤC / SECTION SẢN PHẨM
   =============================== */
.section-title h2,
.shop-page-title h2,
.featured-title h2,
.products-section h2 {
    font-size: 30px !important;
    font-weight: 700 !important;
    line-height: 1.25;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 6px;
    position: relative;
}

/* Gạch nhấn thương hiệu */
.section-title h2::after,
.shop-page-title h2::after,
.featured-title h2::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: #d83131;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .section-title h2,
    .shop-page-title h2,
    .featured-title h2 {
        font-size: 22px !important;
    }
}

/* ===============================
   GIÁ SẢN PHẨM (MÀU ĐỎ)
   =============================== */
.price,
.amount,
.product-price,
.woocommerce-Price-amount {
    color: #d83131;
    font-weight: 700;
}

/* ===============================
   GHI CHÚ GIÁ & QUÀ TẶNG
   =============================== */
.tp-price-note {
    margin-top: 4px;
    line-height: 1.4;
}

.tp-price-note p {
    margin: 2px 0;
    font-size: 14px;
}

.tp-price-note .gift {
    color: #0a7d2c;
    font-weight: 600;
}

/* ===============================
   TIÊU ĐỀ SẢN PHẨM – ĐẬM HƠN
   =============================== */

/* Trang danh sách sản phẩm */
.product-title,
.product-small .name,
.product-small .name a {
    font-weight: 800; /* đậm hơn 700 */
    color: #111;
}

/* Trang chi tiết sản phẩm */
.product-title.product_title,
.single-product h1 {
    font-weight: 800;
}

/* ===============================
   KẾT THÚC CSS
   =============================== */
