/* ==========================================================================
   Duy Hà – giao diện portal (website công khai)
   Chỉ dùng cho Views/Shared/_LayoutPortal.cshtml và Views/Portal/*
   Mọi class đều có tiền tố "dh-" để không đụng tới Bootstrap / CMS.
   ========================================================================== */

:root {
    --dh-primary: #e85d0c;
    --dh-primary-dark: #c74c05;
    --dh-primary-soft: #fff2e8;
    --dh-accent: #e3262b;
    --dh-ink: #1b1f24;
    --dh-ink-2: #272d35;
    --dh-text: #3b434e;
    --dh-muted: #6c7581;
    --dh-line: #e5e8ed;
    --dh-bg: #f5f6f8;
    --dh-white: #ffffff;
    --dh-zalo: #0068ff;
    --dh-radius: 14px;
    --dh-radius-sm: 10px;
    --dh-shadow-sm: 0 1px 2px rgba(27, 31, 36, .06), 0 1px 3px rgba(27, 31, 36, .05);
    --dh-shadow: 0 6px 20px rgba(27, 31, 36, .08);
    --dh-shadow-lg: 0 18px 40px rgba(27, 31, 36, .14);
    --dh-container: 1240px;
    --dh-font: "Be Vietnam Pro", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Nền tảng ---------- */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body.dh-body {
    margin: 0;
    font-family: var(--dh-font);
    font-size: 15px;
    line-height: 1.65;
    color: var(--dh-text);
    background: var(--dh-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.dh-body h1,
.dh-body h2,
.dh-body h3,
.dh-body h4 {
    font-family: var(--dh-font);
    color: var(--dh-ink);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}

:where(.dh-body) p {
    margin: 0 0 1em;
}

.dh-body a {
    color: var(--dh-primary);
    text-decoration: none;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.dh-body a:hover,
.dh-body a:focus {
    color: var(--dh-primary-dark);
    text-decoration: none;
}

.dh-body a:focus-visible,
.dh-body button:focus-visible,
.dh-body input:focus-visible {
    outline: 3px solid rgba(232, 93, 12, .35);
    outline-offset: 2px;
}

.dh-body img {
    max-width: 100%;
}

:where(.dh-body) ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dh-container {
    width: 100%;
    max-width: var(--dh-container);
    margin: 0 auto;
    padding: 0 20px;
}

.dh-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ---------- Nút ---------- */
.dh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 10px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-family: var(--dh-font);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    cursor: pointer;
}

.dh-btn img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

.dh-body a.dh-btn--primary,
.dh-btn--primary {
    background: var(--dh-primary);
    color: #fff;
    box-shadow: 0 6px 16px rgba(232, 93, 12, .28);
}

.dh-body a.dh-btn--primary:hover,
.dh-body a.dh-btn--primary:focus {
    background: var(--dh-primary-dark);
    color: #fff;
    transform: translateY(-1px);
}

.dh-body a.dh-btn--zalo {
    background: var(--dh-zalo);
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 104, 255, .24);
}

.dh-body a.dh-btn--zalo:hover,
.dh-body a.dh-btn--zalo:focus {
    background: #0052cc;
    color: #fff;
    transform: translateY(-1px);
}

.dh-body a.dh-btn--ghost {
    background: #fff;
    color: var(--dh-ink);
    border-color: var(--dh-line);
}

.dh-body a.dh-btn--ghost:hover,
.dh-body a.dh-btn--ghost:focus {
    border-color: var(--dh-primary);
    color: var(--dh-primary);
}

.dh-body a.dh-btn--light {
    background: #fff;
    color: var(--dh-ink);
}

.dh-body a.dh-btn--light:hover,
.dh-body a.dh-btn--light:focus {
    background: var(--dh-primary-soft);
    color: var(--dh-primary-dark);
    transform: translateY(-1px);
}

.dh-body a.dh-btn--outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .45);
}

.dh-body a.dh-btn--outline-light:hover,
.dh-body a.dh-btn--outline-light:focus {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

/* ---------- Thanh trên cùng ---------- */
.dh-topbar {
    background: var(--dh-ink);
    color: #c4cad2;
    font-size: 13px;
}

.dh-topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 38px;
}

.dh-topbar__tagline {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dh-topbar__links {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.dh-body .dh-topbar a {
    color: #c4cad2;
}

.dh-body .dh-topbar a:hover,
.dh-body .dh-topbar a:focus {
    color: #fff;
}

.dh-topbar .fa {
    margin-right: 6px;
    color: var(--dh-primary);
}

/* ---------- Đầu trang ---------- */
.dh-header {
    background: #fff;
    border-bottom: 1px solid var(--dh-line);
}

.dh-header__inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding-top: 14px;
    padding-bottom: 14px;
}

.dh-body a.dh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: var(--dh-ink);
}

.dh-brand__logo {
    width: 58px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}

.dh-brand__text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dh-brand__name {
    max-width: 360px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--dh-ink);
}

.dh-brand__tag {
    margin-top: 3px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--dh-primary);
}

.dh-search {
    position: relative;
    flex: 1 1 auto;
    max-width: 460px;
    margin: 0 0 0 auto;
}

.dh-search__input {
    width: 100%;
    height: 46px;
    padding: 0 54px 0 20px;
    border: 1px solid var(--dh-line);
    border-radius: 999px;
    background: var(--dh-bg);
    font-family: var(--dh-font);
    font-size: 14.5px;
    color: var(--dh-ink);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.dh-search__input::placeholder {
    color: #98a0ab;
}

.dh-search__input:focus {
    outline: 0;
    border-color: var(--dh-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(232, 93, 12, .12);
}

.dh-search__btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--dh-primary);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color .18s ease;
}

.dh-search__btn:hover {
    background: var(--dh-primary-dark);
}

.dh-body a.dh-hotline {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    color: var(--dh-ink);
}

.dh-hotline__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--dh-primary-soft);
    color: var(--dh-primary);
    font-size: 20px;
}

.dh-hotline__text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.dh-hotline__label {
    font-size: 12.5px;
    color: var(--dh-muted);
}

.dh-hotline__number {
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .01em;
    color: var(--dh-ink);
}

.dh-body a.dh-hotline:hover .dh-hotline__number {
    color: var(--dh-primary);
}

.dh-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 0;
    border: 1px solid var(--dh-line);
    border-radius: 12px;
    background: #fff;
    color: var(--dh-ink);
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

/* ---------- Menu chính ---------- */
.dh-nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--dh-ink-2);
    box-shadow: 0 2px 10px rgba(27, 31, 36, .12);
}

