/* Hung Thinh Door — header overrides */
:root {
    --ht-header-h: 64px;
    --ht-header-border: 5px;
}

.list-language {
    display: none !important;
}

/* Landmark / a11y helpers for AI & assistive tech */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ht-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100000;
    padding: 10px 16px;
    background: #006bcc;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0 0 4px 0;
}

.ht-skip-link:focus {
    left: 0;
}

.ht-main-nav {
    display: contents;
}

.ht-footer address,
.group-home06 address {
    font-style: normal;
}

.ht-footer address p,
.group-home06 address p {
    margin: 0 0 8px;
}

figure.box-slide,
figure.ht-product-detail-gallery,
figure.ht-article-cover {
    margin: 0;
}

.list-products-home article,
.list-news-home article {
    display: block;
}

.header {
    height: var(--ht-header-h);
    overflow: visible;
    border-bottom: var(--ht-header-border) solid #0069c5;
    box-sizing: content-box;
}

.body-header {
    height: var(--ht-header-h);
}

.container {
    padding-top: calc(var(--ht-header-h) + var(--ht-header-border));
}

.logo {
    float: left;
    max-width: 160px;
    margin-top: 8px;
}

.logo img {
    display: block;
    max-width: 160px;
    max-height: 48px;
    width: auto;
    height: auto;
}

.right-header {
    float: right;
    width: auto;
    max-width: 980px;
    height: var(--ht-header-h);
}

.list-main-menu {
    float: right;
    margin: 0;
    height: var(--ht-header-h);
}

.list-main-menu > li {
    height: var(--ht-header-h);
}

.list-main-menu > li > a {
    display: block;
    height: var(--ht-header-h);
    line-height: var(--ht-header-h);
    padding: 0 10px;
    box-sizing: border-box;
    font-size: 14px;
}

.list-main-menu > li > a:hover,
.list-main-menu > li > a.selected {
    background: #0069c5;
    color: #fff;
}

.icon-search {
    float: right;
    margin: 0 0 0 8px;
    height: var(--ht-header-h);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 0 12px;
    border-left: 1px solid #d3d3d3;
    border-right: 1px solid #d3d3d3;
    cursor: pointer;
    line-height: 0;
}

.icon-search img {
    display: block;
    width: auto;
    height: 18px;
    max-width: none;
    object-fit: contain;
}

/* Ô tìm kiếm thả xuống sát mép dưới header */
.header .form-search {
    top: 100%;
    right: 0;
    height: auto;
    min-height: 40px;
    padding: 10px;
    box-sizing: border-box;
}

.header .form-search form {
    display: flex;
    align-items: center;
    height: 32px;
    box-sizing: border-box;
}

.header .form-search input[type=text],
.header .form-search input[type=search] {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 30px;
    line-height: 30px;
}

.header .button-search {
    float: none;
    flex: 0 0 48px;
    height: 30px;
}

/* Mega menu bám sát dưới header cố định */
.box-menu-sanpham {
    top: calc(var(--ht-header-h) + var(--ht-header-border));
}

@media (max-width: 1200px) {
    :root {
        --ht-header-h: 40px;
        --ht-header-border: 2px;
    }

    .header {
        height: 40px;
        border-bottom-width: 2px;
    }

    .body-header,
    .right-header {
        height: 40px;
    }

    .list-main-menu,
    .list-main-menu > li,
    .list-main-menu > li > a {
        height: auto;
        line-height: 36px;
    }

    .list-main-menu > li > a {
        padding: 0 20px;
        font-size: 15px;
    }

    .icon-search {
        height: 40px;
        margin: 0;
        padding: 0 8px;
    }

    .icon-search img {
        height: 16px;
    }

    .header .form-search {
        top: 100%;
        padding-top: 10px;
    }

    .box-menu-sanpham {
        top: 42px;
    }
}

/* Ảnh đại diện SP / tin — cố định tỷ lệ 259:195, crop giữa */
.img-products-home,
.img-news-home {
    display: block;
    width: 100%;
    aspect-ratio: 259 / 195;
    overflow: hidden;
    background: #f3f3f3;
}

.img-products-home img,
.img-news-home img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Tránh kẹt overlay trắng khi bxSlider chờ preload ảnh */
.group-home02 .bx-wrapper .bx-loading {
    display: none !important;
}

