.z-9999 {
    z-index: 9999;
}
.z-999 {
    z-index: 999;
}
.z-99 {
    z-index: 99;
}
.__opacity-half {
    --opacity: 0.5;
}
.opacity-half {
    opacity: 0.5;
}
.cursor-auto {
    cursor: auto;
}
.page-paragraph p {
    margin: 1rem 0 30px 0 !important;
}
.__h-14rem {
    height: 14rem;
}
.__h-30rem {
    height: 30rem;
}
.d--none {
    display: none;
}

.toggle-shipping-saved-addresses.arrow-up span {
    transform: rotate(180deg);
    display: inline-block;
}

/* Product Details Page CSS || Start */
.option-select-btn.custom_01_option label input:checked ~ * {
    --outline: 1px;
    border: 2px solid #fff;
    outline: var(--outline) solid var(--bs-primary);
}
.wishlist_icon_active {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
.compare_list_icon_active {
    background-color: var(--bs-primary) !important;
    color: var(--bs-white) !important;
}
.compare_list_icon_active svg {
    stroke: var(--bs-white) !important;
}
.color_variants {
    width: 28px;
    height: 28px;
    outline: none;
}
.color_variant_active {
    border: 3px solid #fff;
    outline: 2px solid var(--bs-primary);
}
/* Product Details Page CSS || End */

/* Product  */
.temporary-closed {
    --size: 100%;
    min-width: 100%;
    min-height: 100%;
    block-size: var(--size);
    inline-size: var(--size);
    display: grid;
    place-items: center;
    top: 0;
    background: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-weight: 600;
    text-align: center;
}

/* Seller Search Box || Start */
.custom_search {
    width: -webkit-fill-available;
}
.custom_search .select-wrap {
    width: -webkit-fill-available;
    border-start-start-radius: 0.25rem;
    border-end-start-radius: 0.25rem;
}

.custom_search input {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.custom_search button {
    border-radius: 0.25rem;
    border-start-start-radius: 0rem;
    border-end-start-radius: 0rem;
}

.--mt-15 {
    margin-top: 15px;
}
/* Seller Search Box || End */

/* Product View Page || Start */

.products_aside_brands:-webkit-scrollbar,
.products_aside_categories::-webkit-scrollbar {
    inline-size: var(--size);
    background-color: var(--bs-light);
    border-radius: var(--size);
    visibility: hidden;
}

.products_aside_brands::-webkit-scrollbar-thumb,
.products_aside_categories::-webkit-scrollbar-thumb {
    border-radius: var(--size);
    -webkit-box-shadow: inset 0 0 var(--size) rgba(0, 0, 0, 0.3);
    background-color: var(--bg-badge);
    visibility: hidden;
}

.products_aside_brands:hover::-webkit-scrollbar-thumb,
.products_aside_categories:hover::-webkit-scrollbar,
.products_aside_categories:hover::-webkit-scrollbar-thumb,
.products_aside_brands:hover::-webkit-scrollbar {
    visibility: visible;
}

.products_aside_categories,
.products_aside_brands {
    max-height: 22.5rem;
    overflow-x: hidden;
    overflow-y: auto;
    -ms-scroll-snap-type: y mandatory;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
}

.custom_common_nav ul {
    padding-inline-start: 1rem;
    padding-inline-end: 0;
}

.custom_common_nav li.has-sub-item:after {
    content: "";
}

.custom_common_nav li.has-sub-item span {
    transition: all 300ms ease-in-out;
    padding: 0;
    cursor: pointer;
}

.common-nav .custom-checkbox label {
    margin: 0;
}

@media screen and (min-width: 992px) {
    .filter-toggle-aside {
        overflow-y: auto;
        max-height: calc(100vh - 120px);
        -ms-scroll-snap-type: y mandatory;
        scroll-snap-type: y mandatory;
        overscroll-behavior-y: contain;
        scroll-behavior: smooth;
    }
    .filter-toggle-aside::-webkit-scrollbar {
        --size: 0.25rem;
        inline-size: var(--size);
        background-color: var(--bs-light);
        border-radius: var(--size);
        visibility: hidden;
    }

    .filter-toggle-aside::-webkit-scrollbar-thumb {
        border-radius: var(--size);
        -webkit-box-shadow: inset 0 0 var(--size) rgba(0, 0, 0, 0.3);
        background-color: var(--bg-badge);
        /* visibility: hidden; */
    }

    .filter-toggle-aside:hover::-webkit-scrollbar-thumb,
    .filter-toggle-aside:hover::-webkit-scrollbar {
        visibility: visible;
    }
}
/* Product View Page || End */

.__vertical-middle {
    vertical-align: middle;
}

/* whatsapp chat css start */
.social-chat-icons {
    position: fixed;
    inset-inline-end: 2%;
    inset-block-end: 80px;
    z-index: 9;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-chat-icons.active {
    inset-block-end: 9.375rem;
}

.chat-image-shadow {
    filter: drop-shadow(0 0 0.35rem rgba(var(--bs-primary-rgb), 0.3));
}

.lightbox-image {
    max-height: 80vh;
    vertical-align: middle;
}

.img-w-h-100 {
    max-height: 6.25rem;
    width: 6.25rem;
    height: 100%;
    max-width: 100%;
}
.img-w-h-80 {
    max-height: 5rem;
    width: 5rem;
    height: 100%;
    max-width: 100%;
}
/* whatsapp chat css end */

.shop-bg-card {
    --bg-color: 255, 255, 255;
}
[theme="dark"] .shop-bg-card {
    --bg-color: 20, 20, 20;
}

/* Product List Page Mobile CSS */
@media (max-width: 767px) {
    .mobile_two_items {
        --minWidth: 9rem !important;
        --maxWidth: 1fr !important;
    }
}

/* Category / shop / flash-deal grids: 2 cols like HOME-REC until lg */
@media (max-width: 991.98px) {
    #filtered-products.auto-col:not(.product-list-view) {
        grid-template-columns: 1fr 1fr;
    }
}
/* Product List Page Mobile CSS */

@media (max-width: 479px) {
    h1,
    .h1 {
        --h1_fs: 1.5rem;
    }
    h2,
    .h2 {
        font-size: 1.2rem;
    }
    h3,
    .h3 {
        font-size: 1rem;
    }
    h4,
    .h4 {
        font-size: 0.9rem;
    }
}

.product-details-content .option-select-btn.weight-style--two label > span {
    padding: 0.438rem 0.5rem;
    line-height: 1;
    border-radius: 5px;
    text-align: center;
}
.product-details-content .color_variants,
.product-details-sticky-top .color_variants  {
    --outline: 2px;
    border: var(--outline) solid rgba(27, 127, 237, 0.05) !important;
}

.products-comments-img a {
    display: block;
    width: 50px;
}

.products-comments-img a img {
    width: 100%;
    border-radius: 4px;
}

/* refer and earn section css Start */

.refer_and_earn_section .primary-heading {
    color: var(--bs-primary);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

.refer_and_earn_section .secondary-heading {
    color: #262d34;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    text-align: center;
}

.refer_and_earn_section .text-secondary-color {
    color: #9b9b9b;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    margin-bottom: 8px;
}

.refer_and_earn_section .refer_code_box {
    border: 1px dashed #a1ceff;
    border-radius: 12px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 15px;
    padding-right: 15px;
}

.refer_and_earn_section .refer_code_box .refer_code {
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    cursor: pointer;
}

.refer_and_earn_section .refer_code_box .refer_code_copy {
    cursor: pointer;
}

.refer_and_earn_section .share-icons-heading {
    font-size: 14px;
    font-weight: 400;
    line-height: 19px;
    text-align: center;
}

.refer_and_earn_section .share-on-social {
    flex-wrap: wrap;
}

.refer_and_earn_section .share-on-social a {
    margin: 10px;
    box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.05);
    border-radius: 100%;
    overflow: hidden;
}

.refer_and_earn_section .share-on-social img {
    width: 40px;
    min-width: 40px;
    height: 40px;
    cursor: pointer;
}

.refer_and_earn_section .information-section {
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
}

.refer_and_earn_section .information-section h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 25px;
    letter-spacing: 0em;
    margin-bottom: 15px;
}

.refer_and_earn_section .information-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.refer_and_earn_section .information-section li {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    display: flex;
    margin-bottom: 10px;
}

.refer_and_earn_section .information-section li .item-custom-index {
    box-shadow: 0px 3px 6px 0px rgba(27, 127, 237, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 50%;
    width: 30px;
    min-width: 30px;
    height: 30px;
    margin-right: 10px;
}

.refer_and_earn_section .information-section .custom-info-icon {
    font-size: 12px;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(75, 86, 107, 1);
    color: rgba(75, 86, 107, 1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

/* refer and earn section css end */

/* Coupons Page CSS - Start */
.ticket-box {
    background-color: #f7f7f7;
    display: flex;
    border-radius: 0.25rem;
}

[theme="dark"] .ticket-box {
    background-color: #323232;
}

.ticket-box p {
    color: #999;
    font-size: 0.75rem;
}

.ticket-border {
    -webkit-border-start: 2px dashed #fff;
    border-inline-start: 2px dashed #fff;
    position: relative;
}

[theme="dark"] .ticket-border {
    -webkit-border-start: 2px dashed var(--bs-white);
    border-inline-start: 2px dashed var(--bs-white);
}

.ticket-border::after,
.ticket-border::before {
    --size: 1rem;
    inline-size: var(--size);
    block-size: var(--size);
    inset-inline-start: -1px;
    inset-block-start: calc(var(--size) / -2);
    transform: translateX(-50%);
    background-color: #fff;
    content: "";
    position: absolute;
    border-radius: var(--size);
}

[theme="dark"] .ticket-border::after,
[theme="dark"] .ticket-border::before {
    background-color: var(--bs-white);
}

.ticket-border::before {
    inset-block-start: auto;
    inset-block-end: calc(var(--size) / -2);
}

.ticket-amount {
    font-weight: 700;
    font-size: 1.3rem;
    white-space: nowrap;
    -webkit-margin-after: 0.3rem;
    margin-block-end: 0.3rem;
}

.ticket-start {
    padding: 1.5rem;
    text-align: center;
}

.ticket-start img {
    margin-bottom: 0.5rem;
}

.ticket-end {
    padding: 2rem 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
    gap: 0.5rem;
}

.ticket-end button {
    outline: 1px dashed var(--bs-primary);
    color: var(--bs-primary);
    border: none;
    font-weight: 700;
    background-color: rgba(var(--bs-primary-rgb), 0.1);
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    -webkit-margin-after: 0.5rem;
    margin-block-end: 0.5rem;
}

.ticket-end button:focus {
    outline: 1px dashed var(--bs-primary) !important;
}

.ticket-end h6 {
    font-size: 0.85rem;
}

@media screen and (max-width: 767px) {
    .ticket-box .ticket-start {
        width: 180px;
    }
}
@media screen and (min-width: 1200px) {
    .ticket-box .ticket-start {
        width: 180px;
    }
}
@media screen and (max-width: 500px) {
    .ticket-box {
        flex-wrap: wrap;
    }
    .ticket-border,
    .ticket-end,
    .ticket-box .ticket-start {
        width: 100%;
    }
    .ticket-border {
        border-inline-start: none;
        border-bottom: 2px dashed var(--bs-white);
    }
    .ticket-border::before {
        inset-inline-start: auto;
        inset-inline-end: calc(var(--size) / -1);
    }
}

/* Coupons Page CSS - End */

/**
 * EasyZoom core styles
 */
.easyzoom {
    position: relative;
    display: block;
    direction: ltr !important;
}

.easyzoom * {
    direction: ltr !important;
}

.easyzoom img {
    vertical-align: bottom;
}

.easyzoom.is-loading img {
    cursor: progress;
}

.easyzoom.is-ready img {
    cursor: crosshair;
}

.easyzoom.is-error img {
    cursor: not-allowed;
}

.easyzoom-notice {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 150;
    width: 10em;
    margin: -1em 0 0 -5em;
    line-height: 2em;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 10px #888;
}

.easyzoom-flyout {
    position: absolute;
    z-index: 1000;
    overflow: hidden;
    background: #fff;
}

.easyzoom--overlay .easyzoom-flyout {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.easyzoom--overlay .easyzoom-flyout img {
    width: unset !important;
    max-width: unset !important;
    inline-size: unset !important;
    max-inline-size: unset !important;
    max-block-size: unset !important;
    block-size: unset !important;
    min-width: 120% !important;
    min-inline-size: 120% !important;
}

.pd-img-wrap .quickviewSlider2 .easyzoom{
    width: 100%;
    height: 100%;
}

.newsletter-form {
    width: 100%;
    max-width: 32.6428571429rem;
}

.newsletter-form .envelop-icon {
    position: absolute;
    inset-inline-start: 0.8571428571rem;
    top: 1rem;
}

.newsletter-form .form-control {
    height: 3.4285714286rem;
    padding-inline-start: 2.5rem;
    border: none;
    background: var(--bs-white) !important;
    color: var(--bs-dark);
}

.newsletter-form .btn {
    position: absolute;
    height: 2.5714285714rem;
    inset-inline-end: 0.4285714286rem;
    top: 0.4285714286rem;
    font-size: 1rem;
    line-height: 1.5rem;
    font-weight: 700;
    padding-inline-start: 1.5rem;
    padding-inline-end: 1.5rem;
}

.blur-section {
    filter: blur(1px);
}

/*
*  Add fund to wallet modal start
*/
.form--check {
    position: relative;
    padding: 0;
    margin: 0;
}
.form--check .check-icon {
    border: 1px solid rgba(75, 86, 107, 1);
    display: inline-flex;
    position: absolute;
    inset-inline-start: 14px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 16px;
    aspect-ratio: 1;
    display: inline-flex;
}

.form--check .check-icon svg {
    display: none;
}
.form--check .form-check-input:checked {
    opacity: 0;
}
.form--check .form-check-input:checked ~ .check-icon {
    border: none;
}
.form--check .form-check-input:checked ~ .check-icon svg {
    display: flex;
}
.form--check input:checked ~ .form-check-label {
    background: var(--bs-light);
}

.form--check .form-check-label {
    border-radius: 8px;
    padding: 16px 16px 16px 48px;
    transition: all ease 0.3s;
    font-size: 16px;
}

[dir="rtl"] .form--check .form-check-label {
    padding: 16px 48px 16px 16px;
}
.text-24 {
    font-size: 24px;
    font-weight: 500;
}
.h-70 {
    height: 70px;
}

.gatways_list {
    max-height: 45vh;
    overflow-y: auto;
}

.gatways_list::-webkit-scrollbar {
    width: 5px;
}
.gatways_list::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gatways_list::-webkit-scrollbar-thumb {
    background: #b3b3b3;
}

.gatways_list::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.add-fund-swiper .slider-card-bg-img {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    z-index: -1;
    opacity: 0.5;
    inline-size: 80px;
    block-size: auto;
}

.z-1 {
    z-index: 1;
}

.add-fund-swiper-card {
    background-color: rgba(var(--bs-primary-rgb), 0.03);
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-content: space-between;
}
/*
*  Add fund to wallet modal end
 */

.free-delivery-area {
    max-width: 400px;
    --bs-warning: #F88030;
    --bs-warning-rgb: 248, 128, 48;
    --bs-success: #00BE33;
    --bs-success-rgb: 0, 190, 51;

}
[theme="light"] .free-delivery-progress{
    background: #E4E4E4;
}
.free-delivery-progress {
    height: 4px;
    border-radius: 5px;
    overflow: hidden;
}
.free-delivery-progress .progress-bar {
    border-radius: 5px;
    background: var(--bs-warning);
}

.fs-16 {
    font-size: 16px;
}

.custom-tooltip {
    --bs-tooltip-bg: var(--bs-primary);
}

.pulse-button {
    display: block;
    font-size: 1.2rem;
    cursor: pointer;
    -webkit-animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(0.8);
    }
}

.digital-payment-card {
    height: 50px;
    min-width: 186px;
}

.checkout-payment-group-wrap {
    list-style: none;
}
.checkout-payment-group {
    border: 1px solid #ececec;
    border-radius: 0.75rem;
    padding: 0.75rem 0.85rem 0.65rem;
    background: #fff;
}
.checkout-payment-group-label {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.45rem;
    color: #111;
}
.checkout-payment-group-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.25rem;
}
.checkout-payment-group .payment-method {
    border: 0;
    min-height: 2.75rem;
    padding: 0.5rem 0.4rem;
    border-radius: 0.5rem;
}
.checkout-payment-group .payment-method.border-selected {
    background-color: var(--primary-light);
    box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.35);
}
.checkout-payment-leaf-icon {
    width: 1.75rem;
    height: 1.75rem;
    object-fit: contain;
}
.reservepay-leaf-forms {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
.reservepay-method-option {
    border: 1px solid #ececec;
    border-radius: 0.75rem;
    background: #fff;
    padding: 0.85rem 1rem;
    color: inherit;
}
.reservepay-method-option:has(input:checked) {
    background: var(--primary-light);
    box-shadow: 0 0 0 1px var(--bs-primary);
}
.reservepay-method-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.reservepay-method-radio {
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid #c8c8c8;
    border-radius: 50%;
    flex: 0 0 auto;
}
.reservepay-selected-row .reservepay-method-radio,
.reservepay-method-option:has(input:checked) .reservepay-method-radio {
    border-color: var(--bs-primary);
    box-shadow: inset 0 0 0 3px var(--bs-primary);
}
.reservepay-method-icon {
    width: 2rem;
    height: 2rem;
    object-fit: contain;
    flex: 0 0 auto;
    border-radius: 0.4rem;
}
.reservepay-method-glyph {
    font-size: 1.35rem;
    line-height: 1;
    flex: 0 0 auto;
}
.reservepay-method-marks {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    flex: 0 0 auto;
}
.reservepay-method-marks img {
    height: 1.05rem;
    width: auto;
    max-width: 1.7rem;
    object-fit: contain;
}
.reservepay-method-marks--banks {
    flex: 0 0 auto;
    justify-content: flex-end;
}
.reservepay-method-marks--banks img {
    width: 1.15rem;
    height: 1.15rem;
    max-width: none;
    border-radius: 0.25rem;
    flex: 0 0 auto;
}
.reservepay-bank-advice ul {
    padding-left: 1.1rem;
}

.payment-list-area {
    margin-top: 20px;
    max-height: 45vh;
    overflow: auto;
    padding: 20px;
}

.payment-list-area::-webkit-scrollbar {
    width: 5px;
}
.payment-list-area::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.payment-list-area::-webkit-scrollbar-thumb {
    background: #b3b3b3;
}

.payment-list-area::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.background-custom-fit {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.product-table-wrap {
    max-height: 500px;
    overflow-y: auto;
}
.min-w-300 {
    min-width: 300px;
}
[dir="rtl"] .modal-header .btn-close {
    margin: calc(var(--bs-modal-header-padding-y) * -0.5) auto
        calc(var(--bs-modal-header-padding-y) * -0.5)
        calc(var(--bs-modal-header-padding-x) * -0.5);
}
.sticky-top-80 {
    position: sticky;
    top: 80px;
}

.height-100 {
    height: 100px;
}

.min-h-30px {
    min-height: 30px;
}

.aspect-1 {
    aspect-ratio: 1 !important;
}

.aspect--1 {
    aspect-ratio: 1;
}

.inline-size-100 {
    inline-size: 100%;
    block-size: -webkit-min-content;
}

.toast-bottom-left {
    top: 12px;
    right: 12px;
    left: auto;
}

.dropdown-left-auto {
    left: auto !important;
    right: 0 !important;
}

[dir="rtl"] .dropdown-left-auto {
    right: auto !important;
    left: 0 !important;
}

.mobile-logo-cs {
    height: 40px !important;
    width: auto !important;
}
.select2-container--default {
    width: 100% !important;
    border-radius: 0.375rem;
}
.width--5rem {
    --width: 5rem;
}
.width--7rem {
    --width: 7rem;
}

.width--18-75rem {
    --width: 18.75rem;
}
.width--27-5rem {
    --width: 27.5rem;
}
.width--20ch {
    --width: 20ch;
}
.width--10ch {
    --width: 10ch;
}
.width--60ch {
    --width: 60ch;
}
.max-width-500 {
    max-width: 500px;
}
.bs-dropdown-min-width--auto {
    --bs-dropdown-min-width: auto;
}
.bs-dropdown-min-width--8rem {
    --bs-dropdown-min-width: 8rem;
}
.bs-dropdown-min-width--10rem {
    --bs-dropdown-min-width: 10rem;
}
.bs-dropdown-min-width--22-5rem {
    --bs-dropdown-min-width: 22.5rem;
}
.bs-dropdown-min-width--max-content {
    --bs-dropdown-min-width: max-content;
}
.bs-dropdown-min-width--100 {
    --bs-dropdown-min-width: 100%;
}
.size-1-125rem {
    --size: 1.125rem;
}
.size-1-25rem {
    --size: 1.25rem;
}
.size-1-5rem {
    --size: 1.5rem;
}
.size-2-5rem {
    --size: 2.5rem;
}
.size-3-437rem {
    --size: 3.437rem;
}
.size-4-375rem {
    --size: 4.375rem;
}
.size-3-75rem {
    --size: 3.75rem;
}
.height-26-5-rem {
    --height: 26.5rem;
}
.height-12-5-rem {
    --height: 12.5rem;
}
.h--5rem {
    --h: 5rem;
}
.width--4rem {
    --width: 4rem;
}
.width--16ch {
    --width: 16ch;
}
.width--16rem {
    --width: 16rem;
}
.width--9rem {
    --width: 9rem;
}
.width--24rem {
    --width: 24rem;
}
.width--15-625 {
    --width: 15.625rem;
}
.width--15 {
    --width: 15rem;
}
.width--100 {
    --width: 100%;
}
.width--80 {
    --width: 80%;
}
.width-1fr {
    --width: 1fr;
}
.max-width--600 {
    max-width: 600px;
}
.height-45vh {
    --height: 45vh;
}
.height-480px {
    height: 480px;
}
.color-spanish-gray {
    color: #9b9b9b;
}
.minWidth-3-75rem {
    --minWidth: 3.75rem;
}
.minWidth-12rem {
    --minWidth: 12rem;
}
.max-width-5rem {
    --maxWidth: 5rem;
}
.height--5rem {
    height: 5rem;
}
.--bg-light-sky-blue {
    background: rgba(243, 250, 253, 1);
}
.border--gray {
    --bs-border-color: #d6d6d6;
}
.font-weight--600 {
    font-weight: 600;
}
.visibility-hidden {
    visibility: hidden;
}

/*[dir=rtl] .swiper-wrapper.swiper-wrapper-rtl {*/
/*    justify-content: flex-end;*/
/*}*/

@media (min-width: 992px) {
    [dir="rtl"] .text-lg-start {
        text-align: right !important;
    }
}
.fs-1-5rem {
    font-size: 1.5rem !important;
}

[dir="rtl"] .float-end {
    float: left !important;
}

.bg--light {
    background-color: var(--bs-body-bg);
}
.bg-custom-soft-danger {
    background-color: rgba(var(--bs-danger-rgb), 10%);
}

.temporarily-closed-sticky-alert {
    position: absolute;
    top: 50px;
    width: 100%;
    padding: 15px;
}

.temporarily-closed-sticky-alert div.alert-box {
    background-color: rgba(254, 247, 209, 1);
    font-size: 12px;
    font-weight: 400;
    padding: 20px;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.temporarily-closed-sticky-alert div button {
    background-color: transparent;
    border: 0;
    font-size: 20px;
    font-weight: 800;
}

.rich-editor-html-content {
    overflow-wrap: anywhere !important;
}

.rich-editor-html-content > * {
    color: var(--title-color) !important;
}

.rich-editor-html-content table {
    color: var(--title-color);
    max-width: 100% !important;
}

.rich-editor-html-content table > :not(caption) > * {
    border-width: var(--bs-border-width) 0;
}

.rich-editor-html-content table > :not(caption) > * > * {
    border-width: 0 var(--bs-border-width);
}

.rich-editor-html-content table {
    --bs-table-color: var(--bs-body-color);
    --bs-table-bg: transparent;
    --bs-table-border-color: var(--bs-border-color);
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: var(--bs-body-color);
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: var(--bs-table-color);
    vertical-align: top;
    border-color: var(--bs-table-border-color);
}

.rich-editor-html-content table > :not(caption) > * > * {
    padding: 0.5rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: var(--bs-border-width);
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.rich-editor-html-content table > tbody {
    vertical-align: inherit;
}

.rich-editor-html-content table > thead {
    vertical-align: bottom;
}

.rich-editor-html-content table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.rich-editor-html-content li[data-list="bullet"] {
    list-style-type: disc !important;
}

.rich-editor-html-content li[data-list="unchecked"] {
    list-style-type: square !important;
}

.rich-editor-html-content p:has(img) {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 0;
}
.rich-editor-html-content img,
.rich-editor-html-content iframe.ql-video {
    width: 100%;
    max-width: 350px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid var(--bs-border-color);
    margin-inline-end: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 575px) {
    .rich-editor-html-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .rich-editor-html-content img,
    .rich-editor-html-content iframe.ql-video{
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 991px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1199px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 1399px) {
    .rich-editor-html-content table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

.badge-soft-danger {
    color: var(--bs-danger) !important;
    background: rgba(var(--bs-danger), 0.06) !important;
    border-radius: 8px;
}
.min-height-100px {
    min-height: 100px !important;
}
.max-height-200px {
    max-height: 200px;
    overflow: hidden;
}

.max-height-80px {
    max-height: 80px;
    overflow: hidden;
}

.max-height-60px {
    max-height: 60px;
    overflow: hidden;
}

.max-height-45px {
    max-height: 45px;
    overflow: hidden;
}

.custom-cart-opacity-50 {
    opacity: 50%;
}

.inbox-image-element {
    width: 80px;
    height: 80px;
    object-fit: contain;
    overflow: hidden;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #f3f3f3;
}

.inbox-image-element img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

.alert--message-2 {
    border-left: 3px solid var(--bs-primary);
    border-radius: 6px;
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 9999;
    background: #fff;
    width: 80vw;
    display: flex;
    max-width: 330px;
    align-items: center;
    gap: 12px;
    padding: 16px;
    font-size: 12px;
    transition: all ease 0.5s;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.075);
}

.alert--message-2 h6 {
    font-size: 16px;
}

.alert--message-2:not(.active) {
    transform: translateX(calc(100% + 40px));
}
.alert--container {
    position: fixed;
    right: 20px;
    top: 80px;
    z-index: 9999;
    width: 80vw;
    max-width: 330px;
}
.alert--container:not(.active) {
    opacity: 0;
    visibility: hidden;
}
.alert--container .alert {
    position: unset !important;
    top: unset !important;
    left: unset !important;
    right: unset !important;
    margin-bottom: 10px;
    width: 100% !important;
}

.alert--container .alert:not(.active) {
    display: none;
}
.w--0 {
    width: 0;
    flex-grow: 1;
}

.direction-ltr {
    direction: ltr !important;
}

.shop-head-check[type="checkbox"],
.shop-item-check[type="checkbox"] {
    cursor: pointer;
}

.--size-8-75rem {
    --size: 8.75rem;
    block-size: var(--size);
    inline-size: var(--size);
    min-inline-size: var(--size);
    max-inline-size: 100%;
}

.color-bs-primary-force,
.color-bs-primary-force:focus {
    color: var(--bs-primary);
}
.resize-none {
    resize: none;
}

.bg-F1F7FF {
    background: #f1f7ff;
}
.rounded-r {
    border-radius: 0 0.25rem 0.25rem 0;
}
.overflow-x-auto {
    overflow-x: auto;
}

.picmo__popupContainer {
    z-index: 999;
}
.h-70px {
    height: 70px !important;
}
.overflow-x-auto {
    overflow-x: auto;
}
body *::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

body *::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.14);
}

body *::-webkit-scrollbar-thumb {
    background-color: darkgrey;
}

.uploaded-file-item {
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 12px;
    color: #262d34;
    background: #f3f5f9;
    border-radius: 6px;
    padding: 5px 10px;
    white-space: nowrap;
    position: relative;
}
.upload-file-item-content {
    padding-inline-end: 20px;
}
.file-array .upload-file-item-content {
    padding-inline-end: 32px;
}

.uploaded-file-item small {
    font-size: 10px;
    color: #9eadc1;
}
.uploaded-file-item .remove-file {
    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;
    margin-bottom: auto;
    color: #9eadc1;
    position: absolute;
    inset-inline-end: 0;
    inset-block-start: 0;
}
.uploaded-file-item .remove-file i {
    min-width: 22px;
    display: inline-block;
}
.lb-nav a {
    opacity: 1 !important;
    position: absolute;
    top: 50%;
    border-radius: 50%;
    transform: translateY(-50%);
    width: 40px !important;
    height: 40px !important;
    background-position: center center !important;
    background-size: 20px !important;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid #ffffff;
}
.lb-nav a.lb-prev {
    left: 0 !important;
}
.lb-nav a.lb-next {
    right: 0 !important;
}
@media screen and (min-width: 768px) {
    .lb-nav a.lb-prev {
        left: -50px !important;
    }
    .lb-nav a.lb-next {
        right: -50px !important;
    }
}
@media screen and (min-width: 1200px) {
    .lb-nav a.lb-prev {
        left: -160px !important;
    }
    .lb-nav a.lb-next {
        right: -160px !important;
    }
}

.extra-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
    z-index: 9;
}
[data-lightbox].rounded {
    border-radius: 16px !important;
}

.bg-F1F7FF {
    background: #f1f7ff;
}
.radius-right-button {
    border-radius: 0 10px 10px 0;
}
.radius-left-button {
    border-radius: 10px 0 0 10px;
}

.send-btn {
    border-radius: inherit;
    transition: all ease 0.3s;
}
.send-btn:hover {
    background: var(--bs-primary) !important;
}
.send-btn:hover img {
    filter: brightness(32);
}

#svg circle {
    transition: stroke-dashoffset 1s linear;
    stroke: #666;
    stroke-width: 3px;
}
#svg #bar {
    stroke: var(--bs-primary);
}
.circle-progress {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.circle-progress .inner {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    background: rgba(255, 255, 255, 0.5);
    z-index: 1;
    height: 100%;
    gap: 8px;
    padding-right: 115px;
}
.text-BFBFBF {
    color: #bfbfbf;
}
.max-w-200px {
    max-width: 200px;
}
.rounded-16px {
    border-radius: 16px;
}

.h-70px {
    height: 70px !important;
}
.img_remove_icon {
    border-radius: 100%;
    font-size: 8px;
    color: #fff;
    width: 20px;
    height: 20px;
    line-height: 20px;
    right: -8px;
    top: -8px;
    background-color: #d2d2d2;
    text-align: center;
    text-decoration: none;
    position: absolute;
}

.img_remove_icon:hover {
    background-color: var(--danger);
}

.filearray:not(:empty) {
    padding-block: 0.5rem;
}

.upload_img_box {
    position: relative;
    width: 45px;
    height: 45px;
    border-radius: 4px;
    /* border: 1px solid #ddd;
    border: 1px solid #f5f5f5; */
    border: none;
    margin-inline-start: 0.5rem;
    margin-block-start: 0.5rem;
}

.upload_img_box .img-clear {
    position: absolute;
    width: 16px;
    height: 16px;
    color: #fff;
    background-color: #ff3c3c;
    border-radius: 100%;
    inset-inline-end: -6px;
    inset-block-start: -6px;
    display: grid;
    place-items: center;
    line-height: 1;
    cursor: pointer;
    z-index: 9;
}

.upload_img_box .tio-clear {
    font-size: 14px;
}

.upload_img_box img {
    width: 100%;
    height: 100%;
    /* object-fit: contain; */
    object-fit: cover;
    border-radius: 4px;
}
.filearray:empty {
    display: none !important;
}
.outgoing_msg {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.outgoing_msg .message_text {
    margin: 0;
}
.w-0 {
    width: 0;
}

.review-reply {
    border: 1px solid #1455ac0d;
    color: #262d34cc;
}
.before-content-border {
    position: relative;
}
.before-content-border::before {
    position: absolute;
    content: "";
    height: 100%;
    width: 20px;
    border-radius: 0 0 0 6px;
    border-left: 2px dashed #d0dbe9;
    border-bottom: 2px dashed #d0dbe9;
    left: 29px;
    top: 75px;
}
.bg-E9F3FF80 {
    background: #e9f3ff80;
}

.btn-star {
    background: transparent;
    color: #ff5c00;
    border: 1px solid #ff5c00;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 6px;
    transition: all ease 0.3s;
    font-size: 12px;
}

.btn-star:hover {
    background: #ff5c00;
    color: #fff;
}

.text-transform-none {
    text-transform: none !important;
}
.chatting-count-badge {
    width: 20px;
    height: 20px;
    background: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 700;
}

.review-exist-images {
    position: relative;
    width: 265px;
    min-width: 265px;
    height: 150px;
    overflow: hidden;
    border: 2px dashed #ddd;
    padding: 5px;
}

.review-exist-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-exist-images .img-remove-icon-2 {
    font-size: 20px;
    color: rgb(255, 7, 0);
    border-radius: 3px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    right: 10px;
    top: 10px;
    background-color: #d2d2d2;
    text-align: center;
    text-decoration: none;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}

[dir="rtl"] input[type="tel" i] {
    direction: rtl;
}

.absolute-ltr {
    direction: ltr !important;
}
@media screen and (min-width: 1200px) {
    .profile-dropdown:hover .dropdown-menu {
        display: block;
    }
}
.p-2px {
    padding: 2px;
}
.product-details-tab-content .see-more-details-review,
.product-details-tab-content .see-more-details {
    display: none;
}
.object-contain {
    object-fit: contain;
}

.object-contain {
    object-fit: cover;
}

.aside::after {
    display: none;
}

.profile-menu-aside + .aside-overlay,
.aside + .aside-overlay {
    position: fixed;
    inline-size: 100vw;
    -webkit-transition: -webkit-transform 200ms ease;
    transition: -webkit-transform 200ms ease;
    -o-transition: transform 200ms ease;
    transition: transform 200ms ease;
    transition: transform 200ms ease, -webkit-transform 200ms ease;
    block-size: 100vh;
    z-index: 9999;
    background-color: var(--title-color);
    opacity: 0;
    visibility: hidden;
    inset-inline-start: var(--aside-width);
    inset-block-start: 0;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

.profile-menu-aside.active + .aside-overlay,
.aside.active + .aside-overlay {
    opacity: 0.5;
    visibility: visible;
    animation: fadeIn 0.3s;
    -webkit-animation: fadeIn 0.3s;
    -moz-animation: fadeIn 0.3s;
}
#pac-input {
    position: absolute;
    outline: none;
    box-shadow: none;
    border: 1px solid #e5e5e5;
    height: 35px;
    width: 192px;
    padding-inline: 16px;
}
@media screen and (max-width: 767px) {
    #pac-input {
        top: 60px !important;
        left: 10px !important;
    }
}

.line-limit-2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
}
.max-w-280px {
    max-width: 280px;
}

.text-break-word {
    word-break: break-word;
}
.embed-responsive {
    overflow: hidden;
}
.embed-responsive-16by9 {
    aspect-ratio: 16/9;
}

.embed-responsive-item {
    width: 100%;
}

.product-preview-modal-text {
    position: absolute;
    bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 99;
    height: 76px;
    cursor: pointer;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.5) 38%,
        rgba(255, 255, 255, 0.8) 69%,
        rgba(255, 255, 255, 0.9) 100%
    );
}