.dh-nav__head,
.dh-nav__foot {
    display: none;
}

.dh-nav__list {
    display: flex;
    align-items: stretch;
    gap: 2px;
}

.dh-nav__item {
    position: relative;
}

.dh-body a.dh-nav__link,
.dh-nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 52px;
    padding: 0 18px;
    border: 0;
    background: transparent;
    color: #e6e9ed;
    font-family: var(--dh-font);
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.dh-nav__link::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--dh-primary);
    transform: scaleX(0);
    transition: transform .2s ease;
}

.dh-body a.dh-nav__link:hover,
.dh-body a.dh-nav__link:focus,
.dh-nav__link:hover,
.dh-nav__item.is-active > .dh-nav__link,
.dh-body .dh-nav__item.is-active > a.dh-nav__link {
    color: #fff;
}

.dh-nav__link:hover::after,
.dh-nav__item.is-active > .dh-nav__link::after {
    transform: scaleX(1);
}

.dh-nav__caret {
    font-size: 13px;
    opacity: .75;
    transition: transform .2s ease;
}

.dh-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 270px;
    padding: 8px;
    border-radius: 0 0 var(--dh-radius) var(--dh-radius);
    background: #fff;
    box-shadow: var(--dh-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.dh-nav__item--has-children:hover > .dh-dropdown,
.dh-nav__item--has-children:focus-within > .dh-dropdown,
.dh-nav__item--has-children.is-open > .dh-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dh-body .dh-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    color: var(--dh-text);
    font-size: 14.5px;
    font-weight: 500;
}

.dh-body .dh-dropdown a:hover,
.dh-body .dh-dropdown a:focus {
    background: var(--dh-primary-soft);
    color: var(--dh-primary-dark);
}

.dh-nav-overlay {
    display: none;
}

/* ---------- Khối nội dung chung ---------- */
.dh-main {
    display: block;
    min-height: 50vh;
}

.dh-section {
    padding: 56px 0;
}

.dh-section--tight {
    padding: 36px 0;
}

.dh-section--muted {
    background: var(--dh-bg);
}

.dh-section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 26px;
}

.dh-eyebrow {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--dh-primary);
}

.dh-body .dh-section__title {
    position: relative;
    padding-left: 16px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.dh-section__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .18em;
    bottom: .18em;
    width: 5px;
    border-radius: 3px;
    background: var(--dh-primary);
}

.dh-body .dh-section__title a {
    color: inherit;
}

.dh-body .dh-section__title a:hover {
    color: var(--dh-primary);
}

.dh-body a.dh-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    padding: 8px 16px;
    border: 1px solid var(--dh-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dh-ink);
    font-size: 14px;
    font-weight: 600;
}

.dh-body a.dh-more:hover,
.dh-body a.dh-more:focus {
    border-color: var(--dh-primary);
    background: var(--dh-primary);
    color: #fff;
}

.dh-empty {
    padding: 44px 20px;
    border: 1px dashed var(--dh-line);
    border-radius: var(--dh-radius);
    background: var(--dh-bg);
    color: var(--dh-muted);
    text-align: center;
}

.dh-empty .fa {
    display: block;
    margin-bottom: 10px;
    font-size: 30px;
    color: #b4bbc5;
}

/* ---------- Trang chủ: banner ---------- */
.dh-hero {
    padding: 24px 0 0;
    background: linear-gradient(180deg, var(--dh-bg) 0%, #fff 100%);
}

.dh-hero__frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: #e9ecf0;
    box-shadow: var(--dh-shadow);
}

.dh-hero__slider:not(.slick-initialized) .dh-hero__slide:not(:first-child) {
    display: none;
}

.dh-hero__slide {
    display: block;
    outline: 0;
}

.dh-hero__slide img {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 430;
    height: auto;
    object-fit: cover;
}

.dh-hero__arrow {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-top: -23px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--dh-ink);
    font-size: 24px;
    box-shadow: var(--dh-shadow);
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.dh-hero__frame:hover .dh-hero__arrow,
.dh-hero__arrow:focus-visible {
    opacity: 1;
}

.dh-hero__arrow:hover {
    background: var(--dh-primary);
    color: #fff;
}

.dh-hero__arrow--prev {
    left: 18px;
}

.dh-hero__arrow--next {
    right: 18px;
}

.dh-hero .slick-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex !important;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dh-hero .slick-dots button {
    display: block;
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, .65);
    box-shadow: 0 0 0 1px rgba(27, 31, 36, .15);
    font-size: 0;
    cursor: pointer;
    transition: width .2s ease, background-color .2s ease;
}

.dh-hero .slick-dots .slick-active button {
    width: 28px;
    background: var(--dh-primary);
}

/* ---------- Trang chủ: giới thiệu + cam kết ---------- */
.dh-intro {
    padding: 44px 0 8px;
    text-align: center;
}

.dh-body .dh-intro__title {
    max-width: 820px;
    margin: 0 auto;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.dh-body .dh-intro__lead {
    max-width: 680px;
    margin: 14px auto 0;
    font-size: 16.5px;
    color: var(--dh-muted);
}

.dh-perks {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.dh-perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: #fff;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dh-perk:hover {
    border-color: transparent;
    box-shadow: var(--dh-shadow);
    transform: translateY(-2px);
}

.dh-perk__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--dh-primary-soft);
    color: var(--dh-primary);
    font-size: 21px;
    flex-shrink: 0;
}

.dh-perk__title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--dh-ink);
}

.dh-perk__text {
    display: block;
    font-size: 13px;
    line-height: 1.45;
    color: var(--dh-muted);
}

/* ---------- Lưới + thẻ sản phẩm ---------- */
.dh-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.dh-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.dh-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: #fff;
    overflow: hidden;
    transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.dh-card:hover {
    border-color: transparent;
    box-shadow: var(--dh-shadow-lg);
    transform: translateY(-4px);
}

.dh-body a.dh-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-bottom: 1px solid var(--dh-line);
    background: #fff;
    overflow: hidden;
}

/* Ảnh sản phẩm: hiện trọn ảnh, không cắt */
.dh-card__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform .45s ease;
}

/* Ảnh công trình (dự án): phủ kín khung */
.dh-card--photo .dh-card__media img {
    object-fit: cover;
}

.dh-card:hover .dh-card__media img {
    transform: scale(1.05);
}

.dh-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--dh-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.dh-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 16px 16px 16px;
}

