/* ==================================================
   KYDOSU DARK THEME - custom.css
   May han ky thuat so - Industrial Dark Style
   ================================================== */

:root {
    --kd-orange: #F15A22;
    --kd-orange-d: #d44c1a;
    --kd-dark: #111111;
    --kd-dark-2: #1a1a1a;
    --kd-dark-3: #222222;
    --kd-dark-4: #2b2b2b;
    --kd-white: #ffffff;
    --kd-gray: #cccccc;
    --kd-gray-2: #888888;
    --kd-border: #333333;
}

/* ============ GLOBAL ============ */
body.kydosu {
    background: var(--kd-dark);
    color: var(--kd-gray);
    font-family: 'Roboto', Arial, sans-serif;
}

body.kydosu *,
body.kydosu *::before,
body.kydosu *::after {
    box-sizing: border-box;
}

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

body.kydosu a {
    transition: color .2s;
}

/* ============ HEADER ============ */
.kd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, #0A1011 11%, rgba(27, 18, 11, 0) 62%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Row 1: Top Bar */
.kd-header-top {
    padding: 12px 0;
}

.kd-header-top-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.kd-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.kd-logo img {
    height: 55px;
    width: auto;
}

.kd-logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--kd-white);
    letter-spacing: 1px;
}

/* Contact Info */
.kd-header-contact {
    display: flex;
    gap: 25px;
    font-size: 11px;
}

.kd-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: var(--kd-gray);
    position: relative;
}

.kd-contact-item i {
    position: absolute;
    top: 0;
    color: var(--kd-orange);
    font-size: 16px;
}

.kd-contact-item>img {
    width: 24px;
    height: 26px;
    margin-bottom: 5px;
}

.kd-contact-item a {
    color: var(--kd-orange);
    text-decoration: none;
    transition: color 0.2s;
}

.kd-contact-item a:hover {
    color: var(--kd-orange);
}

.kd-contact-item span {
    max-width: 220px;
    line-height: 1.4;
    color: var(--kd-orange);
}

.kd-lang-selector {
    cursor: pointer;
    flex-direction: row;
    padding-top: 0;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 4px;
    display: block;
    text-align: center;
    width: 85px;
}

.kd-lang-selector #kd-lang-flag {
    margin-bottom: 0;
    display: block;
    margin: 0 auto 5px;
    width: 38px;
    height: 20px;
}

.kd-lang-selector i {
    position: static;
    font-size: 9px;
}

/* Dropdown panel */
.kd-lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--kd-dark-2);
    border: 1px solid var(--kd-border);
    border-radius: 6px;
    min-width: 140px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow: hidden;
}

.kd-lang-selector.open .kd-lang-dropdown {
    display: block;
}

.kd-lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: var(--kd-gray);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.kd-lang-option:hover {
    background: var(--kd-dark-4);
    color: var(--kd-white);
}

.kd-lang-option.active {
    color: var(--kd-orange);
    background: rgba(241, 90, 34, 0.08);
}

.kd-lang-option span {
    color: inherit;
    max-width: unset;
    line-height: 1;
}

/* Divider Line */
.kd-header-divider {
    height: 1px;
    background: var(--kd-orange);
    margin: 0;
    opacity: 0.5;
}

/* Row 2: Bottom Bar */
.kd-header-bottom {
    padding: 20px 0;
}

.kd-header-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Navigation */
.kd-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 25px;
}

.kd-nav-list li a {
    color: var(--kd-orange);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.kd-nav-list li a:hover,
.kd-nav-list li.current-menu-item a {
    color: var(--kd-white);
}

/* Actions: Search & Cart */
.kd-header-actions {
    display: flex;
    align-items: center;
    gap: 35px;
}

.kd-search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.kd-search-input {
    background: #D9D9D9;
    border: none;
    padding: 6px 30px 6px 12px;
    border-radius: 35px;
    width: 160px;
    font-size: 13px;
    transition: width 0.3s;
}

.kd-search-input:focus {
    width: 200px;
    outline: none;
}

.kd-search-btn {
    position: absolute;
    right: 8px;
    background: none;
    border: none;
    color: #444;
    cursor: pointer;
    font-size: 13px;
}

.kd-cart-btn {
    color: var(--kd-orange);
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s;
}

.kd-cart-btn:hover {
    transform: scale(1.1);
}

/* Mobile Toggle */
.kd-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--kd-white);
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Nav Overlay */
.kd-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    height: 100%;
    background: var(--kd-dark);
    z-index: 10001;
    /* Đảm bảo nằm trên header (z-index 1000) */
    padding: 60px 25px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.kd-mobile-nav.open {
    right: 0;
}

