.heading-main h2 {
    font-family: var(--font-heading-1);
    color: var(--color-highlight-1);
    font-weight: 400;
    font-size: clamp(32px, calc(9vw + 12px), 130px);
    line-height: 110%;
    margin-bottom: 12px;
}

.heading-sub h3 {
    font-family: var(--font-heading-2);
    color: var(--color-highlight-2);
    font-weight: 700;
    font-size: clamp(18px, 5vw, 50px);
    text-transform: uppercase;
    margin-bottom: 0;
}

.heading-describe {
    width: 100%;
    max-width: 1370px;
    padding-left: 30px;
    padding-right: 30px;
}

.heading-describe p {
    font-family: var(--font-accent);
    color: var(--color-text);
    font-weight: 400;
    font-size: clamp(16px, 1.8vw, 24px);
    line-height: 1.3;
    text-align: center;
    margin-bottom: clamp(24px, 4vw, 60px);
}

.sys-badge,
.sys-badge-type-1 {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    min-height: clamp(60px, 8vw, 95px);
    border-radius: 60px;
    padding: 10px clamp(20px, 3vw, 40px);
    border: 1px solid transparent;
    background-image: linear-gradient(90deg, #FFFFFF 0%, #FDE3C0 100%),
    linear-gradient(146.31deg, #9D6F24 0.82%, #FDE3C0 50%, #9D6F24 99.18%);
    background-clip: padding-box, border-box;
    background-origin: padding-box, border-box;
    box-shadow: 0 10px 30px rgba(157, 111, 36, 0.05);
    overflow: hidden;
    margin-left: 30px;
    margin-right: 30px;
}

.sys-badge-type-1 {
    overflow: unset;
    margin-top: 15px;
}

.sys-badge::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(
            90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.7) 50%,
            rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 2;
    animation: sysBadgeShine 5.5s infinite ease-in-out;
    pointer-events: none;
}

@keyframes sysBadgeShine {
    0% {
        left: -150%;
    }
    35% {
        left: 250%;
    }
    100% {
        left: 250%;
    }
}

.sys-badge p, .sys-badge-type-1 p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 2vw, 20px);

    font-family: var(--font-heading-2);
    font-weight: 700;
    font-size: clamp(18px, 2.8vw, 39px);
    text-transform: uppercase;
    margin-bottom: 0;
    background: linear-gradient(0deg, var(--color-highlight-2) 0%, var(--color-highlight-1) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    text-align: center;
}

/*.sys-badge p::before,*/
/*.sys-badge p::after {*/
/*    content: "";*/
/*    display: inline-block;*/
/*    width: clamp(24px, 3.5vw, 55px);*/
/*    height: clamp(24px, 3.5vw, 55px);*/
/*    background-image: url("");*/
/*    background-size: contain;*/
/*    background-repeat: no-repeat;*/
/*    background-position: center;*/
/*    flex-shrink: 0;*/
/*}*/

.sys-badge-type-1::before {
    position: absolute;
    left: -35px;
    top: -45px;
    content: "";
    display: inline-block;
    width: 120px;
    height: 120px;
    background-image: url("");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.wpcf7-form-control-wrap .wpcf7-not-valid-tip ~ .wpcf7-not-valid-tip {
    display: none !important;
}

/* ==========================================================================
   SELECT2
   ========================================================================== */
.select2-container--default .select2-search--dropdown .select2-search__field {
    border: 0;
    box-shadow: 0 0 5px #ccc;
    border-radius: 10px;
}

.select2-container--default .select2-results__options::-webkit-scrollbar {
    width: 5px !important;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-track {
    background: #fdfaf5 !important;
    border-radius: 10px !important;
    margin: 4px 0 !important;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb {
    background: #dcb578 !important;
    border-radius: 10px !important;
    transition: background 0.2s ease !important;
}

.select2-container--default .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: #c2882e !important;
}

.select2-container--default .select2-results__options {
    scrollbar-width: thin !important;
    scrollbar-color: #dcb578 #fdfaf5 !important;
}

.select2-container--default .select2-results__option {
    margin-left: 0;
    margin-bottom: 0;
    padding: 8px 14px !important;
    border-bottom: none !important;
    font-size: 13px !important;
    color: #333333 !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #f0c367 !important;
    color: #ffffff !important;
}

.select2-container--open .select2-dropdown {
    border: 1px solid #dcb578 !important;
    border-radius: 14px !important;
    -webkit-border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
    z-index: 9999999 !important;
    -webkit-overflow-scrolling: touch;
}

/* ==========================================================================
   LIVE SEARCH & AUTOCOMPLETE STYLES
   ========================================================================== */
#search-lightbox .searchform-wrapper {
    position: relative;
    max-width: 650px;
    margin: 0 auto;
}

#search-lightbox .live-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 9999;
    margin-top: 12px;
}

