#left-side-product-alert {
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.08);
}

/* Product Image Hover */

.image-hover-effect {
    position: relative;
    overflow: hidden;
}

.product-hover-image {
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.image-hover-effect:hover .product-hover-image {
    opacity: 1;
}

.live-circle-icon {
    animation: blink-1p5 1.5s infinite;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@keyframes blink-1p5 {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .blink {
        animation: none;
    }
}

.product-details-page .add-to-cart {
    transition: transform 0.3s ease-in-out;
}

.product-details-page .add-to-cart:hover {
    transform: scale(1.02, 1.1);
}

/* Image Gallery Viewer */


.img-zoom {
    cursor: grab;
}

.lightbox-modal {
    display: none;
    position: fixed;
    z-index: 1050;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    text-align: center;
    overflow: auto;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    top: 50%;
    transition: transform 0.3s ease;
    cursor: zoom-in;
}

.lightbox-toolbar button {
    font-size: 18px;
    padding: 5px 10px;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 5px;
}

.lightbox-close {
    font-size: 22px;
    background: rgba(0, 0, 0, 0.7);
}


.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 32px;
    background: rgb(0 0 0 / 25%);
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1100;
    transition: background 0.3s ease;
}

.lightbox-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-arrow.prev {
    left: 20px;
}

.lightbox-arrow.next {
    right: 20px;
}

.lightbox-toolbar {
    position: absolute;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    /* left + right */
    align-items: center;
    padding: 0 15px;
    z-index: 1100;
}

.toolbar-left {
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.toolbar-right button {
    margin-left: 4px;
    font-size: 18px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: white;
    border-radius: 5px;
    cursor: pointer;
}

.toolbar-right button:hover {
    background: rgba(0, 0, 0, 0.8);
}


.lightbox-modal img {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;

    max-width: 90% !important;
    max-height: 80% !important;
    margin: 0 !important;
    transition: transform 0.3s ease, opacity 0.3s ease !important;
}

/* Expand Icon */
.carousel-box {
    position: relative;
    overflow: visible;
}

/* Custom hober effect on btn */
.custom-hov-btn:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.custom-hov-btn:active {
    transform: translateY(1px);
}

.border-radius-10px {
    border-radius: 10px;
}

.pb-26px {
    padding-bottom: 1.625rem;
}

.py-19px {
    padding-top: 1.1875rem;
    padding-bottom: 1.1875rem;
}

.py-32px {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.pt-32px {
    padding-top: 2rem;
}

.pb-32px {
    padding-bottom: 2rem;
}

.mb-32px {
    margin-bottom: 2rem;
}

.my-32px {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* Extra small devices (xs) <576px */
@media (max-width: 575.98px) {
    .pb-26px {
        padding-bottom: 1rem !important;
    }

    .py-19px {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .py-32px {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .pt-32px {
        padding-top: 1rem !important;
    }

    .pb-32px {
        padding-bottom: 1rem !important;
    }

    .mb-32px {
        margin-bottom: 1rem !important;
    }

    .my-32px {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }
}

/* Small devices (sm) ≥576px */
@media (min-width: 576px) and (max-width: 767.98px) {
    .pb-26px {
        padding-bottom: 1.25rem !important;
    }

    .py-19px {
        padding-top: 0.875rem !important;
        padding-bottom: 0.875rem !important;
    }

    .py-32px {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .pt-32px {
        padding-top: 1.25rem !important;
    }

    .pb-32px {
        padding-bottom: 1.25rem !important;
    }

    .mb-32px {
        margin-bottom: 1.25rem !important;
    }

    .my-32px {
        margin-top: 1.25rem !important;
        margin-bottom: 1.25rem !important;
    }
}

/* Medium devices (md) ≥768px */
@media (min-width: 768px) and (max-width: 991.98px) {
    .pb-26px {
        padding-bottom: 1.5rem !important;
    }

    .py-19px {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .py-32px {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    .pt-32px {
        padding-top: 1.5rem !important;
    }

    .pb-32px {
        padding-bottom: 1.5rem !important;
    }

    .mb-32px {
        margin-bottom: 1.5rem !important;
    }

    .my-32px {
        margin-top: 1.5rem !important;
        margin-bottom: 1.5rem !important;
    }
}

/* Large devices (lg) ≥992px */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .pb-26px {
        padding-bottom: 1.625rem !important;
    }

    .py-19px {
        padding-top: 1.1875rem !important;
        padding-bottom: 1.1875rem !important;
    }

    .py-32px {
        padding-top: 1.75rem !important;
        padding-bottom: 1.75rem !important;
    }

    .pt-32px {
        padding-top: 1.75rem !important;
    }

    .pb-32px {
        padding-bottom: 1.75rem !important;
    }

    .mb-32px {
        margin-bottom: 1.75rem !important;
    }

    .my-32px {
        margin-top: 1.75rem !important;
        margin-bottom: 1.75rem !important;
    }
}

/* Extra large devices (xl) ≥1200px */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .pb-26px {
        padding-bottom: 1.75rem !important;
    }

    .py-19px {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    .py-32px {
        padding-top: 1.875rem !important;
        padding-bottom: 1.875rem !important;
    }

    .pt-32px {
        padding-top: 1.875rem !important;
    }

    .pb-32px {
        padding-bottom: 1.875rem !important;
    }

    .mb-32px {
        margin-bottom: 1.875rem !important;
    }

    .my-32px {
        margin-top: 1.875rem !important;
        margin-bottom: 1.875rem !important;
    }
}

/* Extra extra large devices (xxl) ≥1400px */
@media (min-width: 1400px) {
    .pb-26px {
        padding-bottom: 1.625rem !important;
    }

    .py-19px {
        padding-top: 1.1875rem !important;
        padding-bottom: 1.1875rem !important;
    }

    .py-32px {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* max 2rem */
    .pt-32px {
        padding-top: 2rem !important;
    }

    .pb-32px {
        padding-bottom: 2rem !important;
    }

    .mb-32px {
        margin-bottom: 2rem !important;
    }

    .my-32px {
        margin-top: 2rem !important;
        margin-bottom: 2rem !important;
    }
}



/*---All Product Card,Table Start---*/
.table-tabs-container {
    padding-top: 10px;
}



.add-new-btn {
    padding: 13px 40px 13px 32px;
}

.label-text {
    transition: color .4s ease;
    white-space: nowrap;
}

.plus-icon-container {
    transition: width .6s ease;
}

.add-new-btn:hover .plus-icon-container {
    width: 100%;
}

.add-new-btn:hover .label-text {
    color: var(--white) !important;
}

.add-new-btn:hover #plus-icon {
    right: 30px;
}

#plus-icon {
    position: absolute;
    right: 13px;
    transition: all .6s ease;
}

.add-new-btn:hover #filter-icon {
    right: 24px;
}

#filter-icon {
    position: absolute;
    right: 10px;
    transition: all .6s ease;
}


.table-nav-tabs {
    gap: 15px;
}

.table-tabs-container .nav-tabs .nav-item {
    margin-bottom: 0 !important;
}

.table-tabs-container .nav-tabs .nav-link {
    border: none !important;
    border-bottom: 2px solid transparent !important;
    color: var(--gray);
    margin-right: 32px;
    background-color: transparent;
    outline: none !important;
    box-shadow: none !important;
    transition: all .4s ease;
}

.table-tabs-container .nav-tabs .nav-link:hover {
    color: var(--blue);
}

.table-tabs-container {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    scroll-behavior: smooth;
}

.table-tabs-container .nav-tabs {
    display: inline-flex;
    flex-wrap: nowrap;
}

.table-tabs-container::-webkit-scrollbar {
    height: 2px;
}

.table-tabs-container::-webkit-scrollbar-thumb {
    background-color: var(--light);
    border-radius: 10px;
}


.table-tabs-container .nav-tabs .nav-link.active {
    color: var(--blue);
    border: none !important;
    border-bottom: 2px solid var(--blue) !important;
    background-color: transparent;
    outline: none !important;
    box-shadow: none !important;
}

.tab-filter-bar .input-group {
    transition: all .4s ease;
}

.tab-filter-bar .input-group:hover {
    border: 1px solid color-mix(in srgb, var(--blue), transparent 70%) !important;
    background-color: var(--white) !important;
}

.tab-filter-bar .input-group:focus-within {
    border: 1px solid var(--blue) !important;
    background-color: var(--white) !important;
}

.tab-filter-bar .dropdown button {
    background-color: var(--light);
}

.tab-filter-bar .dropdown button:focus {
    border: 1px solid var(--blue);
}

.tab-filter-bar .dropdown-menu {
    border-radius: 4px;
    z-index: 3;
}

/* .filter-filter-tab-content .dropdown-menu .dropdown-item{
    border-bottom: 1px solid var(--light);
}
.filter-filter-tab-content .dropdown-menu .dropdown-item:last-child{
    border-bottom: none;
} */
.tab-filter-bar .dropdown-menu .dropdown-item:hover {
    color: var(--blue);
}

.tab-filter-bar.dropdown-menu .form-check {
    cursor: pointer;
    /* border-bottom: 1px solid var(--light); */
    transition: all .4s ease;
}

.tab-filter-bar .dropdown-menu .form-check .form-check-label {
    color: var(--gray);
    cursor: pointer;
}

.tab-filter-bar .dropdown-menu .form-check .input-check {
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: 1px solid var(--soft-white);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.tab-filter-bar .dropdown-menu .form-check:last-child {
    border-bottom: none;
}

.tab-filter-bar .dropdown-menu .form-check .input-check:checked {
    background-color: var(--dark);
    border-color: var(--dark);
}

.tab-filter-bar .dropdown-menu .form-check .input-check:checked::after {
    content: url('../img/dropdown-input-checkmark.svg');
    color: var(--white);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 3px;
    margin: auto;
    line-height: 13px;
}

.tab-filter-bar .dropdown-menu .input-check:checked[type="checkbox"]+label {
    color: var(--blue) !important;
}

.filter-filter-tab-content table tr td .rattings {
    gap: 6px;
}

.filter-filter-tab-content table tr td .stock-text:hover {
    color: var(--white);
}

.filter-filter-tab-content .table-options .hov-text-blue:hover span {
    transition: all .4s ease;
}

.filter-filter-tab-content .table-options .hov-text-blue:hover span {
    color: var(--blue) !important;
}

.filter-tab-content .table-options .hov-text-blue:hover span svg path {
    fill: var(--blue);
}

/* .filter-tab-content .table-options a{
    border-bottom: 1px solid var(--light);
}
.filter-tab-content .table-options a:last-child{
    border-bottom: none;
} */
.inner-select button {
    border: 1px solid var(--light) !important;
}

.inner-select .form-control:focus {
    background-color: transparent !important;
}

.filter-tab-content .table th {
    padding-right: 0;
    padding-left: 0;
}

.filter-tab-content .table td {
    padding-left: 0;
    padding-right: 0;
    border-top: 1px dashed #dee2e6;
}

.filter-tab-content .table td .td-see-more {
    transition: all .4s ease;
}

/* .filter-tab-content .table td .td-see-more:hover {
    text-decoration: underline;
} */

.filter-tab-content .table td .td-see-more {
    transition: all 2s ease;
    position: relative;
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}

.filter-tab-content .table td .td-see-more::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 98%;
    height: 2px;
    background-color: var(--blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.filter-tab-content .table td .td-see-more:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/*---All Product Card,Table End---*/



/* Right Offcanvas wrapper Start */
#rightOffcanvas {
    box-shadow: rgba(50, 50, 93, 0.16) 0px 0px 40px;
    transition: right 0.4s ease;
    min-height: 100vh;
}

.right-offcanvas-sm {
    width: 240px;
    right: -240px;
}

.right-offcanvas-md {
    width: 450px;
    right: -450px;
}

.right-offcanvas-lg {
    width: 648px;
    right: -648px;
}

.body-no-scroll {
    overflow: hidden;
}

@media (min-width: 320px) and (max-width: 575px) {
    #rightOffcanvas {
        right: -90%;
        width: 90% !important;
    }
}

#closeRightOffcanvas:hover svg path {
    fill: var(--hov-primary);
}

#rightOffcanvas .right-offcanvas-body {
    /* padding-right: 12px; */
    padding-bottom: 120px;
    width: 100%;
    overflow-y: scroll;
}

#rightOffcanvas.active {
    right: 0;
}

#rightOffcanvasOverlay {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1040;
    cursor: url('../img/cursor-cross.svg') 16 16, crosshair;
}

#rightOffcanvasOverlay.active {
    opacity: 1;
    visibility: visible;
}

#rightOffcanvas .right-offcanvas-body .brand-categories {
    border-width: 3px !important;
}

#rightOffcanvas .right-offcanvas-body .right-offcanvas-table thead tr th {
    border-top: 0;
    border-bottom: 1px solid var(--soft-secondary);
    border-left: 0;
    border-right: 0;
}

#rightOffcanvas .right-offcanvas-body .right-offcanvas-table {
    margin-bottom: 150px;
}

#rightOffcanvas .right-offcanvas-body .right-offcanvas-table tbody tr td {
    border-top: 1px dashed var(--soft-secondary);
    border-bottom: 0;
    border-right: 0;
    border-left: 0;
}

#rightOffcanvas .right-offcanvas-body .right-offcanvas-table tbody {
    border-bottom: 1px solid var(--soft-secondary);
}

.stock-input {
    border: 1px solid var(--soft-secondary);
    max-width: 100px;
}

.stock-input:focus {
    border: 1px solid var(--hov-primary);
}

.right-offcavas-footer {
    border-top: 1px solid var(--light);
}

.right-offcavas-footer .footer-btn button {
    width: 100%;
    border-radius: 8px;
    border: 2px solid var(--soft-secondary);
    background-color: var(--white);
    transition: all .6s ease;
}

.right-offcavas-footer .footer-btn button.cancel {
    color: var(--red);
}

.right-offcavas-footer .footer-btn button.cancel:hover {
    background-color: var(--red);
    border-color: var(--red);
    color: white;
}

.right-offcavas-footer .footer-btn button.save {
    color: var(--teal);
}

.right-offcavas-footer .footer-btn button.save:hover {
    background-color: var(--green);
    border-color: var(--green);
    color: white;
}

#oc_confirm_btn .spinner-border {
    border-right: 2px solid #28a745 !important;
}

/* Right Offcanvas wrapper End */



/* Delete Popup Modal Start */
#back-btn:hover {
    border-color: var(--green) !important;
    background-color: var(--green) !important;
    color: var(--white) !important;
}

#proceed-btn:hover {
    border-color: var(--red) !important;
    background-color: var(--red) !important;
    color: var(--white) !important;
}

#conform-yes-btn:hover {
    border-color: var(--red) !important;
    background-color: var(--red) !important;
    color: var(--white) !important;
}

#delete-link:hover {
    border-color: var(--red) !important;
    background-color: var(--red) !important;
    color: var(--white) !important;
}

.deleteModal {
    cursor: url('../img/cursor-cross.svg') 16 16, crosshair;
}

.deleteModal .modal-content {
    cursor: default;
}

.deleteModal .form-check .input-check {
    width: 16px;
    height: 16px;
    appearance: none;
    -webkit-appearance: none;
    background-color: var(--soft-light);
    border: 1px solid var(--soft-light);
    border-radius: 4px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.deleteModal .form-check .input-check:checked {
    background-color: var(--dark);
    border-color: var(--dark);
}

.deleteModal .form-check .input-check:checked::after {
    content: url('../img/dropdown-input-checkmark.svg');
    color: var(--white);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 3px;
    margin: auto;
    line-height: 13px;
}

.deleteModal .input-check:checked[type="checkbox"]+label {
    color: var(--blue) !important;
}

.deleteModal .input-check:checked[type="checkbox"]+label span {
    color: var(--green) !important;
}

.confirmDeleteModal .modal-content .modal-body p a {
    text-decoration: underline;
}

.confirmDeleteModal {
    cursor: url('../img/cursor-cross.svg') 16 16, crosshair;
}

.confirmDeleteModal .modal-content {
    cursor: default;
}

/* Delete Popup Modal End */


/* auction-bit_btn */
.custom-bit-btn {
    padding: 0.416rem 1rem;
    font-size: 0.8125rem;
}

@media (max-width: 575px) {
    .custom-bit-btn {
        padding: .25rem !important;
        font-size: .75rem;
    }
}

/* auction-bit_btn end */

.toggle-btn {
    color: var(--primary-color);
    font-size: var(--fs-12);
}

.footer-text-control {
    height: auto
}

@media (min-width: 320px) and (max-width: 1199.98px) {
    .footer-text-control {
        max-height: 80px;
        overflow: hidden;
        transition: max-height 0.7s ease;
    }

}


/*======  MY TABLE START =====*/
#aiz-data-table .toggle-plus-minus-btn {
    display: none;
    user-select: none;
    line-height: 17px;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    cursor: pointer;
}

/*Hover & Focus */
.hsn-code:hover,
.gst-value:hover {
    border: 2px solid var(--light);
    background-color: transparent !important;
}

.hsn-code:focus-within,
.gst-value:focus-within {
    border: 2px solid var(--blue) !important;
}

.hsn-code,
.gst-value {
    width: 90%;
}

@media (max-width: 1399px) {

    .hsn-code,
    .gst-value {
        width: 100%;
    }
}

.hsn-code #pen-icon,
.gst-value #pen-icon,
.hsn-code button span,
.gst-value button span,
.hsn-message,
.gst-message {
    display: none;
}

/* Hover: Show pen */
.hsn-code:hover #pen-icon,
.gst-value:hover #pen-icon {
    display: block !important;
    margin-top: 3px;
}

/* Focus: Hide pen, show button & message */
.hsn-code:focus-within #pen-icon,
.gst-value:focus-within #pen-icon {
    display: none !important;
}

.hsn-code:focus-within button span,
.gst-value:focus-within button span,
.hsn-code:focus-within .hsn-message,
.gst-value:focus-within .gst-message {
    display: block !important;
}

/* hide-s */
@media (max-width: 375px) {
    .hide-s {
        display: none !important;
    }
}

/* hide-xs */
@media (max-width: 575px) {
    .hide-xs {
        display: none !important;
    }
}

/* hide-sm */
@media (max-width: 767px) {
    .hide-sm {
        display: none !important;
    }
}

/* hide-md */
@media (max-width: 991px) {
    .hide-md {
        display: none !important;
    }
}

/* hide-lg */
@media (max-width: 1199px) {
    .hide-lg {
        display: none !important;
    }
}

/* hide-xl */
@media (max-width: 1399px) {
    .hide-xl {
        display: none !important;
    }
}

/* hide-xxl */
@media (max-width: 1500px) {
    .hide-xxl {
        display: none !important;
    }
}

/* hide-6xl */
@media (max-width: 1550px) {
    .hide-6xl {
        display: none !important;
    }
}

/* hide-3xl */
@media (max-width: 1750px) {
    .hide-3xl {
        display: none !important;
    }
}

/* hide-4xl */
@media (max-width: 1900px) {
    .hide-4xl {
        display: none !important;
    }
}

/* hide-5xl */
@media (max-width: 2050px) {
    .hide-5xl {
        display: none !important;
    }
}

#aiz-data-table .data-row {
    border-top: 1px dashed var(--soft-light);
    border-bottom: 0 !important;
}

#aiz-data-table .data-row:last-of-type {
    border-bottom: 0 !important;
}

/* #aiz-data-table .data-row:first-of-type {
    border-bottom: 0 !important;
} */

#aiz-data-table .data-row td {
    border: 0 !important;
}



/* Details row */
#aiz-data-table .details-row {
    display: none;
}

#aiz-data-table .details-row td {
    background-color: var(--white);
    padding: 15px 0px !important;
}

#aiz-data-table .detail-item {
    border-bottom: 1px dashed var(--soft-light);
}

#aiz-data-table .detail-item:last-of-type {
    border-bottom: none !important;
}

#aiz-data-table thead th {
    border-bottom: 1px solid var(--soft-light);
    border-top: 0 !important;
}

/*======  MY TABLE END =====*/

#shippingTab .nav-item .nav-link.active {
    color: var(--dark) !important;
}



.choose-address {
    margin-top: -45px;
}

@media (max-width: 700px) {
    .choose-address {
        margin-top: 0 !important;
        justify-content: start !important;
    }
}

#bulk-action-modal {
    z-index: 1050 !important;
}


#request-pickup-btn {
    margin-top: 26px;
    border: 1px solid #ffc700;
}

/* ====================== Product Details Page Start ====================== */
.product-details .product-slider-wrapper {
    width: 100%;
}

.product-details .product-slider-wrapper .thumb-container {
    width: 100%;
    height: 528px;
}

.thumb-slider .swiper-slide {
    width: 100%;
    height: 80px !important;
    transition: all 0.4s ease;
}

.thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
    border: 2px solid var(--blue) !important;
}

.thumb-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.thumb-slider .swiper-slide:hover img {
    transform: scale(1.03);
    opacity: 0.7;
}

.thumb-slider .swiper-slide:hover .la-play-circle {
    color: var(--dark) !important;
}

.thumb-btn-up,
.thumb-btn-down {
    flex: 1;
    height: 30px;
    z-index: 20;
    background-color: #f7f7f7 !important;
}

.thumb-btn-up:hover,
.thumb-btn-down:hover {
    background-color: #f1f1f1 !important;
}

.thumb-btn-up.disabled svg path,
.thumb-btn-down.disabled svg path {
    opacity: 0.6 !important;
}

.thumb-btn-up.disabled,
.thumb-btn-down.disabled {
    cursor: not-allowed !important;
}



/* .thumb-btn-up {
    border-bottom-left-radius: 8px;
}

.thumb-btn-down {
    border-bottom-right-radius: 8px;
} */

/*Product Main Slider*/
.main-slider {
    width: 100% !important;
    height: 528px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.main-slider .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;
    height: 100% !important;
    box-sizing: border-box !important;
}

.main-slider .swiper-slide {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
    height: 100% !important;
    flex-shrink: 0 !important;
    overflow: hidden;
    box-sizing: border-box;
    background-color: #f8fafc;
}

.main-slider .swiper-slide img {
    z-index: 2;
    object-fit: cover !important;
    object-position: center !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    display: block !important;
}

.img-preview-btn {
    position: absolute;
    left: 24px;
    bottom: 32px;
    z-index: 3;
    transition: all 0.4s ease;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
    width: 50px;
}

.img-preview-btn:hover {
    width: 170px;
    background-color: var(--white);
}


/* Swipper Button */
.main-slider .swiper-button-next,
.main-slider .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(0, 0, 0, 0.08);
    color: var(--dark) !important;
    transition: all 0.4s ease;
}

.main-slider .swiper-button-next:hover,
.main-slider .swiper-button-prev:hover {
    background-color: var(--soft-light);
}

.main-slider .swiper-button-next:after,
.main-slider .swiper-button-prev:after {
    font-size: 15px;
    font-weight: 600;
}

.main-slider .swiper-button-next {
    right: -60px !important;
    transition: all .4s ease;
}

.main-slider:hover .swiper-button-next {
    right: 15px !important;
}

.main-slider .swiper-button-prev {
    left: -60px !important;
    transition: all .4s ease;
}

.main-slider:hover .swiper-button-prev {
    left: 15px !important;
}

.main-slider .swiper-button-next:after {
    margin-left: 2px;
}

.main-slider .swiper-button-prev:after {
    margin-right: 2px;
}

.main-slider .swiper-button-prev.swiper-button-disabled,
.main-slider .swiper-button-next.swiper-button-disabled {
    cursor: not-allowed !important;
    pointer-events: visible;
}

.product-details .right-side-cws button span.compare,
.product-details .right-side-cws button span.wishlist,
.product-details .right-side-cws button span.share {
    margin-top: 2px;
}

.product-details .rating {
    gap: 5px;
    margin-top: -3px;
}

.product-details .rating-card .rating {
    gap: 4px;
    margin-top: 2px !important;
}

.product-details .total-rating-count {
    margin-top: -5px;
}

.sku-copy-btn svg {
    transition: all 0.4s ease;
}

.sku-copy-btn:hover svg path {
    fill: var(--blue);
}

.people-view svg {
    width: 100%;
    height: 100%;
}

.people-view svg path {
    animation: bluePulse 2s infinite alternate;
}

.order-via-whatsapp a {
    color: var(--green) !important;
}

.rs-order-via-telegram {
    margin-top: 14px;
    margin-bottom: 10px;
    width: 100%;
}

.rs-order-via-telegram--align-right {
    display: flex;
    justify-content: flex-end;
}

.rs-order-via-telegram__btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 11px 16px 11px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(38, 165, 228, 0.14) 0%, rgba(38, 165, 228, 0.06) 100%);
    border: 1px solid rgba(38, 165, 228, 0.24);
    color: #1178ad !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(38, 165, 228, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.rs-order-via-telegram__btn:hover,
.rs-order-via-telegram__btn:focus {
    color: #0d6798 !important;
    transform: translateY(-1px);
    border-color: rgba(38, 165, 228, 0.38);
    background: linear-gradient(135deg, rgba(38, 165, 228, 0.2) 0%, rgba(38, 165, 228, 0.1) 100%);
    box-shadow: 0 10px 24px rgba(38, 165, 228, 0.18);
}

.rs-order-via-telegram__icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(145deg, #31b0ee 0%, #229bd4 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.rs-order-via-telegram__label {
    white-space: nowrap;
}

.rs-order-via-telegram__arrow {
    flex-shrink: 0;
    font-size: 16px;
    opacity: 0.75;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rs-order-via-telegram__btn:hover .rs-order-via-telegram__arrow,
.rs-order-via-telegram__btn:focus .rs-order-via-telegram__arrow {
    transform: translateX(2px);
    opacity: 1;
}

@media (max-width: 767.98px) {
    .rs-order-via-telegram {
        margin-top: 16px;
        margin-bottom: 12px;
    }

    .rs-order-via-telegram--align-right {
        justify-content: stretch;
    }

    .rs-order-via-telegram__btn {
        width: 100%;
        justify-content: center;
    }
}

.rs-btn-telegram {
    background-color: #0088cc;
    border-color: #0088cc;
    color: #ffffff !important;
    font-weight: 600;
    transition: all 0.2s ease;
}

.rs-btn-telegram:hover,
.rs-btn-telegram:focus {
    background-color: #0077b5;
    border-color: #0077b5;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
}




@keyframes bluePulse {
    0% {
        fill: #D1DBE5;
    }

    100% {
        fill: var(--blue);
    }
}

/* Flash Sale Box */
.flash-sale {
    background-color: var(--red);
    animation: blinkBg 2s infinite alternate;
    transition: opacity 2s ease, height 0.5s ease, padding 0.5s ease;
}

/* Blink animation */
@keyframes blinkBg {
    0% {
        background-color: var(--red);
    }

    25% {
        background-color: var(--orange);
    }

    50% {
        background-color: var(--red);
    }

    75% {
        background-color: var(--orange);
    }

    100% {
        background-color: var(--red);
    }
}

/* Hide flash sale when expired */
.flash-sale.expired {
    opacity: 0;
    pointer-events: none;
    height: 0;
    padding: 0;
    margin: 0 !important;
    overflow: hidden;
}

.discount-badge {
    background-color: #c89832 !important;
    color: #ffffff !important;
}

.dec-btn,
.inc-btn {
    border: 1px solid var(--light);
    background-color: var(--light);
    transition: all 0.4s ease;
}

.inc-btn:hover,
.dec-btn:hover {
    background-color: transparent !important;
}

.inc-btn:hover svg rect,
.dec-btn:hover svg rect {
    fill: var(--dark) !important;
}

.product-variant {
    height: auto;
    overflow: hidden;
    transition: height .35s ease;
}

.product-variant button .dot {
    transition: all .4s ease;
}

.product-variant .more-toggle-btn {
    background-color: #fafafc !important;
}

.product-variant .more-toggle-btn:hover {
    background-color: var(--light) !important;
}

.product-variant button:hover .dot {
    background-color: var(--blue) !important;
}

.product-variant.collapsed .variant-item {
    border-top: 1px dashed #DFDFE6 !important;
}

.product-variant.collapsed .variant-item-none {
    display: none;
    border-top: 1px dashed #DFDFE6 !important;
}

/* @keyframes variantIconBlink {
  0% {
    fill: var(--light-gray); 
  }
  50% {
    fill: var(--green); 
  }
  100% {
    fill: var(--light-gray);
  }
}

.selected-variant-icon .icon-fill {
  animation: variantIconBlink 1.5s ease-in-out infinite;
} */





/* .product-variant  .dot { display: inline-block; }
.product-variant  .dot.hidden { display: none; }
 */

.product-variant .variant-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
}

.product-variant .variant-wrapper .variant-item-select {
    transition: all 0.3s ease;
    user-select: none;
    padding-top: 4px;
    padding-bottom: 4px;
}

.product-variant .aiz-megabox .aiz-megabox-elem {
    outline: 1px solid transparent;
}

.product-variant .aiz-megabox>input:checked~.aiz-megabox-elem {
    outline-color: var(--blue);
}

.product-variant .aiz-megabox>input:checked~.aiz-megabox-elem,
.aiz-megabox>input:checked~.aiz-megabox-elem {
    border-width: 1px !important;
}

.bg-orange {
    background-color: var(--orange);
}

.bg-cyen {
    background-color: #027f9d;
}

.product-variant .variant-wrapper .variant-item-select input {
    display: none;
}

.product-variant .variant-wrapper .variant-item-select.active {
    border: 2px solid var(--blue) !important;
    border-width: 2px !important;
}

.warranty-section .yrs {
    margin-top: -6px;
}

.warranty-section ul li {
    line-height: 32px !important;
}

.warranty-section ul li span.warranty-text {
    margin-top: 2px;
}

#login_modal .modal-content {
    border-radius: 8px !important;
}

#warranty-note-modal .modal-content {
    border-radius: 8px !important;
}

#addToCart .modal-content {
    border-radius: 8px !important;
}

/* ========== Add to cart modal — mobile-first feedback sheet ========== */
.rs-add-to-cart-modal .modal-dialog:not(.modal-lg) {
    max-width: min(440px, calc(100vw - 1.5rem));
    margin-left: auto;
    margin-right: auto;
}

.rs-add-to-cart-modal .modal-dialog:not(.modal-lg) .modal-content {
    border-radius: 20px !important;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.18);
}

.rs-add-to-cart-modal__close {
    background: #f1f5f9 !important;
    width: calc(2rem + 2px);
    height: calc(2rem + 2px);
    margin: 0.85rem 0.85rem 0 0;
    border-radius: 999px !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.rs-added-to-cart-modal {
    background: #fff;
}

.rs-added-to-cart-modal__sheet {
    display: flex;
    flex-direction: column;
    max-height: min(88vh, 720px);
}

.rs-added-to-cart-modal__handle {
    display: none;
    width: 42px;
    height: 4px;
    margin: 10px auto 0;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.14);
    flex-shrink: 0;
}

.rs-added-to-cart-modal__scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 1.15rem 1.15rem 0.5rem;
}

.rs-added-to-cart-modal__header {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-right: 2.25rem;
}

.rs-added-to-cart-modal__success-badge {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(27, 130, 197, 0.16) 0%, rgba(80, 162, 234, 0.12) 100%) !important;
    color: #1B82C5 !important;
    font-size: 22px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(27, 130, 197, 0.22) !important;
    animation: rsAddedToCartPop 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.rs-added-to-cart-modal__title {
    margin: 0 0 0.2rem;
    font-size: 1.125rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.rs-added-to-cart-modal__subtitle {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #64748b;
}

.rs-added-to-cart-modal__cart-count {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1B82C5 !important;
}

.rs-added-to-cart-modal__product {
    display: flex;
    gap: 0.85rem;
    padding: 0.9rem;
    border-radius: 16px;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.rs-added-to-cart-modal__product-media {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.rs-added-to-cart-modal__product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.rs-added-to-cart-modal__product-body {
    min-width: 0;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.rs-added-to-cart-modal__product-name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rs-added-to-cart-modal__product-variant {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #64748b;
}

.rs-added-to-cart-modal__product-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.65rem;
    margin-top: 0.15rem;
}

.rs-added-to-cart-modal__meta-item {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    font-size: 0.8125rem;
}

.rs-added-to-cart-modal__meta-label {
    color: #94a3b8;
    font-weight: 500;
}

.rs-added-to-cart-modal__meta-value {
    color: #334155;
    font-weight: 700;
}

.rs-added-to-cart-modal__meta-divider {
    width: 1px;
    height: 14px;
    background: rgba(15, 23, 42, 0.12);
}

.rs-added-to-cart-modal__line-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.rs-added-to-cart-modal__line-total-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
}

.rs-added-to-cart-modal__line-total-value {
    font-size: 1.0625rem;
    font-weight: 800;
    color: #1B82C5 !important;
}

.rs-added-to-cart-modal__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.85rem 1.15rem calc(0.85rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #fff;
    box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
}

.rs-added-to-cart-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: none;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none !important;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.rs-added-to-cart-modal__btn i {
    font-size: 1.15rem;
    line-height: 1;
}

.rs-added-to-cart-modal__btn--primary {
    background: linear-gradient(135deg, #1B82C5 0%, #50a2ea 100%) !important;
    color: #fff !important;
    box-shadow: 0 8px 20px rgba(27, 130, 197, 0.35) !important;
}

.rs-added-to-cart-modal__btn--primary:hover {
    transform: translateY(-1px);
    background: linear-gradient(135deg, #1670ac 0%, #3b94e2 100%) !important;
    box-shadow: 0 12px 28px rgba(27, 130, 197, 0.45) !important;
    color: #fff !important;
}

.rs-added-to-cart-modal__btn--secondary {
    background: rgba(27, 130, 197, 0.08) !important;
    color: #1B82C5 !important;
    border: 1.5px solid rgba(27, 130, 197, 0.28) !important;
    box-shadow: none !important;
}

.rs-added-to-cart-modal__btn--secondary:hover {
    background: rgba(27, 130, 197, 0.16) !important;
    color: #1B82C5 !important;
    border-color: #1B82C5 !important;
}

.rs-added-to-cart-modal__btn--ghost {
    background: transparent;
    color: #64748b !important;
    min-height: 42px;
}

.rs-added-to-cart-modal__btn--ghost:hover {
    background: #f8fafc;
    color: #1B82C5 !important;
}

@keyframes rsAddedToCartPop {
    0% {
        transform: scale(0.72);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 575.98px) {
    .rs-add-to-cart-modal .modal-dialog:not(.modal-lg) {
        max-width: 100%;
        width: 100%;
        margin: 0;
        min-height: 100%;
        display: flex;
        align-items: flex-end;
    }

    .rs-add-to-cart-modal .modal-dialog:not(.modal-lg) .modal-content {
        width: 100%;
        border-radius: 20px 20px 0 0 !important;
        max-height: 92vh;
    }

    .rs-add-to-cart-modal .modal-dialog:not(.modal-lg).modal-dialog-centered {
        align-items: flex-end;
        min-height: calc(100% - 0px);
    }

    .rs-added-to-cart-modal__handle {
        display: block;
    }

    .rs-added-to-cart-modal__sheet {
        max-height: 92vh;
    }

    .rs-added-to-cart-modal__scroll {
        padding: 0.65rem 1rem 0.35rem;
    }

    .rs-added-to-cart-modal__header {
        padding-right: 2rem;
    }

    .rs-added-to-cart-modal__product-media {
        width: 76px;
        height: 76px;
    }

    .rs-added-to-cart-modal__actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .rs-add-to-cart-modal__close {
        margin-top: 0.65rem;
        margin-right: 0.65rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .rs-added-to-cart-modal__success-badge {
        animation: none;
    }

    .rs-added-to-cart-modal__btn {
        transition: none;
    }

    .rs-added-to-cart-modal__btn--primary:hover {
        transform: none;
    }
}

#refund-note-modal .modal-content {
    border-radius: 8px !important;
}

#chat_modal .modal-content {
    border-radius: 8px !important;
}

#social-share-modal .modal-content {
    border-radius: 8px !important;
}

#social-share-modal .modal-header .link-circle-box {
    margin-top: -50px;
}

#social-share-modal .modal-header .close {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#social-share-modal .modal-body .copy-link-btn svg path {
    transition: all .4s ease;
}

#social-share-modal .modal-body .copy-link-btn:hover svg path {
    fill: var(--blue) !important;
}

#social-share-modal .modal-body .share-link {
    gap: 16px;
}

#social-share-modal .modal-body .share-link:hover span {
    color: var(--dark) !important;
}

#social-share-modal .modal-body .aiz-share .jssocials-shares {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 24px;
}

#social-share-modal .modal-body .aiz-share .jssocials-shares .jssocials-share {
    margin: 0 !important;
}

#social-share-modal .modal-body .aiz-share .jssocials-shares .jssocials-share-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .4s ease;
}

#bid_for_detail_product .modal-content {
    border-radius: 8px !important;
}

/*Product Details Nav Tabs*/
/* .product-details-nav-tab .nav-tab-header {
    position: sticky;
    top: 0;
    z-index: 1045;
} */

.product-details-nav-tab .nav-tab-header ul li:last-child {
    margin-right: 0 !important;
}

.product-details-nav-tab .nav-tab-header .tab-scroll-wrapper {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
    border-bottom: 1px solid var(--light-gray);
}

.product-details-nav-tab .nav-tab-header .tab-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.product-details-nav-tab .nav-tab-header .tab-underline {
    position: absolute;
    bottom: 0;
    border: 2px solid var(--blue);
    transition: all 0.35s ease;
}

.product-details-nav-tab .container {
    gap: 32px;
}


/* Reviews & Ratings Section */
.reviews-ratings-container .ratings {
    gap: 5px;
}

.reviews-ratings-container button:hover {
    border-color: var(--orange) !important;
}

.reviews-ratings-container button {
    gap: 10px;
}

.reviews-ratings-container .filter-rating-wrapper {
    gap: 12px;
}

.reviews-ratings-container .filter-rating-wrapper .rating-point-select {
    transition: all 0.3s ease;
    user-select: none;
    flex-shrink: 0;
}

.reviews-ratings-container .filter-rating-wrapper .rating-point-select input {
    display: none;
}

.reviews-ratings-container .filter-rating-wrapper .rating-point-select:hover {
    border: 1px solid var(--dark) !important;
}

.reviews-ratings-container .filter-rating-wrapper .rating-point-select.active {
    background-color: var(--dark) !important;
    border: 1px solid var(--dark) !important;
}

.reviews-ratings-container .filter-rating-wrapper .rating-point-select.active svg path {
    fill: var(--white) !important;
}

.reviews-ratings-container .filter-rating-wrapper .rating-point-select.active span {
    color: var(--white) !important;
}