.product-preview-modal-text:hover span {
    transition: 0.5s ease-in-out all;
}

.product-preview-modal-text:hover span {
    scale: 1.05;
    font-weight: 700;
}

.filter-on-product-filter-change,
.product-list-filter-on-sort-by {
    cursor: pointer;
    padding: 0 !important;
}

.filter-on-product-filter-change input,
.product-list-filter-on-sort-by input {
    display: none;
}

.filter-on-product-filter-change label,
.product-list-filter-on-sort-by label {
    cursor: pointer;
    margin: 0;
    padding: 0.625rem 1.25rem;
    width: 100%;
}

.filter-on-product-filter-change:hover label,
.product-list-filter-on-sort-by:hover label {
    color: var(--bs-primary);
}

.digital-product-authors {
    display: flex;
    flex-wrap: wrap;
}

.digital-product-authors .digital-product-author-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #828697;
    padding-inline-end: 10px;
}

.digital-product-authors .item-list a {
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    color: #1e1e1e !important;
    position: relative;
    padding-inline-end: 10px;
    margin-inline-end: 5px;
}

.digital-product-authors .item-list a:after {
    content: "";
    width: 0;
    display: flex;
    height: 14px;
    border: 1px solid #b0c7e5;
    font-weight: 400 !important;
    position: absolute;
    bottom: 0;
    right: 0;
}

