@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/*===========================================================
   BẢNG PHỐI MÀU MINH GIA PHÁT — DỊU MẮT & CAO CẤP
   Đỏ chỉ dùng cho: nút CTA, menu active, icon, điểm nhấn.
   Nền lớn: trắng – kem – xanh xám nhạt – xám rất nhạt.
   Tiêu đề: navy #1f3f66. Chữ: gần đen. Nhấn: vàng gold.
===========================================================*/
:root,
.page-id-530 {
    /* Màu thương hiệu */
    --mgp-bluenavy: #8e1310;
    --mgp-red:        #b30f12;
    --mgp-red-soft:   #c9342f;
    --mgp-red-deep:   #8e1310;
    --mgp-red-dark:   #4b0707;
    --mgp-wine:       #2b0505;   /* dải tối sang trọng */

    /* Màu nhấn cao cấp */
    --mgp-gold:       #d8a24a;
    --mgp-gold-deep:  #b8862b;
    --mgp-gold-soft:  #fff3d8;

    /* Màu chữ */
    --mgp-ink:        #20242a;
    --mgp-heading:    #8e1310;
    --mgp-gray:       #5f6670;
    --mgp-gray-soft:  #8b929b;

    /* Màu nền dịu mắt */
    --mgp-white:      #ffffff;
    --mgp-cream:      #fff8ef;
    --mgp-cream-2:    #fdf1df;
    --mgp-gray-bg:    #f6f7f9;
    --mgp-blue-bg:    #eef5fb;
    --mgp-blue-soft:  #e8f1f8;

    /* Viền / shadow */
    --mgp-line:       #e8e2dc;
    --mgp-shadow:     0 12px 30px rgba(35, 38, 43, 0.08);

    --primary-color:  #b30f12;
}