.kd-mobile-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #fff;
    border: none;
    color: #333;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 18px;
}

.kd-mobile-nav-list {
    list-style: none;
    /* Bỏ chấm tròn */
    padding: 0;
    margin: 0;
}

.kd-mobile-nav-list li {
    margin-bottom: 0;
    border-bottom: 1px solid var(--kd-border);
}

.kd-mobile-nav-list li a {
    color: var(--kd-orange);
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 700;
    display: block;
    padding: 15px 0;
    transition: color 0.2s;
}

.kd-mobile-nav-list li a:hover {
    color: var(--kd-white);
}

/* Responsive adjustments in Header */
@media (max-width: 991px) {
    .kd-header-top {
        padding: 8px 0;
    }

    .kd-header-contact {
        display: none;
    }

    .kd-nav {
        display: none;
    }

    .kd-mobile-toggle {
        display: block;
    }

    .kd-search-input {
        width: 140px;
    }
}

/* ============ BUTTONS ============ */
.kd-btn {
    display: inline-block;
    padding: 13px 34px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background .25s, color .25s, transform .2s;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.4;
}

.kd-btn-orange {
    background: var(--kd-orange);
    color: #fff;
    border-color: var(--kd-orange);
}

.kd-btn-orange:hover {
    background: var(--kd-orange-d);
    border-color: var(--kd-orange-d);
    color: #fff;
    transform: translateY(-2px);
}

.kd-btn-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.kd-btn-outline:hover {
    background: #fff;
    color: var(--kd-orange);
}

.kd-btn-outline-orange {
    background: transparent;
    color: var(--kd-orange);
    border-color: var(--kd-orange);
}

.kd-btn-outline-orange:hover {
    background: var(--kd-orange);
    color: #fff;
}

.bg-home {
    background-image: url('../images/bg-main.jpg');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
}

/* ============ SECTIONS ============ */
.kd-section {
    padding: 80px 0;
}

.kd-section-dark {
    background: var(--kd-dark);
}

.kd-section-darker {
    background: var(--kd-dark-2);
}

.kd-section-white {
    background: #fff;
}

/* Section heading */
.kd-heading {
    margin-bottom: 50px;
}

.kd-heading-label {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--kd-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.kd-heading-label::before {
    content: '';
    display: block;
    width: 32px;
    height: 2px;
    background: var(--kd-orange);
    flex-shrink: 0;
}

.kd-heading h2 {
    font-size: clamp(22px, 3vw, 38px);
    font-weight: 900;
    text-transform: uppercase;
    color: var(--kd-white);
    margin: 0;
    line-height: 1.15;
}

.kd-heading.on-white h2 {
    color: var(--kd-dark);
}

.kd-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 50px;
}

.kd-heading-row .kd-heading {
    margin-bottom: 0;
}

/* ============ HERO ============ */
.kd-hero {

    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 130px;
}

.kd-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    /* Overlay tối đồng nhất để nổi chữ */
}

.kd-hero-content {
    position: relative;
    z-index: 2;
    padding: 60px 0;
    max-width: 1000px;
    margin: 0 auto;
}

.kd-hero-content h1 {
    font-size: clamp(36px, 6vw, 96px);
    /* Tiêu đề cực lớn */
    font-weight: 900;
    color: var(--kd-white);
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 10px;
    letter-spacing: -1px;
}