.reviews-ratings-container .custom-select-wrapper select:focus {
    border: 1px solid var(--orange) !important;
}

.reviews-ratings-container .see-more-btn svg path {
    transition: all .4s ease;
}

.reviews-ratings-container .see-more-btn:hover svg path {
    fill: var(--white) !important;
}


.reviews-ratings-container .product-variation-wrapper {
    gap: 16px;
}

.reviews-ratings-container .rating-card-wrapper .review-item {
    border-bottom: 1px solid var(--light-gray) !important;
}

.reviews-ratings-container .rating-card-wrapper .review-item:last-child {
    border: none !important;
}

.reviews-ratings-container .product-variation-wrapper .product-variation-card:hover {
    border-color: var(--blue) !important;
}

.reviews-ratings-container button svg {
    transition: all 0.6s ease;
}

.reviews-ratings-container button.see-more:hover svg path {
    fill: var(--white) !important;
}

/*Product Queries*/
.product-queries-container .product-queries:focus-within {
    border-color: var(--orange) !important;
}

.product-queries-container .product-queries textarea::-webkit-resizer {
    background-color: var(--white) !important;
}

.product-queries-container .other-question {
    gap: 20px;
}

.product-queries-container .other-question:last-child {
    gap: 20px;
}

.product-queries-container .other-question .single-question {
    gap: 23px;
}

@media (max-width: 767px) {
    .thumb-container {
        height: 90px !important;
        margin-top: 16px;
    }

    .thumb-slider .swiper-slide {
        width: 80px !important;
        height: 100% !important;
    }

    .thumb-btn-up,
    .thumb-btn-down {
        display: none !important;
    }

    .main-slider {
        height: 380px !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .main-slider .swiper-button-next {
        right: 15px !important;
    }

    .main-slider .swiper-button-prev {
        left: 15px !important;
    }

}

@media (max-width: 991px) {
    .main-slider .swiper-button-next {
        right: 15px !important;
    }

    .main-slider .swiper-button-prev {
        left: 15px !important;
    }
}

@media (min-width: 992px) {
    .product-slider-wrapper {
        position: sticky;
        top: 160px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .product-details .product-slider-wrapper .thumb-container {
        height: 400px;
    }

    .thumb-slider .swiper-slide {
        height: 90px !important;
    }

    .main-slider {
        height: 400px;
    }

    .main-slider .swiper-button-next {
        right: 15px !important;
    }

    .main-slider .swiper-button-prev {
        left: 15px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1499px) {
    .thumb-slider .swiper-slide {
        height: 65px !important;
    }
}

/* ====================== Product Details Page End ====================== */


/* seller customer panel */

body.verification-lock {
    overflow: hidden;
}

body.verification-lock *:not(.modal):not(.modal *) {
    pointer-events: none;
    filter: blur(5px);
    user-select: none;
}

.customer-verification-form .custom-file-label::after,
.seller-verification-form .custom-file-label::after {
    display: none !important;
}



/* pos */

.custom-height-group .btn {
    height: 42.19px !important;
    line-height: 30px;
}

.btn-outline-yellow {
    color: #FCBA01;
    border: 1px solid #DFDFE6
}

.btn-outline-yellow:hover,
.btn-outline-yellow.active {
    background-color: #FCBA01;
    color: white;
}

.btn-outline-facebook {
    color: #003ABA;
    border: 1px solid #DFDFE6
}

.btn-outline-facebook:hover,
.btn-outline-facebook.active {
    background-color: #003ABA;
    color: white;
}

.btn-outline-whatsapp {
    color: #2EB942;
    border: 1px solid #DFDFE6
}

.btn-outline-whatsapp:hover,
.btn-outline-whatsapp.active {
    background-color: #2EB942;
    color: white;
}

.customer-toggle {
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
}

.customer-toggle i {
    font-size: 1.5rem;
    line-height: 1;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .fs-md-36 {
        font-size: 36px !important;
    }

    .fs-md-20 {
        font-size: 20px !important;
    }

    .fs-md-16 {
        font-size: 16px !important;
    }
}

.coupon-svg-height-mobile {
    height: 60px !important;
}

.pos-list {
    padding: .15rem .25rem !important;
}

#address_walkin::placeholder {
    font-size: .8125rem;
}

.margin-top {
    margin-top: 10px !important;
}

.pos-filter-section .bootstrap-select .filter-option-inner-inner,
.pos-filter-section .bootstrap-select .dropdown-menu.inner>li>a {
    font-size: 12px !important;
}

.pos-filter-section textarea::placeholder,
.pos-filter-section .form-control::placeholder {
    font-size: 12px !important;
}

.pos-filter-section .bootstrap-select.form-control {
    width: 95% !important;
    max-width: 95% !important;
}

.custom-plc-size .bootstrap-select .filter-option-inner-inner,
.custom-plc-size .bootstrap-select .dropdown-menu.inner>li>a {
    font-size: 12px !important;
    padding-top: 4px !important;
}

.custom-plc-size textarea::placeholder,
.custom-plc-size .form-control::placeholder {
    font-size: 12px !important;
}

@media (min-width: 768px) and (max-width: 1200px) {
    .cl-md-w {
        order: 2 !important;
        width: 100% !important;
        margin-top: 20px;
    }
}

.pos-up {
    padding-top: 1rem;
}


/* Social Share Modal */
#social-share-modal .modal-content {
    border-radius: 8px !important;
}

#social-share-modal .modal-header .link-circle-box {
    margin-top: -50px;
}

#social-share-modal .modal-header .close {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

#social-share-modal .modal-body .copy-link-btn svg path {
    transition: all .4s ease;
}

#social-share-modal .modal-body .copy-link-btn:hover svg path {
    fill: var(--blue) !important;
}

#social-share-modal .modal-body .share-link {
    gap: 16px;
}

#social-share-modal .modal-body .share-link:hover span {
    color: var(--dark) !important;
}

#social-share-modal .modal-body .aiz-share .jssocials-shares {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 24px;
}

#social-share-modal .modal-body .aiz-share .jssocials-shares .jssocials-share {
    margin: 0 !important;
}

#social-share-modal .modal-body .aiz-share .jssocials-shares .jssocials-share-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all .4s ease;
}

/* add to cart */

.adding {
    pointer-events: none;
    opacity: .7;
}

.added-success {
    background-color: #28a745 !important;
    color: #fff !important;
}

/* circle Arrow icon */
.view-more-slide-btn {
    overflow: hidden;
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    transition: width 0.3s ease-in-out;
    width: 32px !important;
    height: 32px !important;
    white-space: nowrap;
    border-radius: 20px;
    background-color: #000;
    color: #fff;
    padding: 0;
}

.view-more-slide-btn .text {
    opacity: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.view-more-slide-btn:hover .text {
    opacity: 1;
    margin-right: 0.1rem;
    display: inline-block;
}

.view-more-slide-btn:hover {
    width: 90px !important;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
}

.view-more-slide-btn:active .text {
    text-decoration: underline;
}

.view-more-slide-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.view-more-slide-btn:hover i {
    left: 75%;
}

/* minimum height */
.min-h-200px {
    min-height: 200px;
}


.list-group-item {
    border-style: dashed !important;
}

.order-confirm-modal-left-side {
    max-height: 500px;
    overflow-y: auto;
}


.truck-icon-btn,
.truck-icon-btn:focus {
    box-shadow: none !important;
    outline: none !important;
}

.uploadModal {
    z-index: 1060 !important;
}

.stack-container {
    position: relative;
    max-width: 600px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* The Card Wrapper (Allows X to overflow) */
.card-wrapper {
    position: absolute;
    width: 100%;
    height: 560px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 991px) {
    .card-wrapper {
        width: 90% !important;
    }
}

/* The actual card with the content */
.mirror-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Stacking Logic - Showing sections behind */
.card-pos-0 {
    z-index: 50;
    transform: translateY(0) scale(1);
    opacity: 1;
}

.card-pos-1 {
    z-index: 45;
    transform: translateY(-30px) scale(0.94);
    opacity: 0.9;
}

.card-pos-2 {
    z-index: 40;
    transform: translateY(-60px) scale(0.88);
    opacity: 0.8;
}

.card-pos-3 {
    z-index: 35;
    transform: translateY(-90px) scale(0.82);
    opacity: 0.7;
}

.card-pos-4 {
    z-index: 30;
    transform: translateY(-120px) scale(0.76);
    opacity: 0.6;
}

.card-pos-5 {
    z-index: 25;
    transform: translateY(-150px) scale(0.7);
    opacity: 0.5;
}

.card-pos-6 {
    z-index: 20;
    transform: translateY(-180px) scale(0.64);
    opacity: 0.4;
}

.card-pos-7 {
    z-index: 15;
    transform: translateY(-210px) scale(0.58);
    opacity: 0.3;
}

.card-pos-8 {
    z-index: 10;
    transform: translateY(-240px) scale(0.52);
    opacity: 0.2;
}

.card-pos-9 {
    z-index: 5;
    transform: translateY(-270px) scale(0.46);
    opacity: 0.1;
}

.card-pos-10 {
    z-index: 0;
    transform: translateY(-300px) scale(0.4);
    opacity: 0;
}

/* Exit effect */
.exit-now {
    transform: translateY(150px) scale(0.9) !important;
    opacity: 0 !important;
    pointer-events: none;
}

.card-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* X Button - Positioned relative to card-wrapper to ignore overflow:hidden */
.btn-close-stack {
    position: absolute;
    top: -12px;
    right: -12px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    color: #333;
    outline: none !important;
}

.btn-close-stack i {
    font-size: 18px;
    font-weight: bold;
}

/* Progress Bar (Loader) */
.loader-container {
    width: 100%;
    height: 4px;
    background: var(--white);
    position: absolute;
    right: 0;
    left: 0;
    bottom: 0;

}

.loader-fill {
    height: 100%;
    width: 0%;
    background: #007bff;
    transition: width 0.05s linear;
}

.vote-btn {
    background: #000;
    color: #fff;
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    border: none;
}

.pos-selected-tr {
    background-color: #007bff26;
}

.customer-form.collapse.pos-filter-section {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(2px);
}

.customer-form.collapsing.pos-filter-section {
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(2px) !important;
}



/* Smooth Alert Transitions CSS  Start*/
.aiz-custom-alert {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    /* matches mb-3 class */
    transition: all 0.6s ease-in-out;
    position: fixed;
    z-index: 9999;
    max-width: 350px;
    width: 100%;
}

.aiz-custom-alert.top-left {
    top: 20px;
    left: 20px;
}

.aiz-custom-alert.top-right {
    top: 20px;
    right: 20px;
}

.aiz-custom-alert.bottom-left {
    bottom: 20px;
    left: 20px;
}

.aiz-custom-alert.bottom-right {
    bottom: 20px;
    right: 20px;
}

.aiz-custom-alert>div {
    transition: all 0.6s ease-in-out !important;
    overflow: hidden;
    margin-bottom: 0 !important;
    /* Override mb-3 */
    opacity: 1;
    transform: translateY(0);
    max-height: 500px;
}

.aiz-custom-alert>div.removing {
    opacity: 0;
    transform: translateY(-100px);
    margin-bottom: 0 !important;
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-width: 0;
}

/* For bottom positions, slide down instead of up */
.aiz-custom-alert.bottom-left>div.removing,
.aiz-custom-alert.bottom-right>div.removing {
    transition: all 0.6s ease-in-out !important;
    transform: translateY(100px);
}

/* Ensure images and content scale properly during transition */
.aiz-custom-alert>div.removing img,
.aiz-custom-alert>div.removing .p-3,
.aiz-custom-alert>div.removing .p-2rem {
    opacity: 0;
}



.aiz-custom-alert .alert.removing {
    opacity: 0;
    transform: translateY(-100px);
    margin-bottom: 0 !important;
    max-height: 0;
    padding: 0 !important;
    border: none;
}

/* Smooth Alert Transitions CSS  End */



/* Telegram floating chat button */
.rs-telegram-chat-widget {
    position: fixed;
    right: 20px;
    bottom: 54px;
    z-index: 16000162;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #26a5e4;
    color: #fff !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(38, 165, 228, 0.35);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}

.rs-telegram-chat-widget:hover,
.rs-telegram-chat-widget:focus {
    background: #229bd4;
    color: #fff !important;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(38, 165, 228, 0.45);
}

.rs-telegram-chat-widget.d-none {
    display: none !important;
}

@media (max-width: 767.98px) {
    .rs-telegram-chat-widget {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: 16px;
    }
}



/*border hover dark */
.hover-border-dark:hover {
    border-color: #0b0b0c !important;
    transition: ease-in-out 0.3;
}

.review-sort-by-images {
    margin-top: 30px;
}



/*  Google Analytics Dashboard Start
-------------------------------------------*/
@media (min-width: 992px) {

    .h-lg-510px,
    .size-lg-510px {
        height: 510px;
    }
}

.g-analytics-card .card-body {
    overflow-y: auto;
    overflow-x: hidden;
}

.g-analytics-card .card-header {
    min-height: 20px !important;
}

.g-analytics-card .card-body table thead th {
    border: none !important;
}

.g-analytics-card .card-body table tbody tr td {
    border: none !important;
}

.g-analytics-card .card-body table tbody tr {
    border-top: 1px dashed #ebedf2 !important;
}

.g-analytics-card .card-body table tbody tr:first-child {
    border-top: 1px solid #ebedf2 !important;
}

/*  Google Analytics Dashboard End
-------------------------------------------*/




/*  Add Product Page Content Start
-------------------------------------------*/

.gutters-4 {
    margin-right: -4px;
    margin-left: -4px;
}

.gutters-4>.col,
.gutters-4>[class*="col-"] {
    padding-right: 4px;
    padding-left: 4px;
}

.gutters-4 {
    margin-right: -4px;
    margin-left: -4px;
}

.gutters-4>.col,
.gutters-4>[class*="col-"] {
    padding-right: 4px;
    padding-left: 4px;
}

.generate-gradient-text {
    background: linear-gradient(90deg,
            #ff4d4d,
            #f9cb28,
            #4cd137,
            #00a8ff,
            #9c88ff,
            #ff4d4d);

    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    animation: textGradientMove 4s linear infinite;
}

@keyframes textGradientMove {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}


.animated-gradient-border {
    position: relative;
    background: #fff;
    border-radius: 8px;

    z-index: 1;
}

.animated-gradient-border.border {
    border: none !important;
}

.animated-gradient-border::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    z-index: -1;
    background: linear-gradient(90deg,
            #ff4d4d, #f9cb28, #4cd137, #00a8ff, #9c88ff, #ff4d4d);
    background-size: 300% 300%;
    border-radius: 11px;
    animation: animatedGradientBorder 2s linear infinite;
}

@keyframes animatedGradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.text-decoration-underline {
    text-decoration: underline !important;
}


.add-product-page-content .img-upload-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: start;
}

.add-product-page-content .img-upload-container>[data-toggle="aizuploader"] {
    width: 120px;
    height: 120px;
    order: 999;
}

.add-product-page-content .img-upload-container .file-preview {
    display: contents;
}

.add-product-page-content .file-preview-item {
    width: 120px !important;
    height: 120px !important;
}

.add-product-page-content .img-upload-container .file-preview-item {
    margin: 0 !important;
}

.add-product-page-content .img-upload-container .file-preview-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}


.add-product-page-content .img-upload-container .file-preview:empty {
    display: none !important;
}

.add-product-page-content .file-upload-input {
    transition: all 0.4s ease;
}

.add-product-page-content .file-upload-input:hover {
    border-color: #007bff !important;
}

.add-product-page-content .file-upload-input .form-control img {
    transition: all 0.4s ease;
}

.add-product-page-content .file-upload-input:hover .form-control img {
    filter: brightness(0) saturate(100%) invert(34%) sepia(94%) saturate(1873%) hue-rotate(198deg) brightness(96%) contrast(101%);
}

.add-product-page-content .refundable-notes .aiz-carousel .carousel-box .refund-notes:hover,
.add-product-page-content .warranty-notes .aiz-carousel .carousel-box .single-warranty-notes:hover,
.add-product-page-content .shipping-notes .aiz-carousel .carousel-box .shp-notes:hover,
.add-product-page-content .cash-on-delivery-notes .aiz-carousel .carousel-box .delivery-notes:hover {
    border-color: var(--blue) !important;
}

.add-product-page-content .club-point-container {
    border: 1px solid #FFF4D6;
    background-color: #FFF4D6;
}


.add-product-page-content .tagify__tag>div {
    border-radius: 999px !important;
}

.add-product-page-content .tagify__tag__removeBtn:hover {
    background: transparent;
    color: #dc3545;
}

/*  Add Product Page Content End
-------------------------------------------*/

/* new image uploader  */

.bypass-img-upload-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: start;
}

.bypass-img-upload-container .direct-uploader {
    width: 120px;
    height: 120px;
    order: 999;
    border: 1px dashed #cbd5e0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    margin-left: -8px;
}

.direct-uploader input {
    display: none;
}

.direct-uploader .upload-icon {
    width: 40px;
    height: 40px;
}

.bypass-img-upload-container .direct-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    display: contents;
}

.direct-file-preview-item {
    width: 120px !important;
    height: 120px !important;
    border: 1px solid #ebedf2;
    border-radius: 6px;
    padding: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.direct-file-preview-item .thumb {
    width: 100%;
    height: 80px;
    background: #f1f2f4;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 4px;
}

.direct-file-preview-item img,
.direct-file-preview-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.direct-file-preview-item .body {
    margin-top: 4px;
    flex: 1;
}

.direct-file-preview-item .body h6 {
    font-size: 12px;
    margin: 0;
}

.direct-file-preview-item .body p {
    font-size: 10px;
    color: #6c757d;
    margin: 0;
}

.direct-file-preview-item .remove {
    position: absolute;
    top: -6px;
    right: -6px;
}

.direct-file-preview-item .remove .btn {
    padding: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eaeaea;
    text-align: center;
    line-height: 22px;
}

/* new image uploader end  */


.refund-days-code:hover {
    border: 2px solid var(--light);
    background-color: transparent !important;
}

.refund-days-code:focus-within {
    border: 2px solid var(--blue) !important;
}

.refund-days-code {
    width: 90%;
}

@media (max-width: 1399px) {
    .refund-days-code {
        width: 100%;
    }
}

.refund-days-code #pen-icon,
.refund-days-code button span,
.refund-days-message {
    display: none;
}

/* Hover: Show pen */
.refund-days-code:hover #pen-icon {
    display: block !important;
    margin-top: 3px;
}

/* Focus: Hide pen, show button & message */
.refund-days-code:focus-within #pen-icon {
    display: none !important;
}

.refund-days-code:focus-within button span,
.refund-days-code:focus-within .refund-days-message {
    display: block !important;
}

.refund-reason-code:hover {
    border: 2px solid var(--light);
    background-color: transparent !important;
}

.refund-reason-code:focus-within {
    border: 2px solid var(--blue) !important;
}

.refund-reason-code {
    width: 100%;
}

@media (max-width: 1399px) {
    .refund-reason-code {
        width: 100%;
    }
}

.refund-reason-code #pen-icon,
.refund-reason-code button span,
.refund-reason-message {
    display: none;
}

/* Hover: Show pen */
.refund-reason-code:hover #pen-icon {
    display: block !important;
    margin-top: 3px;
}

/* Focus: Hide pen, show button & message */
.refund-reason-code:focus-within #pen-icon {
    display: none !important;
}

.refund-reason-code:focus-within button span,
.refund-reason-code:focus-within .refund-reason-message {
    display: block !important;
}

body::-webkit-scrollbar {
    /* width: 5px!important; */
    display: none !important;
}

/*-------------------- Custom Input with Pen and Clear Field Start --------------*/
/*Hover & Focus */
.custom-input-pen-clear-field:hover {
    border: 2px solid var(--light);
    background-color: transparent !important;
}

.custom-input-pen-clear-field:focus-within {
    border: 2px solid var(--blue) !important;
}


.custom-input-pen-clear-field #pen-icon,
.custom-input-pen-clear-field button span,
.input-field-message {
    display: none;
}

/* Hover: Show pen */
.custom-input-pen-clear-field:hover #pen-icon {
    display: block !important;
    margin-top: 3px;
}

/* Focus: Hide pen, show button & message */
.custom-input-pen-clear-field:focus-within #pen-icon {
    display: none !important;
}

.custom-input-pen-clear-field:focus-within button span,
.custom-input-pen-clear-field:focus-within .input-field-message {
    display: block !important;
    z-index: 1000 !important;
}

/*-------------------- Custom Input with Pen and Clear Field End --------------*/


/*-------------------- Aiz Table border (Left Right borderless Start --------------*/
@media (min-width: 991.98px) {

    .aiz-table.aiz-border-rl-borderless-table td:first-child,
    .aiz-table.aiz-border-rl-borderless-table th:first-child,
    .aiz-border-rl-borderless-table {
        border-left: 0 !important;
    }

    [dir="rtl"] .aiz-table.aiz-border-rl-borderless-table td:first-child,
    .aiz-table.aiz-border-rl-borderless-table th:first-child,
    .aiz-border-rl-borderless-table {
        border-right: 0 !important;
    }

    .aiz-table.aiz-border-rl-borderless-table td:last-child,
    .aiz-table.aiz-border-rl-borderless-table th:last-child,
    .aiz-border-rl-borderless-table {
        border-right: 0 !important;
    }

    [dir="rtl"] .aiz-table.aiz-border-rl-borderless-table td:last-child,
    .aiz-table.aiz-border-rl-borderless-table th:last-child,
    .aiz-border-rl-borderless-table {
        border-left: 0 !important;
    }

}

/*-------------------- Aiz Table border (Left Right borderless End --------------*/


/*-------------------- Promotion & Offers Start --------------*/

.dashboard-content-wrapper {
    background: linear-gradient(180deg, #F2DCEB 0%, #ffffff 30%);
    margin-top: -20px;
    margin-left: -30px;
    margin-right: -30px;

}

@media (max-width: 1200px) {
    .dashboard-content-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width: 1400px) {
    .dashboard-content-wrapper {
        margin-left: -25px;
        margin-right: -25px;
    }
}

.dashboard-content-wrapper .gap-12 {
    gap: 12px;
}

.dashboard-content-wrapper .gap-16 {
    gap: 16px;
}

.dashboard-content-wrapper .mt-m-6px {
    margin-top: -6px;
}

.dashboard-content-wrapper .min-w-0 {
    min-width: 0;
}

.coming-soon-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-content-wrapper .card {
    transition: all 0.6s ease;
    min-height: 218px;
}

.dashboard-content-wrapper .card .sub-title {
    min-height: 34px;
}

.dashboard-content-wrapper .card:hover {
    border-color: var(--blue) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
}

.dashboard-content-wrapper .card .la-arrow-right {
    opacity: 0;
    transform: translateX(-10px);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.dashboard-content-wrapper .card:hover .la-arrow-right {
    opacity: 1 !important;
    transform: translateX(0);
}


@media (min-width: 768px) and (max-width: 991px) {
    .todays-deals-number-box {
        height: 188px;
    }
}


@media (min-width: 767px) {
    .fs-md-30 {
        font-size: 30px !important;
    }
}



/*BOGO Start*/
.bogo-card-input {
    display: none;
}

.bogo-card {
    transition: all 0.3s ease;
}

.bogo-card-input:checked+.bogo-card {
    border-color: var(--blue) !important;
    background-color: #f8f9ff !important;
}

.bogo-card-input:checked+.bogo-card .radio-circle {
    border-color: var(--blue) !important;
}

.bogo-card-input:checked+.bogo-card .radio-circle::after {
    content: '';
    width: 12px;
    height: 12px;
    background: var(--blue) !important;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Tab Content Animation */
.custom-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.custom-tab-pane.d-show {
    display: block;
}

.custom-tab-pane.animate-in {
    opacity: 1;
    transform: translateY(0);
}


/*-------------------- Promotion & Offers End --------------*/



/*-------------------- aiz-border-bottom-dashed-table Start (tr only bottom border-dashed) Start --------------*/

.aiz-border-bottom-dashed-table td {
    border: 0 !important;
}

.aiz-border-bottom-dashed-table tr {
    border-bottom: 1px dashed #dee2e6 !important;
}

.aiz-border-bottom-dashed-table tr:last-child {
    border-bottom: 0 !important;
}

/*-------------------- aiz-border-bottom-dashed-table Start (tr only bottom border-dashed) End --------------*/

/* manage order modal dropdown */
select.form-control.mo-custom-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("../img/icons/keyboard-arrow-down.svg") !important;
    background-repeat: no-repeat !important;
    background-position: calc(100% - 15px) center !important;
    background-size: 24px !important;
    padding-right: 40px !important;
}


/*-------------------- Order Tracking Progress Start --------------*/
.timeline-item {
    gap: 15px;
}

.connector-line {
    width: 2px;
    flex-grow: 1;
    min-height: 60px;
}

.line-dashed {
    border-left: 2px dashed #cbd5e1;
}

.order-tracking-pulse-ring {
    animation: timeline-pulse 1.8s infinite;
}

@keyframes timeline-pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

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

/*-------------------- Order Tracking Progress End --------------*/



/*-------------------- Design Studio Start --------------*/
.design-studio-wrapper {
    background: linear-gradient(180deg, #FFF6E4 0%, #ffffff 256px);
    margin-top: -20px;
    margin-left: -30px;
    margin-right: -30px;
}

@media (max-width: 1400px) {
    .design-studio-wrapper {
        margin-left: -25px;
        margin-right: -25px;
    }
}

@media (max-width: 1200px) {
    .design-studio-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }
}

.design-studio-wrapper .design-studio-input {
    display: none;
}

.design-studio-wrapper .design-studio-card:hover {
    border-color: #a8c8f0 !important;
    background: #f5f9ff;
}

.design-studio-input:checked+.design-studio-card {
    border-color: var(--blue) !important;
    background: #EAF4FE !important;
}

.design-studio-tab-pane {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.design-studio-tab-pane .setting-link-wrapper {
    gap: 12px;
}

.design-studio-tab-pane.d-show {
    display: block;
}

.design-studio-tab-pane.animate-in {
    opacity: 1;
}

.design-studio-tab-pane .tab-content-inner {
    box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.10),
        0 1px 4px 0 rgba(0, 0, 0, 0.05);
}

.tab-content-close-btn {
    position: absolute;
    top: 18px;
    right: 20px;
}

.tab-content-close-btn:hover {
    color: #333;
}

/*-------------------- Design Studio End --------------*/



/*------------------------------------------------------ 
  1. Product Management, 
  2. Marketing Dashboard, 
  3. Business Setting ,
  4. Feature Activation,
  5. Marketing Analytics Dashboard
  ---- START ------------------------------------------*/

.product-managment-wrapper {
    background: linear-gradient(180deg, #FFE5E5 0%, #ffffff 256px);
}

.marketing-dashboard-content-wrapper {
    background: linear-gradient(180deg, #E2EFF0 0%, #ffffff 256px);
}

.business-setting-wrapper {
    background: linear-gradient(180deg, #daeeff 0%, #ffffff 30%);
}

.feature-activation-wrapper {
    background: linear-gradient(180deg, #ECD6FA 0%, #ffffff 256px);
}

.marketing-analytics-dashboard-content-wrapper {
    background: linear-gradient(180deg, #E1EEEF 0%, #ffffff 256px)
}


.marketing-dashboard-content-wrapper .card span,
.business-setting-wrapper .card span,
.feature-activation-wrapper .card .sub-title,
.marketing-analytics-dashboard-content-wrapper .card span {
    min-height: 35px;
}

.product-managment-wrapper,
.marketing-dashboard-content-wrapper,
.business-setting-wrapper,
.feature-activation-wrapper,
.marketing-analytics-dashboard-content-wrapper {
    margin-top: -20px;
    margin-left: -30px;
    margin-right: -30px;
}


@media (max-width: 1400px) {

    .product-managment-wrapper,
    .marketing-dashboard-content-wrapper,
    .business-setting-wrapper,
    .feature-activation-wrapper,
    .marketing-analytics-dashboard-content-wrapper {
        margin-left: -25px;
        margin-right: -25px;
    }
}

@media (min-width: 1200px) {

    .product-managment-wrapper,
    .marketing-dashboard-content-wrapper,
    .business-setting-wrapper,
    .feature-activation-wrapper,
    .marketing-analytics-dashboard-content-wrapper {
        padding-right: 16px;
        padding-left: 16px;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {

    .product-managment-wrapper,
    .marketing-dashboard-content-wrapper,
    .business-setting-wrapper,
    .feature-activation-wrapper,
    .marketing-analytics-dashboard-content-wrapper {
        padding-right: 12px;
        padding-left: 12px;
    }
}

@media (max-width: 991px) {

    .product-managment-wrapper,
    .marketing-dashboard-content-wrapper,
    .business-setting-wrapper,
    .feature-activation-wrapper,
    .marketing-analytics-dashboard-content-wrapper {
        margin-left: -15px;
        margin-right: -15px;
    }
}

@media (max-width: 576px) {

    .product-managment-wrapper,
    .marketing-dashboard-content-wrapper,
    .business-setting-wrapper,
    .feature-activation-wrapper,
    .marketing-analytics-dashboard-content-wrapper {
        padding-right: 0;
        padding-left: 0;
    }
}

.product-managment-wrapper .card:hover,
.marketing-dashboard-content-wrapper .card:hover,
.business-setting-wrapper .card:hover,
.feature-activation-wrapper .card:hover,
.marketing-analytics-dashboard-content-wrapper .card:hover {
    border-color: var(--blue) !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12) !important;
}


/* Product Management Card Height Responsive */
@media (min-width: 1201px) and (max-width: 1575px) {
    .product-managment-wrapper .card {
        min-height: 150px;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .product-managment-wrapper .card {
        min-height: 120px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-managment-wrapper .card {
        min-height: 105px;
    }
}

/* Feature Activation Card Height Responsive */
@media (min-width: 1665px) {
    .feature-activation-wrapper .card {
        min-height: 170px;
    }
}

@media (min-width: 1025px) and (max-width: 1664px) {
    .feature-activation-wrapper .card {
        min-height: 200px;
    }
}

@media (min-width: 767px) and (max-width: 1024px) {
    .feature-activation-wrapper .card {
        min-height: 180px;
    }
}

/*------------------------------------------------------ 
  1. Product Management, 
  2. Marketing Dashboard, 
  3. Business Setting ,
  4. Feature Activation,
  5. Marketing Analytics Dashboard
  ---- END ------------------------------------------*/




/* Shared layout width utility (used by RS Residence header/footer) */
.layout-container {
    width: 100%;
    max-width: 2560px;
}



/*-------------------- Left Offcanvas wrapper Start --------------*/
#leftOffcanvas {
    box-shadow: rgba(50, 50, 93, 0.16) 0px 0px 40px;
    transition: left 0.4s ease;
    min-height: 100vh;
    z-index: 9999 !important;
}

.left-offcanvas-sm {
    width: 240px;
    left: -240px;
}

.left-offcanvas-md {
    width: 450px;
    left: -450px;
}

.left-offcanvas-lg {
    width: 648px;
    left: -648px;
}

.body-no-scroll {
    overflow: hidden;
}

@media (min-width: 320px) and (max-width: 575px) {
    #leftOffcanvas {
        left: -90%;
        width: 90% !important;
    }
}


#leftOffcanvas .left-offcanvas-body {
    /* padding-left: 12px; */
    padding-bottom: 120px;
    width: 100%;
    overflow-y: scroll;
    height: 100vh;
}

#leftOffcanvas.active {
    left: 0;
}

#leftOffcanvasOverlay {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(1px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1060;
    cursor: url('../img/cursor-cross.svg') 16 16, crosshair;
}

#leftOffcanvasOverlay.active {
    opacity: 1;
    visibility: visible;
}

/*-------------------- Left Offcanvas wrapper End --------------*/

/* ========== BACK TO TOP BUTTON Start ========== */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 25px;
    width: 45px;
    height: 45px;
    border: none;
    border-radius: 50%;
    background-color: var(--dark);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
    z-index: 1100;
    will-change: transform, opacity;
    transition: all .6s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
}

#backToTop:hover {
    transform: translateY(-3px);
    background-color: var(--blue);
}

/* ========== BACK TO TOP BUTTON End ========== */

/* ========== RS Residence Featured Categories ========== */
.rs-featured-categories__header {
    padding-bottom: 0;
}

.rs-featured-categories__title {
    color: var(--dark, #1a1a1a);
    letter-spacing: -0.01em;
}

.rs-featured-categories__link {
    color: var(--primary);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Desktop grid */
.rs-featured-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e8e8e8;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
}

.rs-featured-categories__card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 28px;
    background: #fff;
    transition: background-color 0.2s ease;
}

.rs-featured-categories__card:hover {
    background: #fafafa;
}

.rs-featured-categories__image {
    display: block;
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.rs-featured-categories__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rs-featured-categories__body {
    flex: 1;
    min-width: 0;
    padding-top: 4px;
}

.rs-featured-categories__name {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px !important;
}

.rs-featured-categories__name a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.rs-featured-categories__links li+li {
    margin-top: 6px;
}

.rs-featured-categories__links a {
    font-size: 13px;
    font-weight: 400;
    color: #666;
    line-height: 1.4;
    display: inline-block;
}

.rs-featured-categories__links a:hover {
    color: var(--primary);
}

@media (min-width: 1200px) {
    .rs-featured-categories__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .rs-featured-categories__image {
        width: 130px;
        height: 130px;
    }
}

/* Mobile stacked cards */
.rs-featured-categories__mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rs-featured-categories__mobile-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.rs-featured-categories__mobile-image {
    display: block;
    flex-shrink: 0;
    width: 88px;
    height: 88px;
    border-radius: 10px;
    overflow: hidden;
    background: #f5f5f5;
}

.rs-featured-categories__mobile-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.rs-featured-categories__mobile-body {
    flex: 1;
    min-width: 0;
}

.rs-featured-categories__mobile-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px !important;
}

.rs-featured-categories__mobile-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.rs-featured-categories__mobile-links li+li {
    margin-top: 4px;
}

.rs-featured-categories__mobile-links a {
    font-size: 12px;
    font-weight: 400;
    color: #666;
    line-height: 1.45;
    display: inline-block;
}

.rs-featured-categories__mobile-links a:hover {
    color: var(--primary);
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-featured-categories__header {
        padding-left: 2px;
        padding-right: 2px;
    }

    .aiz-rs_residence .rs-featured-categories__title {
        position: relative;
        padding-bottom: 8px;
    }

    .aiz-rs_residence .rs-featured-categories__title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 32px;
        height: 3px;
        border-radius: 999px;
        background-color: var(--primary);
    }
}

/* ========== RS Residence Featured Categories End ========== */

/* RS Residence header sizing */
.aiz-rs_residence {
    --rs-brand-teal: var(--primary, #009cff);
    --rs-brand-cyan: var(--primary, #009cff);
    --rs-brand-blue: var(--primary, #009cff);
    --rs-brand-gradient: var(--primary, #009cff);
    --rs-brand-gradient-soft: rgba(0, 156, 255, 0.12);
    --rs-brand-ring: rgba(0, 156, 255, 0.45);
    --rs-brand-shadow: rgba(0, 156, 255, 0.22);
}

.aiz-rs_residence .top-banner {
    background: var(--primary, #009cff) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.aiz-rs_residence .top-banner .d-block.text-reset {
    position: relative;
}

.aiz-rs_residence .top-banner .d-block.text-reset::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.18), transparent 42%);
    pointer-events: none;
}

.aiz-rs_residence .top-banner .top-banner-scroll-text {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.aiz-rs_residence .top-banner .top-banner-scroll-inner a {
    padding: 0 22px;
    position: relative;
    color: #ffffff !important;
}

.aiz-rs_residence .top-banner .top-banner-scroll-inner a+a::before {
    content: "•";
    position: absolute;
    left: -3px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    font-size: 14px;
}

.aiz-rs_residence .top-banner .top-banner-scroll-inner a.has-link:hover {
    opacity: 0.9;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.aiz-rs_residence .top-banner .set-session {
    width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease;
}

.aiz-rs_residence .top-banner .set-session:hover {
    background: rgba(0, 0, 0, 0.3);
}

.aiz-rs_residence .top-banner .set-session i {
    color: #fff !important;
    font-size: 20px !important;
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .top-banner .top-banner-scroll-text {
        font-size: 13px;
    }

    .aiz-rs_residence .top-banner .top-banner-scroll-inner a {
        padding: 0 14px;
    }

    .aiz-rs_residence .top-banner .set-session {
        width: 36px;
    }
}

.rs-topbar {
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%) !important;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: none;
}

.rs-topbar-inner {
    height: 44px;
    min-height: 44px;
    gap: 1rem;
    align-items: center;
}

.rs-topbar-left,
.rs-topbar-right {
    display: flex !important;
    align-items: center !important;
    align-self: stretch;
    height: 100%;
    gap: 6px;
    margin-bottom: 0;
    padding: 0;
}

.rs-topbar-left .list-inline-item,
.rs-topbar-right .list-inline-item {
    display: inline-flex;
    align-items: center;
    margin: 0 !important;
    vertical-align: middle;
}

.rs-topbar-link,
.rs-topbar-helpline-link {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
    letter-spacing: 0.01em;
}

.rs-topbar-link:hover,
.rs-topbar-helpline-link:hover {
    opacity: 1;
    text-decoration: none;
    color: var(--primary) !important;
}

.rs-topbar-helpline-link {
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    gap: 0.35rem;
}

.rs-topbar-helpline-link:hover {
    background: #fff;
    border-color: rgba(var(--primary-rgb, 212, 37, 44), 0.25);
}

.rs-topbar-helpline-link .helpline-label {
    margin-right: 0.35rem;
    opacity: 0.75;
}

.rs-topbar-helpline-link i {
    font-size: 16px;
}

.rs-topbar-social-wrap {
    display: inline-flex;
    align-items: center;
    align-self: center;
    height: 100%;
    margin-left: 0.5rem;
    padding-left: 0.5rem;
}

.rs-topbar .rs-topbar-social.rs-social-links {
    display: inline-flex;
    align-items: center;
    align-self: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0;
    height: auto;
    line-height: 1;
}

.rs-topbar .rs-topbar-social .rs-social-brand {
    width: 30px !important;
    height: 30px !important;
    line-height: 1 !important;
    border-radius: 6px !important;
    border: none !important;
    transform: none;
    padding: 0 !important;
    color: #fff !important;
    font-size: 15px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.rs-topbar .rs-topbar-social .rs-social-brand i {
    line-height: 1;
    display: block;
}

.rs-topbar .rs-topbar-social .rs-social-brand-svg {
    width: 16px;
    height: 16px;
    display: block;
    fill: currentColor;
}

.rs-topbar .rs-topbar-social .rs-social-brand--tiktok {
    background: #010101 !important;
    color: #fff !important;
}

.rs-topbar .rs-topbar-social .rs-social-brand:hover {
    transform: translateY(-1px);
    opacity: 1;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.18);
    filter: brightness(1.05);
}

.rs-topbar .rs-topbar-social .rs-social-brand--facebook,
.rs-topbar .rs-topbar-social .rs-social-brand--instagram,
.rs-topbar .rs-topbar-social .rs-social-brand--telegram,
.rs-topbar .rs-topbar-social .rs-social-brand--linkedin,
.rs-topbar .rs-topbar-social .rs-social-brand--tiktok,
.rs-topbar .rs-topbar-social .rs-social-brand--youtube,
.rs-topbar .rs-topbar-social .rs-social-brand--google-map {
    background: #010101 !important;
    color: #fff !important;
}

.rs-topbar .rs-topbar-social .rs-social-brand--facebook:hover,
.rs-topbar .rs-topbar-social .rs-social-brand--instagram:hover,
.rs-topbar .rs-topbar-social .rs-social-brand--telegram:hover,
.rs-topbar .rs-topbar-social .rs-social-brand--linkedin:hover,
.rs-topbar .rs-topbar-social .rs-social-brand--tiktok:hover,
.rs-topbar .rs-topbar-social .rs-social-brand--youtube:hover,
.rs-topbar .rs-topbar-social .rs-social-brand--google-map:hover {
    background: #222222 !important;
    color: #fff !important;
}

/* Legacy topbar img icons (footer/other) */
.rs-topbar .rs-topbar-social .rs-social-icon-link:not(.rs-social-brand) {
    width: 28px !important;
    height: 28px !important;
    line-height: 1 !important;
    border-radius: 6px !important;
    background: rgba(255, 255, 255, 0.55) !important;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transform: none;
    padding: 0 !important;
}

.rs-topbar .rs-topbar-social .rs-social-icon-link:not(.rs-social-brand):hover {
    transform: translateY(-1px);
    opacity: 1;
    background: #fff !important;
    border-color: rgba(var(--primary-rgb, 212, 37, 44), 0.2);
}

.rs-social-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.rs-social-links .list-inline-item {
    margin: 0 !important;
}

.rs-social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border-radius: 0;
    padding: 0;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.rs-social-icon-link:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.rs-social-links:not(.rs-topbar-social):not(.rs-footer__social) .rs-social-icon-link {
    width: auto !important;
    height: auto !important;
    line-height: 1 !important;
    background: transparent !important;
    border-radius: 0 !important;
}

.rs-social-icon-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    display: block;
}

.rs-topbar-social .rs-social-icon-img {
    width: 18px;
    height: 18px;
}

.rs-topbar .lang-switcher-toggle {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    font-size: 12px;
    font-weight: 500;
    gap: 0.35rem;
}

.rs-topbar .lang-switcher-toggle:hover {
    background: #fff;
    border-color: rgba(var(--primary-rgb, 212, 37, 44), 0.25);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.rs-topbar #currency-change .dropdown-toggle {
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(15, 23, 42, 0.08);
    font-size: 12px;
    font-weight: 500;
}

.rs-topbar #currency-change .dropdown-toggle:hover {
    background: #fff;
    border-color: rgba(var(--primary-rgb, 212, 37, 44), 0.25);
}

.rs-topbar #currency-change .dropdown-toggle::after {
    margin-left: 0.35rem;
}

@media (max-width: 767.98px) {
    .rs-topbar-inner {
        height: auto;
        min-height: 40px;
        padding: 6px 0;
        gap: 0.35rem;
    }

    .rs-topbar-left,
    .rs-topbar-right {
        height: auto;
        align-self: center;
    }

    .rs-topbar-left {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .rs-topbar-right {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
    }

    .rs-topbar-left #lang-change.lang-visibility {
        margin-right: 0 !important;
    }

    .rs-topbar .lang-switcher-toggle {
        padding: 0.25rem 0.45rem;
    }

    .rs-topbar #lang-change .lang-switcher-toggle {
        font-size: 14px;
    }

    .rs-topbar #lang-change .lang-switcher-label {
        max-width: 4.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .rs-topbar-social-wrap {
        margin-left: 0;
        padding-left: 0;
        max-width: 100%;
        overflow: hidden;
    }

    .rs-topbar .rs-topbar-social.rs-social-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 0.05rem;
        max-width: 100%;
        padding: 1px 0;
    }

    .rs-topbar .rs-topbar-social.rs-social-links::-webkit-scrollbar {
        display: none;
    }

    .rs-topbar .rs-topbar-social .rs-social-brand {
        width: 28px !important;
        height: 28px !important;
        font-size: 14px;
        border-radius: 5px !important;
    }

    .rs-topbar .rs-topbar-social .rs-social-icon-link:not(.rs-social-brand) {
        flex-shrink: 0;
        padding: 0 0.15rem;
    }

    .rs-topbar-social .rs-social-icon-img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 575.98px) {
    .rs-topbar #lang-change .lang-switcher-label {
        display: none;
    }

    .rs-topbar #lang-change .lang-switcher-flag {
        margin-right: 0 !important;
    }
}