/*************** 1. CÀI ĐẶT HỆ THỐNG & CSS CHUNG ***************/
/* SỬA LỖI ICON ADMIN WORDPRESS */
#wpadminbar, #wpadminbar *, #wpadminbar .ab-icon, #wpadminbar .ab-icon::before, #wpadminbar .ab-item::before, .dashicons, .dashicons-before::before {
    font-family:  dashicons !important;
}
.back-to-top.is-outline { border-color: var(--mgp-red) !important; }
.back-to-top.is-outline:hover { background-color: var(--mgp-red) !important; }
.back-to-top.is-outline i { color: var(--mgp-red) !important; }
.back-to-top.is-outline:hover i { color: #fff !important; }

.devvn-popup-title, .devvn-order-btn {
    background: var(--mgp-red) !important;
    background-color: var(--mgp-red) !important;
}
.devvn_buy_now.devvn_buy_now_style {
    max-width: 100%;
    width: 100%;
}

/* ÉP TOÀN BỘ FONT HỆ THỐNG SỬ DỤNG FONT INTER */
body, html, .section-title-main, h1, h2, h3, h4, h5, h6, strong, p, span, a, div,
.icon-box-text, .icon-box-text h2, .icon-box-text h3, .icon-box-text h4, .icon-box-text h5,
.sidebar-menu .nav-sidebar li a, .col-inner, .text-center, .text-center h2, .text-center h3,
.text-center h4, .text-center h5, .col-inner strong, .col-inner h3, .col-inner h4,
.header-nav > li.menu-item, .header-nav > li.menu-item a, .header-nav li.menu-item, .header-nav li a,
h1.entry-title, .widget-title, .col-inner h2, .col-inner h3, .col-inner h4, .col-inner h5, .col-inner h6,
.top-bar-nav li.menu-item a, .account-item span, #header-contact li a span, h3.product-section-title,
.woocommerce-breadcrumb.breadcrumbs, ul.product-tabs > li > a, .widget, .product-short-description,
.product_meta span, h3.comment-reply-title, .html.custom, span.header-cart-title,
.footer-secondary.pull-right, .utm-avo, .tab a span, .button, .searchform .search-field,
.searchform .search-field::placeholder, .header-top li a > span, table tr th, table tr td,
label, .form-row input, .form-row select, .form-row textarea, .mini_cart_item a, .mini_cart_item span,
.woocommerce-mini-cart__total span, .tab-panels .panel.entry-content, .tab-panels .panel.entry-content p,
.woocommerce-MyAccount-navigation-link a
{
    font-family: 'Inter', sans-serif !important;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.button,
.btn,
.devvn-order-btn,
button.button,
.button span {
    font-family: 'Inter', sans-serif !important;
}


/*************** 2. TRANG CHỦ (POST 530) — CHỮ & TIÊU ĐỀ ***************/
.page-id-530 {
    font-family: 'Inter', sans-serif !important;
}

.page-id-530 p {
    color: var(--mgp-ink);
    font-size: 16px;
    line-height: 1.7;
    font-family: 'Inter', sans-serif !important;
}

.page-id-530 h1, .page-id-530 h2, .page-id-530 h3, .page-id-530 h4 {
    font-family: 'Inter', sans-serif !important;
    color: var(--mgp-ink);
    font-weight: 800;
    line-height: 1.2;
}

/*--- Tiêu đề khối: navy + gạch chân vàng gold ---*/
.page-id-530 .mgp-section-header {
    max-width: 1100px;
    margin: 0 auto 40px;
    text-align: center;
    padding: 0 15px;
}
.page-id-530 .mgp-section-header--left { text-align: left; margin: 0 0 24px; padding: 0; }

.page-id-530 .mgp-title {
    color: #022547;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: -.01em;
    font-weight: 800;
    font-size: clamp(24px, 3.4vw, 32px);
    margin: 0 0 8px;
    padding-bottom: 16px;
    position: relative;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-title::after {
    content: "";
    display: block;
    width: 64px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--mgp-gold-deep), var(--mgp-gold));
}
.page-id-530 .mgp-title--left { text-align: left; }
.page-id-530 .mgp-title--left::after { margin-left: 0; margin-right: auto; }

.page-id-530 .mgp-section-desc {
    color: var(--mgp-gray);
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
    font-weight: 500;
    font-family: 'Inter', sans-serif !important;
}


/*--- HERO (nền kem) ---*/
.page-id-530 .mgp-hero-title {
    color: var(--mgp-heading);
    font-size: clamp(28px, 4.2vw, 40px);
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    margin: 0 0 14px;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-hero-desc {
    color: var(--mgp-ink);
    font-size: 15px;
    line-height: 1.75;
    text-align: justify;
    margin: 0 0 24px;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-eyebrow {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px 0;
    padding: 6px 16px;
    border-radius: 999px;
    background: var(--mgp-gold-soft);
    color: var(--mgp-red-deep);
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-eyebrow strong { color: var(--mgp-red); font-family: 'Inter', sans-serif !important; }

/*--- Danh sách check (Hero) — icon đỏ điểm nhấn ---*/
.page-id-530 ul.mgp-check-clean {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.page-id-530 ul.mgp-check-clean li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-left: 34px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--mgp-ink);
    text-align: left;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 ul.mgp-check-clean li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free", "FontAwesome";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #fff;
    background: var(--mgp-red);
    box-shadow: 0 3px 8px rgba(179, 15, 18, .25);
}


/*************** 3. KHỐI CAM KẾT / THỐNG KÊ (DẢI RƯỢU VANG) ***************/
.page-id-530 .mgp-features .section-bg-overlay {
    background: linear-gradient(135deg, #3a0808, var(--mgp-wine)) !important;
}
.page-id-530 .mgp-stat {
    text-align: center;
    padding: 6px 4px;
}
.page-id-530 .mgp-stat-num {
    display: block;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.1;
    color: var(--mgp-gold);
    font-family: 'Inter', sans-serif !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .25);
}
.page-id-530 .mgp-stat-text {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: #ffffff;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-features .featured-img,
.page-id-530 .mgp-features img { filter: brightness(0) invert(1); opacity: .92; }


/*************** 4. KHỐI GIỚI THIỆU (INFO GRID) ***************/
.page-id-530 .mgp-info-grid {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}
.page-id-530 .mgp-info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--mgp-white);
    border: 1px solid var(--mgp-line);
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: var(--mgp-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.page-id-530 .mgp-info-card:hover {
    transform: translateY(-4px);
    border-color: var(--mgp-gold);
}
.page-id-530 .mgp-info-icon {
    font-size: 26px;
    color: var(--mgp-red);
    margin-top: 3px;
    flex-shrink: 0;
}
.page-id-530 .mgp-info-text { flex: 1; }
.page-id-530 .mgp-info-text strong {
    display: block;
    font-size: 16px;
    color: var(--mgp-ink);
    margin-bottom: 6px;
    font-weight: 700;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-info-text p {
    margin: 0;
    font-size: 14px;
    color: var(--mgp-gray);
    line-height: 1.6;
    font-family: 'Inter', sans-serif !important;
}


/*************** 5. KHỐI TẠI SAO CHỌN (WHY GRID) ***************/
.page-id-530 .mgp-why-choose { padding: 20px 0; }
.page-id-530 .mgp-why-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 0 15px;
}
.page-id-530 .mgp-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 14px;
    background: var(--mgp-white);
    border: 1px solid var(--mgp-line);
    border-radius: 18px;
    padding: 35px 22px;
    box-shadow: var(--mgp-shadow);
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.page-id-530 .mgp-why-card:hover {
    transform: translateY(-6px);
    border-color: var(--mgp-gold);
}
.page-id-530 .mgp-why-icon {
    font-size: 30px;
    color: var(--mgp-red);
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--mgp-gold-soft);
    transition: background .3s ease, color .3s ease;
}
.page-id-530 .mgp-why-card:hover .mgp-why-icon {
    background: var(--mgp-red);
    color: #fff;
}
.page-id-530 .mgp-why-text strong {
    display: block;
    font-size: 16px;
    color: var(--mgp-ink);
    margin-bottom: 8px;
    font-weight: 700;
    line-height: 1.3;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-why-text p {
    margin: 0;
    font-size: 13.5px;
    color: var(--mgp-gray);
    line-height: 1.55;
    text-align: center;
    font-family: 'Inter', sans-serif !important;
}


/*************** 6. TIMELINE QUY TRÌNH ***************/
.page-id-530 .mgp-process-section { padding: 20px 0; text-align: center; }
.page-id-530 .mgp-process-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin: 40px 0 10px;
    position: relative;
    width: 100%;
}
.page-id-530 .mgp-process-container::before {
    content: "";
    position: absolute;
    top: 35px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--mgp-line);
    z-index: 1;
}
.page-id-530 .mgp-process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}
.page-id-530 .mgp-step-badge {
    position: relative;
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
}
.page-id-530 .mgp-step-number {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--mgp-red);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 6px rgba(179, 15, 18, 0.3);
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--mgp-gold-soft);
    border: 2px solid var(--mgp-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background 0.3s ease;
}
.page-id-530 .mgp-process-step:hover .mgp-step-icon {
    transform: scale(1.06);
    background: var(--mgp-gold);
}
.page-id-530 .mgp-step-icon i {
    font-size: 24px;
    color: var(--mgp-red);
    transition: color 0.3s ease;
}
.page-id-530 .mgp-process-step:hover .mgp-step-icon i { color: #ffffff; }
.page-id-530 .mgp-step-content h3 {
    font-size: 15px;
    color: var(--mgp-heading);
    font-weight: 700;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-step-content p {
    font-size: 13px;
    color: var(--mgp-gray);
    line-height: 1.5;
    margin: 0;
    padding: 0 4px;
    font-family: 'Inter', sans-serif !important;
}


/*************** 7. THẺ SẢN PHẨM / GIẢI PHÁP / DỰ ÁN ***************/
.page-id-530 .mgp-card .col-inner {
    height: 100%;
    padding: 20px 16px;
    border: 1px solid var(--mgp-line);
    border-radius: 16px;
    background: var(--mgp-white);
    box-shadow: var(--mgp-shadow);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.page-id-530 .mgp-card:hover .col-inner {
    transform: translateY(-5px);
    border-color: var(--mgp-gold);
}
.page-id-530 .mgp-product .col-inner,
.page-id-530 .mgp-solution .col-inner { display: grid; place-items: center; text-align: center; min-height: 120px; }

/* Tên sản phẩm + link xem chi tiết (link đỏ = điểm nhấn) */
.page-id-530 .mgp-product-name { margin: 0 0 5px; font-size: 15px; text-transform: uppercase; font-family: 'Inter', sans-serif !important; }
.page-id-530 .mgp-product-name a { color: var(--mgp-ink); text-decoration: none; transition: color .2s ease; }
.page-id-530 .mgp-product:hover .mgp-product-name a { color: var(--mgp-red); }
.page-id-530 .mgp-product-link { color: var(--mgp-red); font-size: 12px; font-weight: 600; text-decoration: none; }
.page-id-530 .mgp-product-link:hover { color: var(--mgp-gold-deep); }

/* Giải pháp ngành nghề — nhãn chữ đậm (navy), không đỏ để dịu mắt */
.page-id-530 .mgp-solution h3 { margin: 0; }
.page-id-530 .mgp-solution strong { color: var(--mgp-ink); font-size: 15px; text-transform: uppercase; font-family: 'Inter', sans-serif !important; }

/* Thẻ dự án (ảnh + caption) — viền trên vàng gold */
.page-id-530 .mgp-project .col-inner { padding: 0; overflow: hidden; }
.page-id-530 .mgp-project-card {
    background: var(--mgp-white);
    padding: 16px 15px;
    border-top: 3px solid var(--mgp-gold);
    text-align: center;
}
.page-id-530 .mgp-project-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--mgp-heading); font-family: 'Inter', sans-serif !important; }
.page-id-530 .mgp-project-card p { margin: 0; font-size: 13px; color: var(--mgp-gray); font-family: 'Inter', sans-serif !important; }

[class*="mgp-"] h2, [class*="mgp-"] h3, [class*="mgp-"] h4 { font-family: 'Inter', sans-serif !important; }


/*************** 8. DẢI CTA (NỀN ĐỎ RƯỢU VANG + VIỀN GOLD) ***************/
.page-id-530 .mgp-cta--strip .section-bg-overlay {
    background: linear-gradient(135deg, var(--mgp-red-deep), var(--mgp-red-dark)) !important;
}
.page-id-530 .mgp-cta--final .section-bg-overlay {
    background: linear-gradient(135deg, #6a0d0b, var(--mgp-red-dark)) !important;
}
/* Đường nhấn vàng gold mảnh trên/dưới dải CTA */
.page-id-530 .mgp-cta--strip,
.page-id-530 .mgp-cta--final { border-top: 2px solid var(--mgp-gold); }
.page-id-530 .mgp-cta .col-inner { text-align: inherit; }
.page-id-530 .mgp-cta--final .col-inner { text-align: center; }
.page-id-530 .mgp-cta-title {
    color: #ffffff;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 6px;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-cta-sub {
    color: rgba(255, 255, 255, .9);
    margin: 0;
    font-family: 'Inter', sans-serif !important;
}
.page-id-530 .mgp-cta-sub--center { max-width: 760px; margin: 0 auto 25px; }
/* Nút outline trên nền đỏ -> viền + chữ vàng gold, hover nền gold */
.page-id-530 .mgp-cta .button.is-outline {
    color: #fff !important;
    border-color: var(--mgp-gold) !important;
}
.page-id-530 .mgp-cta .button.is-outline:hover {
    color: var(--mgp-red-dark) !important;
    background-color: var(--mgp-gold) !important;
    border-color: var(--mgp-gold) !important;
}


/*************** 9. TESTIMONIALS & LOGO ĐỐI TÁC ***************/
.page-id-530 .mgp-testimonials .testimonial-box,
.page-id-530 .mgp-testimonials .col-inner { border-radius: 16px; }
.page-id-530 .mgp-testimonials .star-rating::before,
.page-id-530 .mgp-testimonials .stars a { color: var(--mgp-gold) !important; }
.page-id-530 .mgp-testimonials p { color: var(--mgp-ink); font-style: normal; }
.page-id-530 .mgp-testimonials .from { color: var(--mgp-red); }

.page-id-530 .mgp-logos-row .col-inner {
    display: grid;
    place-items: center;
    background: var(--mgp-white);
    border: 1px solid var(--mgp-line);
    border-radius: 12px;
    padding: 14px;
    min-height: 90px;
    transition: border-color .25s ease, box-shadow .25s ease;
}
.page-id-530 .mgp-logos-row .col-inner:hover {
    border-color: var(--mgp-gold);
    box-shadow: var(--mgp-shadow);
}
.page-id-530 .mgp-logos-row img {
    filter: grayscale(100%);
    opacity: .75;
    transition: filter .25s ease, opacity .25s ease;
}
.page-id-530 .mgp-logos-row .col-inner:hover img { filter: grayscale(0); opacity: 1; }


/*************** 10. NÚT BẤM ***************/
.page-id-530 .button { font-weight: 800; text-transform: uppercase; font-family: 'Inter', sans-serif !important; }
/* Nút phụ trên nền sáng: nền trắng, viền + chữ đỏ (nhẹ mắt hơn nút đỏ đặc) */
.page-id-530 .mgp-hero .button.is-outline {
    color: var(--mgp-red) !important;
    border-color: var(--mgp-red) !important;
    background-color: #fff !important;
}
.page-id-530 .mgp-hero .button.is-outline:hover {
    color: #fff !important;
    background-color: var(--mgp-red) !important;
}


/*************** 11. RESPONSIVE ***************/
@media (max-width: 767px) {
    .page-id-530 .mgp-process-container {
        flex-direction: column;
        gap: 32px;
        align-items: flex-start;
        padding-left: 15px;
    }
    .page-id-530 .mgp-process-container::before {
        top: 20px;
        bottom: 20px;
        left: 50px;
        width: 2px;
        height: auto;
    }
    .page-id-530 .mgp-process-step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        width: 100%;
    }
    .page-id-530 .mgp-step-badge { margin-bottom: 0; flex-shrink: 0; }
    .page-id-530 .mgp-step-content { margin-top: 6px; }
    .page-id-530 .mgp-step-content p { padding-left: 0; }
}

@media (max-width: 549px) {
    .page-id-530 .mgp-stat-num { font-size: 30px; }
    .page-id-530 .mgp-stat-text { font-size: 12px; }
    .page-id-530 .mgp-info-grid { grid-template-columns: 1fr; }
    .page-id-530 .mgp-hero-title { font-size: 26px; }
}


/*===========================================================
   HEADER TRÊN CÙNG (NỀN TRẮNG, LOGO ĐỎ NỔI BẬT)
===========================================================*/
.header-main {
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--mgp-line) !important;
}
.header-main .header-nav li:after,
.header-main .header-nav li:before { display: none; }
.header-main .header-nav li { margin: 0; position: relative; }