.kd-hero-subtitle {
    color: var(--kd-orange);
    font-size: clamp(24px, 4vw, 56px);
    /* Phụ đề cam lớn */
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.kd-hero-desc {
    color: var(--kd-white);
    font-size: 18px;
    margin: 0 auto 40px;
    max-width: 650px;
    line-height: 1.6;
    opacity: 0.9;
}

.kd-hero-btns {
    display: flex;
    justify-content: center;
}

.kd-btn-white-orange {
    background: #fff;
    color: var(--kd-orange);
    padding: 15px 45px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    border: 2px solid #fff;
}

.kd-btn-white-orange:hover {
    background: transparent;
    color: #fff;
}

/* ============ NEW PRODUCT SECTION (KYDOSU STYLE) ============ */
.kd-prod-title {
    color: var(--kd-orange);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 950;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.kd-prod-subtitle {
    font-size: 13px;
    color: var(--kd-white);
    letter-spacing: 0.5px;
    opacity: 0.9;
    font-weight: 500;
}

.kd-plus-inline {
    display: inline-flex;
    width: 22px;
    height: 22px;
    background: var(--kd-orange);
    color: #fff;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 0 6px;
    font-weight: 900;
    line-height: 1;
}

.kd-product-card-new {
    position: relative;
    overflow: hidden;
    background: #000;
    transition: all 0.4s ease;
}

/* Base style: Dark overlay */
.kd-card-thumb {
    display: block;
    width: 100%;
    position: relative;
}

.kd-card-thumb img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    object-fit: cover;
    transition: transform 0.6s ease;
    display: block;
}

.kd-card-info {
    position: absolute;
    inset: 0;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.5) 45%, rgba(0, 0, 0, 0) 70%);
    transition: all 0.4s ease;
}

.kd-card-info h3 {
    color: #fff;
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.kd-card-info p {
    color: #fff;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.8;
    max-width: 85%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kd-card-plus {
    position: absolute;
    right: 25px;
    bottom: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--kd-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 5;
}

/* Hover effects */
.kd-product-card-new:hover .kd-card-thumb img {
    transform: scale(1.1);
}

.kd-product-card-new:hover .kd-card-plus {
    transform: rotate(90deg) scale(1.1);
    background: #fff;
    color: var(--kd-orange);
}

/* White Variation (As seen in first card of design) */
.kd-product-card-new.white-style {
    background: #fff;
}

.kd-product-card-new.white-style .kd-card-info {
    background: #fff;
}

.kd-product-card-new.white-style h3 {
    color: var(--kd-orange);
}

.kd-product-card-new.white-style p {
    color: var(--kd-orange);
    opacity: 1;
}

.kd-product-card-new.white-style .kd-card-plus {
    background: transparent;
    border: 2px solid var(--kd-orange);
    color: var(--kd-orange);
}

/* Nav arrows at bottom */
.kd-product-nav-bottom {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.kd-nav-btn {
    width: 70px;
    height: 60px;
    background: var(--kd-orange);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kd-nav-btn:hover {
    background: var(--kd-white);
    color: var(--kd-orange);
}

/* Override sections */
.kd-section-dark {
    background: #000;
}

/* ============ PRODUCT CARDS ============ */
.kd-product-card {
    background: var(--kd-dark-3);
    margin-bottom: 28px;
    transition: transform .3s;
    position: relative;
    overflow: hidden;
}

.kd-product-card:hover {
    transform: translateY(-5px);
}

.kd-product-card .kd-thumb {
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--kd-dark-4);
}

.kd-product-card .kd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}

.kd-product-card:hover .kd-thumb img {
    transform: scale(1.06);
}

.kd-product-card .kd-card-body {
    padding: 16px 18px 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.kd-product-card .kd-card-text {
    flex: 1;
    min-width: 0;
}

.kd-product-card .kd-card-text h3 {
    font-size: 14px;
    font-weight: 800;
    color: var(--kd-white);
    text-transform: uppercase;
    margin: 0 0 6px;
    line-height: 1.35;
}

.kd-product-card .kd-card-text p {
    font-size: 12px;
    color: var(--kd-gray-2);
    margin: 0;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.kd-plus-btn {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--kd-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 300;
    text-decoration: none;
    transition: background .25s;
    line-height: 1;
    align-self: center;
}

.kd-plus-btn:hover {
    background: var(--kd-orange-d);
    color: #fff;
}

/* Carousel nav */
.kd-carousel-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.kd-carousel-btn {
    width: 46px;
    height: 46px;
    background: transparent;
    border: 2px solid var(--kd-border);
    color: var(--kd-gray);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s;
}

.kd-carousel-btn:hover {
    border-color: var(--kd-orange);
    color: var(--kd-orange);
}

/* ============ PARTNERS ============ */
.kd-partners-banner {
    background: var(--kd-orange);
    padding: 24px 0;
}

.kd-partners-banner .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.kd-partners-banner h2 {
    font-size: clamp(18px, 2.5vw, 26px);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 2px;
    flex: 1;
}

.kd-partners-logos {
    background: #fff;
    padding: 36px 0;
}

.kd-partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    border: 1px solid #e0e0e0;
    height: 90px;
    transition: border-color .25s, box-shadow .25s;
}

.kd-partner-item:hover {
    border-color: var(--kd-orange);
    box-shadow: 0 4px 16px rgba(241, 90, 34, .12);
}

.kd-partner-item img {
    max-height: 54px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter .25s;
}

.kd-partner-item:hover img {
    filter: grayscale(0%);
}

.kd-partner-placeholder {
    font-size: 16px;
    font-weight: 900;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============ PROJECT CARDS ============ */
.kd-project-card {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    display: block;
    text-decoration: none;
}

.kd-project-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
    transition: transform .4s;
}

.kd-project-card:hover img {
    transform: scale(1.05);
}

.kd-project-card .kd-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .88) 0%, transparent 100%);
    padding: 30px 20px 16px;
    transition: padding .3s;
}