/* ========== Lazy load ========== */
img.ht-lazy {
    background: #f0f0f0;
    min-height: 40px;
    transition: opacity 0.25s ease;
}

img.ht-lazy:not(.is-loaded) {
    opacity: 0.55;
}

img.ht-lazy.is-loaded {
    opacity: 1;
    background: transparent;
}

iframe[data-src] {
    background: #e8eef5;
}

/* ========== Feature strip (trước footer) ========== */
.ht-feature-strip {
    background: #f3f3f3 url('/images/footer-features/austdoor-binh-duong-bg01.png') repeat;
    padding: 28px 0 32px;
}

.ht-feature-strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    box-sizing: border-box;
    padding: 0 10px;
}

.ht-feature-card {
    flex: 1 1 220px;
    min-width: 200px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 22px 16px 20px;
    text-decoration: none !important;
    color: #222;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ht-feature-card:hover {
    box-shadow: 0 6px 16px rgba(0, 39, 87, 0.12);
    transform: translateY(-2px);
    color: #222;
}

.ht-feature-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 12px;
}

.ht-feature-ico svg {
    width: 48px;
    height: 48px;
}

.ht-feature-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    line-height: 1.35;
    margin-bottom: 8px;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-feature-desc {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: #555;
}

@media (max-width: 991px) {
    .ht-feature-card {
        flex: 1 1 calc(50% - 18px);
    }
}

@media (max-width: 575px) {
    .ht-feature-strip {
        padding: 20px 0 24px;
    }

    .ht-feature-card {
        flex: 1 1 100%;
    }
}

/* ========== Home map (Google Maps iframe) ========== */
.group-home06 > .body-website {
    display: flex;
    align-items: stretch;
}

.group-home06 .left-group-home05 {
    float: none;
    flex: 0 0 398px;
    max-width: 398px;
    box-sizing: border-box;
    padding-bottom: 36px;
}

.group-home06 .right-group-home05 {
    float: none;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    position: relative;
    align-self: stretch;
}

.ht-home-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e8eef5;
}

.ht-home-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 991px) {
    .group-home06 > .body-website {
        flex-direction: column;
    }

    .group-home06 .left-group-home05 {
        flex: 1 1 auto;
        max-width: 100%;
        width: 100%;
    }

    .group-home06 .right-group-home05 {
        width: 100%;
        min-height: 280px;
        position: relative;
    }

    .ht-home-map {
        position: absolute;
        inset: 0;
    }
}

/* ========== Footer (layout kiểu đại lý Austdoor) ========== */
.footer.ht-footer {
    background: #002757 url('/images/austdoor-binh-duong-bg-footer.png') no-repeat bottom center;
    background-size: cover;
    padding: 42px 0 36px;
    color: #fff;
    font-family: svn-azo_sansregular, Arial, Helvetica, sans-serif;
}

.ht-footer-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 24px;
    box-sizing: border-box;
    padding: 0 10px;
}

.ht-footer-col {
    box-sizing: border-box;
    font-size: 13px;
    line-height: 1.55;
    color: #fff;
}

.ht-footer-col p {
    margin: 0 0 8px;
    color: #fff;
}

.ht-footer-col a {
    color: #fff;
    text-decoration: none;
}

.ht-footer-col a:hover {
    color: #ff8400;
}

.ht-footer-about {
    flex: 1 1 320px;
    max-width: 360px;
}

.ht-footer-policy {
    flex: 1 1 200px;
    max-width: 240px;
}

.ht-footer-products {
    flex: 1 1 220px;
    max-width: 260px;
}

.ht-footer-brand {
    flex: 1 1 220px;
    max-width: 260px;
}

.ht-footer-title {
    margin: 0 0 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-accent {
    color: #ff8400;
}

.ht-footer-sep {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.35);
    margin: 12px 0;
}

.ht-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ht-footer-links li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 8px;
}

.ht-footer-links li::before {
    content: "-";
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
}

.ht-footer-links a {
    color: #fff;
    font-size: 13px;
    line-height: 1.45;
}

.ht-footer-submenu {
    list-style: none;
    margin: 8px 0 0;
    padding: 0 0 0 10px;
}

.ht-footer-submenu li {
    margin-bottom: 6px;
}

.ht-footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 14px 0 10px;
    padding: 10px 18px;
    background: #ff8400;
    color: #fff !important;
    border-radius: 22px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none !important;
}