.digital-product-authors .item-list a:last-child:after {
    content: unset;
}

.min-width-120 {
    min-width: 120px;
}

.social-media-login-btn {
    background-color: #0000000a;
    width: 100%;
    gap: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 12px 15px 12px 15px;
}

.social-media-login-btn img {
    height: 30px;
    width: auto;
}

.social-media-login-btn .text {
    font-weight: 600;
    color: #334257;
}

.social-media-user-modal .image-box {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.social-media-user-modal .image-box img {
    --size: 80px;
    width: var(--size);
    height: var(--size);
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 100%;
    box-shadow: 0 2px 15px 0.1em #00000029;
}

.grecaptcha-badge {
    display: none !important;
}
.quickviewSliderThumb2 .swiper-slide img {
    aspect-ratio: 1;
    object-fit: cover;
}

.link-hover-base:hover {
    color: var(--bs-primary) !important;
}

.inset-inline-end-10px {
    inset-inline-end: 10px;
}

.header-dropdown li {
    padding: 0;
}

.header-dropdown li a {
    padding: 0.625rem 1.25rem;
    display: flex;
}

.d--flex {
    display: flex;
}

.custom-disabled {
    opacity: 0.65;
    box-shadow: none;
}

.theme-popup-banner {
    max-width: 480px;
    max-height: 480px;
}

@media (max-width: 370px) {
    .clearance-save-more {
        font-size: 0.85rem;
    }
}

.min-w-60px {
    display: inline-block;
    min-width: 60px;
}

.option-select-btn.d-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 575px) {
    .option-select-btn.d-grid {
        grid-template-columns: 1fr;
    }
}

.object-fit-cover {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}

.min-height-100vh-325px {
    min-height: calc(100vh - 325px);
}

.max-height-100vh-225px {
    max-height: calc(100vh - 225px);
}

.chatting-scrollbar {
    --size: 0.4rem;
    --height: 50dvh;
    max-block-size: var(--height);
    overflow-x: hidden;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    scroll-behavior: smooth;
}

/* Product page price range */
#price_range_slider {
    width: calc(100% - 16px);
    height: 3px;
    /* background: rgba(var(--bs-primary-rgb), 0.38); */
    position: relative;
}
[dir="rtl"] #price_range_slider {
    right: 16px;
}

#price_range_slider::after {
    content: "";
    inset-inline-start: 0;
    width: calc(100% + 15px);
    height: 100%;
    background: rgba(var(--bs-primary-rgb), 0.38);
    position: absolute;
}
[dir="rtl"] #price_range_slider::after {
    right: -15px;
}

#price_range_slider .slider-thumb {
    width: 1rem;
    height: 1rem;
    background: var(--bs-primary);
    border-radius: 50%;
    position: absolute;
    top: -5px;
    cursor: pointer;
}

#price_range_slider .slider-range {
    height: 3px;
    background: var(--bs-primary);
    position: absolute;
    top: 0;
}

.bg-black-09 {
    background-color: rgba(0, 0, 0, 0.09);
}

.pagination .page-item,
.pagination .page-item label {
    cursor: pointer;
}

.pagination .page-item input {
    display: none;
}

.w-fit-content {
    width: fit-content !important;
}

.line-clamp-1 {
    --clamp: 1;
    display: -webkit-box;
    -webkit-line-clamp: var(--clamp);
    line-clamp: var(--clamp);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
}

.line-clamp-2 {
    --clamp: 2;
    display: -webkit-box;
    -webkit-line-clamp: var(--clamp);
    line-clamp: var(--clamp);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
}

.gap-12 {
    gap: 0.75rem !important;
}

.mb-12px {
    margin-bottom: 0.75rem !important;
}