.kd-project-card:hover .kd-overlay {
    padding-bottom: 22px;
}

.kd-project-card .kd-overlay h3 {
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 4px;
    line-height: 1.35;
}

.kd-project-card .kd-overlay p {
    font-size: 12px;
    color: #bbb;
    margin: 0;
}

/* ============ VIDEO ============ */
.kd-video-thumb {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 24px;
    display: block;
    text-decoration: none;
    background: var(--kd-dark-3);
}

.kd-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
    display: block;
}

.kd-video-thumb:hover img {
    transform: scale(1.05);
}

.kd-play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .3);
    transition: background .3s;
}

.kd-video-thumb:hover .kd-play-overlay {
    background: rgba(241, 90, 34, .45);
}

.kd-play-icon {
    width: 60px;
    height: 60px;
    background: var(--kd-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    padding-left: 4px;
    transition: transform .2s;
}

.kd-video-thumb:hover .kd-play-icon {
    transform: scale(1.08);
}

/* ============ MAP SECTION ============ */
.kd-map-cta {
    background: var(--kd-orange);
    padding: 50px 0;
    text-align: center;
}

.kd-map-cta h2 {
    font-size: clamp(18px, 2.5vw, 30px);
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.kd-map-embed {
    height: 420px;
}

.kd-map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.kd-map-placeholder {
    width: 100%;
    height: 100%;
    background: var(--kd-dark-4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--kd-gray-2);
    font-size: 14px;
}

/* ============ FOOTER ============ */
.kd-footer {
    background: var(--kd-orange);
    border-top: none;
    padding: 60px 0 0;
    color: rgba(255, 255, 255, 0.85);
}

.kd-footer-logo {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

.kd-footer-logo span {
    color: rgba(255, 255, 255, 0.7);
}

.kd-footer-logo img {
    max-height: 40px;
    width: auto;
    display: block;
    margin-bottom: 16px;
}

.kd-footer-desc {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, 0.8);
}

.kd-footer h4 {
    font-size: 13px;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.kd-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kd-footer ul li {
    margin-bottom: 10px;
}

.kd-footer ul li a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 13px;
    transition: color .2s;
}

.kd-footer ul li a:hover {
    color: #fff;
}

.kd-footer ul li i {
    color: rgba(255, 255, 255, 0.6);
    margin-right: 8px;
    width: 14px;
}

.kd-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 50px;
    padding: 20px 0;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
}

.kd-footer-bottom a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 991px) {
    .kd-nav {
        display: none;
    }

    .kd-mobile-toggle {
        display: block;
    }

    .kd-section {
        padding: 60px 0;
    }

    .kd-hero {
        min-height: auto;
        padding: 140px 0 80px;
    }
}