/* Menu chữ tối, hover/active mới chuyển đỏ -> bớt đỏ, dịu mắt */
.header-main .header-nav li a {
    font-size: 16px;
    color: #8e1310 !important;
    font-weight: 500;
    line-height: 50px !important;
    height: 50px;
    padding: 0 16px;
    display: inline-block;
    position: relative;
}
.header-main .header-nav li a:hover,
.header-main .header-nav .current-menu-item a {
    color: #b30f12 !important;
}
/* gạch chân hover vàng gold */
.header-main .header-nav li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    left: 0;
    bottom: -2px;
    background-color: #d8a24a;
    transition: width .3s ease-in-out;
}
.header-main .header-nav li:hover > a:after { width: calc(100% - 2px); }

/* SEARCH */
.header-main .search-field {
    border-radius: 40px !important;
    border: 1px solid #d8a24a !important;
    height: 40px !important;
    padding: 0 20px;
    font-size: 14px;
    font-weight: 500;
    background: #fff !important;
    line-height: 40px !important;
}

/* ===========================================================
   THANH MENU ĐỎ (HEADER BOTTOM) — ĐỎ ĐẬM, KHÔNG TƯƠI
===========================================================*/
.header-bottom {
    background: var(--mgp-bluenavy) !important;
    border-top: none !important;
    border-bottom: 2px solid #d8a24a !important;
    box-shadow: none !important;
    margin-top: -1px !important;
}
#wide-nav .nav { border: none !important; }
#wide-nav .nav > li > a {
    line-height: 50px !important;
    height: 50px !important;
    padding: 0 18px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    color: #fff3d8 !important;
    font-family: "Inter", sans-serif !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    white-space: nowrap !important;
}
#wide-nav .nav > li > a i {
    font-size: 13px !important;
    width: 14px !important;
    text-align: center;
    line-height: 1 !important;
    display: inline-block;
}
#wide-nav .nav > li { margin-right: 0 !important; margin-left: 0 !important; }
/* Hover/active -> vàng gold */
.header-bottom .nav > li > a:hover,
.header-bottom .nav > .current-menu-item > a { color: #d8a24a !important; }
.header-bottom .nav > li > a:hover i { color: #d8a24a !important; }

/* ==========================================================================
   DROPDOWN HEADER BOTTOM
========================================================================== */
.header-bottom .nav-dropdown {
    top: 50px !important;
    left: 0 !important;
    position: absolute !important;
    min-width: 260px;
    background: #fff;
    border-radius: 8px !important;
    border-top: 3px solid #d8a24a;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all .25s ease;
    padding: 10px 0 !important;
    pointer-events: auto !important;
    display: block !important;
    max-height: none !important;
    width: auto !important;
}
.header-bottom li:hover > .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.header-bottom .nav-dropdown li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    width: 100% !important;
}
.header-bottom .nav-dropdown li a {
    padding: 12px 20px !important;
    display: block;
    white-space: nowrap;
    font-size: 15px;
    color: #333 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    text-transform: lowercase !important;
}
.header-bottom .nav-dropdown li a::first-letter { text-transform: uppercase !important; }
.header-bottom .nav-dropdown li a:hover {
    background-color: #f6f7f9;
    color: #b30f12 !important;
}
.header-bottom .nav-dropdown ul.sub-menu {
    left: 100% !important;
    top: 0 !important;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all .25s ease;
    display: block !important;
    position: absolute !important;
    background: #fff;
    border-radius: 8px !important;
    border-top: 3px solid #d8a24a;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15);
    padding: 10px 0 !important;
    min-width: 260px;
}
.header-bottom .nav-dropdown li:hover > ul.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}
.header-bottom .nav-dropdown ul.sub-menu { pointer-events: auto !important; }


