:root {
    --door-green: #10392c;
    --door-deep: #08291f;
    --door-ink: #132a23;
    --door-muted: #485d53;
    --door-gold: #f4bc49;
    --door-paper: #f4f6f2;
    --door-line: #dce5df;
    --door-radius: 18px;
    --door-shadow: 0 8px 25px rgb(16 57 44 / 8%);
    --door-width: 1240px;
    --door-header: 78px;
    --door-font: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

body { background: var(--door-paper); color: var(--door-ink); font: 16px/1.6 var(--door-font); }
.body-wrapper, .body-website { width: min(var(--door-width), calc(100% - 48px)); margin-inline: auto; }
.door-main { padding-top: var(--door-header); }
.door-main :is(h1, h2, h3, h4, a, p), .header :is(a, button), .footer :is(h4, a) { font-family: var(--door-font); }
:where(.header, .door-main, .footer) :focus-visible { outline: 3px solid #b06d00; outline-offset: 3px; }
.header { height: var(--door-header); background: #fff; border: 0; box-shadow: 0 1px 0 var(--door-line); }
.body-header { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.body-header.clearfix::after { display: none; }
.logo { flex: 0 0 auto; }
.logo img { display: block; width: auto; height: auto; }
.right-header { float: none; width: auto; min-width: 0; display: flex; align-items: center; flex-direction: row-reverse; gap: 12px; }
.list-main-menu { float: none; margin: 0; padding: 0; }
.header .list-main-menu li a { color: var(--door-ink); font-size: 15px; font-weight: bold; line-height: 1.3; padding: 12px 8px; border-radius: 8px; text-transform: uppercase; }
.list-main-menu li a:hover, .list-main-menu li a.selected { background: #e8f0eb; color: var(--door-deep); }
.door-header-actions { display: flex; align-items: center; gap: 8px; }
.door-hotline, .door-button, .header .form-search button {
    box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid transparent; border-radius: 10px; padding: 10px 15px;
    background: var(--door-gold); color: var(--door-deep); font-weight: 750; line-height: 1.35;
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.door-hotline { font-size: 14px; }
.door-hotline:hover, .door-button:hover { background: #ffd77e; color: var(--door-deep); }
.door-search-toggle, #menu-mobile {
    position: relative; box-sizing: border-box; width: 42px; height: 42px; margin: 0;
    padding: 0; border: 1px solid var(--door-line); border-radius: 10px; cursor: pointer;
    background: #fff; color: var(--door-green);
}
.door-search-toggle::before { content: ""; position: absolute; width: 13px; height: 13px; border: 2px solid; border-radius: 50%; top: 10px; left: 10px; }
.door-search-toggle::after { content: ""; position: absolute; width: 8px; height: 2px; background: currentColor; top: 26px; left: 23px; transform: rotate(45deg); }
#menu-mobile::before { content: ""; position: absolute; top: 19px; left: 10px; width: 20px; height: 2px; background: currentColor; box-shadow: 0 -6px currentColor, 0 6px currentColor; }
#menu-mobile, #menu-mobile[hidden], .header .form-search[hidden] { display: none; }
.header .form-search {
    position: absolute; top: calc(100% + 8px); right: 0; z-index: 12; display: block;
    width: min(360px, 100%); box-sizing: border-box; padding: 12px; border: 1px solid var(--door-line);
    background: #fff; box-shadow: var(--door-shadow); border-radius: 12px;
}
.header .form-search form { display: flex; gap: 8px; }
.header .form-search input { min-width: 0; flex: 1; border: 1px solid var(--door-line); padding: 8px 10px; border-radius: 8px; font: inherit; }
.header .box-menu-sanpham { top: 100%; max-width: 100%; background: #fff; border-radius: 0 0 14px 14px; box-shadow: var(--door-shadow); }

.door-hero {
    display: grid; grid-template-columns: minmax(270px, 0.76fr) minmax(0, 1.45fr); align-items: center;
    margin-block: 26px 40px; overflow: hidden; border-radius: 24px;
    background: linear-gradient(135deg, var(--door-deep), #1b5943); color: #fff;
}
.door-hero-copy { padding: clamp(24px, 3.6vw, 56px); }
.door-hero h1 { margin: 0 0 14px; color: #fff; font-size: clamp(32px, 4vw, 60px); font-weight: 800; line-height: 1.05; letter-spacing: -.04em; }
.door-hero p { margin: 0 0 22px; color: #e3eee8; font-size: clamp(15px, 1.55vw, 18px); }
.door-hero-actions { display: flex; flex-wrap: wrap; gap: 9px; }
.door-button { font: 750 14px/1.35 var(--door-font); }
.door-button-outline { background: transparent; color: #fff; border-color: #a3c4b4; }
.door-hero .feature { position: relative; min-width: 0; margin: 0; }
.door-hero .nivo-controlNav { position: absolute !important; bottom: 6px; z-index: 9; }
.door-hero .nivoSlider { margin: 0; }
.door-hero .nivoSlider > a:first-child > img { display: block; }
.door-hero-fallback { width: 100%; height: auto; display: block; }
.door-main .backgroup-white { background: transparent; margin-bottom: 0; }
.group-home01, .list-lydo, .group-home05 .list-news-home, .door-main .box-list-news,
.door-main .box-content > .clearfix:has(> .item-products-home) {
    display: grid; gap: clamp(12px, 1.7vw, 24px);
}
.group-home01 { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin: 0 auto 48px; }
.list-lydo { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.group-home05 .list-news-home, .door-main .box-list-news { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); padding: 0; }
.door-main .box-content > .clearfix:has(> .item-products-home) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 225px), 1fr)); }
:is(.group-home01, .list-lydo, .list-news-home, .box-list-news, .box-content) > .clearfix:has(> .item-products-home)::before,
:is(.group-home01, .list-lydo, .list-news-home, .box-list-news)::before,
:is(.group-home01, .list-lydo, .list-news-home, .box-list-news)::after,
.door-main .box-content > .clearfix:has(> .item-products-home)::after { display: none; }
.door-main :is(.item-home01, .item-lydo, .item-products-home, .news-item),
.door-main .list-news-home > li {
    box-sizing: border-box; width: auto; max-width: none; min-width: 0; float: none; margin: 0;
    overflow: hidden; background: #fff; border: 1px solid var(--door-line); border-radius: var(--door-radius); box-shadow: var(--door-shadow);
}
.door-main .item-home01 { display: flex; flex-direction: column; align-items: flex-start; padding: 16px; }
.door-main .img-item-home01 { border: 0; border-radius: 12px; overflow: hidden; }
.door-main :is(.img-item-home01, .img-news-home, .image-news) img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.door-main .title-item-home01 { font-size: clamp(18px, 2vw, 23px); line-height: 1.3; color: var(--door-ink); }
.door-main .summary-item-home01 { line-height: 1.55; color: var(--door-muted); }
.door-main .viewsdetail-item-home01 { width: auto; height: auto; line-height: 1.35; margin-top: auto; border-radius: 9px; padding: 10px 14px; background: var(--door-green); color: #fff; font-size: 14px; text-transform: none; }
.door-main .group-home03, .door-main .group-home05 { margin: 0 auto 50px; }
.door-main :is(.title01, .title02, .title03) {
    height: auto; background: none; margin: 0 0 20px; padding: 0; color: var(--door-ink);
    font: 800 clamp(24px, 3vw, 38px)/1.18 var(--door-font); text-align: left; text-transform: none; letter-spacing: -.025em;
}
.door-main .title01 h2 { font: inherit; color: inherit; background: none; margin: 0; padding: 0; text-transform: none; }
.door-main .item-lydo img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.door-main .content-lydo {
    display: block !important; position: static; width: auto; height: auto; padding: 16px;
    background: none; cursor: auto;
}
.door-main .content-lydo h4, .door-main .content-lydo p {
    width: auto; margin: 0; padding: 0; color: var(--door-ink); background: none;
    font: 750 18px/1.35 var(--door-font); text-align: left; text-transform: none;
}
.door-main .content-lydo p { margin-top: 7px; font-size: 14px; font-weight: 400; color: var(--door-muted); }
#san-pham-noi-bat { scroll-margin-top: calc(var(--door-header) + 10px); }
.door-main .group-home02 { padding: 32px 0; background: #eaf0eb; }
.door-main .sub-group-home02 { margin-bottom: 24px; }
.door-main .sub-group-home02 :is(.content-module, .box-content) { padding: 0; margin: 0; background: transparent; }
.door-main .header-cat-home {
    width: auto; margin: 0 0 18px; border: 0; border-left: 4px solid var(--door-gold); border-radius: 0; background: transparent;
}
.door-main .header-cat-home :is(a, span) { height: auto; padding: 4px 12px; color: var(--door-green); text-align: left; text-transform: none; font: 750 19px/1.35 var(--door-font) !important; }
.door-main .item-products-home { display: flex; flex-direction: column; transition: border-color .18s ease; }
.door-main .item-products-home:hover { border-color: #98b2a3; }
.door-main .item-products-home :is(.img-products-home, .img-news-other) { display: block; margin: 0; background: #fff; }
.door-main .item-products-home :is(.img-products-home, .img-news-other) img {
    display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: contain; box-sizing: border-box; padding: 9px;
}
.door-main .item-products-home .title-products-home {
    height: auto !important; padding: 10px 12px 4px; overflow: visible; text-align: left !important;
    color: var(--door-ink); font: 750 15px/1.4 var(--door-font) !important;
}
.door-main .item-products-home .title-products-home:not([href]) { margin-top: auto; padding: 4px 12px 13px; color: var(--door-green); }
.door-main .item-products-home .title-products-home span { font: inherit !important; }
.door-main .group-home04 { background: var(--door-green); padding: 30px 0 38px; margin-bottom: 38px; }
.door-main .group-home04 :is(.title03, .title03-mobile) { color: #fff; text-align: left; }
.door-main .group-home04 .box-slide { height: auto; }
.door-main .group-home04 .jcarousel-wrapper { margin-bottom: 0; }
.door-main .group-home04 .library-x { border-radius: 12px; overflow: hidden; }
.door-main .list-news-home .title-news-home { height: auto; padding: 8px 13px 15px; font-weight: 700; color: var(--door-ink); }
.door-main .content-news-item { height: auto; position: static; }
.door-main .capture { position: static; width: auto; height: auto; padding: 10px 14px 16px; background: none; }
.door-main .title-news { display: block; font-size: 17px; line-height: 1.35; font-weight: 750; color: var(--door-ink); }
.door-main .date-time { color: var(--door-muted); }

.door-main .body-module {
    padding: 24px 0 48px;
    background: linear-gradient(150deg, var(--door-deep), #1c5844) top / 100% 235px no-repeat !important;
}
.door-main .title-module {
    display: block; width: auto; height: auto; margin: 0; padding: 23px 0 26px;
    border: 0; color: #fff; background: none;
    font: 800 clamp(26px, 4.2vw, 48px)/1.14 var(--door-font); letter-spacing: -.025em; overflow-wrap: anywhere;
}
.door-main .content-module .title-module { color: var(--door-ink); }
.door-main .box-header-module { padding: 0; background: #fff; border: 1px solid var(--door-line); border-radius: 16px 16px 0 0; }
.door-main .body-dieuhuong { padding: 13px clamp(12px, 3vw, 30px); overflow-wrap: anywhere; }
.door-main .body-dieuhuong ul { margin: 0; padding: 0; }
.door-main .body-dieuhuong :is(a, li, h1) { font: 500 14px/1.5 var(--door-font); }
.door-main .body-dieuhuong a { color: var(--door-green); text-decoration: underline; text-underline-offset: 3px; }
.door-main .block-catsmenu { padding: 0 12px 12px; background: none; }
.door-main .block-catsmenu ul { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.door-main .block-catsmenu li { float: none; margin: 0; padding: 0; background: none; }
.door-main .block-catsmenu li a { display: block; height: auto; margin: 0; padding: 7px 11px; border: 1px solid var(--door-line); border-radius: 9px; background: #f4f7f4; color: var(--door-green); font: 700 14px/1.35 var(--door-font); }
.door-main .block-catsmenu li.selected a, .door-main .block-catsmenu a:hover { background: var(--door-green); color: #fff; }
.door-main .body-module > .body-wrapper > .content-module,
.door-main .body-module > .body-wrapper > .box-content-product {
    box-sizing: border-box; width: auto; margin: 0; padding: clamp(14px, 3vw, 32px);
    background: #fff; border-radius: 0 0 16px 16px; border: 1px solid var(--door-line); border-top: 0; box-shadow: var(--door-shadow);
}
.door-main .body-module .box-content { padding: 0; }
.door-main .body-module .box-content * { font-family: var(--door-font) !important; }
.door-main .box-content-product > .clearfix:first-child { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(16px, 4vw, 48px); align-items: start; margin-bottom: 28px; }
.door-main .box-content-product > .clearfix:first-child::after { display: none; }
.door-main .box-content-product :is(.image-product-detail, .right-attr-product) { box-sizing: border-box; float: none; width: 100%; min-width: 0; margin: 0; }
.door-main .box-content-product .image-product-detail { height: auto; max-height: 540px; object-fit: contain; border: 1px solid var(--door-line); border-radius: 14px; }
.door-main .box-content-product .right-attr-product { padding: clamp(14px, 3vw, 28px); background: var(--door-paper); border-radius: 14px; }
.door-main .title-long h1 { color: var(--door-ink); font: 800 clamp(21px, 3vw, 32px)/1.2 var(--door-font); }
.door-main .list-link-product { padding-left: 0; margin: 14px 0 0; }
.door-main .list-link-product li { float: none; margin: 0; width: min(100%, 300px); }
.door-main .list-link-product li a { display: block; width: auto; min-width: 0; height: auto; padding: 10px 12px; background: var(--door-green); color: #fff; border-radius: 9px; line-height: 1.45; text-align: center; }
.door-main .box-other .box-content { margin-left: 0 !important; }
.door-main .box-other .item-products-home { margin-left: 0 !important; max-width: none !important; }
.door-main .body-module :is(img, iframe, video, table) { max-width: 100%; }
.door-main .body-module .content-detail img { height: auto !important; }
.door-main .body-module .content-detail { max-width: 80ch; margin-inline: auto; overflow-wrap: anywhere; line-height: 1.75; }
.door-main .body-module .content-detail table { display: block; width: max-content; overflow: auto; }
.door-main .body-module :is(.title-page, .header02) { color: var(--door-ink); font-family: var(--door-font); line-height: 1.3; overflow-wrap: anywhere; }
.door-main .body-module .box-list-news + .web-pagination { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; }
.door-main .web-pagination a { border: 1px solid var(--door-line); border-radius: 8px; }
.door-main .box-content > .clearfix:has(> .left-contact) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.door-main .box-content > .clearfix:has(> .left-contact)::after { display: none; }
.door-main :is(.left-contact, .right-contact) { float: none; width: auto; min-width: 0; padding: 16px; border: 1px solid var(--door-line); border-radius: 12px; }
.door-main .table-lienhe { width: 100%; }
.door-main .table-lienhe :is(.textbox, textarea) { box-sizing: border-box; width: 100%; min-height: 42px; padding: 8px; margin: 4px 0; border: 1px solid var(--door-line); border-radius: 7px; }
.door-main .table-lienhe .button-input { border: 0; background: var(--door-green); color: #fff; border-radius: 8px; padding: 10px 14px; cursor: pointer; }
.footer { background: var(--door-deep); color: #e2eee7; }
.footer .top-footer { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 20px; padding: 32px 0; }
.footer .top-footer::after { display: none; }
.footer .item-footer { float: none; width: auto; min-width: 0; margin: 0; padding: 0; }
.footer .item-footer ul { padding: 0; margin: 0; }
.footer .title05 { color: var(--door-gold); font-size: 15px; margin-bottom: 8px; }
.footer .item-footer li a { color: #e2eee7; line-height: 1.5; padding: 3px 0; }
.footer .item-footer li a:hover { color: var(--door-gold); }
.footer .bottom-footer { background: #061e17; border-top: 1px solid #345c4e; }
.footer .content-footer { color: #e2eee7; overflow-wrap: anywhere; }
.footer .left-bottom-footer { max-width: 100%; }

@media (max-width: 1200px) {
    :root { --door-header: 64px; }
    .body-header .logo { display: none; }
    .body-header .logo-mobile { display: block; flex: 0 0 40px; width: 40px; margin: 0; }
    .body-header .logo-mobile img { display: block; width: 40px; height: auto; }
    #menu-mobile:not([hidden]) { display: block; }
    .header .list-main-menu {
        display: none; position: absolute; top: calc(100% + 8px); left: 0;
        width: 100%; box-sizing: border-box; max-height: calc(100dvh - 80px); overflow: auto;
        padding: 8px; border: 1px solid var(--door-line); border-radius: 12px; background: #fff; box-shadow: var(--door-shadow);
    }
    .header .list-main-menu.door-menu-open { display: block; }
    .header .list-main-menu li a { padding: 12px; font-family: svn-azo_sansbold, var(--door-font); }
}

@media (max-width: 700px) {
    .body-wrapper, .body-website { width: calc(100% - 28px); }
    .body-header { gap: 8px; }
    .door-hotline { padding-inline: 8px; font-size: 12px; }
    .door-header-actions { gap: 4px; }
    .door-hero { grid-template-columns: minmax(0, 1fr); margin-block: 14px 26px; border-radius: 16px; }
    .door-main .group-home05 .list-news-home {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .group-home01,
    .door-main .box-content-product > .clearfix:first-child,
    .door-main .box-content > .clearfix:has(> .left-contact) { grid-template-columns: minmax(0, 1fr); }
    .door-main .box-content > .clearfix:has(> .item-products-home) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .door-main .group-home04 .title03-mobile { font: 800 24px/1.2 var(--door-font); margin: 0 0 18px; }
}

.body-header.clearfix::before, .footer .top-footer.clearfix::before,
.door-main .box-content-product > .clearfix:first-child::before,
.door-main .box-content > .clearfix:has(> .left-contact)::before { display: none; }
.header .box-menu-sanpham { box-sizing: border-box; width: 100%; border-top: 3px solid var(--door-gold); }
.door-main .group-home04 .jcarousel-wrapper { box-sizing: border-box; width: 100%; }
.door-main .feature img { border: 0; }
.door-hero .nivoSlider:not(.nivo-starting):not(:has(.nivo-main-image)) > a:first-child > img { position: relative; }
.door-main .content-footer a { color: var(--door-gold); }

@media (prefers-reduced-motion: reduce) {
    .door-main .item-products-home { transition: none; }
}

.box-form-duan-popup {
    box-sizing: border-box; width: min(410px, calc(100% - 24px)); top: auto;
    left: auto; right: 12px; bottom: 12px; margin: 0; padding: 0;
    max-height: calc(100dvh - 24px); overflow: auto;
    background: var(--door-deep); border: 1px solid #56766a;
    border-radius: 16px; box-shadow: 0 12px 36px rgb(8 41 31 / 35%);
}
.box-form-duan-popup .box-content-form-popup { box-sizing: border-box; width: auto; padding: 20px; }
.box-form-duan-popup h4 { border: 0; margin: 0; text-align: left; text-transform: none; }
.box-form-duan-popup h5 { text-align: left; }
.box-form-duan-popup :is(.textbox-form-duan, .content-contact) { box-sizing: border-box; font: 16px/1.4 var(--door-font); }
.box-form-duan-popup .button-close { display: block; height: auto; width: auto; margin: 0 20px 14px auto; padding: 7px 12px; position: static; background: transparent; color: #fff; border: 1px solid #9ab4a8; border-radius: 8px; }

.door-main .door-related-news {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(10px, 1.7vw, 24px);
    margin: 0;
    padding: 0;
    list-style: none;
}

.door-main .door-related-news .img-news-other {
    display: block;
    margin: 0;
}

.door-main .door-related-news .img-news-other img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.door-main .door-related-news .title-news-other {
    display: block;
    height: auto;
    padding: 10px 12px 14px;
    color: var(--door-ink);
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    .door-main .door-related-news {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