@media (max-width: 767px) {
    .kd-section {
        padding: 48px 0;
    }

    .kd-hero {
        padding: 120px 0 60px;
    }

    .kd-heading-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .kd-map-embed {
        height: 280px;
    }

    .kd-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============ INNER PAGE CONTENT ============ */
/* WordPress the_content() output on dark bg */
.kd-product-content h1,
.kd-product-content h2,
.kd-product-content h3,
.kd-product-content h4,
.kd-product-content h5,
.kd-product-content h6 {
    color: var(--kd-white);
    font-weight: 800;
    text-transform: uppercase;
    margin: 28px 0 14px;
}

.kd-product-content p {
    color: var(--kd-gray);
    line-height: 1.8;
}

.kd-product-content ul,
.kd-product-content ol {
    color: var(--kd-gray);
    padding-left: 20px;
    line-height: 2;
}

.kd-product-content a {
    color: var(--kd-orange);
}

.kd-product-content a:hover {
    color: var(--kd-white);
}

.kd-product-content img {
    max-width: 100%;
    display: block;
    margin: 20px 0;
}

.kd-product-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.kd-product-content table th,
.kd-product-content table td {
    padding: 10px 14px;
    border: 1px solid var(--kd-border);
    font-size: 13px;
}

.kd-product-content table th {
    background: var(--kd-dark-4);
    color: var(--kd-white);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 12px;
}

.kd-product-content table td {
    color: var(--kd-gray);
}

.kd-product-content strong {
    color: var(--kd-white);
}

.kd-product-content blockquote {
    border-left: 3px solid var(--kd-orange);
    padding: 14px 20px;
    background: var(--kd-dark-3);
    margin: 20px 0;
    color: var(--kd-gray);
    font-style: italic;
}

/* Global fix: breadcrumb area on dark pages */
.breadcrumb-area {
    background: var(--kd-dark-2);
    padding: 120px 0 50px;
    border-bottom: 1px solid var(--kd-border);
}

.breadcrumb-area .title {
    color: var(--kd-white) !important;
    font-weight: 900;
    text-transform: uppercase;
}

.breadcrumb-area .breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-area .breadcrumb-item a {
    color: var(--kd-orange);
}

.breadcrumb-area .breadcrumb-item.active {
    color: var(--kd-gray-2);
}

.breadcrumb-area .breadcrumb-item+.breadcrumb-item::before {
    color: var(--kd-gray-2);
}

/* Body bg fix for inner pages */
.kydosu .inner-project-area,
.kydosu .project-details-area {
    background: var(--kd-dark-2);
}

/* ============ LEGACY COMPAT (other pages) ============ */
.list-project-info ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0 -12px;
    gap: 24px 0;
    padding: 0;
}

.list-project-info ul li {
    padding: 0 12px;
    flex: 0 0 20%;
    max-width: 20%;
}

.item-overview {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #000000;
}

.item-overview p {
    margin: 0;
    line-height: normal;
    font-weight: bold;
    color: #000000;
}

/* ============ FLOATING CONTACT BUTTONS ============ */
.kd-floating-contact {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.kd-float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--kd-orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(241, 90, 34, 0.3);
    border: none;
    cursor: pointer;
}

.kd-float-btn i {
    transition: transform 0.3s;
}

.kd-float-btn:hover {
    background: #fff;
    color: var(--kd-orange);
    transform: scale(1.1);
}

.kd-float-btn.zalo-btn {
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
}

.kd-float-btn.back-to-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.kd-float-btn.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 767px) {
    .kd-floating-contact {
        right: 15px;
        bottom: 15px;
    }

    .kd-float-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .kd-float-btn.zalo-btn {
        font-size: 10px;
    }
}

/* ============ PAGE: ABOUT US (GIA TRI) ============ */
.kd-about-page {
    background: #fff;
}

/* 1. Breadcrumb Hero */
.kd-breadcrumb-hero {
    position: relative;
    padding: 120px 0 60px;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.kd-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.8));
}

.kd-breadcrumb-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kd-hero-inner {
    position: relative;
    z-index: 2;
}