.dh-body .dh-card__title {
    margin-bottom: 12px;
    font-size: 15.5px;
    font-weight: 600;
    line-height: 1.45;
}

.dh-body .dh-card__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    color: var(--dh-ink);
}

.dh-body .dh-card__title a:hover {
    color: var(--dh-primary);
}

.dh-card__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--dh-muted);
}

.dh-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--dh-line);
}

.dh-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--dh-primary);
}

.dh-price__old {
    font-size: 13px;
    font-weight: 500;
    color: #9aa2ad;
    text-decoration: line-through;
}

.dh-price--contact {
    font-size: 14.5px;
}

.dh-body a.dh-card__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--dh-bg);
    color: var(--dh-ink);
    font-size: 18px;
    flex-shrink: 0;
}

.dh-card:hover .dh-card__more {
    background: var(--dh-primary);
    color: #fff;
}

/* ---------- Dải kêu gọi liên hệ ---------- */
.dh-cta {
    position: relative;
    padding: 44px 48px;
    border-radius: 22px;
    background: linear-gradient(120deg, var(--dh-ink) 0%, #2d343d 55%, #3a2a20 100%);
    color: #d5dae0;
    overflow: hidden;
}

.dh-cta::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -110px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 93, 12, .55) 0%, rgba(232, 93, 12, 0) 68%);
    pointer-events: none;
}

.dh-cta__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.dh-body .dh-cta__title {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
}

.dh-body .dh-cta__text {
    max-width: 560px;
    margin: 10px 0 0;
    font-size: 15.5px;
}

.dh-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
}

/* ---------- Hỗ trợ khách hàng ---------- */
.dh-support-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.dh-contact {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: #fff;
}

.dh-contact__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--dh-primary-soft);
    color: var(--dh-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.dh-contact__body {
    flex: 1 1 auto;
    min-width: 0;
}

.dh-contact__role {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dh-muted);
}

.dh-contact__name {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--dh-ink);
}

.dh-body a.dh-contact__phone {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    color: var(--dh-primary);
}

.dh-contact__actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.dh-body a.dh-iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--dh-line);
    border-radius: 50%;
    background: #fff;
    color: var(--dh-ink);
    font-size: 15px;
}

.dh-body a.dh-iconbtn:hover,
.dh-body a.dh-iconbtn:focus {
    border-color: var(--dh-primary);
    color: var(--dh-primary);
    transform: translateY(-1px);
}

.dh-iconbtn img {
    width: 20px;
    height: 20px;
    border-radius: 5px;
}

/* ---------- Đầu trang con ---------- */
.dh-pagehead {
    padding: 26px 0 28px;
    border-bottom: 1px solid var(--dh-line);
    background: var(--dh-bg);
}

.dh-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    font-size: 13.5px;
    color: var(--dh-muted);
}

.dh-body .dh-breadcrumb a {
    color: var(--dh-muted);
}

.dh-body .dh-breadcrumb a:hover {
    color: var(--dh-primary);
}

.dh-breadcrumb .fa {
    font-size: 12px;
    color: #a7aeb8;
}

.dh-breadcrumb__current {
    color: var(--dh-ink);
    font-weight: 500;
}

.dh-body .dh-pagehead__title {
    margin-top: 10px;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.dh-body .dh-pagehead__sub {
    margin: 8px 0 0;
    color: var(--dh-muted);
}

/* ---------- Bố cục có cột bên ---------- */
.dh-layout {
    display: grid;
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
}

.dh-layout__main {
    min-width: 0;
}

.dh-sidebar {
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dh-widget {
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: #fff;
    overflow: hidden;
}

.dh-body .dh-widget__title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 18px;
    border-bottom: 1px solid var(--dh-line);
    background: var(--dh-bg);
    font-size: 15px;
    font-weight: 700;
}

.dh-widget__title .fa {
    color: var(--dh-primary);
}

.dh-catlist {
    padding: 8px;
}

.dh-body .dh-catlist a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--dh-text);
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.4;
}

.dh-catlist a .fa {
    font-size: 14px;
    color: #b4bbc5;
    transition: transform .18s ease, color .18s ease;
}

.dh-body .dh-catlist a:hover,
.dh-body .dh-catlist a:focus,
.dh-body .dh-catlist a.is-active {
    background: var(--dh-primary-soft);
    color: var(--dh-primary-dark);
}

.dh-body .dh-catlist a.is-active {
    font-weight: 700;
}

.dh-catlist a:hover .fa,
.dh-catlist a.is-active .fa {
    color: var(--dh-primary);
    transform: translateX(2px);
}

.dh-support {
    padding: 4px 18px;
}

.dh-support__item {
    padding: 14px 0;
}

.dh-support__item + .dh-support__item {
    border-top: 1px solid var(--dh-line);
}

.dh-support__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 2px;
}

/* ---------- Nội dung soạn từ CMS ---------- */
.dh-prose {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--dh-text);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.dh-prose > :first-child {
    margin-top: 0;
}

.dh-prose > :last-child {
    margin-bottom: 0;
}

.dh-prose p {
    margin: 0 0 1em;
}

.dh-body .dh-prose h1,
.dh-body .dh-prose h2,
.dh-body .dh-prose h3,
.dh-body .dh-prose h4 {
    margin: 1.5em 0 .6em;
}

.dh-body .dh-prose h1 { font-size: 26px; }
.dh-body .dh-prose h2 { font-size: 22px; }
.dh-body .dh-prose h3 { font-size: 19px; }
.dh-body .dh-prose h4 { font-size: 16.5px; }

.dh-prose img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: var(--dh-radius-sm);
}

.dh-prose iframe,
.dh-prose video {
    max-width: 100%;
}

.dh-body .dh-prose ul,
.dh-body .dh-prose ol {
    margin: 0 0 1em;
    padding-left: 1.4em;
}

.dh-body .dh-prose ul {
    list-style: disc;
}

.dh-body .dh-prose ol {
    list-style: decimal;
}

.dh-prose li {
    margin-bottom: .35em;
}

.dh-prose table {
    width: 100% !important;
    max-width: 100%;
    margin: 0 0 1.2em;
    border-collapse: collapse;
    font-size: 14.5px;
}

.dh-prose th,
.dh-prose td {
    padding: 10px 14px;
    border: 1px solid var(--dh-line);
    vertical-align: top;
}

.dh-prose th,
.dh-prose thead td {
    background: var(--dh-bg);
    color: var(--dh-ink);
    font-weight: 700;
}