.form-loading-button {
    transition: 1s ease-in-out all;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-loading-button .spinner-grow-sm,
.form-loading-button .loading {
    display: none;
}

.form-loading-button.active-loading .default {
    display: none;
}

.form-loading-button.active-loading .spinner-grow-sm,
.form-loading-button.active-loading .loading {
    display: block;
}

.form-loading-button.bg-primary {
    color: var(--primary-light);
}

.form-loading-button.bg-primary .spinner-grow {
    background-color: var(--primary-light);
}
.blog-top-nav_next-btn,
.blog-top-nav_prev-btn {
    --justify-content: start;
    --background-color: #f7f8fa;
    position: absolute;
    inset-block-start: 0;
    inset-inline-end: 0;
    width: 50px;
    height: 45px;
    padding: 0;
    display: none;
    justify-content: var(--justify-content);
    align-items: center;
    color: #fff;
    background-color: var(--background-color);
    z-index: 100;
}

[theme="dark"] .blog-top-nav_next-btn,
[theme="dark"] .blog-top-nav_prev-btn {
    --background-color: var(--body-bg, #0b0f19);
}

.blog-top-nav_next-btn {
    --justify-content: end;
    padding-inline-start: 0.75rem;
}

.blog-top-nav_prev-btn {
    --justify-content: start;
}

.blog-top-nav_next-btn button,
.blog-top-nav_prev-btn button {
    width: 39px;
    height: 39px;
    aspect-ratio: 1;
    background-color: var(--bs-primary);
    max-width: 39px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-top-nav_prev-btn {
    inset-inline-end: unset;
    inset-inline-start: 0;
}

.blog-top-nav_next-btn:hover,
.blog-top-nav_prev-btn:hover,
.blog-top-nav_next-btn:focus,
.blog-top-nav_prev-btn:focus,
.blog-top-nav_next-btn:active,
.blog-top-nav_prev-btn:active {
    --background-color: #f7f8fa;
    color: #fff !important;
    background-color: var(--background-color) !important;
    border: none !important;
}

[theme="dark"] .blog-top-nav_next-btn:hover,
[theme="dark"] .blog-top-nav_prev-btn:hover,
[theme="dark"] .blog-top-nav_next-btn:focus,
[theme="dark"] .blog-top-nav_prev-btn:focus,
[theme="dark"] .blog-top-nav_next-btn:active,
[theme="dark"] .blog-top-nav_prev-btn:active {
    --background-color: var(--body-bg, #0b0f19);
}

.blog-top-nav_next-btn button:hover,
.blog-top-nav_prev-btn button:hover,
.blog-top-nav_next-btn button:focus,
.blog-top-nav_prev-btn button:focus,
.blog-top-nav_next-btn button:active,
.blog-top-nav_prev-btn button:active {
    color: #fff !important;
    background-color: var(--bs-primary) !important;
    border: none !important;
}

.blog-single-card-item {
    cursor: pointer;
}

.pe-3 {
    padding-inline-end: 1rem !important;
}

.pe-1 {
    padding-inline-end: 0.25rem !important;
}

@media (max-width: 991px) {
    .top-0-lg{
        top: 0 !important;
    }
}

.product-details-content .option-select-btn label > *{
    --size: 30px;
    background-color: transparent;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 5px;
    padding: 7px 8px;
    min-inline-size: var(--size);
    max-inline-size: 180px;
    block-size: var(--size);
    box-sizing: border-box;

}

[theme="dark"] .product-details-content .option-select-btn label > * {
    border-color: var(--bs-border-color) !important;
}

.product-details-content .option-select-btn.custom_01_option label input ~ * {
    --outline: 2px;
    border: var(--outline) solid #FFF !important;
    outline: var(--outline) solid rgba(0, 0, 0, 0.05) !important;
}

.product-details-content .option-select-btn.custom_01_option label input:checked ~ * {
    --outline: 2px;
    background-color: transparent;
    color: var(--bs-primary);
    border: var(--outline) solid #FFF !important;
    outline: var(--outline) solid var(--bs-primary) !important;
}

.product-details-content .option-select-btn label span {
    --clamp: 1;
    display: -webkit-box;
    -webkit-line-clamp: var(--clamp);
    line-clamp: var(--clamp);
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: initial;
    white-space: nowrap;
}

.color_variants{
    --size: 30px;
    width: var(--size);
    height: var(--size);
    max-width: var(--size);
    border-radius: 5px !important;
}

.pd-img-wrap .auto-item-width .swiper-slide {
    --size: 50px;
    max-inline-size: var(--size);
    min-inline-size: var(--size);
}
.pd-img-wrap .swiper-slide img {
    border-radius: inherit !important;
    height: 100%;
    aspect-ratio: 1;
}
.pd-img-wrap .active-border .swiper-slide-thumb-active {
    border-color: var(--bs-primary) !important;
}

@media (max-width: 991px) {
    .max-w-300-tab {
        max-width: 300px;
        aspect-ratio: 1;
    }
}

.share_btn{
    color: var(--absolute-white) !important;
    background-color: var(--bs-primary) !important;
    border: 0 !important;
    margin: auto;
}
.share_btn.facebook{
 background-color: #1877F2 !important;
}
.share_btn.twitter{
     background-color: var(--absolute-dark) !important;
}
.share_btn.linkedin{
     background-color: #2867B2 !important;
}
.share_btn.whatsapp{
    background-color: #25D366 !important;
}

.wishlist-price .product-total-unit-price{
    font-size: 0.75rem !important;
}
.wishlist-price .discounted-unit-price{
    font-size: 0.875rem !important;
    color: var(--bs-dark) !important;
}

.border-primary-light {
    border-color: rgba(var(--bs-primary-rgb), 0.30) !important;
}

.rounded-thead-table{
    --radius: 5px;
    border-collapse: separate;
    border-spacing: 0;
}

.rounded-thead-table thead th:first-child {
    border-start-start-radius: var(--radius);
    border-end-start-radius: var(--radius);
}
.rounded-thead-table thead th:last-child {
    border-start-end-radius: var(--radius);
    border-end-end-radius: var(--radius);
}
.p-10px{
    padding: 10px !important;
}

.w-32px{
    width: 32px;
}
.w-130px{
    width: 130px;
}

.object-cover{
    object-fit: cover;
}

.mt-2px{
    margin-top: 2px;
}

.max-w-max-content{
    max-width: max-content !important;
}

.middle-align-info .product__summary{
    text-align: center !important;
    align-items: center !important;
}

.max-z-index-for-auth-modal {
    --bs-modal-zindex: 999999;
}

@media screen and (max-width: 575px) {
    .max-w-100-mobile {
        max-inline-size: 100% !important;
    }
}

.mb-20{
    margin-bottom: 20px;
}
.max-w-290{
    max-width: 290px;
}
.min-h-45{
    min-height: 45px;
}
.fs-14{
    font-size: 14px;
}

.modal--md{
    @media screen and (min-width: 576px){
        max-width: 600px !important;
        margin: 8px auto;
    }
}
.modal--lg{
    @media screen and (min-width: 576px){
        max-width: 1000px !important;
        margin: 8px auto;
    }
}

/*New Css */
.title-semidark{
    color: var(--title-semidark);
}

.max-w-400{
    max-width: 400px;
}
.border-dash-custom{
    border: 1px dashed #0461A580;
}

.section-bg-cmn{
    background-color: var(--section-bg-cmn);
}
.section-bg-cmn2{
    background-color: var(--section-bg-cmn2) !important;
}

.border-bottom-2-white{
    border-bottom: 2px solid var(--bs-white);
}



.border-success-1{
    border: 1px solid var(--bs-success);
}
.border-primary-1{
    border: 1px solid var(--bs-primary);
}
.border-danger-1{
    border: 1px solid var(--bs-danger);
}

.bg-opacity-10 {
  --bs-bg-opacity: calc(10 / 100);
}

.my_orderlist__table thead tr th:first-child{
    border-radius: 10px 0 0 0 !important;
}
.my_orderlist__table thead tr th:last-child{
    border-radius: 0 10px 0 0 !important;
}
.my_orderlist__table tbody tr td:first-child{
    border-radius: 10px 0 0 10px !important;
}

.my_orderlist__table tbody tr td:last-child{
    border-radius: 0 10px 10px 0 !important;
}

.pb-20{
    padding-bottom: 20px;
}
[theme="dark"] .svg-dark-support path {
   stroke: var(--absolute-white);
}
.close-custom-btn{
    background-color: var(--section-bg-cmn);
}
.close-custom-btn:hover{
    background-color: var(--section-bg-cmn);
    color: var(--icon-color);
}
.close-custom-btn span{
    color: var(--icon-color);
}
.top--02{
    position: relative;
    top: -2px;
}

.w-36{
    width: 36px;
    min-width: 36px;
}
.h-36{
    height: 36px;
}

.title-clr{
    color: var(--title-color);
}
.min-w-220{
    min-width: 220px;
}

.w-30{
    width: 30px;
    min-width: 30px;
}
.h-30{
    height: 30px;
}

.d-center{
    display: flex;
    align-items: center;
    justify-content: center;
}
.bg-icon{
    background-color: var(--bg-icon);
}

.border-lines{
    width: 1px;
    height: 11px;
    background-color: var(--icon-color);
    display: block;
}
.min-w-120{
    min-width: 120px;
    @media screen and (max-width: 991px){
        min-width: 90px;
    }
}
.coba_refund .spartan_item_wrapper{
    margin-bottom: 0px !important;
    width: 70px !important;
    min-width: 70px !important;
}
.coba_refund .spartan_item_wrapper .spartan_remove_row{
    width: 16px !important;
    height: 16px !important;
    line-height: 16px !important;
    font-size: 9px !important;
    background-color: var(--bs-white) !important;
}
.coba_refund .spartan_item_wrapper .file_upload{
    padding: 1px !important;
    border: 1px dashed var(--border-color2) !important;
}


.btn--reset{
    --bs-btn-color: var(--title-color);
    --bs-btn-bg: var(--section-bg-cmn);
}
.border-color3{
    border: 1px solid var(--border-color3);
}

.img-w-h-70 {
    max-height: 70px;
    width: 70px;
    height: 100%;
    max-width: 100%;
}

.w-40{
    width: 40px;
    min-width: 40px;
}
.h-40{
    height: 40px;
}

.mb-15{
    margin-bottom: 15px;
}

.w-240{
    min-width: 240px;
    width: 240px;
}

/*cutom trac slider*/
.traking-slide-nav {
    overflow-x: auto;
    scroll-behavior: smooth;
}
.traking-slide-nav::-webkit-scrollbar {
    display: none;
}
.traking-item{
    /* cursor: grab; */
    /* border: 1px dashed var(--secondary-body-color); */
}
.traking-item:not(:last-child)::before{
    content: "";
    position: absolute;
    top: 65px;
    inset-inline-start: 132px;
    width: 215px;
    height: 0;
    border-top: 1px dashed var(--secondary-body-color);
    pointer-events: none;
}
.traking-item .state-img i{
    color: var(--icon-color);
}
.traking-item .state-img svg path{
    fill: var(--icon-color);
}
.traking-item .badge-check i{
    color: var(--icon-color);
}

/*active*/
.traking-item.active .state-img i{
    color: var(--bs-primary) !important;
}
.traking-item.active .state-img svg path{
    fill: var(--bs-primary) !important;
}
.traking-item.active .badge-check i{
    color: var(--bs-success);
}
.traking-item.active::before{
    border-top: 1px solid var(--bs-success) !important;
}

.traking-slide-wrap .button-prev,
.traking-slide-wrap .button-next {
    display: none;
    align-items: center;
    position: absolute;
    z-index: 1;
}
.traking-slide-wrap .btn-click-prev,
.traking-slide-wrap .btn-click-next{
    width: 39px;
    height: 39px;
    min-width: 39px;
    line-height: 39px;
    text-align: center;
    background: var(--bs-primary);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.08);
    border-radius: 45px;
    color: var(--absolute-white);
    @media screen and (max-width: 575px){
        width: 29px;
        height: 29px;
        min-width: 29px;
        line-height: 29px;
    }
}

.traking-slide-wrap .button-prev{
    top: 76px;
    inset-inline-start: 12px;
    width: 99px;
    height: 40px;
    background: linear-gradient(269.55deg, rgba(var(--bs-white-rgb), 255, 0) -6.18%, var(--bs-white) 96.76%);
    border-radius: 10px 0 0 10px;
}
.traking-slide-wrap .button-next{
    top: 76px;
    inset-inline-end: -12px;
    width: 99px;
    height: 40px;
    background: linear-gradient(89.55deg, rgba(var(--bs-white-rgb), 255, 0) -6.18%, var(--bs-white) 96.76%);
    border-radius: 0 10px 10px 0;
}

.text-secondary-body-color{
    color: var(--secondary-body-color);
}

/* Account address map — locate-me overlay (add/edit) */
.account-address-map-wrap {
    background: #e8eaed;
}
.account-address-map-search {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 3.35rem;
    z-index: 2;
    width: auto;
    max-width: calc(100% - 1rem);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
}
.account-address-map-locate-btn {
    position: absolute;
    inset-inline-start: 0.65rem;
    bottom: 0.65rem;
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #fff;
    color: #5f6368;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.account-address-map-locate-btn:hover:not(:disabled) {
    color: #ee4d2d;
    background: #fff;
}
.account-address-map-locate-btn:disabled {
    opacity: 0.65;
}
.account-address-map-locate-btn-icon {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* Full screen: wrap whole block so locate + search stay visible (Google FS only enlarges #location_map_canvas). */
.account-address-map-fs-btn {
    position: absolute;
    top: 0.55rem;
    inset-inline-end: 0.65rem;
    z-index: 3;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    background: #fff;
    color: #5f6368;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.account-address-map-fs-btn:hover {
    color: #ee4d2d;
    background: #fff;
}
.account-address-map-fs-icons {
    position: relative;
    display: block;
    width: 1.125rem;
    height: 1.125rem;
}
.account-address-map-fs-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.account-address-map-fs-icon--exit {
    display: none;
}
.account-address-map-wrap:fullscreen .account-address-map-fs-icon--enter,
.account-address-map-wrap:-webkit-full-screen .account-address-map-fs-icon--enter {
    display: none;
}
.account-address-map-wrap:fullscreen .account-address-map-fs-icon--exit,
.account-address-map-wrap:-webkit-full-screen .account-address-map-fs-icon--exit {
    display: block;
}
.account-address-map-wrap:fullscreen,
.account-address-map-wrap:-webkit-full-screen {
    display: flex;
    flex-direction: column;
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    border-radius: 0 !important;
    margin-bottom: 0 !important;
    background: #e8eaed;
}
.account-address-map-wrap:fullscreen #location_map_canvas,
.account-address-map-wrap:-webkit-full-screen #location_map_canvas,
.account-address-map-wrap:fullscreen .account-address-shopee-map,
.account-address-map-wrap:-webkit-full-screen .account-address-shopee-map {
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
}

/* Meesukdee — saved address list, add/edit forms, checkout shipping (theme tokens, not ThaiMart red) */
.meesukdee-address-theme {
    --msd-accent: var(--bs-primary);
    --msd-accent-hover: var(--primary-dark, var(--bs-primary));
    --msd-accent-soft: var(--primary-light, #fff8f6);
    --msd-page-bg: #f5f5f5;
    background-color: var(--msd-page-bg) !important;
}

.meesukdee-address-theme .btn-primary {
    background-color: var(--msd-accent);
    border-color: var(--msd-accent);
    color: #fff;
}

.meesukdee-address-theme .btn-primary:hover,
.meesukdee-address-theme .btn-primary:focus {
    background-color: var(--msd-accent-hover);
    border-color: var(--msd-accent-hover);
    color: #fff;
}

.meesukdee-address-theme .btn-outline-primary {
    border-color: var(--msd-accent);
    color: var(--msd-accent);
    background-color: #fff;
    border-radius: 0.5rem;
}

.meesukdee-address-theme .btn-outline-primary:hover {
    background-color: var(--msd-accent-soft);
    color: var(--msd-accent-hover);
    border-color: var(--msd-accent-hover);
}

.account-address-theme-back-link,
.meesukdee-address-theme .account-address-theme-back-link {
    color: var(--msd-accent);
}

.account-address-theme-back-link:hover,
.meesukdee-address-theme .account-address-theme-back-link:hover {
    color: var(--msd-accent-hover);
}

.account-address-list-card {
    border: 0 !important;
    border-radius: 0.75rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.account-address-list-card .account-address-card-hit {
    z-index: 1;
}
.account-address-list-card .account-address-card-control {
    position: relative;
    z-index: 2;
}

.account-address-edit-smart-paste {
    border: 1px solid rgba(var(--bs-primary-rgb), 0.35) !important;
    background: var(--msd-accent-soft) !important;
}

.account-address-edit-smart-paste-icon {
    color: var(--msd-accent);
}

.account-address-edit-smart-textarea {
    border: 1px solid #e0e0e0 !important;
    border-radius: 0.375rem;
}

.account-address-theme-btn-outline {
    background: #fff;
    border: 1px solid var(--msd-accent);
    color: var(--msd-accent);
    border-radius: 0.5rem;
    font-weight: 600;
}

.account-address-theme-btn-outline:hover {
    background: #fff0ed;
    color: var(--msd-accent-hover);
    border-color: var(--msd-accent-hover);
}

.meesukdee-address-theme.checkout-shipping-shopee .checkout-shipping-panel {
    border-radius: 0.5rem;
}

/* ===== Cart page (mobile-first) — layout ref: docs/spec/shop-cart-mobile-reference.md ===== */
.cart-page {
    background: #f3f4f6;
    min-height: 60vh;
}

.cart-mobile-header {
    display: grid;
    grid-template-columns: 2.5rem 1fr 2.5rem;
    align-items: center;
    padding: 0.65rem 0.75rem;
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 20;
}
.cart-mobile-header-back,
.cart-mobile-header-trash {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    background: transparent;
    color: inherit;
    text-decoration: none;
    font-size: 1.15rem;
}
.cart-mobile-header-trash:disabled {
    opacity: 0.35;
}
.cart-mobile-header-title {
    margin: 0;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 700;
}

.cart-page-body {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.cart-shop-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-shop-group {
    background: #fff;
    border-radius: 0.85rem;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.cart-shop-group .cart-shop-header {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.9rem;
}
.cart-shop-group .cart-shop-header h6 {
    font-weight: 700;
    font-size: 0.95rem;
}
.cart-shop-link {
    min-width: 0;
}

.cart-item-card {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    gap: 0.65rem;
}
.cart-item-card + .cart-item-card {
    border-top: 1px solid #f3f3f3;
}
.cart-item-card .shop-item-check,
.cart-shop-header .shop-head-check {
    flex: 0 0 auto;
    width: 1.15rem;
    height: 1.15rem;
}
.cart-item-card .cart-item-img {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 0.5rem;
    background: #f7f7f7;
}
.cart-item-card .cart-item-body {
    min-width: 0;
    gap: 0.2rem;
}
.cart-item-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}
.cart-item-price-row {
    font-size: 0.95rem;
}

.cart-variant-pill {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    background: #f1f1f1;
    color: #555;
    font-size: 0.72rem;
}

.cart-qty-stepper {
    gap: 0.35rem;
}
.cart-qty-btn {
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #ddd;
    border-radius: 0.35rem;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}
.cart-qty-input {
    width: 1.75rem;
    border: 0;
    background: transparent;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0;
}
.cart-qty-stepper--locked .cart-qty-btn {
    opacity: 0.5;
}

.cart-empty-state {
    background: #fff;
    border-radius: 0.85rem;
    padding: 2rem 1rem;
}

/* Mobile sticky checkout bar */
.cart-checkout-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.06);
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}
.cart-checkout-bar .cart-checkout-bar-inner {
    gap: 0.65rem;
}
.cart-checkout-bar .cart-select-all-wrap {
    font-size: 0.85rem;
    white-space: nowrap;
    gap: 0.4rem;
}
.cart-checkout-bar .cart-total-label {
    font-size: 0.9rem;
    margin-inline-end: 0.25rem;
}
.cart-checkout-bar .cart-total-amount {
    font-size: 1rem;
}
.cart-checkout-bar .cart-checkout-btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    white-space: nowrap;
}
.cart-checkout-bar .cart-checkout-btn.custom-disabled,
.cart-checkout-bar .cart-checkout-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.cart-checkout-sidebar .sticky-top-80 {
    top: 80px;
}

/* Recommendations grid */
.cart-reco-section {
    background: transparent;
    padding-inline: 0.75rem;
}
.cart-reco-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}
.cart-reco-card {
    border: 0;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.cart-reco-img { aspect-ratio: 1 / 1; }
.cart-reco-body { padding: 0.5rem; display: flex; flex-direction: column; flex-grow: 1; }

@media (min-width: 992px) {
    .cart-page {
        background: transparent;
        padding-top: 1rem;
    }
    .cart-checkout-bar { display: none !important; }
    .cart-reco-grid { grid-template-columns: repeat(4, 1fr); }
    .cart-reco-section { padding-inline: 0; }
    #cart-summary { padding-bottom: 0; }
    .cart-shop-group {
        border-radius: 0.5rem;
        border: 1px solid #eee;
        box-shadow: none;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .cart-reco-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 991.98px) {
    #cart-summary { padding-bottom: 5.5rem; }
    .cart-reco-section { padding-bottom: 5.5rem; }
    .main-content.mb-5 { margin-bottom: 0 !important; }
}


/* ===== Checkout mobile-first (theme_meesukdee) ===== */
.checkout-page {
    background-color: #f5f5f5;
}
.checkout-page-container {
    max-width: 1140px;
}
.checkout-mobile-header {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    margin: -1rem 0 0;
}
.checkout-mobile-header-inner {
    grid-template-columns: 2.5rem 1fr 2.5rem;
    min-height: 3rem;
    padding: 0.35rem 0.75rem;
}
.checkout-mobile-header-back {
    color: #212529;
}
.checkout-card {
    border-radius: 0.75rem;
}
.checkout-shop-card {
    border-radius: 0.75rem;
    border: 0 !important;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.checkout-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1030;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom));
}
.checkout-sticky-bar-inner {
    max-width: 1140px;
    margin: 0 auto;
}
.checkout-place-order-btn {
    white-space: nowrap;
    min-width: 8.5rem;
    border-radius: 2rem;
    padding: 0.65rem 1.25rem;
}
.checkout-place-order-btn.custom-disabled,
.checkout-place-order-btn:disabled {
    opacity: 0.55;
    pointer-events: none;
}
.checkout-payment-methods--mobile .option-select-btn {
    gap: 0.65rem !important;
}
.checkout-payment-methods--mobile .payment-method {
    border-radius: 0.65rem;
}
.checkout-payment-methods--mobile #bring_change_amount,
.checkout-payment-methods--mobile #bring_change_amount_btn {
    display: none !important;
}
.checkout-shipping-sheet .checkout-shipping-sheet-content {
    border-radius: 1rem 1rem 0 0;
}
@media (max-width: 991.98px) {
    .checkout-page.mb-5 {
        margin-bottom: 0 !important;
        padding-bottom: 5.5rem;
    }
    .checkout-shipping-sheet .checkout-shipping-sheet-dialog {
        margin: 0;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        max-width: 100%;
        height: auto;
        max-height: 85vh;
    }
    .checkout-shipping-sheet .modal-dialog-centered {
        align-items: flex-end;
    }
    .checkout-shipping-sheet .checkout-shipping-sheet-content {
        border-radius: 1rem 1rem 0 0;
        max-height: 85vh;
    }
    .checkout-add-address-cta {
        border-radius: 0.5rem;
    }
}
@media (min-width: 992px) {
    .checkout-mobile-header,
    .checkout-sticky-bar,
    .checkout-mobile-below-shops {
        display: none !important;
    }
    .checkout-page {
        background-color: #f8f9fa;
    }
}

.checkout-shop-avatar {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 50%;
    object-fit: cover;
    background: #f3f3f3;
}
.checkout-shop-item-thumb {
    width: 4rem;
    height: 4rem;
    background: #f6f6f6;
}
.checkout-shop-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.checkout-shop-shipping-bar,
.checkout-payment-trigger,
.checkout-remarks-trigger {
    cursor: pointer;
}
.checkout-shop-shipping-bar {
    border: 0;
    background: var(--primary-light);
    color: inherit;
    padding: 0.7rem 1rem;
    border-radius: 0;
}
.checkout-shop-shipping-bar:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(var(--bs-primary-rgb), 0.35);
}
.checkout-payment-trigger-icon {
    width: 1.35rem;
    height: 1.35rem;
    object-fit: contain;
}
.checkout-cod-intent-compact .form-check-input {
    width: 2.25rem;
    height: 1.2rem;
    cursor: pointer;
}

@media (max-width: 991.98px) {
    body.checkout-hide-chrome .header,
    body.checkout-hide-chrome .offer-bar,
    body.checkout-hide-chrome footer.footer,
    body.checkout-hide-chrome .back-to-top,
    body.checkout-hide-chrome #navBackdrop,
    body.checkout-hide-chrome #meesukdee-chatbot-widget-root,
    body.checkout-hide-chrome .meesukdee-chatbot-widget,
    body.address-hide-chrome .header,
    body.address-hide-chrome .offer-bar,
    body.address-hide-chrome footer.footer,
    body.address-hide-chrome .back-to-top,
    body.address-hide-chrome #navBackdrop,
    body.address-hide-chrome #meesukdee-chatbot-widget-root,
    body.address-hide-chrome .meesukdee-chatbot-widget,
    body.vendor-register-hide-chrome .header,
    body.vendor-register-hide-chrome .offer-bar,
    body.vendor-register-hide-chrome footer.footer,
    body.vendor-register-hide-chrome .back-to-top,
    body.vendor-register-hide-chrome #navBackdrop,
    body.vendor-register-hide-chrome #meesukdee-chatbot-widget-root,
    body.vendor-register-hide-chrome .meesukdee-chatbot-widget {
        display: none !important;
    }
    body.checkout-hide-chrome .checkout-page,
    body.address-hide-chrome .main-content.meesukdee-address-theme {
        padding-top: 0;
    }
    body.vendor-register-hide-chrome {
        background: #fff;
    }
    body.vendor-register-hide-chrome .main-content {
        padding-top: 1.25rem;
        padding-bottom: 2rem;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 0 !important;
        background: #fff;
    }
    body.vendor-register-hide-chrome .container {
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
    }
    body.vendor-register-hide-chrome .create-an-account {
        background: #fff;
        border-radius: 0;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    body.vendor-register-hide-chrome .create-an-account .row {
        margin-left: 0;
        margin-right: 0;
    }
    body.vendor-register-hide-chrome .create-an-account .row > [class*="col-"] {
        padding-left: 0;
        padding-right: 0;
    }
    body.vendor-register-hide-chrome .create-an-account .bg-white {
        padding-left: 24px !important;
        padding-right: 24px !important;
        border-radius: 0;
    }
    body.vendor-register-hide-chrome .create-an-account .col-lg-4,
    body.vendor-register-hide-chrome .vendor-register-logo {
        padding-left: 24px;
        padding-right: 24px;
    }
    body.vendor-register-hide-chrome .create-an-account h3 {
        font-size: 1.25rem;
        font-weight: 600;
        line-height: 1.35;
        margin-bottom: 0.25rem !important;
    }
    body.vendor-register-hide-chrome .create-an-account h4 {
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1rem !important;
    }
    body.vendor-register-hide-chrome .create-an-account p,
    body.vendor-register-hide-chrome .create-an-account label {
        font-size: 0.8125rem;
    }
    body.vendor-register-hide-chrome .create-an-account .form-control {
        font-size: 1rem;
        min-height: 48px;
        border-radius: 999px;
    }
    body.vendor-register-hide-chrome .create-an-account .btn {
        font-size: 0.9375rem;
        min-height: 48px;
        border-radius: 999px;
    }
    body.vendor-register-hide-chrome .create-an-account .vendor-social-auth p {
        font-size: 0.8125rem;
    }
    body.vendor-register-hide-chrome .create-an-account .vendor-social-auth .btn {
        font-size: 0.875rem;
        border-radius: 999px;
    }
    body.vendor-register-hide-chrome .create-an-account .col-lg-4 img {
        display: none;
    }
    body.vendor-register-hide-chrome .vendor-wizard-welcome {
        max-width: 32rem;
        margin: 0 auto;
        --msd-accent: var(--bs-primary);
    }
    body.vendor-register-hide-chrome .vendor-wizard-banner {
        width: 100%;
        overflow: hidden;
        background: var(--primary-light, #f3f8f6);
    }
    body.vendor-register-hide-chrome .vendor-wizard-banner img {
        display: block;
        width: 100%;
        height: auto;
        max-height: 11rem;
        object-fit: contain;
        background: var(--primary-light, #f3f8f6);
    }
    body.vendor-register-hide-chrome .vendor-wizard-welcome .btn-primary {
        min-height: 48px;
        border-radius: 999px;
        background: var(--bs-primary);
        border-color: var(--bs-primary);
    }
    body.vendor-register-hide-chrome .vendor-wizard-progress-label {
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--bs-primary);
    }
    body.checkout-hide-chrome .checkout-mobile-header,
    body.address-hide-chrome .checkout-mobile-header {
        margin-top: 0;
    }
    body.address-hide-chrome .row > .col-lg-3:has(.profile-sidebar-sticky) {
        display: none !important;
    }
    .checkout-payment-methods--mobile .mb-30 {
        margin-bottom: 0 !important;
    }
    .checkout-payment-methods--mobile .option-select-btn {
        gap: 0.5rem !important;
    }
    .checkout-payment-methods--mobile .payment-method {
        flex-direction: row !important;
        align-items: center !important;
        padding: 0.75rem 0.85rem !important;
        border: 1px solid #ececec;
        border-radius: 0.65rem;
        min-height: 3.25rem;
    }
    .checkout-payment-methods--mobile .payment-method.border-selected {
        border-color: var(--bs-primary);
        background-color: var(--primary-light);
        box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.35);
    }
    .checkout-payment-methods--mobile .payment-method span.fs-16 {
        font-size: 0.875rem !important;
    }
    .checkout-payment-methods--mobile .checkout-payment-group-label {
        display: none;
    }
    .checkout-payment-methods--mobile .checkout-payment-group .payment-method {
        border: 0 !important;
        min-height: 2.6rem;
        padding: 0.45rem 0.35rem !important;
        box-shadow: none;
    }
    .checkout-payment-methods--mobile .checkout-payment-group .payment-method.border-selected {
        border: 0 !important;
        background-color: var(--primary-light);
        box-shadow: 0 0 0 1px rgba(var(--bs-primary-rgb), 0.35);
    }
    .checkout-terms-footnote {
        opacity: 0.9;
    }
}

body.pay-qr-page.checkout-hide-chrome .header,
body.pay-qr-page.checkout-hide-chrome .offer-bar,
body.pay-qr-page.checkout-hide-chrome footer.footer,
body.pay-qr-page.checkout-hide-chrome .back-to-top,
body.pay-qr-page.checkout-hide-chrome #navBackdrop,
body.pay-qr-page.checkout-hide-chrome #meesukdee-chatbot-widget-root,
body.pay-qr-page.checkout-hide-chrome .meesukdee-chatbot-widget {
    display: none !important;
}
body.pay-qr-page .checkout-page {
    padding-top: 0;
    background-color: var(--msd-page-bg, #f5f5f5);
}
.pay-qr-header-wrap .checkout-mobile-header {
    display: block;
    margin: 0 0 0.5rem;
}
.pay-qr-container {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
.pay-qr-status-card {
    background: var(--msd-accent-soft, var(--primary-light, #fff8f6));
    border-radius: 0.85rem;
    padding: 1rem 1.1rem;
}
.pay-qr-status-title {
    font-weight: 600;
    color: #212529;
}
.pay-qr-amount {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0.2rem;
}
.pay-qr-status-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--msd-accent, var(--bs-primary));
    color: #fff;
    flex-shrink: 0;
}
.pay-qr-order-timer {
    font-size: 0.9rem;
    color: #555;
    padding: 0.65rem 0.15rem 0;
}
.pay-qr-timer-value {
    color: var(--msd-accent, var(--bs-primary));
    font-weight: 700;
}
.pay-qr-order-expires {
    font-size: 0.8rem;
    color: #888;
    margin-top: 0.15rem;
}
.pay-qr-card {
    background: #fff;
    border-radius: 0.85rem;
    padding: 1.15rem 1.1rem 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}
.pay-qr-card-title {
    font-weight: 600;
}
.pay-qr-image-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 0.75rem;
}
.pay-qr-image {
    width: min(16.5rem, 100%);
    height: auto;
    background: #fff;
}
.pay-qr-qr-timer {
    font-size: 0.9rem;
}
.pay-qr-save-btn,
.pay-qr-refresh-btn {
    border-radius: 2rem;
    padding: 0.7rem 1rem;
    font-weight: 600;
}
.pay-qr-howto-title {
    font-weight: 700;
}
.pay-qr-howto-list {
    padding-left: 1.2rem;
    color: #444;
    font-size: 0.92rem;
}
.pay-qr-howto-list li {
    margin-bottom: 0.65rem;
}
.pay-qr-howto-list li:last-child {
    margin-bottom: 0;
}
.pay-qr-resume-btn {
    white-space: nowrap;
}
.pay-qr-success-icon {
    font-size: 2.5rem;
    color: #198754;
}
.pay-qr-success-orders {
    font-size: 1rem;
}

/* —— Storefront mobile chrome (MOB-CHROME-1) —— */
.msd-mobile-top {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 3.25rem;
    padding: 0.5rem 0.75rem;
    padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
}
.msd-mobile-top--home {
    isolation: isolate;
    background-color: var(--bs-primary);
    color: #fff;
}
.msd-mobile-top--inner {
    background-color: #fff;
    color: #212529;
    border-bottom: 1px solid #ececec;
}
.msd-mobile-top__logo {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
}
.msd-mobile-top__logo-img {
    display: block;
    width: 2.25rem;
    height: 2.25rem;
    object-fit: contain;
    object-position: center;
    opacity: 0;
}
.msd-mobile-top__logo-img.is-ready {
    opacity: 1;
    filter: brightness(0) invert(1);
}
.msd-mobile-top__logo-img.is-blend {
    opacity: 1;
    mix-blend-mode: multiply;
}
.msd-mobile-top__search {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    margin: 0;
}
.msd-mobile-top__search-input.form-control {
    height: 2.25rem;
    min-height: 2.25rem;
    padding: 0 2.5rem 0 0.875rem;
    border: 0;
    border-radius: 999px;
    font-size: 0.8125rem;
    line-height: 2.25rem;
    box-shadow: none;
    background-color: #fff;
    cursor: pointer;
}
.msd-mobile-top__search-input.form-control:focus {
    box-shadow: none;
    border: 0;
}
.msd-mobile-top__search-input::-webkit-search-decoration,
.msd-mobile-top__search-input::-webkit-search-cancel-button,
.msd-mobile-top__search-input::-webkit-search-results-button,
.msd-mobile-top__search-input::-webkit-search-results-decoration {
    -webkit-appearance: none;
}
.msd-mobile-top__search-btn {
    position: absolute;
    inset-inline-end: 0.125rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: var(--bs-primary);
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    padding: 0;
}
.msd-mobile-top__actions {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 0 0 auto;
}
.msd-mobile-top__icon {
    position: relative;
    color: #fff;
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    text-decoration: none;
}
.msd-mobile-top__icon:hover,
.msd-mobile-top__icon:focus {
    color: #fff;
    opacity: 0.9;
}
.msd-mobile-top__badge {
    position: absolute;
    top: -0.15rem;
    inset-inline-end: -0.15rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    line-height: 1rem;
    text-align: center;
}
.msd-mobile-top__back {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-primary);
    text-decoration: none;
    font-size: 1.35rem;
}
.msd-mobile-top__title {
    flex: 1 1 auto;
    margin: 0;
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--bs-primary);
}
.msd-mobile-top__spacer {
    width: 2.25rem;
    height: 2.25rem;
}

.msd-mobile-bottom {
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid #e9ecef;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.msd-mobile-bottom__list {
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    min-height: 3.5rem;
    margin: 0;
    padding: 0.2rem 0.15rem;
}
.msd-mobile-bottom__list > li {
    flex: 1 1 0;
    min-width: 0;
}
.msd-mobile-bottom__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    padding: 0.35rem 0.15rem;
    color: #6c757d;
    text-decoration: none;
    font-size: 0.68rem;
    line-height: 1.1;
    text-align: center;
}
.msd-mobile-bottom__item i {
    font-size: 1.25rem;
    line-height: 1;
}
.msd-mobile-bottom__item.is-active {
    color: var(--bs-primary);
    font-weight: 600;
}
.msd-mobile-bottom__icon-wrap {
    position: relative;
    display: inline-flex;
}
.msd-mobile-bottom__badge {
    position: absolute;
    top: -0.35rem;
    inset-inline-end: -0.55rem;
    min-width: 1rem;
    height: 1rem;
    padding: 0 0.2rem;
    border-radius: 999px;
    background: #dc3545;
    color: #fff;
    font-size: 0.65rem;
    line-height: 1rem;
    text-align: center;
}

@media (max-width: 1199.98px) {
    body.msd-show-bottom-bar.toolbar-enabled {
        padding-bottom: calc(3.75rem + env(safe-area-inset-bottom, 0px));
    }
}

body.msd-hide-bottom-bar .msd-mobile-bottom,
body.msd-hide-bottom-bar #mobile_app_bar,
body.checkout-hide-chrome .msd-mobile-top,
body.checkout-hide-chrome .msd-mobile-bottom,
body.checkout-hide-chrome #mobile_app_bar,
body.address-hide-chrome .msd-mobile-top,
body.address-hide-chrome .msd-mobile-bottom,
body.address-hide-chrome #mobile_app_bar,
body.cart-hide-chrome .msd-mobile-top,
body.cart-hide-chrome .msd-mobile-bottom,
body.cart-hide-chrome #mobile_app_bar,
body.vendor-register-hide-chrome .msd-mobile-top,
body.vendor-register-hide-chrome .msd-mobile-bottom,
body.vendor-register-hide-chrome #mobile_app_bar {
    display: none !important;
}