#search-lightbox .autocomplete-suggestions {
    display: block !important;
    max-height: 330px;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.15), 0 5px 15px -5px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 8px 0;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

#search-lightbox .autocomplete-suggestions:empty {
    display: none !important;
}

#search-lightbox .autocomplete-suggestions::-webkit-scrollbar {
    width: 6px;
}

#search-lightbox .autocomplete-suggestions::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 0 12px 12px 0;
}

#search-lightbox .autocomplete-suggestions::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

#search-lightbox .autocomplete-suggestions::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

#search-lightbox .autocomplete-suggestion {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 10px 16px;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
    background-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
    text-align: left;
    border-bottom: 1px solid #f1f5f9;
}

#search-lightbox .autocomplete-suggestion:last-child {
    border-bottom: none;
}

#search-lightbox .autocomplete-suggestion:hover,
#search-lightbox .autocomplete-suggestion.selected,
#search-lightbox .autocomplete-suggestion[data-index]:hover {
    background-color: #f8fafc;
}

#search-lightbox .autocomplete-suggestion strong {
    color: #c99846; /* Tone màu vàng thương hiệu/luxury */
    font-weight: 700;
}

#search-lightbox .autocomplete-suggestion .search-image {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    background-color: #f8fafc;
    flex-shrink: 0;
}

#search-lightbox .autocomplete-suggestion .search-name {
    flex-grow: 1;
    font-weight: 500;
    color: #334155;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#search-lightbox .autocomplete-suggestion:hover .search-name {
    color: #0f172a;
}

/* ==========================================================================
   404 PAGE
   ========================================================================== */
.page-404-custom {
    padding: clamp(40px, 8vh, 90px) 0;
    background: #fffcf7;
    width: 100%;
    text-align: center;
}

.page-404-custom .section-404-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

.page-404-custom .error-code {
    font-size: clamp(80px, 12vw, 140px);
    font-weight: 800;
    line-height: 1;
    margin: 0 0 10px 0;
    color: #c09653;
    letter-spacing: -2px;
    user-select: none;
}

.page-404-custom .error-title {
    font-size: clamp(20px, 3vw, 30px);
    font-weight: 700;
    color: #7b5924;
    margin-bottom: 12px;
    line-height: 1.3;
}

.page-404-custom .error-message {
    font-size: clamp(13px, 1.4vw, 15px);
    color: #555555;
    margin: 0 auto 25px auto;
    line-height: 1.6;
    max-width: 620px;
}

.page-404-custom .error-search-form {
    max-width: 520px;
    width: 100%;
    margin: 0 auto 25px auto;
}

.page-404-custom .search-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1.5px solid #e2d2be;
    border-radius: 50px;
    padding: 3px 4px 3px 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    width: 100%;
}

.page-404-custom .search-input-group:focus-within {
    border-color: #b58c4c;
    box-shadow: 0 6px 20px rgba(181, 140, 76, 0.15);
}

.page-404-custom .search-field {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    height: 42px !important;
    padding: 0 10px 0 0 !important;
    margin: 0 !important;
    font-size: 14px;
    color: #333333;
    width: 100%;
    outline: none !important;
}

.page-404-custom .search-field::placeholder {
    color: #a8a8a8;
    font-size: 14px;
}

.page-404-custom .search-submit-btn {
    border: none;
    background: #a88344;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
}

.page-404-custom .search-submit-btn:hover {
    background: #8e6c32;
    transform: scale(1.04);
}

.page-404-custom .search-submit-btn i {
    font-size: 16px;
}

.page-404-custom .btn-home-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #7b5924;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.page-404-custom .btn-home-back:hover {
    color: #b58c4c;
    transform: translateX(-3px);
}

.page-404-custom .autocomplete-suggestions {
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2d2be;
    margin-top: 6px;
    background: #ffffff;
    width: 100% !important;
    left: 0 !important;
}

@media screen and (max-width: 1024px) {
    .sys-badge-type-1 {
        margin-top: 24px;
    }
}

@media screen and (max-width: 768px) {
    .heading-describe p {
        color: var(--color-highlight-2);
        text-align: justify;
    }

    .sys-badge-type-1::before {
        top: -35px;
        width: 90px;
        height: 90px;
    }

    #search-lightbox .autocomplete-suggestions {
        max-height: 320px;
    }

    #search-lightbox .autocomplete-suggestion {
        padding: 10px 12px;
        gap: 10px;
    }

    #search-lightbox .autocomplete-suggestion .search-image {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
    }

    #search-lightbox .autocomplete-suggestion .search-name {
        font-size: 13px;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }
}

@media (max-width: 480px) {
    .page-404-custom .search-field::placeholder {
        font-size: 13px;
    }
}

