/* Hide legacy basic float stack so our unified 3-in-1 Dock takes over cleanly */
.qhq-float-contact {
    display: none !important;
}

/* === LEVEL 1: FOOTER PHONE / ZALO QUOTE FORM === */
body .qhq-footer-lead-wrap {
    width: 100% !important;
    max-width: 520px !important;
    margin-left: auto !important;
}
body .qhq-footer-lead-wrap .qhq-footer-lead-form {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 8px !important;
    background: #ffffff !important;
    border: 1.5px solid #DFC9A3 !important;
    border-radius: 999px !important;
    padding: 5px !important;
    height: auto !important;
    box-shadow: 0 6px 20px rgba(142, 20, 32, 0.08) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body .qhq-footer-lead-wrap .qhq-footer-lead-form:focus-within {
    border-color: #9E1622 !important;
    box-shadow: 0 6px 22px rgba(158, 22, 34, 0.16) !important;
}
body .qhq-footer-lead-wrap .qhq-footer-lead-input {
    position: static !important;
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
    height: 44px !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    padding: 0 14px 0 18px !important;
    font-size: 14.5px !important;
    color: #1F1A1C !important;
    outline: none !important;
    box-shadow: none !important;
}
body .qhq-footer-lead-wrap .qhq-footer-lead-btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    flex: 0 0 auto !important;
    width: auto !important;
    height: 44px !important;
    margin: 0 !important;
    border: 1px solid #E5C158 !important;
    border-radius: 999px !important;
    padding: 0 22px !important;
    background: linear-gradient(135deg, #9E1622 0%, #7A1019 100%) !important;
    color: #FFFDF9 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: transform 0.18s ease, opacity 0.18s ease;
}
body .qhq-footer-lead-wrap .qhq-footer-lead-btn:hover {
    transform: translateY(-1px) !important;
    opacity: 0.95;
}
.qhq-footer-lead-note {
    margin-top: 8px;
    font-size: 12.5px;
    color: #64748b;
    padding-left: 12px;
}
.qhq-footer-lead-msg {
    margin-top: 10px;
    padding: 13px 16px;
    border-radius: 12px;
    font-size: 13.5px;
    line-height: 1.5;
}
.qhq-footer-lead-msg.is-success {
    background: #FDF8EE;
    border: 1px solid #D4AF37;
    color: #231F20;
}
.qhq-footer-lead-msg.is-error {
    background: #FEF2F2;
    border: 1px solid #FCA5A5;
    color: #991B1B;
}
.qhq-instant-zalo-cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 9px;
    padding: 8px 16px;
    border-radius: 999px;
    background: #0068FF;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none !important;
}

/* === LEVEL 3: UNIFIED FLOATING DOCK & 24/7 SMART ADVISOR CHATBOT === */
.qhq-dock {
    position: fixed;
    right: 20px;
    bottom: 22px;
    z-index: 9995;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-dock-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    line-height: 1.2;
}
.qhq-dock-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
}
.qhq-dock-advisor {
    background: linear-gradient(135deg, #8E1420 0%, #680B14 100%);
    color: #FFFDF9 !important;
    border: 1.5px solid #E5C158;
}
.qhq-dock-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.28);
    flex-shrink: 0;
}
.qhq-dock-zalo {
    background: #0068FF;
    color: #ffffff !important;
}
.qhq-dock-call {
    background: #9E1622;
    color: #ffffff !important;
}