.ht-footer-cta:hover {
    background: #e67500;
    color: #fff !important;
}

.ht-footer-cta-ico {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.ht-footer-note {
    font-size: 12px;
    opacity: 0.9;
}

.ht-footer-logo {
    display: inline-block;
    margin-bottom: 12px;
}

.ht-footer-logo img {
    display: block;
    max-height: 56px;
    width: auto;
    max-width: 200px;
}

.ht-footer-social {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
}

.ht-footer-social li {
    float: left;
    margin: 0 8px 0 0;
}

.ht-soc {
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px 14px;
}

.ht-soc-map {
    background-color: #4aa3ff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5c-1.4 0-2.5-1.1-2.5-2.5S10.6 6.5 12 6.5s2.5 1.1 2.5 2.5S13.4 11.5 12 11.5z'/%3E%3C/svg%3E");
}

.ht-soc-fb {
    background-color: #1877f2;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M14 9h3V6h-3c-1.7 0-3 1.3-3 3v2H8v3h3v7h3v-7h3l1-3h-4V9c0-.6.4-1 1-1z'/%3E%3C/svg%3E");
}

.ht-soc-yt {
    background-color: #e53935;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M10 15.5l6-3.5-6-3.5v7zM21.6 7.2s-.2-1.4-.8-2c-.7-.8-1.6-.8-2-0.9C16.1 4 12 4 12 4h0s-4.1 0-6.8.3c-.4.1-1.3.1-2 .9-.6.6-.8 2-.8 2S2.2 8.8 2.2 10.4v1.2c0 1.6.2 3.2.2 3.2s.2 1.4.8 2c.7.8 1.7.8 2.1.9 1.5.1 6.7.3 6.7.3s4.1 0 6.8-.3c.4-.1 1.3-.1 2-.9.6-.6.8-2 .8-2s.2-1.6.2-3.2v-1.2c0-1.6-.2-3.2-.2-3.2z'/%3E%3C/svg%3E");
}

.ht-footer-legal,
.ht-footer-copy {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.92;
}

/* Floating contact widgets */
.ht-float-contact {
    position: fixed;
    right: 18px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.ht-float-bubble {
    position: relative;
    background: #fff;
    color: #333;
    font-size: 13px;
    padding: 10px 28px 10px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.ht-float-close {
    position: absolute;
    top: 2px;
    right: 6px;
    border: 0;
    background: transparent;
    color: #999;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.ht-float-call {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #22c55e url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1.1-.2 1.2.4 2.5.6 3.8.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.6 21 3 13.4 3 4c0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.6.6 3.8.1.4 0 .8-.3 1.1L6.6 10.8z'/%3E%3C/svg%3E") center / 26px no-repeat;
    box-shadow: 0 6px 18px rgba(34, 197, 94, 0.45);
    animation: ht-pulse 1.8s ease-in-out infinite;
}

@keyframes ht-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}

@media (max-width: 1024px) {
    .ht-footer-inner {
        gap: 24px 20px;
    }

    .ht-footer-about,
    .ht-footer-policy,
    .ht-footer-products,
    .ht-footer-brand {
        max-width: none;
        flex: 1 1 45%;
    }
}

@media (max-width: 767px) {
    .footer.ht-footer {
        padding: 28px 0 24px;
    }

    .ht-footer-about,
    .ht-footer-policy,
    .ht-footer-products,
    .ht-footer-brand {
        flex: 1 1 100%;
    }

    .ht-float-contact {
        right: 12px;
        bottom: 14px;
    }
}

/* ========== Home slider: cover, cao = viewport trừ header ========== */
.block-banner-slideshow,
.block-banner-slideshow .slider-wrapper,
.block-banner-slideshow #block-slider {
    height: calc(100vh - (var(--ht-header-h) + var(--ht-header-border)));
    max-height: calc(100vh - (var(--ht-header-h) + var(--ht-header-border)));
}

.block-banner-slideshow #block-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Ảnh chính + mọi ảnh trong slider phủ kín khung, crop giữa */
.block-banner-slideshow #block-slider .nivo-main-image,
.block-banner-slideshow #block-slider img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    top: 0 !important;
    left: 0 !important;
    max-width: none !important;
}

/* Slice của hiệu ứng fade cũng phủ toàn khung */
.block-banner-slideshow #block-slider .nivo-slice {
    height: 100% !important;
    top: 0 !important;
}