/*===========================================================
   FOOTER — ĐỎ RẤT ĐẬM #4b0707 (SANG HƠN NỀN ĐEN)
===========================================================*/
#footer, .footer-wrapper { background-color: var(--mgp-bluenavy) !important; }
#footer .footer-widgets,
.footer-widgets { background-color: #4b0707 !important; }
.absolute-footer, html .absolute-footer.dark { background-color: #2b0505 !important; }
#footer h3, #footer .widget-title { color: #ffffff !important; }
#footer a, #footer p, #footer li, #footer span { color: #fff3d8 !important; }
#footer a:hover { color: #d8a24a !important; }


/*===========================================================
   POPUP FORM BÁO GIÁ (MQD)
===========================================================*/
.mfp-content { vertical-align: middle; }
.popup-dai-hoi-full.mfp-content {
    max-width: 950px !important;
    width: 100% !important;
    margin: 20px auto !important;
    left: 0 !important;
    right: 0 !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
}
.mfp-inline-holder .mfp-content { width: 100% !important; max-width: 1050px !important; }
.mqd-full-wrapper {
    position: relative;
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif !important;
}
.mqd-container {
    display: flex;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    min-height: 600px;
}
.mqd-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 38px;
    height: 38px;
    background: #8e1310;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1000;
    border: 3px solid #fff;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.mqd-close-btn:hover {
    transform: rotate(180deg) scale(1.15);
    background: #b30f12;
    box-shadow: 0 0 20px rgba(179,15,18,0.4);
}
.mqd-sidebar {
    flex: 0 0 340px;
    background: #fff8ef;
    padding: 40px 30px;
    border-right: 1px solid #e8e2dc;
}
.mqd-badge {
    background: var(--mgp-gold);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 20px;
    display: inline-block;
}
.mqd-sidebar-title {
    color: #8e1310;
    font-size: 19px;
    line-height: 1.4;
    margin-bottom: 25px;
    font-weight: bold;
}
.mqd-sidebar-title span { font-size: 22px; font-weight: 900; color: #20242a; }
.mqd-f-item { display: flex; gap: 15px; margin-bottom: 22px; }
.mqd-f-icon { font-size: 20px; color: var(--mgp-gold-deep); }
.mqd-f-text strong { display: block; color: #8e1310; font-size: 14.5px; margin-bottom: 4px; }
.mqd-f-text p { font-size: 13px; color: #5f6670; line-height: 1.5; margin: 0; }
.mqd-sidebar-hotline {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #d8a24a;
    text-align: center;
    font-size: 14px;
    color: #444;
}
.mqd-sidebar-hotline strong { color: #8e1310; font-size: 26px; display: block; margin-top: 5px; font-weight: 800; }
.mqd-main { flex: 1; padding: 40px 45px; max-height: 85vh; overflow-y: auto; }
.mqd-main-title {
    text-align: center;
    color: #20242a;
    font-weight: 800;
    margin-bottom: 30px;
    font-size: 22px;
    text-transform: uppercase;
}
.mqd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mqd-input-wrap label, .mqd-input-full label {
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px;
    display: block;
}
.mqd-main input:not([type="submit"]), .mqd-main select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e8e2dc;
    border-radius: 8px;
    font-size: 14px;
    background: #fafafa;
    font-family: 'Inter', sans-serif !important;
}
.mqd-main input:focus, .mqd-main select:focus { border-color: var(--mgp-gold) !important; outline: none; }
.mqd-checkbox-pills { margin-top: 25px !important; padding: 0; }
.mqd-checkbox-pills .wpcf7-list-item { display: inline-block !important; margin: 4px 6px 4px 0 !important; }
.mqd-checkbox-pills label { cursor: pointer; display: block; margin: 0; }
.mqd-checkbox-pills input[type="checkbox"] { display: none !important; }
.mqd-checkbox-pills .wpcf7-list-item-label {
    display: inline-block;
    padding: 7px 18px;
    background: #f6f7f9;
    border: 1px solid #e8e2dc;
    border-radius: 30px;
    font-size: 13px;
    color: #5f6670;
    transition: all 0.3s ease;
}
.mqd-checkbox-pills input:checked + .wpcf7-list-item-label {
    background: #8e1310 !important;
    color: #fff !important;
    border-color: #8e1310;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(142,13,16,0.25);
}
.mqd-submit-area { margin-top: 35px; text-align: center; }
.mqd-submit-area input {
    width: 100%;
    max-width: 400px;
    background: linear-gradient(135deg, #b30f12 0%, #8e1310 100%);
    color: #fff;
    border: none;
    padding: 16px 30px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 19px;
    cursor: pointer;
    font-family: 'Inter', sans-serif !important;
    box-shadow: 0 10px 20px rgba(142, 13, 16, 0.2);
    transition: all 0.3s;
}
.mqd-submit-area input:hover { transform: scale(1.02); box-shadow: 0 12px 25px rgba(142, 13, 16, 0.35); }

@media (max-width: 768px) {
    .mqd-container { flex-direction: column; }
    .mqd-sidebar { flex: none; width: 100%; padding: 30px 20px; }
    .mqd-main { padding: 30px 20px; }
    .mqd-grid { grid-template-columns: 1fr; }
    .mqd-close-btn { top: 10px; right: 10px; }
}

/* --- ÉP FONT INTER CHO TÊN SẢN PHẨM CHÍNH (PHÍA TRÊN) --- */
.product-info .product-title,
h1.product-title.entry-title {
    color: #b30f12 !important;
    font-family: 'Inter', sans-serif !important;
}

/* --- ÉP FONT INTER CHO PHẦN MÔ TẢ NGẮN (SHORT DESCRIPTION PHÍA TRÊN) --- */
.product-info .product-short-description,
.product-info .product-short-description p,
.product-info .product-short-description ul,
.product-info .product-short-description li,
.product-summary .woocommerce-product-details__short-description,
.product-summary .woocommerce-product-details__short-description p,
.product-summary .woocommerce-product-details__short-description ul,
.product-summary .woocommerce-product-details__short-description li {
    font-family: 'Inter', sans-serif !important;
}

/* --- LÀM NỔI BẬT H2 TRONG PHẦN MÔ TẢ SẢN PHẨM --- */
.product-description h2, 
#tab-description h2 {
    font-family: 'Inter', sans-serif !important;
    color: #8e1310 !important; /* Màu đỏ nhung thương hiệu Minh Gia Phát */
    font-size: 24px !important;
    font-weight: bold !important;
    line-height: 1.4 !important;
    margin-top: 35px !important;
    margin-bottom: 15px !important;
    padding-bottom: 8px !important;
    position: relative !important;
    text-align: left !important;
}

/* Tạo đường gạch chân nhẹ tinh tế dưới mỗi tiêu đề h2 */
.product-description h2::after, 
#tab-description h2::after {
    content: "" !important;
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 50px !important; /* Độ dài đường gạch trang trí */
    height: 3px !important; /* Độ dày đường gạch */
    background-color: #b30f12 !important; /* Màu đỏ sáng làm điểm nhấn */
    border-radius: 2px !important;
}

/* Ép font chữ Inter cho toàn bộ nội dung văn bản trong phần mô tả sản phẩm */
.product-description, 
#tab-description,
.product-description p,
#tab-description p {
    font-family: 'Inter', sans-serif !important;
    font-size: 15px !important;
    color: #333333 !important;
    line-height: 1.7 !important;
}

/* ÉP TRIỆT ĐỂ CHỮ IN ĐẬM (STRONG/B) Ở CẢ MÔ TẢ NGẮN VÀ MÔ TẢ CHI TIẾT VỀ FONT INTER */
.product-info strong,
.product-info b,
.product-description strong, 
#tab-description strong,
.product-description p strong,
#tab-description p strong,
.product-description b, 
#tab-description b,
.product-description p b,
#tab-description p b {
    font-family: 'Inter', sans-serif !important;
}


/* --- TỐI ƯU BOX SẢN PHẨM FLATSOME MGP --- */
.product-small.box {
    background-color: #ffffff !important;
    border: 1px solid #f2dfcf !important; /* Viền mờ màu kem tiệp màu web */
    border-radius: 12px !important; /* Bo góc box sản phẩm */
    overflow: hidden !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    box-shadow: 0 4px 15px rgba(120, 33, 10, 0.02) !important; /* Đổ bóng cực nhẹ */
}

/* --- HIỆU ỨNG HOVER NỔI BẬT LÊN CAO --- */
.product-small.box:hover {
    transform: translateY(-6px) !important; /* Box nâng lên nhẹ */
    border-color: #f2dfcf !important;
    box-shadow: 0 12px 30px rgba(142, 13, 16, 0.08) !important; /* Đổ bóng màu đỏ thẫm thương hiệu */
}

/* --- HIỆU ỨNG ZOOM ẢNH KHI HOVER --- */
.product-small .box-image {
    overflow: hidden !important;
}
.product-small .box-image img {
    transition: transform 0.5s ease !important;
}
.product-small.box:hover .box-image img {
    transform: scale(1.05) !important; /* Ảnh phóng to nhẹ 5% */
}

/* --- TỐI ƯU PHẦN CHỮ & TÊN SẢN PHẨM --- */
.product-small .box-text {
    padding: 15px 12px !important; /* Tạo khoảng trống xung quanh text */
    background-color: #ffffff !important;
}

.product-small .title-wrapper p.name.product-title a,
.product-small .box-text p.name.product-title a {
    font-family: 'Inter', sans-serif !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 auto !important;
    
    /* Ép text xuống dòng hợp lý - Tối đa 2 dòng, dài quá tự ra dấu ba chấm (...) */
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 42px !important; /* Cố định chiều cao để các ô luôn thẳng hàng đều tăm tắp */
}

/* Thay đổi màu tên sản phẩm khi hover */
.product-small.box:hover .box-text p.name.product-title a {
    color: #8e1310 !important; /* Đổi sang đỏ nhung khi hover */
}

/* --- NẾU CÓ PHẦN GIÁ HOẶC DANH MỤC (NẾU BẬT) --- */
.product-small .box-text .price-wrapper {
    margin-top: 6px !important;
    text-align: center !important;
}
/* ==========================================================================
   TỔNG HỢP CSS RESPONSIVE CHO MOBILE (DƯỚI 767PX) - MINH GIA PHÁT
   ========================================================================== */
@media (max-width: 767px) {
    
    /* ----------------------------------------------------------------------
       1. CẤU HÌNH SỬA LỖI TRANG DANH MỤC SẢN PHẨM (BUNG FULL 2 CỘT)
       ---------------------------------------------------------------------- */
    /* Ép khung cha chứa toàn bộ trang danh mục bung rộng 100% màn hình mobile */
    .row.category-page-row {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 8px !important;  /* Khoảng đệm nhẹ 2 bên rìa màn hình mobile */
        padding-right: 8px !important;
    }

    /* Giải cứu thẻ cột lớn (large-9) khỏi các dòng code ép 50% sai lệch */
    .row.category-page-row > .col.large-9 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 !important;
    }

    /* Định dạng cấu trúc lưới hiển thị danh sách sản phẩm thành Flexbox */
    .row.category-page-row .products.row,
    .row.category-page-row .products.row-small {
        display: flex !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    /* Ép chính xác các ô sản phẩm nhận width 50% để chia đều làm 2 cột */
    .row.category-page-row .products.row-small > .col,
    .row.category-page-row .products.row .col.product-small {
        width: 50% !important;
        max-width: 50% !important;
        flex: 0 0 50% !important;
        padding: 0 4px !important; /* Khoảng cách vừa vặn giữa các box */
    }


    /* ----------------------------------------------------------------------
       2. CẤU HÌNH SỬA LỖI TRANG CHI TIẾT SẢN PHẨM (XẾP DỌC TRÀN VIỀN)
       ---------------------------------------------------------------------- */
    /* Chuyển trang chi tiết sang hàng dọc: Ảnh ở trên, thông tin ở dưới */
    .product-main .row.content-row,
    div[id^="product-"] .row.content-row {
        display: flex !important;
        flex-direction: column !important; 
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important; 
    }

    /* Cột chứa ảnh sản phẩm bung rộng 100% */
    div[id^="product-"] .row.content-row > .product-gallery,
    div[id^="product-"] .row.content-row > .col.large-6,
    div[id^="product-"] .row.content-row > .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 10px !important; /* Đệm cách lề 2 bên cho ảnh */
        margin-bottom: 20px !important; /* Khoảng cách từ khối ảnh xuống khối chữ */
    }

    /* Cột chứa thông tin chữ (Tiêu đề, mô tả ngắn...) bung rộng 100% */
    div[id^="product-"] .row.content-row > .product-info,
    div[id^="product-"] .row.content-row > .col.large-6 + .col {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 15px !important; /* Khoảng cách đệm chữ với mép màn hình */
        text-align: left !important;
    }

    /* Sửa font-size tiêu đề trang chi tiết sản phẩm cho vừa vặn */
    .product-info .product-title,
    h1.product-title.entry-title {
        font-size: 20px !important; 
        line-height: 1.4 !important;
        width: 100% !important;
        display: block !important;
    }

    /* Giải phóng phần mô tả ngắn khỏi tình trạng bó hẹp */
    .product-info .product-short-description,
    .product-summary .woocommerce-product-details__short-description {
        width: 100% !important;
        display: block !important;
    }


    /* ----------------------------------------------------------------------
       3. TỐI ƯU BOX SẢN PHẨM & TEXT NGOÀI DANH MỤC
       ---------------------------------------------------------------------- */
    .product-small.box {
        border-radius: 8px !important; /* Bo góc nhẹ nhàng cân đối trên mobile */
        background-color: #ffffff !important;
        margin-bottom: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        height: calc(100% - 8px) !important; /* Giúp các ô cùng dòng luôn bằng chiều cao nhau */
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
        border: 1px solid #f2dfcf !important;
    }

    /* Ảnh sản phẩm ngoài danh mục tự động đầy 100% bề ngang box */
    .product-small .box-image,
    .product-small .box-image a,
    .product-small .box-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Vô hiệu hóa hoàn toàn hiệu ứng hover để tránh lag/lỗi click trên màn hình cảm ứng */
    .product-small.box:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.04) !important;
    }
    .product-small.box:hover .box-image img {
        transform: none !important;
    }

    /* Cân chỉnh chữ tên sản phẩm ngoài danh mục */
    .product-small .box-text {
        padding: 8px 6px !important; 
        text-align: center !important;
    }

    .product-small .title-wrapper p.name.product-title a,
    .product-small .box-text p.name.product-title a {
        font-family: 'Inter', sans-serif !important;
        font-size: 13px !important; 
        line-height: 1.35 !important;
        color: #1a1a1a !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important; /* Giới hạn tối đa 2 dòng */
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        height: 36px !important; /* Cố định chiều cao chữ để thẳng hàng */
    }


    /* ----------------------------------------------------------------------
       4. TỐI ƯU TIÊU ĐỀ H2 VÀ TEXT TRONG PHẦN MÔ TẢ CHI TIẾT
       ---------------------------------------------------------------------- */
    .product-description h2, 
    #tab-description h2 {
        font-size: 19px !important; /* Hạ từ 24px xuống 19px chống vỡ chữ */
        margin-top: 25px !important;
        margin-bottom: 12px !important;
        padding-bottom: 6px !important;
    }
    
    .product-description h2::after, 
    #tab-description h2::after {
        width: 40px !important; /* Thu ngắn đường gạch chân trang trí */
        height: 2.5px !important;
    }

    .product-description,
    #tab-description,
    .product-description p,
    #tab-description p {
        font-size: 14.5px !important; /* Hạ xuống 14.5px cho tinh tế, dễ đọc trên di động */
        line-height: 1.6 !important;
    }
}