.dh-prose tbody tr:nth-child(even) td {
    background: #fafbfc;
}

.dh-prose blockquote {
    margin: 0 0 1em;
    padding: 12px 18px;
    border-left: 4px solid var(--dh-primary);
    border-radius: 0 var(--dh-radius-sm) var(--dh-radius-sm) 0;
    background: var(--dh-primary-soft);
    font-size: inherit;
}

.dh-table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.dh-panel {
    padding: 30px 32px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: #fff;
}

.dh-body .dh-panel__title {
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--dh-line);
    font-size: 20px;
    font-weight: 800;
}

.dh-panel__title span {
    position: relative;
    display: inline-block;
}

.dh-panel__title span::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -16px;
    height: 3px;
    border-radius: 3px;
    background: var(--dh-primary);
}

/* ---------- Chi tiết sản phẩm ---------- */
.dh-product {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.dh-product__media {
    position: -webkit-sticky;
    position: sticky;
    top: 72px;
    border: 1px solid var(--dh-line);
    border-radius: 18px;
    background: var(--dh-bg);
    overflow: hidden;
}

.dh-product__media img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: contain;
}

.dh-body .dh-product__title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -.015em;
}

.dh-product__pricebox {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 14px;
    margin-top: 18px;
    padding: 16px 20px;
    border-radius: var(--dh-radius-sm);
    background: var(--dh-primary-soft);
}

.dh-product__pricelabel {
    font-size: 14px;
    color: var(--dh-muted);
}

.dh-product__pricebox .dh-price {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
}

.dh-product__pricebox .dh-price__old {
    font-size: 16px;
}

.dh-product__pricebox .dh-price--contact {
    font-size: 24px;
}

.dh-product__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    margin-top: 18px;
    font-size: 14.5px;
}

.dh-product__meta li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dh-product__meta .fa {
    color: var(--dh-primary);
}

.dh-product__meta strong {
    color: var(--dh-ink);
}

.dh-product__desc {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid var(--dh-line);
}

.dh-body .dh-product__subtitle {
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 700;
}

.dh-product__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.dh-product__cta .dh-btn {
    flex: 1 1 200px;
    min-height: 52px;
    font-size: 15.5px;
}

.dh-product__perks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.dh-product__perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius-sm);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--dh-ink);
}

.dh-product__perks .fa {
    width: 22px;
    font-size: 18px;
    text-align: center;
    color: var(--dh-primary);
    flex-shrink: 0;
}

.dh-block {
    margin-top: 48px;
}

/* ---------- Liên hệ nhanh ---------- */
.dh-quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.dh-body a.dh-quick__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--dh-line);
    border-radius: var(--dh-radius);
    background: #fff;
    color: var(--dh-ink);
}

.dh-body a.dh-quick__item:hover,
.dh-body a.dh-quick__item:focus {
    border-color: var(--dh-primary);
    box-shadow: var(--dh-shadow);
    transform: translateY(-2px);
}

.dh-quick__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--dh-primary-soft);
    color: var(--dh-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.dh-quick__icon img {
    width: 26px;
    height: 26px;
    border-radius: 6px;
}

.dh-quick__text {
    min-width: 0;
}

.dh-quick__label {
    display: block;
    font-size: 12.5px;
    color: var(--dh-muted);
}

.dh-quick__value {
    display: block;
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

/* ---------- Chân trang ---------- */
.dh-footer {
    margin-top: 24px;
    background: var(--dh-ink);
    color: #aeb5bf;
    font-size: 14.5px;
}

.dh-footer__top {
    display: grid;
    grid-template-columns: 1.35fr 1fr .8fr 1.35fr;
    gap: 40px;
    padding-top: 56px;
    padding-bottom: 44px;
}

.dh-footer__brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.dh-footer__brand img {
    width: 54px;
    height: 54px;
    padding: 5px;
    border-radius: 12px;
    background: #fff;
    object-fit: contain;
    flex-shrink: 0;
}

.dh-footer__brand strong {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-transform: uppercase;
    color: #fff;
}

.dh-body .dh-footer__about {
    margin: 0;
    line-height: 1.7;
}

.dh-body .dh-footer__title {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #fff;
}

.dh-footer__links li + li {
    margin-top: 10px;
}

.dh-body .dh-footer a {
    color: #aeb5bf;
}

.dh-body .dh-footer a:hover,
.dh-body .dh-footer a:focus {
    color: #fff;
}

.dh-footer__contact li {
    display: flex;
    gap: 12px;
    line-height: 1.6;
}

.dh-footer__contact li + li {
    margin-top: 12px;
}

.dh-footer__contact .fa {
    width: 18px;
    margin-top: 5px;
    text-align: center;
    color: var(--dh-primary);
    flex-shrink: 0;
}

.dh-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .09);
    font-size: 13.5px;
}

.dh-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

/* ---------- Nút nổi ---------- */
.dh-fab {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.dh-body a.dh-fab__btn,
.dh-fab__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 22px rgba(27, 31, 36, .22);
    cursor: pointer;
    transition: transform .2s ease, opacity .2s ease, visibility .2s;
}

.dh-fab__btn:hover {
    transform: translateY(-2px) scale(1.04);
}

.dh-fab__btn--phone {
    background: var(--dh-primary);
}

.dh-fab__btn--phone::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--dh-primary);
    animation: dh-pulse 1.9s ease-out infinite;
    pointer-events: none;
}

.dh-fab__btn--zalo {
    background: #fff;
    overflow: hidden;
}

.dh-fab__btn--zalo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dh-fab__btn--top {
    width: 44px;
    height: 44px;
    background: var(--dh-ink-2);
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
}

.dh-fab__btn--top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@keyframes dh-pulse {
    0% {
        transform: scale(1);
        opacity: .7;
    }

    100% {
        transform: scale(1.7);
        opacity: 0;
    }
}

/* ==========================================================================
   Hiệu ứng & thành phần nâng cao
   (đặt sau phần cơ bản để ghi đè, trước phần responsive)
   ========================================================================== */

@keyframes dh-fade-up {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes dh-kenburns {
    from {
        transform: scale(1.09);
    }

    to {
        transform: scale(1);
    }
}

@keyframes dh-float {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-70px, 50px) scale(1.25);
    }
}

@keyframes dh-ring {
    0%, 60%, 100% {
        transform: rotate(0);
    }

    66%, 78%, 90% {
        transform: rotate(-16deg);
    }

    72%, 84% {
        transform: rotate(16deg);
    }
}