/* Chat Window */
.qhq-chat-panel {
    position: fixed;
    right: 20px;
    bottom: 84px;
    width: 376px;
    max-width: calc(100vw - 24px);
    height: 540px;
    max-height: calc(100vh - 115px);
    background: #FFFDF9;
    border: 1px solid #DFC9A3;
    border-radius: 18px;
    box-shadow: 0 20px 50px rgba(35, 12, 16, 0.28);
    z-index: 9999;
    display: none;
    flex-direction: column;
    overflow: hidden;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-chat-panel.is-open {
    display: flex;
    animation: qhqFadeUp 0.22s ease-out;
}
@keyframes qhqFadeUp {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.qhq-chat-header {
    background: linear-gradient(135deg, #8E1420 0%, #640A12 100%);
    color: #FFFDF9;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1.5px solid #D4AF37;
}
.qhq-chat-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.qhq-chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #FFF8EC;
    color: #8E1420;
    font-weight: 800;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #E5C158;
    flex-shrink: 0;
}
.qhq-chat-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #FFFDF9;
    margin: 0;
}
.qhq-chat-status {
    font-size: 11.5px;
    color: #FDE68A;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}
.qhq-chat-close {
    background: rgba(255,255,255,0.14);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}
.qhq-chat-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    background: #FAF6F0;
}
.qhq-msg {
    max-width: 88%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.52;
    word-wrap: break-word;
}
.qhq-msg-bot {
    align-self: flex-start;
    background: #ffffff;
    color: #1F1A1C;
    border: 1px solid #EAE0D0;
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}
.qhq-msg-user {
    align-self: flex-end;
    background: #9E1622;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}
.qhq-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 4px;
}
.qhq-chip {
    background: #FFFDF9;
    border: 1px solid #C9A24D;
    color: #7A1019;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.16s ease;
}
.qhq-chip:hover {
    background: #9E1622;
    border-color: #9E1622;
    color: #ffffff;
}
.qhq-rec-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    padding: 8px 10px;
    background: #FFFDF9;
    border: 1px solid #E5C98B;
    border-radius: 10px;
    text-decoration: none !important;
    color: #1F1A1C !important;
    transition: border-color 0.16s ease, transform 0.16s ease;
}
.qhq-rec-card:hover {
    border-color: #9E1622;
    transform: translateY(-1px);
}
.qhq-rec-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #EFE4D2;
    flex-shrink: 0;
}
.qhq-rec-info {
    flex: 1 1 auto;
    min-width: 0;
}
.qhq-rec-card strong {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1F1A1C;
    font-size: 12.5px;
    line-height: 1.35;
    margin-bottom: 3px;
}
.qhq-rec-price {
    font-size: 13px;
    font-weight: 700;
    color: #9E1622;
}
.qhq-rec-group-label {
    margin-top: 10px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8E1420;
}
.qhq-upsell-box {
    margin-top: 10px;
    padding: 9px 10px;
    background: #FCF9F2;
    border: 1px dashed #D4AF37;
    border-radius: 11px;
}
.qhq-upsell-head {
    font-size: 11.5px;
    font-weight: 700;
    color: #785A1E;
    margin-bottom: 3px;
}
.qhq-upsell-note {
    font-size: 12px;
    color: #57534E;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 4px;
}
.qhq-upsell-box .qhq-rec-card {
    margin-top: 4px;
    background: #ffffff;
}
.qhq-typing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #78716C;
    font-size: 12.5px;
    font-style: italic;
}
.qhq-typing span {
    width: 6px;
    height: 6px;
    background: #9E1622;
    border-radius: 50%;
    animation: qhqBlink 1.2s infinite ease-in-out;
}
.qhq-typing span:nth-child(2) { animation-delay: 0.2s; }
.qhq-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes qhqBlink {
    0%, 80%, 100% { opacity: 0.25; transform: scale(0.85); }
    40% { opacity: 1; transform: scale(1.15); }
}
.qhq-inline-lead {
    margin-top: 8px;
    background: #FFF8EC;
    border: 1px solid #D4AF37;
    border-radius: 12px;
    padding: 10px;
}
.qhq-inline-lead input {
    width: 100% !important;
    padding: 8px 11px !important;
    border: 1px solid #CBD5E1 !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    margin-bottom: 7px !important;
    background: #fff !important;
    box-sizing: border-box !important;
}
.qhq-inline-lead button {
    width: 100%;
    padding: 9px 12px;
    border: none;
    border-radius: 8px;
    background: #9E1622;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.qhq-chat-footer {
    padding: 10px 12px;
    background: #ffffff;
    border-top: 1px solid #EAE0D0;
    display: flex;
    gap: 7px;
}
.qhq-chat-input {
    flex: 1 1 auto !important;
    border: 1px solid #D6C7B2 !important;
    border-radius: 999px !important;
    padding: 8px 14px !important;
    font-size: 13.5px !important;
    outline: none !important;
    background: #FAF8F5 !important;
}
.qhq-chat-send {
    border: none;
    border-radius: 999px;
    padding: 8px 15px;
    background: #9E1622;
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .qhq-dock {
        bottom: 88px !important;
        right: 10px !important;
        gap: 6px;
    }
    body.single-product .qhq-dock {
        bottom: 76px !important;
        right: 10px !important;
    }
    .qhq-dock-zalo,
    .qhq-dock-call {
        display: none !important;
    }
    .qhq-dock-btn {
        padding: 7px 13px;
        font-size: 12px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
    }
    .qhq-chat-panel {
        right: 10px;
        bottom: 88px !important;
        width: calc(100vw - 20px);
        height: calc(100vh - 150px);
        max-height: 470px;
    }
    body .qhq-footer-lead-wrap {
        max-width: 100% !important;
        margin-left: 0 !important;
    }
    body .qhq-footer-lead-wrap .qhq-footer-lead-form {
        flex-direction: column !important;
        align-items: stretch !important;
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        gap: 10px !important;
    }
    body .qhq-footer-lead-wrap .qhq-footer-lead-input {
        flex: none !important;
        width: 100% !important;
        height: 48px !important;
        background: #ffffff !important;
        border: 1.5px solid #DFC9A3 !important;
        border-radius: 12px !important;
        padding: 0 16px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        box-shadow: 0 4px 14px rgba(142, 20, 32, 0.06) !important;
    }
    body .qhq-footer-lead-wrap .qhq-footer-lead-input:focus {
        border-color: #9E1622 !important;
    }
    body .qhq-footer-lead-wrap .qhq-footer-lead-btn {
        width: 100% !important;
        height: 46px !important;
        border-radius: 12px !important;
        font-size: 15px !important;
    }
    body .qhq-footer-lead-note {
        padding-left: 4px !important;
        text-align: center;
    }
}

/* === v3.3.0 FULL-FUNNEL UX, GALLERY FIX, BUY NOW, CHECKOUT & DOCK DISCIPLINE === */

/* 1. Never block Cart, Checkout or Account Register form with floating dock */
body.woocommerce-cart .qhq-dock,
body.woocommerce-checkout .qhq-dock,
body.woocommerce-account:not(.logged-in) .qhq-dock {
    display: none !important;
}
body.single-product .qhq-dock-call {
    display: none !important;
}

/* 2. Hide broken/empty header topbar countdown boxes */
.header-topbar .klb-countdown,
.topbar-notice .klb-countdown,
.header-topbar .countdown,
.klbth-countdown,
.topbar-countdown {
    display: none !important;
}

