/*
Theme Name: HTHVN Child
Theme URI: https://hthvn.vn/
Author: HTHVN
Description: Theme con HTHVN B2B - trang chủ, landing nguồn hàng, WooCommerce, bộ lọc sản phẩm và ACF theo bản vẽ.
Version: 7.95
Template: hthvn
Text Domain: hthvn-child
*/


/* ==========================================================
 * HEADER DESKTOP - GIỮ MENU GỌN TRONG ROW/CONTAINER
 * ========================================================== */
@media (min-width: 1101px) {
    .site-header > .container.header-inner {
        width: min(1320px, calc(100% - 40px));
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
        gap: 12px;
        min-height: 70px;
    }

    .site-header .site-branding {
        flex: 0 0 190px;
        width: 190px;
        max-width: 190px;
        min-width: 0;
    }

    .site-header .custom-logo {
        max-width: 190px;
        max-height: 46px;
        width: auto;
        height: auto;
    }

    .site-header .brand-fallback {
        gap: 7px;
        white-space: nowrap;
    }

    .site-header .brand-text { font-size: 19px; }
    .site-header .brand-mark { width: 40px; height: 40px; }

    .site-header .primary-nav {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-header .hthvn-menu,
    .site-header .primary-nav > ul {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: clamp(7px, .6vw, 12px);
        width: 100%;
        min-width: 0;
    }

    .site-header .hthvn-menu > li,
    .site-header .primary-nav > ul > li {
        flex: 0 0 auto;
        min-width: 0;
    }

    .site-header .hthvn-menu > li > a,
    .site-header .primary-nav > ul > li > a {
        display: block;
        padding: 24px 0;
        font-size: 14px;
        white-space: nowrap;
        word-break: normal;
        overflow-wrap: normal;
        line-height: 1.2;
    }

    .site-header .header-actions {
        flex: 0 0 auto;
        gap: 9px;
        white-space: nowrap;
    }

    .site-header .header-actions .btn {
        flex: 0 0 auto;
        padding: 10px 12px;
        font-size: 14px;
        white-space: nowrap;
    }

    .site-header .search-toggle {
        flex: 0 0 auto;
        font-size: 24px;
        padding: 4px;
    }
}

/* Ở màn hình trung gian chuyển sang menu mobile sớm hơn thay vì ép chữ xuống dòng. */
@media (min-width: 861px) and (max-width: 1100px) {
    .site-header > .container.header-inner {
        width: min(100% - 36px, 1140px);
        min-height: 70px;
        gap: 14px;
    }

    .site-header .menu-toggle {
        display: block;
        margin-left: auto;
    }

    .site-header .primary-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        background: #fff;
        border-top: 1px solid var(--line, #e8e8e8);
        box-shadow: 0 10px 20px rgba(0,0,0,.06);
    }

    .site-header .primary-nav.is-open {
        display: block;
    }

    .site-header .hthvn-menu,
    .site-header .primary-nav ul {
        display: block;
        padding: 10px 20px;
    }

    .site-header .hthvn-menu a,
    .site-header .primary-nav a {
        display: block;
        padding: 12px 0;
        white-space: normal;
    }

    .site-header .header-actions {
        margin-left: 0;
    }
}


/* ==========================================================
 * FOOTER HTH - theo bố cục mẫu, chỉnh từng mục trong Customizer
 * ========================================================== */
.hth-footer{
    margin-top:0;
    background:#fff;
    color:#555;
    border-top:1px solid #f1f1f1;
    font-size:14px;
}
.hth-footer .container{
    width:min(1320px, calc(100% - 40px));
    max-width:1320px;
    margin:0 auto;
}
.hth-footer-main{padding:38px 0 30px;background:#fff}
.hth-footer-grid{
    display:grid;
    grid-template-columns:1.45fr .72fr 1.08fr .92fr 1.08fr;
    align-items:start;
}
.hth-footer-brand{
    padding-right:36px;
    min-width:0;
}
.hth-footer-logo{
    display:inline-flex;
    align-items:center;
    min-height:50px;
    margin-bottom:12px;
    text-decoration:none;
}
.hth-footer-logo img,
.hth-footer-logo .custom-logo{
    display:block;
    width:auto;
    height:auto;
    max-width:145px;
    max-height:58px;
    object-fit:contain;
}
.hth-footer-logo .custom-logo-link{display:block}
.hth-footer-logo-fallback{display:flex;flex-direction:column;line-height:1;color:#111}
.hth-footer-logo-fallback b{font-size:34px;letter-spacing:-2px}
.hth-footer-logo-fallback small{font-size:14px;margin-top:2px}
.hth-footer-brand p{
    margin:0 0 20px;
    max-width:260px;
    color:#666;
    font-size:14px;
    line-height:1.65;
}
.hth-footer-socials{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.hth-footer-socials a{
    width:30px;
    height:30px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#171717;
    color:#fff;
    text-decoration:none;
    transition:transform .2s ease, background .2s ease;
}
.hth-footer-socials a:hover{transform:translateY(-2px);background:#e71922;color:#fff}
.hth-footer-socials svg{width:16px;height:16px;fill:currentColor;stroke:none}
.hth-footer-socials span{font-size:14px;font-weight:700;letter-spacing:-.2px}
.hth-footer-col{
    min-height:150px;
    padding:2px 24px 0 26px;
    border-left:1px solid #ededed;
}
.hth-footer-col h4{
    margin:0 0 14px;
    color:#202020;
    font-size:14px;
    line-height:1.35;
    font-weight:700;
    text-transform:none;
}
.hth-footer-col ul{list-style:none;margin:0;padding:0}
.hth-footer-col li{margin:0 0 8px;padding:0}
.hth-footer-col a{
    color:#666;
    text-decoration:none;
    font-size:14px;
    line-height:1.4;
    transition:color .2s ease;
}
.hth-footer-col a:hover{color:#e71922}
.hth-footer-bottom-wrap{border-top:1px solid #ececec;background:#fbfbfb}
.hth-footer-bottom{
    min-height:58px;
    display:grid;
    grid-template-columns:1.45fr .7fr 1.18fr 1.35fr;
    gap:28px;
    align-items:center;
}
.hth-footer-contact{
    min-width:0;
    display:flex;
    align-items:center;
    gap:10px;
    color:#555;
    text-decoration:none;
    white-space:nowrap;
    font-size:14px;
}
a.hth-footer-contact:hover{color:#e71922}
.hth-footer-contact-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}
.hth-footer-contact-icon svg{
    width:20px;
    height:20px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
}
.hth-footer-copyright{
    text-align:right;
    color:#777;
    white-space:nowrap;
    font-size:14px;
}

@media (max-width:1100px){
    .hth-footer-grid{grid-template-columns:1.35fr repeat(2,1fr);row-gap:30px}
    .hth-footer-col-3{border-left:0;padding-left:0}
    .hth-footer-col-4{border-left:1px solid #ededed}
    .hth-footer-bottom{grid-template-columns:1fr 1fr;gap:16px 28px;padding:15px 0}
    .hth-footer-copyright{text-align:left}
}
@media (max-width:760px){
    .hth-footer .container{width:min(100% - 32px,1320px)}
    .hth-footer-main{padding:30px 0 22px}
    .hth-footer-grid{grid-template-columns:1fr 1fr;column-gap:20px;row-gap:26px}
    .hth-footer-brand{grid-column:1/-1;padding-right:0}
    .hth-footer-brand p{max-width:100%}
    .hth-footer-col{border-left:0;padding:0;min-height:0}
    .hth-footer-col-2,.hth-footer-col-4{border-left:1px solid #ededed;padding-left:20px}
    .hth-footer-bottom{grid-template-columns:1fr;gap:12px;padding:18px 0}
    .hth-footer-contact{white-space:normal;align-items:flex-start}
    .hth-footer-copyright{text-align:left;white-space:normal;padding-top:4px}
}
@media (max-width:480px){
    .hth-footer-grid{grid-template-columns:1fr}
    .hth-footer-col-2,.hth-footer-col-4{border-left:0;padding-left:0}
    .hth-footer-col{padding-bottom:10px;border-bottom:1px solid #f0f0f0}
    .hth-footer-col:last-child{border-bottom:0}
}


/* v4.4 - Footer ACF: WYSIWYG intro */
.hth-footer-intro{margin:0 0 18px;}
.hth-footer-intro p{margin:0 0 8px;max-width:270px;color:#555;font-size:14px;line-height:1.65;}
.hth-footer-intro p:last-child{margin-bottom:0;}
@media (max-width:760px){.hth-footer-intro p{max-width:100%;}}

/* ==========================================================
 * v5.6 - NGUỒN HÀNG MẸ & BÉ (CLEAN - single source of truth)
 * ========================================================== */
.hth-mb-page{background:#fff;color:#202020;overflow:hidden}.hth-mb-page *{box-sizing:border-box}.hth-mb-page h1,.hth-mb-page h2,.hth-mb-page h3{font-family:inherit;font-style:normal;letter-spacing:0}.hth-mb-page h2{color:#202020}.hth-mb-page .hth-svg-icon{color:#ed1c24;flex:0 0 34px}.hth-mb-page .hth-svg-icon svg{width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:2}
.hth-mb-hero{position:relative;min-height:480px;background:#fff5f5;overflow:hidden}.hth-mb-hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center right}.hth-mb-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.98) 40%,rgba(255,255,255,.72) 53%,rgba(255,255,255,.08) 73%,transparent 100%)}.hth-mb-hero-inner{position:relative;z-index:2;min-height:480px;display:flex;align-items:center}.hth-mb-hero-copy{width:52%;padding:30px 0}.hth-mb-hero-copy h1{font-size:clamp(34px,3.3vw,46px);line-height:1.08;font-weight:800;margin:10px 0 15px}.hth-mb-hero-copy h1 span{color:#ed1c24}.hth-mb-hero-copy p{font-size:15px;line-height:1.58;margin:0 0 8px}.hth-mb-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:18px}
.hth-mb-features{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid #eee;border-radius:6px;background:#fff;margin:12px auto 14px}.hth-mb-features article{display:flex;gap:12px;align-items:center;padding:14px 18px;border-right:1px solid #eee}.hth-mb-features article:last-child{border-right:0}.hth-mb-features strong,.hth-mb-features small{display:block}.hth-mb-features strong{font-size:14px}.hth-mb-features small{font-size:12px;color:#666;margin-top:2px}
.hth-mb-groups{padding:0 0 20px}.hth-mb-groups>header{text-align:center;margin-bottom:13px}.hth-mb-groups h2{font-size:28px;margin:0 0 4px}.hth-mb-groups header p{margin:0;color:#666;font-size:14px}.hth-mb-group-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.hth-mb-group-grid article{display:flex;flex-direction:column;min-width:0;background:#fff7f7;border:1px solid #f3e3e3;border-radius:6px;overflow:hidden}.hth-mb-group-img{height:132px;padding:8px 12px;display:flex;align-items:center;justify-content:center;background:transparent;overflow:hidden}.hth-mb-group-img img{width:100%;height:100%;object-fit:contain}.hth-mb-group-copy{padding:10px 12px 12px;display:flex;flex-direction:column;flex:1;background:transparent}.hth-mb-group-info{display:grid;grid-template-columns:30px minmax(0,1fr);gap:9px;align-items:start;flex:1}.hth-mb-group-info>.hth-svg-icon{width:28px;height:28px;margin-top:1px}.hth-mb-group-info>.hth-svg-icon svg{width:28px;height:28px}.hth-mb-group-text{min-width:0}.hth-mb-group-text h3{font-size:16px;line-height:1.25;margin:0 0 6px}.hth-mb-group-text p{font-size:13px;line-height:1.45;color:#555;margin:0}.hth-mb-group-copy>a{display:block;width:100%;margin-top:12px;text-align:center;color:#ed1c24;font-size:13px;font-weight:700;text-decoration:none;border:1px solid #ed1c24;border-radius:4px;padding:7px 6px;background:#fff}
.hth-mb-select{display:grid;grid-template-columns:1fr 1.12fr;align-items:stretch;margin:0 auto 14px}.hth-mb-select-img{min-height:300px;overflow:hidden;border-radius:5px}.hth-mb-select-img img{width:100%;height:100%;object-fit:cover}.hth-mb-select-copy{padding:20px 0 16px 28px}.hth-mb-select-copy h2{font-size:28px;margin:0 0 7px}.hth-mb-select-copy>p{font-size:14px;line-height:1.55;margin:0 0 7px}.hth-mb-mini-models{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.hth-mb-mini-models>div{display:grid;grid-template-columns:30px 1fr;column-gap:7px;align-items:start;border:1px solid #eee;border-radius:5px;padding:10px}.hth-mb-mini-models .hth-svg-icon{grid-row:1/3}.hth-mb-mini-models strong,.hth-mb-mini-models small{display:block}.hth-mb-mini-models strong{font-size:12px}.hth-mb-mini-models small{font-size:11px;color:#666;line-height:1.35}
.hth-mb-kids{background:#fff0f0}.hth-mb-kids-inner{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;min-height:255px}.hth-mb-kids-copy{padding:26px 20px 26px 0}.hth-mb-kids-copy h2{font-size:27px;color:#ed1c24;margin:0 0 5px}.hth-mb-kids-copy h3{font-size:17px;margin:0 0 8px}.hth-mb-kids-copy p{font-size:13px;line-height:1.5;margin:0 0 6px}.hth-mb-kids-img{overflow:hidden}.hth-mb-kids-img img{width:100%;height:100%;object-fit:cover}
.hth-mb-business{padding:22px 0;text-align:center}.hth-mb-business>header{margin-bottom:12px}.hth-mb-business h2{font-size:27px;margin:0 0 3px}.hth-mb-business header p{margin:0;color:#666;font-size:13px}.hth-mb-business>div{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;text-align:left;margin-bottom:12px}.hth-mb-business article{display:flex;gap:12px;border:1px solid #eee;border-radius:5px;padding:13px;background:#fff}.hth-mb-business article h3{font-size:14px;margin:0 0 3px}.hth-mb-business article p{font-size:12px;color:#666;line-height:1.4;margin:0}
.hth-mb-proof{background:#fff0f0;padding:24px 0}.hth-mb-proof>.container{display:grid;grid-template-columns:1.15fr 2fr;gap:34px;align-items:start}.hth-mb-proof h2{font-size:23px;margin:0 0 6px}.hth-mb-proof p{font-size:13px;margin:0;line-height:1.55}.hth-mb-proof-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:0}.hth-mb-proof-grid>div{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:0 18px;border-left:1px solid rgba(0,0,0,.08)}.hth-mb-proof-grid>div:first-child{border-left:0}.hth-mb-proof-grid .hth-svg-icon{display:flex;align-items:center;justify-content:flex-start;width:34px;height:34px;margin:0 0 8px;color:#ed1c24}.hth-mb-proof-grid strong,.hth-mb-proof-grid small{display:block;text-align:left}.hth-mb-proof-grid strong{font-size:13px;line-height:1.25;margin:0 0 4px}.hth-mb-proof-grid small{font-size:11px;color:#555;line-height:1.35}
.hth-mb-finder{display:grid;grid-template-columns:.9fr 1.25fr;align-items:center;gap:38px;padding:22px 0}.hth-mb-finder-img img{width:100%;display:block;max-height:210px;object-fit:contain}.hth-mb-finder h2{font-size:27px;margin:0 0 7px}.hth-mb-finder p{font-size:13px;line-height:1.5;margin:0 0 12px}.hth-mb-page .hth-page-cta h2{font-size:24px;color:#ed1c24;margin-bottom:4px}
@media(max-width:980px){.hth-mb-hero-copy{width:62%}.hth-mb-group-grid{grid-template-columns:repeat(2,1fr)}.hth-mb-features{grid-template-columns:repeat(2,1fr)}.hth-mb-features article:nth-child(2){border-right:0}.hth-mb-select,.hth-mb-kids-inner,.hth-mb-proof>.container,.hth-mb-finder{grid-template-columns:1fr}.hth-mb-select-copy{padding:20px 0}.hth-mb-kids-copy{padding:24px 0}.hth-mb-kids-img{min-height:260px}.hth-mb-proof-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:680px){.hth-mb-hero{min-height:590px}.hth-mb-hero-bg{object-position:68% center}.hth-mb-hero-shade{background:rgba(255,255,255,.9)}.hth-mb-hero-inner{min-height:590px}.hth-mb-hero-copy{width:100%;padding:24px 0}.hth-mb-hero-copy h1{font-size:33px}.hth-mb-features,.hth-mb-group-grid,.hth-mb-business>div,.hth-mb-mini-models,.hth-mb-proof-grid{grid-template-columns:1fr}.hth-mb-features article{border-right:0;border-bottom:1px solid #eee}.hth-mb-group-img{height:145px}.hth-mb-select-img{min-height:230px}.hth-mb-kids-inner{display:flex;flex-direction:column}.hth-mb-kids-img{min-height:230px}.hth-mb-finder{gap:18px}.hth-mb-actions .btn{width:100%;text-align:center}}

/* ==========================================================
 * v5.5 - WORDPRESS MENU: một nguồn cho desktop + mobile
 * ========================================================== */
.site-header .primary-nav .sub-menu{
    list-style:none;
    margin:0;
}
@media (min-width:1101px){
    .site-header .menu-toggle{display:none!important;}
    .site-header .hthvn-menu > li{position:relative;}
    .site-header .hthvn-menu .sub-menu{
        display:none;
        position:absolute;
        top:100%; left:0;
        min-width:220px;
        padding:8px 0;
        background:#fff;
        border:1px solid #eee;
        box-shadow:0 10px 30px rgba(0,0,0,.08);
        z-index:9999;
    }
    .site-header .hthvn-menu li:hover > .sub-menu,
    .site-header .hthvn-menu li:focus-within > .sub-menu{display:block;}
    .site-header .hthvn-menu .sub-menu a{
        display:block;
        padding:10px 16px;
        white-space:nowrap;
    }
}
@media (max-width:1100px){
    .site-header{position:relative;z-index:10000;}
    .site-header .menu-toggle{
        display:flex!important;
        align-items:center;
        justify-content:center;
        width:42px;height:42px;
        border:0;background:transparent;
        font-size:27px;line-height:1;
        cursor:pointer;
    }
    .site-header .primary-nav{
        display:none!important;
        position:absolute!important;
        top:100%!important;
        left:0!important;right:0!important;
        width:100%!important;
        max-height:calc(100vh - 70px);
        overflow:auto;
        background:#fff;
        border-top:1px solid #eee;
        box-shadow:0 12px 24px rgba(0,0,0,.08);
        z-index:9999;
    }
    .site-header .primary-nav.is-open{display:block!important;}
    .site-header .hthvn-menu,
    .site-header .primary-nav > ul{
        display:block!important;
        width:min(100% - 32px,1320px)!important;
        margin:0 auto!important;
        padding:10px 0 16px!important;
        list-style:none!important;
    }
    .site-header .hthvn-menu li{display:block!important;width:100%;}
    .site-header .hthvn-menu a{
        display:block!important;
        padding:12px 4px!important;
        white-space:normal!important;
        border-bottom:1px solid #f1f1f1;
    }
    .site-header .hthvn-menu .sub-menu{
        display:block;
        position:static;
        padding:0 0 0 18px;
        background:#fafafa;
    }
    .site-header .header-actions .search-toggle{display:none;}
}

/* ==========================================================
 * v5.7 - MẸ & BÉ: hoàn thiện từng khối theo layout mẫu
 * ========================================================== */
@media (min-width:981px){
  /* Khối "Ngun hàng đa dạng" giữ nội dung theo container nhưng ảnh bung sát mép trái viewport */
  .hth-mb-select{overflow:visible;}
  .hth-mb-select-img{
    width:calc(100% + (100vw - min(1320px, calc(100vw - 40px)))/2);
    margin-left:calc((100vw - min(1320px, calc(100vw - 40px)))/-2);
    border-radius:0 6px 6px 0;
  }
  .hth-mb-select-img img{width:100%;height:100%;object-fit:cover;object-position:center;}
}
/* Card 5 nhóm hàng: đng đều, nút cố định dới đáy */
.hth-mb-group-grid article{height:100%;}
.hth-mb-group-copy{min-height:210px;}
.hth-mb-group-info{align-content:start;}
.hth-mb-group-copy>a{margin-top:auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
/* Các section tách r thành từng khối, không dính/chồng */
.hth-mb-features,.hth-mb-groups,.hth-mb-select,.hth-mb-business,.hth-mb-finder{position:relative;z-index:1;}
.hth-mb-select{margin-top:0;margin-bottom:0;}
.hth-mb-kids{clear:both;position:relative;z-index:1;}
@media(max-width:980px){
  .hth-mb-select-img{width:100%;margin-left:0;border-radius:6px;}
  .hth-mb-group-copy{min-height:0;}
}
\n\n/* ==========================================================
 * v5.8 - MẸ & BÉ: nhóm hàng theo bản vẽ + ACF đ từng khối
 * ========================================================== */
.hth-mb-group-grid article{
  background:#fff;
  border:1px solid #e9e9e9;
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,.025);
}
.hth-mb-group-img{
  width:100%;
  height:auto;
  aspect-ratio:4/3;
  padding:0;
  background:#fff;
  overflow:hidden;
}
.hth-mb-group-img img{
  width:100%;height:100%;display:block;
  object-fit:cover;
  object-position:center;
}
.hth-mb-group-copy{
  padding:12px 14px 13px;
  background:#fff;
  min-height:218px;
}
.hth-mb-group-info{display:block;}
.hth-mb-group-copy .hth-svg-icon{display:none!important;}
.hth-mb-group-text h3{
  font-size:17px;line-height:1.3;font-weight:700;
  margin:0 0 8px;color:#171717;
}
.hth-mb-group-text p{
  font-size:14px;line-height:1.5;color:#4f4f4f;margin:0;
}
.hth-mb-group-copy>a{
  margin-top:auto;
  width:100%;
  min-height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:8px 8px;
  background:#fff;
  border:1px solid #ed1c24;
  color:#ed1c24;
  border-radius:5px;
  font-size:13px;
  font-weight:700;
  white-space:normal;
  overflow:visible;
  text-overflow:clip;
}
@media(max-width:680px){
  .hth-mb-group-img{aspect-ratio:4/3;height:auto;}
  .hth-mb-group-copy{min-height:0;}
}

/* ==========================================================
 * v5.9 - MẸ & BÉ: card trắng, section gap, Kids & Mama background
 * ========================================================== */
.hth-mb-page > section{margin-top:26px;margin-bottom:26px;}
.hth-mb-page > .hth-mb-hero{margin-top:0;}
.hth-mb-page > .hth-page-cta{margin-bottom:0;}
.hth-mb-features{margin-top:18px!important;margin-bottom:28px!important;}
.hth-mb-groups{padding-bottom:0;}
.hth-mb-group-grid{align-items:stretch;}
.hth-mb-group-grid article{display:flex;flex-direction:column;background:#fff!important;}
.hth-mb-group-img{aspect-ratio:4/3;background:#fff!important;}
.hth-mb-group-img img{width:100%;height:100%;object-fit:cover;object-position:center;}
.hth-mb-group-copy{display:flex;flex:1;flex-direction:column;background:#fff!important;min-height:230px;}
.hth-mb-group-text{flex:1;}
.hth-mb-group-text h3{color:#171717!important;}
.hth-mb-group-text p{color:#4f4f4f!important;}
.hth-mb-group-copy>a{margin-top:16px;}

/* Kids & Mama: ảnh ACF là background toàn section, phủ sát mép phải */
.hth-mb-kids{
  position:relative;
  min-height:320px;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center right;
  overflow:hidden;
}
.hth-mb-kids-shade{
  position:absolute;inset:0;z-index:0;
  background:linear-gradient(90deg,rgba(255,247,247,.99) 0%,rgba(255,247,247,.97) 39%,rgba(255,247,247,.72) 52%,rgba(255,247,247,.18) 68%,rgba(255,247,247,0) 78%);
}
.hth-mb-kids-inner{position:relative;z-index:1;display:block;min-height:320px;}
.hth-mb-kids-copy{width:52%;padding:34px 0;}
.hth-mb-kids-img{display:none!important;}

/* Khối sản phẩm WooCommerce riêng */
.hth-mb-products{padding-top:4px;padding-bottom:4px;}
.hth-mb-products>header{text-align:left;margin-bottom:14px;}
.hth-mb-products>header h2{font-size:27px;margin:0 0 5px;color:#ed1c24;}
.hth-mb-products>header p{margin:0;color:#666;}
.hth-mb-products .hth-product-cards{margin-top:12px;}

@media(max-width:980px){
 .hth-mb-page > section{margin-top:22px;margin-bottom:22px;}
 .hth-mb-kids{min-height:300px;background-position:65% center;}
 .hth-mb-kids-inner{min-height:300px;}
 .hth-mb-kids-copy{width:62%;}
}
@media(max-width:680px){
 .hth-mb-page > section{margin-top:18px;margin-bottom:18px;}
 .hth-mb-kids{min-height:auto;background-position:70% center;}
 .hth-mb-kids-shade{background:rgba(255,247,247,.9);}
 .hth-mb-kids-inner{min-height:auto;}
 .hth-mb-kids-copy{width:100%;padding:30px 0;}
 .hth-mb-group-copy{min-height:0;}
}


/* v6.0 - CTA cuối dạng background + proof icon trên tiêu đề */
.hth-mb-final-cta{position:relative;min-height:190px;background-repeat:no-repeat;background-size:cover;background-position:center right;overflow:hidden;}
.hth-mb-final-cta-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,244,244,.99) 0%,rgba(255,244,244,.96) 40%,rgba(255,244,244,.58) 57%,rgba(255,244,244,.06) 75%);z-index:0;}
.hth-mb-final-cta .hth-page-cta-inner{position:relative;z-index:1;display:block;padding-top:28px;padding-bottom:28px;}
.hth-mb-final-cta-copy{width:48%;max-width:650px;}
.hth-mb-final-cta-copy h2{font-size:26px!important;line-height:1.15;margin:0 0 7px!important;}
.hth-mb-final-cta-copy>div:not(.hth-mb-final-cta-actions){font-size:13px;line-height:1.45;color:#555;}
.hth-mb-final-cta-copy p{margin:0;}
.hth-mb-final-cta-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:14px;}
@media(max-width:980px){.hth-mb-final-cta-copy{width:58%}.hth-mb-proof>.container{grid-template-columns:1fr}.hth-mb-proof-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}.hth-mb-proof-grid>div:nth-child(3){border-left:0}}
@media(max-width:680px){.hth-mb-final-cta{min-height:auto;background-position:70% center}.hth-mb-final-cta-shade{background:rgba(255,244,244,.9)}.hth-mb-final-cta-copy{width:100%}.hth-mb-final-cta-actions{display:grid;grid-template-columns:1fr}.hth-mb-proof-grid{grid-template-columns:1fr}.hth-mb-proof-grid>div{border-left:0;border-top:1px solid rgba(0,0,0,.08);padding:14px 0}.hth-mb-proof-grid>div:first-child{border-top:0}}
\n\n/* ==========================================================
 * v6.1 - MẸ & BÉ: nhóm hàng theo danh mục WooCommerce
 * ========================================================== */
@media (min-width:1101px){
  .hth-mb-groups.container{
    width:min(1320px,calc(100% - 48px));
    max-width:1320px;
  }
}
.hth-mb-group-grid{gap:14px;}
.hth-mb-group-grid article{
  background:#fff!important;
  border:1px solid #e6e6e6;
  border-radius:7px;
  overflow:hidden;
}
.hth-mb-group-img{
  width:100%;
  aspect-ratio:4/3;
  height:auto!important;
  padding:0!important;
  background:#fff!important;
}
.hth-mb-group-img img{
  width:100%;height:100%;display:block;
  object-fit:cover;object-position:center;
}
.hth-mb-group-copy{
  padding:12px 14px 13px;
  min-height:235px;
  background:#fff!important;
}
.hth-mb-group-text h3{font-size:17px;line-height:1.3;margin:0 0 8px;color:#151515!important;}
.hth-mb-group-text p{font-size:14px;line-height:1.5;margin:0;color:#4b4b4b!important;}
.hth-mb-group-copy>a{
  margin-top:16px;
  min-height:40px;
  padding:8px 9px;
  display:flex;align-items:center;justify-content:center;
  text-align:center;
  white-space:normal;
  border:1px solid #ed1c24;
  border-radius:5px;
  background:#fff;
  color:#ed1c24;
  font-size:13px;
  font-weight:700;
  line-height:1.25;
}
@media(max-width:980px){.hth-mb-group-copy{min-height:0;}}


/* ==========================================================
 * v6.3 - ĐỒNG BỘ ROW/CONTAINER TON WEBSITE
 * Chuẩn desktop: 1320px; gutter 24px mỗi bên.
 * ========================================================== */
:root{--hth-row-max:1320px;--hth-row-gutter:24px;}
@media (min-width:761px){
  body .container{
    width:min(var(--hth-row-max),calc(100% - (var(--hth-row-gutter) * 2)));
    max-width:var(--hth-row-max);
    margin-left:auto;
    margin-right:auto;
  }
}
@media (max-width:760px){
  :root{--hth-row-gutter:14px;}
  body .container{
    width:calc(100% - (var(--hth-row-gutter) * 2));
    max-width:100%;
    margin-left:auto;
    margin-right:auto;
  }
}

/* v7.9 product card status badge */
.hth-mini-product-img{position:relative}.hth-mini-product-img .hth-product-card-badge{position:absolute;z-index:3;top:10px;left:10px;display:inline-flex;align-items:center;justify-content:center;min-height:28px;padding:5px 11px;border-radius:5px;color:#fff;font-size:13px;font-weight:800;line-height:1}.hth-mini-product-img .hth-product-card-badge.is-exclusive{background:#e3131c}.hth-mini-product-img .hth-product-card-badge.is-bestseller{background:#d99a22}


/*form liên hệ*/
/* ==================================================
   HTH CONTACT FORM 7
   Gọn - 2 cột PC - 1 cột Mobile
   ================================================== */

.hth-contact-form {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =========================
   XỬ LÝ THẺ P + BR CỦA CF7
   ========================= */

.hth-contact-form p {
    margin: 0 !important;
    padding: 0 !important;
}

/* CF7 tự chèn BR giữa label và field */
.hth-contact-form .hth-form-col p > br,
.hth-contact-form .hth-form-full p > br {
    display: none !important;
}

/* =========================
   ROW / COLUMN
   ========================= */

.hth-contact-form .hth-form-row {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    width: 100%;
    margin: 0 0 10px;
    padding: 0;
}

.hth-contact-form .hth-form-col {
    flex: 1 1 0;
    width: 50%;
    min-width: 0;
}

.hth-contact-form .hth-form-full {
    width: 100%;
    min-width: 0;
}

/* =========================
   LABEL
   ========================= */

.hth-contact-form label {
    display: block;
    margin: 0 0 5px !important;
    padding: 0;
    color: #111;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
}

.hth-contact-form .required {
    color: #e60012;
}

/* =========================
   CF7 CONTROL WRAPPER
   ========================= */

.hth-contact-form .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* =========================
   INPUT / SELECT / TEXTAREA
   ========================= */

.hth-contact-form input[type="text"],
.hth-contact-form input[type="email"],
.hth-contact-form input[type="tel"],
.hth-contact-form select,
.hth-contact-form textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;

    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    color: #222;

    background: #fff;
    border: 1px solid #d8dee6;
    border-radius: 6px;

    outline: none;
    box-shadow: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

/* Input thường */
.hth-contact-form input[type="text"],
.hth-contact-form input[type="email"],
.hth-contact-form input[type="tel"],
.hth-contact-form select {
    height: 44px;
    padding: 0 14px;
}

/* =========================
   TEXTAREA
   ========================= */

.hth-contact-form textarea {
    height: 92px;
    min-height: 92px;
    padding: 10px 14px;
    line-height: 1.45;
    resize: vertical;
}

/* =========================
   PLACEHOLDER
   ========================= */

.hth-contact-form input::placeholder,
.hth-contact-form textarea::placeholder {
    color: #8b95a5;
    opacity: 1;
}

/* =========================
   SELECT
   ========================= */

.hth-contact-form select {
    cursor: pointer;
    color: #333;
    background-color: #fff;
}

/* =========================
   FOCUS
   ========================= */

.hth-contact-form input[type="text"]:focus,
.hth-contact-form input[type="email"]:focus,
.hth-contact-form input[type="tel"]:focus,
.hth-contact-form select:focus,
.hth-contact-form textarea:focus {
    border-color: #e60012;
    box-shadow: 0 0 0 2px rgba(230, 0, 18, 0.07);
}

/* =========================
   NÚT GỬI
   ========================= */

.hth-contact-form .hth-submit-wrap {
    width: 100%;
    margin: 2px 0 0;
    padding: 0;
}

.hth-contact-form input.hth-submit {
    display: inline-block;

    width: auto;
    min-width: 240px;
    height: 50px;

    margin: 0 !important;
    padding: 0 26px;

    border: 0;
    border-radius: 6px;

    background: #f20d12;
    color: #fff;

    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    line-height: 50px;
    text-align: center;
    text-transform: none;

    cursor: pointer;
    box-shadow: none;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.hth-contact-form input.hth-submit:hover {
    background: #d90005;
    color: #fff;
    transform: translateY(-1px);
}

/* =========================
   VALIDATION
   ========================= */

.hth-contact-form .wpcf7-not-valid {
    border-color: #e60012 !important;
}

.hth-contact-form .wpcf7-not-valid-tip {
    display: block;
    margin: 3px 0 0;
    padding: 0;

    color: #e60012;
    font-size: 13px;
    line-height: 1.3;
}

.hth-contact-form .wpcf7-response-output {
    margin: 10px 0 0 !important;
    padding: 8px 12px !important;

    font-size: 14px;
    line-height: 1.5;

    border-radius: 5px;
}

/* Spinner */
.hth-contact-form .wpcf7-spinner {
    margin: 0 0 0 10px;
    vertical-align: middle;
}

/* =========================
   TIÊU ĐỀ FORM
   ========================= */

.hth-form-heading {
    margin: 0 0 14px;
    padding: 0;
}

.hth-form-heading h2 {
    margin: 0 0 3px;
    padding: 0;

    color: #111;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
}

.hth-form-heading p {
    margin: 0 !important;
    padding: 0;

    color: #667085;
    font-size: 15px;
    line-height: 1.5;
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 767px) {

    .hth-contact-form .hth-form-row {
        display: block;
        margin-bottom: 0;
    }

    .hth-contact-form .hth-form-col,
    .hth-contact-form .hth-form-full {
        width: 100%;
        margin: 0 0 10px;
    }

    .hth-contact-form label {
        margin-bottom: 4px !important;
        font-size: 15px;
    }

    .hth-contact-form input[type="text"],
    .hth-contact-form input[type="email"],
    .hth-contact-form input[type="tel"],
    .hth-contact-form select {
        height: 44px;
    }

    .hth-contact-form textarea {
        height: 95px;
        min-height: 95px;
    }

    .hth-contact-form input.hth-submit {
        width: 100%;
        min-width: 0;
        height: 48px;
        line-height: 48px;
    }

    .hth-form-heading {
        margin-bottom: 12px;
    }

    .hth-form-heading h2 {
        font-size: 25px;
    }
}
.ct-box input[type=submit], .ct-box button {
    width: auto;
    background: var(--ct-red);
    color: #fff;
    border: 0;
    padding: 0!important;
}
/* ==========================================================
 * v7.34 - DÀNH CHO ĐẠI LÝ
 * ========================================================== */
.hthdl-page{--red:#e60012;--ink:#151a26;color:var(--ink);background:#fff}.hthdl-page .container{width:min(1320px,calc(100% - 40px));max-width:1320px;margin:auto}.hthdl-hero{min-height:455px;background:linear-gradient(90deg,#fff 0%,rgba(255,255,255,.94) 44%,rgba(255,255,255,.08) 67%),var(--hero,linear-gradient(135deg,#fff7f7,#f5f5f5));background-size:cover;background-position:center right}.hthdl-hero-in{min-height:455px;display:flex;align-items:center}.hthdl-copy{width:54%;padding:32px 0}.hthdl-crumb{font-size:14px;margin-bottom:18px}.hthdl-crumb strong{color:var(--red)}.hthdl-copy h1{font-size:44px;line-height:1.12;margin:0 0 16px;font-weight:800;letter-spacing:-.8px}.hthdl-copy h1 span{color:var(--red)}.hthdl-lead{font-size:16px;line-height:1.7;max-width:700px}.hthdl-lead p{margin:0 0 9px}.hthdl-actions{display:flex;gap:16px;margin-top:24px;flex-wrap:wrap}.hthdl-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 24px;border-radius:5px;font-weight:700;text-decoration:none!important}.hthdl-btn.red{background:var(--red);color:#fff}.hthdl-btn.outline{border:1.5px solid var(--red);color:var(--red);background:#fff}.hthdl-quick{border-top:1px solid #eee;border-bottom:1px solid #eee;background:#fff;position:relative;z-index:2}.hthdl-quick-in{display:grid;grid-template-columns:repeat(7,1fr)}.hthdl-quick a{min-height:64px;display:flex;align-items:center;justify-content:center;gap:10px;color:#242936;text-decoration:none!important;border-right:1px solid #eee;font-size:14px}.hthdl-quick a:first-child{border-left:1px solid #eee}.hthdl-quick a>span{width:26px;height:26px;color:var(--red);display:grid;place-items:center}.hthdl-quick img,.hthdl-round-icon img,.hthdl-step-icon img,.hthdl-model h2 img{width:100%;height:100%;object-fit:contain}.hthdl-svg,.hthdl-svg svg{display:block;width:100%;height:100%;color:var(--red)}.hthdl-models{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;padding-top:24px;padding-bottom:24px}.hthdl-model{border:1px solid #ddd;border-radius:7px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.hthdl-model-img{aspect-ratio:16/8.2;background:#f5f5f5;overflow:hidden}.hthdl-model-img img{width:100%;height:100%;object-fit:cover}.hthdl-img-placeholder{height:100%;display:grid;place-items:center;color:#999;background:linear-gradient(135deg,#f8f8f8,#eee)}.hthdl-model-body{padding:18px 20px 16px;display:flex;flex-direction:column;flex:1}.hthdl-model h2{font-size:23px;margin:0 0 12px;display:flex;align-items:center;gap:10px}.hthdl-model h2 span{width:34px;height:34px;color:var(--red)}.hthdl-model ul{list-style:none;padding:0;margin:0 0 16px;flex:1}.hthdl-model li{position:relative;padding:5px 0 5px 24px;line-height:1.45}.hthdl-model li:before{content:'✓';position:absolute;left:0;color:var(--red);font-weight:900}.hthdl-card-btn{border:1.5px solid var(--red);color:var(--red)!important;text-align:center;padding:10px 12px;border-radius:5px;font-weight:700;text-decoration:none!important}.hthdl-benefit{background:linear-gradient(90deg,#fff7f7,#fff,#fff7f7);padding:25px 0 30px}.hthdl-section-title{text-align:center;font-size:34px;margin:0 0 20px;font-weight:800}.hthdl-section-title:first-letter{}.hthdl-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px 50px}.hthdl-benefit-grid article{display:flex;gap:16px;align-items:flex-start}.hthdl-round-icon{width:66px;height:66px;min-width:66px;border-radius:50%;background:#fff;display:grid;place-items:center;padding:17px;box-shadow:0 3px 18px rgba(0,0,0,.04);color:var(--red)}.hthdl-benefit h3{font-size:18px;margin:5px 0 4px}.hthdl-benefit p{margin:0;color:#555;line-height:1.45}.hthdl-process{padding-top:28px;padding-bottom:28px}.hthdl-process .hthdl-section-title{margin-bottom:2px}.hthdl-subtitle{text-align:center;color:#666;margin:0 0 22px}.hthdl-step-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:36px}.hthdl-step-grid article{position:relative;padding-left:62px;min-height:112px}.hthdl-step-grid article:not(:last-child):after{content:'→';position:absolute;right:-28px;top:28px;color:#8ba1b5;font-size:24px}.hthdl-step-grid b{position:absolute;left:0;top:20px;width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:var(--red);color:#fff}.hthdl-step-icon{width:38px;height:38px;display:block;color:var(--red);margin-bottom:3px}.hthdl-step-grid small{color:var(--red);font-weight:700}.hthdl-step-grid h3{font-size:17px;margin:2px 0 3px}.hthdl-step-grid p{margin:0;color:#555;line-height:1.4}.hthdl-info-row{display:grid!important;grid-template-columns:.9fr 1.25fr;gap:28px;border-top:1px solid #eee;padding-top:24px;padding-bottom:28px}.hthdl-heading-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.hthdl-heading-row h2{font-size:28px;color:var(--red);margin:0}.hthdl-heading-row a{font-size:13px;color:var(--red);font-weight:700}.hthdl-faq details{border:1px solid #ddd;border-radius:5px;margin-bottom:10px;background:#fff}.hthdl-faq summary{cursor:pointer;padding:14px 16px;font-weight:700;display:flex;justify-content:space-between;list-style:none}.hthdl-faq summary span{color:var(--red);font-size:20px}.hthdl-faq details p{padding:0 16px 14px;margin:0;color:#555}.hthdl-posts{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.hthdl-posts article{border:1px solid #ddd;border-radius:5px;overflow:hidden;padding-bottom:12px}.hthdl-post-img{display:block;aspect-ratio:16/9;background:#eee}.hthdl-post-img img{width:100%;height:100%;object-fit:cover}.hthdl-posts article>small,.hthdl-posts article>h3,.hthdl-posts article>p,.hthdl-posts article>.more{margin-left:12px;margin-right:12px}.hthdl-posts small{display:block;color:#777;margin-top:9px}.hthdl-posts h3{font-size:16px;line-height:1.35;margin-top:5px;margin-bottom:5px}.hthdl-posts h3 a{color:#1b2230}.hthdl-posts p{font-size:13px;color:#666;line-height:1.4;margin-top:0}.hthdl-posts .more{color:var(--red);font-size:13px;font-weight:700}.hthdl-register{background:linear-gradient(90deg,#fff1f1,#fff);padding:22px 0}.hthdl-register-in{display:grid!important;grid-template-columns:.9fr 1.25fr;gap:34px;align-items:center}.hthdl-register-art{min-height:230px;display:flex;align-items:center}.hthdl-register-art img{width:100%;max-height:260px;object-fit:contain}.hthdl-register-art>div{display:flex;align-items:center;gap:30px;color:var(--red)}.hthdl-register-art strong{font-size:64px}.hthdl-register-art em{font-size:25px;font-family:cursive}.hthdl-form h2{font-size:28px;color:var(--red);margin:0 0 4px}.hthdl-form>p{margin:0 0 14px;color:#555}.hthdl-demo-form{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.hthdl-demo-form input,.hthdl-demo-form select{height:44px;border:1px solid #ddd;border-radius:4px;padding:0 12px;background:#fff}.hthdl-demo-form button{border:0;background:var(--red);color:#fff;border-radius:4px;font-weight:700}.hthdl-form .wpcf7 form{margin:0}.hthdl-form .wpcf7 p{margin:0 0 8px}.hthdl-form .wpcf7 input,.hthdl-form .wpcf7 select,.hthdl-form .wpcf7 textarea{border:1px solid #ddd;border-radius:4px}.hthdl-form .wpcf7 input[type=submit]{background:var(--red);color:#fff;border:0;font-weight:700}
@media(max-width:900px){.hthdl-page .container{width:min(100% - 28px,1320px)}.hthdl-hero{min-height:auto;background:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.78)),var(--hero);background-size:cover;background-position:center}.hthdl-hero-in{min-height:430px}.hthdl-copy{width:100%;padding:30px 0}.hthdl-copy h1{font-size:34px}.hthdl-quick{overflow-x:auto}.hthdl-quick-in{width:max-content;display:flex}.hthdl-quick a{min-width:160px;padding:0 14px}.hthdl-models{grid-template-columns:1fr}.hthdl-benefit-grid{grid-template-columns:1fr 1fr;gap:20px}.hthdl-step-grid{grid-template-columns:1fr 1fr}.hthdl-step-grid article:after{display:none}.hthdl-info-row,.hthdl-register-in{grid-template-columns:1fr!important}.hthdl-register-art{min-height:auto}.hthdl-posts{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.hthdl-copy h1{font-size:29px}.hthdl-actions{display:grid;grid-template-columns:1fr}.hthdl-btn{width:100%}.hthdl-benefit-grid,.hthdl-step-grid,.hthdl-posts{grid-template-columns:1fr}.hthdl-section-title{font-size:28px}.hthdl-model h2{font-size:21px}.hthdl-info-row{gap:16px}.hthdl-heading-row h2{font-size:24px}.hthdl-demo-form{grid-template-columns:1fr}.hthdl-register-art strong{font-size:48px}.hthdl-register-art em{font-size:20px}}

/* ==========================================================
 * v7.35 - DEALER: khối cuối full background + CF7 bên phải
 * ========================================================== */
.hthdl-register{
  position:relative;
  min-height:250px;
  padding:18px 0;
  background-image:var(--register-bg,linear-gradient(90deg,#fff0f2,#fff7f7));
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  overflow:hidden;
}
.hthdl-register-in{
  min-height:214px;
  display:grid!important;
  grid-template-columns:42% 58%;
  align-items:center;
  gap:18px;
}
.hthdl-register-space{min-height:1px}
.hthdl-form-card{
  background:rgba(255,255,255,.96);
  border-radius:10px;
  padding:16px 22px 18px;
  box-shadow:0 1px 3px rgba(0,0,0,.03);
}
.hthdl-form h2{font-size:28px;line-height:1.15;color:var(--red);margin:0 0 4px;font-weight:800}
.hthdl-form>p{font-size:14px;line-height:1.45;margin:0 0 12px;color:#4d5562;max-width:640px}
.hthdl-demo-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 14px;align-items:end}
.hthdl-demo-form label{display:block;margin:0;font-size:13px;line-height:1.25;font-weight:600;color:#4a5361}
.hthdl-demo-form input,.hthdl-demo-form select{width:100%;height:42px;margin-top:5px;border:1px solid #dce2ea!important;border-radius:5px;padding:0 12px;background:#fff;box-shadow:none}
.hthdl-demo-form button{height:42px;border:0;background:var(--red);color:#fff;border-radius:5px;font-weight:700;font-size:15px;padding:0 16px}
/* CF7: hỗ trợ form chia 3 cột nếu dùng class .hthdl-cf7-grid */
.hthdl-form .wpcf7 form{margin:0}
.hthdl-form .wpcf7 .hthdl-cf7-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px 14px;align-items:end}
.hthdl-form .wpcf7 .hthdl-cf7-field{margin:0}
.hthdl-form .wpcf7 label{display:block;font-size:13px;line-height:1.25;font-weight:600;color:#4a5361}
.hthdl-form .wpcf7 input:not([type=submit]),.hthdl-form .wpcf7 select{width:100%;height:42px;margin-top:5px;border:1px solid #dce2ea;border-radius:5px;padding:0 12px;background:#fff;box-shadow:none}
.hthdl-form .wpcf7 input[type=submit]{width:100%;height:42px;margin:0;background:var(--red);color:#fff;border:0;border-radius:5px;font-weight:700;padding:0 14px}
.hthdl-form .wpcf7-spinner{display:none}
@media(max-width:900px){
 .hthdl-register{background-position:30% center}
 .hthdl-register-in{grid-template-columns:30% 70%!important}
 .hthdl-form-card{padding:16px}
 .hthdl-form .wpcf7 .hthdl-cf7-grid,.hthdl-demo-form{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
 .hthdl-register{padding:18px 0;background-position:22% center}
 .hthdl-register:before{content:'';position:absolute;inset:0;background:rgba(255,245,246,.78)}
 .hthdl-register-in{position:relative;grid-template-columns:1fr!important;min-height:0}
 .hthdl-register-space{display:none}
 .hthdl-form-card{background:rgba(255,255,255,.96)}
 .hthdl-form .wpcf7 .hthdl-cf7-grid,.hthdl-demo-form{grid-template-columns:1fr}
 .hthdl-form h2{font-size:25px}
}

/* Dealer v7.36 refinements */
.hthdl-benefit{background:#fff1f3!important;}
.hthdl-section-title .hthdl-title-red{color:var(--red);}
.hthdl-section-title .hthdl-title-dark{color:var(--ink);}
.hthdl-step-grid article:not(:last-child):after{content:""!important;position:absolute;right:-27px;top:35px;width:54px;height:2px;background:repeating-linear-gradient(90deg,#91a6bc 0 4px,transparent 4px 8px);}
.hthdl-step-grid article:not(:last-child):before{content:"";position:absolute;right:-29px;top:31px;border-left:7px solid #91a6bc;border-top:5px solid transparent;border-bottom:5px solid transparent;}
@media(max-width:900px){.hthdl-step-grid article:before,.hthdl-step-grid article:after{display:none!important;}}
/* v7.37: ép đúng 2 màu tiêu đề */
#loi-ich .hthdl-section-title .hthdl-title-red,
#quy-trinh .hthdl-section-title .hthdl-title-red{color:#ed1c24!important;}
#loi-ich .hthdl-section-title .hthdl-title-dark,
#quy-trinh .hthdl-section-title .hthdl-title-dark{color:#111827!important;}

/* v7.38 - Dealer section title colors: phần đầu đỏ, "hợp tác" đen */
.hthdl-page #loi-ich .hthdl-section-title .hthdl-title-red,
.hthdl-page #quy-trinh .hthdl-section-title .hthdl-title-red {
  color: #ed1c24 !important;
}
.hthdl-page #loi-ich .hthdl-section-title .hthdl-title-dark,
.hthdl-page #quy-trinh .hthdl-section-title .hthdl-title-dark {
  color: #111827 !important;
}

/* v7.39 - Dealer model card: inset the white description panel from the left */
.hthdl-page #mo-hinh .hthdl-model{
    position:relative;
    overflow:hidden;
}
.hthdl-page #mo-hinh .hthdl-model-body{
    position:relative;
    z-index:2;
    margin-left:12px;
    margin-top:-10px;
    padding:15px 18px 16px 18px;
    background:#fff;
    border-radius:12px 0 0 0;
}
@media(max-width:600px){
    .hthdl-page #mo-hinh .hthdl-model-body{
        margin-left:8px;
        margin-top:-8px;
        padding:14px 15px 16px;
        border-radius:9px 0 0 0;
    }
}

/* ==========================================================
 * v7.47 - FIX DROPDOWN MENU KHÔNG CẮT CHỮ
 * ========================================================== */
@media (min-width:1101px){
  .site-header,
  .site-header > .container.header-inner,
  .site-header .primary-nav,
  .site-header .hthvn-menu,
  .site-header .hthvn-menu > li{overflow:visible!important;}
  .site-header .hthvn-menu > li{position:relative!important;}
  .site-header .hthvn-menu .sub-menu{
    width:max-content!important;
    min-width:260px!important;
    max-width:min(420px,calc(100vw - 32px))!important;
    padding:8px 0!important;
    border-radius:0 0 7px 7px;
    overflow:visible!important;
  }
  .site-header .hthvn-menu .sub-menu li{width:100%!important;min-width:100%!important;}
  .site-header .hthvn-menu .sub-menu a{
    width:100%!important;
    min-width:max-content!important;
    padding:13px 18px!important;
    white-space:nowrap!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.35!important;
  }
  .site-header .hthvn-menu > li:last-child .sub-menu,
  .site-header .hthvn-menu > li:nth-last-child(2) .sub-menu{left:auto!important;right:0!important;}
}

/* ==========================================================
 * v7.48 - SUBMENU: bỏ gạch hover chạy xuyên chữ
 * Chỉ áp dụng menu cấp 2+, không thay hiệu ứng menu cấp 1.
 * ========================================================== */
@media (min-width:1101px){
  .site-header .hthvn-menu .sub-menu > li,
  .site-header .hthvn-menu .sub-menu > li:hover,
  .site-header .hthvn-menu .sub-menu > li.current-menu-item,
  .site-header .hthvn-menu .sub-menu > li.current-menu-ancestor{
    border-bottom:1px solid #eeeeee!important;
    box-shadow:none!important;
    background-image:none!important;
  }
  .site-header .hthvn-menu .sub-menu > li:last-child{border-bottom:0!important;}

  .site-header .hthvn-menu .sub-menu > li > a,
  .site-header .hthvn-menu .sub-menu > li > a:hover,
  .site-header .hthvn-menu .sub-menu > li.current-menu-item > a,
  .site-header .hthvn-menu .sub-menu > li.current-menu-ancestor > a{
    position:relative!important;
    display:block!important;
    text-decoration:none!important;
    border:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
    background-image:none!important;
    background-color:#fff!important;
    color:#111!important;
  }
  .site-header .hthvn-menu .sub-menu > li > a:hover,
  .site-header .hthvn-menu .sub-menu > li.current-menu-item > a{
    color:#ed1c24!important;
    background-color:#fff7f7!important;
  }
  .site-header .hthvn-menu .sub-menu > li > a::before,
  .site-header .hthvn-menu .sub-menu > li > a::after,
  .site-header .hthvn-menu .sub-menu > li:hover > a::before,
  .site-header .hthvn-menu .sub-menu > li:hover > a::after,
  .site-header .hthvn-menu .sub-menu > li.current-menu-item > a::before,
  .site-header .hthvn-menu .sub-menu > li.current-menu-item > a::after{
    content:none!important;
    display:none!important;
    width:0!important;
    height:0!important;
    border:0!important;
    background:none!important;
  }
}

/* ==========================================================
 * v7.49 - SUBMENU CLEAN HOVER: xóa TOÀN BỘ gạch/underline
 * ========================================================== */
@media (min-width:1101px){
 .site-header .hthvn-menu ul.sub-menu,
 .site-header .hthvn-menu ul.sub-menu li,
 .site-header .hthvn-menu ul.sub-menu li:hover,
 .site-header .hthvn-menu ul.sub-menu li.current-menu-item,
 .site-header .hthvn-menu ul.sub-menu li.current-menu-parent,
 .site-header .hthvn-menu ul.sub-menu li.current-menu-ancestor{border:0!important;box-shadow:none!important;text-decoration:none!important;background-image:none!important;}
 .site-header .hthvn-menu ul.sub-menu li>a,
 .site-header .hthvn-menu ul.sub-menu li>a:hover,
 .site-header .hthvn-menu ul.sub-menu li>a:focus,
 .site-header .hthvn-menu ul.sub-menu li.current-menu-item>a,
 .site-header .hthvn-menu ul.sub-menu li.current-menu-parent>a,
 .site-header .hthvn-menu ul.sub-menu li.current-menu-ancestor>a{border:0!important;border-top:0!important;border-bottom:0!important;outline:0!important;box-shadow:none!important;text-decoration:none!important;text-decoration-line:none!important;background-image:none!important;background:#fff!important;color:#111!important;}
 .site-header .hthvn-menu ul.sub-menu li>a:hover,.site-header .hthvn-menu ul.sub-menu li>a:focus,.site-header .hthvn-menu ul.sub-menu li.current-menu-item>a{color:#ed1c24!important;background:#fff7f7!important;}
 .site-header .hthvn-menu ul.sub-menu li>a:before,.site-header .hthvn-menu ul.sub-menu li>a:after,.site-header .hthvn-menu ul.sub-menu li:before,.site-header .hthvn-menu ul.sub-menu li:after{content:none!important;display:none!important;border:0!important;width:0!important;height:0!important;background:none!important;box-shadow:none!important;}
}

/* v7.51: homepage compact cards + one ACF editor group */


/* ==========================================================
 * v7.52 - HEADER LIVE SEARCH + PRODUCT STATUS BADGES
 * ========================================================== */

/* Nút tìm kiếm trên header: trung tính, không nhận style nút đỏ dùng chung. */
.site-header .header-actions .search-toggle{
    appearance:none;
    -webkit-appearance:none;
    width:42px;
    height:42px;
    min-width:42px;
    margin:0;
    padding:0!important;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0!important;
    border-radius:6px;
    background:transparent!important;
    box-shadow:none!important;
    color:#111!important;
    font:inherit;
    font-size:22px!important;
    line-height:1;
    cursor:pointer;
}
.site-header .header-actions .search-toggle:hover,
.site-header .header-actions .search-toggle:focus-visible,
.site-header .header-actions .search-toggle[aria-expanded="true"]{
    background:#f6f6f6!important;
    color:#e3131c!important;
    outline:none;
}

/* Thanh tìm kiếm mở phía dưới header. */
.site-header{position:relative;z-index:100}
.site-header .search-panel{
    display:none;
    position:absolute;
    left:0;
    right:0;
    top:100%;
    z-index:120;
    padding:16px 0 18px;
    background:#fff;
    border-top:1px solid #ededed;
    border-bottom:1px solid #ededed;
    box-shadow:0 14px 28px rgba(0,0,0,.08);
}
.site-header .search-panel.is-open,
.site-header .search-panel[aria-hidden="false"]{display:block}
.site-header .search-panel>.container{
    position:relative;
    width:min(920px,calc(100% - 40px));
    max-width:920px;
    margin:0 auto;
}

.hth-header-search-form{
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    min-height:52px;
    margin:0;
    background:#fff;
    border:1px solid #dcdcdc;
    border-radius:8px;
    overflow:hidden;
}
.hth-header-search-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:48px;
    color:#555;
    font-size:22px;
}
.hth-header-search-input{
    width:100%;
    height:50px!important;
    min-height:50px!important;
    margin:0!important;
    padding:0 8px!important;
    border:0!important;
    outline:0!important;
    box-shadow:none!important;
    background:transparent!important;
    color:#111;
    font-size:16px!important;
}
.hth-header-search-input::placeholder{color:#8a8a8a}
.hth-header-search-submit{
    align-self:stretch;
    min-width:112px;
    margin:0!important;
    padding:0 18px!important;
    border:0!important;
    border-radius:0!important;
    background:#ed1c24!important;
    color:#fff!important;
    box-shadow:none!important;
    font-size:15px!important;
    font-weight:600!important;
    line-height:1!important;
    text-transform:none!important;
    cursor:pointer;
}
.hth-header-search-submit:hover{background:#d71119!important}

.hth-header-search-results{
    display:none;
    max-height:min(520px,65vh);
    margin-top:8px;
    overflow:auto;
    background:#fff;
    border:1px solid #e7e7e7;
    border-radius:8px;
    box-shadow:0 12px 25px rgba(0,0,0,.08);
}
.hth-header-search-results.has-results{display:block}
.hth-search-result-list{display:block}
.hth-search-result-item{
    display:grid;
    grid-template-columns:58px minmax(0,1fr);
    gap:12px;
    align-items:center;
    padding:9px 12px;
    color:#111;
    text-decoration:none;
    border-bottom:1px solid #f0f0f0;
}
.hth-search-result-item:hover{background:#fafafa}
.hth-search-result-thumb{
    width:58px;
    height:58px;
    display:block;
    overflow:hidden;
    border-radius:6px;
    background:#f7f7f7;
}
.hth-search-result-thumb img{
    width:100%;
    height:100%;
    display:block;
    object-fit:contain;
}
.hth-search-result-copy{min-width:0}
.hth-search-result-copy small{
    display:block;
    margin-bottom:2px;
    color:#e3131c;
    font-size:12px;
    line-height:1.3;
}
.hth-search-result-copy strong{
    display:block;
    color:#171717;
    font-size:14px;
    font-weight:600;
    line-height:1.4;
}
.hth-search-loading,
.hth-search-empty{
    padding:14px 16px;
    color:#666;
    font-size:14px;
}
.hth-search-view-all{
    display:block;
    padding:11px 14px;
    color:#e3131c;
    font-size:14px;
    font-weight:600;
    text-align:center;
    text-decoration:none;
}

/* 4 lựa chọn trong admin = Không hiển thị + 3 nhãn ngoài frontend. */
.hth-product-card-badge.is-new{background:#1676a8}

/* Badge cho card sản phẩm ở trang chủ. */
body.home .v717-product{position:relative}
body.home .v717-product-link{
    position:relative;
    display:block;
    text-decoration:none;
}
body.home .v717-product-link>.hth-product-card-badge{
    position:absolute;
    z-index:3;
    top:0;
    left:0;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:25px;
    padding:4px 9px;
    border-radius:5px;
    color:#fff;
    font-size:12px;
    font-weight:700;
    line-height:1;
}
body.home .v717-product-link>.hth-product-card-badge.is-exclusive{background:#e3131c}
body.home .v717-product-link>.hth-product-card-badge.is-bestseller{background:#d99a22}
body.home .v717-product-link>.hth-product-card-badge.is-new{background:#1676a8}

/* Ẩn nút slider nếu <= số sản phẩm đang nhìn thấy; JS tự bật lại khi có thể cuộn. */
body.home .v749-product-slider .v749-slide{display:none}
body.home .v749-product-slider.is-scrollable .v749-slide{display:flex}
body.home .v749-product-slider .v749-slide:disabled{
    opacity:.35;
    cursor:default;
    pointer-events:none;
}

@media(max-width:760px){
    .site-header .search-panel{padding:10px 0 12px}
    .site-header .search-panel>.container{width:calc(100% - 24px)}
    .hth-header-search-form{grid-template-columns:auto minmax(0,1fr)}
    .hth-header-search-submit{display:none}
    .hth-header-search-icon{width:40px}
    .hth-header-search-input{font-size:16px!important}
    .hth-search-result-item{grid-template-columns:50px minmax(0,1fr)}
    .hth-search-result-thumb{width:50px;height:50px}
}

.hth-mini-product-img .hth-product-card-badge.is-new{background:#1676a8}

/* ===== v7.53 - font weight normalization ===== */
body h1,body h2,body h3,body h4,body h5,body h6{
    font-weight:700;
    font-synthesis:none;
}


/* ==========================================================
 * v7.60 - HEADER ĐỒNG BỘ TOÀN SITE
 * - Tất cả trang dùng chung logo site như trang chủ.
 * - Khoảng cách menu cấp 1 giống nhau trên trang chủ và trang con.
 * - Reset margin/padding từ parent theme để tránh lệch theo body class.
 * ========================================================== */
@media (min-width:1101px){
  body .site-header > .container.header-inner{
    width:min(var(--hth-row-max,1320px),calc(100% - (var(--hth-row-gutter,24px) * 2)))!important;
    max-width:var(--hth-row-max,1320px)!important;
    min-height:70px!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:0!important;
    padding-right:0!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
  }
  body .site-header .site-branding{
    flex:0 0 190px!important;
    width:190px!important;
    max-width:190px!important;
    margin:0!important;
    padding:0!important;
  }
  body .site-header .site-branding .custom-logo-link{
    display:inline-flex!important;
    align-items:center!important;
    margin:0!important;
    padding:0!important;
  }
  body .site-header .custom-logo{
    display:block!important;
    width:auto!important;
    height:auto!important;
    max-width:190px!important;
    max-height:46px!important;
    object-fit:contain!important;
  }
  body .site-header .primary-nav{
    flex:1 1 auto!important;
    min-width:0!important;
    margin:0!important;
    padding:0!important;
  }
  body .site-header .hthvn-menu,
  body .site-header .primary-nav > ul{
    display:flex!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    gap:clamp(10px,.8vw,16px)!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  body .site-header .hthvn-menu > li,
  body .site-header .primary-nav > ul > li{
    flex:0 0 auto!important;
    margin:0!important;
    padding:0!important;
  }
  body .site-header .hthvn-menu > li > a,
  body .site-header .primary-nav > ul > li > a{
    display:flex!important;
    align-items:center!important;
    min-height:70px!important;
    padding:0!important;
    margin:0!important;
    font-size:14px!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  body .site-header .header-actions{
    flex:0 0 auto!important;
    display:flex!important;
    align-items:center!important;
    gap:9px!important;
    margin:0!important;
    padding:0!important;
  }
}

/* ==========================================================
 * v7.65 - HEADER / FOOTER dùng đúng cùng row 1320px + gutter 24px
 * ========================================================== */
@media (min-width:761px){
  body .site-header > .container.header-inner,
  body .hth-footer .container{
    width:min(var(--hth-row-max),calc(100% - (var(--hth-row-gutter) * 2))) !important;
    max-width:var(--hth-row-max) !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}
@media (max-width:760px){
  body .site-header > .container.header-inner,
  body .hth-footer .container{
    width:calc(100% - (var(--hth-row-gutter) * 2)) !important;
    max-width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
  }
}

/* ==========================================================
 * v7.66 - Khóa Header/Footer đúng row, không thò khỏi container
 * ========================================================== */
:root{--hth-row-max:1320px;--hth-row-gutter:24px}
body .site-header > .container.header-inner,
body .site-header .search-panel > .container,
body .hth-footer .container{
  box-sizing:border-box!important;
  width:min(var(--hth-row-max),calc(100% - (var(--hth-row-gutter) * 2)))!important;
  max-width:var(--hth-row-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body .site-header .site-branding,
body .site-header .site-branding .custom-logo-link,
body .site-header .custom-logo,
body .hth-footer-grid,
body .hth-footer-bottom{
  margin-left:0!important;
  margin-right:0!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
}
body .hth-footer-grid,body .hth-footer-bottom{width:100%!important;max-width:100%!important}
@media(max-width:760px){
  :root{--hth-row-gutter:14px}
}

/* v7.67 - Fix SVG action/modal icons bị wp_kses_post loại bỏ */


/* ==========================================================
 * v7.69 - Header/Footer bám chính xác cùng mép row nội dung
 * Dùng class riêng để không bị CSS .container của theme cha kéo rộng.
 * ========================================================== */
:root{
  --hth-site-row-max:1320px;
  --hth-site-row-gap:20px;
}
body .site-header .hth-site-row,
body .hth-footer .hth-site-row{
  box-sizing:border-box!important;
  width:min(var(--hth-site-row-max),calc(100% - (var(--hth-site-row-gap) * 2)))!important;
  max-width:var(--hth-site-row-max)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  left:auto!important;
  right:auto!important;
  transform:none!important;
}
body .site-header .header-inner.hth-site-row{
  position:relative!important;
}
body .site-header .header-inner.hth-site-row > .site-branding,
body .site-header .header-inner.hth-site-row > .primary-nav,
body .site-header .header-inner.hth-site-row > .header-actions,
body .hth-footer .hth-footer-grid.hth-site-row > *,
body .hth-footer .hth-footer-bottom.hth-site-row > *{
  box-sizing:border-box!important;
}
body .site-header .header-inner.hth-site-row > .site-branding,
body .hth-footer .hth-footer-grid.hth-site-row > :first-child,
body .hth-footer .hth-footer-bottom.hth-site-row > :first-child{
  margin-left:0!important;
}
body .site-header .header-inner.hth-site-row > .header-actions,
body .hth-footer .hth-footer-grid.hth-site-row > :last-child,
body .hth-footer .hth-footer-bottom.hth-site-row > :last-child{
  margin-right:0!important;
}
body .hth-footer .hth-footer-grid.hth-site-row,
body .hth-footer .hth-footer-bottom.hth-site-row{
  max-width:var(--hth-site-row-max)!important;
}
@media(max-width:760px){
  :root{--hth-site-row-gap:14px}
}



/* ==========================================================
 * v7.71 - MỘT CHUẨN ROW DUY NHẤT TOÀN WEBSITE
 * Desktop: max 1320px, gutter 20px mỗi bên.
 * Áp dụng thống nhất: trang chủ, trang con, header và footer.
 * ========================================================== */
:root{
  --hth-layout-row:1320px;
  --hth-layout-gutter:20px;
}

/* Header + footer cùng đúng mép row nội dung */
body .site-header > .header-inner.hth-site-row,
body .hth-footer .hth-footer-grid.hth-site-row,
body .hth-footer .hth-footer-bottom.hth-site-row{
  box-sizing:border-box!important;
  width:min(var(--hth-layout-row),calc(100% - (var(--hth-layout-gutter) * 2)))!important;
  max-width:var(--hth-layout-row)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
  transform:none!important;
  left:auto!important;
  right:auto!important;
}

/* Container nội dung chuẩn: không phân biệt trang chủ/trang con */
body .container,
body.home .v717-wrap,
body.home .v717-full-banner,
body.home .v717-final{
  box-sizing:border-box;
  width:min(var(--hth-layout-row),calc(100% - (var(--hth-layout-gutter) * 2)))!important;
  max-width:var(--hth-layout-row)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

/* Các layout có container riêng nhưng cùng chuẩn row */
body .nhnb-page .container,
body .hthdl-page .container,
body.page-template-page-ve-hth .container{
  width:min(var(--hth-layout-row),calc(100% - (var(--hth-layout-gutter) * 2)))!important;
  max-width:var(--hth-layout-row)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}

@media(max-width:760px){
  :root{--hth-layout-gutter:14px}
}


/* v7.73 - Mẹ & Bé CTA cuối căn trái + nền banner gọn */
.hth-mb-final-cta{
  min-height:150px;
  background-position:center right;
  background-size:cover;
}
.hth-mb-final-cta .hth-page-cta-inner{
  display:block;
  padding-top:22px;
  padding-bottom:22px;
  text-align:left;
}
.hth-mb-final-cta-copy{
  width:100%;
  max-width:760px;
  text-align:left;
}
.hth-mb-final-cta-copy > div:not(.hth-mb-final-cta-actions),
.hth-mb-final-cta-copy p,
.hth-mb-final-cta-copy h2{
  text-align:left;
}
.hth-mb-final-cta-actions{
  justify-content:flex-start;
  align-items:center;
}
@media(max-width:680px){
  .hth-mb-final-cta{min-height:auto;background-position:70% center}
  .hth-mb-final-cta .hth-page-cta-inner{padding-top:18px;padding-bottom:18px}
}


/* ==========================================================
 * v7.76 - Header menu thoáng hơn + font lớn nhẹ
 * ========================================================== */
@media (min-width:1101px){
  body .site-header .hthvn-menu,
  body .site-header .primary-nav > ul{
    gap:clamp(13px,1vw,20px)!important;
  }
  body .site-header .hthvn-menu > li > a,
  body .site-header .primary-nav > ul > li > a{
    font-size:15px!important;
    font-weight:600!important;
  }
}


/* ==========================================================
 * v7.77 - Header 2 tầng: logo + search + hotline / menu riêng
 * Tham chiếu bố cục header doanh nghiệp, vẫn giữ nhận diện HTH.
 * ========================================================== */
.site-header.hth-header-two-row{
  background:#fff!important;
  border-top:0!important;
  border-bottom:1px solid #ececec!important;
  box-shadow:none!important;
}
.site-header.hth-header-two-row .hth-header-top{
  background:#fff;
}
.site-header.hth-header-two-row .hth-header-top-row,
.site-header.hth-header-two-row .hth-header-nav-row{
  box-sizing:border-box!important;
  width:min(var(--hth-layout-row,1320px),calc(100% - (var(--hth-layout-gutter,20px) * 2)))!important;
  max-width:var(--hth-layout-row,1320px)!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:0!important;
  padding-right:0!important;
}

@media (min-width:1101px){
  .site-header.hth-header-two-row .hth-header-top-row{
    min-height:82px!important;
    display:grid!important;
    grid-template-columns:220px minmax(320px,1fr) auto!important;
    align-items:center!important;
    gap:34px!important;
  }
  .site-header.hth-header-two-row .site-branding{
    width:220px!important;
    max-width:220px!important;
    flex:none!important;
    margin:0!important;
    padding:0!important;
  }
  .site-header.hth-header-two-row .site-branding .custom-logo-link{
    display:inline-flex!important;
    align-items:center!important;
  }
  .site-header.hth-header-two-row .custom-logo,
  .site-header.hth-header-two-row .hth-about-branding img{
    width:auto!important;
    height:auto!important;
    max-width:205px!important;
    max-height:58px!important;
    object-fit:contain!important;
  }
  .site-header.hth-header-two-row .hth-header-search-wrap{
    position:relative;
    width:100%;
    max-width:610px;
    justify-self:center;
  }
  .site-header.hth-header-two-row .hth-header-search-form{
    min-height:46px!important;
    height:46px!important;
    grid-template-columns:44px minmax(0,1fr) 96px!important;
    border:1px solid #e2e5e7!important;
    border-radius:23px!important;
    background:#f7f8f9!important;
    overflow:hidden!important;
  }
  .site-header.hth-header-two-row .hth-header-search-icon{
    width:44px!important;
    color:#70777c!important;
  }
  .site-header.hth-header-two-row .hth-header-search-icon svg{
    width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;
  }
  .site-header.hth-header-two-row .hth-header-search-input{
    height:44px!important;
    min-height:44px!important;
    padding:0 5px!important;
    font-size:14px!important;
  }
  .site-header.hth-header-two-row .hth-header-search-submit{
    min-width:96px!important;
    padding:0 14px!important;
    background:#ed1c24!important;
    font-size:14px!important;
  }
  .site-header.hth-header-two-row .hth-header-search-results{
    position:absolute;
    z-index:500;
    left:0;right:0;top:52px;
    margin-top:0!important;
  }
  .site-header.hth-header-two-row .hth-header-hotline{
    display:flex!important;
    align-items:center!important;
    gap:10px!important;
    min-height:48px!important;
    padding:7px 16px!important;
    border-radius:24px!important;
    background:#ed1c24!important;
    color:#fff!important;
    text-decoration:none!important;
    white-space:nowrap!important;
  }
  .site-header.hth-header-two-row .hth-header-hotline-icon{
    width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;
  }
  .site-header.hth-header-two-row .hth-header-hotline-icon svg{
    width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  }
  .site-header.hth-header-two-row .hth-header-hotline-copy{display:flex;flex-direction:column;line-height:1.1}
  .site-header.hth-header-two-row .hth-header-hotline-copy small{font-size:11px!important;color:#fff!important;opacity:.9;margin:0 0 2px}
  .site-header.hth-header-two-row .hth-header-hotline-copy strong{font-size:16px!important;color:#fff!important;font-weight:700!important;letter-spacing:.01em}
  .site-header.hth-header-two-row .menu-toggle{display:none!important}

  .site-header.hth-header-two-row .hth-header-navline{
    border-top:1px solid #f0f0f0;
    background:#fff;
  }
  .site-header.hth-header-two-row .hth-header-nav-row{
    min-height:52px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
  }
  .site-header.hth-header-two-row .primary-nav{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .site-header.hth-header-two-row .hthvn-menu,
  .site-header.hth-header-two-row .primary-nav>ul{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    flex-wrap:nowrap!important;
    gap:clamp(20px,1.65vw,32px)!important;
    width:100%!important;
    margin:0!important;
    padding:0!important;
  }
  .site-header.hth-header-two-row .hthvn-menu>li,
  .site-header.hth-header-two-row .primary-nav>ul>li{
    margin:0!important;
    padding:0!important;
    flex:0 0 auto!important;
  }
  .site-header.hth-header-two-row .hthvn-menu>li>a,
  .site-header.hth-header-two-row .primary-nav>ul>li>a{
    display:flex!important;
    align-items:center!important;
    min-height:52px!important;
    padding:0!important;
    margin:0!important;
    color:#171717!important;
    font-size:15px!important;
    font-weight:600!important;
    line-height:1.2!important;
    white-space:nowrap!important;
  }
  .site-header.hth-header-two-row .hthvn-menu>li>a:hover,
  .site-header.hth-header-two-row .hthvn-menu>li.current-menu-item>a,
  .site-header.hth-header-two-row .hthvn-menu>li.current-menu-ancestor>a{
    color:#ed1c24!important;
  }
  .site-header.hth-header-two-row .hthvn-menu>li>a:after{
    bottom:0!important;
  }
}

/* Tablet: giữ logo + hotline, search xuống hàng riêng; menu drawer như cũ. */
@media (min-width:761px) and (max-width:1100px){
  .site-header.hth-header-two-row .hth-header-top-row{
    min-height:72px!important;
    display:grid!important;
    grid-template-columns:180px minmax(0,1fr) auto auto!important;
    gap:14px!important;
    align-items:center!important;
  }
  .site-header.hth-header-two-row .site-branding{width:180px!important;max-width:180px!important}
  .site-header.hth-header-two-row .custom-logo{max-width:175px!important;max-height:50px!important}
  .site-header.hth-header-two-row .hth-header-search-wrap{position:relative;min-width:0}
  .site-header.hth-header-two-row .hth-header-search-form{height:44px!important;min-height:44px!important;grid-template-columns:40px minmax(0,1fr)!important;border-radius:22px!important;background:#f7f8f9!important}
  .site-header.hth-header-two-row .hth-header-search-submit{display:none!important}
  .site-header.hth-header-two-row .hth-header-hotline{display:flex!important;align-items:center;gap:7px;padding:8px 12px;background:#ed1c24;color:#fff;border-radius:22px}
  .site-header.hth-header-two-row .hth-header-hotline-copy small{display:none}
  .site-header.hth-header-two-row .hth-header-hotline-copy strong{font-size:14px!important;color:#fff!important}
  .site-header.hth-header-two-row .hth-header-hotline-icon{width:20px;height:20px;display:grid;place-items:center}
  .site-header.hth-header-two-row .hth-header-hotline-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
  .site-header.hth-header-two-row .menu-toggle{display:block!important;margin:0!important}
  .site-header.hth-header-two-row .hth-header-navline{position:relative}
  .site-header.hth-header-two-row .primary-nav{top:0!important}
  .site-header.hth-header-two-row .hth-header-nav-row{width:100%!important;max-width:100%!important;margin:0!important}
}

@media (max-width:760px){
  .site-header.hth-header-two-row .hth-header-top-row{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:10px!important;
    align-items:center!important;
    padding-top:10px!important;
    padding-bottom:10px!important;
  }
  .site-header.hth-header-two-row .site-branding{width:auto!important;max-width:170px!important}
  .site-header.hth-header-two-row .custom-logo{max-width:165px!important;max-height:48px!important}
  .site-header.hth-header-two-row .menu-toggle{grid-column:2;grid-row:1;display:block!important;margin:0!important}
  .site-header.hth-header-two-row .hth-header-hotline{grid-column:2;grid-row:2;display:flex!important;align-items:center;gap:5px;color:#ed1c24!important;text-decoration:none!important}
  .site-header.hth-header-two-row .hth-header-hotline-copy small{display:none}
  .site-header.hth-header-two-row .hth-header-hotline-copy strong{font-size:13px!important;color:#ed1c24!important}
  .site-header.hth-header-two-row .hth-header-hotline-icon{width:18px;height:18px;display:grid;place-items:center}
  .site-header.hth-header-two-row .hth-header-hotline-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
  .site-header.hth-header-two-row .hth-header-search-wrap{grid-column:1;grid-row:2;position:relative;min-width:0}
  .site-header.hth-header-two-row .hth-header-search-form{height:40px!important;min-height:40px!important;grid-template-columns:38px minmax(0,1fr)!important;border-radius:20px!important;background:#f7f8f9!important}
  .site-header.hth-header-two-row .hth-header-search-input{height:38px!important;min-height:38px!important;font-size:14px!important}
  .site-header.hth-header-two-row .hth-header-search-submit{display:none!important}
  .site-header.hth-header-two-row .hth-header-search-icon{width:38px!important}
  .site-header.hth-header-two-row .hth-header-search-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
  .site-header.hth-header-two-row .hth-header-search-results{position:absolute;z-index:500;left:0;right:0;top:44px;margin-top:0!important}
  .site-header.hth-header-two-row .hth-header-nav-row{width:100%!important;max-width:100%!important;margin:0!important}
  .site-header.hth-header-two-row .primary-nav{top:0!important}
}


/* ==========================================================
 * v7.78 - Search page + catalog breadcrumb/title + menu gọn hơn
 * ========================================================== */
.hth-breadcrumb{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.hth-breadcrumb a{color:#555;text-decoration:none}
.hth-breadcrumb a:hover{color:#ed1c24}
.hth-breadcrumb-sep{color:#aaa}

.hth-search-page{padding:34px 0 60px;background:#fff}
.hth-search-page-shell{width:min(var(--hth-layout-row,1320px),calc(100% - (var(--hth-layout-gutter,20px) * 2)));margin-inline:auto}
.hth-search-page-breadcrumb{display:flex;align-items:center;gap:7px;margin-bottom:18px;font-size:14px;color:#777}
.hth-search-page-breadcrumb a{color:#555;text-decoration:none}
.hth-search-page-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,470px);gap:28px;align-items:end;margin-bottom:28px}
.hth-search-page-eyebrow{margin:0 0 5px;color:#ed1c24;font-size:14px;font-weight:700}
.hth-search-page-head h1{margin:0 0 7px!important;font-size:38px!important;line-height:1.15}
.hth-search-page-head p{margin:0;color:#666}
.hth-search-page-form{display:grid;grid-template-columns:minmax(0,1fr) auto;border:1px solid #ddd;border-radius:9px;overflow:hidden;background:#fff}
.hth-search-page-form input{height:48px!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0 14px!important;font-size:15px!important}
.hth-search-page-form button{border:0;background:#ed1c24;color:#fff;padding:0 20px;font:inherit;font-weight:700;cursor:pointer}
.hth-search-page-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.hth-search-page-card{display:grid;grid-template-columns:180px minmax(0,1fr);min-height:180px;border:1px solid #e8e8e8;border-radius:10px;overflow:hidden;background:#fff;transition:.2s ease}
.hth-search-page-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.06)}
.hth-search-page-thumb{display:block;width:100%;height:100%;min-height:180px;background:#f7f7f7;overflow:hidden}
.hth-search-page-thumb img{width:100%;height:100%;display:block;object-fit:cover}
.hth-search-page-thumb.is-empty{background:linear-gradient(135deg,#fafafa,#f1f1f1)}
.hth-search-page-copy{padding:17px 18px;display:flex;flex-direction:column;min-width:0}
.hth-search-page-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:7px}
.hth-search-page-meta span{color:#ed1c24;font-size:12px;font-weight:700}
.hth-search-page-meta small{color:#888;font-size:12px}
.hth-search-page-card h2{margin:0 0 8px!important;font-size:19px!important;line-height:1.35!important}
.hth-search-page-card h2 a{color:#171717;text-decoration:none}
.hth-search-page-card p{margin:0 0 12px;color:#666;font-size:14px;line-height:1.5}
.hth-search-page-more{margin-top:auto;color:#ed1c24;font-size:14px;font-weight:700;text-decoration:none}
.hth-search-page-empty{padding:30px;border:1px dashed #ddd;border-radius:10px;color:#666;text-align:center}
.hth-search-pagination{margin-top:28px}
.hth-search-pagination ul{display:flex;justify-content:center;gap:7px;list-style:none;margin:0;padding:0}
.hth-search-pagination a,.hth-search-pagination span{display:grid;place-items:center;min-width:38px;height:38px;border:1px solid #ddd;border-radius:6px;text-decoration:none}
.hth-search-pagination .current{background:#ed1c24;border-color:#ed1c24;color:#fff}

@media(max-width:900px){
  .hth-search-page-head{grid-template-columns:1fr}
  .hth-search-page-grid{grid-template-columns:1fr}
}
@media(max-width:580px){
  .hth-search-page{padding-top:22px}
  .hth-search-page-head h1{font-size:30px!important}
  .hth-search-page-card{grid-template-columns:110px minmax(0,1fr);min-height:135px}
  .hth-search-page-thumb{min-height:135px}
  .hth-search-page-copy{padding:12px}
  .hth-search-page-card h2{font-size:16px!important}
  .hth-search-page-card p{display:none}
  .hth-search-page-form{grid-template-columns:1fr}
  .hth-search-page-form button{min-height:44px}
}


/* v7.80 - Search: chỉ bôi đỏ từ khớp, bỏ thông tin số từ khớp */
.hth-search-match{
  background:transparent!important;
  color:#ed1c24!important;
  padding:0!important;
  font:inherit!important;
  font-weight:inherit!important;
}
.hth-search-result-copy strong .hth-search-match,
.hth-search-page-card h2 .hth-search-match{color:#ed1c24!important;}


/* ==========================================================
 * v7.81 - Menu cấp con: caret + dropdown nổi, hạ xuống nhẹ
 * ========================================================== */
@media (min-width:1101px){
  .site-header.hth-header-two-row .hthvn-menu>li.menu-item-has-children>a{
    gap:7px!important;
  }
  .site-header.hth-header-two-row .hth-menu-caret{
    display:inline-block!important;
    width:7px!important;
    height:7px!important;
    flex:0 0 7px!important;
    border-right:1.8px solid currentColor!important;
    border-bottom:1.8px solid currentColor!important;
    transform:rotate(45deg) translateY(-1px)!important;
    transform-origin:center!important;
    transition:transform .2s ease,color .2s ease!important;
    margin-left:1px!important;
  }
  .site-header.hth-header-two-row .hthvn-menu>li.menu-item-has-children:hover>a .hth-menu-caret,
  .site-header.hth-header-two-row .hthvn-menu>li.menu-item-has-children:focus-within>a .hth-menu-caret{
    transform:rotate(225deg) translate(-1px,-1px)!important;
  }
  .site-header.hth-header-two-row .hthvn-menu>li.menu-item-has-children::before{
    content:"";
    position:absolute;
    left:0;
    right:0;
    top:100%;
    height:10px;
    z-index:9998;
  }
  .site-header.hth-header-two-row .hthvn-menu .sub-menu{
    top:calc(100% + 8px)!important;
    min-width:250px!important;
    padding:7px!important;
    border:1px solid #ececec!important;
    border-radius:10px!important;
    background:#fff!important;
    box-shadow:0 14px 36px rgba(20,20,20,.13)!important;
  }
  .site-header.hth-header-two-row .hthvn-menu .sub-menu>li{
    border:0!important;
    border-radius:7px!important;
    overflow:hidden!important;
  }
  .site-header.hth-header-two-row .hthvn-menu .sub-menu>li+li{
    margin-top:2px!important;
  }
  .site-header.hth-header-two-row .hthvn-menu .sub-menu>li>a{
    min-width:0!important;
    padding:11px 14px!important;
    border-radius:7px!important;
    background:#fff!important;
    color:#222!important;
    font-size:14px!important;
    font-weight:600!important;
    line-height:1.35!important;
  }
  .site-header.hth-header-two-row .hthvn-menu .sub-menu>li>a:hover,
  .site-header.hth-header-two-row .hthvn-menu .sub-menu>li.current-menu-item>a{
    background:#fff3f3!important;
    color:#ed1c24!important;
  }
}

/* Mobile/tablet: menu cha có caret nhưng không dùng hiệu ứng dropdown desktop. */
@media (max-width:1100px){
  .site-header.hth-header-two-row .hthvn-menu>li.menu-item-has-children>a{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
  }
  .site-header.hth-header-two-row .hth-menu-caret{
    display:inline-block!important;
    width:7px!important;
    height:7px!important;
    border-right:1.7px solid currentColor!important;
    border-bottom:1.7px solid currentColor!important;
    transform:rotate(45deg)!important;
    flex:0 0 7px!important;
    margin-left:auto!important;
  }
}

/* Anchor landing từ thẻ mô hình trên trang chủ: chừa khoảng header khi cuộn tới. */
.nhnb-business-grid article[id]{scroll-margin-top:150px;}


/* ==========================================================
 * v7.82 - Mobile CTA buttons one row + footer mobile 2 columns
 * ========================================================== */

/* Mẹ & Bé: 2 nút hero luôn cùng một hàng trên PC/mobile. */
.hth-mb-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:min(100%,520px);
  flex-wrap:nowrap!important;
}
.hth-mb-actions .btn{
  width:100%!important;
  min-width:0!important;
  min-height:52px;
  padding:11px 12px!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center!important;
  font-size:15px!important;
  line-height:1.25!important;
  white-space:normal;
}

/* CTA cuối trang Mẹ & Bé: 2 nút luôn cùng một hàng. */
.hth-mb-final-cta-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:12px!important;
  width:min(100%,570px);
  flex-wrap:nowrap!important;
  justify-content:start!important;
}
.hth-mb-final-cta-actions .btn{
  width:100%!important;
  min-width:0!important;
  min-height:52px;
  padding:10px 12px!important;
  display:flex!important;
  align-items:center;
  justify-content:center;
  text-align:center!important;
  font-size:15px!important;
  line-height:1.25!important;
  white-space:normal;
}

@media(max-width:680px){
  .hth-mb-actions,
  .hth-mb-final-cta-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:8px!important;
    width:100%!important;
  }
  .hth-mb-actions .btn,
  .hth-mb-final-cta-actions .btn{
    min-height:50px;
    padding:9px 7px!important;
    font-size:13px!important;
    line-height:1.2!important;
  }
  .hth-mb-actions{margin-top:15px!important}
  .hth-mb-final-cta-actions{margin-top:12px!important}
}

/* Footer mobile: logo/giới thiệu full hàng, 4 cột menu chia 2 x 2. */
@media(max-width:760px){
  .hth-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:18px!important;
    row-gap:22px!important;
    align-items:start!important;
  }
  .hth-footer-brand{
    grid-column:1/-1!important;
    padding:0!important;
    border:0!important;
  }
  .hth-footer-col{
    grid-column:auto!important;
    min-width:0!important;
    min-height:0!important;
    padding:0!important;
    border-left:0!important;
    border-bottom:0!important;
  }
  .hth-footer-col:nth-of-type(even){
    padding-left:16px!important;
    border-left:1px solid #ededed!important;
  }
  .hth-footer-col h4{
    font-size:14px!important;
    margin-bottom:10px!important;
  }
  .hth-footer-col a{
    font-size:13px!important;
    line-height:1.45!important;
  }
  .hth-footer-col li{margin-bottom:7px!important}
}

/* Override rule cũ <=480px từng ép footer về 1 cột. */
@media(max-width:480px){
  .hth-footer-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .hth-footer-brand{grid-column:1/-1!important}
  .hth-footer-col{
    padding-bottom:0!important;
    border-bottom:0!important;
  }
  .hth-footer-col:nth-of-type(even){
    padding-left:14px!important;
    border-left:1px solid #ededed!important;
  }
}


/* v7.83 - CTA link chuẩn + giữ nút tư vấn một dòng */
body.home .v717-final .v717-actions{display:flex!important;flex-wrap:nowrap!important;align-items:center;gap:14px!important;}
body.home .v717-final .v717-actions .v717-btn{white-space:nowrap!important;width:auto!important;min-width:0!important;padding-left:22px!important;padding-right:22px!important;font-size:14px!important;}
@media(max-width:600px){
  body.home .v717-final .v717-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;}
  body.home .v717-final .v717-actions .v717-btn{width:100%!important;padding-left:10px!important;padding-right:10px!important;font-size:12.5px!important;white-space:nowrap!important;}
}


/* ==========================================================
 * v7.91 - Mẹ & Bé: title 2 dòng màu + CTA full background
 * ========================================================== */
.hth-mb-page .hth-mb-split-title,
.hth-mb-page .hth-mb-final-split-title{
  display:flex!important;
  flex-direction:column!important;
  align-items:flex-start!important;
  gap:0!important;
  font-family:inherit!important;
  letter-spacing:-.02em;
}
.hth-mb-page .hth-mb-split-title .hth-mb-title-red,
.hth-mb-page .hth-mb-final-split-title .hth-mb-title-red{
  display:block!important;
  color:#ed1c24!important;
  font:inherit!important;
  font-weight:800!important;
}
.hth-mb-page .hth-mb-split-title .hth-mb-title-black,
.hth-mb-page .hth-mb-final-split-title .hth-mb-title-black{
  display:block!important;
  color:#111!important;
  font:inherit!important;
  font-weight:800!important;
}
.hth-mb-page .hth-mb-split-title{line-height:1.08!important}
.hth-mb-page .hth-mb-final-split-title{line-height:1.12!important}

/* Chữ trong các nút căn trái, vẫn giữ hai nút cân nhau. */
.hth-mb-page .hth-mb-actions .btn,
.hth-mb-page .hth-mb-final-cta-actions .btn{
  justify-content:flex-start!important;
  text-align:left!important;
  padding-left:20px!important;
  padding-right:20px!important;
}

/* CTA cuối dùng ảnh nền full section, không bị giới hạn bởi row/container. */
.hth-mb-page .hth-mb-final-cta{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
.hth-mb-page .hth-mb-final-cta .hth-page-cta-inner{
  width:min(var(--hth-layout-row,1320px),calc(100% - (var(--hth-layout-gutter,20px) * 2)))!important;
  max-width:none!important;
  margin-inline:auto!important;
}
@media(max-width:680px){
  .hth-mb-page .hth-mb-actions .btn,
  .hth-mb-page .hth-mb-final-cta-actions .btn{
    padding-left:11px!important;
    padding-right:8px!important;
  }
  .hth-mb-page .hth-mb-final-cta{background-position:68% center!important}
}

/* v7.71 - Form đại lý: bỏ trường khu vực bị trùng, thêm lựa chọn mô hình kinh doanh */


/* v7.81 - banner PC/Mobile riêng + fallback ảnh PC */
.hth-responsive-bg{background-image:var(--hth-bg-pc)!important;background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
@media(max-width:767px){
  .hth-responsive-bg{background-image:var(--hth-bg-mobile,var(--hth-bg-pc))!important}
  body.home .v717-hero .v717-actions,
  body.home .v717-final .v717-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:8px!important;width:100%!important;min-width:0!important;flex-wrap:nowrap!important}
  body.home .v717-hero .v717-actions .v717-btn,
  body.home .v717-final .v717-actions .v717-btn{width:100%!important;min-width:0!important;padding:0 8px!important;font-size:12px!important;white-space:nowrap!important}
  .hthdl-hero{background-image:var(--hero-mobile,var(--hero))!important}
  .hthdl-register{background-image:var(--register-bg-mobile,var(--register-bg))!important}
  .hth-exclusive-hero{background-image:var(--hero-bg-mobile,var(--hero-bg))!important}
  .hth-exclusive-cta{background-image:var(--cta-mobile,var(--cta))!important}
  .hth-about-final-cta-card{background-image:var(--hth-about-cta-bg-mobile,var(--hth-about-cta-bg))!important}
  .hth-post-category-banner{background-image:linear-gradient(90deg,rgba(255,250,250,.96),rgba(255,245,245,.55)),var(--hth-category-banner-mobile,var(--hth-category-banner))!important}
}
body.home .hth-home-responsive-hero{background-image:linear-gradient(90deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.94) 38%,rgba(255,255,255,.18) 64%,rgba(255,255,255,0) 100%),var(--hth-home-hero-pc)!important}
body.home .hth-home-responsive-exclusive{background-image:linear-gradient(90deg,rgba(255,248,247,.98),rgba(255,241,239,.72) 45%,rgba(255,241,239,.02)),var(--hth-home-ex-pc)!important}
body.home .hth-home-responsive-source{background-image:linear-gradient(90deg,rgba(255,248,247,.98),rgba(255,240,237,.70) 45%,rgba(255,240,237,.02)),var(--hth-home-source-pc)!important}
body.home .hth-home-responsive-final{background-image:linear-gradient(90deg,#fff1f1dd,#ffe1e1aa),var(--hth-home-final-pc)!important}
@media(max-width:767px){
  body.home .hth-home-responsive-hero{background-image:linear-gradient(90deg,rgba(255,255,255,.94),rgba(255,255,255,.70)),var(--hth-home-hero-mobile,var(--hth-home-hero-pc))!important}
  body.home .hth-home-responsive-exclusive{background-image:linear-gradient(90deg,rgba(255,248,247,.88),rgba(255,241,239,.55)),var(--hth-home-ex-mobile,var(--hth-home-ex-pc))!important}
  body.home .hth-home-responsive-source{background-image:linear-gradient(90deg,rgba(255,248,247,.88),rgba(255,240,237,.55)),var(--hth-home-source-mobile,var(--hth-home-source-pc))!important}
  body.home .hth-home-responsive-final{background-image:linear-gradient(90deg,#fff1f1d9,#ffe1e1a8),var(--hth-home-final-mobile,var(--hth-home-final-pc))!important}
  .hth-about-hero-media picture,.hth-about-hero-media img,.hth-bh-hero-picture,.hth-bh-hero-picture img,.hth-mb-hero-picture,.hth-mb-hero-picture img,.nhnb-hero-media picture,.nhnb-hero-media picture img{width:100%;height:100%;display:block}
}

/* v7.81 refinements */
@media(max-width:767px){
  .hthdl-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.97),rgba(255,255,255,.78)),var(--hero-mobile,var(--hero))!important}
  .hth-exclusive-hero{background-image:linear-gradient(180deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.93) 47%,rgba(255,255,255,.28) 72%,rgba(255,255,255,0) 100%),var(--hero-bg-mobile,var(--hero-bg))!important;background-position:center,70% center!important;background-size:100% 100%,cover!important}
  .hth-exclusive-cta{background:#fff0f0 var(--cta-mobile,var(--cta)) right center/auto 100% no-repeat!important}
  .hth-about-final-cta-card:before{background-image:var(--hth-about-cta-bg-mobile,var(--hth-about-cta-bg))!important}
  .hth-post-bottom-cta-full{background-image:linear-gradient(90deg,#fff0f0,#fff8f8),var(--hth-bottom-cta-image-mobile,var(--hth-bottom-cta-image))!important}
}

/* v7.83 - Sản phẩm độc quyền: mobile hero không crop/phóng méo ảnh */
@media (max-width:767px){
  body .hth-exclusive .hth-exclusive-hero{
    min-height:0!important;
    padding-bottom:clamp(190px,42vw,235px)!important;
    background-color:#fff5f5!important;
    background-image:linear-gradient(180deg,rgba(255,255,255,.99) 0%,rgba(255,255,255,.98) 58%,rgba(255,255,255,.72) 76%,rgba(255,255,255,.08) 100%),var(--hero-bg-mobile,var(--hero-bg))!important;
    background-repeat:no-repeat,no-repeat!important;
    background-position:center,bottom center!important;
    background-size:100% 100%,100% auto!important;
  }
  body .hth-exclusive .hth-exclusive-hero-inner{min-height:0!important;display:block!important;padding-top:14px!important;padding-bottom:14px!important}
  body .hth-exclusive .hth-exclusive-copy{width:100%!important;padding:0!important}
  body .hth-exclusive .hth-exclusive-copy h1{font-size:38px!important;line-height:1.04!important}
  body .hth-exclusive .hth-exclusive-copy h2{font-size:22px!important;line-height:1.22!important}
  body .hth-exclusive .hth-exclusive-actions{flex-direction:row!important;align-items:stretch!important;gap:8px!important}
  body .hth-exclusive .hth-exclusive-actions .btn{width:auto!important;min-width:0!important;flex:1 1 0!important;padding:10px 8px!important;font-size:13px!important}
  body .hth-exclusive .hth-exclusive-badge{top:auto!important;bottom:92px!important;right:18px!important;left:auto!important;transform:none!important;width:84px!important;height:84px!important;font-size:12px!important}
}

/* ==========================================================
   v7.84 - Mobile banner readability / buttons / copy alignment
   ========================================================== */

/* Mô tả trong các banner: căn đều, chữ đen rõ hơn */
.v717-hero-copy p,
.v717-exclusive-box p,
.v717-source-banner p,
.hth-about-hero-text,
.hth-about-hero-text p,
.hth-mb-hero-copy p,
.hth-mb-final-cta-copy p,
.cons-hero-copy .cons-rich,
.cons-hero-copy .cons-rich p,
.hthb-hero-copy p,
.hthb-final-copy p,
.nhnb-hero-copy .nhnb-rich,
.nhnb-hero-copy .nhnb-rich p,
.hth-exclusive-copy p,
.hth-exclusive-cta-copy p,
.hthdl-lead,
.hthdl-lead p,
.ct-hero-copy .ct-rich,
.ct-hero-copy .ct-rich p,
.hth-bh-hero-copy p {
  color:#000!important;
  text-align:justify;
  text-justify:inter-word;
}

@media (max-width:767px){
  /* Sản phẩm độc quyền: text luôn nằm trên toàn bộ lớp ảnh/badge */
  body .hth-exclusive .hth-exclusive-hero{
    position:relative!important;
    isolation:isolate;
    overflow:hidden!important;
    padding-bottom:clamp(195px,46vw,245px)!important;
    background-color:#fff!important;
    background-image:
      linear-gradient(180deg,
        #fff 0%,
        #fff 57%,
        rgba(255,255,255,.97) 66%,
        rgba(255,255,255,.78) 76%,
        rgba(255,255,255,.18) 91%,
        rgba(255,255,255,0) 100%),
      var(--hero-bg-mobile,var(--hero-bg))!important;
    background-repeat:no-repeat,no-repeat!important;
    background-position:center,bottom center!important;
    background-size:100% 100%,100% auto!important;
  }
  body .hth-exclusive .hth-exclusive-hero-inner{
    position:relative!important;
    z-index:3!important;
  }
  body .hth-exclusive .hth-exclusive-copy{
    position:relative!important;
    z-index:4!important;
  }
  body .hth-exclusive .hth-exclusive-copy,
  body .hth-exclusive .hth-exclusive-copy p,
  body .hth-exclusive .hth-exclusive-copy h1,
  body .hth-exclusive .hth-exclusive-copy h2,
  body .hth-exclusive .hth-exclusive-breadcrumb{
    color:#000!important;
  }
  body .hth-exclusive .hth-exclusive-copy p{
    text-align:justify!important;
    text-justify:inter-word!important;
  }
  /* Huy hiệu tròn nằm dưới lớp chữ, không đè nội dung */
  body .hth-exclusive .hth-exclusive-badge{
    z-index:1!important;
    top:auto!important;
    bottom:96px!important;
    right:14px!important;
    left:auto!important;
    transform:none!important;
    width:84px!important;
    height:84px!important;
    font-size:11.5px!important;
    line-height:1.08!important;
    box-shadow:0 5px 15px rgba(0,0,0,.08)!important;
  }

  /* Tất cả nhóm 2 nút trên banner: luôn nằm cùng một hàng trên mobile */
  body.home .v717-actions,
  .hth-mb-actions,
  .hth-mb-final-cta-actions,
  .cons-actions,
  .hthb-actions,
  .nhnb-actions,
  .hth-exclusive-actions,
  .hth-exclusive-cta-copy>div:last-child,
  .hthdl-actions,
  .ct-actions,
  .hth-about-actions {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
    align-items:stretch!important;
  }
  body.home .v717-actions>a,
  .hth-mb-actions>a,
  .hth-mb-final-cta-actions>a,
  .cons-actions>a,
  .hthb-actions>a,
  .nhnb-actions>a,
  .hth-exclusive-actions>a,
  .hth-exclusive-cta-copy>div:last-child>a,
  .hthdl-actions>a,
  .ct-actions>a,
  .hth-about-actions>a {
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding-left:8px!important;
    padding-right:8px!important;
    white-space:normal!important;
    text-align:center!important;
    justify-content:center!important;
    line-height:1.2!important;
    font-size:clamp(11px,3vw,13px)!important;
  }

  /* Banner trên mobile: copy nổi rõ hơn, mô tả không bị nhạt */
  .v717-hero-copy,
  .hth-mb-hero-copy,
  .cons-hero-copy,
  .hthb-hero-copy,
  .nhnb-hero-copy,
  .hthdl-copy,
  .ct-hero-copy,
  .hth-bh-hero-copy,
  .hth-about-hero-copy {
    position:relative;
    z-index:3;
    color:#000!important;
  }
  .v717-hero-copy p,
  .hth-mb-hero-copy p,
  .cons-hero-copy p,
  .hthb-hero-copy p,
  .nhnb-hero-copy p,
  .hthdl-copy p,
  .ct-hero-copy p,
  .hth-bh-hero-copy p,
  .hth-about-hero-copy p {
    color:#000!important;
    text-align:justify!important;
    text-justify:inter-word!important;
  }
}


/* ==========================================================
   v7.85 - Mobile banner: lớp phủ trắng rõ hơn + chữ mặc định #000
   ========================================================== */
@media (max-width:767px){
  /* Các banner dùng biến background responsive */
  .hth-responsive-bg{
    background-image:linear-gradient(rgba(255,255,255,.94),rgba(255,255,255,.94)),var(--hth-bg-mobile,var(--hth-bg-pc))!important;
  }
  body.home .hth-home-responsive-hero{
    background-image:linear-gradient(90deg,rgba(255,255,255,.99),rgba(255,255,255,.92)),var(--hth-home-hero-mobile,var(--hth-home-hero-pc))!important;
  }
  body.home .hth-home-responsive-exclusive{
    background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.90)),var(--hth-home-ex-mobile,var(--hth-home-ex-pc))!important;
  }
  body.home .hth-home-responsive-source{
    background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,255,255,.90)),var(--hth-home-source-mobile,var(--hth-home-source-pc))!important;
  }
  body.home .hth-home-responsive-final{
    background-image:linear-gradient(90deg,rgba(255,255,255,.97),rgba(255,247,247,.92)),var(--hth-home-final-mobile,var(--hth-home-final-pc))!important;
  }
  .hthdl-hero{
    background-image:linear-gradient(rgba(255,255,255,.95),rgba(255,255,255,.95)),var(--hero-mobile,var(--hero))!important;
  }
  body .hth-exclusive .hth-exclusive-hero{
    padding-bottom:clamp(150px,35vw,190px)!important;
    background-image:linear-gradient(180deg,#fff 0%,rgba(255,255,255,1) 56%,rgba(255,255,255,.97) 69%,rgba(255,255,255,.90) 81%,rgba(255,255,255,.72) 92%,rgba(255,255,255,.46) 100%),var(--hero-bg-mobile,var(--hero-bg))!important;
    background-repeat:no-repeat,no-repeat!important;
    background-position:center,center calc(100% - 4px)!important;
    background-size:100% 100%,94% auto!important;
  }
  .hth-post-category-banner{
    background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.90)),var(--hth-category-banner-mobile,var(--hth-category-banner))!important;
  }

  /* Chữ mặc định trên banner mobile */
  .v717-hero, .v717-exclusive-box, .v717-source-banner, .v717-final,
  .hth-about-hero, .hth-mb-hero, .cons-hero, .hthb-hero, .nhnb-hero,
  .hth-exclusive-hero, .hthdl-hero, .ct-hero, .hth-bh-hero,
  .hth-post-category-banner,
  .v717-hero *, .v717-exclusive-box *, .v717-source-banner *, .v717-final *,
  .hth-about-hero *, .hth-mb-hero *, .cons-hero *, .hthb-hero *, .nhnb-hero *,
  .hth-exclusive-hero *, .hthdl-hero *, .ct-hero *, .hth-bh-hero *,
  .hth-post-category-banner *{
    color:#000;
  }
  /* Giữ màu đỏ thương hiệu/nút khi đã khai báo rõ */
  .btn-primary,.v717-btn-primary,.hth-red,.text-red,
  [class*="title-red"], [class*="heading"] span{
    color:inherit;
  }
}


/* v7.86 - mobile exclusive hero reposition closer to desktop composition */
@media (max-width:767px){
  body .hth-exclusive .hth-exclusive-copy{max-width:100%!important}
  body .hth-exclusive .hth-exclusive-trust{margin-bottom:10px!important}
}


/* ==========================================================
   v7.87 - FIX dứt điểm hero Sản phẩm độc quyền trên mobile:
   ảnh là background NẰM SAU chữ, không tạo khoảng ảnh riêng phía dưới
   ========================================================== */
@media (max-width:767px){
  body .hth-exclusive .hth-exclusive-hero{
    min-height:0!important;
    padding:0!important;
    background-color:#fff!important;
    background-image:
      linear-gradient(90deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.92) 54%,rgba(255,255,255,.82) 100%),
      var(--hero-bg-mobile,var(--hero-bg))!important;
    background-repeat:no-repeat,no-repeat!important;
    background-position:center center,center center!important;
    background-size:cover,cover!important;
  }
  body .hth-exclusive .hth-exclusive-hero-inner{
    position:relative!important;
    z-index:3!important;
    display:block!important;
    min-height:0!important;
    padding:18px 16px 20px!important;
  }
  body .hth-exclusive .hth-exclusive-copy{
    position:relative!important;
    z-index:4!important;
    width:100%!important;
    max-width:100%!important;
    padding:0!important;
  }
  body .hth-exclusive .hth-exclusive-copy,
  body .hth-exclusive .hth-exclusive-copy p,
  body .hth-exclusive .hth-exclusive-copy h1,
  body .hth-exclusive .hth-exclusive-copy h2,
  body .hth-exclusive .hth-exclusive-breadcrumb{
    color:#000!important;
  }
  body .hth-exclusive .hth-exclusive-copy p{
    text-align:justify!important;
    text-justify:inter-word!important;
  }
  body .hth-exclusive .hth-exclusive-badge{
    z-index:2!important;
    top:52%!important;
    bottom:auto!important;
    right:18px!important;
    left:auto!important;
    transform:translateY(-50%)!important;
    width:82px!important;
    height:82px!important;
    font-size:11.5px!important;
    line-height:1.08!important;
    opacity:.92!important;
    pointer-events:none!important;
  }
  body .hth-exclusive .hth-exclusive-actions{
    position:relative!important;
    z-index:5!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    gap:8px!important;
    width:100%!important;
  }
  body .hth-exclusive .hth-exclusive-actions .btn{
    width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:11px 7px!important;
    font-size:12.5px!important;
    line-height:1.15!important;
    white-space:normal!important;
  }
  body .hth-exclusive .hth-exclusive-trust{
    position:relative!important;
    z-index:5!important;
    margin:12px 0 0!important;
  }
}


/* ==========================================================
   v7.88 - Sản phẩm độc quyền: trust items mobile 1 hàng nếu đủ,
   thiếu chỗ thì hàng 2 tự căn giữa
   ========================================================== */
@media (max-width:767px){
  body .hth-exclusive .hth-exclusive-trust{
    display:flex!important;
    flex-wrap:wrap!important;
    justify-content:center!important;
    align-items:center!important;
    column-gap:10px!important;
    row-gap:8px!important;
    width:100%!important;
    margin:12px auto 0!important;
  }
  body .hth-exclusive .hth-exclusive-trust>span{
    flex:0 0 auto!important;
    width:auto!important;
    max-width:100%!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:5px!important;
    white-space:nowrap!important;
    font-size:12px!important;
    line-height:1.2!important;
    text-align:center!important;
  }
  body .hth-exclusive .hth-exclusive-trust>span img{
    flex:0 0 auto!important;
    width:21px!important;
    height:21px!important;
    margin:0!important;
  }
}


/* ==========================================================
   v7.89 - Về HTH: mobile giữ nguyên màu nút như desktop
   ========================================================== */
@media (max-width:767px){
  .page-template-page-ve-hth .hth-about-actions .btn-primary{
    background:#ed1b24!important;
    border-color:#ed1b24!important;
    color:#fff!important;
  }
  .page-template-page-ve-hth .hth-about-actions .btn-primary *,
  .page-template-page-ve-hth .hth-about-actions .btn-primary span{
    color:#fff!important;
  }
  .page-template-page-ve-hth .hth-about-actions .btn-outline{
    background:#fff!important;
    border-color:#ed1b24!important;
    color:#ed1b24!important;
  }
  .page-template-page-ve-hth .hth-about-actions .btn-outline *,
  .page-template-page-ve-hth .hth-about-actions .btn-outline span{
    color:#ed1b24!important;
  }
}


/* ==========================================================
   v7.90 - Mẹ & Bé mobile button colors + arrow inline
   Homepage mobile hero image uses dedicated ACF image
   ========================================================== */
@media (max-width:767px){
  .hth-mb-page .hth-mb-actions .btn.btn-primary,
  .hth-mb-page .hth-mb-final-cta-actions .btn.btn-primary{
    background:#ed1c24!important;
    border-color:#ed1c24!important;
    color:#fff!important;
  }
  .hth-mb-page .hth-mb-actions .btn.btn-outline,
  .hth-mb-page .hth-mb-final-cta-actions .btn.btn-outline{
    background:#fff!important;
    border-color:#ed1c24!important;
    color:#ed1c24!important;
  }
  .hth-mb-page .hth-mb-actions .btn,
  .hth-mb-page .hth-mb-final-cta-actions .btn{
    white-space:nowrap!important;
    font-size:clamp(10.5px,3vw,13px)!important;
    letter-spacing:-.1px!important;
  }
  body.home .hth-home-responsive-hero{
    background-image:linear-gradient(90deg,rgba(255,255,255,.88) 0%,rgba(255,255,255,.78) 48%,rgba(255,255,255,.60) 100%),var(--hth-home-hero-mobile,var(--hth-home-hero-pc))!important;
    background-position:center,center 42%!important;
    background-size:100% 100%,cover!important;
    background-repeat:no-repeat,no-repeat!important;
  }
}


/* v7.91 - Trang chủ mobile: làm ảnh Hero rõ hơn nhưng vẫn giữ chữ dễ đọc */
@media (max-width:767px){
  body.home .hth-home-responsive-hero .v717-hero-copy{
    position:relative;z-index:2;color:#000!important;
  }
  body.home .hth-home-responsive-hero .v717-hero-copy p,
  body.home .hth-home-responsive-hero .v717-hero-copy h1,
  body.home .hth-home-responsive-hero .v717-hero-copy b{color:#000;}
}


/* ==========================================================
   v7.92 - Góc kinh doanh: sitemap nội dung cha → con → bài viết
   ========================================================== */
.hth-bh-sitemap{
  margin-top:34px;
  margin-bottom:42px;
}
.hth-bh-sitemap-head{
  max-width:820px;
  margin:0 auto 22px;
  text-align:center;
}
.hth-bh-sitemap-head>span{
  display:inline-block;
  color:#ed1c24;
  font-size:13px;
  font-weight:800;
  letter-spacing:.08em;
  margin-bottom:6px;
}
.hth-bh-sitemap-head h2{
  margin:0 0 8px;
  color:#111;
  font-size:32px;
  line-height:1.15;
}
.hth-bh-sitemap-head p{
  margin:0;
  color:#444;
  line-height:1.65;
}
.hth-bh-sitemap-root{
  width:min(360px,100%);
  margin:0 auto 28px;
  padding:15px 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  border:2px solid #f3a5aa;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 24px rgba(237,28,36,.06);
  position:relative;
}
.hth-bh-sitemap-root:after{
  content:"";
  position:absolute;
  left:50%;
  top:100%;
  width:2px;
  height:28px;
  background:#ef9da3;
  transform:translateX(-50%);
}
.hth-bh-sitemap-root-icon{
  width:38px;
  height:38px;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#ed1c24;
  border:1px solid #f4b1b5;
  font-size:20px;
}
.hth-bh-sitemap-root strong{
  display:block;
  color:#ed1c24;
  font-size:18px;
}
.hth-bh-sitemap-root small{
  display:block;
  color:#555;
  margin-top:2px;
}
.hth-bh-sitemap-branches{
  position:relative;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:20px;
}
.hth-bh-sitemap-branches:before{
  content:"";
  position:absolute;
  left:16.66%;
  right:16.66%;
  top:-14px;
  height:2px;
  background:#ef9da3;
}
.hth-bh-sitemap-card{
  border:1px solid #f3c0c3;
  border-radius:14px;
  background:#fff;
  overflow:hidden;
  box-shadow:0 8px 26px rgba(20,20,20,.045);
  position:relative;
}
.hth-bh-sitemap-card:before{
  content:"";
  position:absolute;
  left:50%;
  top:-16px;
  width:2px;
  height:16px;
  background:#ef9da3;
}
.hth-bh-sitemap-card-head{
  display:flex;
  gap:12px;
  padding:18px 18px 15px;
  background:linear-gradient(180deg,#fff8f8,#fff);
  border-bottom:1px solid #f8d8da;
}
.hth-bh-sitemap-num{
  flex:0 0 auto;
  color:#ed1c24;
  font-weight:900;
  font-size:18px;
}
.hth-bh-sitemap-card h3{
  margin:0 0 5px;
  font-size:18px;
  line-height:1.25;
}
.hth-bh-sitemap-card h3 a{
  color:#ed1c24;
  text-decoration:none;
}
.hth-bh-sitemap-card-head p{
  margin:0;
  color:#555;
  font-size:14px;
  line-height:1.5;
}
.hth-bh-sitemap-card-body{
  padding:16px 18px 18px;
}
.hth-bh-sitemap-card-body strong{
  display:block;
  color:#111;
  font-size:14px;
  margin-bottom:8px;
}
.hth-bh-sitemap-topics{
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px dashed #f1b7bb;
}
.hth-bh-sitemap-card ul{
  margin:0;
  padding:0;
  list-style:none;
}
.hth-bh-sitemap-card li{
  position:relative;
  padding:5px 0 5px 14px;
  color:#333;
  font-size:14px;
  line-height:1.45;
}
.hth-bh-sitemap-card li:before{
  content:"";
  position:absolute;
  left:0;
  top:13px;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#ed1c24;
}
.hth-bh-sitemap-posts li a{
  color:#222;
  text-decoration:none;
}
.hth-bh-sitemap-posts li a:hover,
.hth-bh-sitemap-more:hover{
  color:#ed1c24;
}
.hth-bh-sitemap-more{
  display:inline-block;
  margin-top:9px;
  color:#ed1c24;
  font-weight:700;
  font-size:13px;
  text-decoration:none;
}
.hth-bh-sitemap-empty{
  margin:0;
  color:#777;
  font-size:14px;
}
.hth-bh-sitemap-content-pages{
  width:min(640px,100%);
  margin:26px auto 0;
  padding:15px 18px;
  display:flex;
  align-items:center;
  gap:14px;
  border:2px dashed #f0a9ae;
  border-radius:14px;
  background:#fffafa;
}
.hth-bh-sitemap-content-icon{
  width:42px;
  height:42px;
  flex:0 0 42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid #f2b5b9;
  color:#ed1c24;
  font-size:21px;
}
.hth-bh-sitemap-content-copy>strong{
  display:block;
  color:#ed1c24;
  margin-bottom:7px;
}
.hth-bh-sitemap-content-links{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
}
.hth-bh-sitemap-content-links a{
  color:#222;
  text-decoration:none;
  font-size:14px;
}
.hth-bh-sitemap-content-links a:before{
  content:"•";
  color:#ed1c24;
  margin-right:6px;
}
@media (max-width:991px){
  .hth-bh-sitemap-branches{
    grid-template-columns:1fr;
    gap:16px;
  }
  .hth-bh-sitemap-branches:before,
  .hth-bh-sitemap-card:before{
    display:none;
  }
  .hth-bh-sitemap-root:after{
    height:18px;
  }
}
@media (max-width:767px){
  .hth-bh-sitemap{
    margin-top:26px;
    margin-bottom:32px;
  }
  .hth-bh-sitemap-head{
    text-align:left;
    margin-bottom:18px;
  }
  .hth-bh-sitemap-head h2{
    font-size:27px;
  }
  .hth-bh-sitemap-root{
    margin-left:0;
    justify-content:flex-start;
  }
  .hth-bh-sitemap-card-head{
    padding:15px;
  }
  .hth-bh-sitemap-card-body{
    padding:14px 15px 16px;
  }
  .hth-bh-sitemap-content-pages{
    align-items:flex-start;
  }
  .hth-bh-sitemap-content-links{
    display:grid;
    gap:7px;
  }
}
