@media (max-width: 767.98px) {
    /* Keep the fix local to Hồng Sâm checkout surfaces. Odoo/Luxpeto mobile
       rules turn these anchors back into blocks, making flex centering inert. */
    body .hs-hongsam-checkout .lux-empty-cart > .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }

    body .hs-confirmation-hero > div > .btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        line-height: 1.2 !important;
    }

    body .hs-hongsam-product .o_wsale_product_details_content_section_cta {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 56px !important;
        gap: 10px !important;
    }

    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .css_quantity {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
    }

    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .o_add_wishlist,
    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .o_add_wishlist_dyn {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 56px !important;
    }

    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .lux-add-to-cart {
        display: flex !important;
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: visible !important;
    }

    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .lux-add-to-cart span {
        display: inline !important;
        width: auto !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* HONGSAM_MOBILE_COMMERCE_UX_V2
   Normalize Odoo's desktop-first cart, checkout, confirmation and auth
   components at the phone breakpoints used by the storefront. */
@media (max-width: 767.98px) {
    body .hs-hongsam-shop .hs-catalog-intro h1,
    body .hs-hongsam-shop .hs-catalog-intro .hs-catalog-title {
        font-size: clamp(30px, 8.5vw, 36px) !important;
        line-height: 1.06 !important;
        letter-spacing: -.035em !important;
        text-wrap: balance;
    }

    body .hs-cart-recommendations .lux-section-header h2 {
        max-width: 100% !important;
        font-size: clamp(22px, 7vw, 26px) !important;
        line-height: 1.12 !important;
        letter-spacing: -.025em !important;
        white-space: nowrap !important;
    }

    body .hs-hongsam-checkout .lux-checkout-progress--direct {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        width: 100% !important;
        gap: 8px !important;
    }
    body .hs-hongsam-checkout .lux-checkout-progress--direct > span {
        display: flex !important;
        min-width: 0 !important;
        min-height: 48px !important;
        padding: 8px 5px !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 12px !important;
        font-size: 12px !important;
        letter-spacing: 0 !important;
        line-height: 1.15 !important;
        text-align: center !important;
        width: auto !important;
        max-width: none !important;
        flex: none !important;
        grid-column: auto !important;
    }

    body .hs-hongsam-checkout .o_address_signin {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        width: 100% !important;
        padding: 12px 0 0 !important;
        align-items: center !important;
        gap: 12px !important;
    }
    body .hs-hongsam-checkout .o_address_signin .btn {
        min-height: 46px !important;
        margin: 0 !important;
        padding: 10px 16px !important;
        white-space: nowrap !important;
    }

    body .hs-hongsam-checkout .lux-checkout-mobile-summary {
        position: static !important;
        inset: auto !important;
        z-index: auto !important;
        width: 100% !important;
        margin: 20px 0 0 !important;
        padding: 16px !important;
        border: 1px solid #eadcc5 !important;
        border-radius: 20px !important;
        box-shadow: 0 12px 30px rgba(64, 25, 20, .08) !important;
    }

    body .hs-hongsam-checkout #cart_products .o_cart_product {
        display: grid !important;
        grid-template-columns: 88px minmax(0, 1fr) !important;
        width: 100% !important;
        gap: 12px !important;
        padding: 16px 0 !important;
        align-items: start !important;
    }
    body .hs-hongsam-checkout #cart_products .o_cart_product_image {
        width: 88px !important;
        min-width: 88px !important;
    }
    body .hs-hongsam-checkout #cart_products .o_cart_product_image img {
        width: 88px !important;
        height: 88px !important;
        object-fit: contain !important;
    }
    body .hs-hongsam-checkout #cart_products .o_cart_product > div:last-child,
    body .hs-hongsam-checkout #cart_products .o_cart_product .text-wrap {
        min-width: 0 !important;
        width: 100% !important;
    }
    body .hs-hongsam-checkout #cart_products .o_cart_product h6 {
        display: -webkit-box !important;
        overflow: hidden !important;
        margin: 0 0 8px !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 3 !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere !important;
    }
    body .hs-hongsam-checkout #cart_products .o_cart_product .text-muted.text-wrap,
    body .hs-hongsam-checkout #cart_products .o_cart_product p.text-muted {
        display: none !important;
    }

    body .hs-hongsam-checkout p.alert-info[role="status"] {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        padding: 16px !important;
        text-align: center !important;
    }
    body .hs-hongsam-checkout p.alert-info[role="status"] .btn {
        width: 100% !important;
        min-height: 48px !important;
    }
    body .hs-hongsam-checkout #delivery_and_billing .badge {
        display: inline-flex !important;
        width: auto !important;
        max-width: 100% !important;
        padding: 8px 12px !important;
        border-radius: 999px !important;
        white-space: normal !important;
        text-align: left !important;
    }

    body .hs-auth-intro {
        display: block !important;
    }
    body .hs-auth-intro .hs-auth-logo {
        display: flex !important;
        width: 100% !important;
        align-items: center !important;
        gap: 10px !important;
    }
    body .hs-auth-intro > .hs-eyebrow {
        display: block !important;
        width: 100% !important;
        margin: 14px 0 8px !important;
        white-space: normal !important;
    }
}