.top-navbar.h-35px {
    height: auto !important;
    min-height: 35px;
}

.rs-topbar #lang-change .lang-switcher-flag {
    height: 14px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

#lang-change .lang-switcher-toggle {
    font-size: 12px;
    line-height: 1.2;
}

#lang-change .lang-switcher-flag,
#lang-change .lang-switcher-dropdown-flag {
    height: 17px;
    width: auto;
}

#lang-change .dropdown-menu .dropdown-item .language {
    font-size: 14px;
}

.rs-topbar #lang-change .dropdown-menu .dropdown-item {
    font-size: 13px;
    padding: 0.5rem 1rem;
}

.rs-topbar #lang-change .dropdown-menu .dropdown-item .language {
    font-size: 13px;
}

/* ========== Language Switcher in Header Row ========== */
.rs-header-lang-switcher {
    position: relative;
}

.rs-header-lang-switcher .list-inline {
    margin: 0;
    padding: 0;
}

.rs-header-lang-switcher #lang-change {
    position: relative;
}

.rs-header-lang-switcher #lang-change .lang-switcher-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.1);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.rs-header-lang-switcher #lang-change .lang-switcher-toggle:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(var(--primary-rgb, 212, 37, 44), 0.25);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.rs-header-lang-switcher #lang-change .lang-switcher-flag {
    height: 16px;
    width: auto;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
    flex-shrink: 0;
}

.rs-header-lang-switcher #lang-change .lang-switcher-label {
    font-size: 13px;
}

.rs-header-lang-switcher #lang-change .dropdown-menu {
    position: absolute !important;
    z-index: 1060 !important;
    margin-top: 0.4rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    min-width: 10rem;
}

.rs-header-lang-switcher #lang-change .dropdown-menu .dropdown-item {
    font-size: 13px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rs-header-lang-switcher #lang-change .lang-switcher-dropdown-flag {
    height: 16px;
    width: auto;
    border-radius: 2px;
    flex-shrink: 0;
}

/* ======================================================= */

.logo-bar-area {
    min-height: 80px;
}

.logo-bar-area .col-auto>a.d-block {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

.logo-bar-area #header-logo-preview {
    height: 40px !important;
    width: auto;
}

@media (min-width: 768px) {
    .logo-bar-area #header-logo-preview {
        height: 48px !important;
    }
}

/* ========== RS Residence — Modern Header (desktop) ========== */
.aiz-rs_residence .rs-topbar {
    position: relative;
    z-index: 1051 !important;
    overflow: visible !important;
}

.aiz-rs_residence .rs-topbar>.container,
.aiz-rs_residence .rs-topbar>.layout-container,
.aiz-rs_residence .rs-topbar-inner,
.aiz-rs_residence .rs-topbar-left,
.aiz-rs_residence .rs-topbar-right {
    overflow: visible !important;
}

.aiz-rs_residence .rs-topbar #lang-change,
.aiz-rs_residence .rs-topbar #currency-change {
    position: relative;
}

.aiz-rs_residence .rs-topbar #lang-change .dropdown-menu,
.aiz-rs_residence .rs-topbar #currency-change .dropdown-menu,
.aiz-rs_residence .rs-topbar .rs-topbar-dropdown {
    position: absolute !important;
    z-index: 1052 !important;
    margin-top: 0.35rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    min-width: 10rem;
}

.aiz-rs_residence .rs-topbar-inner {
    height: 40px;
    min-height: 40px;
}

.aiz-rs_residence header.sticky-top {
    transition: box-shadow 0.25s ease;
    z-index: 1045 !important;
}

/* Mobile nav drawer must stack above sticky header (1045) and top bar (1051) */
.aiz-rs_residence .aiz-top-menu-sidebar {
    z-index: 1065 !important;
}

/* ========== RS Residence — Mobile drawer menu ========== */
.aiz-rs_residence .rs-mobile-drawer .collapse-sidebar {
    width: min(88vw, 340px);
    max-width: none;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    box-shadow: 4px 0 32px rgba(15, 23, 42, 0.14);
    padding: 0;
    overflow: hidden;
}

.aiz-rs_residence .rs-mobile-drawer__panel {
    height: 100%;
}

.aiz-rs_residence .rs-mobile-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: calc(12px + env(safe-area-inset-top, 0px)) 14px 12px 16px;
    background: var(--rs-brand-gradient);
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-width: 0;
    flex: 1;
}

.aiz-rs_residence .rs-mobile-drawer__brand-logo {
    height: 28px;
    width: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}

.aiz-rs_residence .rs-mobile-drawer__brand-name {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiz-rs_residence .rs-mobile-drawer__close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

.aiz-rs_residence .rs-mobile-drawer__close:hover,
.aiz-rs_residence .rs-mobile-drawer__close:focus {
    background: rgba(255, 255, 255, 0.28);
    outline: none;
}

.aiz-rs_residence .rs-mobile-drawer__body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 8px;
}

.aiz-rs_residence .rs-mobile-drawer__user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8edf2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .rs-mobile-drawer__user:hover {
    border-color: var(--rs-brand-ring);
    box-shadow: 0 4px 14px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-mobile-drawer__user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid rgba(0, 156, 255, 0.25);
}

.aiz-rs_residence .rs-mobile-drawer__user-meta {
    flex: 1;
    min-width: 0;
}

.aiz-rs_residence .rs-mobile-drawer__user-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiz-rs_residence .rs-mobile-drawer__user-sub {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 2px;
}

.aiz-rs_residence .rs-mobile-drawer__user-chevron {
    color: #94a3b8;
    font-size: 18px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__guest {
    padding: 14px;
    margin-bottom: 12px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8edf2;
}

.aiz-rs_residence .rs-mobile-drawer__guest-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.aiz-rs_residence .rs-mobile-drawer__guest-desc {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 12px;
    line-height: 1.45;
}

.aiz-rs_residence .rs-mobile-drawer__guest-actions {
    display: flex;
    gap: 8px;
}

.aiz-rs_residence .rs-mobile-drawer__btn {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    padding: 9px 12px;
    border-radius: 10px;
    line-height: 1.2;
}

.aiz-rs_residence .rs-mobile-drawer__btn--primary {
    background: var(--rs-brand-gradient);
    border: none;
    color: #fff;
}

.aiz-rs_residence .rs-mobile-drawer__btn--outline {
    background: #fff;
    border: 1px solid #e2e8f0;
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-mobile-drawer__quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.aiz-rs_residence .rs-mobile-drawer__quick-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 4px;
    background: #fff;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    text-decoration: none !important;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.aiz-rs_residence .rs-mobile-drawer__quick-item:hover,
.aiz-rs_residence .rs-mobile-drawer__quick-item:focus {
    border-color: var(--rs-brand-cyan);
    box-shadow: 0 2px 10px var(--rs-brand-shadow);
    outline: none;
}

.aiz-rs_residence .rs-mobile-drawer__quick-item:active {
    transform: scale(0.97);
}

.aiz-rs_residence .rs-mobile-drawer__quick-icon {
    position: relative;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 20px;
    line-height: 1;
}

.aiz-rs_residence .rs-mobile-drawer__quick-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

.aiz-rs_residence .rs-mobile-drawer__quick-label {
    font-size: 10px;
    font-weight: 600;
    color: #475569;
    text-align: center;
    line-height: 1.2;
}

.aiz-rs_residence .rs-mobile-drawer__promo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    background: linear-gradient(100deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.08) 100%);
    border: 1px solid rgba(245, 158, 11, 0.28);
    border-radius: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .rs-mobile-drawer__promo:hover {
    border-color: rgba(245, 158, 11, 0.45);
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.15);
}

.aiz-rs_residence .rs-mobile-drawer__promo-icon {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f59e0b;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__promo-body {
    flex: 1;
    min-width: 0;
}

.aiz-rs_residence .rs-mobile-drawer__promo-title {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #92400e;
}

.aiz-rs_residence .rs-mobile-drawer__promo-desc {
    display: block;
    font-size: 11px;
    color: #b45309;
    margin-top: 1px;
}

.aiz-rs_residence .rs-mobile-drawer__promo-chevron {
    color: #d97706;
    font-size: 16px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__section {
    margin-bottom: 12px;
}

.aiz-rs_residence .rs-mobile-drawer__section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 8px;
}

.aiz-rs_residence .rs-mobile-drawer__section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #94a3b8;
}

.aiz-rs_residence .rs-mobile-drawer__section-link {
    font-size: 11px;
    font-weight: 600;
    color: var(--rs-brand-teal);
    text-decoration: none !important;
}

/* Drawer category strip — matches header rs-mobile-category-scroll */
.aiz-rs_residence .rs-mobile-drawer__section--categories {
    margin-bottom: 12px;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer {
    position: relative;
    background: transparent !important;
    padding: 0;
    border-bottom: none;
    box-shadow: none;
    overflow: hidden;
    margin: 0 -2px;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 22px;
    z-index: 2;
    pointer-events: none;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__fade--left {
    left: 0;
    background: linear-gradient(90deg, #f8fafc 15%, rgba(248, 250, 252, 0) 100%);
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__fade--right {
    right: 0;
    background: linear-gradient(270deg, #f8fafc 15%, rgba(248, 250, 252, 0) 100%);
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__track {
    display: flex;
    gap: 5px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
    padding: 2px 4px 4px;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__track::-webkit-scrollbar {
    display: none;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item {
    flex: 0 0 72px;
    width: 72px;
    max-width: 72px;
    min-width: 0;
    text-align: center;
    text-decoration: none !important;
    scroll-snap-align: start;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #eef2f6;
    background: linear-gradient(160deg, #ffffff 0%, #f4f7fa 100%);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__icon--all {
    background: var(--rs-brand-gradient-soft);
    border-color: rgba(0, 156, 255, 0.28);
    color: var(--rs-brand-teal);
    font-size: 26px;
    line-height: 1;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item:active .rs-mobile-category-scroll__icon,
.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item:hover .rs-mobile-category-scroll__icon,
.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item:focus-visible .rs-mobile-category-scroll__icon {
    border-color: var(--rs-brand-ring);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item--all:active .rs-mobile-category-scroll__icon,
.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item--all:hover .rs-mobile-category-scroll__icon,
.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item--all:focus-visible .rs-mobile-category-scroll__icon {
    background: var(--rs-brand-gradient);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 8px 20px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item--all {
    flex: 0 0 auto;
    min-width: 72px;
    max-width: 96px;
    width: auto;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__item--all .rs-mobile-category-scroll__label {
    color: var(--rs-brand-teal) !important;
    font-weight: 700;
    white-space: normal;
    line-height: 1.2;
}

.aiz-rs_residence .rs-mobile-category-scroll--drawer .rs-mobile-category-scroll__label {
    display: block;
    margin-top: 6px;
    color: #334155 !important;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    max-width: 100%;
    padding: 0 1px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.aiz-rs_residence .rs-mobile-drawer__nav {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e8edf2;
    overflow: hidden;
}

.aiz-rs_residence .rs-mobile-drawer__nav li+li {
    border-top: 1px solid #f1f5f9;
}

.aiz-rs_residence .rs-mobile-drawer__link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    text-decoration: none !important;
    color: #0f172a;
    transition: background 0.15s ease;
}

.aiz-rs_residence .rs-mobile-drawer__link:hover,
.aiz-rs_residence .rs-mobile-drawer__link.is-active {
    background: var(--rs-brand-gradient-soft);
}

.aiz-rs_residence .rs-mobile-drawer__link.is-active .rs-mobile-drawer__link-text {
    color: var(--rs-brand-teal);
    font-weight: 700;
}

.aiz-rs_residence .rs-mobile-drawer__link-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 16px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__link.is-active .rs-mobile-drawer__link-icon {
    background: rgba(0, 156, 255, 0.15);
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-mobile-drawer__link-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    min-width: 0;
}

.aiz-rs_residence .rs-mobile-drawer__link-badge {
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__link-chevron {
    color: #cbd5e1;
    font-size: 14px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-mobile-drawer__subnav {
    background: #f8fafc;
    border-radius: 10px;
    margin: 4px 12px 10px 12px;
    padding: 6px 0;
    border: 1px solid #e2e8f0;
}

.aiz-rs_residence .rs-mobile-drawer__sublink {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none !important;
    transition: all 0.15s ease;
}

.aiz-rs_residence .rs-mobile-drawer__sublink i {
    font-size: 15px;
    margin-right: 8px;
    color: #50a2ea;
}

.aiz-rs_residence .rs-mobile-drawer__sublink:hover,
.aiz-rs_residence .rs-mobile-drawer__sublink.is-active {
    background: #e6f2fd;
    color: #1B82C5 !important;
    font-weight: 700;
    padding-left: 18px;
}

.aiz-rs_residence .rs-mobile-drawer__footer {
    flex-shrink: 0;
    padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid #e8edf2;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.aiz-rs_residence .rs-mobile-drawer__helpline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 12px;
    background: var(--rs-brand-gradient-soft);
    border: 1px solid rgba(0, 156, 255, 0.2);
    color: var(--rs-brand-teal);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.aiz-rs_residence .rs-mobile-drawer__helpline i {
    font-size: 18px;
}

.aiz-rs_residence .rs-mobile-drawer__helpline span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiz-rs_residence .rs-mobile-drawer__logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border-radius: 10px;
    color: #ef4444;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.2s ease;
}

.aiz-rs_residence .rs-mobile-drawer__logout:hover {
    background: rgba(239, 68, 68, 0.08);
}

.aiz-rs_residence .logo-bar-area {
    min-height: 76px;
    background: #fff;
    border-bottom: none !important;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .logo-bar-area>.layout-container>.d-flex,
.aiz-rs_residence .logo-bar-area>.container>.d-flex {
    min-height: 76px;
    align-items: center;
    gap: 0.75rem;
}

.aiz-rs_residence .logo-bar-area .col-auto>a.d-block {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    margin-right: 0.5rem !important;
}

.aiz-rs_residence .logo-bar-area #header-logo-preview {
    height: 44px !important;
    transition: transform 0.2s ease;
}

.aiz-rs_residence .logo-bar-area .col-auto>a.d-block:hover #header-logo-preview {
    transform: scale(1.02);
}

@media (min-width: 992px) {
    .aiz-rs_residence .logo-bar-area #header-logo-preview {
        height: 52px !important;
    }
}

/* Modern search pill */
.aiz-rs_residence .logo-bar-area .front-header-search {
    background: transparent !important;
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
    max-width: none;
    width: 100%;
}

.aiz-rs_residence .logo-bar-area .front-header-search>.position-relative {
    width: 100%;
}

.aiz-rs_residence .logo-bar-area .front-header-search form,
.aiz-rs_residence .logo-bar-area .front-header-search .search-input-box {
    width: 100%;
}

.aiz-rs_residence .search-input-box .form-control {
    height: 46px;
    padding: 0.625rem 3rem 0.625rem 1.25rem;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1.5px solid transparent;
    font-size: 14px;
    color: #1e293b;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .search-input-box .form-control::placeholder {
    color: #94a3b8;
}

.aiz-rs_residence .search-input-box .form-control:focus {
    background: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 212, 37, 44), 0.12);
}

.aiz-rs_residence .search-input-box>svg {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.55;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.aiz-rs_residence .search-input-box:focus-within>svg {
    opacity: 1;
}

.aiz-rs_residence .search-input-box:focus-within>svg path {
    fill: var(--primary);
}

/* Logo bar — action cluster (compare, wishlist, notifications, auth) */
.aiz-rs_residence .logo-bar-area .rs-header-actions {
    gap: 0.5rem;
    margin-left: auto !important;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions__icons {
    gap: 0.35rem;
    padding: 0.2rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #eef2f6;
}

@media (min-width: 992px) {

    .aiz-rs_residence .logo-bar-area .rs-header-actions .rs-header-actions__icons .d-none.d-lg-block.ml-3.mr-0,
    .aiz-rs_residence .logo-bar-area .rs-header-actions .rs-header-actions__icons .d-none.d-lg-block.mr-3,
    .aiz-rs_residence .logo-bar-area .rs-header-actions .rs-header-actions__icons ul.list-inline.d-none.d-xl-flex {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0;
    }

    .aiz-rs_residence .logo-bar-area .rs-header-actions .rs-header-actions__icons ul.list-inline.d-none.d-xl-flex>li.list-inline-item.ml-3.mr-3 {
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Show notifications + profile from lg up (avoid empty icon row) */
    .aiz-rs_residence .logo-bar-area .rs-header-actions ul.list-inline.d-none.d-xl-flex,
    .aiz-rs_residence .logo-bar-area .rs-header-actions>.rs-header-actions__auth.d-none.d-xl-block {
        display: flex !important;
    }

    .aiz-rs_residence .logo-bar-area .rs-header-actions>.rs-header-actions__auth.d-none.d-xl-block {
        display: block !important;
    }

    .aiz-rs_residence .logo-bar-area .rs-header-actions:has(.rs-header-actions__icons)>.rs-header-actions__auth {
        padding-left: 0.65rem;
        margin-left: 0.15rem !important;
        border-left: 1px solid #e2e8f0;
    }
}

@media (min-width: 992px) {

    .aiz-rs_residence .logo-bar-area .d-none.d-lg-block.ml-3.mr-0,
    .aiz-rs_residence .logo-bar-area .d-none.d-lg-block.mr-3[style],
    .aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex,
    .aiz-rs_residence .logo-bar-area .d-none.d-xl-block.ml-auto.mr-0 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        flex-shrink: 0;
    }

    .aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex>li.list-inline-item.ml-3.mr-3 {
        margin: 0 !important;
        padding: 0 !important;
    }
}

.aiz-rs_residence .logo-bar-area .nav-search-box a,
.aiz-rs_residence .logo-bar-area .d-lg-none.ml-auto>a {
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569 !important;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .logo-bar-area .d-lg-none.ml-auto>a:hover {
    background: #fff;
    border-color: #009cff;
    color: #004c99 !important;
    box-shadow: 0 2px 10px rgba(0, 156, 255, 0.12);
}

/* Icon buttons — compare, wishlist, notifications */
.aiz-rs_residence .logo-bar-area #compare a,
.aiz-rs_residence .logo-bar-area #wishlist a,
.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .dropdown-toggle.no-arrow {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid transparent;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    color: #475569 !important;
    text-decoration: none !important;
    position: relative;
    overflow: visible;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .logo-bar-area #compare a>.position-relative,
.aiz-rs_residence .logo-bar-area #wishlist a>.position-relative,
.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .dropdown-toggle.no-arrow>.position-relative {
    position: static !important;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions__icons #compare a,
.aiz-rs_residence .logo-bar-area .rs-header-actions__icons #wishlist a,
.aiz-rs_residence .logo-bar-area .rs-header-actions__icons .dropdown-toggle.no-arrow {
    background: transparent;
    border-color: transparent;
}

.aiz-rs_residence .logo-bar-area #compare a:hover,
.aiz-rs_residence .logo-bar-area #wishlist a:hover,
.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .dropdown-toggle.no-arrow:hover,
.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .dropdown.show .dropdown-toggle.no-arrow {
    background: #fff;
    border-color: #009cff;
    color: #004c99 !important;
    box-shadow: 0 2px 10px rgba(0, 156, 255, 0.12);
    transform: translateY(-1px);
}

.aiz-rs_residence .logo-bar-area .rs-header-actions__icons #compare a:hover,
.aiz-rs_residence .logo-bar-area .rs-header-actions__icons #wishlist a:hover,
.aiz-rs_residence .logo-bar-area .rs-header-actions__icons .dropdown.show .dropdown-toggle.no-arrow,
.aiz-rs_residence .logo-bar-area .rs-header-actions__icons .dropdown-toggle.no-arrow:hover {
    background: #fff;
    border-color: #dbeafe;
    box-shadow: 0 1px 6px rgba(0, 156, 255, 0.1);
}

.aiz-rs_residence .logo-bar-area #compare a svg,
.aiz-rs_residence .logo-bar-area #wishlist a svg {
    width: 18px;
    height: auto;
}

.aiz-rs_residence .logo-bar-area #compare a svg path,
.aiz-rs_residence .logo-bar-area #wishlist a svg path,
.aiz-rs_residence .logo-bar-area #compare a svg g path,
.aiz-rs_residence .logo-bar-area #wishlist a svg g path {
    fill: currentColor !important;
    transition: fill 0.2s ease;
}

.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .dropdown-toggle.no-arrow svg {
    width: 18px;
    height: auto;
}

.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .dropdown-toggle.no-arrow svg path {
    fill: currentColor !important;
}

.aiz-rs_residence .logo-bar-area #compare,
.aiz-rs_residence .logo-bar-area #wishlist {
    display: flex;
    align-items: center;
}

.aiz-rs_residence .logo-bar-area #compare>div,
.aiz-rs_residence .logo-bar-area #wishlist>div {
    display: flex;
    align-items: center;
}

/* Count badges on icons */
.aiz-rs_residence .logo-bar-area #compare .badge,
.aiz-rs_residence .logo-bar-area #wishlist .badge,
.aiz-rs_residence .logo-bar-area ul.list-inline.d-none.d-xl-flex .badge {
    position: absolute;
    top: 4px;
    right: 1px;
    left: auto;
    min-width: 13px;
    height: 13px;
    padding: 0 3px;
    font-size: 8px;
    font-weight: 700;
    line-height: 13px;
    border-radius: 999px;
    background: linear-gradient(135deg, #004c99 0%, #009cff 100%) !important;
    color: #fff !important;
    border: 1px solid #fff;
    box-shadow: 0 1px 3px rgba(0, 76, 153, 0.2);
    transform: translateX(35%);
    pointer-events: none;
}

.aiz-rs_residence .logo-bar-area .absolute-top-right--10px {
    top: 4px !important;
    right: 1px !important;
    transform: translateX(35%);
}

/* Auth area — guest & logged-in */
.aiz-rs_residence .logo-bar-area .nav-user-info {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.35rem 0.3rem 0.3rem !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .logo-bar-area .nav-user-info:hover {
    background: #fff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .logo-bar-area .nav-user-info.py-20px {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}

.aiz-rs_residence .logo-bar-area .nav-user-info.ml-3 {
    margin-left: 0 !important;
}

.aiz-rs_residence .logo-bar-area .nav-user-img {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0;
    border: 1px solid #e2e8f0 !important;
    background: linear-gradient(145deg, #e0f2fe 0%, #f0f9ff 100%);
    color: #004c99 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .logo-bar-area .nav-user-info:hover .nav-user-img {
    border-color: #009cff !important;
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.12);
}

.aiz-rs_residence .logo-bar-area #nav-user-info .nav-user-img {
    border: 2px solid #e2e8f0 !important;
    background: #fff;
}

.aiz-rs_residence .logo-bar-area #nav-user-info h4 {
    font-size: 13px !important;
    font-weight: 600 !important;
    max-width: 130px;
    margin: 0 0.65rem 0 0.15rem !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #1e293b !important;
    opacity: 1 !important;
}

/* Guest — Login & Registration */
.aiz-rs_residence .logo-bar-area .rs-auth-link {
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 0.45rem 0.75rem !important;
    margin: 0 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease !important;
}

.aiz-rs_residence .logo-bar-area .rs-auth-link--login {
    color: #475569 !important;
}

.aiz-rs_residence .logo-bar-area .rs-auth-link--login:hover {
    color: #004c99 !important;
    background: rgba(0, 156, 255, 0.08);
}

.aiz-rs_residence .logo-bar-area .rs-auth-link--register {
    background: linear-gradient(135deg, #004c99 0%, #009cff 100%) !important;
    color: #fff !important;
    padding: 0.45rem 1rem !important;
    margin-left: 0.1rem !important;
    box-shadow: 0 2px 8px rgba(0, 76, 153, 0.2);
}

.aiz-rs_residence .logo-bar-area .rs-auth-link--register:hover {
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 76, 153, 0.28);
    transform: translateY(-1px);
}

.aiz-rs_residence .logo-bar-area .nav-user-info>a.middle-text-color-visibility {
    font-size: 13px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    color: #475569 !important;
    border: none !important;
    border-right: none !important;
    padding: 0.45rem 0.7rem !important;
    margin: 0 !important;
    border-radius: 999px !important;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease !important;
    white-space: nowrap;
}

.aiz-rs_residence .logo-bar-area .nav-user-info>a.middle-text-color-visibility[style] {
    color: #475569 !important;
}

.aiz-rs_residence .logo-bar-area .nav-user-info>a[href*="login"]:hover {
    color: #004c99 !important;
    background: rgba(0, 156, 255, 0.08);
}

.aiz-rs_residence .logo-bar-area .nav-user-info>a[href*="registration"] {
    background: linear-gradient(135deg, #004c99 0%, #009cff 100%) !important;
    color: #fff !important;
    padding: 0.45rem 1rem !important;
    margin-left: 0.1rem !important;
    box-shadow: 0 2px 8px rgba(0, 76, 153, 0.2);
}

.aiz-rs_residence .logo-bar-area .nav-user-info>a[href*="registration"]:hover {
    opacity: 1 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 76, 153, 0.28);
    transform: translateY(-1px);
}

.aiz-rs_residence .logo-bar-area .nav-user-info>a[href*="registration"][style] {
    color: #fff !important;
}

/* Logged-in profile chip */
.aiz-rs_residence .logo-bar-area #nav-user-info {
    padding-right: 0.65rem !important;
    cursor: pointer;
}

.aiz-rs_residence .logo-bar-area #nav-user-info::after {
    content: '';
    flex-shrink: 0;
    width: 0;
    height: 0;
    margin-left: 0.15rem;
    margin-right: 0.1rem;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #94a3b8;
    transition: border-top-color 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .logo-bar-area #nav-user-info:hover::after {
    border-top-color: #009cff;
}

.aiz-rs_residence .logo-bar-area:has(.hover-user-top-menu.active) #nav-user-info {
    border-color: #009cff;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 156, 255, 0.1);
}

.aiz-rs_residence .logo-bar-area:has(.hover-user-top-menu.active) #nav-user-info::after {
    border-top-color: #009cff;
    transform: rotate(180deg);
}

.aiz-rs_residence .logo-bar-area #nav-user-info:hover {
    border-color: #009cff;
    box-shadow: 0 2px 12px rgba(0, 156, 255, 0.1);
}

.aiz-rs_residence .logo-bar-area #nav-user-info h4.middle-text-color-visibility[style] {
    color: #1e293b !important;
}

/* Notification dropdown */
.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu.dropdown-menu-lg {
    margin-top: 0.65rem !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu .p-3.bg-light {
    background: #f8fafc !important;
    border-bottom-color: #e2e8f0 !important;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu .p-3.bg-light h6 {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu .list-group-item {
    border-color: #f1f5f9 !important;
    padding: 0.85rem 1rem;
    transition: background 0.15s ease;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu .list-group-item:hover {
    background: #f8fafc;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu .text-center.border-top a {
    font-weight: 600;
    color: #004c99 !important;
    padding: 0.75rem 1rem !important;
}

.aiz-rs_residence .logo-bar-area .rs-header-actions .dropdown-menu .text-center.border-top a:hover {
    background: rgba(0, 156, 255, 0.06);
}

/* User account dropdown (profile hover menu) */
.aiz-rs_residence .logo-bar-area .hover-user-top-menu.active {
    padding-top: 8px;
    margin-top: -8px;
}

.aiz-rs_residence .logo-bar-area .hover-user-top-menu .aiz-user-top-menu {
    width: 240px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12) !important;
    overflow: hidden;
}

.aiz-rs_residence .logo-bar-area .hover-user-top-menu .user-top-nav-element {
    border-color: #f1f5f9 !important;
}

.aiz-rs_residence .logo-bar-area .hover-user-top-menu .user-top-nav-element>a {
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    font-size: 13px !important;
    font-weight: 500;
    color: #334155 !important;
    transition: background 0.15s ease, color 0.15s ease;
}

.aiz-rs_residence .logo-bar-area .hover-user-top-menu .user-top-nav-element>a:hover {
    background: #f8fafc;
    color: #004c99 !important;
}

.aiz-rs_residence .logo-bar-area .hover-user-top-menu .user-top-nav-element>a:hover svg path,
.aiz-rs_residence .logo-bar-area .hover-user-top-menu .user-top-nav-element>a:hover svg g path {
    fill: #009cff !important;
}

.aiz-rs_residence .logo-bar-area .nav-user-img svg {
    width: 18px;
    height: auto;
}

@media (min-width: 1200px) {

    .aiz-rs_residence .logo-bar-area>.layout-container>.d-flex,
    .aiz-rs_residence .logo-bar-area>.container>.d-flex {
        gap: 0.5rem;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search {
        margin-right: 0.75rem !important;
    }
}

@media (max-width: 1199.98px) {
    .aiz-rs_residence .logo-bar-area .rs-auth-link {
        font-size: 12px !important;
        padding: 0.4rem 0.6rem !important;
    }

    .aiz-rs_residence .logo-bar-area .rs-auth-link--register {
        padding: 0.4rem 0.75rem !important;
    }

    .aiz-rs_residence .logo-bar-area #nav-user-info h4 {
        max-width: 100px;
        font-size: 12px !important;
    }
}

/* Bottom nav bar — RS company blue gradient */
.aiz-rs_residence header .bottom-background-color-visibility {
    --rs-nav-blue-deep: #004c99;
    --rs-nav-blue-brand: #009cff;
    --rs-nav-blue-light: #38bdf8;
    --rs-nav-bar-height: 58px;
    --rs-nav-chip-height: 46px;
    height: auto !important;
    min-height: var(--rs-nav-bar-height);
    border: none !important;
    background: linear-gradient(100deg,
            var(--rs-nav-blue-deep) 0%,
            var(--rs-nav-blue-brand) 50%,
            var(--rs-nav-blue-light) 100%) !important;
    box-shadow: 0 4px 14px rgba(0, 76, 153, 0.22);
    position: relative;
    overflow: visible !important;
    z-index: 2;
}

.aiz-rs_residence header .bottom-background-color-visibility::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.14), transparent 48%);
    pointer-events: none;
}

.aiz-rs_residence header .bottom-background-color-visibility::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.aiz-rs_residence header .bottom-background-color-visibility.h-50px {
    height: auto !important;
    min-height: var(--rs-nav-bar-height);
}

.aiz-rs_residence header .bottom-background-color-visibility>.container,
.aiz-rs_residence header .bottom-background-color-visibility>.layout-container {
    position: relative;
    z-index: 1;
}

.aiz-rs_residence header .bottom-background-color-visibility .d-flex.h-100 {
    align-items: center;
    gap: 0.65rem;
    min-height: var(--rs-nav-bar-height);
}

.aiz-rs_residence header .bottom-background-color-visibility .d-xl-block.align-self-stretch.bg-black-10 {
    align-self: center !important;
    height: auto !important;
    margin-left: 0.5rem !important;
    background: transparent !important;
}

/* Categories — glass pill (matches cart) */
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar.all-category,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar.all-category.bg-black-10,
.aiz-rs_residence header .bottom-background-color-visibility .all-category,
.aiz-rs_residence header .bottom-background-color-visibility .all-category.bg-black-10 {
    align-self: center;
    flex-shrink: 0;
    position: relative;
    z-index: 4;
    background: rgba(255, 255, 255, 0.16) !important;
    background-color: rgba(255, 255, 255, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin: 0;
    overflow: visible;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar.all-category:hover,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar.all-category.bg-black-10:hover,
.aiz-rs_residence header .bottom-background-color-visibility .all-category:hover,
.aiz-rs_residence header .bottom-background-color-visibility .all-category.bg-black-10:hover {
    background: rgba(255, 255, 255, 0.24) !important;
    background-color: rgba(255, 255, 255, 0.24) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.aiz-rs_residence header #category-menu-bar div,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar>div {
    padding: 0 1rem 0 0.85rem !important;
    width: auto !important;
    min-width: 0;
    height: var(--rs-nav-chip-height) !important;
    max-height: var(--rs-nav-chip-height);
    display: flex;
    align-items: center;
    cursor: pointer;
    background: transparent !important;
    background-color: transparent !important;
}

.aiz-rs_residence header #category-menu-bar div.h-100,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar>div.h-100 {
    height: var(--rs-nav-chip-height) !important;
}

.aiz-rs_residence header #category-menu-bar .d-flex,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar>div>.d-flex {
    width: 100%;
    align-items: center !important;
    color: #ffffff !important;
    gap: 0.35rem;
}

.aiz-rs_residence header #category-menu-bar .d-flex.bottom-text-color-visibility[style],
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar>div>.d-flex.bottom-text-color-visibility[style] {
    color: #ffffff !important;
}

.aiz-rs_residence header #category-menu-bar .d-flex>div,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar>div>.d-flex>div {
    display: flex;
    align-items: center;
    gap: 0;
    min-width: 0;
    flex: 0 1 auto;
}

.aiz-rs_residence header #category-menu-bar .d-flex>div::before,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar>div>.d-flex>div::before {
    content: "\f0c9";
    font-family: "Line Awesome Free";
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1;
    color: #ffffff;
    margin-right: 0.5rem;
    flex-shrink: 0;
    opacity: 0.95;
}

.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar .fw-700,
.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar .fs-16 {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    margin-right: 0 !important;
    line-height: 1.25;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar .categoriesAll {
    display: none !important;
}

.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar-icon {
    color: #ffffff !important;
    font-size: 1.1rem !important;
    line-height: 1;
    margin-left: 0.35rem;
    flex-shrink: 0;
    opacity: 0.9;
    transition: transform 0.25s ease;
}

.aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar-icon.show {
    transform: rotate(180deg);
}

/* Menu links — clean on gradient */
.aiz-rs_residence header .bottom-background-color-visibility .ml-xl-4 {
    margin-left: 0.25rem !important;
    display: flex;
    align-items: center;
}

.aiz-rs_residence header .bottom-background-color-visibility .list-inline.hor-swipe {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.25rem;
}

.aiz-rs_residence header .header_menu_links,
.aiz-rs_residence header .bottom-background-color-visibility .header_menu_links.fs-13 {
    position: relative;
    border-radius: 999px;
    padding: 0.55rem 1rem !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0.015em;
    line-height: 1.3;
    margin: 0;
    color: rgba(255, 255, 255, 0.88) !important;
    background: transparent !important;
    border: 1px solid transparent;
    text-decoration: none !important;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence header .header_menu_links:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.12);
    transform: none;
    box-shadow: none;
}

.aiz-rs_residence header .bottom-background-color-visibility .header_menu_links.bottom-text-color-visibility[style] {
    color: rgba(255, 255, 255, 0.88) !important;
}

.aiz-rs_residence header .bottom-background-color-visibility .header_menu_links.bottom-text-color-visibility[style].active {
    color: #ffffff !important;
}

.aiz-rs_residence header .bottom-background-color-visibility .header_menu_links.active {
    color: #ffffff !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.38) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.aiz-rs_residence header .bottom-background-color-visibility .header_menu_links.active:hover {
    background: rgba(255, 255, 255, 0.26) !important;
    border-color: rgba(255, 255, 255, 0.45) !important;
}

.aiz-rs_residence header .list-inline-item.animate-underline-white .header_menu_links::after {
    display: none !important;
}

.aiz-rs_residence header .list-inline-item.animate-underline-white .header_menu_links:hover::after,
.aiz-rs_residence header .list-inline-item.animate-underline-white .header_menu_links.active::after {
    transform: none;
}

/* Cart — compact glass pill on gradient */
.aiz-rs_residence header .bottom-background-color-visibility .d-xl-block.bg-black-10 {
    background: transparent !important;
}

.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"] {
    align-self: center;
    flex-shrink: 0;
    margin-left: auto !important;
    margin-right: 0 !important;
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    border-radius: 999px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"]:hover {
    background: rgba(255, 255, 255, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    transform: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items {
    width: auto !important;
    height: auto !important;
}

.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"] .nav-cart-box,
.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"] .nav-cart-box>a {
    height: var(--rs-nav-chip-height) !important;
    min-height: var(--rs-nav-chip-height);
    display: flex;
    align-items: center;
}

.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"] .nav-cart-box {
    padding: 0;
}

.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"] .nav-cart-box>a {
    padding: 0 0.9rem 0 0.75rem !important;
    gap: 0.45rem;
    text-decoration: none;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items.h-100,
.aiz-rs_residence header .bottom-background-color-visibility #cart_items a.h-100 {
    height: var(--rs-nav-chip-height) !important;
    max-height: var(--rs-nav-chip-height);
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items a.px-3 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items a,
.aiz-rs_residence header .bottom-background-color-visibility #cart_items a span,
.aiz-rs_residence header .bottom-background-color-visibility #cart_items .bottom-text-color-visibility,
.aiz-rs_residence header .bottom-background-color-visibility #cart_items svg {
    color: #ffffff !important;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items .mr-2 {
    margin-right: 0 !important;
    line-height: 0;
    display: inline-flex;
    align-items: center;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items svg {
    width: 19px;
    height: auto;
    opacity: 0.95;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items svg path,
.aiz-rs_residence header .bottom-background-color-visibility #cart_items svg circle {
    fill: currentColor !important;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items .fs-14.fw-700 {
    font-size: 14.5px !important;
    font-weight: 600 !important;
    margin-left: 0 !important;
    white-space: nowrap;
    letter-spacing: 0.01em;
}

/* Hide "(X Items)" — show count as badge only */
.aiz-rs_residence header .bottom-background-color-visibility #cart_items .nav-box-text {
    font-size: 0 !important;
    line-height: 0;
    margin-left: 0.15rem !important;
}

.aiz-rs_residence header .bottom-background-color-visibility #cart_items .cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1;
    color: var(--rs-nav-blue-deep) !important;
    background: #ffffff;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(0, 40, 90, 0.2);
}

.aiz-rs_residence header .nav-cart-box.dropdown {
    border-radius: 999px;
    position: relative;
}

.aiz-rs_residence header .bottom-background-color-visibility [data-hover="dropdown"]:has(.show),
.aiz-rs_residence header .bottom-background-color-visibility .nav-cart-box.show {
    z-index: 1060 !important;
}

/* Dropdowns — sit above homepage banners & sliders */
.aiz-rs_residence header #click-category-menu,
.aiz-rs_residence header .hover-category-menu {
    z-index: 1060 !important;
}

.aiz-rs_residence header #click-category-menu .aiz-category-menu,
.aiz-rs_residence header #click-category-menu #category-sidebar {
    width: 280px !important;
    margin-top: 0.5rem;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden;
}