.block-banner-slideshow #block-slider .nivo-imageLink {
    width: 100%;
    height: 100%;
}

@media (max-width: 767px) {
    .block-banner-slideshow,
    .block-banner-slideshow .slider-wrapper,
    .block-banner-slideshow #block-slider {
        height: calc(100vh - (var(--ht-header-h) + var(--ht-header-border)));
        max-height: calc(100vh - (var(--ht-header-h) + var(--ht-header-border)));
    }
}

/* ========== Home video section ========== */
.home-video-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 0 10px;
    margin-left: -10px;
    margin-right: -10px;
}

.home-video-card {
    position: relative;
    float: left;
    width: calc(33.3333% - 20px);
    margin: 0 10px 28px;
    overflow: hidden;
    border-radius: 14px;
    background: #000;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
    box-sizing: border-box;
}

.home-video-thumb-wrap {
    width: 100%;
}

.home-video-thumb {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform 0.35s ease;
    background: #f3f3f3;
}

.home-video-overlay {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px 16px;
}

.home-video-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0));
    z-index: 0;
}

.home-video-overlay-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    text-align: center;
}

.home-video-title {
    margin: 0 0 8px;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    line-height: 1.25;
    text-transform: uppercase;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.home-video-desc {
    margin: 0 auto 14px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-video-watch-btn {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: #006bcc;
    color: #fff;
    border: 0;
    cursor: pointer;
    font-weight: 800;
    font-size: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.home-video-watch-btn:hover {
    background: #ff8400;
    transform: translateY(-1px);
}

.home-video-card:hover .home-video-overlay {
    opacity: 1;
    transform: translateY(0);
}

.home-video-card:hover .home-video-thumb {
    transform: scale(1.06);
}

/* Popup modal */
.home-video-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    padding: 20px;
}

.home-video-modal.is-open {
    display: flex;
}

.home-video-modal-inner {
    position: relative;
    width: 100%;
    max-width: 940px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
}

.home-video-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
    z-index: 2;
}

.home-video-modal-close:hover {
    background: rgba(255, 255, 255, 0.25);
}

.home-video-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.home-video-modal-body iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 1024px) {
    .home-video-grid {
        margin-left: -8px;
        margin-right: -8px;
    }

    .home-video-card {
        width: calc(50% - 16px);
        margin: 0 8px 22px;
    }
}

@media (max-width: 767px) {
    .home-video-grid {
        margin-left: 0;
        margin-right: 0;
    }

    .home-video-card {
        width: 100%;
        margin: 0 0 18px;
    }
}

/* ========== Trang con: nền trắng full (bỏ bg xám của body) ========== */
body.ht-inner-page {
    background: #fff;
}

.container.ht-inner-page {
    background: #fff;
    width: 100%;
    max-width: none;
}

/* ========== Sidebar phải (trừ trang chủ) ========== */
.ht-page-with-sidebar {
    display: flex;
    align-items: flex-start;
    gap: 28px;
    padding: 20px 10px 40px;
    box-sizing: border-box;
}

.ht-main-col {
    flex: 1 1 auto;
    min-width: 0;
    width: calc(100% - 300px);
    order: 1;
}

.ht-sidebar {
    flex: 0 0 270px;
    width: 270px;
    order: 2;
}

.ht-side-box {
    margin-bottom: 22px;
    background: #fff;
}

.ht-side-head {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #006bcc;
    color: #fff;
    padding: 10px 12px;
}