/* Inner / account mobile screens (chat, orders, notifications, profile): hide marketing footer */
@media (max-width: 1199.98px) {
    body.msd-hide-bottom-bar footer.footer,
    body.msd-hide-bottom-bar .back-to-top {
        display: none !important;
    }
}

body.pay-qr-page.checkout-hide-chrome .msd-mobile-top,
body.pay-qr-page.checkout-hide-chrome .msd-mobile-bottom,
body.pay-qr-page.checkout-hide-chrome #mobile_app_bar {
    display: none !important;
}

/* —— Home slide window (prototype: #mobileCategoryMenu) ——
   Button on home opens backdrop + right-slide, covering top/bottom chrome.
   Panel is moved to document.body so it is not clipped by .container. */
.msd-slide-window.offcanvas {
    --bs-offcanvas-width: 100%;
    --bs-offcanvas-border-width: 0;
    --bs-offcanvas-box-shadow: none;
    z-index: 1080;
    top: 0;
    right: 0;
    left: auto;
    width: 100%;
    height: 100%;
    height: 100dvh;
    max-width: 100%;
    background: #fff;
}
body.msd-slide-window-open {
    overflow: hidden;
}
body.msd-slide-window-open .offcanvas-backdrop {
    z-index: 1070;
    opacity: 1;
    background-color: rgba(13, 62, 62, 0.35);
}
.msd-slide-window .offcanvas-body {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
}
.msd-slide-window .msd-home-exit {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    height: 100%;
}
.msd-slide-window .msd-home-exit__body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.msd-slide-window .offcanvas-body .input-group {
    border: 1px solid #B6B8BA;
    border-radius: 16px;
    overflow: hidden;
}
.msd-slide-window .offcanvas-body .form-control,
.msd-slide-window .offcanvas-body .btn-ai-search-wrapper {
    border: none;
    background: transparent;
}
.msd-slide-window .offcanvas-body .form-control {
    min-height: 40px;
}
.msd-slide-window .category-item-mobile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #43615F;
    cursor: pointer;
}
.msd-slide-window .category-item-mobile .icon-box {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
}
.msd-slide-window .category-item-mobile img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.msd-slide-window .category-item-mobile.selected .remove-indicator {
    display: block;
}
.msd-slide-window .remove-indicator {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #fff;
    color: #000;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    line-height: 16px;
    display: none;
}