.aiz-rs_residence header #click-category-menu .aiz-category-menu .category-nav-element>a {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    font-size: 14px;
    transition: background 0.15s ease, color 0.15s ease;
}

.aiz-rs_residence header #click-category-menu .aiz-category-menu .category-nav-element:hover>a {
    background: #f1f5f9;
    color: var(--rs-nav-blue-deep) !important;
}

.aiz-rs_residence header #click-category-menu .aiz-category-menu .sub-cat-menu {
    width: calc(100% - 280px);
    left: 280px;
    border-radius: 0 12px 12px 0;
    box-shadow: none;
    border-left: 1px solid rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence header .nav-cart-box .mt-cart-dropdown-menu,
.aiz-rs_residence header .nav-cart-box .dropdown-menu.show {
    z-index: 1060 !important;
    margin-top: 0.5rem !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    border-radius: 12px !important;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.16), 0 4px 12px rgba(15, 23, 42, 0.08) !important;
    overflow: hidden;
}

@media (max-width: 1279.98px) {

    .aiz-rs_residence header .header_menu_links,
    .aiz-rs_residence header .bottom-background-color-visibility .header_menu_links.fs-13 {
        padding: 0.65rem 0.85rem !important;
        font-size: 14px !important;
    }

    .aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar .fw-700,
    .aiz-rs_residence header .bottom-background-color-visibility #category-menu-bar .fs-16 {
        font-size: 15px !important;
    }
}

@media (min-width: 992px) {
    .aiz-rs_residence .rs-topbar-right .list-inline-item+.list-inline-item {
        position: relative;
    }

    .aiz-rs_residence .rs-topbar-right .rs-topbar-divider-wrap::before {
        content: "";
        position: absolute;
        left: -0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 14px;
        background: rgba(15, 23, 42, 0.12);
    }
}

/* RS Residence COD delivery card */
.rs-cod-card-item {
    margin-bottom: 1rem;
}

.rs-cod-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-radius: 14px;
    border: 1px solid rgba(34, 139, 87, 0.16);
    background: linear-gradient(135deg, #f7fbf8 0%, #f2f8f4 100%);
    box-shadow: 0 8px 24px rgba(24, 39, 32, 0.06);
}

.rs-cod-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(34, 139, 87, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.rs-cod-card__icon img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    display: block;
}

.rs-cod-card__title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: #173628;
}

.rs-cod-card__text {
    margin-top: 0.45rem;
    font-size: 13px;
    line-height: 1.55;
    color: #4f6458;
}

.rs-cod-card__note {
    color: #5f7368;
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.rs-cod-card__note:hover {
    color: #173628;
    opacity: 0.85;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .rs-cod-card {
        padding: 1rem 1.05rem;
        gap: 0.85rem;
    }

    .rs-cod-card__icon {
        width: 50px;
        height: 50px;
    }

    .rs-cod-card__icon img {
        width: 34px;
        height: 34px;
    }

    .rs-cod-card__title {
        font-size: 15px;
    }
}

/* ========== RS Mobile Homepage (Wakefit-inspired) ========== */
@media (max-width: 767.98px) {

    .rs-page-home .aiz-main-wrapper.aiz-nexa,
    .rs-page-home .aiz-main-wrapper.aiz-rs_residence {
        background-color: #f4f6f8;
    }

    .rs-section-title {
        position: relative;
        padding-bottom: 8px;
        margin-bottom: 0;
    }

    .rs-section-title::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 36px;
        height: 3px;
        border-radius: 999px;
        background-color: var(--primary);
    }

    .rs-section-header {
        margin-bottom: 16px;
    }

    .rs-section-link {
        color: var(--primary);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .rs-mobile-card {
        background: #fff;
        border-radius: 12px;
        padding: 16px;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    }

    .rs-page-home .rs-deals-mobile-wrap .rs-mobile-card,
    .rs-page-home .rs-mobile-card.mb-3 {
        margin-left: 0;
        margin-right: 0;
    }

    .rs-mobile-section {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    /* Compact top bar on mobile homepage */
    .rs-page-home .rs-topbar-inner {
        min-height: 38px;
        height: 38px;
    }

    .rs-page-home .rs-topbar-right .rs-topbar-helpline,
    .rs-page-home .rs-topbar-right .rs-topbar-divider-wrap,
    .rs-page-home .rs-topbar-right .rs-topbar-social-wrap {
        display: none !important;
    }

    .rs-page-home .rs-topbar-left #currency-change {
        display: none !important;
    }

    /* Mobile header: always-visible search + compact logo row */
    .rs-page-home .logo-bar-area {
        min-height: auto;
        padding-bottom: 0;
    }

    .rs-page-home .logo-bar-area .col-auto>a.d-block {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .rs-page-home .logo-bar-area #header-logo-preview {
        height: 32px !important;
    }

    .rs-page-home .logo-bar-area>.layout-container>.d-flex,
    .rs-page-home .logo-bar-area>.container>.d-flex {
        flex-wrap: wrap;
        align-items: center;
    }

    /* Category scroll strip */
    .rs-mobile-category-scroll {
        padding: 10px 0 12px;
    }

    .rs-mobile-category-scroll__track {
        display: flex;
        gap: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 12px;
    }

    .rs-mobile-category-scroll__track::-webkit-scrollbar {
        display: none;
    }

    .rs-mobile-category-scroll__item {
        flex: 0 0 auto;
        width: 68px;
        text-align: center;
        text-decoration: none !important;
    }

    .rs-mobile-category-scroll__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 56px;
        height: 56px;
        margin: 0 auto 6px;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid rgba(255, 255, 255, 0.35);
        background: #fff;
    }

    .rs-mobile-category-scroll__icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rs-mobile-category-scroll__label {
        display: block;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Hero banner */
    .rs-page-home .hero-banner-carousel {
        margin-top: 0;
    }

    .rs-page-home .hero-banner-container {
        aspect-ratio: 4 / 3;
        min-height: 180px;
        border-radius: 0 0 12px 12px;
        overflow: hidden;
    }

    .rs-page-home .hero-banner-carousel .slick-dots {
        bottom: 10px;
    }

    .rs-page-home .hero-banner-carousel .slick-dots li button:before {
        font-size: 10px;
        opacity: 0.5;
    }

    .rs-page-home .hero-banner-carousel .slick-dots li.slick-active button:before {
        opacity: 1;
        color: #fff;
    }

    /* Flash / deals mobile cards */
    .rs-page-home .rs-deals-mobile-wrap {
        padding: 16px 12px;
        background: #f8f6f3;
    }

    .rs-page-home .rs-deals-mobile-wrap .border-bottom {
        border-bottom: none !important;
    }

    .rs-page-home .rs-deals-mobile-wrap .layout-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .rs-page-home .rs-deals-mobile-wrap .py-30px {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .rs-page-home .fd-banner-container,
    .rs-page-home .classified-banner-main,
    .rs-page-home .preorder-banner-main {
        height: 180px !important;
        border-radius: 12px;
    }

    .rs-page-home .mobile-countdown-simple {
        margin-bottom: 12px;
    }

    /* Featured categories mobile grid */
    .rs-featured-categories-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .rs-featured-categories-grid__item {
        text-align: center;
    }

    .rs-featured-categories-grid__image {
        display: block;
        aspect-ratio: 3 / 4;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 8px;
    }

    .rs-featured-categories-grid__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .rs-featured-categories-grid__name {
        font-size: 12px;
        font-weight: 600;
        line-height: 1.3;
        color: var(--dark);
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }

    /* Main category blocks mobile stack */
    .rs-page-home .mf-w-wf-bc {
        padding-top: 16px;
        padding-bottom: 16px;
        background: #f8f6f3;
    }

    .rs-page-home .mf-w-wf-bc .mf-w-wf-bc-grid>div {
        border-right: none !important;
        padding-top: 16px !important;
        padding-bottom: 16px !important;
        margin-bottom: 8px;
        background: #fff;
        border-radius: 12px;
        padding-left: 12px !important;
        padding-right: 12px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .rs-page-home .mf-w-wf-bc-grid .img-container-col-6 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 15px !important;
        margin-bottom: 12px;
    }

    .rs-page-home .mf-w-wf-bc-grid .img-container-lg {
        height: 160px !important;
        border-radius: 12px;
    }

    .rs-page-home .mf-w-wf-bc-grid .col-6.col-md-12.col-lg-6.col-xl-6.mt-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .rs-page-home .mf-w-wf-bc-grid .category-card {
        border-radius: 10px;
    }

    /* Product grid */
    .rs-page-home #nexa-product-wrapper {
        padding-top: 20px !important;
        padding-bottom: 24px !important;
        background: #f8f6f3;
    }

    .rs-page-home .products-wrapper-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .rs-page-home .single-product-item .product-card-wrapper {
        border-radius: 12px;
        overflow: hidden;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .rs-page-home .img-aspect-ratio-320px {
        max-width: none;
        max-height: none;
        border-radius: 12px 12px 0 0;
    }

    /* Footer mobile homepage tweaks */
    .rs-page-home .footer-widget .gutters-10 .col-8,
    .rs-page-home .footer-widget .gutters-10 .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .rs-page-home .footer-widget .gutters-10 .col-4 {
        margin-top: 8px;
    }

    .rs-page-home #backToTop {
        bottom: 72px;
    }
}

@media (max-width: 767.98px) {

    .rs-page-home .feactured-best-selling-product-section,
    .rs-page-home .seller-brand-shop-section {
        background: #f8f6f3;
    }

    .rs-page-home .featured-products-wrapper,
    .rs-page-home .best-selling-products-wrapper {
        border-right: none !important;
        margin-bottom: 12px;
        background: #fff;
        border-radius: 12px;
        margin-left: 12px;
        margin-right: 12px;
        padding: 16px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .rs-page-home .layout-container.px-3.py-30px {
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }

    .rs-page-home .banner-lg-container,
    .rs-page-home .banner-lg-container-two {
        border-radius: 12px;
        overflow: hidden;
        margin: 0 12px;
        width: calc(100% - 24px);
    }
}

/* ========== RS Residence — Home Hero Banner ========== */
.aiz-rs_residence .rs-home-hero {
    padding-top: 1.25rem;
}

.aiz-rs_residence .rs-home-hero .home-slider,
.aiz-rs_residence .rs-home-hero .home-slider.slider-full {
    width: 100% !important;
    max-width: 100% !important;
}

.aiz-rs_residence .rs-home-hero__slider-wrap {
    position: relative;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.09);
    background: #f8fafc;
}

.aiz-rs_residence .rs-home-hero__carousel,
.aiz-rs_residence .rs-home-hero__carousel .slick-list,
.aiz-rs_residence .rs-home-hero__carousel .slick-track {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-slide {
    outline: none !important;
    border: none !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-slide.slick-current,
.aiz-rs_residence .rs-home-hero__carousel .slick-slide.slick-active {
    border-radius: 16px !important;
    overflow: hidden !important;
}

.aiz-rs_residence .rs-home-hero__link {
    line-height: 0;
    display: block;
    overflow: hidden;
    border-radius: 16px !important;
}

.aiz-rs_residence .rs-home-hero__img {
    object-fit: cover;
    object-position: center;
    border-radius: 16px !important;
    width: 100% !important;
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .aiz-rs_residence .rs-home-hero__img {
        height: 260px !important;
    }
}

.aiz-rs_residence .rs-home-hero__nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.aiz-rs_residence .rs-home-hero__nav-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.aiz-rs_residence .rs-home-hero__nav-btn:hover {
    background: rgba(255, 255, 255, 0.32);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-50%) scale(1.04);
}

.aiz-rs_residence .rs-home-hero__nav-btn--prev {
    left: 1rem;
}

.aiz-rs_residence .rs-home-hero__nav-btn--next {
    right: 1rem;
}

.aiz-rs_residence .rs-home-hero__carousel.arrow-none .slick-arrow {
    display: none !important;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-dots {
    bottom: 1rem;
    z-index: 2;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 4px;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.25s ease, background 0.25s ease;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-dots li button:before {
    display: none;
}

.aiz-rs_residence .rs-home-hero__carousel .slick-dots li.slick-active button {
    width: 28px;
    background: #ffffff;
}

@media (min-width: 992px) {
    .aiz-rs_residence .rs-home-hero {
        padding-top: 1.5rem;
    }

    .aiz-rs_residence .rs-home-hero__slider-wrap {
        border-radius: 16px;
    }
}

@media (max-width: 575.98px) {
    .aiz-rs_residence .rs-home-hero {
        padding-top: 0.75rem;
    }

    .aiz-rs_residence .rs-home-hero__nav-btn {
        display: none;
    }
}

/* ========== RS Residence — Today's Deal ========== */
.aiz-rs_residence .rs-todays-deal-section {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.aiz-rs_residence .rs-todays-deal-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

/* Desktop full-width cover hero */
.aiz-rs_residence .rs-todays-deal-hero {
    position: relative;
    min-height: 220px;
    background-color: var(--rs-deal-bg, #3d4666);
    background-image: var(--rs-deal-banner, none);
    background-size: cover;
    background-position: center;
    padding: 2rem 2rem 5.5rem;
}

.aiz-rs_residence .rs-todays-deal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(0, 0, 0, 0.72) 0%,
            rgba(0, 0, 0, 0.45) 42%,
            rgba(0, 0, 0, 0.12) 100%);
    z-index: 0;
}

.aiz-rs_residence .rs-todays-deal-hero.text-dark::before {
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0.94) 0%,
            rgba(255, 255, 255, 0.78) 45%,
            rgba(255, 255, 255, 0.35) 100%);
}

.aiz-rs_residence .rs-todays-deal-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.aiz-rs_residence .rs-todays-deal-hero-content {
    flex: 1;
    min-width: 0;
}

.aiz-rs_residence .rs-todays-deal-hero-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 14px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-todays-deal-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    margin-bottom: 14px;
}

.aiz-rs_residence .rs-todays-deal-promo.text-dark .rs-todays-deal-badge,
.aiz-rs_residence .rs-todays-deal-hero.text-dark .rs-todays-deal-badge {
    background: rgba(15, 23, 42, 0.08);
    color: #1e293b;
}

.aiz-rs_residence .rs-todays-deal-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aiz-rs_residence .rs-todays-deal-subtitle {
    font-size: 0.9375rem;
    opacity: 0.88;
    margin: 0;
    max-width: 420px;
    line-height: 1.5;
}

.aiz-rs_residence .rs-todays-deal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    align-self: flex-start;
}

.aiz-rs_residence .rs-todays-deal-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    color: var(--primary);
}

.aiz-rs_residence .rs-todays-deal-promo.text-dark .rs-todays-deal-cta,
.aiz-rs_residence .rs-todays-deal-hero.text-dark .rs-todays-deal-cta {
    background: var(--primary);
    color: #fff;
}

/* Desktop: products overlap hero bottom */
@media (min-width: 992px) {
    .aiz-rs_residence .rs-todays-deal-products-area {
        margin-top: -4.25rem;
        position: relative;
        z-index: 2;
        padding: 1.25rem 1.75rem 1.25rem;
        border-radius: 16px;
        border: 1px solid rgba(0, 156, 255, 0.14);
        box-shadow:
            0 12px 40px rgba(14, 116, 110, 0.1),
            0 4px 18px rgba(2, 132, 199, 0.07),
            inset 0 1px 0 rgba(255, 255, 255, 0.88);
    }

    .aiz-rs_residence .rs-todays-deal-products-area .rs-todays-deal-carousel-wrap {
        padding: 0;
    }

    .aiz-rs_residence .rs-todays-deal-hero-actions .rs-todays-deal-arrow {
        border-color: rgba(255, 255, 255, 0.35);
        background: rgba(255, 255, 255, 0.12);
        color: #fff;
        backdrop-filter: blur(6px);
    }

    .aiz-rs_residence .rs-todays-deal-hero-actions .rs-todays-deal-arrow:hover:not(.link-disable) {
        background: #fff;
        color: var(--primary);
        border-color: #fff;
    }

    .aiz-rs_residence .rs-todays-deal-hero.text-dark .rs-todays-deal-hero-actions .rs-todays-deal-arrow {
        border-color: #e2e8f0;
        background: #fff;
        color: #334155;
        backdrop-filter: none;
    }

    .aiz-rs_residence .rs-todays-deal-hero.text-dark .rs-todays-deal-hero-actions .rs-todays-deal-arrow:hover:not(.link-disable) {
        border-color: var(--primary);
        color: var(--primary);
    }
}

.aiz-rs_residence .rs-todays-deal-products-area {
    position: relative;
    background: linear-gradient(145deg,
            #e6f7f6 0%,
            #ecf3ff 34%,
            #f0ebff 68%,
            #fff0ed 100%);
}

.aiz-rs_residence .rs-todays-deal-products-area::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse 80% 60% at 12% 0%, rgba(0, 156, 255, 0.12) 0%, transparent 58%),
        radial-gradient(ellipse 70% 55% at 88% 100%, rgba(2, 132, 199, 0.1) 0%, transparent 55%),
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.35) 0%,
            rgba(255, 255, 255, 0) 48%);
    pointer-events: none;
    z-index: 0;
}

.aiz-rs_residence .rs-todays-deal-products-area .rs-todays-deal-carousel-wrap {
    position: relative;
    z-index: 1;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.aiz-rs_residence .rs-todays-deal-carousel,
.aiz-rs_residence .rs-todays-deal-carousel.gutters-10 {
    margin-left: -6px !important;
    margin-right: -6px !important;
    width: calc(100% + 12px) !important;
}

.aiz-rs_residence .rs-todays-deal-products-area .slick-list {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 6px 0 12px !important;
    overflow: hidden !important;
}

.aiz-rs_residence .rs-todays-deal-products-area .slick-track {
    display: flex !important;
    align-items: stretch !important;
}

.aiz-rs_residence .rs-todays-deal-products-area .slick-slide {
    height: auto !important;
    display: flex !important;
    flex-direction: column !important;
}

.aiz-rs_residence .rs-todays-deal-products-area .slick-slide>div,
.aiz-rs_residence .rs-todays-deal-products-area .carousel-box,
.aiz-rs_residence .rs-todays-deal-products-area .rs-product-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.aiz-rs_residence .rs-todays-deal-products-area .rs-product-carousel-nav {
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 6;
}

.aiz-rs_residence .rs-todays-deal-products-area .rs-product-carousel-nav--prev {
    left: 2px !important;
}

.aiz-rs_residence .rs-todays-deal-products-area .rs-product-carousel-nav--next {
    right: 2px !important;
}

.aiz-rs_residence .rs-todays-deal-arrows {
    display: flex;
    gap: 8px;
}

.aiz-rs_residence .rs-todays-deal-arrow {
    width: 36px;
    height: 36px;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    background: #fff;
    color: #334155;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.aiz-rs_residence .rs-todays-deal-arrow:hover:not(.link-disable) {
    border-color: var(--primary);
    color: var(--primary);
    background: #fff;
}

.aiz-rs_residence .rs-todays-deal-arrow.link-disable {
    opacity: 0.35;
    cursor: not-allowed;
}

.aiz-rs_residence .rs-todays-deal-carousel.arrow-none .slick-arrow {
    display: none !important;
}

.aiz-rs_residence .rs-todays-deal-carousel .slick-list {
    margin: 0 -10px;
    padding: 4px 0 8px;
}

.aiz-rs_residence .rs-todays-deal-carousel .slick-slide {
    height: auto;
}

.aiz-rs_residence .rs-todays-deal-carousel .carousel-box {
    padding-left: 10px;
    padding-right: 10px;
    height: 100%;
}

.aiz-rs_residence .rs-todays-deal-carousel-wrap {
    padding: 1.15rem 1.35rem 1.5rem;
    flex: 1;
}

.aiz-rs_residence .rs-todays-deal-product {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.07);
    height: 100%;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.aiz-rs_residence .rs-todays-deal-product:hover {
    border-color: rgba(0, 156, 255, 0.22);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-3px);
}

.aiz-rs_residence .rs-todays-deal-product-image {
    position: relative;
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    overflow: hidden;
}

.aiz-rs_residence .rs-todays-deal-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
    transition: transform 0.35s ease;
}

.aiz-rs_residence .rs-todays-deal-product:hover .rs-todays-deal-product-image img {
    transform: scale(1.04);
}

.aiz-rs_residence .rs-todays-deal-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #004c99 0%, #009cff 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 999px;
    line-height: 1.25;
    letter-spacing: 0.02em;
    box-shadow: 0 3px 10px rgba(0, 76, 153, 0.28);
    min-width: 44px;
    text-align: center;
}

.aiz-rs_residence .rs-todays-deal-product-body {
    padding: 9px 11px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}

.aiz-rs_residence .rs-todays-deal-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.35;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.55em;
}

.aiz-rs_residence .rs-todays-deal-product-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 8px;
    margin-top: auto;
}

.aiz-rs_residence .rs-todays-deal-price-current {
    font-size: 13px;
    font-weight: 700;
    color: #004c99;
}

.aiz-rs_residence .rs-todays-deal-price-old {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 400;
    text-decoration: line-through;
}

.aiz-rs_residence .rs-todays-deal-mobile-header {
    padding: 16px 16px 0;
}

.aiz-rs_residence .rs-todays-deal-mobile-banner {
    border-radius: 10px;
    margin-bottom: 14px;
    max-height: 120px;
}

.aiz-rs_residence .rs-todays-deal-mobile-banner img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.aiz-rs_residence .rs-todays-deal-mobile-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 4px;
}

.aiz-rs_residence .rs-todays-deal-mobile-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    position: relative;
    padding-bottom: 8px;
}

.aiz-rs_residence .rs-todays-deal-mobile-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

.aiz-rs_residence .rs-todays-deal-mobile-subtitle {
    font-size: 12px;
    color: #64748b;
}

.aiz-rs_residence .rs-todays-deal-mobile-link {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--primary);
    padding: 8px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.aiz-rs_residence .rs-todays-deal-mobile-link:hover {
    opacity: 0.9;
    color: #fff;
}