.ht-side-head h2,
.ht-side-head h3 {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-side-ico {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff center / 16px no-repeat;
    flex-shrink: 0;
}

.ht-side-ico-product {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e53935' d='M4 4h16v3H4V4zm0 5h3v11H4V9zm5 0h3v11H9V9zm5 0h3v11h-3V9zm5 0h1v11h-1V9z'/%3E%3C/svg%3E");
}

.ht-side-ico-project {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23e53935' d='M12 8.5a3.5 3.5 0 100 7 3.5 3.5 0 000-7zm9.4 2.6l-1.7-.3a6.9 6.9 0 00-.7-1.6l1-1.4-1.4-1.4-1.4 1a6.9 6.9 0 00-1.6-.7l-.3-1.7h-2l-.3 1.7a6.9 6.9 0 00-1.6.7l-1.4-1-1.4 1.4 1 1.4a6.9 6.9 0 00-.7 1.6l-1.7.3v2l1.7.3c.1.6.4 1.1.7 1.6l-1 1.4 1.4 1.4 1.4-1c.5.3 1 .5 1.6.7l.3 1.7h2l.3-1.7c.6-.1 1.1-.4 1.6-.7l1.4 1 1.4-1.4-1-1.4c.3-.5.5-1 .7-1.6l1.7-.3v-2z'/%3E%3C/svg%3E");
}

.ht-side-cate {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #d9d9d9;
    border-top: 0;
}

.ht-side-cate li {
    border-bottom: 1px dotted #c8c8c8;
}

.ht-side-cate li:last-child {
    border-bottom: 0;
}

.ht-side-cate a {
    display: block;
    padding: 10px 12px;
    color: #006bcc;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
}

.ht-side-cate a:hover {
    color: #ff8400;
    background: #f7fbff;
}

.ht-side-projects {
    border: 1px solid #d9d9d9;
    border-top: 0;
    padding: 10px 10px 4px;
}

.ht-side-project {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dotted #ddd;
}

.ht-side-project:last-child {
    border-bottom: 0;
    margin-bottom: 0;
}

.ht-side-project-img {
    flex: 0 0 88px;
    width: 88px;
    height: 62px;
    overflow: hidden;
    background: #f3f3f3;
}

.ht-side-project-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ht-side-project-title {
    flex: 1 1 auto;
    color: #006bcc;
    font-size: 12px;
    line-height: 1.45;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ht-side-project-title:hover {
    color: #ff8400;
}

.ht-side-empty {
    margin: 0;
    padding: 8px 4px 12px;
    color: #888;
    font-size: 12px;
}

.ht-page-with-sidebar .ht-cate-page {
    padding: 4px 0 20px;
}

.ht-page-with-sidebar .ht-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .ht-page-with-sidebar {
        flex-wrap: wrap;
    }

    .ht-main-col {
        width: 100%;
    }

    .ht-sidebar {
        flex: 1 1 100%;
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .ht-side-box {
        margin-bottom: 0;
    }

    .ht-page-with-sidebar .ht-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .ht-sidebar {
        grid-template-columns: 1fr;
    }

    .ht-page-with-sidebar .ht-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== Trang danh mục sản phẩm ========== */
.ht-cate-page {
    padding: 24px 10px 50px;
    box-sizing: border-box;
}

.ht-breadcrumb {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px;
    line-height: 1.5;
}

.ht-breadcrumb a {
    color: #006bcc;
    text-decoration: none;
}

.ht-breadcrumb a:hover {
    color: #ff8400;
}

.ht-bc-sep {
    margin: 0 6px;
    color: #999;
}

.ht-cate-title {
    margin: 0 0 18px;
    color: #006bcc;
    font-size: 26px;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-cate-content {
    color: #333;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.ht-cate-content h2,
.ht-cate-content h3 {
    color: #006bcc;
    margin: 22px 0 10px;
    line-height: 1.35;
}

.ht-cate-content img {
    max-width: 100%;
    height: auto;
}

.ht-cate-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 13px;
}

.ht-cate-content table th,
.ht-cate-content table td {
    border: 1px solid #ddd;
    padding: 8px 10px;
}

.ht-cate-content table th {
    background: #f5f8fc;
}

.ht-cate-content-bottom {
    margin-top: 36px;
    padding-top: 8px;
    border-top: 1px solid #e5e5e5;
}

.ht-cate-block {
    margin-bottom: 36px;
}

.ht-cate-block-title {
    margin: 0 0 16px;
    font-size: 20px;
    color: #006bcc;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-cate-block-title a {
    color: inherit;
    text-decoration: none;
}

.ht-cate-block-title a:hover {
    color: #ff8400;
}

.ht-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px 20px;
    margin-bottom: 12px;
}

.ht-product-card {
    text-align: center;
}

.ht-product-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 259 / 195;
    overflow: hidden;
    background: #f3f3f3;
    margin-bottom: 10px;
}

.ht-product-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.ht-product-card:hover .ht-product-card-img img {
    transform: scale(1.04);
}

.ht-product-card-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
    font-family: svn-azo_sansregular, Arial, Helvetica, sans-serif;
}

.ht-product-card-title a {
    color: #006bcc;
    text-decoration: none;
}

.ht-product-card-title a:hover {
    color: #ff8400;
}

.ht-product-card-price {
    margin-bottom: 10px;
    min-height: 22px;
}

.ht-price-old {
    display: inline-block;
    margin-right: 8px;
    color: #999;
    font-size: 13px;
    text-decoration: line-through;
}

.ht-price-sale {
    display: inline-block;
    color: #e53935;
    font-size: 15px;
    font-weight: 700;
}

.ht-product-card-btn {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #006bcc;
    color: #006bcc;
    font-size: 13px;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.2s ease, color 0.2s ease;
}

.ht-product-card-btn:hover {
    background: #006bcc;
    color: #fff;
}

.ht-cate-empty {
    padding: 24px 0;
    color: #666;
}

@media (max-width: 1024px) {
    .ht-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ht-cate-title {
        font-size: 22px;
    }
}

@media (max-width: 767px) {
    .ht-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px 12px;
    }

    .ht-cate-title {
        font-size: 18px;
    }

    .ht-product-card-title {
        font-size: 13px;
        min-height: 36px;
    }
}