/* 3. Accessible SEO H1 on Homepage + Styled H1 on Shop */
.qhq-seo-h1 {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
.qhq-shop-main-h1 {
    font-size: 20px;
    font-weight: 700;
    color: #7A1019;
    margin: 0 0 14px 0;
    line-height: 1.35;
}

/* 4. Single Product Gallery & Cart Thumbnail Crisp Visibility Guarantee */
body.single-product .product-gallery,
body.single-product .woocommerce-product-gallery,
body.single-product .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery__image,
body.single-product .klb-product-gallery {
    opacity: 1 !important;
    visibility: visible !important;
}
body.single-product .woocommerce-product-gallery figure {
    aspect-ratio: auto !important;
    margin: 0 !important;
}
body.single-product .woocommerce-product-gallery__image img,
body.single-product .product-gallery img.wp-post-image {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 100% !important;
    height: auto !important;
    max-height: 540px !important;
    object-fit: contain !important;
    background: #ffffff;
    border-radius: 12px;
}
body.woocommerce-cart table.cart td.product-thumbnail,
body.woocommerce-cart .woocommerce-cart-form__cart-item td.product-thumbnail {
    width: 84px !important;
    min-width: 76px !important;
    display: table-cell !important;
    vertical-align: middle !important;
}
body.woocommerce-cart td.product-thumbnail a,
body.woocommerce-cart td.product-thumbnail img {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    width: 68px !important;
    height: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    object-fit: contain !important;
    border-radius: 8px;
    border: 1px solid #EFE4D2;
    background: #ffffff;
}

/* 5. 1-Click "⚡ Mua Ngay" Button on Single Product Pages */
.single-product form.cart {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}
.qhq-buy-now-btn {
    flex: 1 1 100%;
    width: 100%;
    margin-top: 4px;
    padding: 13px 20px !important;
    border-radius: 10px !important;
    border: 1.5px solid #E5C158 !important;
    background: linear-gradient(135deg, #9E1622 0%, #6E0D16 100%) !important;
    color: #FFFDF9 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(158, 22, 34, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
    text-align: center;
}
.qhq-buy-now-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(158, 22, 34, 0.3);
    opacity: 0.96;
}

/* 6. Streamlined Vietnam Gift Checkout & Payment Cards */
.qhq-gift-checkbox-row {
    margin-top: 12px !important;
    padding: 12px 15px !important;
    background: #FFF9EE;
    border: 1px dashed #D4AF37;
    border-radius: 10px;
}
.qhq-gift-checkbox-row label {
    font-weight: 600 !important;
    color: #7A1019 !important;
    cursor: pointer;
    margin: 0 !important;
}
body.woocommerce-checkout #payment ul.payment_methods li {
    background: #FAF7F2;
    border: 1px solid #E6DAC6;
    border-radius: 10px;
    padding: 12px 14px !important;
    margin-bottom: 10px !important;
    list-style: none !important;
}
body.woocommerce-checkout #payment ul.payment_methods li label {
    font-weight: 700;
    color: #1F1A1C;
    cursor: pointer;
}
body.woocommerce-checkout #payment div.payment_box {
    background: #ffffff !important;
    border: 1px solid #EFE4D2 !important;
    border-radius: 8px !important;
    color: #44403C !important;
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    margin-top: 8px !important;
    padding: 10px 13px !important;
}
body.woocommerce-checkout #payment div.payment_box::before {
    display: none !important;
}
body.woocommerce-checkout #place_order {
    width: 100% !important;
    padding: 14px 22px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #9E1622 0%, #740E17 100%) !important;
    border: 1.5px solid #E5C158 !important;
    color: #FFFDF9 !important;
    font-size: 15.5px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em;
    cursor: pointer;
}

/* 7. Thank-You Page VIP Zalo Confirmation Card */
.qhq-thankyou-vip-box {
    background: linear-gradient(135deg, #FFFDF9 0%, #FFF7E8 100%);
    border: 1.5px solid #D4AF37;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 0 0 24px 0;
    box-shadow: 0 10px 28px rgba(142, 20, 32, 0.08);
}
.qhq-thankyou-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #9E1622;
    color: #FFFDF9;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.qhq-thankyou-vip-box h3 {
    margin: 0 0 8px 0;
    color: #7A1019;
    font-size: 19px;
}
.qhq-thankyou-vip-box p {
    color: #334155;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 14px 0;
}
.qhq-thankyou-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.qhq-thankyou-zalo-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: #0068FF;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
}
.qhq-thankyou-call-btn {
    display: inline-flex;
    align-items: center;
    padding: 11px 18px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #9E1622;
    color: #9E1622 !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none !important;
}

/* === v3.3.2 LUXURY FOOTER PHONE TYPOGRAPHY & /CONTACT/ SHOWROOM REDESIGN === */

/* 1. Refined Footer "Cần trợ giúp?" Phone Stack */
.qhq-ft-phone-stack {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 8px 0 10px 0;
}
.qhq-ft-phone-line {
    display: inline-flex;
    align-items: baseline;
    gap: 7px;
    font-size: 16.5px !important;
    line-height: 1.4 !important;
    font-weight: 500 !important;
    color: #1F1A1C !important;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}
.qhq-ft-phone-line .qhq-ft-lbl {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    min-width: 88px;
}
.qhq-ft-phone-line strong {
    font-size: 17.5px;
    font-weight: 700;
    color: #8E1420;
    transition: color 0.16s ease;
}
.qhq-ft-phone-line:hover strong {
    color: #B91C1C;
}
.qhq-ft-zalo-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #FDF8EE;
    border: 1px solid #DFC9A3;
    color: #8E1420 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    transition: all 0.18s ease;
}
.qhq-ft-zalo-pill:hover {
    background: #8E1420;
    border-color: #8E1420;
    color: #ffffff !important;
}