@media (max-width: 991.98px) {
    .aiz-rs_residence .rs-todays-deal-card {
        border-radius: 12px;
        box-shadow: 0 2px 12px rgba(15, 23, 42, 0.06);
    }

    .aiz-rs_residence .rs-todays-deal-products-area {
        border-radius: 0 0 12px 12px;
        border: none;
        border-top: 1px solid rgba(0, 156, 255, 0.16);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
        background: linear-gradient(180deg,
                #e8f8f7 0%,
                #edf3ff 48%,
                #f4effa 100%);
    }

    .aiz-rs_residence .rs-todays-deal-carousel .slick-list {
        margin: 0 -10px;
    }

    .aiz-rs_residence .rs-todays-deal-carousel .carousel-box {
        padding-left: 10px;
        padding-right: 10px;
    }

    .aiz-rs_residence .rs-todays-deal-product {
        border: 1px solid #eef2f6;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.05);
    }

    .aiz-rs_residence .rs-todays-deal-carousel-wrap {
        padding: 14px 14px 18px;
    }

    .aiz-rs_residence .rs-todays-deal-product-name {
        font-size: 12px;
        min-height: 2.5em;
    }

    .aiz-rs_residence .rs-todays-deal-price-current {
        font-size: 13px;
    }
}

@media (max-width: 575.98px) {
    .aiz-rs_residence .rs-todays-deal-mobile-header {
        padding: 14px 12px 0;
    }

    .aiz-rs_residence .rs-todays-deal-carousel-wrap {
        padding: 10px 10px 14px;
    }

    .aiz-rs_residence .rs-todays-deal-product-body {
        padding: 8px 10px 12px;
    }

    .aiz-rs_residence .rs-todays-deal-product-image img {
        padding: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-todays-deal-product,
    .aiz-rs_residence .rs-todays-deal-product-image img,
    .aiz-rs_residence .rs-todays-deal-cta,
    .aiz-rs_residence .rs-todays-deal-arrow {
        transition: none;
    }

    .aiz-rs_residence .rs-todays-deal-product:hover {
        transform: none;
    }
}

/* ========== RS Residence — Mobile & Tablet UI Polish (≤991px, desktop unchanged) ========== */
@media (max-width: 991.98px) {
    .aiz-rs_residence .aiz-main-wrapper {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    /* --- Top bar --- */
    .aiz-rs_residence .rs-topbar {
        background: #fff !important;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .aiz-rs_residence .rs-topbar-inner {
        min-height: 38px;
        height: 38px;
        padding: 0;
        gap: 0.5rem;
    }

    .aiz-rs_residence .rs-topbar-inner--single {
        justify-content: flex-start !important;
    }

    .aiz-rs_residence .rs-topbar-left {
        flex: 0 0 auto;
    }

    .aiz-rs_residence .rs-topbar-right {
        flex: 0 1 auto;
        min-width: 0;
        justify-content: flex-end;
        margin-left: auto;
    }

    .aiz-rs_residence .rs-topbar .lang-switcher-toggle {
        padding: 0.25rem 0.55rem;
        font-size: 11px;
        font-weight: 600;
        background: #f1f5f9;
        border: 1px solid transparent;
        border-radius: 999px;
    }

    .aiz-rs_residence .rs-topbar #lang-change .lang-switcher-flag {
        width: 16px;
        height: 12px;
        border-radius: 2px;
    }

    .aiz-rs_residence .rs-topbar-mobile-helpline-link {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.28rem 0.65rem 0.28rem 0.45rem;
        border-radius: 999px;
        background: var(--rs-brand-gradient-soft);
        border: 1px solid rgba(0, 156, 255, 0.18);
        text-decoration: none !important;
        max-width: min(52vw, 210px);
        transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .aiz-rs_residence .rs-topbar-mobile-helpline-link:hover {
        background: rgba(0, 156, 255, 0.12);
        border-color: rgba(0, 156, 255, 0.28);
        box-shadow: 0 2px 8px var(--rs-brand-shadow);
        text-decoration: none;
        color: var(--rs-brand-teal) !important;
    }

    .aiz-rs_residence .rs-topbar-mobile-helpline-link__icon {
        width: 24px;
        height: 24px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: var(--rs-brand-gradient);
        color: #fff;
        font-size: 13px;
        flex-shrink: 0;
    }

    .aiz-rs_residence .rs-topbar-mobile-helpline-link__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
        line-height: 1.15;
    }

    .aiz-rs_residence .rs-topbar-mobile-helpline-link__label {
        font-size: 9px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: var(--rs-brand-teal);
        opacity: 0.85;
    }

    .aiz-rs_residence .rs-topbar-mobile-helpline-text {
        font-size: 11px;
        font-weight: 700;
        color: #334155;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 100%;
    }

    /* Hide desktop-only topbar items on mobile */
    .aiz-rs_residence .rs-topbar-right .rs-topbar-helpline,
    .aiz-rs_residence .rs-topbar-right .rs-topbar-divider-wrap,
    .aiz-rs_residence .rs-topbar-right .rs-topbar-social-wrap {
        display: none !important;
    }

    .aiz-rs_residence .rs-topbar-left #currency-change {
        display: none !important;
    }

    /* Homepage top bar: language left, helpline right */
    .rs-page-home .aiz-rs_residence .rs-topbar-inner {
        justify-content: space-between;
    }

    .rs-page-home .aiz-rs_residence .rs-topbar-inner--single {
        justify-content: flex-start !important;
    }

    @media (max-width: 575.98px) {
        .aiz-rs_residence .rs-topbar-mobile-helpline-link__body {
            flex-direction: row;
            align-items: center;
            gap: 0.25rem;
        }

        .aiz-rs_residence .rs-topbar-mobile-helpline-link__label {
            display: none;
        }

        .aiz-rs_residence .rs-topbar-mobile-helpline-link {
            padding: 0.28rem 0.55rem 0.28rem 0.4rem;
            max-width: min(58vw, 180px);
        }
    }

    /* --- Logo bar / header --- */
    .aiz-rs_residence .logo-bar-area {
        min-height: auto;
        background: #fff;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
    }

    .aiz-rs_residence .logo-bar-area>.layout-container>.d-flex,
    .aiz-rs_residence .logo-bar-area>.container>.d-flex {
        min-height: 52px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: flex-start;
        gap: 8px;
        padding-top: 6px;
        padding-bottom: 6px;
    }

    .aiz-rs_residence .rs-mobile-menu-btn {
        margin-right: 0 !important;
        flex-shrink: 0;
    }

    .aiz-rs_residence .logo-bar-area .col-auto {
        flex: 0 1 auto;
        justify-content: flex-start;
        width: auto;
        pointer-events: auto;
        z-index: 1;
    }

    .aiz-rs_residence .logo-bar-area .col-auto>a.d-block {
        pointer-events: auto;
        margin-right: 0 !important;
    }

    .aiz-rs_residence .logo-bar-area .d-lg-none.ml-auto,
    .aiz-rs_residence .logo-bar-area .d-none.d-lg-none,
    .aiz-rs_residence .logo-bar-area .rs-header-actions__icons,
    .aiz-rs_residence .logo-bar-area .rs-header-actions__auth {
        display: none !important;
    }

    .aiz-rs_residence .logo-bar-area .rs-header-actions {
        margin-left: auto !important;
        flex-shrink: 0;
        z-index: 2;
    }

    .aiz-rs_residence .rs-mobile-menu-btn {
        width: 38px;
        height: 38px;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        flex-shrink: 0;
        transition: background 0.2s ease, border-color 0.2s ease;
    }

    .aiz-rs_residence .rs-mobile-menu-btn:hover,
    .aiz-rs_residence .rs-mobile-menu-btn:focus {
        background: #fff;
        border-color: var(--rs-brand-cyan);
        outline: none;
        box-shadow: 0 2px 8px var(--rs-brand-shadow);
    }

    .aiz-rs_residence .rs-mobile-menu-btn svg rect {
        fill: #475569;
        transition: fill 0.2s ease;
    }

    .aiz-rs_residence .logo-bar-area .col-auto {
        flex: 0 1 auto;
        display: flex;
        justify-content: flex-start;
        padding: 0 !important;
        margin: 0 !important;
        min-width: 0;
    }

    .aiz-rs_residence .logo-bar-area .col-auto>a.d-block {
        padding: 0.35rem 0 !important;
        margin: 0 !important;
    }

    .aiz-rs_residence .logo-bar-area #header-logo-preview {
        height: 34px !important;
    }

    .aiz-rs_residence .logo-bar-area .rs-header-actions {
        margin-left: auto !important;
        gap: 0.25rem;
        flex-shrink: 0;
    }

    /* Mobile quick actions */
    .aiz-rs_residence .rs-mobile-header-actions {
        gap: 0.35rem;
    }

    .aiz-rs_residence .rs-mobile-header-actions__item {
        display: flex;
        align-items: center;
        position: relative;
        overflow: visible;
    }

    .aiz-rs_residence .rs-mobile-header-actions__item.nav-cart-box {
        overflow: visible;
    }

    .aiz-rs_residence .rs-mobile-action-btn {
        position: relative;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #f8fafc;
        border: 1px solid #e8edf2;
        color: #475569;
        font-size: 0;
        line-height: 1;
        text-decoration: none !important;
        flex-shrink: 0;
        transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
    }

    .aiz-rs_residence .rs-mobile-action-btn:hover,
    .aiz-rs_residence .rs-mobile-action-btn:focus,
    .aiz-rs_residence .rs-mobile-action-btn--search.active {
        background: #fff;
        border-color: var(--rs-brand-cyan);
        color: var(--rs-brand-teal);
        text-decoration: none;
        box-shadow: 0 2px 8px var(--rs-brand-shadow);
    }

    .aiz-rs_residence .rs-mobile-action-btn--search.active {
        background: var(--rs-brand-gradient-soft);
    }

    .aiz-rs_residence .rs-mobile-action-btn__icon-wrap {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 22px;
        height: 22px;
    }

    .aiz-rs_residence .rs-mobile-action-btn__icon-wrap>i {
        font-size: 21px;
        line-height: 1;
    }

    .aiz-rs_residence .rs-mobile-action-btn__badge {
        position: absolute !important;
        top: -7px !important;
        right: -9px !important;
        left: auto !important;
        bottom: auto !important;
        transform: none !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10px;
        font-weight: 700;
        line-height: 1;
        text-align: center;
        border-radius: 999px;
        background: var(--rs-brand-gradient);
        color: #fff !important;
        border: 2px solid #fff;
        box-shadow: 0 1px 4px var(--rs-brand-shadow);
        z-index: 3;
        pointer-events: none;
    }

    .aiz-rs_residence .rs-mobile-action-btn__badge.cart-count.d-none,
    .aiz-rs_residence .rs-mobile-action-btn__badge:empty {
        display: none !important;
    }

    .aiz-rs_residence .rs-mobile-cart-dropdown {
        margin-top: 0.5rem !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        box-shadow: 0 12px 40px rgba(15, 23, 42, 0.14) !important;
        min-width: 280px;
        max-width: calc(100vw - 24px);
    }

    .aiz-rs_residence .rs-mobile-cart-list {
        max-height: 240px;
        overflow-y: auto;
    }

    .aiz-rs_residence .rs-mobile-cart-thumb {
        width: 48px;
        height: 48px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    /* Mobile search overlay */
    .aiz-rs_residence .logo-bar-area>.container>.d-flex>.d-lg-none.ml-auto,
    .aiz-rs_residence .logo-bar-area>.layout-container>.d-flex>.d-lg-none.ml-auto {
        display: none !important;
    }

    .aiz-rs_residence .rs-mobile-search-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1048;
        background: rgba(15, 23, 42, 0.42);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.28s ease, visibility 0.28s ease;
    }

    .aiz-rs_residence .logo-bar-area:has(.front-header-search.active) .rs-mobile-search-backdrop {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        width: 100% !important;
        height: auto !important;
        min-height: 0;
        margin: 0 !important;
        padding: 0 !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-16px);
        pointer-events: none;
        background: transparent !important;
        transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel>.position-relative {
        width: 100%;
        margin: 0;
        padding: 14px 16px 18px;
        background: linear-gradient(180deg, #ffffff 0%, #f4f8fb 100%);
        border-radius: 0 0 22px 22px;
        box-shadow: 0 16px 48px rgba(15, 23, 42, 0.16);
        border-bottom: 1px solid rgba(0, 156, 255, 0.12);
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .d-lg-none[data-toggle="class-toggle"] {
        display: flex !important;
        align-items: center;
        flex-shrink: 0;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .d-lg-none[data-toggle] .btn {
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        color: #475569;
        padding: 0;
        margin-right: 8px;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .search-input-box {
        flex: 1;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .search-input-box .form-control {
        height: 48px;
        min-height: 48px;
        border-radius: 14px !important;
        background: #fff !important;
        border: 1.5px solid #e2e8f0 !important;
        padding: 0 16px 0 48px !important;
        font-size: 15px;
        box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .search-input-box .form-control:focus {
        border-color: var(--rs-brand-cyan) !important;
        box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.15), 0 4px 18px rgba(15, 23, 42, 0.08) !important;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .search-input-box>svg {
        left: 16px;
        right: auto;
        top: 50%;
        transform: translateY(-50%);
        opacity: 0.55;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .search-input-box:focus-within>svg path {
        fill: var(--rs-brand-cyan);
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel .typed-search-box {
        position: static !important;
        margin-top: 10px;
        border-radius: 14px !important;
        border: 1px solid #e8edf2 !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08) !important;
        min-height: 120px !important;
    }

    /* --- Category scroll strip --- */
    .aiz-rs_residence .rs-mobile-category-scroll {
        position: relative;
        background: #fff !important;
        padding: 13px 0 15px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.05);
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
        overflow: hidden;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__fade {
        display: none;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__track {
        display: flex;
        justify-content: space-around;
        gap: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 8px;
        scrollbar-width: none;
        padding: 2px 8px 4px;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__track::-webkit-scrollbar {
        display: none;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__item {
        flex: 1 1 0;
        max-width: 86px;
        min-width: 0;
        text-align: center;
        text-decoration: none !important;
        scroll-snap-align: start;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 62px;
        height: 62px;
        margin: 0 auto;
        border-radius: 50%;
        overflow: hidden;
        border: 2px solid #eef2f6;
        background: linear-gradient(160deg, #ffffff 0%, #f4f7fa 100%);
        box-shadow: 0 3px 12px rgba(15, 23, 42, 0.07);
        transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__icon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__icon--all {
        background: var(--rs-brand-gradient-soft);
        border-color: rgba(0, 156, 255, 0.28);
        color: var(--rs-brand-teal);
        font-size: 26px;
        line-height: 1;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__item:active .rs-mobile-category-scroll__icon,
    .aiz-rs_residence .rs-mobile-category-scroll__item:hover .rs-mobile-category-scroll__icon,
    .aiz-rs_residence .rs-mobile-category-scroll__item:focus-visible .rs-mobile-category-scroll__icon {
        border-color: var(--rs-brand-ring);
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 18px var(--rs-brand-shadow);
    }

    .aiz-rs_residence .rs-mobile-category-scroll__item--all:active .rs-mobile-category-scroll__icon,
    .aiz-rs_residence .rs-mobile-category-scroll__item--all:hover .rs-mobile-category-scroll__icon,
    .aiz-rs_residence .rs-mobile-category-scroll__item--all:focus-visible .rs-mobile-category-scroll__icon {
        background: var(--rs-brand-gradient);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 8px 20px var(--rs-brand-shadow);
    }

    .aiz-rs_residence .rs-mobile-category-scroll__item--all .rs-mobile-category-scroll__label {
        color: var(--rs-brand-teal) !important;
        font-weight: 700;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__label {
        display: block;
        margin-top: 6px;
        color: #334155 !important;
        font-size: 11px;
        font-weight: 600;
        line-height: 1.2;
        max-width: 100%;
        padding: 0 1px;
        margin-left: auto;
        margin-right: auto;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Tablet portrait refinements (768px–991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .aiz-rs_residence .logo-bar-area>.layout-container>.d-flex,
    .aiz-rs_residence .logo-bar-area>.container>.d-flex {
        min-height: 60px;
    }

    .aiz-rs_residence .logo-bar-area #header-logo-preview {
        height: 38px !important;
    }

    .aiz-rs_residence .logo-bar-area .front-header-search.rs-mobile-search-panel>.position-relative {
        padding: 16px 24px 20px;
    }

    .aiz-rs_residence .rs-mobile-category-scroll__track {
        max-width: 520px;
        margin: 0 auto;
    }
}

/* Phone home hero & surface background (≤767.98px) */
@media (max-width: 767.98px) {
    .aiz-rs_residence .aiz-main-wrapper {
        background-color: #f4f6f8;
    }

    /* --- Home hero --- */
    .aiz-rs_residence .rs-home-hero {
        padding-top: 0.5rem;
        margin-bottom: 0.75rem !important;
    }

    .aiz-rs_residence .rs-home-hero__container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100%;
    }

    .aiz-rs_residence .rs-home-hero__slider-wrap,
    .aiz-rs_residence .rs-home-hero__carousel,
    .aiz-rs_residence .rs-home-hero__carousel .slick-list,
    .aiz-rs_residence .rs-home-hero__carousel .slick-track,
    .aiz-rs_residence .rs-home-hero__carousel .slick-slide,
    .aiz-rs_residence .rs-home-hero__carousel .slick-slide.slick-current,
    .aiz-rs_residence .rs-home-hero__carousel .slick-slide.slick-active {
        border-radius: 14px !important;
        overflow: hidden !important;
        box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
    }

    .aiz-rs_residence .rs-home-hero__img {
        height: auto !important;
        min-height: 190px;
        aspect-ratio: 16 / 9;
        object-fit: cover !important;
        border-radius: 14px !important;
    }

    .aiz-rs_residence .rs-home-hero__carousel .slick-dots {
        bottom: 0.75rem;
        padding: 0 12px;
    }

    .aiz-rs_residence .rs-home-hero__carousel .slick-dots li button {
        width: 6px;
        height: 6px;
        background: rgba(255, 255, 255, 0.5);
    }

    .aiz-rs_residence .rs-home-hero__carousel .slick-dots li.slick-active button {
        width: 22px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
    }

    .aiz-rs_residence .rs-home-hero__nav-btn {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }

    .aiz-rs_residence .rs-home-hero__nav-btn--prev {
        left: 0.65rem;
    }

    .aiz-rs_residence .rs-home-hero__nav-btn--next {
        right: 0.65rem;
    }
}

@media (max-width: 575.98px) {
    .aiz-rs_residence .rs-home-hero__nav-btn {
        display: none;
    }

    .aiz-rs_residence .rs-home-hero__img {
        min-height: 180px;
        aspect-ratio: 4 / 3;
    }
}

/* ========== Footer policy strip ========== */
.rs-policy-section {
    background: var(--rs-policy-bg, #f8fafc);
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    padding: 1.25rem 0 1.5rem;
}

.rs-policy-section__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.875rem;
}

.rs-policy-card {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 1rem 1.125rem;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    color: var(--rs-policy-text, #1e293b);
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.rs-policy-card:hover {
    color: var(--rs-policy-text, #1e293b);
    text-decoration: none;
    transform: translateY(-2px);
    border-color: rgba(0, 156, 255, 0.35);
    box-shadow: 0 10px 24px rgba(0, 156, 255, 0.12);
}

.rs-policy-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft, rgba(var(--primary-rgb, 0, 156, 255), 0.12));
    color: var(--rs-brand-teal, #009CFF);
    font-size: 1.35rem;
    line-height: 1;
    transition: background 0.22s ease, color 0.22s ease;
}

.aiz-rs_residence .rs-policy-card__icon {
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
}

.rs-policy-card:hover .rs-policy-card__icon {
    background: var(--rs-brand-gradient, var(--primary, #009cff));
    color: #ffffff;
}

.rs-policy-card__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rs-policy-card__title {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--rs-policy-text, #1e293b);
}

.rs-policy-card__desc {
    display: block;
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--rs-policy-muted, #64748b);
}

.rs-policy-card__arrow {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.04);
    color: var(--rs-policy-muted, #64748b);
    font-size: 0.95rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.22s ease, transform 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.rs-policy-card:hover .rs-policy-card__arrow {
    opacity: 1;
    transform: translateX(0);
    background: rgba(0, 156, 255, 0.12);
    color: var(--rs-brand-teal, #009CFF);
}

@media (max-width: 991.98px) {
    .rs-policy-section__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .rs-policy-card {
        padding: 0.875rem 1rem;
    }

    .rs-policy-card__arrow {
        display: none;
    }
}

@media (max-width: 575.98px) {
    .rs-policy-section {
        padding: 1rem 0 1.25rem;
    }

    .rs-policy-section__grid {
        grid-template-columns: 1fr;
    }

    .rs-policy-card__desc {
        display: none;
    }

    .rs-policy-card__icon {
        flex: 0 0 40px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* ========== RS Footer ========== */
.rs-footer {
    --rs-footer-muted: rgba(255, 255, 255, 0.68);
    --rs-footer-border: rgba(255, 255, 255, 0.1);
    --rs-footer-surface: rgba(255, 255, 255, 0.05);
    background: var(--rs-footer-bg, #1e293b);
    color: var(--rs-footer-text, #ffffff);
}

.aiz-rs_residence .rs-footer {
    --rs-footer-border: rgba(255, 255, 255, 0.12);
}

.rs-footer__brand {
    padding: 2.5rem 0 2rem;
    border-color: var(--rs-footer-border) !important;
}

.rs-footer__brand-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
    gap: 2rem;
    align-items: end;
}

.rs-footer__logo {
    display: inline-block;
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.rs-footer__logo img {
    max-height: 52px;
    width: auto;
    height: auto;
    display: block;
    object-fit: contain;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    mix-blend-mode: normal !important;
    filter: none !important;
    opacity: 1 !important;
}

.rs-footer__tagline {
    margin: 1rem 0 0;
    max-width: 38rem;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--rs-footer-muted);
}

.rs-footer__tagline p {
    margin-bottom: 0;
}

.rs-footer__newsletter {
    margin-top: 1.5rem;
    max-width: 28rem;
}

.rs-footer__newsletter-label {
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--rs-footer-muted);
}

.rs-footer__newsletter-form {
    display: flex;
    gap: 0.625rem;
}

.rs-footer__newsletter-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 1rem;
    border: 1px solid var(--rs-footer-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--rs-footer-text, #fff);
    font-size: 0.875rem;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.rs-footer__newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.rs-footer__newsletter-input:focus {
    outline: none;
    border-color: rgba(0, 156, 255, 0.55);
    background: rgba(255, 255, 255, 0.08);
}

.rs-footer__newsletter-btn {
    flex: 0 0 auto;
    height: 44px;
    padding: 0 1.25rem;
    border: 0;
    border-radius: 10px;
    background: var(--rs-brand-gradient, var(--primary, #009cff));
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    white-space: nowrap;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rs-footer__newsletter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 156, 255, 0.25);
}

.rs-footer__brand-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
}

@media (min-width: 992px) {
    .rs-footer__brand-aside {
        align-items: flex-end;
        text-align: right;
    }
}

.rs-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rs-footer__social .list-inline-item {
    margin: 0 !important;
}

.rs-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.rs-footer__social-link svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}

.rs-footer__social-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
    filter: brightness(1.08);
    color: #fff;
}

/* Full Brand Colors for Social Media Buttons */
.rs-footer__social-link--facebook,
.rs-social-brand--facebook {
    background: #1877F2 !important;
    color: #ffffff !important;
}

.rs-footer__social-link--instagram,
.rs-social-brand--instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
    color: #ffffff !important;
}

.rs-footer__social-link--twitter,
.rs-social-brand--twitter {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.rs-footer__social-link--telegram,
.rs-social-brand--telegram {
    background: #229ED9 !important;
    color: #ffffff !important;
}

.rs-footer__social-link--linkedin,
.rs-social-brand--linkedin {
    background: #0A66C2 !important;
    color: #ffffff !important;
}

.rs-footer__social-link--tiktok,
.rs-social-brand--tiktok {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.rs-footer__social-link--youtube,
.rs-social-brand--youtube {
    background: #FF0000 !important;
    color: #ffffff !important;
}

.rs-footer__social-link--google-map,
.rs-social-brand--google-map {
    background: #EA4335 !important;
    color: #ffffff !important;
}

.rs-footer__social-link:hover,
.rs-social-icon-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28) !important;
    filter: brightness(1.15) !important;
    color: #ffffff !important;
}

.rs-footer__apps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
}

.rs-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
    height: 44px;
    padding: 0 0.875rem 0 0.625rem;
    border-radius: 10px;
    background: #111827;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rs-store-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

.rs-store-badge__icon {
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.rs-store-badge__icon img,
.rs-store-badge__icon svg {
    display: block;
    width: 28px;
    height: 28px;
}

.rs-store-badge__icon--apple {
    color: #fff;
}

.rs-store-badge__copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    line-height: 1.15;
}

.rs-store-badge__eyebrow {
    display: block;
    font-size: 0.5625rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
    white-space: nowrap;
}

.rs-store-badge__name {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    white-space: nowrap;
}

.rs-footer__widgets {
    padding: 2rem 0 2.25rem;
}

.rs-footer__widget-row {
    row-gap: 1.5rem;
}

.rs-footer__widget-row--centered {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem clamp(3rem, 7vw, 6.5rem);
}

.rs-footer__col-wrap {
    flex: 0 1 auto;
    max-width: 28rem;
}

.rs-footer__col-title {
    margin-bottom: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--rs-footer-text, #fff);
    opacity: 0.95;
}

.rs-footer__links li+li {
    margin-top: 0.55rem;
}

.rs-footer__link {
    display: inline-block;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--rs-footer-muted);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.rs-footer__link:hover {
    color: #fff;
}

.rs-footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.rs-footer__contact li+li {
    margin-top: 0.85rem;
}

.rs-footer__contact-icon {
    flex: 0 0 20px;
    width: 20px;
    margin-top: 0.1rem;
    color: var(--rs-brand-cyan, #009CFF);
    font-size: 1.1rem;
    line-height: 1;
}

.rs-footer__contact-text {
    font-size: 0.875rem;
    line-height: 1.6;
    color: var(--rs-footer-muted);
}

.rs-footer__contact-text:hover {
    color: #fff;
}

/* Mobile accordion */
.rs-footer__widgets-mobile {
    padding: 0 0 0.5rem;
}

.rs-footer-accordion {
    border-top: 1px solid var(--rs-footer-border);
}

.rs-footer-accordion__item {
    border-bottom: 1px solid var(--rs-footer-border);
}

.rs-footer-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border: 0;
    background: transparent;
    color: var(--rs-footer-text, #fff);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: left;
}

.rs-footer-accordion__trigger i {
    font-size: 1.1rem;
    transition: transform 0.22s ease;
}

.rs-footer-accordion__item.is-open .rs-footer-accordion__trigger i {
    transform: rotate(180deg);
}

.rs-footer-accordion__panel {
    display: none;
    padding: 0 0 1rem;
}

.rs-footer-accordion__item.is-open .rs-footer-accordion__panel {
    display: block;
}

.rs-footer-accordion .rs-footer__link,
.rs-footer-accordion .rs-footer__contact-text {
    color: var(--rs-footer-muted);
}

/* Bottom bar */
.rs-footer__bar {
    padding: 1.25rem 0 1.75rem;
    border-top: 1px solid var(--rs-footer-border);
    background: rgba(0, 0, 0, 0.12);
}

.rs-footer__bar-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 992px) {
    .rs-footer__bar-inner {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 1.5rem;
    }
}

.rs-footer__copyright {
    font-size: 0.8125rem;
    line-height: 1.6;
    color: var(--rs-footer-muted);
    text-align: center;
}

@media (min-width: 992px) {
    .rs-footer__copyright {
        text-align: left;
    }
}

.rs-footer__bar-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 992px) {
    .rs-footer__bar-meta {
        align-items: flex-end;
    }
}

.rs-footer__payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}

@media (min-width: 992px) {
    .rs-footer__payments {
        justify-content: flex-end;
    }
}

.rs-footer__payment-icon {
    display: block;
    max-height: 22px;
    width: auto;
    opacity: 0.88;
    filter: grayscale(20%);
}

.rs-footer__tsd-credit {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.5rem;
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--rs-footer-muted);
    text-align: center;
}

@media (min-width: 992px) {
    .rs-footer__tsd-credit {
        justify-content: flex-end;
        text-align: right;
    }
}

.rs-footer__tsd-label {
    opacity: 0.85;
}

.rs-footer__tsd-link {
    color: var(--rs-brand-cyan, #009CFF);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rs-footer__tsd-link:hover {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 991.98px) {
    .rs-footer__brand {
        padding: 2rem 0 1.5rem;
    }

    .rs-footer__brand-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .rs-footer__brand-aside {
        align-items: flex-start;
        text-align: left;
    }

    .rs-footer__newsletter-form {
        flex-direction: column;
    }

    .rs-footer__newsletter-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .rs-footer__brand {
        padding: 1.5rem 0 1.25rem;
    }

    .rs-footer__tagline {
        font-size: 0.875rem;
    }

    .rs-footer__bar {
        padding-bottom: 5.5rem;
    }
}

/* ========== RS Residence — Mobile bottom tab bar ========== */
.aiz-rs_residence .rs-mobile-bottom-nav {
    left: 0;
    right: 0;
    z-index: 1040;
    padding: 0 12px calc(10px + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
}

.aiz-rs_residence .rs-mobile-bottom-nav__shell {
    position: relative;
    max-width: 480px;
    margin: 0 auto;
    pointer-events: auto;
}

.aiz-rs_residence .rs-mobile-bottom-nav__inner {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0;
    padding: 6px 8px 8px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 100%);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 22px;
    box-shadow:
        0 0 0 1px rgba(15, 23, 42, 0.05),
        0 12px 40px rgba(15, 23, 42, 0.14),
        0 4px 12px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
}

.aiz-rs_residence .rs-mobile-bottom-nav__item {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 6px 2px 2px;
    text-decoration: none !important;
    color: #94a3b8;
    transition: color 0.25s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__item:active {
    transform: scale(0.94);
}

.aiz-rs_residence .rs-mobile-bottom-nav__item.is-active {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-mobile-bottom-nav__icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 32px;
    border-radius: 12px;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__item.is-active .rs-mobile-bottom-nav__icon-wrap {
    background: var(--rs-brand-gradient-soft);
    box-shadow: inset 0 0 0 1px rgba(0, 156, 255, 0.12);
}

.aiz-rs_residence .rs-mobile-bottom-nav__icon {
    font-size: 21px;
    line-height: 1;
    color: #94a3b8;
    transition: color 0.25s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__item.is-active .rs-mobile-bottom-nav__icon {
    color: var(--rs-brand-teal);
    transform: scale(1.06);
}

.aiz-rs_residence .rs-mobile-bottom-nav__avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e2e8f0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__item.is-active .rs-mobile-bottom-nav__avatar {
    border-color: var(--rs-brand-cyan);
    box-shadow: 0 0 0 2px rgba(0, 156, 255, 0.18);
}

.aiz-rs_residence .rs-mobile-bottom-nav__label {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    opacity: 0.85;
    transition: opacity 0.2s ease, font-weight 0.2s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__item.is-active .rs-mobile-bottom-nav__label {
    font-weight: 700;
    opacity: 1;
}

.aiz-rs_residence .rs-mobile-bottom-nav__badge {
    position: absolute;
    top: -4px;
    right: -6px;
    min-width: 17px;
    height: 17px;
    padding: 0 5px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    line-height: 17px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.35);
}

.aiz-rs_residence .rs-mobile-bottom-nav__badge.d-none {
    display: none !important;
}

/* Cart notch + floating FAB */
.aiz-rs_residence .rs-mobile-bottom-nav__cart-slot {
    flex: 0 0 58px;
    min-width: 58px;
    height: 1px;
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab {
    position: absolute;
    left: 50%;
    top: -18px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none !important;
    z-index: 2;
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab-ring {
    padding: 3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 156, 255, 0.35) 0%, rgba(2, 132, 199, 0.25) 100%);
    box-shadow: 0 8px 24px rgba(0, 156, 255, 0.28);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--rs-brand-gradient);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    border: 3px solid #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: transform 0.25s ease;
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab:active .rs-mobile-bottom-nav__cart-fab-ring {
    transform: scale(0.94);
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab.is-active .rs-mobile-bottom-nav__cart-fab-ring,
.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab:hover .rs-mobile-bottom-nav__cart-fab-ring {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 156, 255, 0.38);
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab.is-active .rs-mobile-bottom-nav__cart-fab-btn {
    background: linear-gradient(135deg, #0d9488 0%, #0891b2 50%, #0369a1 100%);
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--rs-brand-teal);
    letter-spacing: 0.02em;
    line-height: 1;
}

.aiz-rs_residence .rs-mobile-bottom-nav__cart-fab .rs-mobile-bottom-nav__badge {
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    line-height: 14px;
    font-size: 10px;
    background: #fff;
    color: #ef4444;
    border: 2px solid #ef4444;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25);
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .aiz-rs_residence .aiz-main-wrapper {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-mobile-bottom-nav__item,
    .aiz-rs_residence .rs-mobile-bottom-nav__cart-fab-ring,
    .aiz-rs_residence .rs-mobile-bottom-nav__icon {
        transition: none;
    }

    .aiz-rs_residence .rs-mobile-bottom-nav__item:active,
    .aiz-rs_residence .rs-mobile-bottom-nav__cart-fab:active .rs-mobile-bottom-nav__cart-fab-ring {
        transform: none;
    }
}

/* ========== RS Residence — Product carousel overlay nav ========== */
.aiz-rs_residence .rs-product-carousel-shell {
    position: relative;
    padding: 0 44px;
}

.aiz-rs_residence .rs-product-carousel-shell__viewport {
    position: relative;
    overflow: hidden;
}

.aiz-rs_residence .rs-product-carousel-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 50%;
    background: #ffffff;
    color: #334155;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, opacity 0.2s ease, border-color 0.2s ease;
}

.aiz-rs_residence .rs-product-carousel-nav--prev {
    left: 2px;
}

.aiz-rs_residence .rs-product-carousel-nav--next {
    right: 2px;
}

.aiz-rs_residence .rs-product-carousel-nav:hover:not(.is-disabled):not(.link-disable) {
    color: var(--rs-brand-teal, #009CFF);
    border-color: rgba(0, 156, 255, 0.25);
    box-shadow: 0 6px 18px rgba(0, 156, 255, 0.25);
    transform: translateY(-50%) scale(1.06);
}

.aiz-rs_residence .rs-product-carousel-nav.is-disabled,
.aiz-rs_residence .rs-product-carousel-nav.link-disable {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}

/* Mobile: clean full-width swipeable carousel, hide floating side arrows that block items */
@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-product-carousel-shell {
        padding: 0 !important;
    }

    .aiz-rs_residence .rs-product-carousel-shell__viewport,
    .aiz-rs_residence .rs-product-carousel-shell__viewport.px-sm-3,
    .aiz-rs_residence .rs-product-carousel-shell .rs-todays-deal-carousel-wrap {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden !important;
    }

    .aiz-rs_residence .rs-product-carousel-shell .rs-product-carousel-item {
        padding: 4px !important;
    }

    .aiz-rs_residence .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 .slick-list,
    .aiz-rs_residence .aiz-carousel .slick-list {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .aiz-rs_residence .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 .carousel-box {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }

    /* Hide floating side arrows on touchscreens to eliminate clipping and overlap */
    .aiz-rs_residence .rs-product-carousel-nav {
        display: none !important;
    }

    /* Product-detail boxes: use full inner width */
    .aiz-rs_residence .related-product-container .rs-product-carousel-shell,
    .aiz-rs_residence .frequently-bought-container .rs-product-carousel-shell {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}

/* ========== RS Residence — Home category sections ========== */
.aiz-rs_residence .rs-home-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .rs-home-category-header__thumb {
    flex: 0 0 56px;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.aiz-rs_residence .rs-home-category-header__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiz-rs_residence .rs-home-category-header__content {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.aiz-rs_residence .rs-home-category-header__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.aiz-rs_residence .rs-home-category-header__title a {
    color: inherit;
    text-decoration: none !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.aiz-rs_residence .rs-home-category-header__title a:hover {
    color: var(--rs-brand-teal, #009CFF);
}

.aiz-rs_residence .rs-home-category-header__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft, rgba(0, 156, 255, 0.12));
    border: 1px solid rgba(0, 156, 255, 0.22);
    color: var(--rs-brand-teal, #009CFF);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-home-category-header__cta:hover {
    background: rgba(0, 156, 255, 0.18);
    border-color: rgba(0, 156, 255, 0.35);
    color: var(--rs-brand-teal, #009CFF);
}

.aiz-rs_residence .rs-home-category-header__cta i {
    font-size: 13px;
}

.aiz-rs_residence .rs-home-category-carousel {
    width: 100%;
}

.aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell {
    width: 100%;
    max-width: 100%;
}

.aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell__viewport {
    overflow: hidden;
    width: 100%;
}

.aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 .slick-list {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.aiz-rs_residence .rs-home-category-slider.aiz-carousel .slick-list {
    overflow: hidden;
}

.aiz-rs_residence .rs-home-category-slider.aiz-carousel:not(.slick-initialized)>.carousel-box:not(:first-child) {
    display: none !important;
}

.aiz-rs_residence .rs-home-category-slider .carousel-box.rs-product-carousel-item {
    transform: none !important;
    margin-bottom: 0 !important;
    height: auto !important;
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-home-category-section {
        margin-top: 1.25rem !important;
        padding-top: 1rem;
    }

    .aiz-rs_residence .rs-home-category-section:first-child {
        margin-top: 0 !important;
        padding-top: 0;
    }

    .aiz-rs_residence .rs-home-category-section+.rs-home-category-section {
        border-top: 1px solid rgba(15, 23, 42, 0.06);
    }

    .aiz-rs_residence .rs-home-category-header__cta:active {
        transform: scale(0.97);
    }

    .aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell__viewport,
    .aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell__viewport.px-sm-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .aiz-rs_residence .rs-home-category-slider .carousel-box.rs-product-carousel-item {
        transform: none !important;
        margin-bottom: 0 !important;
    }
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-home-category-section {
        margin-top: 2rem !important;
        padding-top: 0.5rem;
    }

    .aiz-rs_residence .rs-home-category-section:first-child {
        margin-top: 0.5rem !important;
    }

    .aiz-rs_residence .rs-home-category-section+.rs-home-category-section {
        border-top: 1px solid rgba(15, 23, 42, 0.06);
        padding-top: 1.5rem;
    }

    .aiz-rs_residence .rs-home-category-header {
        gap: 16px;
        margin-bottom: 1rem;
        padding: 14px 18px;
        border-radius: 18px;
    }

    .aiz-rs_residence .rs-home-category-header__thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
        border-radius: 16px;
    }

    .aiz-rs_residence .rs-home-category-header__title {
        font-size: 20px;
    }

    .aiz-rs_residence .rs-home-category-header__cta {
        padding: 9px 16px;
        font-size: 13px;
    }

    .aiz-rs_residence .rs-home-category-header__cta i {
        font-size: 15px;
    }

    .aiz-rs_residence .rs-home-category-carousel .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 .carousel-box {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ========== RS Residence — Top Brands section ========== */
.aiz-rs_residence .rs-top-brands-section {
    margin-bottom: 2rem;
}

.aiz-rs_residence .rs-top-brands-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .rs-top-brands-header__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}

.aiz-rs_residence .rs-top-brands-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft, rgba(0, 156, 255, 0.12));
    border: 1px solid rgba(0, 156, 255, 0.22);
    color: var(--rs-brand-teal, #009CFF);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-top-brands-header__cta:hover {
    background: rgba(0, 156, 255, 0.18);
    border-color: rgba(0, 156, 255, 0.35);
    color: var(--rs-brand-teal, #009CFF);
}

.aiz-rs_residence .rs-top-brands-header__cta i {
    font-size: 13px;
}

.aiz-rs_residence .rs-top-brands-carousel {
    width: 100%;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell {
    width: 100%;
    max-width: 100%;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell__viewport {
    overflow: hidden;
    width: 100%;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 .slick-list {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
}

.aiz-rs_residence .rs-top-brands-slider.aiz-carousel:not(.slick-initialized)>.carousel-box:not(:first-child) {
    display: none !important;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card,
.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card__link,
.aiz-rs_residence .rs-top-brands-carousel .carousel-box,
.aiz-rs_residence .rs-top-brands-carousel .slick-slide {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card {
    height: 100%;
    padding: 4px !important;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 12px 10px;
    border-radius: 0;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    transition: transform 0.22s ease;
}

.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card__link:hover,
.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card__link:focus,
.aiz-rs_residence .rs-top-brands-carousel .rs-brand-card__link:active,
.aiz-rs_residence .rs-top-brands-carousel .slick-slide:focus,
.aiz-rs_residence .rs-top-brands-carousel .slick-current .rs-brand-card__link,
.aiz-rs_residence .rs-top-brands-carousel .slick-active .rs-brand-card__link {
    border: none !important;
    border-color: transparent !important;
    box-shadow: none !important;
    outline: none !important;
    background: transparent !important;
    transform: translateY(-2px);
}

.aiz-rs_residence .rs-brand-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 85px;
    margin-bottom: 0;
    padding: 4px;
}

.aiz-rs_residence .rs-brand-card__logo img {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.aiz-rs_residence .rs-brand-card__name {
    display: none !important;
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-top-brands-section {
        margin-top: 1.25rem !important;
        margin-bottom: 2.25rem !important;
    }

    .aiz-rs_residence .rs-top-brands-header {
        margin-bottom: 10px;
        padding: 10px 12px;
    }

    .aiz-rs_residence .rs-top-brands-header__title {
        font-size: 15px;
    }

    .aiz-rs_residence .rs-top-brands-header__cta {
        padding: 6px 10px;
        font-size: 10px;
    }

    .aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell__viewport,
    .aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell__viewport.px-sm-3 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-nav {
        top: 38%;
    }

    .aiz-rs_residence .rs-brand-card {
        padding: 2px !important;
    }

    .aiz-rs_residence .rs-brand-card__link {
        padding: 8px 6px;
        border-radius: 0;
    }

    .aiz-rs_residence .rs-brand-card__logo {
        height: 68px;
        margin-bottom: 0;
    }

    .aiz-rs_residence .rs-brand-card__name {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-top-brands-section {
        margin-top: 2rem !important;
        margin-bottom: 3rem !important;
    }

    .aiz-rs_residence .rs-top-brands-header {
        margin-bottom: 1rem;
        padding: 14px 18px;
        border-radius: 18px;
    }

    .aiz-rs_residence .rs-top-brands-header__title {
        font-size: 20px;
    }

    .aiz-rs_residence .rs-top-brands-header__cta {
        padding: 9px 16px;
        font-size: 13px;
    }

    .aiz-rs_residence .rs-top-brands-header__cta i {
        font-size: 15px;
    }

    .aiz-rs_residence .rs-brand-card__link {
        padding: 12px 10px;
        border-radius: 0;
    }

    .aiz-rs_residence .rs-brand-card__logo {
        height: 96px;
        margin-bottom: 0;
    }

    .aiz-rs_residence .rs-brand-card__name {
        display: none !important;
    }

    .aiz-rs_residence .rs-top-brands-carousel .rs-product-carousel-shell .aiz-carousel.sm-gutters-16 .carousel-box {
        padding-left: 8px;
        padding-right: 8px;
    }
}

/* ========== RS Residence — Listing page header (breadcrumb, title, toolbar) ========== */
.aiz-rs_residence .rs-listing-header {
    margin: 0.5rem 0 1rem;
    padding: 0;
}

.aiz-rs_residence .rs-listing-breadcrumb {
    margin-bottom: 0.65rem;
}

.aiz-rs_residence .rs-listing-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aiz-rs_residence .rs-listing-breadcrumb__item {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    color: #64748b;
}

.aiz-rs_residence .rs-listing-breadcrumb__item:not(:last-child)::after {
    content: "\f105";
    font-family: "Line Awesome Free";
    font-weight: 900;
    margin: 0 0.4rem;
    font-size: 11px;
    color: #cbd5e1;
}

.aiz-rs_residence .rs-listing-breadcrumb__item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s ease;
}

.aiz-rs_residence .rs-listing-breadcrumb__item a:hover {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-listing-breadcrumb__item--current {
    color: #0f172a;
    font-weight: 700;
}

.aiz-rs_residence .rs-listing-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.aiz-rs_residence .rs-listing-head__main {
    min-width: 0;
    flex: 1;
}

.aiz-rs_residence .rs-listing-head__title {
    margin: 0 0 0.25rem;
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-listing-head__meta {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
}

.aiz-rs_residence .rs-listing-head__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.5rem;
    margin-right: 0.25rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-weight: 800;
    font-size: 12px;
}

.aiz-rs_residence .rs-listing-head__meta--loading {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-listing-head__meta--loading i {
    margin-right: 0.25rem;
}

.aiz-rs_residence .rs-listing-head__filter {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.aiz-rs_residence .rs-listing-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    padding: 0.5rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    position: relative;
}

.aiz-rs_residence .rs-listing-sort {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0 0.35rem 0 0.5rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.aiz-rs_residence .rs-listing-sort__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #fff;
    color: var(--rs-brand-teal);
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .rs-listing-sort__select {
    flex: 1;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    border: none !important;
    background-color: transparent !important;
    box-shadow: none !important;
    padding: 0.35rem 1.75rem 0.35rem 0 !important;
    font-size: 13px;
    font-weight: 600;
    color: #334155 !important;
    min-height: 36px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.15rem center !important;
    background-size: 12px !important;
}

/* Prevent legacy bootstrap-select overlay from blocking grid buttons */
.aiz-rs_residence .rs-listing-sort .bootstrap-select {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.aiz-rs_residence .rs-listing-sort .bootstrap-select>select {
    display: none !important;
    pointer-events: none !important;
}

.aiz-rs_residence .rs-listing-sort__select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.aiz-rs_residence .rs-listing-view {
    display: none;
    align-items: center;
    gap: 4px;
    padding: 3px;
    border-radius: 11px;
    background: #fff;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.aiz-rs_residence .rs-listing-view__btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: transparent;
    transition: background 0.15s ease, transform 0.12s ease;
    position: relative;
    z-index: 3;
    pointer-events: auto;
}

.aiz-rs_residence .rs-listing-view__btn:hover {
    background: #f1f5f9;
}

.aiz-rs_residence .rs-listing-view__btn.active-cols {
    background: var(--rs-brand-gradient);
    box-shadow: 0 2px 8px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-listing-view__btn.active-cols .block_btn,
.aiz-rs_residence .rs-listing-view__btn:hover .block_btn {
    background-color: #fff;
}

.aiz-rs_residence .rs-listing-view__btn:not(.active-cols) .block_btn {
    background-color: #64748b;
}

.aiz-rs_residence .rs-listing-view__btn:active {
    transform: scale(0.96);
}

.aiz-rs_residence .rs-listing-header+.px-3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-listing-view {
        display: flex;
    }

    .aiz-rs_residence .rs-listing-toolbar {
        padding: 0.55rem 0.65rem;
    }

    .aiz-rs_residence .rs-listing-sort {
        max-width: calc(100% - 170px);
    }
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-listing-toolbar {
        flex-wrap: wrap;
    }

    .aiz-rs_residence .rs-listing-sort {
        flex: 1 1 100%;
        padding-right: 0.25rem;
    }

    .aiz-rs_residence .rs-listing-head__title {
        font-size: 1.2rem;
    }
}

@media (min-width: 1200px) {
    .aiz-rs_residence .rs-listing-header {
        margin-top: 0.25rem;
    }

    .aiz-rs_residence .rs-listing-head {
        margin-bottom: 1rem;
    }
}

/* ========== RS Residence — Listing pagination (search / category) ========== */
.aiz-rs_residence .rs-listing-pagination {
    width: 100%;
}

.aiz-rs_residence .rs-pagination__summary {
    margin: 0 0 10px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
    letter-spacing: 0.01em;
}

.aiz-rs_residence .rs-pagination__summary strong {
    color: #0f172a;
    font-weight: 700;
}

.aiz-rs_residence .rs-pagination__list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aiz-rs_residence .rs-pagination__list .page-item {
    margin: 0;
}

.aiz-rs_residence .rs-pagination__list .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 10px;
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(15, 23, 42, 0.05);
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.aiz-rs_residence .rs-pagination__list .page-item.active .page-link {
    background: var(--rs-brand-teal, #009CFF);
    border-color: var(--rs-brand-teal, #009CFF);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 156, 255, 0.28);
}

.aiz-rs_residence .rs-pagination__list .page-item:not(.disabled):not(.active) .page-link:hover {
    background: var(--rs-brand-gradient-soft, rgba(0, 156, 255, 0.12));
    border-color: rgba(0, 156, 255, 0.28);
    color: var(--rs-brand-teal, #009CFF);
}

.aiz-rs_residence .rs-pagination__list .page-item.disabled .page-link {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.06);
    color: #94a3b8;
    opacity: 1;
    box-shadow: none;
}

.aiz-rs_residence .rs-pagination__arrow .page-link {
    min-width: 40px;
    min-height: 40px;
    border-radius: 50% !important;
    font-size: 18px;
}

.aiz-rs_residence .rs-pagination__ellipsis .page-link {
    min-width: 28px;
    padding: 0 4px;
    border: none;
    background: transparent;
    box-shadow: none;
    color: #94a3b8;
    font-weight: 700;
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-listing-pagination {
        padding: 0 12px 8px;
    }

    .aiz-rs_residence .rs-pagination {
        padding: 10px 12px;
        border-radius: 16px;
        background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
        border: 1px solid rgba(15, 23, 42, 0.07);
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    }

    .aiz-rs_residence .rs-pagination__list {
        gap: 5px;
    }

    .aiz-rs_residence .rs-pagination__list .page-link {
        min-width: 36px;
        min-height: 36px;
        font-size: 13px;
        border-radius: 10px !important;
    }

    .aiz-rs_residence .rs-pagination__arrow .page-link {
        min-width: 38px;
        min-height: 38px;
        font-size: 17px;
        background: #fff;
    }

    .aiz-rs_residence .rs-pagination__list .page-item:not(.disabled):not(.active) .page-link:active {
        transform: scale(0.96);
    }
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-pagination__summary {
        display: none !important;
    }

    .aiz-rs_residence .rs-listing-pagination {
        padding-top: 0.5rem;
    }
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-product-carousel-shell {
        padding: 0 44px;
    }

    .aiz-rs_residence .rs-product-carousel-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
        background: #fff;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .aiz-rs_residence .rs-product-carousel-nav--prev {
        left: 2px;
    }

    .aiz-rs_residence .rs-product-carousel-nav--next {
        right: 2px;
    }

    .aiz-rs_residence .rs-product-carousel-shell__viewport.px-sm-3 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .aiz-rs_residence .rs-product-carousel-shell .rs-todays-deal-carousel-wrap {
        padding: 0 !important;
    }
}

/* ========== RS Residence — Modern product card ========== */
.aiz-rs_residence .aiz-carousel:not(.product-gallery):not(.product-gallery-thumb) .slick-list {
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
}

.aiz-rs_residence .rs-product-carousel-item {
    padding: 6px !important;
    height: 100%;
}

.aiz-rs_residence .rs-product-carousel-item .aiz-card-box,
.aiz-rs_residence .rs-product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.aiz-rs_residence .rs-product-card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 156, 255, 0.22);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.aiz-rs_residence .rs-product-card__media {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #fff;
    overflow: hidden;
    border-radius: 0 0 12px 12px;
}

.aiz-rs_residence .rs-product-card__image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.aiz-rs_residence .rs-product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.aiz-rs_residence .rs-product-card__image--hover {
    inset: 0;
    opacity: 0;
}

.aiz-rs_residence .rs-product-card .image-hover-effect:hover .product-main-image {
    opacity: 0;
}

.aiz-rs_residence .rs-product-card .image-hover-effect:hover .product-hover-image {
    opacity: 1;
}

.aiz-rs_residence .rs-product-card__badges {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 2;
    pointer-events: none;
}

.aiz-rs_residence .rs-product-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.aiz-rs_residence .rs-product-card__badge--sale {
    background: linear-gradient(135deg, #ef4444 0%, #f97316 100%);
    color: #fff;
    font-size: 13px;
    padding: 6px 11px;
}

.aiz-rs_residence .rs-product-card__badge--neutral {
    background: #475569;
    color: #fff;
}

.aiz-rs_residence .rs-product-card__actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 3;
    opacity: 0;
    transform: translateX(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.aiz-rs_residence .rs-product-card:hover .rs-product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.aiz-rs_residence .rs-product-card__action-btn {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 50%;
    background-color: #fff;
    background-image: none;
    color: #64748b;
    font-size: 17px;
    line-height: 1;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    position: relative;
    z-index: 4;
    overflow: hidden;
    isolation: isolate;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-product-card__action-btn i {
    position: relative;
    z-index: 1;
    background: none;
    line-height: 1;
}

.aiz-rs_residence .rs-product-card__action-btn:hover,
.aiz-rs_residence .rs-product-card__action-btn:focus {
    background-color: #fff;
    background-image: none;
    color: var(--rs-brand-teal);
    box-shadow: 0 3px 12px rgba(0, 156, 255, 0.22);
    transform: scale(1.06);
}

.rs-product-card__quick-cart,
.aiz-rs_residence .rs-product-card__quick-cart {
    position: absolute;
    left: 1px;
    right: 1px;
    bottom: -2px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 0 0 12px 12px;
    border: none;
    border-bottom: 2px solid #c89832;
    background: #1b82c5;
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-product-card:hover .rs-product-card__quick-cart,
.aiz-rs_residence .rs-product-card:hover .rs-product-card__quick-cart {
    opacity: 1;
    transform: translateY(0);
}

.rs-product-card__quick-cart:hover,
.aiz-rs_residence .rs-product-card__quick-cart:hover {
    background: #156fa9;
    border-bottom-color: #e5b038;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(27, 130, 197, 0.35);
}

.rs-product-card__quick-cart:active,
.aiz-rs_residence .rs-product-card__quick-cart:active,
.rs-product-card__quick-cart.is-active,
.aiz-rs_residence .rs-product-card__quick-cart.is-active {
    background: #c89832 !important;
    border-bottom-color: #1b82c5 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(200, 152, 50, 0.45);
}

.aiz-rs_residence .rs-product-card__body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    gap: 8px;
    padding: 10px 12px 12px;
    text-align: left;
}

.aiz-rs_residence .rs-product-card__title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 2.8em;
}

.aiz-rs_residence .rs-product-card__title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.aiz-rs_residence .rs-product-card__title a:hover {
    color: #1b82c5;
}

.aiz-rs_residence .rs-product-card__price-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}

.aiz-rs_residence .rs-product-card__price {
    font-size: 16px;
    font-weight: 800;
    color: #1b82c5;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.aiz-rs_residence .rs-product-card__price-old {
    font-size: 13px;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
}

.aiz-rs_residence .rs-product-card__mobile-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 36px;
    margin-top: 6px;
    padding: 0 12px;
    border: none;
    border-radius: 10px;
    background: #1b82c5;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(27, 130, 197, 0.25);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.aiz-rs_residence .rs-product-card__mobile-cta i {
    font-size: 14px;
    color: #ffffff;
}

.aiz-rs_residence .rs-product-card__mobile-cta:hover,
.aiz-rs_residence .rs-product-card__mobile-cta:focus {
    background: #156fa9;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(27, 130, 197, 0.35);
}

.aiz-rs_residence .rs-product-card__mobile-cta:active {
    background: #0f5c8e;
    transform: scale(0.98);
}

/* Override legacy card behaviors inside RS Residence */
.aiz-rs_residence .rs-product-card .disc-amount {
    margin-right: 0 !important;
    opacity: 1 !important;
}

.aiz-rs_residence .rs-product-card .cart-btn,
.aiz-rs_residence .rs-product-card .aiz-p-hov-icon,
.aiz-rs_residence .rs-product-card .aiz-p-hov-icon-mobile {
    display: none !important;
}

.aiz-rs_residence .carousel-box.hov-animate-outline::before,
.aiz-rs_residence .carousel-box.hov-animate-outline::after,
.aiz-rs_residence .rs-product-carousel-item.hov-animate-outline::before,
.aiz-rs_residence .rs-product-carousel-item.hov-animate-outline::after {
    display: none !important;
}

/* Product grid pages (category, search, featured list, etc.) */
.aiz-rs_residence .rs-product-grid {
    margin: 0 -8px;
}

.aiz-rs_residence .rs-product-grid-col {
    border: none !important;
    padding: 8px;
}

.aiz-rs_residence .row .col:has(.rs-product-card) {
    border: none !important;
    padding: 8px;
}

.aiz-rs_residence .row.border-top.border-left:has(.rs-product-card) {
    border: none !important;
    margin: 0 -8px;
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-product-carousel-item {
        padding: 4px 2px !important;
    }

    .aiz-rs_residence .rs-product-card {
        border-radius: 14px;
    }

    .aiz-rs_residence .rs-product-card__image {
        padding: 0;
    }

    .aiz-rs_residence .rs-product-card__quick-cart,
    .rs-product-card__quick-cart {
        display: none !important;
    }

    .aiz-rs_residence .rs-product-card__actions {
        opacity: 1;
        transform: none;
    }

    .aiz-rs_residence .rs-product-card__action-btn {
        width: 30px;
        height: 30px;
        font-size: 15px;
    }

    .aiz-rs_residence .rs-product-card__title {
        font-size: 13px;
        min-height: 2.5em;
    }

    .aiz-rs_residence .rs-product-card__price {
        font-size: 15px;
    }

    .aiz-rs_residence .rs-product-card__badge--sale {
        font-size: 12px;
        padding: 5px 9px;
    }

    .aiz-rs_residence .rs-product-card__body {
        padding: 8px 10px 10px;
        gap: 6px;
    }
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-product-card__mobile-cta {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-product-card,
    .aiz-rs_residence .rs-product-card__image,
    .aiz-rs_residence .rs-product-card__actions,
    .aiz-rs_residence .rs-product-card__quick-cart {
        transition: none;
    }

    .aiz-rs_residence .rs-product-card:hover {
        transform: none;
    }
}

/* ========== RS Residence — Filter sidebar checkboxes & radios ========== */
.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox,
.aiz-rs_residence .aiz-filter-sidebar label.aiz-radio {
    display: flex !important;
    align-items: center !important;
    gap: 0.55rem;
    width: 100% !important;
    max-width: 100%;
    min-height: 36px;
    margin-bottom: 4px !important;
    padding: 6px 8px !important;
    border-radius: 10px;
    line-height: 1.35 !important;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    transition: background 0.15s ease;
}

.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox:hover,
.aiz-rs_residence .aiz-filter-sidebar label.aiz-radio:hover {
    background: rgba(0, 156, 255, 0.06);
}

.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox>input,
.aiz-rs_residence .aiz-filter-sidebar label.aiz-radio>input {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox .aiz-square-check,
.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox .aiz-rounded-check,
.aiz-rs_residence .aiz-filter-sidebar label.aiz-radio .aiz-square-check,
.aiz-rs_residence .aiz-filter-sidebar label.aiz-radio .aiz-rounded-check {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: none !important;
}

.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox>span:not(.aiz-square-check):not(.aiz-rounded-check),
.aiz-rs_residence .aiz-filter-sidebar label.aiz-radio>span:not(.aiz-square-check):not(.aiz-rounded-check) {
    flex: 1;
    min-width: 0;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.35;
}

.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox>.d-flex {
    flex: 1;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
}

.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox>.d-flex>div[style*="border-radius: 50%"],
.aiz-rs_residence .aiz-filter-sidebar label.aiz-checkbox>.d-flex>div[style*="border-radius:50%"] {
    flex-shrink: 0;
    width: 18px !important;
    height: 18px !important;
    margin-right: 0 !important;
}

.aiz-rs_residence .aiz-filter-sidebar .aiz-checkbox-list {
    padding: 0 10px 8px !important;
}

.aiz-rs_residence .aiz-filter-sidebar .aiz-checkbox-list .aiz-checkbox,
.aiz-rs_residence .aiz-filter-sidebar .aiz-checkbox-list .aiz-radio {
    display: flex !important;
}

/* Category tree (hummingbird) */
.aiz-rs_residence .aiz-filter-sidebar .hummingbird-treeview,
.aiz-rs_residence .aiz-filter-sidebar .hummingbird-treeview * {
    line-height: 1.35;
}

.aiz-rs_residence .aiz-filter-sidebar .hummingbird-treeview label.aiz-checkbox {
    width: 100% !important;
    max-width: 100%;
    overflow: visible !important;
    white-space: normal !important;
    padding: 6px 32px 6px 8px !important;
}

.aiz-rs_residence .aiz-filter-sidebar .hummingbird-treeview label.aiz-checkbox>span:not(.aiz-square-check):not(.aiz-rounded-check) {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.aiz-rs_residence .aiz-filter-sidebar .hummingbird-base li {
    margin-top: 2px;
    margin-bottom: 2px;
}

.aiz-rs_residence .aiz-filter-sidebar .hummingbird-treeview .tree-item>.las.la-angle-right,
.aiz-rs_residence .aiz-filter-sidebar .hummingbird-treeview li[data-id]:not([data-id=""])>.las {
    position: absolute;
    top: 50%;
    right: 6px;
    margin-top: 0 !important;
    padding-right: 0 !important;
    transform: translateY(-50%);
    font-size: 14px;
    color: #94a3b8;
    pointer-events: none;
}

.aiz-rs_residence .aiz-filter-sidebar .hummingbird-base ul {
    padding-inline-start: 12px !important;
    margin-top: 2px;
}

.aiz-rs_residence .aiz-filter-sidebar #category_filter,
.aiz-rs_residence .aiz-filter-sidebar #category_filter_preorder {
    padding: 0 2px 4px;
}

.aiz-rs_residence .aiz-filter-sidebar .px-20px {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 8px !important;
}

/* ========== RS Residence — Listing filter drawer (mobile/tablet) ========== */
@media (max-width: 1199.98px) {
    .aiz-rs_residence .aiz-filter-sidebar.rs-filter-drawer {
        z-index: 1055 !important;
    }

    .aiz-rs_residence .rs-filter-drawer .overlay {
        background: rgba(15, 23, 42, 0.48);
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    .aiz-rs_residence .rs-filter-drawer .collapse-sidebar {
        display: flex;
        flex-direction: column;
        width: min(92vw, 380px);
        max-width: none;
        background: #f1f5f9;
        padding: 0;
        overflow: hidden;
        box-shadow: -6px 0 36px rgba(15, 23, 42, 0.16);
    }

    .aiz-rs_residence .rs-filter-drawer__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: calc(14px + env(safe-area-inset-top, 0px)) 14px 14px 16px;
        background: var(--rs-brand-gradient);
        flex-shrink: 0;
    }

    .aiz-rs_residence .rs-filter-drawer__title-wrap {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        min-width: 0;
    }

    .aiz-rs_residence .rs-filter-drawer__icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        font-size: 20px;
        flex-shrink: 0;
    }

    .aiz-rs_residence .rs-filter-drawer__title {
        margin: 0;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.2;
        color: #fff;
    }

    .aiz-rs_residence .rs-filter-drawer__subtitle {
        margin: 2px 0 0;
        font-size: 12px;
        font-weight: 500;
        color: rgba(255, 255, 255, 0.82);
    }

    .aiz-rs_residence .rs-filter-drawer__close {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border: none;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.16);
        color: #fff;
        font-size: 22px;
        flex-shrink: 0;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.15s ease;
    }

    .aiz-rs_residence .rs-filter-drawer__close:hover,
    .aiz-rs_residence .rs-filter-drawer__close:focus {
        background: rgba(255, 255, 255, 0.28);
        outline: none;
    }

    .aiz-rs_residence .rs-filter-drawer__close:active {
        transform: scale(0.96);
    }

    .aiz-rs_residence .rs-filter-drawer__scroll {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 12px 12px 8px;
    }

    .aiz-rs_residence .rs-filter-drawer__scroll>.bg-white {
        background: #fff !important;
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 14px;
        margin-bottom: 10px;
        overflow: hidden;
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    }

    .aiz-rs_residence .rs-filter-drawer__scroll>.bg-white.border-bottom-listing-sidebar,
    .aiz-rs_residence .rs-filter-drawer__scroll>.bg-white.preorder-time-hide,
    .aiz-rs_residence .rs-filter-drawer__scroll>.bg-white.preorder-time-show {
        border-bottom: none !important;
    }

    .aiz-rs_residence .rs-filter-drawer__scroll .filter-section {
        font-size: 15px;
        font-weight: 700;
        text-decoration: none !important;
    }

    .aiz-rs_residence .rs-filter-drawer__scroll .filter-section:after {
        color: var(--rs-brand-teal) !important;
        font-size: 18px;
    }

    .aiz-rs_residence .rs-filter-drawer__scroll .fs-16.fw-700.p-3 {
        padding: 14px 14px 12px !important;
    }

    .aiz-rs_residence .rs-filter-drawer__scroll .aiz-checkbox-list,
    .aiz-rs_residence .rs-filter-drawer__scroll .px-20px,
    .aiz-rs_residence .rs-filter-drawer__scroll .px16px,
    .aiz-rs_residence .rs-filter-drawer__scroll .p-3.aiz-checkbox-list {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .aiz-rs_residence .rs-filter-drawer__scroll .aiz-range-slider {
        padding: 0 4px 8px;
    }

    .aiz-rs_residence .rs-filter-drawer__footer {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 12px 14px calc(12px + env(safe-area-inset-bottom, 0px));
        background: #fff;
        border-top: 1px solid rgba(15, 23, 42, 0.08);
        box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.06);
        flex-shrink: 0;
    }

    .aiz-rs_residence .rs-filter-drawer__btn {
        flex: 1;
        min-height: 46px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 700;
        border: none;
        cursor: pointer;
        transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .aiz-rs_residence .rs-filter-drawer__btn:active {
        transform: scale(0.98);
    }

    .aiz-rs_residence .rs-filter-drawer__btn--ghost {
        background: #f1f5f9;
        color: #334155;
    }

    .aiz-rs_residence .rs-filter-drawer__btn--ghost:hover {
        background: #e2e8f0;
    }

    .aiz-rs_residence .rs-filter-drawer__btn--primary {
        background: var(--rs-brand-gradient);
        color: #fff;
        box-shadow: 0 4px 14px var(--rs-brand-shadow);
    }

    .aiz-rs_residence .rs-filter-drawer__btn--primary:hover {
        box-shadow: 0 6px 18px var(--rs-brand-shadow);
    }

    .aiz-rs_residence .rs-filter-trigger {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 38px;
        padding: 0 12px;
        border: 1px solid rgba(0, 156, 255, 0.35);
        border-radius: 999px;
        background: var(--rs-brand-gradient-soft);
        color: var(--rs-brand-teal);
        font-size: 13px;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    }

    .aiz-rs_residence .rs-filter-trigger i {
        font-size: 16px;
    }

    .aiz-rs_residence .rs-filter-trigger:hover,
    .aiz-rs_residence .rs-filter-trigger:focus {
        border-color: var(--rs-brand-cyan);
        box-shadow: 0 2px 10px var(--rs-brand-shadow);
        outline: none;
    }

    .aiz-rs_residence .rs-filter-trigger:active,
    .aiz-rs_residence .aiz-filter-sidebar.active+* .rs-filter-trigger,
    .aiz-rs_residence .rs-filter-trigger.active {
        transform: scale(0.97);
    }

    .aiz-rs_residence .rs-filter-trigger__label {
        white-space: nowrap;
    }
}

@media (max-width: 575.98px) {
    .aiz-rs_residence .rs-filter-trigger__label {
        display: none;
    }

    .aiz-rs_residence .rs-filter-trigger {
        width: 40px;
        height: 40px;
        padding: 0;
        border-radius: 12px;
    }
}

body.rs-filter-drawer-open {
    overflow: hidden;
}

/* ========== RS Residence — All Categories page ========== */
.aiz-rs_residence .rs-categories-page {
    padding: 0.75rem 0 2.5rem;
}

.aiz-rs_residence .rs-categories-page__header {
    margin-bottom: 1rem;
}

.aiz-rs_residence .rs-categories-page__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.65rem;
}

.aiz-rs_residence .rs-categories-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-categories-page__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
    max-width: 36rem;
}

.aiz-rs_residence .rs-categories-page__count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.aiz-rs_residence .rs-categories-jump {
    margin-bottom: 1.25rem;
    margin-left: -12px;
    margin-right: -12px;
    padding: 0 12px;
    overflow: hidden;
}

.aiz-rs_residence .rs-categories-jump__track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.aiz-rs_residence .rs-categories-jump__track::-webkit-scrollbar {
    display: none;
}

.aiz-rs_residence .rs-categories-jump__chip {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 156, 255, 0.28);
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.aiz-rs_residence .rs-categories-jump__chip:hover,
.aiz-rs_residence .rs-categories-jump__chip:focus {
    border-color: var(--rs-brand-cyan);
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    outline: none;
}

.aiz-rs_residence .rs-categories-jump__chip:active {
    transform: scale(0.97);
}

.aiz-rs_residence .rs-categories-groups {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.aiz-rs_residence .rs-category-group {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    scroll-margin-top: 96px;
}

.aiz-rs_residence .rs-category-group__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: linear-gradient(135deg, rgba(0, 156, 255, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .rs-category-group__media {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #f8fafc;
}

.aiz-rs_residence .rs-category-group__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiz-rs_residence .rs-category-group__intro {
    min-width: 0;
    flex: 1;
}

.aiz-rs_residence .rs-category-group__title {
    margin: 0 0 4px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
}

.aiz-rs_residence .rs-category-group__title a {
    color: #0f172a;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-category-group__title a:hover {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-category-group__meta {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.aiz-rs_residence .rs-category-group__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--primary, #009CFF) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 3px 12px rgba(0, 156, 255, 0.28);
    transition: transform 0.12s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}

.aiz-rs_residence .rs-category-group__cta:hover {
    background: #0082e6 !important;
    box-shadow: 0 5px 16px rgba(0, 156, 255, 0.4);
    color: #fff !important;
}

.aiz-rs_residence .rs-category-group__cta:active {
    transform: scale(0.97);
}

.aiz-rs_residence .rs-category-group__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 12px 12px;
}

.aiz-rs_residence .rs-subcategory-card {
    padding: 14px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-subcategory-card:hover {
    border-color: rgba(0, 156, 255, 0.35);
    box-shadow: 0 6px 20px rgba(0, 156, 255, 0.08);
    transform: translateY(-2px);
}

.aiz-rs_residence .rs-subcategory-card--compact {
    padding: 11px 13px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    color: #0f172a !important;
    transition: all 0.18s ease;
}

.aiz-rs_residence .rs-subcategory-card--compact:hover,
.aiz-rs_residence .rs-subcategory-card--compact:focus {
    border-color: var(--rs-brand-teal);
    background: #f8fafc;
    box-shadow: 0 4px 12px rgba(0, 156, 255, 0.08);
}

.aiz-rs_residence .rs-subcategory-card--compact .rs-subcategory-card__title {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.25;
}

@media (max-width: 575.98px) {
    .aiz-rs_residence .rs-subcategory-card--full {
        grid-column: span 2;
    }
}

.aiz-rs_residence .rs-subcategory-card__title {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
}

.aiz-rs_residence .rs-subcategory-card__title a {
    color: #0f172a;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-subcategory-card__title a:hover {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-subcategory-card__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.aiz-rs_residence .rs-subcategory-card__links.is-collapsed li:nth-child(n+6) {
    display: none;
}

.aiz-rs_residence .rs-subcategory-card__links a {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none !important;
    line-height: 1.35;
    transition: color 0.15s ease;
}

.aiz-rs_residence .rs-subcategory-card__links a:hover {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-subcategory-card__links a::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #cbd5e1;
    margin-right: 8px;
    flex-shrink: 0;
    transition: background 0.15s ease;
}

.aiz-rs_residence .rs-subcategory-card__links a:hover::before {
    background: var(--rs-brand-cyan);
}

.aiz-rs_residence .rs-subcategory-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
    padding: 0;
    border: none;
    background: none;
    color: var(--rs-brand-teal);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.aiz-rs_residence .rs-subcategory-card__toggle:hover {
    color: var(--rs-brand-blue);
}

.aiz-rs_residence .rs-subcategory-card__solo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--rs-brand-teal);
    text-decoration: none !important;
}

.aiz-rs_residence .rs-subcategory-card__solo:hover {
    color: var(--rs-brand-blue);
}

@media (min-width: 576px) {
    .aiz-rs_residence .rs-category-group__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .aiz-rs_residence .rs-categories-page {
        padding: 1rem 0 3rem;
    }

    .aiz-rs_residence .rs-categories-jump {
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }

    .aiz-rs_residence .rs-categories-groups {
        gap: 1.25rem;
    }

    .aiz-rs_residence .rs-category-group__head {
        padding: 18px 20px;
        gap: 18px;
    }

    .aiz-rs_residence .rs-category-group__media {
        width: 88px;
        height: 88px;
        border-radius: 16px;
    }

    .aiz-rs_residence .rs-category-group__title {
        font-size: 22px;
    }

    .aiz-rs_residence .rs-category-group__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 16px 18px 18px;
    }
}

@media (min-width: 1200px) {
    .aiz-rs_residence .rs-category-group__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .aiz-rs_residence .rs-category-group {
        scroll-margin-top: 110px;
    }
}

/* ========== RS Residence — Today's Deal Page ========== */
.aiz-rs_residence .rs-todays-deal-page {
    padding: 0.75rem 0 2.75rem;
}

.aiz-rs_residence .rs-todays-deal-page__header {
    margin-bottom: 0.85rem;
}

.aiz-rs_residence .rs-todays-deal-page__hero-card {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
    border: 1px solid rgba(15, 23, 42, 0.06);
    margin-bottom: 1.15rem;
}

.aiz-rs_residence .rs-todays-deal-page__hero {
    position: relative;
    min-height: 240px;
    background-color: var(--rs-deal-bg, #3d4666);
    background-image: var(--rs-deal-banner, none);
    background-size: cover;
    background-position: center;
    padding: 2rem 2rem 2.25rem;
}

.aiz-rs_residence .rs-todays-deal-page__hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg,
            rgba(0, 0, 0, 0.74) 0%,
            rgba(0, 0, 0, 0.48) 45%,
            rgba(0, 0, 0, 0.15) 100%);
    z-index: 0;
}

.aiz-rs_residence .rs-todays-deal-page__hero.text-dark::before {
    background: linear-gradient(105deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.82) 48%,
            rgba(255, 255, 255, 0.4) 100%);
}

.aiz-rs_residence .rs-todays-deal-page__hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
}

.aiz-rs_residence .rs-todays-deal-page__hero-content {
    flex: 1;
    min-width: 0;
}

.aiz-rs_residence .rs-todays-deal-page__hero-aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-todays-deal-page__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(4px);
    margin-bottom: 12px;
}

.aiz-rs_residence .rs-todays-deal-page__hero.text-dark .rs-todays-deal-page__badge {
    background: rgba(15, 23, 42, 0.08);
    color: #1e293b;
}

.aiz-rs_residence .rs-todays-deal-page__title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.aiz-rs_residence .rs-todays-deal-page__subtitle {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    max-width: 34rem;
    line-height: 1.5;
}

.aiz-rs_residence .rs-todays-deal-page__countdown {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.aiz-rs_residence .rs-todays-deal-page__hero.text-dark .rs-todays-deal-page__countdown {
    background: rgba(255, 255, 255, 0.88);
    border-color: rgba(15, 23, 42, 0.08);
    color: #1e293b;
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-body.text-dark .rs-todays-deal-page__countdown {
    background: var(--rs-brand-gradient-soft);
    border-color: rgba(0, 156, 255, 0.2);
    color: #1e293b;
}

.aiz-rs_residence .rs-todays-deal-page__countdown-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.85;
}

.aiz-rs_residence .rs-todays-deal-page__countdown-units {
    display: flex;
    align-items: center;
    gap: 6px;
}

.aiz-rs_residence .rs-todays-deal-page__countdown-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 42px;
}

.aiz-rs_residence .rs-todays-deal-page__countdown-unit strong {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.aiz-rs_residence .rs-todays-deal-page__countdown-unit small {
    font-size: 10px;
    font-weight: 600;
    opacity: 0.75;
    margin-top: 2px;
    text-transform: uppercase;
}

.aiz-rs_residence .rs-todays-deal-page__countdown-sep {
    font-size: 1.1rem;
    font-weight: 700;
    opacity: 0.55;
    margin-top: -10px;
}

.aiz-rs_residence .rs-todays-deal-page__deal-count {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
    font-size: 12px;
    font-weight: 700;
    backdrop-filter: blur(4px);
}

.aiz-rs_residence .rs-todays-deal-page__hero.text-dark .rs-todays-deal-page__deal-count {
    background: var(--rs-brand-gradient-soft);
    border-color: rgba(0, 156, 255, 0.28);
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-banner {
    max-height: 160px;
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-banner img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-banner--solid {
    height: 120px;
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-body {
    padding: 16px;
    background: linear-gradient(135deg, var(--rs-deal-bg, #3d4666) 0%, #2a3148 100%);
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-body.text-dark {
    background: #fff;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-body--plain {
    background: #fff !important;
}

.aiz-rs_residence .rs-todays-deal-page__hero-mobile-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.aiz-rs_residence .rs-todays-deal-page__mobile-title {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 4px;
}

.aiz-rs_residence .rs-todays-deal-page__mobile-subtitle {
    font-size: 13px;
    opacity: 0.85;
}

.aiz-rs_residence .rs-todays-deal-page__deal-count--mobile {
    min-width: 44px;
    height: 44px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    border-radius: 12px;
}

.aiz-rs_residence .rs-todays-deal-page__countdown--mobile {
    align-items: stretch;
    width: 100%;
}

.aiz-rs_residence .rs-todays-deal-page__countdown--mobile .rs-todays-deal-page__countdown-units {
    justify-content: center;
    width: 100%;
}

.aiz-rs_residence .rs-todays-deal-page__countdown--mobile .rs-todays-deal-page__countdown-label {
    text-align: center;
}

.aiz-rs_residence .rs-todays-deal-page__perks {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 1.35rem;
}

.aiz-rs_residence .rs-todays-deal-page__perk {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-todays-deal-page__perk-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    line-height: 1;
}

.aiz-rs_residence .rs-todays-deal-page__perk-icon i {
    display: block;
    font-size: 26px;
    line-height: 1;
}

.aiz-rs_residence .rs-todays-deal-page__perk-body {
    min-width: 0;
}

.aiz-rs_residence .rs-todays-deal-page__perk strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.aiz-rs_residence .rs-todays-deal-page__perk-desc {
    display: block;
    font-size: 12px;
    color: #64748b;
    line-height: 1.35;
    margin-top: 3px;
}

.aiz-rs_residence .rs-todays-deal-page__products {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    padding: 1.15rem 1rem 1.25rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-todays-deal-page__products-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 1rem;
    padding: 0 4px;
}

.aiz-rs_residence .rs-todays-deal-page__products-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.aiz-rs_residence .rs-todays-deal-page__products-meta {
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}

.aiz-rs_residence .rs-todays-deal-page__products-meta span {
    color: var(--rs-brand-teal);
    font-weight: 800;
}

.aiz-rs_residence .rs-todays-deal-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-todays-deal-page__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 28px;
}

.aiz-rs_residence .rs-todays-deal-page__empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-todays-deal-page__empty-text {
    margin: 0 auto 1.25rem;
    max-width: 26rem;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.aiz-rs_residence .rs-todays-deal-page__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-todays-deal-page__empty-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px var(--rs-brand-shadow);
    color: #fff !important;
}

@media (max-width: 991.98px) {
    .aiz-rs_residence .rs-todays-deal-page__hero-card {
        border-radius: 14px;
    }

    .aiz-rs_residence .rs-todays-deal-page__perks {
        display: flex;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        margin-left: -12px;
        margin-right: -12px;
        padding: 0 12px 4px;
    }

    .aiz-rs_residence .rs-todays-deal-page__perks::-webkit-scrollbar {
        display: none;
    }

    .aiz-rs_residence .rs-todays-deal-page__perk {
        flex: 0 0 min(78vw, 260px);
    }
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-todays-deal-page {
        padding: 0.5rem 0 2rem;
    }

    .aiz-rs_residence .rs-todays-deal-page__products {
        border-radius: 14px;
        padding: 1rem 0.65rem 0.85rem;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .aiz-rs_residence .rs-todays-deal-page__products-head {
        padding: 0 6px;
        margin-bottom: 0.75rem;
    }

    .aiz-rs_residence .rs-todays-deal-page__hero-mobile-banner,
    .aiz-rs_residence .rs-todays-deal-page__hero-mobile-banner img {
        max-height: 140px;
        height: 140px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aiz-rs_residence .rs-todays-deal-page__empty-cta {
        transition: none;
    }

    .aiz-rs_residence .rs-todays-deal-page__empty-cta:hover {
        transform: none;
    }
}

/* ========== RS Residence — Blog listing page ========== */
.aiz-rs_residence .rs-blog-page {
    padding: 0.75rem 0 2.75rem;
}

.aiz-rs_residence .rs-blog-page__header {
    margin-bottom: 1.25rem;
}

.aiz-rs_residence .rs-blog-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
}

.aiz-rs_residence .rs-blog-page__head-main {
    min-width: 0;
    flex: 1;
}

.aiz-rs_residence .rs-blog-page__head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.aiz-rs_residence .rs-blog-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-page__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
    max-width: 34rem;
}

.aiz-rs_residence .rs-blog-page__count {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.aiz-rs_residence .rs-blog-page__active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.aiz-rs_residence .rs-blog-page__filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 156, 255, 0.28);
    color: #334155;
    font-size: 12px;
    font-weight: 600;
}

.aiz-rs_residence .rs-blog-page__filter-chip i {
    font-size: 14px;
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-blog-page__clear-filters {
    font-size: 12px;
    font-weight: 700;
    color: var(--rs-brand-teal);
    text-decoration: none !important;
}

.aiz-rs_residence .rs-blog-page__clear-filters:hover {
    color: var(--rs-brand-blue);
}

.aiz-rs_residence .rs-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.aiz-rs_residence .rs-blog-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    height: 100%;
}

.aiz-rs_residence .rs-blog-card:hover {
    border-color: rgba(0, 156, 255, 0.22);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

.aiz-rs_residence .rs-blog-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.aiz-rs_residence .rs-blog-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.aiz-rs_residence .rs-blog-card:hover .rs-blog-card__media img {
    transform: scale(1.04);
}

.aiz-rs_residence .rs-blog-card__category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(6px);
    color: var(--rs-brand-teal);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.aiz-rs_residence .rs-blog-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
    gap: 8px;
}

.aiz-rs_residence .rs-blog-card__date {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aiz-rs_residence .rs-blog-card__title {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-card__title a:hover {
    color: var(--rs-brand-teal);
}

.aiz-rs_residence .rs-blog-card__excerpt {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.aiz-rs_residence .rs-blog-card__read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 700;
    color: var(--rs-brand-teal);
    text-decoration: none !important;
}

.aiz-rs_residence .rs-blog-card__read-more i {
    font-size: 16px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.aiz-rs_residence .rs-blog-card__read-more:hover {
    color: var(--rs-brand-blue);
}

.aiz-rs_residence .rs-blog-card__read-more:hover i {
    transform: translateX(3px);
}

.aiz-rs_residence .rs-blog-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-blog-page__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    line-height: 1;
}

.aiz-rs_residence .rs-blog-page__empty-icon i {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.aiz-rs_residence .rs-blog-page__empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-page__empty-text {
    margin: 0 auto 1.25rem;
    max-width: 26rem;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.aiz-rs_residence .rs-blog-page__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-blog-page__empty-cta i {
    font-size: 16px;
    line-height: 1;
}

.aiz-rs_residence .rs-blog-page__empty-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px var(--rs-brand-shadow);
    color: #fff !important;
}

/* Blog sidebar */
.aiz-rs_residence .rs-blog-sidebar__panel {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 14px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-blog-sidebar__panel--recent {
    margin-bottom: 0;
}

.aiz-rs_residence .rs-blog-sidebar__title {
    margin: 0 0 12px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.aiz-rs_residence .rs-blog-sidebar__search {
    display: flex;
    align-items: stretch;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    overflow: hidden;
    background: #f8fafc;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aiz-rs_residence .rs-blog-sidebar__search:focus-within {
    border-color: var(--rs-brand-cyan);
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.15);
    background: #fff;
}

.aiz-rs_residence .rs-blog-sidebar__search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 14px;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}

.aiz-rs_residence .rs-blog-sidebar__search button {
    flex-shrink: 0;
    width: 46px;
    border: 0;
    background: transparent;
    color: #64748b;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease;
}

.aiz-rs_residence .rs-blog-sidebar__search button i {
    display: block;
    font-size: 18px;
    line-height: 1;
}

.aiz-rs_residence .rs-blog-sidebar__search button:hover {
    color: var(--rs-brand-teal);
    background: rgba(0, 156, 255, 0.08);
}

.aiz-rs_residence .rs-blog-sidebar__category-label {
    font-size: 13px;
    font-weight: 500;
    color: #334155;
}

.aiz-rs_residence .rs-blog-recent-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.aiz-rs_residence .rs-blog-recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border-radius: 12px;
    text-decoration: none !important;
    color: inherit;
    border: 1px solid transparent;
}

.aiz-rs_residence .rs-blog-recent-item:hover {
    background: var(--rs-brand-gradient-soft);
    border-color: rgba(0, 156, 255, 0.16);
}

.aiz-rs_residence .rs-blog-recent-item__thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    display: block;
    background: #f1f5f9;
}

.aiz-rs_residence .rs-blog-recent-item__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiz-rs_residence .rs-blog-recent-item__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aiz-rs_residence .rs-blog-recent-item__title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-recent-item__date {
    font-size: 11px;
    font-weight: 500;
    color: #94a3b8;
}

.aiz-rs_residence .rs-blog-sidebar .aiz-filter-sidebar .collapse-sidebar {
    background: transparent;
    box-shadow: none;
}

.aiz-rs_residence .rs-blog-sidebar .aiz-filter-sidebar .collapse-sidebar {
    padding: 0;
}

.aiz-rs_residence .rs-blog-sidebar__drawer-head {
    background: #fff;
    padding: 12px 8px 12px 0;
}

@media (min-width: 1200px) {
    .aiz-rs_residence .rs-blog-sidebar .aiz-filter-sidebar .collapse-sidebar {
        position: static !important;
        transform: none !important;
        width: 100% !important;
        max-width: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        display: block !important;
    }

    .aiz-rs_residence .rs-blog-sidebar .aiz-filter-sidebar .overlay {
        display: none !important;
    }
}

@media (max-width: 1199.98px) {
    .aiz-rs_residence .rs-blog-sidebar .aiz-filter-sidebar .collapse-sidebar {
        background: #fff;
        border-radius: 16px 0 0 16px;
    }

    .aiz-rs_residence .rs-blog-sidebar__panel {
        margin: 14px;
    }
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-blog-page {
        padding: 0.5rem 0 2rem;
    }

    .aiz-rs_residence .rs-blog-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .aiz-rs_residence .rs-blog-page__count {
        display: none;
    }

    .aiz-rs_residence .rs-blog-card__body {
        padding: 12px 14px 14px;
    }

    .aiz-rs_residence .rs-blog-card__title {
        font-size: 14px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .aiz-rs_residence .rs-blog-grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-blog-card,
    .aiz-rs_residence .rs-blog-card__media img,
    .aiz-rs_residence .rs-blog-card__read-more i,
    .aiz-rs_residence .rs-blog-page__empty-cta {
        transition: none;
    }

    .aiz-rs_residence .rs-blog-card:hover {
        transform: none;
    }
}

/* ========== RS Residence — Blog article page ========== */
.aiz-rs_residence .rs-blog-article-page {
    padding: 0.75rem 0 2.75rem;
}

.aiz-rs_residence .rs-blog-article-page__header {
    margin-bottom: 1rem;
}

.aiz-rs_residence .rs-blog-article {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-blog-article__head {
    padding: 1.35rem 1.35rem 1.15rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: linear-gradient(135deg, rgba(0, 156, 255, 0.05) 0%, rgba(255, 255, 255, 0) 72%);
}

.aiz-rs_residence .rs-blog-article__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 12px;
}

.aiz-rs_residence .rs-blog-article__category {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.aiz-rs_residence .rs-blog-article__date {
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aiz-rs_residence .rs-blog-article__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-article__lead {
    margin: 0 0 14px;
    font-size: 1rem;
    line-height: 1.6;
    color: #64748b;
    max-width: 46rem;
}

.aiz-rs_residence .rs-blog-article__share-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin-top: 4px;
}

.aiz-rs_residence .rs-blog-article__share-label {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.aiz-rs_residence .rs-blog-article__share .jssocials-shares {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
}

.aiz-rs_residence .rs-blog-article__share .jssocials-share {
    margin: 0 !important;
}

.aiz-rs_residence .rs-blog-article__share .jssocials-share-link {
    width: 36px;
    height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #475569 !important;
    font-size: 16px;
    line-height: 1;
    transition: transform 0.15s ease, border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.aiz-rs_residence .rs-blog-article__share .jssocials-share-link:hover {
    border-color: rgba(0, 156, 255, 0.35);
    color: var(--rs-brand-teal) !important;
    background: var(--rs-brand-gradient-soft);
    transform: translateY(-1px);
}

.aiz-rs_residence .rs-blog-article__hero {
    aspect-ratio: 16 / 9;
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.aiz-rs_residence .rs-blog-article__hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.aiz-rs_residence .rs-blog-article__content {
    padding: 1.5rem 1.35rem;
    font-size: 16px;
    line-height: 1.75;
    color: #334155;
    overflow-wrap: anywhere;
}

.aiz-rs_residence .rs-blog-article__content> :first-child {
    margin-top: 0;
}

.aiz-rs_residence .rs-blog-article__content> :last-child {
    margin-bottom: 0;
}

.aiz-rs_residence .rs-blog-article__content p,
.aiz-rs_residence .rs-blog-article__content div {
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    color: inherit !important;
}

.aiz-rs_residence .rs-blog-article__content p {
    margin: 0 0 1rem;
}

.aiz-rs_residence .rs-blog-article__content h1,
.aiz-rs_residence .rs-blog-article__content h2,
.aiz-rs_residence .rs-blog-article__content h3,
.aiz-rs_residence .rs-blog-article__content h4 {
    font-family: inherit !important;
    color: #0f172a !important;
    font-weight: 800;
    line-height: 1.3;
    margin: 1.5rem 0 0.75rem;
    letter-spacing: -0.01em;
}

.aiz-rs_residence .rs-blog-article__content h2 {
    font-size: 1.35rem;
}

.aiz-rs_residence .rs-blog-article__content h3 {
    font-size: 1.15rem;
}

.aiz-rs_residence .rs-blog-article__content ul,
.aiz-rs_residence .rs-blog-article__content ol {
    margin: 0 0 1rem;
    padding-left: 1.35rem;
}

.aiz-rs_residence .rs-blog-article__content li {
    margin-bottom: 0.35rem;
}

.aiz-rs_residence .rs-blog-article__content a {
    color: var(--rs-brand-teal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.aiz-rs_residence .rs-blog-article__content a:hover {
    color: var(--rs-brand-blue);
}

.aiz-rs_residence .rs-blog-article__content img {
    max-width: 100%;
    height: auto !important;
    border-radius: 12px;
    margin: 1rem 0;
}

.aiz-rs_residence .rs-blog-article__content blockquote {
    margin: 1.25rem 0;
    padding: 1rem 1.15rem;
    border-left: 4px solid var(--rs-brand-teal);
    border-radius: 0 12px 12px 0;
    background: var(--rs-brand-gradient-soft);
    color: #1e293b;
}

.aiz-rs_residence .rs-blog-article__content table {
    width: 100%;
    margin: 1rem 0;
    border-collapse: collapse;
    font-size: 14px;
}

.aiz-rs_residence .rs-blog-article__content th,
.aiz-rs_residence .rs-blog-article__content td {
    border: 1px solid rgba(15, 23, 42, 0.1);
    padding: 10px 12px;
    text-align: left;
}

.aiz-rs_residence .rs-blog-article__content th {
    background: #f8fafc;
    font-weight: 700;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-article__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 1.15rem 1.35rem 1.35rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #fafbfc;
}

.aiz-rs_residence .rs-blog-article__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 156, 255, 0.28);
    background: #fff;
    color: var(--rs-brand-teal) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-blog-article__back i {
    font-size: 16px;
    line-height: 1;
}

.aiz-rs_residence .rs-blog-article__back:hover {
    background: var(--rs-brand-gradient-soft);
    border-color: rgba(0, 156, 255, 0.4);
}

.aiz-rs_residence .rs-blog-article__share-row--footer {
    margin-top: 0;
}

.aiz-rs_residence .rs-blog-article__comments {
    padding: 0 1.35rem 1.35rem;
}

.aiz-rs_residence .rs-blog-article__comments-title {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-blog-article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

@media (min-width: 1200px) {
    .aiz-rs_residence .rs-blog-article-sidebar {
        position: sticky;
        top: 96px;
    }
}

.aiz-rs_residence .rs-blog-recent-item.is-active {
    background: var(--rs-brand-gradient-soft);
    border-color: rgba(0, 156, 255, 0.28);
    pointer-events: none;
}

.aiz-rs_residence .rs-blog-article-sidebar__empty {
    font-size: 13px;
    color: #64748b;
}

.aiz-rs_residence .rs-blog-article-sidebar__cta {
    padding: 18px;
    border-radius: 16px;
    background: var(--rs-brand-gradient);
    color: #fff;
    box-shadow: 0 8px 24px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-blog-article-sidebar__cta-title {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

.aiz-rs_residence .rs-blog-article-sidebar__cta-text {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
}

.aiz-rs_residence .rs-blog-article-sidebar__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    background: #fff;
    color: var(--rs-brand-teal) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-blog-article-sidebar__cta-btn i {
    font-size: 16px;
    line-height: 1;
}

.aiz-rs_residence .rs-blog-article-sidebar__cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-blog-article-page {
        padding: 0.5rem 0 2rem;
    }

    .aiz-rs_residence .rs-blog-article {
        border-radius: 14px;
    }

    .aiz-rs_residence .rs-blog-article__head,
    .aiz-rs_residence .rs-blog-article__content,
    .aiz-rs_residence .rs-blog-article__footer,
    .aiz-rs_residence .rs-blog-article__comments {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .aiz-rs_residence .rs-blog-article__head {
        padding-top: 1.1rem;
    }

    .aiz-rs_residence .rs-blog-article__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .aiz-rs_residence .rs-blog-article__share-row--footer {
        justify-content: flex-start;
    }

    .aiz-rs_residence .rs-blog-article__content {
        font-size: 15px;
        padding-top: 1.15rem;
        padding-bottom: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-blog-article__share .jssocials-share-link,
    .aiz-rs_residence .rs-blog-article-sidebar__cta-btn {
        transition: none;
    }

    .aiz-rs_residence .rs-blog-article__share .jssocials-share-link:hover,
    .aiz-rs_residence .rs-blog-article-sidebar__cta-btn:hover {
        transform: none;
    }
}

/* ========== RS Residence — All Brands page ========== */
.aiz-rs_residence .rs-brands-page {
    padding: 0.75rem 0 2.75rem;
}

.aiz-rs_residence .rs-brands-page__breadcrumb-wrap {
    padding: 0.1rem 0;
}

.aiz-rs_residence .rs-brands-banner {
    width: 100%;
    margin-bottom: 1.5rem;
}

.aiz-rs_residence .rs-brands-banner__slider-wrap {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
    background: #f8fafc;
    box-shadow: 0 6px 24px rgba(15, 23, 42, 0.09);
}

.aiz-rs_residence .rs-brands-banner__carousel,
.aiz-rs_residence .rs-brands-banner__carousel .slick-list,
.aiz-rs_residence .rs-brands-banner__carousel .slick-track {
    border-radius: 16px;
    overflow: hidden;
    line-height: 0;
}

.aiz-rs_residence .rs-brands-banner__carousel .slick-slide,
.aiz-rs_residence .rs-brands-banner__carousel .slick-slide > div {
    outline: none !important;
    border: none !important;
    line-height: 0;
}

.aiz-rs_residence .rs-brands-banner__carousel.arrow-none .slick-arrow {
    display: none !important;
}

.aiz-rs_residence .rs-brands-banner__link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    width: 100%;
    height: clamp(165px, 23vw, 310px);
    overflow: hidden;
    background: #f8fafc;
}

.aiz-rs_residence .rs-brands-banner__bg {
    position: absolute;
    inset: -24px;
    background-size: cover;
    background-position: center;
    filter: blur(24px) brightness(0.92);
    transform: scale(1.08);
    pointer-events: none;
}

.aiz-rs_residence .rs-brands-banner__img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.aiz-rs_residence .rs-brands-banner__nav {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}

.aiz-rs_residence .rs-brands-banner__nav-btn {
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 50%;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.18);
}

.aiz-rs_residence .rs-brands-banner__nav-btn:hover {
    background: rgba(15, 23, 42, 0.62);
    border-color: rgba(255, 255, 255, 0.65);
    transform: translateY(-50%) scale(1.04);
}

.aiz-rs_residence .rs-brands-banner__nav-btn--prev {
    left: 1rem;
}

.aiz-rs_residence .rs-brands-banner__nav-btn--next {
    right: 1rem;
}

.aiz-rs_residence .rs-brands-banner__carousel .slick-dots {
    bottom: 1rem;
    z-index: 2;
}

.aiz-rs_residence .rs-brands-banner__carousel .slick-dots li {
    width: auto;
    height: auto;
    margin: 0 4px;
}

.aiz-rs_residence .rs-brands-banner__carousel .slick-dots li button {
    width: 8px;
    height: 8px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.5);
    transition: width 0.25s ease, background 0.25s ease;
}

.aiz-rs_residence .rs-brands-banner__carousel .slick-dots li button:before {
    display: none;
}

.aiz-rs_residence .rs-brands-banner__carousel .slick-dots li.slick-active button {
    width: 28px;
    background: #ffffff;
}

.aiz-rs_residence .rs-brands-page__header {
    margin-bottom: 2rem;
}

.aiz-rs_residence .rs-brands-page__hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0;
}

.aiz-rs_residence .rs-brands-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #0f172a;
    max-width: 48rem;
}

.aiz-rs_residence .rs-brands-page__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
    max-width: 48rem;
}

.aiz-rs_residence .rs-brands-page__count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.aiz-rs_residence .rs-brands-page__toolbar {
    margin-bottom: 1.15rem;
}

.aiz-rs_residence .rs-brands-page__search {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 420px;
    padding: 0 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.aiz-rs_residence .rs-brands-page__search:focus-within {
    border-color: var(--rs-brand-cyan);
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.15);
}

.aiz-rs_residence .rs-brands-page__search i {
    flex-shrink: 0;
    font-size: 18px;
    line-height: 1;
    color: #94a3b8;
}

.aiz-rs_residence .rs-brands-page__search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 12px 0;
    font-size: 14px;
    color: #0f172a;
    outline: none;
}

.aiz-rs_residence .rs-brands-nav-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1.5rem 0 2.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid #f1f5f9;
}

.aiz-rs_residence .rs-brands-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.aiz-rs_residence .rs-brands-nav__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.aiz-rs_residence .rs-brands-nav__item:hover,
.aiz-rs_residence .rs-brands-nav__item.active {
    color: #0f172a;
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.aiz-rs_residence .rs-brands-section {
    margin-bottom: 3.25rem;
    scroll-margin-top: 100px;
}

.aiz-rs_residence .rs-brands-section__head {
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.aiz-rs_residence .rs-brands-section__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.aiz-rs_residence .rs-brands-section__title {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-brands-section__count {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    font-size: 11.5px;
    font-weight: 700;
    color: #64748b;
    background: #f1f5f9;
    border-radius: 999px;
}

.aiz-rs_residence .rs-brands-category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

@media (min-width: 992px) {
    .aiz-rs_residence .rs-brands-category-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
    .aiz-rs_residence .rs-brands-category-grid--5 {
        grid-template-columns: repeat(5, 1fr);
    }
    .aiz-rs_residence .rs-brands-category-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 320px));
    }
}

.aiz-rs_residence .rs-brands-category-grid .rs-brand-card,
.aiz-rs_residence .rs-brands-category-grid .rs-brand-card:hover {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.aiz-rs_residence .rs-brands-category-grid .rs-brand-card__link {
    min-height: 100%;
    padding: 16px 12px;
    background: transparent !important;
    border: none !important;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    outline: none !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.aiz-rs_residence .rs-brands-category-grid .rs-brand-card__link:hover,
.aiz-rs_residence .rs-brands-category-grid .rs-brand-card__link:focus,
.aiz-rs_residence .rs-brands-category-grid .rs-brand-card__link:active {
    background: transparent !important;
    border: none !important;
    transform: translateY(-3px);
    box-shadow: none !important;
    outline: none !important;
}

.aiz-rs_residence .rs-brands-category-grid .rs-brand-card__logo--page {
    height: 96px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiz-rs_residence .rs-brands-category-grid .rs-brand-card__logo--page img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.aiz-rs_residence .rs-brands-cta {
    margin-top: 3.5rem;
    padding: 2.25rem 2.5rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.aiz-rs_residence .rs-brands-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(194, 155, 56, 0.22) 0%, transparent 70%);
    pointer-events: none;
}

.aiz-rs_residence .rs-brands-cta__title {
    color: #ffffff;
    font-size: clamp(1.25rem, 2.5vw, 1.55rem);
    font-weight: 800;
    margin: 0 0 0.35rem;
}

.aiz-rs_residence .rs-brands-cta__subtitle {
    color: #cbd5e1;
    font-size: 14.5px;
    margin: 0;
    max-width: 38rem;
    line-height: 1.5;
}

.aiz-rs_residence .rs-brands-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.65rem;
    background: #c29b38;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(194, 155, 56, 0.35);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.aiz-rs_residence .rs-brands-cta__btn:hover {
    background: #b58d2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(194, 155, 56, 0.45);
}

.aiz-rs_residence .rs-brands-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
}

.aiz-rs_residence .rs-brands-grid__item {
    padding: 0 !important;
    height: auto;
}

.aiz-rs_residence .rs-brands-grid .rs-brand-card__link {
    min-height: 100%;
    padding: 16px 12px;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.aiz-rs_residence .rs-brands-grid .rs-brand-card__link:hover {
    background-color: #f1f5f9 !important;
    transform: translateY(-2px);
    box-shadow: none !important;
    border: none !important;
}

.aiz-rs_residence .rs-brand-card__logo--page {
    height: 96px;
    margin-bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aiz-rs_residence .rs-brands-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-brands-page__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    line-height: 1;
}

.aiz-rs_residence .rs-brands-page__empty-icon i {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.aiz-rs_residence .rs-brands-page__empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-brands-page__empty-text {
    margin: 0 auto 1.25rem;
    max-width: 26rem;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.aiz-rs_residence .rs-brands-page__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
    text-decoration: none !important;
}

.aiz-rs_residence .rs-brands-page__empty-cta i {
    font-size: 16px;
    line-height: 1;
}

.aiz-rs_residence .rs-brands-page__empty-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px var(--rs-brand-shadow);
    color: #fff !important;
}

@media (max-width: 1199.98px) {
    .aiz-rs_residence .rs-brands-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .aiz-rs_residence .rs-brands-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-brands-page {
        padding: 0.5rem 0 2rem;
    }

    .aiz-rs_residence .rs-brands-banner {
        margin-bottom: 1.4rem;
    }

    .aiz-rs_residence .rs-brands-banner__slider-wrap,
    .aiz-rs_residence .rs-brands-banner__carousel,
    .aiz-rs_residence .rs-brands-banner__carousel .slick-list,
    .aiz-rs_residence .rs-brands-banner__carousel .slick-track {
        border-radius: 14px;
    }

    .aiz-rs_residence .rs-brands-banner__link {
        height: clamp(165px, 36vw, 220px);
    }

    .aiz-rs_residence .rs-brands-banner__nav-btn {
        width: 34px;
        height: 34px;
        font-size: 1rem;
    }

    .aiz-rs_residence .rs-brands-banner__nav-btn--prev {
        left: 0.6rem;
    }

    .aiz-rs_residence .rs-brands-banner__nav-btn--next {
        right: 0.6rem;
    }

    .aiz-rs_residence .rs-brands-banner__carousel .slick-dots {
        bottom: 0.6rem;
    }

    .aiz-rs_residence .rs-brands-banner__carousel .slick-dots li button {
        width: 6px;
        height: 6px;
    }

    .aiz-rs_residence .rs-brands-banner__carousel .slick-dots li.slick-active button {
        width: 20px;
    }

    .aiz-rs_residence .rs-brands-page__header {
        margin-bottom: 1.5rem;
    }

    .aiz-rs_residence .rs-brands-page__hero {
        flex-direction: column;
        gap: 0.65rem;
    }

    .aiz-rs_residence .rs-brands-page__search {
        max-width: none;
    }

    .aiz-rs_residence .rs-brands-category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .aiz-rs_residence .rs-brands-category-grid .rs-brand-card__link {
        padding: 16px 12px;
    }

    .aiz-rs_residence .rs-brands-category-grid .rs-brand-card__logo--page {
        height: 72px;
    }

    .aiz-rs_residence .rs-brands-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .aiz-rs_residence .rs-brands-grid .rs-brand-card__link {
        padding: 14px 10px 12px;
    }

    .aiz-rs_residence .rs-brand-card__logo--page {
        height: 72px;
    }

    .aiz-rs_residence .rs-brand-card__cta {
        opacity: 1;
        transform: none;
    }
}

@media (max-width: 575.98px) {
    .aiz-rs_residence .rs-brands-banner__nav-btn {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-brand-card__cta,
    .aiz-rs_residence .rs-brands-page__empty-cta {
        transition: none;
    }

    .aiz-rs_residence .rs-brands-page__empty-cta:hover {
        transform: none;
    }
}

/* Custom CMS pages (e.g. /showrooms) */
.aiz-rs_residence .rs-custom-page-content {
    font-size: 15px;
    line-height: 1.75;
    color: #334155;
}

.aiz-rs_residence .rs-custom-page-content .rs-showrooms-page .rounded-lg {
    border-radius: 12px !important;
}

.aiz-rs_residence .rs-custom-page-content .rs-location-actions {
    min-width: 140px;
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-custom-page-content {
        padding: 0 !important;
    }

    .aiz-rs_residence .rs-custom-page--wide .rs-custom-page-content {
        padding: 0 !important;
    }

    .aiz-rs_residence .rs-custom-page-content .rs-location-actions {
        width: 100%;
        margin-top: 0.5rem;
    }

    .aiz-rs_residence .rs-custom-page-content .rs-location-actions .btn {
        width: 100%;
    }
}

/* ========== RS Residence — Contact page ========== */
.aiz-rs_residence .rs-contact-page {
    padding: 0.75rem 0 2.75rem;
}

.aiz-rs_residence .rs-contact-page__header {
    margin-bottom: 1.25rem;
}

.aiz-rs_residence .rs-contact-page__hero {
    margin-top: 0.5rem;
}

.aiz-rs_residence .rs-contact-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.45rem, 4.5vw, 1.85rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-contact-page__subtitle {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.5;
    max-width: 36rem;
}

.aiz-rs_residence .rs-contact-page__info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100%;
}

.aiz-rs_residence .rs-contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-contact-info-card__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    line-height: 1;
}

.aiz-rs_residence .rs-contact-info-card__icon i {
    display: block;
    font-size: 24px;
    line-height: 1;
}

.aiz-rs_residence .rs-contact-info-card__body {
    min-width: 0;
}

.aiz-rs_residence .rs-contact-info-card__body strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.aiz-rs_residence .rs-contact-info-card__body p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #64748b;
}

.aiz-rs_residence .rs-contact-info-card__link {
    color: var(--rs-brand-teal);
    font-weight: 600;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-contact-info-card__link:hover {
    color: var(--rs-brand-blue);
    text-decoration: none !important;
}

.aiz-rs_residence .rs-contact-page__perks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.aiz-rs_residence .rs-contact-page__perk {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
}

.aiz-rs_residence .rs-contact-page__perk-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    line-height: 1;
}

.aiz-rs_residence .rs-contact-page__perk-icon i {
    display: block;
    font-size: 20px;
    line-height: 1;
}

.aiz-rs_residence .rs-contact-page__perk-body strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}

.aiz-rs_residence .rs-contact-page__perk-desc {
    display: block;
    font-size: 11px;
    color: #64748b;
    line-height: 1.35;
    margin-top: 2px;
}

.aiz-rs_residence .rs-contact-page__showrooms-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid rgba(0, 156, 255, 0.28);
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal) !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-contact-page__showrooms-link i {
    font-size: 18px;
    line-height: 1;
}

.aiz-rs_residence .rs-contact-page__showrooms-link:hover {
    border-color: rgba(0, 156, 255, 0.45);
    box-shadow: 0 4px 14px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-contact-page__form-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.5rem;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    height: 100%;
}

.aiz-rs_residence .rs-contact-page__form-head {
    margin-bottom: 1.15rem;
}

.aiz-rs_residence .rs-contact-page__form-title {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.aiz-rs_residence .rs-contact-page__form-subtitle {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.aiz-rs_residence .rs-contact-form__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.aiz-rs_residence .rs-contact-form__field {
    margin-bottom: 14px;
}

.aiz-rs_residence .rs-contact-form__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.aiz-rs_residence .rs-contact-form__input {
    width: 100%;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #f8fafc;
    padding: 12px 14px;
    font-size: 14px;
    color: #0f172a;
    line-height: 1.4;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.aiz-rs_residence .rs-contact-form__input:focus {
    outline: none;
    border-color: var(--rs-brand-cyan);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0, 156, 255, 0.15);
}

.aiz-rs_residence .rs-contact-form__textarea {
    min-height: 132px;
    resize: vertical;
}

.aiz-rs_residence .rs-contact-form__error {
    margin-bottom: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 600;
}

.aiz-rs_residence .rs-contact-form__actions {
    margin-top: 6px;
}

.aiz-rs_residence .rs-contact-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 160px;
    padding: 12px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.aiz-rs_residence .rs-contact-form__submit i {
    font-size: 18px;
    line-height: 1;
}

.aiz-rs_residence .rs-contact-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px var(--rs-brand-shadow);
    color: #fff;
}

@media (max-width: 991.98px) {
    .aiz-rs_residence .rs-contact-page__info {
        margin-bottom: 1rem;
    }
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-contact-page {
        padding: 0.5rem 0 2rem;
    }

    .aiz-rs_residence .rs-contact-page__form-card {
        border-radius: 14px;
        padding: 1.15rem 1rem 1.25rem;
    }

    .aiz-rs_residence .rs-contact-form__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .aiz-rs_residence .rs-contact-form__submit {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-contact-form__submit,
    .aiz-rs_residence .rs-contact-page__showrooms-link {
        transition: none;
    }

    .aiz-rs_residence .rs-contact-form__submit:hover {
        transform: none;
    }
}

/* ========== RS Residence — Wishlist page (user panel) ========== */
.aiz-rs_residence .rs-wishlist-page__header {
    margin-bottom: 1.15rem;
}

.aiz-rs_residence .rs-wishlist-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.aiz-rs_residence .rs-wishlist-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.65rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-wishlist-page__subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

.aiz-rs_residence .rs-wishlist-page__count {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.aiz-rs_residence .rs-wishlist-page__grid {
    margin: 0 -8px;
}

.aiz-rs_residence .rs-wishlist-page__item {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-product-card__action-btn--remove:hover,
.aiz-rs_residence .rs-product-card__action-btn--remove:focus {
    color: #dc2626 !important;
    border-color: rgba(220, 38, 38, 0.35) !important;
    background: #fef2f2 !important;
}

.aiz-rs_residence .rs-wishlist-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-wishlist-page__empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    line-height: 1;
}

.aiz-rs_residence .rs-wishlist-page__empty-icon i {
    display: block;
    font-size: 30px;
    line-height: 1;
}

.aiz-rs_residence .rs-wishlist-page__empty-title {
    margin: 0 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-wishlist-page__empty-text {
    margin: 0 auto 1.25rem;
    max-width: 26rem;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.aiz-rs_residence .rs-wishlist-page__empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-wishlist-page__empty-cta i {
    font-size: 16px;
    line-height: 1;
}

.aiz-rs_residence .rs-wishlist-page__empty-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px var(--rs-brand-shadow);
    color: #fff !important;
}

.aiz-rs_residence .rs-wishlist-page__pagination .pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.aiz-rs_residence .rs-wishlist-page__pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 10px !important;
    background: #fff;
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-wishlist-page__pagination .page-item.active .page-link {
    background: var(--rs-brand-teal);
    border-color: var(--rs-brand-teal);
    color: #fff;
}

.aiz-rs_residence .rs-wishlist-page__pagination .page-item.disabled .page-link {
    opacity: 0.45;
}

.aiz-rs_residence .rs-wishlist-page__pagination .page-item:not(.disabled):not(.active) .page-link:hover {
    border-color: rgba(0, 156, 255, 0.35);
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-wishlist-page__head {
        flex-direction: column;
        gap: 0.65rem;
    }

    .aiz-rs_residence .rs-wishlist-page__empty {
        border-radius: 14px;
        padding: 2.25rem 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-wishlist-page__item,
    .aiz-rs_residence .rs-wishlist-page__empty-cta {
        transition: none;
    }

    .aiz-rs_residence .rs-wishlist-page__empty-cta:hover {
        transform: none;
    }
}

/* ========== RS Residence — Modals above sticky header/nav ========== */
/* Modals live on <body>, outside .aiz-main-wrapper — scope via body class / :has() */
/* Header uses z-index up to 1060; aiz-core multiModal() sets inline 1040/1050 */
body.rs-residence-theme .modal-backdrop,
body:has(.aiz-rs_residence) .modal-backdrop {
    z-index: 1090 !important;
}

body.rs-residence-theme .modal,
body:has(.aiz-rs_residence) .modal {
    z-index: 1105 !important;
}

body.rs-residence-theme #rightOffcanvas,
body:has(.aiz-rs_residence) #rightOffcanvas {
    z-index: 1100 !important;
}

body.rs-residence-theme #rightOffcanvasOverlay,
body:has(.aiz-rs_residence) #rightOffcanvasOverlay {
    z-index: 1095 !important;
}

/* ========== RS Residence — User panel layout ========== */
.aiz-rs_residence .rs-user-panel-section {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
    background: #f4f6f8;
}

.aiz-rs_residence .rs-user-panel-layout {
    gap: 1.25rem;
}

.aiz-rs_residence .rs-user-panel {
    flex: 1;
    min-width: 0;
}

.aiz-rs_residence .aiz-user-sidenav-wrap {
    flex-shrink: 0;
    width: 260px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.aiz-rs_residence .aiz-user-sidenav {
    max-height: none;
}

.aiz-rs_residence .aiz-user-sidenav .border-bottom {
    border-color: rgba(15, 23, 42, 0.08) !important;
}

.aiz-rs_residence .aiz-user-sidenav .avatar.avatar-md img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(0, 156, 255, 0.2);
}

.aiz-rs_residence .aiz-side-nav-link {
    border-radius: 12px;
    margin-bottom: 2px;
    padding: 0.65rem 0.85rem !important;
    font-size: 13px;
    font-weight: 600;
    color: #475569 !important;
    transition: background 0.2s ease, color 0.2s ease;
}

.aiz-rs_residence .aiz-side-nav-link:hover,
.aiz-rs_residence .aiz-side-nav-link.active {
    background: var(--rs-brand-gradient-soft) !important;
    color: var(--rs-brand-teal) !important;
}

.aiz-rs_residence .aiz-side-nav-link.active svg path,
.aiz-rs_residence .aiz-side-nav-link:hover svg path {
    fill: var(--rs-brand-teal) !important;
}

@media (max-width: 1199.98px) {
    .aiz-rs_residence .rs-user-panel-layout {
        flex-direction: column;
    }

    .aiz-rs_residence .aiz-user-sidenav-wrap {
        width: 100%;
    }
}

/* ========== RS Residence — Dashboard page ========== */
.aiz-rs_residence .rs-dashboard-page__header {
    margin-bottom: 1.25rem;
}

.aiz-rs_residence .rs-dashboard-page__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.aiz-rs_residence .rs-dashboard-page__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.aiz-rs_residence .rs-dashboard-page__subtitle {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    line-height: 1.45;
}

.aiz-rs_residence .rs-dashboard-page__head-cta {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.1);
    background: #fff;
    color: #0f172a !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-dashboard-page__head-cta:hover {
    border-color: var(--rs-brand-ring);
    color: var(--rs-brand-teal) !important;
    box-shadow: 0 4px 14px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-dashboard-page__coupon {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.15rem;
    padding: 1rem 1.15rem;
    border-radius: 16px;
    border: 1px solid rgba(2, 132, 199, 0.18);
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.08) 0%, rgba(0, 156, 255, 0.06) 100%);
}

.aiz-rs_residence .rs-dashboard-page__coupon-body {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    min-width: 0;
}

.aiz-rs_residence .rs-dashboard-page__coupon-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #0284c7;
    font-size: 22px;
    line-height: 1;
}

.aiz-rs_residence .rs-dashboard-page__coupon-body strong {
    display: block;
    margin-bottom: 0.2rem;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-dashboard-page__coupon-body p {
    margin: 0;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
}

.aiz-rs_residence .rs-dashboard-page__coupon-btn {
    flex-shrink: 0;
    border: 0;
    border-radius: 999px;
    padding: 10px 18px;
    background: #0284c7;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.aiz-rs_residence .rs-dashboard-page__coupon-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28);
}

.aiz-rs_residence .rs-dashboard-page__overview {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.aiz-rs_residence .rs-dashboard-page__overview--single {
    grid-template-columns: 1fr;
}

.aiz-rs_residence .rs-dashboard-page__wallet {
    padding: 1.25rem;
    border-radius: 18px;
    background: var(--rs-brand-gradient);
    color: #fff;
    box-shadow: 0 10px 28px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-dashboard-page__wallet-label {
    display: block;
    margin-bottom: 0.35rem;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.88;
}

.aiz-rs_residence .rs-dashboard-page__wallet-balance {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.aiz-rs_residence .rs-dashboard-page__wallet-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    margin: 1rem 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.aiz-rs_residence .rs-dashboard-page__wallet-meta span {
    display: block;
    font-size: 12px;
    opacity: 0.82;
}

.aiz-rs_residence .rs-dashboard-page__wallet-meta strong {
    display: block;
    margin-top: 0.15rem;
    font-size: 15px;
    font-weight: 700;
}

.aiz-rs_residence .rs-dashboard-page__wallet-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
}

.aiz-rs_residence .rs-dashboard-page__wallet-btn {
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s ease;
}

.aiz-rs_residence .rs-dashboard-page__wallet-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}

.aiz-rs_residence .rs-dashboard-page__wallet-link {
    border: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.92);
    font-size: 12px;
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.aiz-rs_residence .rs-dashboard-page__metrics {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.aiz-rs_residence .rs-dashboard-page__metrics--wide {
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.aiz-rs_residence .rs-dashboard-page__metric {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-dashboard-page__metric-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    line-height: 1;
}

.aiz-rs_residence .rs-dashboard-page__metric--primary .rs-dashboard-page__metric-icon {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}

.aiz-rs_residence .rs-dashboard-page__metric--accent .rs-dashboard-page__metric-icon {
    background: rgba(245, 158, 11, 0.14);
    color: #d97706;
}

.aiz-rs_residence .rs-dashboard-page__metric-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.aiz-rs_residence .rs-dashboard-page__metric-value {
    display: block;
    margin-top: 0.15rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.aiz-rs_residence .rs-dashboard-page__metric-link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--rs-brand-teal) !important;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-dashboard-page__quick-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.aiz-rs_residence .rs-dashboard-page__quick-stat {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    text-decoration: none !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-dashboard-page__quick-stat:hover {
    border-color: var(--rs-brand-ring);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.aiz-rs_residence .rs-dashboard-page__quick-stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
}

.aiz-rs_residence .rs-dashboard-page__quick-stat-icon--cart {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.aiz-rs_residence .rs-dashboard-page__quick-stat-icon--wishlist {
    background: rgba(2, 132, 199, 0.12);
    color: #0284c7;
}

.aiz-rs_residence .rs-dashboard-page__quick-stat-icon--orders {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
}

.aiz-rs_residence .rs-dashboard-page__quick-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.aiz-rs_residence .rs-dashboard-page__quick-stat-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.35;
}

.aiz-rs_residence .rs-dashboard-page__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.35rem;
}

.aiz-rs_residence .rs-dashboard-page__card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 1.1rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-dashboard-page__card-head {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.85rem;
}

.aiz-rs_residence .rs-dashboard-page__card-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 18px;
    line-height: 1;
}

.aiz-rs_residence .rs-dashboard-page__card-title {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-dashboard-page__address p {
    margin: 0 0 0.35rem;
    font-size: 13px;
    color: #475569;
    line-height: 1.5;
}

.aiz-rs_residence .rs-dashboard-page__address-phone {
    font-weight: 700;
    color: #0f172a !important;
}

.aiz-rs_residence .rs-dashboard-page__card-empty {
    margin: 0 0 0.85rem;
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.45;
}

.aiz-rs_residence .rs-dashboard-page__card-btn {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    border: 0;
    border-radius: 999px;
    padding: 10px 16px;
    background: #0f172a;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-dashboard-page__card-btn:hover {
    background: #1e293b;
    transform: translateY(-1px);
}

.aiz-rs_residence .rs-dashboard-page__card-btn--link {
    background: var(--rs-brand-gradient);
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
}

.aiz-rs_residence .rs-dashboard-page__package-logo {
    width: auto;
    height: 52px;
    margin-bottom: 0.75rem;
    object-fit: contain;
}

.aiz-rs_residence .rs-dashboard-page__package-name {
    margin: 0 0 0.75rem;
    font-size: 13px;
    color: #475569;
}

.aiz-rs_residence .rs-dashboard-page__package-stats {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
}

.aiz-rs_residence .rs-dashboard-page__package-stats li {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 12px;
    color: #64748b;
}

.aiz-rs_residence .rs-dashboard-page__package-stats li:last-child {
    border-bottom: 0;
}

.aiz-rs_residence .rs-dashboard-page__package-stats strong {
    color: #0f172a;
    font-weight: 700;
}

.aiz-rs_residence .rs-dashboard-page__wishlist {
    margin-top: 0.25rem;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-title {
    margin: 0 0 0.25rem;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-subtitle {
    margin: 0;
    font-size: 12px;
    font-weight: 500;
    color: #64748b;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-link {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--rs-brand-teal) !important;
    text-decoration: none !important;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-link:hover {
    color: var(--rs-brand-blue) !important;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-grid {
    margin: 0 -8px;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-item {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-empty {
    text-align: center;
    padding: 2.5rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.aiz-rs_residence .rs-dashboard-page__wishlist-empty-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 0.85rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rs-brand-gradient-soft);
    color: var(--rs-brand-teal);
    font-size: 26px;
    line-height: 1;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-empty h3 {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-empty p {
    margin: 0 auto 1rem;
    max-width: 24rem;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.aiz-rs_residence .rs-dashboard-page__wishlist-empty-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--rs-brand-gradient);
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 18px var(--rs-brand-shadow);
}

@media (max-width: 991.98px) {
    .aiz-rs_residence .rs-dashboard-page__overview {
        grid-template-columns: 1fr;
    }

    .aiz-rs_residence .rs-dashboard-page__head {
        flex-direction: column;
    }

    .aiz-rs_residence .rs-dashboard-page__head-cta {
        align-self: flex-start;
    }
}

@media (max-width: 767.98px) {
    .aiz-rs_residence .rs-user-panel-section {
        padding-top: 1.25rem !important;
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    .aiz-rs_residence .rs-dashboard-page__quick-stats {
        grid-template-columns: 1fr;
    }

    .aiz-rs_residence .rs-dashboard-page__coupon {
        flex-direction: column;
        align-items: stretch;
    }

    .aiz-rs_residence .rs-dashboard-page__coupon-btn {
        width: 100%;
    }

    .aiz-rs_residence .rs-dashboard-page__wishlist-head {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {

    .aiz-rs_residence .rs-dashboard-page__quick-stat,
    .aiz-rs_residence .rs-dashboard-page__card-btn,
    .aiz-rs_residence .rs-dashboard-page__coupon-btn,
    .aiz-rs_residence .rs-dashboard-page__wishlist-empty-cta,
    .aiz-rs_residence .rs-dashboard-page__wishlist-item {
        transition: none;
    }

    .aiz-rs_residence .rs-dashboard-page__quick-stat:hover,
    .aiz-rs_residence .rs-dashboard-page__card-btn:hover,
    .aiz-rs_residence .rs-dashboard-page__coupon-btn:hover {
        transform: none;
    }
}

/* ============================================================
   RS RESIDENCE — MOBILE SCROLL & VIEWPORT FIXES
   Addresses: sticky headers not working, body scroll lock
   leaking on iOS, and horizontal overflow causing broken scroll.
   ============================================================ */

/*
 * 1. FIX: `overflow-x: hidden` on the body breaks `position: sticky`
 *    on iOS Safari and Chrome on Android. We must NOT put overflow-x
 *    on the body/html directly. Instead, the root wrapper handles it.
 */
html {
    overflow-x: hidden;
    height: 100%;
}

body {
    overflow-x: clip;
    /* `clip` does not create a scroll container, safe for sticky */
    min-height: 100%;
    min-height: 100dvh;
    /* dynamic viewport height — respects browser chrome on mobile */
    -webkit-text-size-adjust: 100%;
    /* prevent iOS font scaling on orientation change */
}

/*
 * 2. FIX: Proper iOS scroll-lock technique.
 *    Simply `overflow: hidden` on body doesn't stop iOS touchmove.
 *    We use `position: fixed` with saved scroll position (handled via JS below in app.blade).
 */
body.body-no-scroll {
    overflow: hidden;
    position: fixed;
    left: 0;
    right: 0;
    /* JS sets top: -scrollY so the page doesn't jump to top */
}

/*
 * 3. FIX: Mobile bottom nav missing `position: fixed`.
 *    Bootstrap `.fixed-bottom` provides it, but we reinforce it here
 *    to prevent any parent `overflow` context from trapping it.
 */
@media (max-width: 991.98px) {
    .aiz-rs_residence .rs-mobile-bottom-nav {
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1040;
        pointer-events: none;
    }

    .aiz-rs_residence .layout-main-content,
    .aiz-rs_residence main>.container,
    .aiz-rs_residence .product-details,
    .aiz-rs_residence .home-page-wrapper {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 12px));
    }
}

/*
 * 4. FIX: Product details sticky smart-bar and nav-tab-header.
 *    These break on iOS when a parent has `overflow: hidden`.
 */
.product-details-nav-tab .nav-tab-header {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 100;
    will-change: transform;
    /* triggers GPU layer, fixes iOS sticky */
}

/*
 * 5. FIX: Horizontal overflow from carousel/slider items causing
 *    the whole page to gain a scrollable X axis on mobile.
 */
@media (max-width: 767.98px) {

    .aiz-carousel,
    .slick-list,
    .slick-track {
        /* Slick uses translateX internally; clip prevents page X-scroll */
        overflow-x: clip !important;
    }

    /* Swiper on product page — clip the CONTAINER only.
       Clipping .swiper-wrapper too breaks Swiper touch swiping on mobile:
       the translated track moves the visible slide outside the wrapper's
       clipped box, so it becomes unhittable and later swipes are ignored. */
    .swiper {
        overflow-x: clip !important;
    }
}

/*
 * 6. FIX: Touch targets too small — makes tapping product cards,
 *    buttons, and nav items easier on small screens.
 */
@media (max-width: 575.98px) {
    .rs-mobile-bottom-nav__item {
        min-width: 44px;
        min-height: 44px;
    }

    .btn,
    .add-to-cart,
    .buy-now {
        min-height: 44px;
    }
}

/*
 * 7. FIX: Right offcanvas sometimes leaves body locked on close.
 *    Ensure the overlay clears correctly.
 */
#rightOffcanvasOverlay {
    -webkit-tap-highlight-color: transparent;
}

/*
 * 8. FIX: Momentum scrolling for inner scroll areas on iOS.
 */
.c-scrollbar-light,
.right-offcanvas-body,
.rs-mobile-drawer__body,
.modal-body {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}


/* ============================================================
   RS RESIDENCE — HORIZONTAL SCROLL ELIMINATION (v2)
   Root fix: The ONLY reliable cross-browser approach is:
   - `overflow-x: hidden` on `html` (does NOT break sticky on body)
   - `overflow-x: clip` on `body`  (prevents scroll container creation)
   - All off-screen panels use `translate` instead of large negative margins
   ============================================================ */

/*
 * DEFINITIVE FIX for horizontal scroll on mobile.
 * `overflow-x: hidden` on <html> is the only element where this is safe —
 * it does NOT break `position: sticky` because sticky is relative to
 * the nearest scrolling ancestor (which remains <html> or <body>).
 */
html {
    overflow-x: hidden !important;
}

body {
    max-width: 100%;
    overflow-x: clip !important;
}

/*
 * Off-canvas panels: these are the biggest culprits.
 * When they are at `left: -450px` or `right: -450px`, they 
 * extend beyond the viewport and cause horizontal overflow.
 * We switch to `translate` which is paint-only and doesn't 
 * create any overflow.
 */
#leftOffcanvas {
    left: 0 !important;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
    max-width: min(90vw, 340px) !important;
}

#leftOffcanvas.active {
    transform: translateX(0) !important;
}

#rightOffcanvas {
    right: 0 !important;
    transform: translateX(105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    will-change: transform;
}

#rightOffcanvas.active {
    transform: translateX(0) !important;
}

/* Remove fixed pixel left/right positioning from size variants — 
   parent handles placement now */
.left-offcanvas-sm,
.left-offcanvas-md,
.left-offcanvas-lg {
    left: unset !important;
}

.right-offcanvas-sm,
.right-offcanvas-md,
.right-offcanvas-lg {
    right: unset !important;
}

/*
 * Mobile drawer (top menu sidebar) — same fix
 */
.aiz-top-menu-sidebar .collapse-sidebar {
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.aiz-top-menu-sidebar.active .collapse-sidebar {
    transform: translateX(0);
}

/*
 * All carousels: the slick track can be wider than the viewport.
 * The `.slick-list` already has `overflow: hidden`, but we also
 * ensure the wrapper doesn't bleed.
 */
.aiz-carousel {
    max-width: 100%;
    overflow: hidden !important;
}

.aiz-carousel .slick-list {
    overflow: hidden !important;
}

/*
 * Tables — common source of horizontal scroll on mobile.
 */
table {
    max-width: 100%;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

/*
 * Images — prevent any oversized image from causing scroll.
 */
img {
    max-width: 100%;
}


/* ENFORCE NO HORIZONTAL SCROLL - IOS SAFARI & MOBILE WEBKIT COMPREHENSIVE FIX */
html,
body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
    touch-action: pan-y;
    overscroll-behavior-x: none !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}

.aiz-main-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: clip !important;
    overflow-y: visible !important;
    position: relative !important;
    overscroll-behavior-x: none !important;
}

/* SMOOTH MOBILE SCROLLING ON IMAGES & CAROUSELS */
img,
picture,
figure {
    -webkit-user-drag: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    touch-action: pan-x pan-y !important;
    pointer-events: none !important;
}

/* Re-enable pointer events for interactive modal/zoom images */
.modal img,
.lightbox-modal img,
.lightbox-content,
[data-toggle="lightbox"] img {
    pointer-events: auto !important;
}

/* Allow BOTH horizontal product sliding (pan-x) and vertical page scrolling (pan-y) smoothly */
.aiz-carousel,
.slick-slider,
.slick-list,
.slick-track,
.slick-slide,
.swiper,
.swiper-wrapper,
.carousel-box,
.rs-home-hero__slider-wrap,
.image-hover-effect {
    touch-action: pan-x pan-y !important;
    -webkit-overflow-scrolling: touch;
}

/* 60fps GPU Hardware Acceleration for product carousel tracks */
.slick-track,
.swiper-wrapper {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* Reset negative horizontal margins & enforce overflow clipping on iOS WebKit mobile */
@media (max-width: 767.98px) {
    .aiz-main-wrapper {
        overflow: clip !important;
    }

    .dashboard-content-wrapper,
    .design-studio-wrapper {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .container,
    .container-fluid,
    .layout-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
    }
}

/* Special Offers Animated Red Icon */
.rs-special-offer-icon {
    color: #ff3b30 !important;
    display: inline-block !important;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
    transform-origin: center center;
    animation: rsSpecialOfferPulse 2s infinite ease-in-out;
}

@keyframes rsSpecialOfferPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        color: #ff3b30;
    }

    12% {
        transform: scale(1.3) rotate(-14deg);
        color: #ff0033;
    }

    24% {
        transform: scale(1.3) rotate(14deg);
        color: #ff2d55;
    }

    36% {
        transform: scale(1.2) rotate(-8deg);
        color: #ff0033;
    }

    48% {
        transform: scale(1.15) rotate(6deg);
        color: #ff3b30;
    }

    60%,
    90% {
        transform: scale(1) rotate(0deg);
        color: #ff3b30;
    }
}

/* Product Detail Gold Star Rating & Discount Badge Colors */
.rating i.active,
.rating i.hover,
.rating i.half,
.rating i.half:after,
.text-rating,
.rating .la-star,
.rating .las.la-star {
    color: #F5A800 !important;
}

.discount-badge,
.rs-product-card__badge--sale,
#discount_badge {
    background-color: #F5A800 !important;
    color: #ffffff !important;
}

/* Showroom Section Styles on Contact Us Page */
.rs-showrooms-section__kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1B82C5;
}

.rs-showrooms-section__title {
    font-size: clamp(1.25rem, 3.5vw, 1.65rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.rs-showroom-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.rs-showroom-card:hover {
    border-color: rgba(27, 130, 197, 0.35);
    box-shadow: 0 8px 24px rgba(27, 130, 197, 0.12);
}

.rs-showroom-card--featured {
    background: linear-gradient(135deg, rgba(27, 130, 197, 0.06) 0%, #ffffff 100%);
    border: 1.5px solid rgba(27, 130, 197, 0.28);
    position: relative;
    overflow: hidden;
}

.rs-showroom-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 20px;
    background: #1B82C5;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.rs-showroom-card__name {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.rs-showroom-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.rs-showroom-tag {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 600;
}

.rs-showroom-icon {
    color: #1B82C5;
    font-size: 1.1rem;
    margin-right: 4px;
}

.rs-btn-brand-primary {
    background: linear-gradient(135deg, #1B82C5 0%, #50a2ea 100%);
    border: none;
    color: #fff !important;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.rs-btn-brand-primary:hover {
    background: linear-gradient(135deg, #1670ac 0%, #3b94e2 100%);
    box-shadow: 0 4px 14px rgba(27, 130, 197, 0.35);
    color: #fff !important;
}

.rs-btn-brand-outline {
    border: 1.5px solid #1B82C5;
    color: #1B82C5 !important;
    background: transparent;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.rs-btn-brand-outline:hover {
    background: rgba(27, 130, 197, 0.08);
    color: #1B82C5 !important;
}

.rs-btn-phone-light {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #334155 !important;
    font-weight: 600;
    border-radius: 8px;
}

.rs-btn-phone-light:hover {
    background: #e2e8f0;
    color: #0f172a !important;
}

.rs-brand-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.rs-brand-pill {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(27, 130, 197, 0.06);
    border: 1px solid rgba(27, 130, 197, 0.18);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #1B82C5;
}

/* Showrooms Page moved to Contact Us Page Styling */
.rs-hero {
    background: linear-gradient(135deg, #1670ac 0%, #1B82C5 55%, #50a2ea 100%) !important;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(27, 130, 197, 0.2);
}

.rs-hero-kicker {
    font-size: 11px;
    letter-spacing: 0.14em;
    opacity: 0.9;
    font-weight: 700;
}

.rs-hero-lead {
    font-size: 15px;
    line-height: 1.7;
    opacity: 0.96;
}

.rs-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rs-card:hover {
    box-shadow: 0 6px 20px rgba(27, 130, 197, 0.12);
    border-color: rgba(27, 130, 197, 0.25);
}

.rs-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(27, 130, 197, 0.12) 0%, rgba(80, 162, 234, 0.15) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #1B82C5;
}

.rs-location-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.rs-location-card:hover {
    box-shadow: 0 6px 20px rgba(27, 130, 197, 0.12);
    border-color: rgba(27, 130, 197, 0.25);
}

.rs-location-featured {
    border-color: rgba(27, 130, 197, 0.3) !important;
    background: linear-gradient(135deg, rgba(27, 130, 197, 0.05) 0%, #ffffff 100%) !important;
}

.rs-location-badge {
    background: #1B82C5 !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rs-loc-icon {
    color: #1B82C5 !important;
    margin-right: 4px;
}

.rs-btn-primary {
    background: linear-gradient(135deg, #1B82C5 0%, #50a2ea 100%) !important;
    border: none !important;
    color: #ffffff !important;
    font-weight: 700;
    border-radius: 10px;
}

.rs-btn-primary:hover {
    background: linear-gradient(135deg, #1670ac 0%, #3b94e2 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(27, 130, 197, 0.35);
}

.rs-btn-outline {
    border: 1.5px solid #1B82C5 !important;
    color: #1B82C5 !important;
    background: transparent !important;
    font-weight: 700;
    border-radius: 10px;
}

.rs-btn-outline:hover {
    background: rgba(27, 130, 197, 0.08) !important;
    color: #1B82C5 !important;
}

.rs-feature {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 14px;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-feature:hover {
    border-color: rgba(27, 130, 197, 0.28);
    box-shadow: 0 4px 16px rgba(27, 130, 197, 0.08);
}

.rs-feature-icon {
    font-size: 26px;
    color: #1B82C5;
    display: block;
    margin-bottom: 8px;
}

.rs-cta {
    background: linear-gradient(135deg, #1670ac 0%, #1B82C5 55%, #50a2ea 100%) !important;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(27, 130, 197, 0.2);
}

.rs-cta-lead {
    opacity: 0.94;
    font-size: 15px;
}

/* ==========================================
   RS CUSTOM PAGE CONTENT STYLING (About Us, etc.)
   ========================================== */
.rs-custom-page-wrapper {
    padding: 1.5rem 0 3.5rem;
}

.rs-custom-page-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.05);
    padding: 2.25rem 2.5rem;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 767.98px) {
    .rs-custom-page-card {
        padding: 1.35rem 1.25rem;
        border-radius: 16px;
    }
}

/* Full-width (edge-to-edge) custom pages — e.g. About Us */
.rs-custom-page--wide .rs-custom-page-card {
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
}

.rs-custom-page--wide .rs-custom-page-content {
    max-width: 100%;
}

/* Full-bleed hero / image strips / CTA inside wide pages */
.rs-custom-page--wide .rs-custom-page-content .rs-about-page .rsa-hero,
.rs-custom-page--wide .rs-custom-page-content .rs-about-page .rsa-strip,
.rs-custom-page--wide .rs-custom-page-content .rs-about-page .rsa-cta {
    max-width: none;
    border-radius: 0;
}

/* Formatted Headings inside Admin Content */
.rs-custom-page-content h1,
.rs-custom-page-content h2,
.rs-custom-page-content h3,
.rs-custom-page-content h4 {
    color: #0f172a;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.02em;
    margin-top: 1.85rem;
    margin-bottom: 1rem;
}

.rs-custom-page-content h1:first-child,
.rs-custom-page-content h2:first-child,
.rs-custom-page-content h3:first-child {
    margin-top: 0;
}

.rs-custom-page-content h2 {
    font-size: clamp(1.35rem, 3vw, 1.7rem);
    position: relative;
    padding-left: 0.85rem;
    border-left: 4px solid #1B82C5;
}

.rs-custom-page-content h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.45rem);
}

.rs-custom-page-content h4 {
    font-size: 1.1rem;
}

/* Formatted Paragraphs */
.rs-custom-page-content p {
    color: #475569;
    font-size: 1.025rem;
    line-height: 1.75;
    margin-bottom: 1.35rem;
}

.rs-custom-page-content p strong {
    color: #1e293b;
    font-weight: 700;
}

/* Formatted Images */
.rs-custom-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    margin: 1.25rem 0 1.75rem;
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rs-custom-page-content img:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(27, 130, 197, 0.15);
}

/* Formatted Lists (ul / li) */
.rs-custom-page-content ul {
    list-style: none !important;
    padding-left: 0 !important;
    margin: 1.25rem 0 1.75rem !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 12px;
}

.rs-custom-page-content ul li {
    position: relative;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 12px;
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    transition: all 0.2s ease;
}

.rs-custom-page-content ul li:hover {
    background: #ffffff;
    border-color: rgba(27, 130, 197, 0.3);
    box-shadow: 0 4px 14px rgba(27, 130, 197, 0.08);
    color: #1B82C5;
}

.rs-custom-page-content ul li::before {
    content: "\f00c";
    font-family: "Line Awesome Free";
    font-weight: 900;
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(27, 130, 197, 0.12);
    color: #1B82C5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1;
}

/* Fallback for ordered lists */
.rs-custom-page-content ol {
    padding-left: 1.25rem;
    margin: 1.25rem 0 1.75rem;
}

.rs-custom-page-content ol li {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 0.5rem;
    padding-left: 0.35rem;
}

/* Blockquotes */
.rs-custom-page-content blockquote {
    padding: 1rem 1.35rem;
    margin: 1.5rem 0;
    border-left: 4px solid #1B82C5;
    background: rgba(27, 130, 197, 0.05);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #334155;
}

/* ==========================================
   RS ABOUT US PAGE STYLING
   ========================================== */
.rs-about-page {
    padding: 1rem 0 3.5rem;
}

.rs-about-hero__inner {
    background: linear-gradient(135deg, #1670ac 0%, #1B82C5 55%, #50a2ea 100%);
    box-shadow: 0 10px 30px rgba(27, 130, 197, 0.25);
}

.rs-about-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.rs-about-hero__title {
    font-size: clamp(1.6rem, 4vw, 2.35rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.rs-about-hero__lead {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.95;
    max-width: 680px;
}

.rs-btn-hero-primary {
    background: #ffffff !important;
    color: #1B82C5 !important;
    font-weight: 800;
    padding: 10px 22px;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rs-btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
    color: #1670ac !important;
}

.rs-btn-hero-outline {
    border: 1.5px solid rgba(255, 255, 255, 0.6) !important;
    color: #ffffff !important;
    background: transparent !important;
    font-weight: 700;
    padding: 9px 20px;
    border-radius: 12px;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.rs-btn-hero-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #ffffff !important;
}

.rs-about-hero__badge-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.rs-about-hero__icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #ffffff;
}

/* Stat Cards */
.rs-stat-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.rs-stat-card:hover {
    transform: translateY(-3px);
    border-color: rgba(27, 130, 197, 0.3);
    box-shadow: 0 8px 24px rgba(27, 130, 197, 0.1);
}

.rs-stat-card__number {
    font-size: clamp(1.85rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #1B82C5 !important;
    line-height: 1;
}

.rs-stat-card__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #475569;
}

/* Story Section */
.rs-section-kicker {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #1B82C5;
}

.rs-section-title {
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
}

.rs-section-desc {
    color: #475569;
    font-size: 0.975rem;
    line-height: 1.7;
}

.rs-about-media-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: #ffffff;
    color: #1B82C5;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.8125rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.rs-story-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.rs-story-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 16px;
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
}

.rs-story-feature-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(27, 130, 197, 0.12);
    color: #1B82C5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

/* Brand Cards */
.rs-brand-card {
    background: #f8fafc;
    border: 1px solid rgba(15, 23, 42, 0.07);
    border-radius: 14px;
    transition: all 0.2s ease;
}

.rs-brand-card:hover {
    background: #ffffff;
    border-color: rgba(27, 130, 197, 0.35);
    box-shadow: 0 6px 20px rgba(27, 130, 197, 0.1);
    transform: translateY(-2px);
}

.rs-brand-card__title {
    color: #1B82C5 !important;
    font-size: 1.05rem;
}

/* Value Cards */
.rs-value-card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

.rs-value-card:hover {
    border-color: rgba(27, 130, 197, 0.3);
    box-shadow: 0 8px 24px rgba(27, 130, 197, 0.12);
    transform: translateY(-3px);
}

.rs-value-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(27, 130, 197, 0.12) 0%, rgba(80, 162, 234, 0.15) 100%);
    color: #1B82C5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

/* ========== Mobile Screen Banner & Carousel Right-Side Alignment Fixes ========== */
@media (max-width: 767.98px) {

    /* Hide side arrows on mobile carousels to prevent dark translucent box overlays and right-edge clipping */
    .aiz-carousel .slick-arrow,
    .aiz-carousel.arrow-dark .slick-arrow,
    .aiz-carousel.arrow-x-15 .slick-arrow,
    .aiz-carousel.arrow-x-0 .slick-arrow,
    .home-banner-1 .slick-arrow,
    .slick-prev,
    .slick-next {
        display: none !important;
    }

    /* Container and banner slider layout adjustments */
    .home-banner-1,
    .aiz-carousel.gutters-16 {
        margin-left: 0 !important;
        margin-right: 0 !important;
        width: 100% !important;
        overflow: hidden !important;
    }

    .home-banner-1 .slick-list,
    .aiz-carousel.gutters-16 .slick-list {
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .home-banner-1 .carousel-box,
    .aiz-carousel.gutters-16 .carousel-box {
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        border-radius: 16px;
    }

    .home-banner-1 img,
    .aiz-carousel.gutters-16 img {
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        object-fit: cover;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    }

    /* Prevent body / document level horizontal overflow */
    html {
        overflow-x: hidden !important;
    }

    body {
        overflow-x: clip !important;
    }
}

/* ============================================================
   RS RESIDENCE — PRODUCT DETAIL PAGE, MOBILE CLEANUP (≤767.98px)
   Groups the header info into a tidy card, aligns the QTY row,
   equalizes the action buttons and tightens the lower clutter.
   Desktop (≥768px) layout is unaffected.
   ============================================================ */
@media (max-width: 767.98px) {

    /* ---- 1. Compare / Wishlist / Share — pill bar format ---- */
    .product-details .right-side-cws {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 6px !important;
        padding: 6px 10px !important;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 999px;
        margin-bottom: 14px !important;
    }
    .product-details .right-side-cws > div {
        flex: 1 1 0;
        text-align: center;
    }
    .product-details .right-side-cws > div.mx-3 {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .product-details .right-side-cws button {
        width: 100%;
        justify-content: center;
        min-height: 38px;
        padding: 0 4px;
        font-weight: 500;
        color: #475569 !important;
        border-radius: 999px;
        transition: background 0.2s ease, color 0.2s ease;
    }
    .product-details .right-side-cws button:hover,
    .product-details .right-side-cws button:active {
        background: #ffffff;
        color: #0f172a !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    }

    /* ---- 2. Brand / rating / SKU grouped into a single card ---- */
    .product-details .rs-pd-meta {
        display: flex;
        flex-direction: column;
        gap: 10px;
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 14px 16px;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    }
    .product-details .rs-pd-meta > div {
        margin-top: 0 !important;
    }
    .product-details .rs-pd-meta .rs-pd-rating-row {
        padding-top: 12px;
        border-top: 1px dashed #e4e9ef;
    }

    /* ---- 3. Deal / flash sale band ---- */
    .product-details .rs-pd-deals {
        margin-top: 14px !important;
        margin-bottom: 14px !important;
    }

    /* ---- 4. Purchase (price) card ---- */
    .product-details .rs-pd-purchase {
        padding: 16px !important;
        border-radius: 12px;
        margin-top: 0 !important;
        margin-bottom: 12px !important;
        background: #fff;
        border: 1px solid #e2e8f0;
        box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    }

    /* ---- 5. Stock / min-order + QTY stepper ---- */
    .product-details .rs-pd-qty {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 14px;
        padding-top: 14px;
        padding-bottom: 4px;
    }
    .product-details .rs-pd-qty > div:last-child > .d-flex {
        justify-content: space-between;
        gap: 10px;
        flex-wrap: nowrap;
        width: 100%;
    }
    .product-details .rs-pd-qty .aiz-plus-minus {
        height: 38px;
    }
    .product-details .rs-pd-qty .input-number {
        margin-top: 0 !important;
        height: 100% !important;
        width: 44px !important;
    }



    /* Extra bottom spacing so body content isn't obscured by sticky bar */
    .product-details-page,
    .product-details {
        padding-bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    }

    /* ---- 8. Seller / brand rows stacked as tidy cards ---- */
    .product-details .rs-pd-seller-brand {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px;
        padding: 6px 0 16px;
    }
    .product-details .rs-pd-seller-brand > div {
        margin: 0 !important;
        width: 100% !important;
        padding: 14px !important;
        border-radius: 8px;
    }

    /* ---- 9. Warranty / delivery notes ---- */
    .product-details .warranty-section {
        padding: 14px 0 0 !important;
    }
    .product-details .warranty-section ul {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .product-details .warranty-section ul li.rs-cod-card-item {
        margin-bottom: 0;
    }
    .product-details .warranty-section ul li:not(.rs-cod-card-item) {
        display: flex;
        align-items: center;
        padding: 12px 14px;
        background: #fff;
        border: 1px solid #e4e9ef;
        border-radius: 8px;
    }
}

/* ==========================================================================
   RS Residence — Gold Star Rating (#F5A800) Comprehensive Rules
   ========================================================================== */

/* Active / Filled Stars Sitewide */
.rating i.active,
.rating i.hover,
.rating i.half,
.rating i.half:after,
.text-rating,
.rc-star--filled,
.rr-stars i.active,
.rr-stars i.half,
.las.la-star.active,
.las.la-star.half {
    color: #F5A800 !important;
}

/* Empty / Inactive Stars Sitewide */
.rc-star--empty,
.rr-stars i:not(.active):not(.half),
.rating i:not(.active):not(.half):not(.hover) {
    color: #E2E4EB !important;
}

/* Filter Pill Star Icons */
.rr-pill svg path,
.rr-pill svg,
.rating-point-select svg path {
    fill: #F5A800 !important;
    color: #F5A800 !important;
}

/* ==========================================================================
   RS Residence — Related Products & Product Card Layout Optimization
   ========================================================================== */

/* Prevent discount badge overlap with top-right action buttons */
.aiz-rs_residence .rs-product-card__badges,
.rs-product-card__badges {
    max-width: calc(100% - 48px) !important;
    overflow: hidden;
}

.aiz-rs_residence .rs-product-card__badge,
.rs-product-card__badge {
    max-width: 100%;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    display: inline-block;
}

/* Give product card action buttons a higher z-index and clear positioning */
.aiz-rs_residence .rs-product-card__actions,
.rs-product-card__actions {
    z-index: 4 !important;
}

/* Ensure clean spacing and height in carousels */
.related-product-container,
.frequently-bought-container {
    background: #ffffff;
    border: 1px solid #ebebeb !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.rs-product-carousel-item {
    padding: 4px;
}

/* Desktop Navigation Arrow Positioning & Clean Product Card Border Fix */
.aiz-rs_residence .rs-product-carousel-shell,
.rs-product-carousel-shell {
    overflow: visible !important;
}

/* Ensure product card outer borders are crisp and clean */
.related-product-container .rs-product-card,
.frequently-bought-container .rs-product-card {
    border: 1px solid #e2e4eb !important;
    border-radius: 16px !important;
}

@media (min-width: 768px) {
    .related-product-container,
    .frequently-bought-container {
        padding: 24px 24px !important;
        position: relative !important;
        background: #ffffff !important;
        border: 1px solid #ebebeb !important;
        border-radius: 14px !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
        overflow: visible !important;
    }

    /* Shell container overflow visible */
    .related-product-container .rs-product-carousel-shell,
    .frequently-bought-container .rs-product-carousel-shell {
        position: relative !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: visible !important;
    }

    /* Viewport indented symmetrically by 44px on both left and right */
    .related-product-container .rs-product-carousel-shell__viewport,
    .frequently-bought-container .rs-product-carousel-shell__viewport {
        margin: 0 44px !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    /* Slick list padding prevents 1px left border from being chopped by viewport overflow */
    .related-product-container .slick-list,
    .frequently-bought-container .slick-list {
        padding: 6px 0 !important;
        margin-left: -6px !important;
        margin-right: -6px !important;
    }

    .related-product-container .carousel-box,
    .frequently-bought-container .carousel-box,
    .related-product-container .rs-product-carousel-item,
    .frequently-bought-container .rs-product-carousel-item {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    /* Navigation arrows positioned at -6px from shell */
    .related-product-container .rs-product-carousel-nav,
    .frequently-bought-container .rs-product-carousel-nav {
        width: 36px !important;
        height: 36px !important;
        z-index: 10 !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
    }

    .related-product-container .rs-product-carousel-nav--prev,
    .frequently-bought-container .rs-product-carousel-nav--prev {
        left: -6px !important;
    }

    .related-product-container .rs-product-carousel-nav--next,
    .frequently-bought-container .rs-product-carousel-nav--next {
        right: -6px !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Clean Product Cards & Gallery Borders for Computer Screens
   Company Gold Highlight: #F5A800
   ══════════════════════════════════════════════════════════════════════════ */

/* Rating Stars (Universal Gold Accent) */
.rating i.active,
.rating .las.la-star.active,
.rating-star.active,
.star-rating i.active,
.la-star.active {
    color: #F5A800 !important;
}

.rating i:not(.active),
.rating .las.la-star:not(.active),
.rating-star:not(.active),
.star-rating i:not(.active) {
    color: #E2E4EB !important;
}

/* Gallery Thumbnail Borders */
.thumb-slider .swiper-slide {
    border: 1.5px solid #eef0f4 !important;
    border-radius: 10px !important;
    overflow: hidden;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.thumb-slider .swiper-slide-thumb-active,
.thumb-slider .swiper-slide:hover {
    border-color: #F5A800 !important;
    box-shadow: 0 0 0 1px #F5A800 !important;
}

.main-slider .swiper-slide {
    border: 1px solid #ebebf0 !important;
    border-radius: 12px !important;
    overflow: hidden;
}

/* Product Section Containers */
.related-product-container,
.frequently-bought-container {
    background: #ffffff !important;
    border: 1px solid #ebebf0 !important;
    border-radius: 14px !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.02) !important;
}

/* Product Cards Desktop Clean Alignment */
@media (min-width: 992px) {
    .rs-product-card,
    .aiz-rs_residence .rs-product-card {
        border: 1px solid #eaeaf0 !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
        transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease !important;
    }

    .rs-product-card:hover,
    .aiz-rs_residence .rs-product-card:hover {
        transform: translateY(-4px) !important;
        border-color: #d1d5db !important;
        box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08) !important;
    }
}

/* ══════════════════════════════════════════════════════════════════════════
   Global High-Performance Smooth Scrolling & GPU Rendering Optimizations
   ══════════════════════════════════════════════════════════════════════════ */

html {
    scroll-behavior: smooth !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    -webkit-overflow-scrolling: touch !important;
    touch-action: manipulation;
}

/* GPU Hardware Acceleration for Smooth Carousel & Page Scrolling */
.aiz-carousel,
.slick-slider,
.slick-list,
.slick-track,
.slick-slide,
.swiper,
.swiper-wrapper,
.swiper-slide,
.rs-product-card,
.aiz-card-box,
.product-slider-wrapper,
.product-details-nav-tab,
#smart-bar {
    -webkit-backface-visibility: hidden !important;
    backface-visibility: hidden !important;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

/* Optimize Touch Panning & Dragging for Carousels */
.slick-slider,
.swiper {
    touch-action: pan-y !important;
}

.slick-slide,
.swiper-slide {
    -webkit-tap-highlight-color: transparent;
}

/* Rendering Isolation for Fast Product Item Scrolling */
.rs-product-card,
.aiz-card-box {
    contain: layout style paint;
    will-change: transform, box-shadow;
}

/* ══════════════════════════════════════════════════════════════════════════
   Full Fixed Popup Header Container on Scroll
   ══════════════════════════════════════════════════════════════════════════ */

#rs-sticky-header-container.stikcy-header-visibility {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
    width: 100%;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#rs-sticky-header-container.stikcy-header-visibility.is-fixed {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    z-index: 1040 !important;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.08) !important;
    animation: rs-header-slide-down 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes rs-header-slide-down {
    from {
        transform: translate3d(0, -100%, 0);
        opacity: 0.85;
    }
    to {
        transform: translate3d(0, 0, 0);
        opacity: 1;
    }
}

/* Placeholder element to prevent page layout jump when header becomes fixed */
#rs-sticky-header-placeholder {
    display: none;
    width: 100%;
}

#rs-sticky-header-placeholder.active {
    display: block;
}

#rs-main-menu-bar {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Ensure category dropdown menu displays cleanly under floating header */
.hover-category-menu#click-category-menu {
    z-index: 1050 !important;
}

/* ══════════════════════════════════════════════════════════════════════════
   RS Residence — Special Offers Yellow Animated Highlight Menu Button
   ══════════════════════════════════════════════════════════════════════════ */
a.header_menu_links.rs-special-offer-pill,
a.header_menu_links.rs-special-offer-pill.active,
a.header_menu_links.rs-header-menu-pill,
a.header_menu_links.rs-header-menu-pill.active {
    background-color: transparent !important;
}

.rs-special-offer-pill {
    display: inline-flex !important;
    align-items: center !important;
    padding: 6px 18px !important;
    border-radius: 50px !important;
    background: linear-gradient(135deg, #FFF176 0%, #F5A800 50%, #FF9800 100%) !important;
    background-color: transparent !important;
    border: 2px solid #ffffff !important;
    color: #0f172a !important;
    font-weight: 800 !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(245, 168, 0, 0.45), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    animation: rsSpecialOfferGlow 2.5s infinite ease-in-out, rsGradientShift 4s ease infinite !important;
    -webkit-tap-highlight-color: transparent !important;
    text-decoration: none !important;
}

.rs-special-offer-pill:hover,
.rs-special-offer-pill.active {
    background: linear-gradient(135deg, #FFEE58 0%, #FFB300 50%, #F57C00 100%) !important;
    background-color: transparent !important;
    border-color: #ffffff !important;
    color: #0f172a !important;
    transform: translateY(-1px) scale(1.03) !important;
    box-shadow: 0 6px 20px rgba(245, 168, 0, 0.65), 0 3px 8px rgba(0, 0, 0, 0.15) !important;
}

.rs-special-offer-pill::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -75%;
    width: 50%;
    height: 200%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(25deg);
    animation: rsSpecialOfferShimmer 3s infinite;
    pointer-events: none;
}

.rs-special-offer-icon {
    color: #0f172a !important;
    display: inline-block !important;
    font-size: 14px !important;
    transform-origin: center center;
    animation: rsSpecialOfferWiggle 2.5s infinite ease-in-out;
}

@keyframes rsSpecialOfferGlow {
    0%, 100% {
        box-shadow: 0 0 8px rgba(245, 168, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 22px rgba(255, 193, 7, 0.9), 0 4px 12px rgba(0, 0, 0, 0.15);
    }
}

@keyframes rsGradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rsSpecialOfferShimmer {
    0% { left: -75%; }
    30%, 100% { left: 125%; }
}

@keyframes rsSpecialOfferWiggle {
    0%, 100% { transform: scale(1) rotate(0deg); }
    10% { transform: scale(1.25) rotate(-12deg); }
    20% { transform: scale(1.25) rotate(12deg); }
    30% { transform: scale(1.15) rotate(-6deg); }
    40% { transform: scale(1.1) rotate(4deg); }
    50%, 90% { transform: scale(1) rotate(0deg); }
}

/* ══════════════════════════════════════════════════════════════════════════
   RS Residence — Global Flat Modern Minimalist Action Buttons (Order Now & Add to Cart)
   Style: Linear / Notion / Claude UI Clean Aesthetic (Desktop & Mobile)
   ══════════════════════════════════════════════════════════════════════════ */
.rs-pd-actions,
.right-offcavas-footer .d-flex {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    width: 100% !important;
}

button.buy-now,
button.add-to-cart,
.buy-now,
.add-to-cart,
.product-details .buy-now,
.product-details .add-to-cart,
.rs-pd-actions .buy-now,
.rs-pd-actions .add-to-cart,
.rs-mobile-sticky-actions .buy-now,
.rs-mobile-sticky-actions .add-to-cart,
.right-offcavas-footer .buy-now,
.right-offcavas-footer .add-to-cart {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    flex: 1 1 0 !important;
    width: auto !important;
    min-height: 44px !important;
    height: 44px !important;
    margin: 0 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    outline: none !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
}

@media (max-width: 575.98px) {
    .rs-pd-actions {
        gap: 8px !important;
    }

    .rs-pd-actions .buy-now,
    .rs-pd-actions .add-to-cart {
        padding: 10px 10px !important;
        font-size: 13px !important;
    }
}

/* Primary Button: Solid Accent Blue (#185FA5), White Text, Flat */
button.buy-now,
.buy-now,
.product-details .buy-now,
.rs-pd-actions .buy-now,
.rs-mobile-sticky-actions .buy-now,
.right-offcavas-footer .buy-now {
    background: #185FA5 !important;
    background-color: #185FA5 !important;
    color: #ffffff !important;
    border: none !important;
}

button.buy-now:hover,
button.buy-now:focus,
button.buy-now:active,
.buy-now:hover,
.buy-now:focus,
.buy-now:active,
.product-details .buy-now:hover,
.rs-pd-actions .buy-now:hover,
.rs-mobile-sticky-actions .buy-now:hover,
.right-offcavas-footer .buy-now:hover {
    background: #144f8a !important;
    background-color: #144f8a !important;
    color: #ffffff !important;
    box-shadow: none !important;
    transform: none !important;
}

/* Secondary Button: Transparent/White Background, 1px Gray Border, Dark Text, Flat */
button.add-to-cart,
.add-to-cart,
.product-details .add-to-cart,
.rs-pd-actions .add-to-cart,
.rs-mobile-sticky-actions .add-to-cart,
.right-offcavas-footer .add-to-cart {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #1e293b !important;
    border: 1px solid #d1d5db !important;
}

button.add-to-cart:hover,
button.add-to-cart:focus,
button.add-to-cart:active,
.add-to-cart:hover,
.add-to-cart:focus,
.add-to-cart:active,
.product-details .add-to-cart:hover,
.rs-pd-actions .add-to-cart:hover,
.rs-mobile-sticky-actions .add-to-cart:hover,
.right-offcavas-footer .add-to-cart:hover {
    background: #f8fafc !important;
    background-color: #f8fafc !important;
    border-color: #9ca3af !important;
    color: #0f172a !important;
    box-shadow: none !important;
    transform: none !important;
}

.add-to-cart .add_to_cart_count,
.add-to-cart #add_to_cart_count {
    color: inherit !important;
    font-weight: inherit !important;
    margin-left: 4px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RS Residence — Header Cart Pill Button (Image 2 style)
   ══════════════════════════════════════════════════════════════════════════ */
.rs-header-cart-pill {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #189DF4 !important;
    background-color: #189DF4 !important;
    border-radius: 50px !important;
    padding: 6px 14px 6px 16px !important;
    border: 1.5px solid rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 2px 10px rgba(24, 157, 244, 0.3) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out !important;
    cursor: pointer !important;
    line-height: 1 !important;
    height: 38px !important;
}

.rs-header-cart-pill:hover,
.rs-header-cart-pill:focus {
    background: #0c8be2 !important;
    background-color: #0c8be2 !important;
    border-color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(24, 157, 244, 0.45) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-1px) !important;
}

.rs-header-cart-pill .rs-header-cart-icon {
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
}

.rs-header-cart-pill .rs-header-cart-icon svg {
    fill: #ffffff !important;
    color: #ffffff !important;
    width: 20px !important;
    height: 20px !important;
}

.rs-header-cart-pill .rs-header-cart-price {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    margin-left: 8px !important;
    margin-right: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

.rs-header-cart-pill .rs-header-cart-badge,
.rs-header-cart-pill .cart-count {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #ffffff !important;
    color: #189DF4 !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 50% !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
    margin-left: 4px !important;
}

/* Soft Badge Styles with High Contrast Text */
.badge.badge-soft-primary,
.badge-soft-primary {
    background-color: rgba(0, 158, 247, 0.12) !important;
    color: #009ef7 !important;
    border: 1px solid rgba(0, 158, 247, 0.25) !important;
}

.badge.badge-soft-danger,
.badge-soft-danger {
    background-color: rgba(240, 65, 108, 0.12) !important;
    color: #F0416C !important;
    border: 1px solid rgba(240, 65, 108, 0.25) !important;
}

.badge.badge-soft-success,
.badge-soft-success {
    background-color: rgba(25, 197, 83, 0.12) !important;
    color: #16a846 !important;
    border: 1px solid rgba(25, 197, 83, 0.25) !important;
}

.badge.badge-soft-info,
.badge-soft-info {
    background-color: rgba(143, 96, 238, 0.12) !important;
    color: #8f60ee !important;
    border: 1px solid rgba(143, 96, 238, 0.25) !important;
}

.badge.badge-soft-warning,
.badge-soft-warning {
    background-color: rgba(255, 199, 0, 0.15) !important;
    color: #d97706 !important;
    border: 1px solid rgba(255, 199, 0, 0.3) !important;
}

.badge.badge-soft-purple,
.badge-soft-purple {
    background-color: rgba(114, 57, 234, 0.12) !important;
    color: #7239ea !important;
    border: 1px solid rgba(114, 57, 234, 0.25) !important;
}