/* ========== Chi tiết bài viết ========== */
.ht-article-page {
    padding: 4px 0 24px;
}

.ht-article-title {
    margin: 0 0 12px;
    color: #006bcc;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-article-meta {
    margin: 0 0 14px;
    font-size: 13px;
    color: #888;
}

.ht-article-meta span + span::before {
    content: "•";
    margin: 0 8px;
    color: #ccc;
}

.ht-article-desc {
    margin: 0 0 18px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
    font-style: italic;
}

.ht-article-cover {
    margin: 0 0 22px;
    overflow: hidden;
    background: #f3f3f3;
}

.ht-article-cover img {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
}

.ht-article-content {
    margin-bottom: 28px;
}

.ht-article-related {
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid #e5e5e5;
}

.ht-article-related-title {
    margin: 0 0 12px;
    font-size: 18px;
    color: #006bcc;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-article-related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ht-article-related-list li {
    margin: 0 0 8px;
    padding-left: 14px;
    position: relative;
}

.ht-article-related-list li::before {
    content: "›";
    position: absolute;
    left: 0;
    color: #006bcc;
}

.ht-article-related-list a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
}

.ht-article-related-list a:hover {
    color: #ff8400;
}

@media (max-width: 767px) {
    .ht-article-title {
        font-size: 20px;
    }
}

/* ========== Danh sách tin tức ========== */
.ht-news-list-page {
    padding: 4px 0 24px;
}

.ht-list-intro {
    margin: 0 0 22px;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}

.ht-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px 20px;
}

.ht-news-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e6e6e6;
    background: #fff;
}

.ht-news-card-img {
    display: block;
    width: 100%;
    aspect-ratio: 259 / 195;
    overflow: hidden;
    background: #f3f3f3;
}

.ht-news-card-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.35s ease;
}

.ht-news-card:hover .ht-news-card-img img {
    transform: scale(1.04);
}

.ht-news-card-body {
    padding: 12px 14px 16px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

.ht-news-card-date {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #999;
}

.ht-news-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    font-family: svn-azo_sansregular, Arial, Helvetica, sans-serif;
}

.ht-news-card-title a {
    color: #006bcc;
    text-decoration: none;
}

.ht-news-card-title a:hover {
    color: #ff8400;
}

.ht-news-card-desc {
    margin: 0 0 12px;
    color: #555;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1 1 auto;
}

.ht-news-card-more {
    display: inline-block;
    color: #ff8400;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
}

.ht-news-card-more:hover {
    text-decoration: underline;
}

.ht-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin: 28px 0 8px;
}

.ht-page-link {
    display: inline-block;
    min-width: 34px;
    padding: 7px 10px;
    text-align: center;
    border: 1px solid #d0d0d0;
    color: #006bcc;
    text-decoration: none;
    font-size: 13px;
    background: #fff;
}

.ht-page-link:hover,
.ht-page-link.is-active {
    background: #006bcc;
    border-color: #006bcc;
    color: #fff;
}

/* ========== Chi tiết sản phẩm ========== */
.ht-product-detail-page {
    padding: 4px 0 24px;
}

.ht-product-detail-top {
    display: flex;
    gap: 28px;
    margin-bottom: 28px;
    align-items: flex-start;
}