/* ---------- Thanh tiến độ cuộn trang ---------- */
.dh-progress {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1100;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ffb066, var(--dh-primary) 55%, var(--dh-accent));
    transform: scaleX(0);
    transform-origin: 0 50%;
    pointer-events: none;
}

/* ---------- Xuất hiện khi cuộn tới (class do script trong layout gắn) ---------- */
.dh-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .75s cubic-bezier(.2, .7, .2, 1), transform .75s cubic-bezier(.2, .7, .2, 1) !important;
    transition-delay: var(--dh-delay, 0ms) !important;
    will-change: opacity, transform;
}

.dh-reveal.is-in {
    opacity: 1;
    transform: none;
}

/* ---------- Nút: nền chuyển sắc + vệt sáng lướt qua ---------- */
.dh-btn {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.dh-btn::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -80%;
    z-index: -1;
    width: 50%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .42), transparent);
    transform: skewX(-20deg);
    transition: left .65s ease;
    pointer-events: none;
}

.dh-btn:hover::after {
    left: 130%;
}

.dh-body a.dh-btn--primary,
.dh-btn--primary {
    background: linear-gradient(135deg, #f67d22 0%, #e0500a 100%);
    box-shadow: 0 10px 22px rgba(232, 93, 12, .32);
}

.dh-body a.dh-btn--primary:hover,
.dh-body a.dh-btn--primary:focus {
    background: linear-gradient(135deg, #f67d22 0%, #cf4705 100%);
    box-shadow: 0 14px 28px rgba(232, 93, 12, .42);
    transform: translateY(-2px);
}

.dh-body a.dh-btn--zalo:hover,
.dh-body a.dh-btn--light:hover {
    transform: translateY(-2px);
}

.dh-search__btn {
    background: linear-gradient(135deg, #f67d22, #e0500a);
    transition: transform .2s ease, box-shadow .2s ease;
}

.dh-search__btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(232, 93, 12, .4);
}

/* ---------- Đầu trang ---------- */
.dh-brand__logo {
    transition: transform .35s ease;
}

.dh-brand:hover .dh-brand__logo {
    transform: scale(1.06) rotate(-3deg);
}

.dh-hotline__icon {
    position: relative;
    background: linear-gradient(135deg, #f67d22, #e0500a);
    color: #fff;
    box-shadow: 0 8px 18px rgba(232, 93, 12, .32);
}

.dh-hotline__icon .fa {
    animation: dh-ring 2.6s ease-in-out infinite;
}

.dh-hotline__icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid var(--dh-primary);
    animation: dh-pulse 2.2s ease-out infinite;
    pointer-events: none;
}

.dh-nav {
    background: linear-gradient(90deg, #1f252c 0%, #2a313a 100%);
}

.dh-body .dh-dropdown a {
    position: relative;
    transition: padding .2s ease, background-color .2s ease, color .2s ease;
}

.dh-body .dh-dropdown a:hover,
.dh-body .dh-dropdown a:focus {
    padding-left: 22px;
}

/* ---------- Trang chủ: khối mở đầu nền tối ---------- */
.dh-hero {
    position: relative;
    padding: 40px 0 104px;
    background:
        radial-gradient(900px 420px at 88% -12%, rgba(232, 93, 12, .42), transparent 62%),
        radial-gradient(700px 380px at -5% 108%, rgba(232, 93, 12, .2), transparent 60%),
        linear-gradient(180deg, #1b1f24 0%, #252c34 100%);
    overflow: hidden;
}

.dh-hero::before,
.dh-pagehead::before,
.dh-section--dark::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .09) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
    pointer-events: none;
}

.dh-hero > .dh-container {
    position: relative;
    z-index: 1;
}

.dh-hero__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 30px;
}

.dh-hero__head > * {
    animation: dh-fade-up .8s cubic-bezier(.2, .7, .2, 1) both;
}

.dh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    flex-shrink: 0;
    animation-delay: .15s;
}

.dh-hero .dh-eyebrow {
    margin-bottom: 12px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    color: #ffb884;
    letter-spacing: .08em;
}

.dh-body .dh-hero__title {
    max-width: 760px;
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: #fff;
}