/* 2. Bespoke Luxury /contact/ Showroom Layout */
.qhq-contact-outer {
    max-width: 1290px;
    margin: 20px auto 56px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-contact-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    margin-bottom: 18px;
}
.qhq-contact-breadcrumb a {
    color: #64748b !important;
    text-decoration: none !important;
}
.qhq-contact-breadcrumb a:hover {
    color: #9E1622 !important;
}
body.page-id-2144 .qhq-dock-zalo,
body.page-id-2144 .qhq-dock-call {
    display: none !important;
}
.qhq-contact-showcase {
    display: grid;
    grid-template-columns: 1.04fr 0.96fr;
    gap: 32px;
    align-items: start;
    margin: 0;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-contact-left {
    background: linear-gradient(155deg, #FFFDF9 0%, #FAF4E8 100%);
    border: 1px solid #E5D4B3;
    border-radius: 18px;
    padding: 32px 30px;
    box-shadow: 0 12px 32px rgba(122, 16, 25, 0.06);
}
.qhq-contact-eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9E1622;
    background: #FDF3E1;
    border: 1px solid #E4C47E;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}
.qhq-contact-h1 {
    font-size: 26px !important;
    font-weight: 800 !important;
    line-height: 1.32 !important;
    color: #1F1A1C !important;
    margin: 0 0 12px 0 !important;
}
.qhq-contact-lead {
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.72 !important;
    color: #475569 !important;
    margin: 0 0 24px 0 !important;
}
.qhq-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.qhq-c-card {
    background: #ffffff;
    border: 1px solid #ECE2D0;
    border-radius: 13px;
    padding: 15px 16px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}
.qhq-c-card:hover {
    border-color: #C9A045;
    transform: translateY(-2px);
}
.qhq-c-card.is-zalo-card {
    background: #F8FAFF;
    border-color: #BFDBFE;
}
.qhq-c-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 5px;
}
.qhq-c-val {
    display: inline-block;
    font-size: 18px;
    font-weight: 800;
    color: #1F1A1C !important;
    text-decoration: none !important;
    line-height: 1.3;
    margin-bottom: 4px;
}
.qhq-c-val.is-primary {
    color: #9E1622 !important;
}
.qhq-c-val.is-text {
    font-size: 15.5px;
    font-weight: 700;
}
.qhq-c-zalo-btn {
    display: inline-block;
    margin: 3px 0 5px 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: #0068FF;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
}
.qhq-c-sub {
    font-size: 12px;
    color: #64748b;
    line-height: 1.45;
}
.qhq-contact-promise {
    background: #FFF8EC;
    border: 1px dashed #D4AF37;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 13.5px;
    line-height: 1.55;
    color: #573B12;
}

.qhq-contact-right {
    background: #ffffff;
    border: 1px solid #EAE0D0;
    border-radius: 18px;
    padding: 32px 30px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}
.qhq-contact-h2 {
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    color: #7A1019 !important;
    margin: 0 0 8px 0 !important;
}
.qhq-contact-sub {
    font-size: 14px !important;
    line-height: 1.62 !important;
    color: #64748b !important;
    margin: 0 0 20px 0 !important;
}
.qhq-cf7-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}
.qhq-cf7-row {
    margin-bottom: 14px;
}
.qhq-contact-right label {
    display: block;
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1F1A1C !important;
    margin-bottom: 6px !important;
}
.qhq-contact-right input[type="text"],
.qhq-contact-right input[type="tel"],
.qhq-contact-right input[type="email"],
.qhq-contact-right textarea {
    width: 100% !important;
    border: 1px solid #D6C7B2 !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    background: #FCFBF9 !important;
    color: #1F1A1C !important;
    box-sizing: border-box !important;
}
.qhq-contact-right input:focus,
.qhq-contact-right textarea:focus {
    border-color: #9E1622 !important;
    background: #ffffff !important;
    outline: none !important;
}
.qhq-cf7-submit-wrap input[type="submit"],
.qhq-contact-right .wpcf7-submit {
    width: 100% !important;
    padding: 13px 22px !important;
    border-radius: 10px !important;
    border: 1.5px solid #E5C158 !important;
    background: linear-gradient(135deg, #9E1622 0%, #740E17 100%) !important;
    color: #FFFDF9 !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
}

@media (max-width: 991px) {
    .qhq-contact-showcase {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    .qhq-contact-left,
    .qhq-contact-right {
        padding: 22px 18px;
    }
    .qhq-contact-cards,
    .qhq-cf7-grid {
        grid-template-columns: 1fr;
    }
}

/* === v3.4.0 HEADER ACCOUNT HOVER POPUP & VIP MEMBER LOYALTY PORTAL === */

/* 1. Replace baby-blue Header Account Hover Dropdown with Royal Crimson & Gold */
.site-header .account-dropdown,
.site-header .user-holder .sub-menu,
.site-header .header-button .sub-menu,
.site-header .dropdown-menu,
.klbth-account-holder .sub-menu {
    border-radius: 14px !important;
    border: 1px solid #E5D4B3 !important;
    box-shadow: 0 16px 36px rgba(35, 12, 16, 0.14) !important;
}
.site-header .account-dropdown a.btn,
.site-header .account-dropdown a.button,
.site-header .user-holder a.btn,
.site-header .header-button .sub-menu a.btn,
.site-header a.btn[href*="tai-khoan"],
.site-header a.button[href*="tai-khoan"],
.site-header a.btn[href*="my-account"] {
    background: linear-gradient(135deg, #9E1622 0%, #720E17 100%) !important;
    border: 1.5px solid #E5C158 !important;
    color: #FFFDF9 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
    font-size: 13.5px !important;
    padding: 9px 18px !important;
    box-shadow: 0 6px 16px rgba(158, 22, 34, 0.22) !important;
    text-decoration: none !important;
}
.site-header .account-dropdown a:not(.btn):not(.button),
.site-header .header-button .sub-menu a:not(.btn):not(.button) {
    color: #9E1622 !important;
    font-weight: 700 !important;
}

/* 2. Guest /tai-khoan/ VIP Privilege Hero & 2-Column Auth Cards */
.qhq-vip-guest-hero {
    background: linear-gradient(145deg, #8E1420 0%, #5B0911 100%);
    border: 1.5px solid #D4AF37;
    border-radius: 18px;
    padding: 28px 30px;
    margin: 10px 0 28px 0;
    color: #FFFDF9;
    box-shadow: 0 16px 38px rgba(122, 16, 25, 0.16);
}
.qhq-vip-eyebrow {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(229, 193, 88, 0.18);
    border: 1px solid #E5C158;
    color: #FDE68A;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}
.qhq-vip-hero-title {
    color: #FFFDF9 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    margin: 0 0 18px 0 !important;
    line-height: 1.35 !important;
}
.qhq-vip-perks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.qhq-vip-perk-item {
    background: rgba(255, 253, 249, 0.96);
    border: 1px solid #E5C98B;
    border-radius: 13px;
    padding: 15px 16px;
    color: #1F1A1C;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.qhq-vip-perk-tag {
    font-size: 10.5px;
    font-weight: 800;
    color: #9E1622;
    letter-spacing: 0.06em;
}
.qhq-vip-perk-item strong {
    font-size: 16px;
    color: #7A1019;
}
.qhq-vip-perk-item span {
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}
.qhq-vip-perk-item code {
    background: #FDF3E1;
    color: #8E1420;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
}
body.woocommerce-account #customer_login .u-column1,
body.woocommerce-account #customer_login .u-column2 {
    background: #ffffff;
    border: 1px solid #EAE0D0;
    border-radius: 16px;
    padding: 26px 26px !important;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.qhq-auth-two-col {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 28px;
    align-items: start;
    margin: 0 0 42px 0;
}
.qhq-auth-card {
    background: #ffffff;
    border: 1px solid #E6DAC6;
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}
.qhq-auth-card.is-register {
    background: linear-gradient(165deg, #FFFDF9 0%, #FFF9EE 100%);
    border: 2px solid #D4AF37;
    box-shadow: 0 16px 36px rgba(142, 20, 32, 0.09);
}
.qhq-auth-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #9E1622;
    color: #FFFDF9;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    margin-bottom: 10px;
}
.qhq-auth-card h3 {
    font-size: 21px !important;
    font-weight: 800 !important;
    color: #1F1A1C !important;
    margin: 0 0 6px 0 !important;
}
.qhq-auth-card.is-register h3 {
    color: #7A1019 !important;
}
.qhq-auth-sub {
    font-size: 13.5px;
    color: #64748b;
    margin: 0 0 18px 0;
    line-height: 1.5;
}
.qhq-auth-card form {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}
.qhq-auth-card input[type="text"],
.qhq-auth-card input[type="tel"],
.qhq-auth-card input[type="email"],
.qhq-auth-card input[type="password"] {
    width: 100% !important;
    border: 1px solid #D6C7B2 !important;
    border-radius: 10px !important;
    padding: 11px 14px !important;
    font-size: 14px !important;
    background: #ffffff !important;
    color: #1F1A1C !important;
    box-sizing: border-box !important;
}
.qhq-auth-card label {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: #1F1A1C !important;
    margin-bottom: 5px !important;
}
@media (max-width: 900px) {
    .qhq-auth-two-col {
        grid-template-columns: 1fr;
    }
    .qhq-auth-card.is-register {
        order: -1;
    }
    .qhq-auth-card {
        padding: 22px 18px;
    }
}
body.woocommerce-account button.woocommerce-form-login__submit,
body.woocommerce-account button.woocommerce-form-register__submit {
    background: linear-gradient(135deg, #9E1622 0%, #720E17 100%) !important;
    border: 1.5px solid #E5C158 !important;
    color: #FFFDF9 !important;
    border-radius: 10px !important;
    padding: 12px 24px !important;
    font-weight: 700 !important;
    width: 100%;
}

/* 3. Logged-In Member Digital VIP Card & Voucher Wallet */
.qhq-member-vip-card {
    background: linear-gradient(140deg, #8E1420 0%, #560810 100%);
    border: 1.5px solid #D4AF37;
    border-radius: 16px;
    padding: 24px 26px;
    color: #FFFDF9;
    margin-bottom: 24px;
    box-shadow: 0 14px 32px rgba(122, 16, 25, 0.18);
}
.qhq-mvc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}
.qhq-mvc-tier {
    display: inline-block;
    padding: 4px 11px;
    border-radius: 999px;
    background: rgba(229, 193, 88, 0.2);
    border: 1px solid #E5C158;
    color: #FDE68A;
    font-size: 11.5px;
    font-weight: 700;
    margin-bottom: 8px;
}
.qhq-mvc-name {
    color: #FFFDF9 !important;
    font-size: 21px !important;
    font-weight: 800 !important;
    margin: 0 0 4px 0 !important;
}
.qhq-mvc-spent {
    font-size: 13.5px;
    color: #F8FAFC;
}
.qhq-mvc-shop-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: #FFFDF9;
    color: #8E1420 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}
.qhq-mvc-progress-wrap {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(229, 193, 88, 0.28);
}
.qhq-mvc-progress-bar {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    overflow: hidden;
    margin-bottom: 8px;
}
.qhq-mvc-progress-bar span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #FDE68A 0%, #D4AF37 100%);
    border-radius: 999px;
}
.qhq-mvc-progress-note {
    font-size: 12.5px;
    color: #FDE68A;
}

.qhq-wallet-section {
    margin-bottom: 26px;
}
.qhq-wallet-heading {
    font-size: 18px !important;
    font-weight: 800 !important;
    color: #1F1A1C !important;
    margin: 0 0 14px 0 !important;
}
.qhq-wallet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}
.qhq-voucher-ticket {
    background: #FFFDF9;
    border: 1.5px dashed #D4AF37;
    border-radius: 14px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.qhq-voucher-ticket.is-locked {
    background: #F8FAFC;
    border-color: #CBD5E1;
    opacity: 0.85;
}
.qhq-vt-badge {
    font-size: 10.5px;
    font-weight: 800;
    color: #9E1622;
    letter-spacing: 0.05em;
}
.qhq-vt-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #1F1A1C;
}
.qhq-vt-cond {
    font-size: 12.5px;
    color: #64748b;
    margin-bottom: 6px;
}
.qhq-vt-foot {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #EFE4D2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}
.qhq-vt-code {
    background: #FDF3E1;
    border: 1px solid #E5C98B;
    color: #7A1019;
    font-size: 12.5px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: 0.04em;
}
.qhq-vt-apply-btn {
    padding: 6px 13px;
    border-radius: 999px;
    background: #9E1622;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
}
.qhq-vt-lock-lbl {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

/* 4. Checkout Smart Member Bar & Shop Saved-Voucher Toast */
.qhq-checkout-vip-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    padding: 13px 18px;
    border-radius: 12px;
    margin-bottom: 20px;
    background: #FFF9EE;
    border: 1.5px solid #D4AF37;
    color: #1F1A1C;
    font-size: 14px;
}
.qhq-cvb-btn {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: #9E1622;
    color: #FFFDF9 !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    white-space: nowrap;
}
.qhq-voucher-saved-toast {
    background: #FFF8EC;
    border: 1.5px solid #D4AF37;
    color: #7A1019;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 16px;
    font-size: 14px;
}

@media (max-width: 768px) {
    .qhq-vip-perks-grid,
    .qhq-wallet-grid {
        grid-template-columns: 1fr;
    }
    .qhq-vip-guest-hero {
        padding: 20px 18px;
    }
}

/* === v3.5.0 PROACTIVE SMART CONCIERGE GREETING CARD & CHAT VIP NUDGE === */
.qhq-concierge-pop {
    position: fixed;
    right: 20px;
    bottom: 178px;
    width: 344px;
    max-width: calc(100vw - 24px);
    background: linear-gradient(160deg, #FFFDF9 0%, #FFF8EC 100%);
    border: 1.5px solid #D4AF37;
    border-radius: 16px;
    padding: 14px 15px;
    box-shadow: 0 18px 42px rgba(58, 12, 18, 0.22);
    z-index: 9996;
    display: none;
    flex-direction: column;
    gap: 10px;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-concierge-pop.is-visible {
    display: flex;
    animation: qhqConciergeIn 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes qhqConciergeIn {
    from { opacity: 0; transform: translateY(14px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
body.single-product .qhq-concierge-pop {
    bottom: 132px;
}
body.page-id-2144 .qhq-concierge-pop {
    bottom: 82px;
}
body.woocommerce-cart .qhq-concierge-pop,
body.woocommerce-checkout .qhq-concierge-pop,
body.woocommerce-account .qhq-concierge-pop {
    display: none !important;
}
.qhq-cp-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
.qhq-cp-person {
    display: flex;
    align-items: center;
    gap: 9px;
}
.qhq-cp-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8E1420 0%, #640A12 100%);
    color: #FFFDF9;
    border: 1.5px solid #E5C158;
    font-size: 11.5px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qhq-cp-meta strong {
    display: block;
    font-size: 13px;
    font-weight: 800;
    color: #7A1019;
    line-height: 1.25;
}
.qhq-cp-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #15803D;
    font-weight: 600;
}
.qhq-cp-close {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid #E5D4B3;
    background: #ffffff;
    color: #64748b;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.qhq-cp-close:hover {
    color: #9E1622;
    border-color: #9E1622;
}
.qhq-cp-text {
    font-size: 13px;
    line-height: 1.52;
    color: #1F1A1C;
    margin: 0;
}
.qhq-cp-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.qhq-cp-btn {
    width: 100%;
    padding: 8.5px 12px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-align: center;
    transition: transform 0.16s ease, opacity 0.16s ease;
}
.qhq-cp-btn:hover {
    transform: translateY(-1px);
    opacity: 0.96;
}
.qhq-cp-btn.is-primary {
    background: linear-gradient(135deg, #9E1622 0%, #6E0C15 100%);
    border: 1px solid #E5C158;
    color: #FFFDF9;
}
.qhq-cp-btn.is-secondary {
    background: #ffffff;
    border: 1px solid #D4AF37;
    color: #7A1019;
}

/* Subtle Gold Member Privilege Strip inside Chat */
.qhq-chat-vip-nudge {
    display: block;
    margin-top: 9px;
    padding: 8px 11px;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFF9EC 0%, #FDF2D6 100%);
    border: 1px dashed #C99A2E;
    color: #7A1019 !important;
    font-size: 12px;
    line-height: 1.45;
    font-weight: 600;
    text-decoration: none !important;
    transition: border-color 0.16s ease, transform 0.16s ease;
}
.qhq-chat-vip-nudge:hover {
    border-color: #9E1622;
    transform: translateY(-1px);
}
.qhq-chat-vip-nudge strong {
    color: #9E1622;
    font-weight: 800;
}

@media (max-width: 768px) {
    .qhq-concierge-pop {
        right: 10px !important;
        bottom: 132px !important;
        width: 276px !important;
        max-width: calc(100vw - 20px) !important;
        padding: 11px 12px !important;
        gap: 8px !important;
    }
    body.single-product .qhq-concierge-pop {
        bottom: 122px !important;
    }
    .qhq-concierge-pop .qhq-cp-text {
        font-size: 12px !important;
        line-height: 1.45 !important;
    }
    .qhq-concierge-pop .qhq-cp-btn.is-secondary {
        display: none !important;
    }
}

/* === v3.6.0 LUXURY WISHLIST SHOWCASE & KLBWL POPUP POLISH === */
.qhq-wl-wrap {
    max-width: 1290px;
    margin: 20px auto 56px auto;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-wl-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 22px;
}
.qhq-wl-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #1F1A1C !important;
    margin: 4px 0 0 0 !important;
    line-height: 1.3 !important;
}
.qhq-wl-continue-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: #FFFDF9;
    border: 1px solid #DFC9A3;
    color: #7A1019 !important;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none !important;
}
.qhq-wl-continue-btn:hover {
    border-color: #9E1622;
    background: #9E1622;
    color: #ffffff !important;
}
.qhq-wl-guest-tip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    background: #FFF9EE;
    border: 1.5px dashed #D4AF37;
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 13.5px;
    color: #334155;
    line-height: 1.55;
}
.qhq-wl-empty {
    background: linear-gradient(160deg, #FFFDF9 0%, #FAF5EA 100%);
    border: 1px solid #E5D4B3;
    border-radius: 18px;
    padding: 48px 24px;
    text-align: center;
    max-width: 680px;
    margin: 12px auto;
}
.qhq-wl-empty-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
.qhq-wl-empty h3 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1F1A1C !important;
    margin: 0 0 8px 0 !important;
}
.qhq-wl-empty p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.65;
    margin: 0 0 20px 0;
}
.qhq-wl-shop-cta {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    border-radius: 999px;
    background: linear-gradient(135deg, #9E1622 0%, #720E17 100%);
    border: 1.5px solid #E5C158;
    color: #FFFDF9 !important;
    font-size: 14.5px;
    font-weight: 700;
    text-decoration: none !important;
}

.qhq-wl-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.qhq-wl-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #EAE0D0;
    border-radius: 16px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.qhq-wl-card:hover {
    transform: translateY(-3px);
    border-color: #C9A045;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
}
.qhq-wl-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #E2E8F0;
    background: rgba(255, 255, 255, 0.95);
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.16s ease;
}
.qhq-wl-remove:hover {
    background: #FEF2F2;
    border-color: #EF4444;
    color: #DC2626;
}
.qhq-wl-thumb-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    background: #FFFDFB;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}
.qhq-wl-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.qhq-wl-origin {
    position: absolute;
    bottom: 8px;
    right: 8px;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #FFFDF9;
    background: #8E1420;
    border: 1px solid #E5C158;
}
.qhq-wl-origin.is-jp {
    background: #334155;
    border-color: #94A3B8;
}
.qhq-wl-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.qhq-wl-name {
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.42;
    color: #1F1A1C !important;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 41px;
    margin-bottom: 8px;
}
.qhq-wl-name:hover {
    color: #9E1622 !important;
}
.qhq-wl-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.qhq-wl-price {
    font-size: 16.5px;
    font-weight: 800;
    color: #9E1622;
}
.qhq-wl-stock {
    font-size: 12px;
    font-weight: 600;
}
.qhq-wl-stock.in-stock {
    color: #15803D;
}
.qhq-wl-stock.out-stock {
    color: #DC2626;
}
.qhq-wl-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.qhq-wl-buy-btn {
    margin: 0 !important;
    padding: 9px 10px !important;
    font-size: 12.5px !important;
    border-radius: 8px !important;
}
.qhq-wl-cart-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 10px;
    border-radius: 8px;
    background: #FFF9EE;
    border: 1px solid #D4AF37;
    color: #7A1019 !important;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none !important;
    text-align: center;
}
.qhq-wl-cart-btn:hover {
    background: #9E1622;
    border-color: #9E1622;
    color: #ffffff !important;
}

/* Style KLBWL Heart Popup into Royal Crimson & Hide "2 people" English clutter */
.klbwl-popup .klbwl-popup-content {
    border-radius: 16px !important;
    border: 1.5px solid #D4AF37 !important;
}
.klbwl-popup .klbwl-popup-content a.btn.primary,
.klbwl-popup .klbwl-popup-content a.klbwl-page {
    background: linear-gradient(135deg, #9E1622 0%, #720E17 100%) !important;
    border: 1px solid #E5C158 !important;
    color: #FFFDF9 !important;
    border-radius: 999px !important;
    font-weight: 700 !important;
}
.klbwl-popup .klbwl-totalcount {
    display: none !important;
}

@media (max-width: 991px) {
    .qhq-wl-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 540px) {
    .qhq-wl-grid {
        grid-template-columns: 1fr;
    }
}

/* === v3.6.1 PRODUCT CAROUSEL UNCLIP & MOBILE PRODUCT CARD LUXURY OPTIMIZATION === */

/* 1. Ensure Product Carousels NEVER inherit fixed Hero Slider height (460px / 330px) */
body .elementor-widget-partdo-product-tab-carousel .klbth-slider-wrapper,
body .klbth-slider-wrapper:has(.products),
body .klbth-slider.products,
body .klbth-slider.products .slick-list,
body .klbth-slider.products .slick-track,
body .klbth-slider.products .slider-item,
body .klbth-carousel.products,
body .klbth-carousel.products .slick-list,
body .klbth-carousel.products .slick-track,
body .klbth-carousel.products .slider-item {
    height: auto !important;
    max-height: none !important;
}
body .klbth-slider.products .slick-track,
body .klbth-carousel.products .slick-track {
    display: flex !important;
    align-items: stretch !important;
}
body .klbth-slider.products .slider-item,
body .klbth-carousel.products .slider-item {
    display: flex !important;
    height: auto !important;
    padding-bottom: 6px !important;
}
body .klbth-slider.products .slider-item > .product,
body .klbth-carousel.products .slider-item > .product {
    width: 100% !important;
    height: auto !important;
    display: flex !important;
}
body .products .product .product-wrapper {
    height: 100% !important;
    min-height: 0 !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
}
body .products .product .content-wrapper {
    flex: 1 1 auto !important;
    height: auto !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
}
body .products .product .product-stock {
    margin-top: auto !important;
    padding-top: 6px !important;
    line-height: 1.4 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* 2. Mobile Product Card Polish (<= 767px): Declutter icons/dots, balance spacing & guarantee visible stock */
@media (max-width: 767px) {
    body .products .product .klbcp-btn,
    body .products .product .detail-bnt.quickview,
    body .products .product .hover-slider-indicator {
        display: none !important;
    }
    body .products .product .thumbnail-wrapper {
        margin-bottom: 6px !important;
        padding: 10px !important;
    }
    body .products .product .product-buttons {
        top: 8px !important;
        right: 8px !important;
    }
    body .products .product .qhq-origin-badge {
        bottom: 7px !important;
        right: 7px !important;
        font-size: 10px !important;
        padding: 2.5px 8px !important;
        line-height: 1.25 !important;
    }
    body .products .product .content-wrapper {
        padding: 8px 11px 13px 11px !important;
    }
    body .products .product .product-title {
        font-size: 13.5px !important;
        line-height: 1.4 !important;
        margin-bottom: 8px !important;
    }
    body .products .product .price {
        font-size: 15px !important;
        font-weight: 800 !important;
    }
    body .products .product .product-cart-form {
        margin-bottom: 2px !important;
        align-items: center !important;
    }
    body .products .product .product-cart-form a.add_to_cart_button {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        border-radius: 8px !important;
    }
    body .products .product .product-stock {
        font-size: 12px !important;
        padding-top: 6px !important;
        margin-bottom: 0 !important;
    }
    .mobile-bottom-menu span {
        font-size: 9.5px !important;
        letter-spacing: -0.01em !important;
    }
}

/* === v3.7.0 MERCHANDISING & CONVERSION AUTHORITY SUITE === */

/* 1. Luxury Sale Badge (-X%) & Clean Stacked Strikethrough Price on Cards */
body .products .product .product-badges .badge.onsale,
body .products .product span.onsale,
body .single-product .product-badges .badge.onsale {
    background: linear-gradient(135deg, #B91C1C 0%, #8E1420 100%) !important;
    color: #FFFDF9 !important;
    border: 1px solid #FDE68A !important;
    border-radius: 999px !important;
    font-weight: 800 !important;
    font-size: 11px !important;
    padding: 3px 9px !important;
    box-shadow: 0 3px 10px rgba(158, 22, 34, 0.2) !important;
}
body .products .product .price {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1px !important;
    line-height: 1.2 !important;
}
body .products .product .price del {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #94a3b8 !important;
    opacity: 1 !important;
    order: 1;
}
body .products .product .price ins {
    font-size: 16px !important;
    font-weight: 800 !important;
    color: #9E1622 !important;
    text-decoration: none !important;
    background: transparent !important;
    order: 2;
}
@media (max-width: 767px) {
    body .products .product .product-badges .badge.onsale,
    body .products .product span.onsale {
        font-size: 10px !important;
        padding: 2px 7px !important;
    }
    body .products .product .price del {
        font-size: 11px !important;
    }
    body .products .product .price ins {
        font-size: 14.5px !important;
    }
}

/* 2. Authentic Barcode 880 & MFDS Origin Box on Single Product */
.qhq-auth-spec-box {
    margin: 16px 0 14px 0;
    padding: 14px 16px;
    background: linear-gradient(155deg, #FFFDF9 0%, #FAF4E6 100%);
    border: 1px solid #DFC9A3;
    border-left: 3.5px solid #9E1622;
    border-radius: 12px;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-asb-head {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #8E1420;
    margin-bottom: 8px;
}
.qhq-asb-list {
    margin: 0 !important;
    padding: 0 0 0 16px !important;
    list-style: disc !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.qhq-asb-list li {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}
.qhq-asb-list code {
    background: #FDF2DC;
    color: #8E1420;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 12px;
}

/* 3. Contextual MFDS / RDA Scientific Guides Module on Single Product */
.qhq-pdp-guides-sec {
    margin: 34px 0 28px 0;
    padding: 26px 26px;
    background: linear-gradient(160deg, #FFFDF9 0%, #FAF5EA 100%);
    border: 1px solid #E5D4B3;
    border-radius: 18px;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-pdp-guides-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.qhq-pdp-guides-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: #9E1622;
    background: #FDF3E1;
    border: 1px solid #E5C98B;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.qhq-pdp-guides-head h2 {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #1F1A1C !important;
    margin: 0 !important;
    line-height: 1.35 !important;
}
.qhq-pdp-guides-more {
    font-size: 13.5px;
    font-weight: 700;
    color: #8E1420 !important;
    text-decoration: none !important;
    white-space: nowrap;
}
.qhq-pdp-guides-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}
.qhq-pdp-guide-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #ECE2D0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.qhq-pdp-guide-card:hover {
    transform: translateY(-3px);
    border-color: #C9A045;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}
.qhq-pdp-guide-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #2A080C;
}
.qhq-pdp-guide-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.qhq-pdp-guide-body {
    padding: 13px 15px 15px 15px;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}
.qhq-pdp-guide-body h3 {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.45 !important;
    color: #1F1A1C !important;
    margin: 0 0 8px 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qhq-pdp-guide-cta {
    margin-top: auto;
    font-size: 12.5px;
    font-weight: 700;
    color: #9E1622;
}

/* 4. 1-Click Quick Budget & Gift Filter Bar on /cua-hang/ */
.qhq-quick-filter-bar {
    background: linear-gradient(155deg, #FFFDF9 0%, #FAF5EB 100%);
    border: 1px solid #E5D4B3;
    border-radius: 14px;
    padding: 12px 16px;
    margin: 0 0 18px 0;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, sans-serif;
}
.qhq-qfb-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.qhq-qfb-title {
    font-size: 13px;
    font-weight: 800;
    color: #7A1019;
    white-space: nowrap;
}
.qhq-qfb-pills {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}
.qhq-qfb-sep {
    color: #CBD5E1;
    margin: 0 2px;
}
.qhq-qfb-pill {
    display: inline-flex;
    align-items: center;
    padding: 6px 13px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #DFC9A3;
    color: #334155 !important;
    font-size: 12.5px;
    font-weight: 600;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.16s ease;
}
.qhq-qfb-pill:hover {
    border-color: #9E1622;
    color: #9E1622 !important;
}
.qhq-qfb-pill.is-active {
    background: linear-gradient(135deg, #9E1622 0%, #720E17 100%);
    border-color: #E5C158;
    color: #FFFDF9 !important;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(158, 22, 34, 0.2);
}

@media (max-width: 767px) {
    .qhq-pdp-guides-sec {
        padding: 18px 15px;
    }
    .qhq-pdp-guides-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .qhq-quick-filter-bar {
        padding: 10px 12px;
    }
    .qhq-qfb-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }
    .qhq-qfb-sep {
        display: none;
    }
}