/* T2 search slide — ThaiMart 307056 */
.msd-search-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    background: #fff;
}
.msd-search-slide__bar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    padding-top: calc(0.5rem + env(safe-area-inset-top, 0px));
    border-bottom: 1px solid #ececec;
    background: #fff;
}
.msd-search-slide__back {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    background: transparent;
    color: #212529;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
}
.msd-search-slide__form {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
}
.msd-search-slide__input {
    height: 2.35rem;
    border: 1px solid #d0d0d0;
    border-radius: 999px;
    padding-inline: 0.9rem 2.1rem;
    font-size: 0.95rem;
}
.msd-search-slide__input:focus {
    border-color: #adb5bd;
    box-shadow: none;
}
.msd-search-slide__clear-q {
    position: absolute;
    inset-inline-end: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #adb5bd;
    width: 1.75rem;
    height: 1.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}
.msd-search-slide__recent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.7rem 1rem;
    background: #f4f4f4;
    font-weight: 600;
    font-size: 0.95rem;
}
.msd-search-slide__recent-clear {
    border: 0;
    background: transparent;
    font-weight: 400;
    font-size: 0.95rem;
    color: #212529;
    cursor: pointer;
    padding: 0;
}
.msd-search-slide__recent-list {
    padding: 0;
}
.msd-search-slide__recent-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    border: 0;
    background: transparent;
    text-align: start;
    padding: 0.85rem 1rem;
    font-size: 0.95rem;
    color: #212529;
    cursor: pointer;
}
.msd-search-slide__recent-item i {
    color: #6c757d;
    font-size: 1.05rem;
}
.msd-search-slide__recent-empty {
    padding: 1rem;
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

/* —— Home-exit shell (HOME-SHELL-0): chrome first, body later —— */
@keyframes msd-skel-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}
.msd-skel {
    background: linear-gradient(90deg, #ececec 25%, #f6f6f6 37%, #ececec 63%);
    background-size: 400% 100%;
    animation: msd-skel-shimmer 1.2s ease-in-out infinite;
    border-radius: 8px;
}
.msd-home-exit__back {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 1rem;
    cursor: pointer;
}
.msd-home-exit__chrome {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-height: 2.5rem;
    margin: 0 0 0.35rem;
}
.msd-slide-window .msd-home-exit__chrome .msd-home-exit__back {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    min-height: 2.5rem;
}
.msd-home-exit__title {
    margin: 0.75rem 0 0.5rem;
    font-size: 1.15rem;
    font-weight: 700;
}
.msd-slide-window .msd-home-exit__chrome .msd-home-exit__title {
    position: absolute;
    inset-inline: 0;
    margin: 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 2.5rem;
    pointer-events: none;
    padding-inline: 4.75rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msd-home-exit__error {
    margin: 1rem 0;
    color: #6c757d;
    font-size: 0.9rem;
}
.msd-home-exit--page {
    padding: 0.75rem;
}
.msd-home-exit__body.category-grid-mobile {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 10px;
}
.msd-home-exit-skel--icon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 10px;
}
.msd-home-exit-skel__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.msd-home-exit-skel__icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.msd-home-exit-skel__caption {
    width: 72%;
    height: 10px;
}
.msd-home-exit-skel--product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 8px;
}
.msd-home-exit-skel__card {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.msd-home-exit-skel__thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}
.msd-home-exit-skel__line {
    height: 10px;
    width: 100%;
}
.msd-home-exit-skel__line--short {
    width: 55%;
}
.msd-home-exit-skel--list-row {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 8px;
}
.msd-home-exit-skel__row {
    display: flex;
    gap: 12px;
    align-items: center;
}
.msd-home-exit-skel__row-thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    flex-shrink: 0;
}
.msd-home-exit-skel__row-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.msd-home-exit__body.is-loading {
    opacity: 0.65;
    pointer-events: none;
}
.msd-home-shell-empty {
    text-align: center;
    padding: 2.5rem 1rem;
    color: #6c757d;
}
.msd-home-shell-empty i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.75rem;
}
.msd-home-shell-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 4.5rem;
}
.msd-home-shell-shop__name {
    font-size: 0.9rem;
    margin: 0.25rem 0 0.5rem;
}
.msd-home-shell-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    color: inherit;
    text-decoration: none;
}
.msd-home-shell-row--link:active {
    background: #f7f7f7;
}
.msd-home-shell-row__thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f3f3f3;
}
.msd-home-shell-row__thumb--round {
    border-radius: 50%;
}
.msd-home-shell-row__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.msd-home-shell-row__body {
    flex: 1 1 auto;
    min-width: 0;
}
.msd-home-shell-row__title {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 600;
}
.msd-home-shell-row__meta {
    font-size: 0.8rem;
    color: #6c757d;
    display: flex;
    gap: 8px;
}
.msd-home-shell-row__time {
    font-size: 0.7rem;
    color: #9aa0a6;
    white-space: nowrap;
}
.msd-home-shell-cta {
    position: sticky;
    bottom: 0;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
}
.msd-home-shell-tabs {
    margin: 0 0 12px;
}
.msd-home-shell-profile__head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 1rem;
}
.msd-home-shell-profile__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.msd-home-shell-profile__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.msd-home-shell-profile__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 1rem;
    text-align: center;
}
.msd-home-shell-profile__stats strong {
    display: block;
    font-size: 1rem;
}
.msd-home-shell-profile__stats span {
    font-size: 0.75rem;
    color: #6c757d;
}
.msd-home-shell-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    color: inherit;
    text-decoration: none;
}