.dh-hero__title span {
    background: linear-gradient(90deg, #ffb066, #f4691a);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #f67d22;
}

.dh-body .dh-hero__lead {
    max-width: 620px;
    margin: 14px 0 0;
    font-size: 16.5px;
    color: #c3cad3;
}

.dh-hero__frame {
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 22px;
    background: #2a313a;
    box-shadow: 0 34px 70px rgba(0, 0, 0, .5);
    animation: dh-fade-up .9s .25s cubic-bezier(.2, .7, .2, 1) both;
}

.dh-hero__slide {
    overflow: hidden;
}

.dh-hero__slide img {
    will-change: transform;
}

.dh-hero .slick-current img {
    animation: dh-kenburns 7s ease-out both;
}

.dh-hero__arrow {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.dh-hero .slick-dots {
    bottom: 18px;
}

/* Dải cam kết nổi đè lên khối mở đầu */
.dh-perksbar {
    position: relative;
    z-index: 2;
    margin-top: -62px;
}

.dh-perksbar .dh-perks {
    gap: 6px;
    padding: 10px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 24px 50px rgba(27, 31, 36, .14);
}

.dh-perksbar .dh-perk {
    border: 0;
    border-radius: 14px;
    padding: 18px 20px;
}

.dh-perksbar .dh-perk:hover {
    background: var(--dh-primary-soft);
    box-shadow: none;
    transform: none;
}

.dh-perk__icon {
    transition: transform .4s ease, background-color .3s ease, color .3s ease;
}

.dh-perk:hover .dh-perk__icon {
    background: linear-gradient(135deg, #f67d22, #e0500a);
    color: #fff;
    transform: rotateY(360deg);
}

/* ---------- Tiêu đề khối canh giữa ---------- */
.dh-section__head--center {
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 30px;
    text-align: center;
}

.dh-body .dh-heading {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.dh-heading::after {
    content: "";
    display: block;
    width: 68px;
    height: 4px;
    margin: 14px auto 0;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--dh-primary), #ffb066);
}

.dh-section__lead {
    max-width: 620px;
    margin: 14px auto 0;
    color: var(--dh-muted);
}

.dh-section--dark {
    position: relative;
    background:
        radial-gradient(800px 360px at 100% 0%, rgba(232, 93, 12, .3), transparent 60%),
        linear-gradient(180deg, #1b1f24 0%, #242b33 100%);
    overflow: hidden;
}

.dh-section--dark > .dh-container {
    position: relative;
    z-index: 1;
}

.dh-body .dh-section--dark .dh-heading {
    color: #fff;
}

.dh-section--dark .dh-eyebrow {
    color: #ffb884;
}

.dh-section__foot {
    margin-top: 34px;
    text-align: center;
}

/* ---------- Tab danh mục sản phẩm ---------- */
.dh-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 34px;
}

.dh-tab {
    padding: 10px 22px;
    border: 1px solid var(--dh-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dh-ink);
    font-family: var(--dh-font);
    font-size: 14.5px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.dh-tab:hover {
    border-color: var(--dh-primary);
    color: var(--dh-primary);
    transform: translateY(-1px);
}

.dh-tab.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, #f67d22, #e0500a);
    color: #fff;
    box-shadow: 0 10px 22px rgba(232, 93, 12, .32);
}

.dh-tabpanel {
    display: none;
}

.dh-tabpanel.is-active {
    display: block;
}

.dh-tabpanel.is-active .dh-grid > * {
    animation: dh-fade-up .55s cubic-bezier(.2, .7, .2, 1) both;
}

.dh-tabpanel.is-active .dh-grid > :nth-child(2) { animation-delay: .06s; }
.dh-tabpanel.is-active .dh-grid > :nth-child(3) { animation-delay: .12s; }
.dh-tabpanel.is-active .dh-grid > :nth-child(4) { animation-delay: .18s; }
.dh-tabpanel.is-active .dh-grid > :nth-child(5) { animation-delay: .24s; }
.dh-tabpanel.is-active .dh-grid > :nth-child(6) { animation-delay: .3s; }
.dh-tabpanel.is-active .dh-grid > :nth-child(7) { animation-delay: .36s; }
.dh-tabpanel.is-active .dh-grid > :nth-child(n+8) { animation-delay: .42s; }

/* ---------- Thẻ sản phẩm: viền sáng, nhãn "Xem chi tiết" ---------- */
.dh-card {
    position: relative;
    border-radius: 16px;
}

.dh-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 3;
    height: 3px;
    background: linear-gradient(90deg, var(--dh-primary), #ffb066);
    transform: scaleX(0);
    transform-origin: 0 50%;
    transition: transform .4s ease;
}

.dh-card:hover::before {
    transform: scaleX(1);
}

.dh-card:hover {
    box-shadow: 0 24px 46px rgba(232, 93, 12, .16), 0 8px 18px rgba(27, 31, 36, .08);
    transform: translateY(-6px);
}

.dh-card__view {
    position: absolute;
    left: 50%;
    bottom: 14px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(27, 31, 36, .88);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    opacity: 0;
    transform: translate(-50%, 16px);
    transition: opacity .3s ease, transform .3s ease;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.dh-card:hover .dh-card__view {
    opacity: 1;
    transform: translate(-50%, 0);
}

.dh-card__more {
    transition: transform .25s ease, background-color .25s ease, color .25s ease !important;
}

.dh-card:hover .dh-card__more {
    background: linear-gradient(135deg, #f67d22, #e0500a);
    transform: translateX(3px);
}

img.is-broken {
    visibility: hidden;
}

/* ---------- Thẻ dự án: ảnh phủ chữ ---------- */
.dh-body a.dh-pcard {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
    background: linear-gradient(135deg, #2f3740 0%, #47301f 100%);
    color: #fff;
    box-shadow: var(--dh-shadow);
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
}

.dh-body a.dh-pcard:hover,
.dh-body a.dh-pcard:focus {
    color: #fff;
    box-shadow: 0 26px 50px rgba(0, 0, 0, .3);
    transform: translateY(-6px);
}

.dh-pcard img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .8s cubic-bezier(.2, .7, .2, 1);
}

.dh-pcard:hover img {
    transform: scale(1.09);
}

.dh-pcard::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(27, 31, 36, 0) 30%, rgba(27, 31, 36, .55) 62%, rgba(27, 31, 36, .94) 100%);
    transition: opacity .35s ease;
}

.dh-pcard__body {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
}

.dh-pcard__text {
    min-width: 0;
}

.dh-body .dh-pcard__title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
}

.dh-pcard__desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    max-height: 0;
    margin-top: 0;
    font-size: 13.5px;
    line-height: 1.5;
    color: rgba(255, 255, 255, .82);
    opacity: 0;
    transition: max-height .4s ease, opacity .4s ease, margin-top .4s ease;
}

.dh-pcard:hover .dh-pcard__desc {
    max-height: 3.2em;
    margin-top: 6px;
    opacity: 1;
}

.dh-pcard__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f67d22, #e0500a);
    color: #fff;
    font-size: 16px;
    flex-shrink: 0;
    opacity: 0;
    transform: translateY(10px) rotate(-45deg);
    transition: opacity .35s ease, transform .35s ease;
}

.dh-pcard:hover .dh-pcard__arrow {
    opacity: 1;
    transform: translateY(0) rotate(-45deg);
}