@media (max-width: 359.98px) {
    body .hs-hongsam-checkout .o_address_signin {
        grid-template-columns: 1fr !important;
    }
    body .hs-hongsam-checkout .o_address_signin .btn { width: 100% !important; }
}

/* HONGSAM_MOBILE_SITEWIDE_UX_V1
   Shared phone ergonomics after auditing all public storefront routes at
   320/360/390px. Keep these rules scoped to the Hồng Sâm shell. */
@media (max-width: 767.98px) {
    body .hs-hongsam-header .hs-hongsam-logo {
        min-height: 44px !important;
        align-items: center !important;
    }

    body .lux-product-card__wishlist {
        width: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        padding: 0 !important;
    }
    body .lux-product-card__add {
        min-height: 44px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .css_quantity .btn {
        min-width: 44px !important;
        min-height: 52px !important;
    }
    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .lux-add-to-cart {
        min-height: 52px !important;
        max-width: none !important;
        padding: 12px 14px !important;
        justify-content: center !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }
    body .hs-hongsam-product .o_wsale_product_details_content_section_cta .lux-add-to-cart span {
        overflow: visible !important;
        text-overflow: clip !important;
        white-space: normal !important;
    }
    body .hs-hongsam-product .lux-product-purchase .lux-product-rating small {
        display: none !important;
    }

    body .hs-hongsam-footer nav a {
        display: flex !important;
        min-height: 44px !important;
        margin: 0 !important;
        align-items: center !important;
    }
    body .hs-hongsam-footer .lx-footer__bottom a {
        display: inline-flex !important;
        min-height: 44px !important;
        align-items: center !important;
    }

    body .hs-page-wrap .hs-content-grid,
    body .hs-page-wrap .hs-policy-stack {
        gap: 12px !important;
        padding-top: 40px !important;
        padding-bottom: 64px !important;
    }
    body .hs-page-wrap .hs-content-card {
        padding: 22px !important;
    }
    body .hs-page-wrap .hs-content-card p {
        line-height: 1.65 !important;
    }

    body .hs-login-form input:not([type="hidden"]) {
        min-height: 52px !important;
    }
    body .hs-login-form .o_show_password {
        min-width: 44px !important;
    }
}

/* Related-product cards: keep the mobile grid readable and prevent the
   inherited marketplace card layout from squeezing rating copy into a rail. */
body .hs-hongsam-product #hs-related-products .lux-product-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card {
    display: flex !important;
    min-width: 0 !important;
    flex-direction: column !important;
    overflow: hidden !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card__media {
    position: relative !important;
    min-height: 240px !important;
    height: 240px !important;
    flex: 0 0 240px !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card__content {
    display: flex !important;
    min-width: 0 !important;
    flex: 1 1 auto !important;
    flex-direction: column !important;
    padding: 18px !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card__title {
    display: -webkit-box !important;
    overflow: hidden !important;
    min-height: 2.8em !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 2 !important;
    line-height: 1.4 !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card__rating {
    display: flex !important;
    min-width: 0 !important;
    align-items: center !important;
    gap: 6px !important;
    white-space: nowrap !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card__rating small {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}
body .hs-hongsam-product #hs-related-products .lux-product-card__prices { margin-top: auto !important; }
body .hs-hongsam-product #hs-related-products .lux-product-card__actions { margin-top: 14px !important; }
body .hs-hongsam-product #hs-related-products .lux-product-card__add {
    display: inline-flex !important;
    width: 100% !important;
    min-height: 48px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-align: center !important;
}

@media (max-width: 767.98px) {
    body .hs-hongsam-product #hs-related-products .lux-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
    body .hs-hongsam-product #hs-related-products .lux-product-card__media {
        min-height: 154px !important;
        height: 154px !important;
        flex-basis: 154px !important;
        padding: 10px !important;
    }
    body .hs-hongsam-product #hs-related-products .lux-product-card__content { padding: 12px !important; }
    body .hs-hongsam-product #hs-related-products .lux-product-card__brand { font-size: .62rem !important; }
    body .hs-hongsam-product #hs-related-products .lux-product-card__title {
        min-height: 2.8em !important;
        font-size: .92rem !important;
    }
    body .hs-hongsam-product #hs-related-products .lux-product-card__rating { gap: 4px !important; }
    body .hs-hongsam-product #hs-related-products .lux-product-card__rating small { display: none !important; }
    body .hs-hongsam-product #hs-related-products .lux-product-card__prices strong { font-size: 1rem !important; }
    body .hs-hongsam-product #hs-related-products .lux-product-card__add { min-height: 44px !important; }
    body .hs-hongsam-product #hs-related-products .lux-product-card__add span { display: none !important; }
}

@media (max-width: 359.98px) {
    body .hs-hongsam-product #hs-related-products .lux-product-grid { grid-template-columns: 1fr !important; }
}

/* HONGSAM_SHOP_DESKTOP_INTRO_TYPOGRAPHY_V1 */
body .hs-hongsam-shop .hs-catalog-intro .lux-kicker {
    color: #f2d27a !important;
}

@media (min-width: 768px) {
    body .hs-hongsam-shop .hs-catalog-intro h1 {
        max-width: 880px;
        font-size: clamp(40px, 4vw, 56px) !important;
        font-weight: 600;
        line-height: 1.04;
        letter-spacing: -.04em;
    }
}

/* HONGSAM_CART_RECOMMENDATIONS_MOBILE_V1 */
@media (max-width: 700px) {
    body .hs-cart-recommendations {
        padding: 32px 16px 56px;
    }
    body .hs-cart-recommendations .lux-section-header {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }
    body .hs-cart-recommendations .lux-section-header h2 {
        max-width: 100%;
        font-size: clamp(22px, 7vw, 26px) !important;
        line-height: 1.12;
        letter-spacing: -.025em;
        white-space: nowrap;
    }
    body .hs-cart-recommendations .lux-section-header > a {
        align-items: center;
        align-self: stretch;
        display: flex;
        justify-content: center;
        min-height: 50px;
        text-align: center;
    }
    body .hs-cart-recommendations .lux-product-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        width: 100%;
    }
    body .hs-cart-recommendations .lux-product-card {
        min-width: 0;
        width: 100%;
    }
    body .hs-cart-recommendations .lux-product-card__media {
        min-height: 250px;
    }
    body .hs-cart-recommendations .lux-product-card__rating {
        align-items: center;
        flex-wrap: wrap;
    }
    body .hs-cart-recommendations .lux-product-card__rating small {
        white-space: normal;
    }
}

/* HONGSAM_CONTACT_LOGIN_UX_V1 */
body .hs-contact-actions { display: flex; flex-direction: column; gap: 12px; }
body .hs-contact-actions .hs-button { align-items: center; justify-content: center; margin: 0; min-height: 52px; text-align: center; }
body .hs-login-form { border: 1px solid #ead8b6; border-radius: 22px; box-shadow: 0 18px 48px rgba(73, 27, 23, .09); padding: 26px; }
body .hs-login-form .form-control { min-height: 52px; border-color: #d9c7aa; border-radius: 10px; }
body .hs-login-form .btn-primary { min-height: 52px; border-radius: 10px; background: #9d0b18; }
body .hs-login-form .o_show_password { min-width: 48px; }
body .hs-login-form a[href*="/web/reset_password"], body .hs-login-form a[href*="/web/signup"] { font-size: 0 !important; }
body .hs-login-form a[href*="/web/reset_password"]::after { content: "Quên mật khẩu?"; font-size: 14px; }
body .hs-login-form a[href*="/web/signup"]::after { content: "Chưa có tài khoản? Đăng ký"; font-size: 14px; }
body .hs-login-form .o_caps_lock_warning .btn-link { font-size: 0 !important; }
body .hs-login-form .o_caps_lock_warning .btn-link::after { content: "Quên mật khẩu?"; font-size: 14px; }
body .hs-login-form .oe_login_buttons a { font-size: 0 !important; }
body .hs-login-form .oe_login_buttons a::after { content: "Chưa có tài khoản? Đăng ký"; font-size: 14px; }
body .hs-login-form [class*="caps_lock"] { font-size: 0 !important; }
body .hs-login-form [class*="caps_lock"]::after { content: "Caps Lock đang bật"; font-size: 13px; }
body .hs-auth-intro { border-radius: 22px 22px 0 0; margin-bottom: 0; }
body .hs-auth-intro > .hs-eyebrow { display: none !important; }
body .hs-auth-intro h1 {
    max-width: 100%;
    margin: 24px 0 12px;
    font-size: clamp(30px, 3vw, 44px) !important;
    line-height: 1.08;
    letter-spacing: -.035em;
}
body .hs-auth-intro p { max-width: 620px; line-height: 1.55; }

@media (max-width: 767.98px) {
    body .hs-contact-panel { padding: 24px !important; }
    body .hs-contact-actions, body .hs-contact-actions .hs-button { width: 100%; }
    body .hs-login-form { border-radius: 0 0 22px 22px; padding: 22px 18px; }
    body .hs-auth-intro { padding: 24px 20px !important; }
    body .hs-auth-intro h1 { margin: 18px 0 10px; font-size: 28px !important; line-height: 1.12; }
    body .hs-auth-intro p { font-size: 15px; line-height: 1.5; }
    body .hs-auth-logo { font-size: 14px; letter-spacing: .045em; }
}

/* Compact mobile catalog filter drawer. */
.hs-hongsam-shop:not([data-hs-catalog-ready]) .hs-active-filters,
.hs-hongsam-shop:not([data-hs-catalog-ready]) .hs-catalog-pagination,
.hs-hongsam-shop:not([data-hs-catalog-ready]) .hs-mobile-filter-toggle { display: none !important; }
.hs-hongsam-shop .hs-active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 18px; }
.hs-hongsam-shop .hs-active-filters[hidden] { display: none !important; }
.hs-hongsam-shop .hs-active-filters button { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 12px; border: 1px solid #d8c5a4; border-radius: 999px; color: #5b1118; background: #fffaf0; font-weight: 700; }
.hs-hongsam-shop .hs-filter-group { min-inline-size: 0; margin: 0; }
.hs-hongsam-shop .hs-filter-group label { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 10px; border-radius: 8px; cursor: pointer; }
.hs-hongsam-shop .hs-filter-group label:hover { background: #f7ecd7; }
.hs-hongsam-shop .hs-filter-group input { width: 17px; height: 17px; accent-color: #8e0d14; }
.hs-hongsam-shop .hs-filter-group label:has(input:checked) { color: #7b0d14; background: #f4e6c7; font-weight: 800; }
.hs-hongsam-shop .hs-shop-products .lux-product-card[hidden] {
    display: none !important;
}

/* Affiliate center: align tab navigation with the Hồng Sâm Hàn Quốc identity. */
body .sa-center-tabs .nav-link {
    color: #4b1718;
    border: 1px solid transparent;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
body .sa-center-tabs .nav-link:hover {
    color: #7b0d14;
    background-color: #f4e6c7;
    border-color: #d8b86a;
}
body .sa-center-tabs .nav-link.active,
body .sa-center-tabs .nav-link.active:hover {
    color: #fff !important;
    background-color: #9d0b18 !important;
    border-color: #9d0b18 !important;
    box-shadow: 0 8px 20px rgba(91, 17, 24, .18);
}
body .sa-center-tabs .nav-link:focus-visible {
    outline: 3px solid rgba(201, 162, 77, .55);
    outline-offset: 2px;
}

/* Shared display scale: keep page-level titles balanced without changing product/card headings. */
body .hs-page-hero h1,
body .hs-hongsam-shop .hs-catalog-intro h1,
body .lux-shop-hero__copy h1,
body .hs-hongsam-checkout .lux-checkout-heading h1,
body .hs-confirmation-hero h1 {
    max-width: 880px;
    font-size: clamp(36px, 3.2vw, 48px) !important;
    line-height: 1.08 !important;
    letter-spacing: -.035em !important;
    text-wrap: balance;
}

/* The marketplace shell declares these labels white; restore the Hồng Sâm identity on cream. */
body .hs-hongsam-header .lx-account-trigger__text small {
    color: #8e0d14 !important;
}
body .hs-hongsam-header .lx-account-trigger__text strong {
    color: #5b1118 !important;
}

@media (max-width: 767.98px) {
    body .hs-page-hero h1,
    body .hs-hongsam-shop .hs-catalog-intro h1,
    body .lux-shop-hero__copy h1,
    body .hs-hongsam-checkout .lux-checkout-heading h1,
    body .hs-confirmation-hero h1 {
        max-width: 100%;
        font-size: clamp(28px, 8vw, 34px) !important;
        line-height: 1.12 !important;
        letter-spacing: -.025em !important;
    }
}

/* Header search: compact premium proportions with explicit brand interaction states. */
body .hs-hongsam-header .lx-search {
    flex: 1 1 440px !important;
    width: auto !important;
    max-width: 620px !important;
    min-width: 280px;
    min-height: 48px !important;
    overflow: hidden;
    border: 1px solid #d8c5a4 !important;
    border-radius: 999px !important;
    background: #fffdf7 !important;
    box-shadow: 0 5px 16px rgba(91, 17, 24, .06) !important;
    transition: border-color .18s ease, box-shadow .18s ease;
}
body .hs-hongsam-header .lx-search:focus-within {
    border-color: #8e0d14 !important;
    box-shadow: 0 0 0 3px rgba(142, 13, 20, .12), 0 6px 18px rgba(91, 17, 24, .08) !important;
}
body .hs-hongsam-header .lx-search input {
    min-width: 0 !important;
    min-height: 46px !important;
    padding: 0 18px !important;
    color: #3b2020 !important;
    background: transparent !important;
    font-size: 15px !important;
}
body .hs-hongsam-header .lx-search input::placeholder {
    color: #806d63 !important;
    opacity: 1;
}
body .hs-hongsam-header .lx-search button {
    min-width: 104px !important;
    min-height: 48px !important;
    padding: 0 20px !important;
    border: 0 !important;
    border-left: 1px solid rgba(91, 17, 24, .12) !important;
    border-radius: 0 999px 999px 0 !important;
    color: #2b1916 !important;
    background: #c9a24d !important;
    font-size: 15px !important;
    font-weight: 800 !important;
}
body .hs-hongsam-header .lx-search button:hover {
    background: #d8b65f !important;
}

@media (max-width: 767.98px) {
    body .hs-hongsam-header .lx-search {
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        min-height: 48px !important;
        border-radius: 14px !important;
    }
    body .hs-hongsam-header .lx-search input {
        min-height: 48px !important;
        padding-inline: 16px !important;
        font-size: 15px !important;
    }
    body .hs-hongsam-header .lx-search button {
        min-width: 92px !important;
        min-height: 48px !important;
        padding-inline: 16px !important;
        border-radius: 0 13px 13px 0 !important;
    }
}

/* Wishlist hero no longer carries artwork; use the full row for its copy. */
body .hs-hongsam-wishlist .hs-wishlist-hero__grid--text-only {
    grid-template-columns: minmax(0, 1fr) !important;
}
body .hs-hongsam-wishlist .hs-wishlist-hero__grid--text-only .lux-shop-hero__copy {
    max-width: 760px;
}
.hs-hongsam-shop .hs-catalog-results,
.hs-hongsam-shop .hs-shop-toolbar,
.hs-hongsam-shop .hs-shop-products { min-width: 0; }

.hs-filter-close,
.hs-filter-mobile-actions,
.hs-filter-backdrop { display: none; }

@media (max-width: 991.98px) {
    html.hs-filter-lock,
    html.hs-filter-lock body { overflow: hidden !important; }
    body .hs-hongsam-shop .hs-filter-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        border: 0;
        background: rgba(34, 8, 10, .58);
        opacity: 0;
        pointer-events: none;
        transition: opacity .22s ease;
    }
    body .hs-hongsam-shop.has-open-filter .hs-filter-backdrop {
        opacity: 1;
        pointer-events: auto;
    }
    body .hs-hongsam-shop .hs-catalog-filters {
        display: flex !important;
        position: fixed !important;
        inset: auto 0 0 !important;
        z-index: 1100 !important;
        width: 100% !important;
        max-height: min(82vh, 720px) !important;
        padding: 0 18px calc(16px + env(safe-area-inset-bottom)) !important;
        border: 0 !important;
        border-radius: 24px 24px 0 0 !important;
        flex-direction: column !important;
        overflow: hidden !important;
        background: #fffaf0 !important;
        box-shadow: 0 -20px 50px rgba(48, 12, 15, .24) !important;
        transform: translateY(105%);
        visibility: hidden;
        transition: transform .26s ease, visibility 0s linear .26s;
    }
    body .hs-hongsam-shop .hs-filter-scroll { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 2px; }
    body .hs-hongsam-shop .hs-filter-group { display: grid; grid-template-columns: 1fr; gap: 3px; }
    body .hs-hongsam-shop .hs-filter-group label { min-height: 46px; border: 1px solid transparent; }
    body .hs-hongsam-shop .hs-catalog-filters.is-open {
        transform: translateY(0);
        visibility: visible;
        transition-delay: 0s;
    }
    body .hs-hongsam-shop .hs-filter-title {
        position: sticky;
        top: 0;
        z-index: 2;
        min-height: 72px;
        padding: 16px 0 14px !important;
        background: #fffaf0;
    }
    body .hs-hongsam-shop .hs-filter-title::before {
        content: "";
        position: absolute;
        top: 8px;
        left: 50%;
        width: 42px;
        height: 4px;
        border-radius: 8px;
        background: #d8c29a;
        transform: translateX(-50%);
    }
    body .hs-hongsam-shop .hs-filter-title strong { padding-top: 7px; font-size: 20px; }
    body .hs-hongsam-shop .hs-filter-title__actions { display: flex; align-items: center; gap: 10px; padding-top: 6px; }
    body .hs-hongsam-shop .hs-filter-title__actions > [data-hs-clear-filter] { display: none; }
    body .hs-hongsam-shop .hs-filter-close {
        display: inline-flex;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 1px solid #dbcaaa;
        border-radius: 50%;
        align-items: center;
        justify-content: center;
        color: #5b1118;
        background: #fff;
        text-decoration: none;
    }
    body .hs-hongsam-shop .hs-filter-group {
        flex: 0 0 auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 16px 0;
        overflow: visible;
    }
    body .hs-hongsam-shop .hs-filter-group__label { grid-column: 1 / -1; margin-bottom: 4px; }
    body .hs-hongsam-shop .hs-filter-group button {
        display: flex;
        min-height: 44px;
        padding: 10px 12px;
        border: 1px solid #e2d2b6;
        border-radius: 12px;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.25;
        white-space: normal !important;
        overflow-wrap: anywhere;
        word-break: normal;
        background: #fff;
    }
    body .hs-hongsam-shop .hs-filter-group button.is-active {
        border-color: #8e0d14;
        color: #fff;
        background: #8e0d14;
    }
    body .hs-hongsam-shop .hs-filter-assurance {
        display: none;
    }
    body .hs-hongsam-shop .hs-filter-title + .hs-filter-group {
        flex: 1 1 auto;
        max-height: none;
        min-height: 164px;
        overflow-y: auto;
        overscroll-behavior: contain;
        align-content: start;
        scrollbar-width: thin;
        scrollbar-color: #c9a24d transparent;
    }
    body .hs-hongsam-shop .hs-filter-title + .hs-filter-group + .hs-filter-group {
        flex: 0 0 auto;
        padding-block: 12px;
    }
    body .hs-hongsam-shop .hs-filter-mobile-actions {
        display: grid;
        position: relative;
        z-index: 3;
        flex: 0 0 auto;
        grid-template-columns: minmax(96px, .42fr) minmax(0, 1fr);
        gap: 10px;
        padding-top: 14px;
        border-top: 1px solid #e3d4b8;
        background: #fffaf0;
    }
    body .hs-hongsam-shop .hs-filter-mobile-actions button {
        min-height: 50px;
        border-radius: 13px;
        font-weight: 800;
    }
    body .hs-hongsam-shop .hs-filter-reset { border: 1px solid #8e0d14; color: #8e0d14; background: transparent; }
    body .hs-hongsam-shop .hs-filter-apply { border: 1px solid #8e0d14; color: #fff; background: #8e0d14; }
    body .hs-hongsam-shop .hs-mobile-filter-toggle {
        min-height: 42px;
        padding: 0 15px;
        border: 1px solid #c9a24d;
        border-radius: 999px;
        color: #5b1118;
        background: #f4e6c7;
    }
}

@media (max-width: 389.98px) {
    body .hs-hongsam-shop .hs-catalog-filters { max-height: 88vh !important; padding-inline: 14px !important; }
    body .hs-hongsam-shop .hs-filter-group button { padding-inline: 8px; font-size: 12.5px; }
}

@media (max-width: 767.98px) {
    body .hs-hongsam-shop .hs-shop-products { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    body .hs-hongsam-shop .hs-active-filters button,
    body .hs-hongsam-shop .hs-mobile-filter-toggle,
    body .hs-hongsam-shop .hs-catalog-pagination button { min-width: 44px; min-height: 44px; }
    body .hs-hongsam-shop .hs-catalog-pagination { flex-wrap: wrap; }
    body .lux-product-card__rating small { display: none !important; }
    /* Keep logo, account/cart actions and the menu toggle on one fixed row.
       Search remains the only intentional second row. */
    body .hs-hongsam-header .lx-header-main__inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        grid-template-rows: auto auto !important;
        column-gap: 8px !important;
        row-gap: 18px !important;
        align-items: center !important;
    }
    body .hs-hongsam-header .hs-hongsam-logo {
        grid-column: 1 !important;
        grid-row: 1 !important;
        overflow: visible !important;
    }
    body .hs-hongsam-header .lx-header-actions {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
    }
    body .hs-hongsam-header .lx-menu-toggle {
        grid-column: 3 !important;
        grid-row: 1 !important;
        justify-self: end !important;
    }
    body .hs-hongsam-header .lx-search {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
    }
    body .hs-hongsam-header .hs-hongsam-logo { gap: 5px !important; min-width: 0 !important; }
    body .hs-hongsam-header .hs-hongsam-logo__mark {
        flex: 0 0 32px !important;
        width: 32px !important;
        height: 32px !important;
    }
    body .hs-hongsam-header .hs-hongsam-logo .lx-logo__word {
        font-size: 15px !important;
        letter-spacing: -.045em !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
    body .hs-hongsam-header .lx-header-actions,
    body .hs-hongsam-header .lx-menu-toggle { flex-shrink: 0 !important; }
}

@media (max-width: 359.98px) {
    body .hs-hongsam-header .lx-header-main__inner { column-gap: 4px !important; }
    body .hs-hongsam-header .hs-hongsam-logo .lx-logo__word { font-size: 13px !important; }
    body .hs-hongsam-header .hs-hongsam-logo__mark {
        flex-basis: 30px !important;
        width: 30px !important;
        height: 30px !important;
    }
}