.ht-product-detail-gallery {
    flex: 0 0 46%;
    max-width: 460px;
}

.ht-product-detail-img {
    width: 100%;
    aspect-ratio: 259 / 195;
    overflow: hidden;
    background: #f3f3f3;
    border: 1px solid #eee;
}

.ht-product-detail-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ht-product-detail-info {
    flex: 1 1 auto;
    min-width: 0;
}

.ht-product-detail-title {
    margin: 0 0 10px;
    color: #006bcc;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.35;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-product-detail-code {
    margin: 0 0 12px;
    font-size: 13px;
    color: #666;
}

.ht-product-detail-price {
    margin: 0 0 14px;
}

.ht-product-detail-price .ht-price-sale {
    font-size: 22px;
}

.ht-product-detail-short {
    margin: 0 0 18px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.ht-product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ht-product-detail-cta {
    display: inline-block;
    padding: 11px 18px;
    background: #ff8400;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    border-radius: 3px;
}

.ht-product-detail-cta:hover {
    background: #e67500;
}

.ht-product-detail-contact {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #006bcc;
    color: #006bcc;
    text-decoration: none;
    border-radius: 3px;
}

.ht-product-detail-contact:hover {
    background: #006bcc;
    color: #fff;
}

.ht-product-detail-heading {
    margin: 0 0 14px;
    font-size: 18px;
    color: #006bcc;
    font-family: svn-azo_sansbold, Arial, Helvetica, sans-serif;
}

.ht-product-detail-body {
    margin-bottom: 30px;
    padding-top: 8px;
    border-top: 1px solid #e8e8e8;
}

.ht-product-related {
    margin-top: 10px;
}

.ht-page-with-sidebar .ht-product-related .ht-product-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .ht-news-grid {
        grid-template-columns: 1fr;
    }

    .ht-product-detail-top {
        flex-direction: column;
    }

    .ht-product-detail-gallery {
        max-width: none;
        width: 100%;
        flex-basis: auto;
    }
}

@media (max-width: 767px) {
    .ht-product-detail-title {
        font-size: 20px;
    }

    .ht-page-with-sidebar .ht-product-related .ht-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== Menu ngang động + submenu ========== */
.list-main-menu > li {
    position: relative;
}

.list-main-menu > li.has-submenu > a::after {
    content: "";
    display: inline-block;
    margin-left: 6px;
    border: 4px solid transparent;
    border-top-color: currentColor;
    vertical-align: middle;
    transform: translateY(2px);
}

.ht-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    margin: 0;
    padding: 8px 0;
    list-style: none;
    background: #fff;
    border-top: 3px solid #006bcc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    text-align: left;
    z-index: 200;
}

.list-main-menu > li.has-submenu:hover > .ht-submenu,
.list-main-menu > li.has-submenu:focus-within > .ht-submenu {
    display: block;
}

.ht-submenu li {
    float: none;
    display: block;
    position: relative;
}

.ht-submenu a {
    display: block !important;
    line-height: 1.4 !important;
    padding: 10px 16px !important;
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    background: transparent !important;
    white-space: nowrap;
}

.ht-submenu a:hover {
    background: #f3f8fd !important;
    color: #006bcc !important;
}

.ht-submenu-nested {
    top: 0;
    left: 100%;
}

.ht-submenu > li:hover > .ht-submenu-nested,
.ht-submenu > li:focus-within > .ht-submenu-nested {
    display: block;
}

@media (max-width: 1024px) {
    .list-main-menu > li.has-submenu > a::after {
        display: none;
    }

    .ht-submenu,
    .ht-submenu-nested {
        position: static;
        display: none;
        box-shadow: none;
        border-top: 0;
        background: #f7f7f7;
        min-width: 0;
        padding: 0;
    }

    .list-main-menu > li.has-submenu.is-open > .ht-submenu,
    .ht-submenu > li.is-open > .ht-submenu-nested {
        display: block;
    }

    .ht-submenu a {
        padding: 10px 18px 10px 28px !important;
    }
}

/* ========== Trang tìm kiếm ========== */
.ht-search-page {
    padding: 4px 0 24px;
}

.ht-search-form {
    display: flex;
    gap: 10px;
    margin: 0 0 16px;
    max-width: 560px;
}

.ht-search-input {
    flex: 1;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
}