/* ---------- Đầu trang con nền tối ---------- */
.dh-pagehead {
    position: relative;
    padding: 46px 0 48px;
    border-bottom: 0;
    background:
        radial-gradient(720px 300px at 92% -10%, rgba(232, 93, 12, .42), transparent 62%),
        linear-gradient(120deg, #1b1f24 0%, #2a313a 100%);
    color: #b9c0c9;
    overflow: hidden;
}

.dh-pagehead::after {
    content: "";
    position: absolute;
    right: -70px;
    bottom: -170px;
    width: 340px;
    height: 340px;
    border: 46px solid rgba(255, 255, 255, .04);
    border-radius: 50%;
    pointer-events: none;
}

.dh-pagehead > .dh-container {
    position: relative;
    z-index: 1;
}

.dh-pagehead .dh-breadcrumb {
    color: #aab2bc;
    animation: dh-fade-up .6s cubic-bezier(.2, .7, .2, 1) both;
}

.dh-body .dh-pagehead .dh-breadcrumb a {
    color: #aab2bc;
}

.dh-body .dh-pagehead .dh-breadcrumb a:hover {
    color: #fff;
}

.dh-pagehead .dh-breadcrumb .fa {
    color: #717a86;
}

.dh-pagehead .dh-breadcrumb__current {
    color: #fff;
}

.dh-body .dh-pagehead__title {
    margin-top: 12px;
    font-size: 36px;
    color: #fff;
    animation: dh-fade-up .7s .08s cubic-bezier(.2, .7, .2, 1) both;
}

.dh-body .dh-pagehead__sub {
    color: #b9c0c9;
    animation: dh-fade-up .7s .16s cubic-bezier(.2, .7, .2, 1) both;
}

.dh-pagehead--slim {
    padding: 22px 0;
}

/* ---------- Cột bên, hỗ trợ ---------- */
.dh-widget {
    transition: box-shadow .3s ease;
}

.dh-widget:hover {
    box-shadow: var(--dh-shadow);
}

.dh-contact {
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.dh-contact:hover {
    border-color: transparent;
    box-shadow: var(--dh-shadow-lg);
    transform: translateY(-4px);
}

.dh-contact__avatar {
    transition: background .3s ease, color .3s ease, transform .4s ease;
}

.dh-contact:hover .dh-contact__avatar {
    background: linear-gradient(135deg, #f67d22, #e0500a);
    color: #fff;
    transform: rotate(-8deg) scale(1.06);
}

.dh-body a.dh-iconbtn:hover,
.dh-body a.dh-iconbtn:focus {
    box-shadow: 0 6px 14px rgba(232, 93, 12, .22);
    transform: translateY(-2px) scale(1.06);
}

.dh-quick__icon {
    transition: transform .35s ease, background .3s ease, color .3s ease;
}

.dh-quick__item:hover .dh-quick__icon {
    transform: scale(1.08) rotate(-6deg);
}

/* ---------- Chi tiết sản phẩm: phóng to ảnh khi rê chuột ---------- */
.dh-product__media {
    background: #fff;
    box-shadow: var(--dh-shadow);
}

.dh-product__media img {
    transition: transform .3s ease;
}

.dh-product__media.is-zoom {
    cursor: zoom-in;
}

.dh-product__media.is-zoom img {
    transform: scale(2);
}

.dh-product__pricebox {
    border: 1px solid #ffd9bd;
    background: linear-gradient(135deg, #fff5ec 0%, #ffe9d6 100%);
}

.dh-product__perks li {
    transition: border-color .25s ease, background-color .25s ease, transform .25s ease;
}

.dh-product__perks li:hover {
    border-color: var(--dh-primary);
    background: var(--dh-primary-soft);
    transform: translateY(-2px);
}

.dh-panel {
    box-shadow: var(--dh-shadow-sm);
}

/* ---------- Dải kêu gọi liên hệ ---------- */
.dh-cta {
    box-shadow: 0 30px 60px rgba(27, 31, 36, .22);
}

.dh-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 20px 20px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 100%);
    pointer-events: none;
}

.dh-cta::after {
    animation: dh-float 9s ease-in-out infinite alternate;
}

/* ---------- Chân trang ---------- */
.dh-footer {
    position: relative;
    background: linear-gradient(180deg, #1b1f24 0%, #15181c 100%);
}

.dh-footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dh-primary), #ffb066 50%, var(--dh-accent));
}

.dh-body .dh-footer__links a {
    display: inline-block;
    transition: color .2s ease, transform .2s ease;
}

.dh-body .dh-footer__links a:hover,
.dh-body .dh-footer__links a:focus {
    color: #ffb884;
    transform: translateX(6px);
}

.dh-body .dh-footer__title {
    position: relative;
    padding-bottom: 12px;
}

.dh-footer__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 3px;
    border-radius: 3px;
    background: var(--dh-primary);
}

.dh-fab__btn--top {
    background: linear-gradient(135deg, #2f3740, #1b1f24);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
    .dh-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dh-perks {
        grid-template-columns: repeat(2, 1fr);
    }

    .dh-footer__top {
        grid-template-columns: 1fr 1fr;
    }

    .dh-brand__name {
        max-width: 280px;
    }
}

@media (max-width: 991px) {
    .dh-topbar {
        display: none;
    }

    /* Đầu trang dính, menu chuyển thành ngăn trượt */
    .dh-header {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        z-index: 900;
        box-shadow: var(--dh-shadow-sm);
    }

    .dh-header__inner {
        flex-wrap: wrap;
        gap: 12px 14px;
        padding-top: 10px;
        padding-bottom: 12px;
    }

    .dh-brand__logo {
        width: 44px;
        height: 44px;
    }

    .dh-brand__name {
        max-width: none;
        font-size: 14px;
    }

    .dh-body a.dh-brand {
        flex: 1 1 0;
    }

    .dh-hotline__text {
        display: none;
    }

    .dh-hotline__icon {
        width: 44px;
        height: 44px;
        background: var(--dh-primary);
        color: #fff;
    }

    .dh-burger {
        display: inline-flex;
        margin-left: 0;
    }

    .dh-search {
        order: 5;
        flex: 1 1 100%;
        max-width: none;
        margin: 0;
    }

    .dh-search__input {
        height: 44px;
    }

    .dh-search__btn {
        width: 36px;
        height: 36px;
    }

    .dh-nav {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 1000;
        display: flex;
        flex-direction: column;
        width: 86%;
        max-width: 340px;
        background: #fff;
        box-shadow: var(--dh-shadow-lg);
        overflow-y: auto;
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .28s ease, visibility .28s;
    }

    .dh-nav-open .dh-nav {
        transform: translateX(0);
        visibility: visible;
    }

    .dh-nav > .dh-container {
        padding: 0;
    }

    .dh-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 18px;
        border-bottom: 1px solid var(--dh-line);
        font-size: 16px;
        font-weight: 800;
        color: var(--dh-ink);
    }

    .dh-nav__close {
        width: 40px;
        height: 40px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: var(--dh-bg);
        color: var(--dh-ink);
        font-size: 18px;
        cursor: pointer;
    }

    .dh-nav__list {
        flex-direction: column;
        gap: 0;
        padding: 8px 10px;
    }

    .dh-body a.dh-nav__link,
    .dh-nav__link {
        width: 100%;
        height: auto;
        padding: 13px 12px;
        border-radius: 10px;
        color: var(--dh-ink);
        font-size: 15.5px;
        text-align: left;
    }

    .dh-nav__link::after {
        display: none;
    }

    .dh-body a.dh-nav__link:hover,
    .dh-body a.dh-nav__link:focus,
    .dh-nav__link:hover,
    .dh-nav__item.is-active > .dh-nav__link,
    .dh-body .dh-nav__item.is-active > a.dh-nav__link {
        background: var(--dh-primary-soft);
        color: var(--dh-primary-dark);
    }

    .dh-nav__caret {
        margin-left: auto;
    }

    .dh-nav__item.is-open .dh-nav__caret {
        transform: rotate(180deg);
    }

    .dh-dropdown {
        position: static;
        display: none;
        min-width: 0;
        padding: 2px 0 6px 14px;
        border-radius: 0;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: none;
    }

    .dh-nav__item--has-children.is-open > .dh-dropdown {
        display: block;
    }

    .dh-nav__foot {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: auto;
        padding: 18px;
        border-top: 1px solid var(--dh-line);
    }

    .dh-nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 990;
        display: block;
        background: rgba(27, 31, 36, .5);
        opacity: 0;
        visibility: hidden;
        transition: opacity .28s ease, visibility .28s;
    }

    .dh-nav-open .dh-nav-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.dh-nav-open {
        overflow: hidden;
    }

    .dh-section {
        padding: 44px 0;
    }

    .dh-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    .dh-layout__main {
        order: 1;
    }

    .dh-sidebar {
        position: static;
        order: 2;
    }

    .dh-grid--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .dh-product {
        grid-template-columns: minmax(0, 1fr);
        gap: 26px;
    }

    .dh-product__media {
        position: static;
    }

    .dh-cta {
        padding: 36px 30px;
    }

    .dh-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .dh-support-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .dh-body .dh-intro__title {
        font-size: 28px;
    }
}