.kd-hero-title {
    color: #fff;
    font-size: clamp(40px, 8vw, 90px);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0;
    line-height: 1.1;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.kd-breadcrumb-bottom {
    position: absolute;
    bottom: 50px;
    left: 0;
    width: 100%;
    z-index: 2;
}

.kd-breadcrumb-hero .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.kd-breadcrumb-hero .breadcrumb-item,
.kd-breadcrumb-hero .breadcrumb-item a {
    color: var(--kd-white);
    text-transform: capitalize;
    font-size: 22px;
    font-weight: 400;
    text-decoration: none;
}

.kd-breadcrumb-hero .breadcrumb-item.active {
    color: var(--kd-orange);
}

.kd-breadcrumb-hero .breadcrumb-item+.breadcrumb-item::before {
    content: '>';
    color: var(--kd-white);
    padding: 0 15px;
    font-family: serif;
}

/* 2. Tab Navigation (Updated for contrast style) */
.kd-about-tabs-nav {
    background: #e0e0e0;
}

.kd-tab-item {
    padding: 25px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: var(--kd-orange);
    color: #fff;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    min-width: 180px;
    flex: 1;
}

.kd-tab-item.kd-tab-white {
    background: #fff;
    color: var(--kd-orange);
}

.kd-tab-item:last-child {
    border-right: none;
}

.kd-tab-icon {
    font-size: 40px;
    margin-bottom: 15px;
    color: inherit;
}

.kd-tab-text {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.kd-tab-item:hover {
    opacity: 0.9;
    color: #fff;
}

.kd-tab-white:hover {
    background: #f9f9f9;
    color: var(--kd-orange);
}

.kd-tab-logo img {
    height: 45px;
    margin-bottom: 10px;
}

/* 3. Values Section */
.kd-values-section {
    padding: 100px 0;
    background: #fff;
}

.kd-section-title-dark {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 950;
    color: #111;
    margin: 10px 0;
}

.kd-values-desc p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
}

.kd-btn-stripe {
    display: inline-flex;
    align-items: center;
    padding: 12px 35px;
    background: var(--kd-orange);
    color: #fff;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 1px;
    text-decoration: none;
    position: relative;
}

.kd-btn-stripe::before {
    content: '';
    position: absolute;
    left: -10px;
    bottom: -5px;
    width: 30px;
    height: 4px;
    background: var(--kd-orange);
    transform: skewX(-45deg);
}

.kd-values-images {
    position: relative;
    padding-right: 50px;
}

.kd-values-images .img-main {
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
}

.kd-values-images .img-main img {
    width: 100%;
    display: block;
}

.kd-values-images .img-sub {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 65%;
    border: 10px solid #fff;
    box-shadow: 10px 10px 40px rgba(0, 0, 0, 0.15);
}

.kd-values-images .img-sub img {
    width: 100%;
    display: block;
}

/* 4. History Section */
.kd-history-section {
    background: #111;
    padding: 100px 0;
}

.kd-section-title-light {
    color: #fff;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 950;
    line-height: 1;
}

.kd-history-card {
    background: #fff;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.kd-history-content {
    padding: 60px;
}

.kd-year {
    display: block;
    color: var(--kd-orange);
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 15px;
}

.kd-history-content h3 {
    font-size: 28px;
    font-weight: 950;
    margin-bottom: 20px;
}

.kd-divider-short {
    width: 60px;
    height: 3px;
    background: #111;
    margin-bottom: 25px;
}

.kd-history-content p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 40px;
}

.kd-history-nav {
    display: flex;
    gap: 10px;
}

.kd-history-nav button {
    width: 50px;
    height: 50px;
    background: var(--kd-orange);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
}

.kd-history-nav button:hover {
    background: #111;
}

.kd-history-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 5. Partners Section (Giá Trị Page) */
.kd-partners-banner {
    padding: 60px 0;
    background: var(--kd-dark);
    text-align: center;
}

.kd-partners-banner h2 {
    font-size: 32px;
    font-weight: 900;
    margin: 0;
}