/*===========================================================
   TỐI ƯU MÔ TẢ SẢN PHẨM — RESPONSIVE + PADDING 2 BÊN 10PX
===========================================================*/
/* Chống tràn ảnh / bảng / chữ dài trên MỌI kích thước màn hình */
.single-product #tab-description,
.single-product .product-description,
.single-product .woocommerce-tabs .panel.entry-content {
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}
.single-product #tab-description img,
.single-product .woocommerce-tabs .panel.entry-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px;
}
.single-product #tab-description iframe,
.single-product .woocommerce-tabs .panel.entry-content iframe {
    max-width: 100% !important;
}
.single-product #tab-description table,
.single-product .woocommerce-tabs .panel.entry-content table {
    max-width: 100% !important;
    display: block;
    overflow-x: auto;                 /* bảng dài -> cuộn ngang, không vỡ layout */
    -webkit-overflow-scrolling: touch;
}

/* MOBILE (<=767px): đệm đều 2 bên 10px cho phần mô tả + tab */
@media (max-width: 767px) {
    /* Bỏ padding thừa của khung tab để tự kiểm soát lề 2 bên */
    .single-product .product-section,
    .single-product .woocommerce-tabs,
    .single-product .tab-panels {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Đệm đều 10px hai bên phần nội dung Mô tả & Đánh giá */
    .single-product #tab-description,
    .single-product #tab-reviews,
    .single-product .product-description,
    .single-product .woocommerce-tabs .panel.entry-content {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box !important;
    }
    /* Tiêu đề tab (MÔ TẢ / ĐÁNH GIÁ) thẳng hàng lề 10px */
    .single-product .woocommerce-tabs .nav.tabs > li > a,
    .single-product .product-section .nav.tabs > li > a {
        padding-left: 10px !important;
    }
    /* Tiêu đề phụ H3 trong mô tả (nếu có) vừa khít màn hình */
    .single-product #tab-description h3,
    .single-product .woocommerce-tabs .panel.entry-content h3 {
        font-size: 16px !important;
        line-height: 1.4 !important;
    }
}


/*===========================================================
   TAB MÔ TẢ — TIÊU ĐỀ TAB DẠNG HỘP VIỀN ĐỎ + H2 GẠCH DỌC ĐỎ
===========================================================*/
/* --- Thanh chứa tiêu đề tab + đường kẻ ngang phía dưới --- */
.single-product .woocommerce-tabs ul.tabs,
.single-product .woocommerce-tabs .nav-tabs,
.single-product .product-section .nav-tabs {
    list-style: none !important;
    margin: 0 0 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid var(--mgp-line, #e8e2dc) !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    box-shadow: none !important;
}
.single-product .woocommerce-tabs ul.tabs li,
.single-product .woocommerce-tabs .nav-tabs li,
.single-product .product-section .nav-tabs > li {
    margin: 0 0 -1px 0 !important;   /* đè lên đường kẻ cho liền mạch */
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}
/* --- Hộp tiêu đề tab: viền đỏ, bo góc, chữ đỏ in hoa --- */
.single-product .woocommerce-tabs ul.tabs li a,
.single-product .woocommerce-tabs .nav-tabs li a,
.single-product .product-section .nav-tabs > li > a {
    display: inline-block !important;
    padding: 12px 24px !important;
    border: 1.5px solid var(--mgp-red, #b30f12) !important;
    border-radius: 8px !important;
    background: #fff !important;
    color: var(--mgp-red, #b30f12) !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    letter-spacing: .04em !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
    font-family: 'Inter', sans-serif !important;
    transition: background .2s ease, color .2s ease;
}
/* Ẩn gạch chân/indicator mặc định của theme trên tab */
.single-product .woocommerce-tabs ul.tabs li a::before,
.single-product .woocommerce-tabs ul.tabs li a::after,
.single-product .woocommerce-tabs .nav-tabs li a::before,
.single-product .woocommerce-tabs .nav-tabs li a::after {
    display: none !important;
}
/* Tab đang mở: nền đỏ, chữ trắng cho nổi bật */
.single-product .woocommerce-tabs ul.tabs li.active a,
.single-product .woocommerce-tabs .nav-tabs li.active a,
.single-product .product-section .nav-tabs > li.active > a {
    background: var(--mgp-red, #b30f12) !important;
    color: #fff !important;
}
/* Tab chưa chọn: viền + chữ xám nhạt cho dịu */
.single-product .woocommerce-tabs ul.tabs li:not(.active) a,
.single-product .woocommerce-tabs .nav-tabs li:not(.active) a {
    border-color: var(--mgp-line, #e8e2dc) !important;
    color: var(--mgp-gray, #5f6670) !important;
}
.single-product .woocommerce-tabs ul.tabs li:not(.active) a:hover {
    border-color: var(--mgp-red, #b30f12) !important;
    color: var(--mgp-red, #b30f12) !important;
}

/* --- H2 trong mô tả: thanh gạch dọc đỏ phía trước --- */
.single-product #tab-description h2,
.single-product .product-description h2,
.single-product .woocommerce-tabs .panel.entry-content h2 {
    position: relative;
    padding: 2px 0 2px 16px !important;
    border-left: 4px solid var(--mgp-red, #b30f12) !important;
    margin: 30px 0 16px !important;
    color: var(--mgp-ink, #20242a) !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}
/* Bỏ gạch chân trang trí dưới H2 để gọn đúng như mẫu */
.single-product #tab-description h2::after,
.single-product .product-description h2::after,
.single-product .woocommerce-tabs .panel.entry-content h2::after {
    display: none !important;
}


/*===========================================================
   BÀI BLOG — TIÊU ĐỀ & NỘI DUNG DÙNG FONT INTER
===========================================================*/
/* --- Nội dung bài viết: font Inter cho dễ đọc --- */
.single-post .entry-content,
.single-post .entry-content p,
.single-post .entry-content li,
.single-post .entry-content td,
.single-post .entry-content th,
.single-post .entry-content blockquote,
.single-post .entry-content a,
.single-post .entry-content span,
.single-post .entry-content strong,
.single-post .entry-content em,
.single-post .post-content,
.single-post .post-content p,
.single-post .post-content li,
.single-post .post-content span,
.single-post .post-content a,
.single-post .post-content strong,
.single-post .post-content em {
    font-family: 'Inter', sans-serif !important;
}

/* Cỡ chữ & khoảng cách nội dung blog */
.single-post .entry-content,
.single-post .post-content {
    font-size: 16px;
    line-height: 1.8;
    color: #20242a;
}
.single-post .entry-content p,
.single-post .post-content p {
    margin: 0 0 18px;
    line-height: 1.8;
}
.single-post .entry-content ul,
.single-post .entry-content ol,
.single-post .post-content ul,
.single-post .post-content ol {
    margin: 0 0 18px;
    padding-left: 22px;
}
.single-post .entry-content li,
.single-post .post-content li {
    margin-bottom: 8px;
    line-height: 1.75;
}

/* --- Tiêu đề trong bài (H1–H4) + tiêu đề bài: font Inter --- */
.single-post h1.entry-title,
.single-post .entry-content h1,
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .post-content h1,
.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4 {
    font-family: 'Inter', sans-serif !important;
    color: #20242a;
    font-weight: 800;
    line-height: 1.3;
}
.single-post .entry-content h2,
.single-post .post-content h2 {
    font-size: 26px;
    margin: 34px 0 14px;
}
.single-post .entry-content h3,
.single-post .post-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 26px 0 12px;
}


/*===========================================================
   BLOG MOBILE — NỘI DUNG & SIDEBAR XẾP DỌC (KHÔNG DÍNH)
===========================================================*/
@media (max-width: 849px) {
    /* Cho hàng chứa 2 cột được phép xuống dòng */
    .single-post #content .row,
    .single-post .blog-single .row,
    .single-post .row.blog-wrapper {
        flex-wrap: wrap !important;
    }

    /* Ép cột nội dung + cột sidebar về full 100%, xếp dọc */
    .single-post #content .row > .col,
    .single-post .blog-single .row > .col,
    .single-post .row > .large-9,
    .single-post .row > .large-3,
    .single-post .post-sidebar,
    .single-post #secondary,
    .single-post .sidebar-column,
    .single-post aside.sidebar {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* Sidebar rớt xuống dưới, tách khỏi bài viết cho rõ ràng */
    .single-post .post-sidebar,
    .single-post #secondary,
    .single-post .sidebar-column,
    .single-post aside.sidebar {
        margin-top: 32px !important;
        padding-top: 24px !important;
        border-top: 1px solid var(--mgp-line, #e8e2dc);
        clear: both !important;
        float: none !important;
    }
}