@media (max-width: 767px) {
    .dh-container {
        padding: 0 16px;
    }

    .dh-grid,
    .dh-grid--3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .dh-card__body {
        padding: 12px;
    }

    .dh-body .dh-card__title {
        margin-bottom: 10px;
        font-size: 14px;
    }

    .dh-card__foot {
        padding-top: 10px;
    }

    .dh-price {
        font-size: 14.5px;
    }

    .dh-price--contact {
        font-size: 13.5px;
    }

    .dh-body a.dh-card__more {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .dh-hero {
        padding-top: 16px;
    }

    .dh-hero__frame {
        border-radius: 14px;
    }

    .dh-hero__slide img {
        aspect-ratio: 16 / 9;
    }

    .dh-hero__arrow {
        display: none;
    }

    .dh-hero .slick-dots {
        bottom: 10px;
    }

    .dh-intro {
        padding-top: 32px;
    }

    .dh-body .dh-intro__title {
        font-size: 23px;
    }

    .dh-body .dh-intro__lead {
        font-size: 15px;
    }

    .dh-perks {
        gap: 12px;
    }

    .dh-perk {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 14px;
    }

    .dh-perk__icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
    }

    .dh-perk__title {
        font-size: 14px;
    }

    .dh-section {
        padding: 36px 0;
    }

    .dh-section__head {
        margin-bottom: 18px;
    }

    .dh-body .dh-section__title {
        font-size: 20px;
    }

    .dh-body a.dh-more {
        padding: 7px 12px;
        font-size: 13px;
    }

    .dh-pagehead {
        padding: 18px 0 20px;
    }

    .dh-body .dh-pagehead__title {
        font-size: 23px;
    }

    .dh-body .dh-product__title {
        font-size: 23px;
    }

    .dh-product__pricebox .dh-price {
        font-size: 24px;
    }

    .dh-panel {
        padding: 20px 16px;
    }

    .dh-block {
        margin-top: 36px;
    }

    .dh-quick {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    .dh-cta {
        padding: 28px 22px;
        border-radius: 18px;
    }

    .dh-body .dh-cta__title {
        font-size: 21px;
    }

    .dh-cta__actions,
    .dh-cta__actions .dh-btn {
        width: 100%;
    }

    .dh-footer__top {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .dh-footer__bottom-inner {
        padding-bottom: 84px;
    }

    .dh-fab {
        right: 14px;
        bottom: 16px;
        gap: 10px;
    }

    .dh-body a.dh-fab__btn,
    .dh-fab__btn {
        width: 48px;
        height: 48px;
    }

    .dh-fab__btn--top {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 400px) {
    .dh-brand__tag {
        display: none;
    }

    .dh-product__perks {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ---------- Responsive cho phần nâng cao ---------- */
@media (max-width: 991px) {
    .dh-hero {
        padding: 30px 0 92px;
    }

    .dh-hero__head {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        margin-bottom: 24px;
    }

    .dh-body .dh-hero__title {
        font-size: 32px;
    }

    .dh-body .dh-heading {
        font-size: 27px;
    }

    .dh-body .dh-pagehead__title {
        font-size: 30px;
    }

    .dh-hotline__icon::after {
        display: none;
    }

    .dh-header__inner {
        padding-top: 14px;
    }
}

@media (max-width: 767px) {
    .dh-hero {
        padding: 24px 0 84px;
    }

    .dh-body .dh-hero__title {
        font-size: 26px;
    }

    .dh-body .dh-hero__lead {
        font-size: 15px;
    }

    .dh-hero__actions,
    .dh-hero__actions .dh-btn {
        width: 100%;
    }

    .dh-hero__frame {
        border-radius: 16px;
    }

    .dh-perksbar {
        margin-top: -56px;
    }

    .dh-perksbar .dh-perks {
        padding: 8px;
        border-radius: 16px;
    }

    .dh-perksbar .dh-perk {
        padding: 12px;
    }

    .dh-body .dh-heading {
        font-size: 23px;
    }

    .dh-section__head--center {
        margin-bottom: 22px;
    }

    .dh-tabs {
        flex-wrap: nowrap;
        justify-content: flex-start;
        margin: 0 -16px 22px;
        padding: 4px 16px 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .dh-tabs::-webkit-scrollbar {
        display: none;
    }

    .dh-tab {
        padding: 9px 16px;
        font-size: 14px;
        flex-shrink: 0;
    }

    .dh-pagehead {
        padding: 28px 0 30px;
    }

    .dh-pagehead--slim {
        padding: 16px 0;
    }

    .dh-body .dh-pagehead__title {
        font-size: 25px;
    }

    .dh-pcard__body {
        padding: 12px;
    }

    .dh-body .dh-pcard__title {
        font-size: 14px;
    }

    .dh-pcard__arrow,
    .dh-pcard__desc {
        display: none;
    }
}

/* Màn hình cảm ứng: không có rê chuột nên bỏ nhãn nổi */
@media (hover: none) {
    .dh-card__view {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .dh-body *,
    .dh-body *::before,
    .dh-body *::after {
        animation: none !important;
        transition: none !important;
    }
}

@media print {
    .dh-topbar,
    .dh-nav,
    .dh-fab,
    .dh-burger,
    .dh-search,
    .dh-cta {
        display: none !important;
    }
}