/* PROFILE-HUB: ThaiMart body cards · Meesukdee tokens */
.msd-home-shell-profile,
.msd-profile-aside-hub,
.msd-profile-account,
.msd-profile-notify {
    --msd-accent: var(--bs-primary);
    --msd-accent-hover: var(--primary-dark, var(--bs-primary));
    --msd-accent-soft: var(--primary-light, #fff8f6);
    --msd-page-bg: #f5f5f5;
}
.msd-slide-window .msd-home-exit__body:has(.msd-home-shell-profile) {
    background: var(--msd-page-bg, #f5f5f5);
    margin-left: -1rem;
    margin-right: -1rem;
    padding-bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
}
.msd-home-shell-profile__keep {
    background: #fff;
    padding: 4px 1rem 1.15rem;
}
.msd-home-shell-profile__keep .msd-home-shell-profile__stats {
    margin-bottom: 0;
    padding-top: 4px;
}
.msd-home-shell-profile__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}
.msd-home-shell-profile__joined {
    font-size: 0.78rem;
    color: #8a8a8a;
}
.msd-home-shell-profile__stats strong {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111;
}
.msd-home-shell-profile__body {
    padding: 14px 12px 8px;
}
.msd-profile-hub-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.msd-profile-aside-hub .msd-profile-hub-nav {
    padding: 12px 0 0;
}
.msd-profile-aside-hub .card-body {
    background: var(--msd-page-bg, #f5f5f5);
    border-radius: inherit;
}
.msd-profile-hub-section {
    margin-bottom: 0;
}
.msd-profile-hub-section__title {
    margin: 0;
    padding: 14px 16px 6px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
}
.msd-profile-hub-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.msd-profile-hub-order-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px 16px;
}
.msd-profile-hub-order-grid__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    text-decoration: none;
    color: #212529;
    min-width: 0;
}
.msd-profile-hub-order-grid__item.is-active .msd-profile-hub-order-grid__icon,
.msd-profile-hub-row.is-active {
    color: var(--msd-accent, var(--bs-primary));
}
.msd-profile-hub-order-grid__icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.4rem;
    color: #212529;
}
.msd-profile-hub-order-grid__badge {
    position: absolute;
    top: -4px;
    right: -8px;
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 4px;
    border-radius: 999px;
    background: #c62828;
    color: #fff;
    font-size: 0.65rem;
    line-height: 1.1rem;
    font-weight: 600;
}
.msd-profile-hub-order-grid__label {
    font-size: 0.72rem;
    line-height: 1.3;
    color: #555;
}
.msd-profile-hub-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    color: #212529;
    text-decoration: none;
    border-top: 1px solid #f0f0f0;
    font-size: 0.92rem;
}
.msd-profile-hub-row:last-child {
    border-bottom: 0;
}
.msd-profile-hub-row > .bi:first-child {
    font-size: 1.15rem;
    color: #333;
    width: 1.25rem;
    text-align: center;
    flex-shrink: 0;
}
.msd-profile-hub-row span {
    flex: 1 1 auto;
    min-width: 0;
}
.msd-profile-hub-row__chevron {
    color: #c5c5c5;
    font-size: 0.85rem;
    flex-shrink: 0;
}
.msd-profile-hub-row--soon {
    cursor: default;
    color: #212529;
}
.msd-profile-hub-row--contact span {
    color: var(--msd-accent, var(--bs-primary));
    word-break: break-word;
}
.msd-profile-hub-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 12px 14px;
    padding: 11px 12px;
    border-radius: 12px;
    background: #06c755;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}
.msd-profile-hub-line .bi {
    font-size: 1.2rem;
}
.msd-profile-hub-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 4px 0 8px;
    padding: 13px 16px;
    border-radius: 16px;
    background: #e53935;
    color: #fff !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}
.msd-profile-hub-version {
    margin: 0 0 4px;
    text-align: center;
    font-size: 0.75rem;
    color: #9a9a9a;
}
.msd-profile-account__key {
    flex: 0 0 7.5rem;
    color: #555;
}
.msd-profile-account__val {
    text-align: end;
    color: #111;
}
.msd-profile-account__val.is-empty {
    color: #9a9a9a;
}
.msd-profile-account__label {
    display: block;
    padding: 14px 16px 6px;
    font-size: 0.85rem;
    color: #555;
}
.msd-profile-account .form-control {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    border-color: var(--msd-accent, var(--bs-primary));
}
.msd-profile-account__save {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
    padding: 13px 16px;
    border: 0;
    border-radius: 16px;
    background: var(--msd-accent, var(--bs-primary));
    color: #fff;
    font-weight: 600;
}
.msd-profile-account__delete {
    display: block;
    margin: 2rem 0 0;
    text-align: center;
    color: #9a9a9a;
    text-decoration: none;
}
.msd-profile-notify__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    margin: 0;
    cursor: pointer;
}
.msd-profile-notify__row strong {
    display: block;
    font-size: 0.95rem;
    color: #111;
}
.msd-profile-notify__row small {
    display: block;
    margin-top: 4px;
    color: #8a8a8a;
    font-size: 0.8rem;
    line-height: 1.35;
}
.msd-profile-notify__switch {
    flex-shrink: 0;
    width: 2.4rem;
    height: 1.3rem;
    appearance: none;
    background: #ddd;
    border-radius: 999px;
    position: relative;
    cursor: pointer;
}
.msd-profile-notify__switch::after {
    content: "";
    position: absolute;
    top: 0.12rem;
    inset-inline-start: 0.12rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 50%;
    background: #fff;
    transition: inset-inline-start 0.15s ease;
}
.msd-profile-notify__switch:checked {
    background: var(--msd-accent, var(--bs-primary));
}
.msd-profile-notify__switch:checked::after {
    inset-inline-start: 1.15rem;
}

@media (max-width: 991.98px) {
    body.cart-hide-chrome .header,
    body.cart-hide-chrome .offer-bar,
    body.cart-hide-chrome footer.footer,
    body.cart-hide-chrome .back-to-top {
        display: none !important;
    }
}

/* —— OP-3 Orders mobile (Thaimart my-order ref) —— */
body.orders-mobile-ref .msd-orders-page {
    padding-top: 0;
    background: #f5f5f5;
    min-height: 60vh;
}
@media (max-width: 1199.98px) {
    /* Sticky tab inside a column flex box is pulled over the first card by its top offset. */
    body.orders-mobile-ref .msd-orders-page {
        display: block;
    }
    body.orders-mobile-ref .row > .col-lg-3:has(.profile-sidebar-sticky) {
        display: none !important;
    }
    body.orders-mobile-ref .msd-orders-page > .container {
        max-width: 100%;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    body.orders-mobile-ref .msd-orders-page .col-lg-9 {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }
}
.msd-orders-tabs {
    background: #fff;
    border-bottom: 1px solid #ececec;
}
@media (max-width: 1199.98px) {
    .msd-orders-tabs:not(.msd-orders-tabs--desktop) {
        position: sticky;
        top: calc(3.25rem + env(safe-area-inset-top, 0px));
        z-index: 1010;
        margin-bottom: 0.75rem;
    }
    /* Home-shell body is the scrollport (no inner top bar) — a non-zero top overlaps the first card. */
    .msd-home-exit__body .msd-orders-tabs:not(.msd-orders-tabs--desktop) {
        top: 0;
        z-index: 5;
    }
}
.msd-orders-tabs__scroll {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0 0.5rem;
}
.msd-orders-tabs__scroll::-webkit-scrollbar {
    display: none;
}
.msd-orders-tabs__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.75rem 0.65rem 0.65rem;
    color: #212529;
    text-decoration: none;
    font-size: 0.9rem;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
}
.msd-orders-tabs__item.is-active {
    color: var(--bs-primary);
    font-weight: 600;
    border-bottom-color: var(--bs-primary);
}
.msd-orders-tabs__badge {
    min-width: 1.1rem;
    height: 1.1rem;
    padding: 0 0.3rem;
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    font-size: 0.7rem;
    line-height: 1.1rem;
    text-align: center;
}
.msd-orders-tabs--desktop .msd-orders-tabs__scroll {
    padding: 0;
    border-bottom: 1px solid #ececec;
}
.msd-order-card {
    background: #fff;
    border-radius: 0.65rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}
.msd-order-card__link {
    display: block;
    padding: 0.85rem 0.9rem 0.65rem;
}
.msd-order-card__shop {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.msd-order-card__shop-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}
.msd-order-card__shop-avatar {
    flex: 0 0 1.75rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    overflow: hidden;
    background: #eee;
}
.msd-order-card__shop-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.msd-order-card__shop-name {
    font-weight: 600;
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.msd-order-card__status {
    flex: 0 0 auto;
    font-size: 0.75rem;
    color: #6c757d;
    background: #f1f3f5;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}
.msd-order-card__status.is-success {
    color: #198754;
    background: #e8f6ee;
}
.msd-order-done {
    display: flex;
    gap: 0.5rem;
}
.msd-order-done--row {
    margin: 0 0.9rem 0.9rem;
}
.msd-order-done--stack {
    flex-direction: column;
    margin-top: 0.75rem;
}
.msd-order-done--stack .msd-order-done__again {
    order: 1;
}
.msd-order-done--stack .msd-order-done__report {
    order: 2;
}
.msd-order-done__report,
.msd-order-done__again {
    flex: 1 1 0;
    text-align: center;
    padding: 0.6rem 0.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    line-height: 1.3;
}
.msd-order-done__report {
    border: 1px solid #dee2e6;
    background: #fff;
    color: #212529;
}
.msd-order-done--row .msd-order-done__again {
    flex: 1.15 1 0;
}
.msd-order-done__again {
    border: 0;
    background: var(--bs-primary);
    color: #fff;
}
.msd-order-card__item {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}
.msd-order-card__thumb {
    flex: 0 0 3.5rem;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.4rem;
    overflow: hidden;
    background: #f3f3f3;
}
.msd-order-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.msd-order-card__item-body {
    flex: 1 1 auto;
    min-width: 0;
}
.msd-order-card__item-title {
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.msd-order-card__item-meta {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #495057;
}
.msd-order-card__qty {
    color: #868e96;
}
.msd-order-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.55rem;
    border-top: 1px solid #f0f0f0;
    font-size: 0.85rem;
    color: #495057;
}
.msd-order-card__footer strong {
    color: #212529;
    font-size: 0.95rem;
}
.msd-order-card__countdown {
    margin: 0 0.9rem 0.55rem;
    padding: 0.45rem 0.65rem;
    border-radius: 0.4rem;
    background: rgba(var(--bs-primary-rgb), 0.08);
    color: var(--bs-primary);
    font-size: 0.8rem;
    text-align: center;
}
.msd-order-card__pay-btn {
    display: block;
    margin: 0 0.9rem 0.9rem;
    text-align: center;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    background: var(--bs-primary);
    color: #fff !important;
    font-weight: 600;
    text-decoration: none;
}
.msd-orders-empty {
    padding: 4rem 1rem;
}
.msd-orders-empty__icon {
    font-size: 3rem;
    color: #ced4da;
    display: block;
    margin-bottom: 0.75rem;
}
.msd-orders-empty__text {
    color: #adb5bd;
    font-size: 0.95rem;
}

/* —— Notifications mobile (Thaimart notification ref) —— */
body.notifications-mobile-ref .msd-notifications-page {
    background: #f5f5f5;
    min-height: 60vh;
    padding-top: 0.75rem;
    padding-bottom: 1.5rem;
}
body.notifications-mobile-ref .msd-notifications-page__inner {
    max-width: 40rem;
}
.msd-notifications-empty {
    padding: 5rem 1rem;
}
.msd-notifications-empty__icon {
    font-size: 3rem;
    color: #ced4da;
    display: block;
    margin-bottom: 0.75rem;
}
.msd-notifications-empty__text {
    color: #adb5bd;
    font-size: 0.95rem;
}
.msd-notifications-group__label {
    margin: 0 0 0.5rem;
    padding: 0 0.15rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #9aa0a6;
}
.msd-notifications-card {
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}
.msd-notification-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.95rem 1rem;
    border-bottom: 1px solid #f0f0f0;
}
.msd-notification-item:last-child {
    border-bottom: 0;
}
.msd-notification-item__icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #f1f3f5;
    color: #adb5bd;
    display: grid;
    place-items: center;
    overflow: hidden;
}
.msd-notification-item__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.msd-notification-item__icon i {
    font-size: 1.1rem;
}
.msd-notification-item__icon.is-success {
    background: #e8f6ee;
    color: #198754;
}
.msd-notification-item__icon.is-warning {
    background: #fff4e5;
    color: #e8590c;
}
.msd-notification-item__icon.is-info {
    background: #e7f1ff;
    color: #0d6efd;
}
.msd-notification-item__body {
    flex: 1 1 auto;
    min-width: 0;
}
.msd-notification-item__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.25rem;
}
.msd-notification-item__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #212529;
    line-height: 1.35;
}
.msd-notification-item.is-unread .msd-notification-item__title {
    font-weight: 700;
}
.msd-notification-item__time {
    flex: 0 0 auto;
    font-size: 0.8rem;
    color: #adb5bd;
    line-height: 1.35;
}
.msd-notification-item__desc {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #868e96;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.msd-order-ship__banner {
    background: #e8f4fc;
    border-radius: 12px 12px 0 0;
    padding: 14px 16px;
}
.msd-order-ship.is-delivered .msd-order-ship__banner {
    background: #e8f6ee;
}
.msd-order-ship.is-delivered .msd-order-ship__banner-title,
.msd-order-ship.is-delivered .msd-order-ship__banner-sub {
    color: #198754;
}
.msd-order-ship__banner-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #1a1a1a;
}
.msd-order-ship__banner-sub {
    font-size: 0.8rem;
    color: #5a6570;
}
.msd-order-ship__card {
    background: #fff;
    border: 1px solid #ececec;
    border-top: 0;
    border-radius: 0 0 12px 12px;
    padding: 14px 16px 16px;
}
.msd-order-ship__head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 12px;
}
.msd-order-ship__label {
    display: block;
    font-size: 0.75rem;
    color: #8a8f94;
    margin-bottom: 4px;
}
.msd-order-ship__tracking {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
}
.msd-order-ship__tracking-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.msd-order-ship__code {
    color: var(--bs-primary);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
a.msd-order-ship__code {
    text-decoration: underline;
}
.msd-order-ship__copy {
    border: 0;
    background: transparent;
    color: #6c757d;
    padding: 0;
    line-height: 1;
}
.msd-order-ship__pending {
    font-size: 0.85rem;
    color: #6c757d;
}
.msd-order-ship__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.msd-order-ship__meta strong {
    display: block;
    font-size: 0.9rem;
}
.msd-order-ship__logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}

/* Home stack: header → AI search → banner (all viewports) */
.msd-home-stack {
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
}
.msd-home-stack .ai-search-section {
    margin: 0;
    padding: 0;
}
.msd-home-stack .ai-search-section .ai-search-wrapper {
    min-height: 0;
}
/* Mobile + tablet: use header search only — CMS home.ai_search stays on for desktop */
@media (max-width: 991.98px) {
    .msd-home-ai-search,
    .msd-home-stack .ai-search-section {
        display: none !important;
    }
}
.msd-home-stack > .banner {
    margin-top: 0;
    padding-top: 0;
}
.msd-home-stack .brands-section {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
@media (min-width: 576px) {
    /* Half of live 64px gaps (was my-sm-5 48px + stack 16px) */
    .msd-home-stack {
        gap: 2rem;
        padding-top: 2rem;
        padding-bottom: 1rem;
    }
}
#ai-matching-home:empty {
    display: none;
    min-height: 0;
    padding: 0;
    margin: 0;
}
.msd-ai-matching-slot:has(#ai-matching-home:empty) {
    display: none;
}