.ht-search-input:focus {
    border-color: #006bcc;
    box-shadow: 0 0 0 3px rgba(0, 107, 204, 0.12);
}

.ht-search-btn {
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 4px;
    background: #006bcc;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.ht-search-btn:hover {
    background: #0056a8;
}

.ht-search-section {
    margin-top: 28px;
}

@media (max-width: 767px) {
    .ht-search-form {
        flex-direction: column;
    }

    .ht-search-btn {
        width: 100%;
    }
}

/* ========== Trang liên hệ ========== */
.ht-contact-page {
    padding: 4px 0 24px;
}

.ht-contact-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-top: 8px;
}

.ht-contact-info {
    flex: 1 1 46%;
    min-width: 0;
}

.ht-contact-form-wrap {
    flex: 1 1 48%;
    min-width: 0;
}

.ht-contact-address {
    font-style: normal;
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #333;
}

.ht-contact-address p {
    margin: 0 0 8px;
}

.ht-contact-address a,
.ht-contact-note a {
    color: #006bcc;
    text-decoration: none;
}

.ht-contact-address a:hover,
.ht-contact-note a:hover {
    color: #ff8400;
}

.ht-contact-note {
    margin: 0 0 18px;
    font-size: 14px;
}

.ht-contact-map {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #f3f3f3;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.ht-contact-map iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.ht-contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ht-contact-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.ht-required {
    color: #d32f2f;
}

.ht-contact-input,
.ht-contact-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d0d7de;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    outline: none;
    font-family: inherit;
    background: #fff;
}

.ht-contact-input:focus,
.ht-contact-textarea:focus {
    border-color: #006bcc;
    box-shadow: 0 0 0 3px rgba(0, 107, 204, 0.12);
}

.ht-contact-textarea {
    resize: vertical;
    min-height: 120px;
}

.ht-contact-error {
    display: block;
    margin-top: 4px;
    color: #d32f2f;
    font-size: 12px;
}

.ht-contact-submit {
    align-self: flex-start;
    min-width: 160px;
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: #ff8400;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
}

.ht-contact-submit:hover {
    background: #e67500;
}

.ht-contact-alert {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 4px;
    font-size: 14px;
    line-height: 1.5;
}

.ht-contact-alert.is-success {
    background: #e8f7ee;
    color: #146c2e;
    border: 1px solid #b7e4c7;
}

.ht-contact-alert.is-error {
    background: #fdecea;
    color: #b42318;
    border: 1px solid #f5c2c0;
}

@media (max-width: 900px) {
    .ht-contact-layout {
        flex-direction: column;
    }

    .ht-contact-submit {
        width: 100%;
    }
}

/* Home intro cards — equal image / text / CTA alignment */
.group-home01 {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    gap: 24px 0;
    padding-bottom: 34px;
}

.group-home01::after {
    display: none;
}

.group-home01 .item-home01,
.group-home01 .item-home02 {
    float: none;
    width: calc(50% - 17px);
    margin: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.group-home01 .img-item-home01 {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-bottom: 14px;
    border: 3px solid #fff;
    box-sizing: border-box;
    background: #eef2f6;
}

.group-home01 .img-item-home01 img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.group-home01 .body-item-home01 {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
}

.group-home01 .title-item-home01 {
    min-height: 2.6em;
    line-height: 1.3;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.group-home01 .summary-item-home01 {
    flex: 1 1 auto;
    min-height: 40px;
    margin-bottom: 16px;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.group-home01 .viewsdetail-item-home01 {
    margin-top: auto;
    width: 176px;
    min-width: 176px;
    height: 40px;
    line-height: 40px;
    flex-shrink: 0;
}

@media (max-width: 980px) {
    .group-home01 .item-home01,
    .group-home01 .item-home02 {
        width: calc(50% - 12px);
    }
}

@media (max-width: 640px) {
    .group-home01 {
        flex-direction: column;
        gap: 28px;
    }

    .group-home01 .item-home01,
    .group-home01 .item-home02 {
        width: 100%;
        margin: 0;
    }

    .group-home01 .img-item-home01 {
        aspect-ratio: 16 / 9;
    }

    .group-home01 .title-item-home01,
    .group-home01 .summary-item-home01 {
        min-height: 0;
        -webkit-line-clamp: unset;
        display: block;
        overflow: visible;
    }
}