.kd-partner-item {
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.kd-partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.kd-partner-placeholder {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
}

/* 6. Map Section */
.kd-map-section {
    position: relative;
}

.kd-map-cta h2 {
    font-size: 28px;
    font-weight: 900;
}

.kd-map-embed {
    border-top: 1px solid #ddd;
}

@media (max-width: 767px) {
    .kd-partners-banner h2 {
        font-size: 24px;
    }

    .kd-map-cta h2 {
        font-size: 20px;
    }
}

/* ============ SECTION 4: DẤU ẤN NỔI BẬT ============ */
.kd-highlights-section {
    background: #1a1a1a;
}

.kd-highlight-card {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.kd-highlight-img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.kd-highlight-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.kd-highlight-card:hover .kd-highlight-img img {
    transform: scale(1.05);
}

.kd-highlight-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 18px;
}

.kd-highlight-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0 0 14px;
}

.kd-btn-xemtin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--kd-orange);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 16px;
    text-decoration: none;
    transition: background 0.25s;
    align-self: flex-start;
}

.kd-btn-xemtin:hover {
    background: #d44c1a;
    color: #fff;
}

.kd-btn-stripe-decor {
    display: inline-flex;
    gap: 2px;
    align-items: center;
    margin-right: 6px;
}

.kd-btn-stripe-decor::before,
.kd-btn-stripe-decor::after {
    content: '';
    display: block;
    width: 4px;
    height: 14px;
    background: rgba(255, 255, 255, 0.6);
    transform: skewX(-18deg);
}

.kd-btn-stripe-decor::before {
    margin-right: 2px;
}

.kd-hex-collage {
    overflow: hidden;
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 240px;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
}

/* ============ SECTION 5: THƯ VIỆN VIDEO ============ */
.kd-video-section {
    background: #222;
}

.kd-video-main {
    position: relative;
    overflow: hidden;
}

.kd-video-thumb-wrapper {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
    min-height: 240px;
}

.kd-video-thumb-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.kd-video-card:hover .kd-video-thumb-wrapper img {
    transform: scale(1.05);
}

.kd-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    pointer-events: none;
}

.kd-video-overlay-title {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
}

.kd-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 58px;
    height: 58px;
    background: var(--kd-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    z-index: 3;
    transition: background 0.3s, transform 0.3s;
}

.kd-video-card:hover .kd-play-btn {
    background: #fff;
    color: var(--kd-orange);
    transform: translate(-50%, -50%) scale(1.1);
}

.kd-video-hex {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

.kd-hex-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(241, 90, 34, 0.25) 0%, transparent 60%);
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    pointer-events: none;
}

.kd-btn-xemtatca {
    display: inline-flex;
    align-items: center;
    background: var(--kd-orange);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 12px 28px;
    text-decoration: none;
    transition: background 0.25s;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.kd-btn-xemtatca:hover {
    background: #d44c1a;
    color: #fff;
}

/* Badge title style */
.kd-partners-badge {
    display: inline-block;
    background: var(--kd-orange);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 12px 36px;
    clip-path: polygon(16px 0%, 100% 0%, calc(100% - 16px) 100%, 0% 100%);
}

/* ============ PRODUCT PAGE REFACTOR (Figma Match) ============ */
.kd-product-main-area {
    background-color: #ffffff !important;
}

.kd-category-title h2 {
    position: relative;
    padding-bottom: 15px;
}

.kd-category-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--kd-orange);
}

/* Product Card V2 */
.kd-product-card-v2:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--kd-orange) !important;
}

.kd-product-card-v2:hover .kd-hover-overlay {
    opacity: 1 !important;
}

.kd-product-card-v2 .kd-thumb img {
    transition: transform 0.5s ease;
}

.kd-product-card-v2:hover .kd-thumb img {
    transform: scale(1.05);
}

/* Sidebar Widgets */
.kd-sidebar .kd-widget-title {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 20px !important;
}

.kd-sidebar-cats li a:hover {
    background: #FF6B00 !important;
    color: #fff !important;
    padding-left: 20px !important;
}

.kd-brand-select:focus {
    box-shadow: none;
    border-color: var(--kd-orange);
}

/* Pagination Styling */
.kd-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 8px;
}

.kd-pagination .page-numbers {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s;
}

.kd-pagination .page-numbers.current,
.kd-pagination .page-numbers:hover {
    background: var(--kd-orange);
    border-color: var(--kd-orange);
    color: #fff;
}

.kd-pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: #999;
}

/* Contact Button Pulse */
@keyframes pulse-orange {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 90, 34, 0.4);
    }

    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(241, 90, 34, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(241, 90, 34, 0);
    }
}