/* Footer trust badges — payment vs shipping same visual weight (CONTACT-FOOTER-BADGES) */
.footer .payment-methods img,
.footer .payment-methods img:nth-child(1),
.footer .shipping-methods img,
.footer .payment-methods img.msd-footer-badge,
.footer .shipping-methods img.msd-footer-badge {
    width: auto;
    max-width: 5.5rem;
    height: 2.75rem;
    inline-size: auto;
    block-size: 2.75rem;
    object-fit: contain;
    object-position: center;
    display: block;
}
@media (min-width: 768px) {
    .footer .payment-methods img,
    .footer .payment-methods img:nth-child(1),
    .footer .shipping-methods img,
    .footer .payment-methods img.msd-footer-badge,
    .footer .shipping-methods img.msd-footer-badge {
        max-width: 6.25rem;
        height: 3.25rem;
        block-size: 3.25rem;
    }
}

/* CONTACT-FOOTER-COMPACT-1 — mobile + tablet: badges + copyright only */
@media (max-width: 991.98px) {
    .footer .footer-bg-img > .container {
        padding-top: 1.25rem !important;
        padding-bottom: 0.75rem !important;
    }
    .footer .footer-main {
        --bs-gutter-y: 1.25rem;
    }
    .footer .msd-footer-trust {
        width: 100%;
        max-width: 100%;
    }
    .footer .msd-footer-badge-row {
        width: 100%;
        justify-content: flex-start;
        gap: 0.875rem 1.25rem;
    }
    .footer .payment-methods img,
    .footer .payment-methods img:nth-child(1),
    .footer .shipping-methods img,
    .footer .payment-methods img.msd-footer-badge,
    .footer .shipping-methods img.msd-footer-badge {
        max-width: min(42vw, 9.5rem);
        height: 3.75rem;
        block-size: 3.75rem;
    }
}

/* Home vendor-apply card (HOME-VEND) */
.msd-home-stack > .msd-vendor-apply {
    flex: none;
    width: 100%;
}
.msd-vendor-apply {
    --msd-accent: var(--bs-primary);
    --msd-accent-soft: var(--primary-light);
}
.msd-vendor-apply__card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 4.5rem;
    padding: 0.75rem 0.875rem;
    border-radius: 1rem;
    background: var(--msd-accent-soft);
    border: 1px solid rgba(var(--bs-primary-rgb), 0.18);
    box-shadow: 0 2px 10px rgba(var(--bs-primary-rgb), 0.12);
    text-decoration: none;
    color: inherit;
}
.msd-vendor-apply__card:hover,
.msd-vendor-apply__card:focus {
    color: inherit;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(var(--bs-primary-rgb), 0.18);
}
.msd-vendor-apply__icon {
    flex: 0 0 2.5rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--bs-primary);
    font-size: 1.15rem;
}
.msd-vendor-apply__text {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}
.msd-vendor-apply__title {
    font-weight: 600;
    font-size: 0.9375rem;
    line-height: 1.3;
}
.msd-vendor-apply__subtitle {
    font-size: 0.75rem;
    line-height: 1.35;
    color: #6c757d;
}
.msd-vendor-apply__cta {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bs-primary);
    white-space: nowrap;
}

/* Home recommended grid (HOME-REC-1) */
.msd-home-rec__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.msd-home-rec__heading {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 700;
    color: #111;
}
.msd-home-rec__views {
    display: flex;
    gap: 0.2rem;
}
.msd-home-rec__view {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #6c757d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.msd-home-rec__view[aria-pressed="true"] {
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
}
.msd-home-rec__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}
@media (min-width: 992px) {
    .msd-home-rec[data-view="grid"] .msd-home-rec__list {
        grid-template-columns: repeat(4, 1fr);
    }
}
.msd-home-rec[data-view="list"] .msd-home-rec__list {
    grid-template-columns: 1fr;
}
.msd-home-rec__card {
    background: #fff;
    border: 1px solid #eeeeee;
    border-radius: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}
.msd-home-rec[data-view="list"] .msd-home-rec__card {
    flex-direction: row;
    align-items: stretch;
    height: auto;
}
.msd-home-rec__media-wrap {
    position: relative;
}
.msd-home-rec__media {
    display: block;
    aspect-ratio: 1;
    background: #f6f6f6;
    overflow: hidden;
}
.msd-home-rec[data-view="list"] .msd-home-rec__media-wrap,
.msd-home-rec[data-view="list"] .msd-home-rec__media {
    flex: 0 0 6.5rem;
    width: 6.5rem;
    aspect-ratio: 1;
}
.msd-home-rec__card.has-actions .product__actions {
    position: absolute;
    inset-inline-end: 0.4rem;
    inset-block-start: 0.4rem;
    z-index: 3;
    transform: none;
}
.msd-home-rec__card.has-actions .product__actions a {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.msd-home-rec__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.msd-home-rec__meta {
    padding: 0.5rem 0.6rem 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1 1 auto;
    min-width: 0;
}
.msd-home-rec__name {
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #111;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-decoration: none;
}
.msd-home-rec__name:hover,
.msd-home-rec__name:focus {
    color: #111;
    text-decoration: none;
}
.msd-home-rec__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.4rem;
    margin-top: auto;
}
.msd-home-rec__price {
    font-weight: 700;
    color: var(--bs-primary);
    font-size: 0.9rem;
    min-width: 0;
}
.msd-home-rec__cart {
    flex: 0 0 auto;
    width: 1.85rem;
    height: 1.85rem;
    border: 0;
    border-radius: 999px;
    background: var(--bs-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-decoration: none;
}
.msd-home-rec__cart:hover,
.msd-home-rec__cart:focus {
    color: #fff;
    text-decoration: none;
}
.msd-home-rec__cart.is-disabled,
.msd-home-rec__cart:disabled {
    background: #ced4da;
    color: #fff;
    cursor: not-allowed;
}
.msd-home-rec__more {
    height: 1px;
}
.msd-home-rec.is-loading .msd-home-rec__more {
    height: 2rem;
}

.msd-cat-toolbar .card-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.msd-cat-toolbar__title {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.25rem;
    color: #111;
}
.msd-cat-toolbar__desc {
    margin: 0.4rem 0 0;
    color: #555;
    font-size: 0.875rem;
    line-height: 1.5;
}
.msd-cat-toolbar__code {
    margin: 0.15rem 0 0;
    color: #666;
    font-size: 0.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.msd-cat-toolbar__tools {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.msd-cat-toolbar__search {
    width: 100%;
}
.msd-cat-toolbar__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.msd-cat-toolbar__chip {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    padding: 0.35rem 0.75rem;
    background: #fff;
    min-width: 0;
    flex: 1 1 10rem;
}
.msd-cat-toolbar__chip-label {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: #666;
    font-size: 0.75rem;
    white-space: nowrap;
}
.msd-cat-toolbar__chip-btn {
    border: 0;
    background: transparent;
    color: #111;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0;
    min-width: 0;
}
.msd-cat-brands__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.6rem;
    color: #111;
}
.msd-cat-brands__row {
    display: flex;
    gap: 0.85rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    -webkit-overflow-scrolling: touch;
}
.msd-cat-brands__item {
    flex: 0 0 auto;
    width: 4.25rem;
    text-align: center;
    text-decoration: none;
    color: #333;
}
.msd-cat-brands__item:hover,
.msd-cat-brands__item:focus {
    color: var(--bs-primary);
    text-decoration: none;
}
.msd-cat-brands__logo {
    display: flex;
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.3rem;
    border-radius: 999px;
    border: 1px solid #eee;
    background: #fff;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.msd-cat-brands__logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.msd-cat-brands__name {
    display: block;
    font-size: 0.7rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (min-width: 992px) {
    .msd-cat-toolbar__title {
        font-size: 1.6rem;
    }
    .msd-cat-toolbar__chip {
        flex: 0 1 auto;
    }
}

.btn-line-login {
    background: #06c755;
    border-color: #06c755;
    color: #fff;
}
.btn-line-login:hover,
.btn-line-login:focus {
    background: #05b34c;
    border-color: #05b34c;
    color: #fff;
}
body.vendor-register-hide-chrome {
    --bs-primary: var(--title-primary-color);
}
body.vendor-register-hide-chrome .vendor-wizard-welcome {
    max-width: 32rem;
    margin: 0 auto;
    --msd-accent: var(--bs-primary);
}
body.vendor-register-hide-chrome .vendor-wizard-banner {
    width: 100%;
    overflow: hidden;
    background: var(--primary-light, #f3f8f6);
}
body.vendor-register-hide-chrome .vendor-wizard-banner img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 14rem;
    object-fit: contain;
    background: var(--primary-light, #f3f8f6);
}
body.vendor-register-hide-chrome .vendor-wizard-welcome .btn-primary {
    min-height: 48px;
    border-radius: 999px;
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
body.vendor-register-hide-chrome .vendor-wizard-progress-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-primary);
}
body.vendor-register-hide-chrome .vendor-wizard-stepper {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
    list-style: none;
    padding: 0;
    margin: 0 auto 1rem;
    max-width: 22rem;
}
body.vendor-register-hide-chrome .vendor-wizard-stepper li {
    position: relative;
    flex: 1 1 0;
    display: flex;
    justify-content: center;
}
body.vendor-register-hide-chrome .vendor-wizard-stepper li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(50% + 0.7rem);
    right: calc(-50% + 0.7rem);
    height: 2px;
    background: #e5e5e5;
}
body.vendor-register-hide-chrome .vendor-wizard-stepper li.is-done:not(:last-child)::after {
    background: var(--bs-primary);
}
body.vendor-register-hide-chrome .vendor-wizard-stepper__dot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    border: 2px solid #e5e5e5;
    background: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    color: #6c757d;
}
body.vendor-register-hide-chrome .vendor-wizard-stepper li.is-active .vendor-wizard-stepper__dot {
    background: #fff;
    border-color: var(--bs-primary);
    border-width: 3px;
    color: var(--bs-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--bs-primary) 18%, #fff);
}
body.vendor-register-hide-chrome .vendor-wizard-stepper li.is-done .vendor-wizard-stepper__dot {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: transparent;
    font-size: 0;
}
body.vendor-register-hide-chrome .vendor-wizard-stepper li.is-done .vendor-wizard-stepper__dot::after {
    content: "";
    width: 0.42rem;
    height: 0.22rem;
    margin-top: -0.1rem;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
@supports (color: color-mix(in srgb, black, white)) {
    body.vendor-register-hide-chrome {
        --bs-primary: color-mix(in srgb, var(--title-primary-color, #0F3F3F) 76%, #fff);
    }
}
.vendor-account-register .btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
}
.vendor-account-register .vendor-auth-logo {
    width: min(72vw, 240px);
    max-width: 100%;
    height: auto;
}
.vendor-account-register .vendor-social-auth .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    background: #fff;
    color: var(--bs-body-color, #212529);
}
.vendor-account-register .vendor-line-login,
.vendor-account-register .vendor-google-login {
    background: #fff;
    color: var(--bs-body-color, #212529);
}
.vendor-account-register .vendor-line-login:hover,
.vendor-account-register .vendor-line-login:focus,
.vendor-account-register .vendor-google-login:hover,
.vendor-account-register .vendor-google-login:focus {
    background: #f8f9fa;
    color: var(--bs-body-color, #212529);
}

.msd-shop-dir {
    --msd-accent: var(--bs-primary);
}
.msd-shop-dir__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.85rem 0.6rem;
    border-radius: 0.75rem;
    border: 1px solid #eee;
    background: #fff;
    color: inherit;
    text-decoration: none;
}
.msd-shop-dir__card:hover,
.msd-shop-dir__card:focus {
    color: inherit;
    text-decoration: none;
    border-color: var(--msd-accent);
}
.msd-shop-dir__logo {
    background: var(--msd-page-bg, #f5f5f5);
}
.msd-shop-dir__name {
    margin: 0;
    color: var(--bs-primary);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.msd-shop-dir__code,
.msd-shop-dir__count {
    margin: 0;
    color: #666;
    font-size: 0.75rem;
    text-align: center;
}
.msd-shop-dir__code {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

/* Customer auth sheet — fullscreen modal, seller-style social row */
.modal.msd-customer-auth-modal .modal-dialog.msd-customer-auth-dialog {
    max-width: none;
    width: 100%;
    height: 100%;
    margin: 0;
}
.msd-customer-auth-sheet {
    min-height: 100%;
    min-height: 100dvh;
    border: 0;
    border-radius: 0;
    background: #fff;
    overflow-y: auto;
}
.msd-customer-auth-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin: env(safe-area-inset-top, 0) 0 0 0.25rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--bs-body-color, #212529);
    font-size: 1.35rem;
    line-height: 1;
}
.msd-customer-auth-body {
    width: min(100%, 26rem);
    margin-inline: auto;
    padding: 0 1.5rem 2rem;
}
.msd-customer-auth-brand {
    margin-bottom: 1.5rem;
}
.msd-customer-auth-logo {
    display: block;
    width: min(72vw, 200px);
    height: auto;
    margin: 0 auto 1rem;
}
.msd-customer-auth-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bs-body-color, #212529);
}
.msd-customer-auth-sheet .form-control {
    min-height: 48px;
    border-radius: 999px;
}
.msd-customer-auth-sheet .row > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}
.msd-customer-auth-submit {
    min-height: 48px;
    border-radius: 999px;
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}
.msd-customer-auth-submit:hover,
.msd-customer-auth-submit:focus {
    background-color: var(--primary-dark, var(--bs-primary));
    border-color: var(--primary-dark, var(--bs-primary));
}
.msd-customer-auth-or {
    margin: 0.25rem 0 0.75rem;
    text-align: center;
    color: #6c757d;
    font-size: 0.8125rem;
}
.msd-customer-auth-social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.msd-customer-auth-social__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 48px;
    border-radius: 999px;
    border: 1px solid #dee2e6;
    background: #fff;
    color: var(--bs-body-color, #212529);
    font-size: 0.875rem;
}
.msd-customer-auth-social__btn img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
}
.msd-customer-auth-social__btn:hover,
.msd-customer-auth-social__btn:focus {
    background: #fff;
    color: var(--bs-body-color, #212529);
    border-color: #ced4da;
}