.kd-btn-orange {
    animation: pulse-orange 2s infinite;
}

.kd-btn-orange:hover {
    animation: none;
    background: #e04a1b !important;
    color: #fff !important;
}

/* Breadcrumb refinement */
.kd-page-banner .breadcrumb-item a:hover {
    text-decoration: underline !important;
}

/* ============ NEWS PAGE REFACTOR (Figma Match) ============ */
.kd-news-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--kd-orange) !important;
}

.kd-news-item:hover .kd-news-thumb img {
    transform: scale(1.05);
}

.kd-news-thumb img {
    transition: transform 0.5s ease;
}

.kd-news-body h3 a:hover {
    color: var(--kd-orange) !important;
}

/* Sidebar Widgets in News Page */
.kd-news-sidebar .kd-widget {
    background: #fff;
}

.kd-mini-post {
    transition: all 0.3s ease;
}

.kd-mini-post:hover .kd-mini-body h5 a {
    color: var(--kd-orange) !important;
}

.kd-mini-thumb {
    overflow: hidden;
    border-radius: 4px;
}

.kd-mini-thumb img {
    transition: transform 0.4s ease;
}

.kd-mini-post:hover .kd-mini-thumb img {
    transform: scale(1.1);
}

/* Mobile adjustments for news cards */
@media (max-width: 767px) {
    .kd-news-item {
        flex-direction: column;
    }

    .kd-news-item .row.g-0 {
        flex-direction: column;
    }

    .kd-news-thumb {
        min-height: 200px !important;
    }
}

/* ============ CART PAGE REFACTOR (Figma Match) ============ */
.kd-cart-item {
    transition: background 0.2s;
}

.kd-cart-item:hover {
    background: #fbfbfb;
}

.kd-qty-controls button {
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.kd-qty-controls button:hover {
    background: #e04a1b;
    color: #fff;
}

.kd-cart-summary {
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kd-item-thumb img {
    transition: transform 0.3s ease;
}

.kd-cart-item:hover .kd-item-thumb img {
    transform: scale(1.1);
}

.kd-payment-methods img {
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.kd-payment-methods img:hover {
    filter: grayscale(0%);
}

@media (max-width: 767px) {
    .kd-cart-header {
        display: none !important;
    }

    .kd-cart-item {
        text-align: center;
        gap: 15px;
    }

    .kd-item-remove {
        text-align: center !important;
        width: 100% !important;
        margin-top: 10px;
    }
}

/* ============ CHECKOUT PAGE REFACTOR (Figma Match) ============ */
.kd-checkout-form input:focus,
.kd-checkout-form textarea:focus {
    outline: none;
    background: #fff !important;
    border-style: solid !important;
}

.kd-checkout-review {
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.kd-payment-option input[type="radio"] {
    width: 16px;
    height: 16px;
}

.kd-payment-desc {
    border-left: 3px solid var(--kd-orange);
    position: relative;
    border-radius: 4px;
}

.kd-payment-desc::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 10px;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #f8f9fa;
}

@media (max-width: 991px) {
    .kd-checkout-review {
        margin-top: 40px;
    }
}

/* ============ GUARANTEE PAGE REFACTOR (Figma Match) ============ */
.kd-warranty-form input:focus {
    outline: 2px solid var(--kd-orange);
    background: #fff !important;
}

.kd-guarantee-status input:focus {
    outline: none;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.kd-center-item {
    transition: all 0.2s;
    border: 1px solid transparent;
}

.kd-center-item:hover,
.kd-center-item.active {
    color: var(--kd-orange) !important;
    border-color: var(--kd-orange);
    background: #fff !important;
}

.kd-locator-wrapper {
    background: #fff;
}

@media (max-width: 991px) {
    .kd-warranty-form label {
        width: 100% !important;
        margin-bottom: 5px;
    }

    .kd-warranty-form .mb-3,
    .kd-warranty-form .mb-4 {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .kd-warranty-form div[style*="padding-left"] {
        padding-left: 0 !important;
    }

    .kd-locator-wrapper {
        flex-direction: column !important;
    }

    .kd-locator-map-side {
        height: 350px;
    }
}
