
/* MOW standard menu image sizing */
#vue-merchant-menu .item-image-preview > .el-image {
    width: 100% !important;
    height: 120px !important;
}

#vue-merchant-menu .item-image-preview .el-image__inner {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* MOW4U - Fixed menu thumbnail dimensions */
#vue-merchant-menu .borderx > .el-image {
    width: 120px !important;
    min-width: 120px !important;
    height: 120px !important;
}

#vue-merchant-menu .borderx > .el-image .el-image__inner {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* MOW4U - Rounded menu thumbnails */
#vue-merchant-menu .borderx > .el-image {
    border-radius: 6px !important;
    overflow: hidden;
}

/* MOW4U branded primary buttons */
.el-button.mow-primary,
.el-button.mow-primary:hover,
.el-button.mow-primary:focus {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

.el-button.mow-primary.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* MOW4U - Homepage search button */
#main-search-banner button.btn-green {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
    border-radius: 8px;
}

#main-search-banner button.btn-green:hover {
    background-color: #E84D14 !important;
    border-color: #E84D14 !important;
}

/* MOW4U - Orange Checkout and Place Order buttons */
.section-cart .btn-green:not(:disabled):not(.disabled) {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
    border-radius: 8px;
}

.section-cart .btn-green:not(:disabled):not(.disabled):hover {
    background-color: #E84D14 !important;
    border-color: #E84D14 !important;
}

/* Preserve disabled state */
.section-cart .btn-green:disabled,
.section-cart .btn-green.disabled,
.section-cart .btn-green[disabled] {
    background-color: #B2B2B2 !important;
    border-color: #B2B2B2 !important;
    color: #FFFFFF !important;
    cursor: not-allowed;
}

/* MOW4U - Restaurant header promotion link */
.merchant-top-header a.text-green,
.merchant-top-header a.text-green:hover,
.merchant-top-header a.text-green:focus {
    color: #FF5A1F !important;
}

/* MOW4U - Orange category navigation */
.menu-category a:hover,
.siderbar-menu li.active a,
#menu-category .col a.active,
.menu-carousel a.active,
.menu-carousel a:hover {
    color: #FF5A1F !important;
}

/* MOW4U - Orange Back to Menu */
#vue-checkout-back a.back-arrow,
#vue-checkout-back a.back-arrow:hover,
#vue-checkout-back a.back-arrow:focus {
    color: #FF5A1F !important;
}

/* MOW4U - Restaurant category navigation */
.category-carousel .nav-link.active,
.category-owlcarousel .nav-link.active,
.category-carousel .nav-link:hover,
.category-owlcarousel .nav-link:hover {
    color: #FF5A1F !important;
}

/* Orange underline for selected category */
.category-carousel .nav-link.active:after,
.category-owlcarousel .nav-link.active:after {
    border-bottom-color: #FF5A1F !important;
}

/* MOW4U - Category hover effect */
.category-owlcarousel a.nav-link:hover,
.category-carousel a.nav-link:hover {
    color: #FF5A1F !important;
}

.category-owlcarousel a.nav-link,
.category-carousel a.nav-link {
    transition: color 0.2s ease;
}

/* MOW4U - Homepage cuisine hover */
.swiperCuisine .el-links:hover,
.swiperCuisine .el-links:hover .truncate,
.swiperCuisine .el-links:focus,
.swiperCuisine .el-links:focus .truncate {
    color: #FF5A1F !important;
}

.swiperCuisine .el-links .truncate {
    transition: color 0.2s ease;
}

/* MOW4U - Homepage Join buttons */
.el-button.mow-join-button {
    color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    background-color: #FFF4EF !important;
}

.el-button.mow-join-button:hover,
.el-button.mow-join-button:focus {
    color: #FFFFFF !important;
    border-color: #FF5A1F !important;
    background-color: #FF5A1F !important;
    transition: all 0.2s ease;
}

/* MOW4U - Join carousel arrow hover */
.swiperRestox .swiper-button-next .el-button:hover,
.swiperRestox .swiper-button-prev .el-button:hover {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
    transition: all 0.2s ease;
}

/* MOW4U - Homepage carousel arrow hover */
.swiperCuisine .swiper-button-next:not(.swiper-button-disabled):hover .el-button,
.swiperCuisine .swiper-button-prev:not(.swiper-button-disabled):hover .el-button,
.swiperResto .swiper-button-next:not(.swiper-button-disabled):hover .el-button,
.swiperResto .swiper-button-prev:not(.swiper-button-disabled):hover .el-button,
.swiperRestox .swiper-button-next:not(.swiper-button-disabled):hover .el-button,
.swiperRestox .swiper-button-prev:not(.swiper-button-disabled):hover .el-button {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

/* Smooth transition */
.swiperCuisine .el-button.is-circle,
.swiperResto .el-button.is-circle,
.swiperRestox .el-button.is-circle {
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* MOW4U - Orange footer Subscribe button */
#vue-esubscription .el-button.mow-subscribe {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

#vue-esubscription .el-button.mow-subscribe:hover,
#vue-esubscription .el-button.mow-subscribe:focus {
    background-color: #D94710 !important;
    border-color: #D94710 !important;
}

/* ========================================
   MOW4U CUSTOMER WEBSITE BRAND COLOURS
   Primary: #FF5A1F
   ======================================== */

:root {
    --mow-primary: #FF5A1F;
    --mow-primary-hover: #D94710;
    --mow-navy: #14213D;
}

/* Primary action buttons */
body.controller-store .btn-green:not(:disabled):not(.disabled),
body.controller-account .btn-green:not(:disabled):not(.disabled) {
    background-color: var(--mow-primary) !important;
    border-color: var(--mow-primary) !important;
    color: #fff !important;
}

/* Primary button hover */
body.controller-store .btn-green:not(:disabled):not(.disabled):hover,
body.controller-account .btn-green:not(:disabled):not(.disabled):hover {
    background-color: var(--mow-primary-hover) !important;
    border-color: var(--mow-primary-hover) !important;
}

/* Green text links */
body.controller-store a.text-green,
body.controller-account a.text-green:not(.text-danger),
body.controller-store a:hover,
body.controller-account a:hover {
    color: var(--mow-primary) !important;
}

/* Breadcrumb hover */
.el-breadcrumb a:hover {
    color: var(--mow-primary) !important;
}

/* Outline buttons */
body.controller-store .btn-green-line {
    color: var(--mow-primary) !important;
    border-color: var(--mow-primary) !important;
}

body.controller-store .btn-green-line:hover {
    background-color: var(--mow-primary) !important;
    color: #fff !important;
}

/* Checkbox and radio selections */
body.controller-store .custom-control-input:checked ~ .custom-control-label::before,
body.controller-account .custom-control-input:checked ~ .custom-control-label::before {
    background-color: var(--mow-primary) !important;
    border-color: var(--mow-primary) !important;
}

/* Preserve disabled buttons */
body .btn-green:disabled,
body .btn-green.disabled,
body .btn-green[disabled] {
    background-color: #B2B2B2 !important;
    border-color: #B2B2B2 !important;
    color: #fff !important;
}


/* MOW4U - Header navigation branding */
#top-navigation a:not(.btn):hover,
#top-navigation a:not(.btn):focus-visible {
    color: #FF5A1F !important;
}

/* Smooth colour transition */
#top-navigation a:not(.btn) {
    transition: color 0.2s ease;
}

/* MOW4U - Username dropdown hover */
#top-navigation .userprofile > a.dropdown-toggle:hover,
#top-navigation .userprofile > a.dropdown-toggle:focus,
#top-navigation .userprofile > a.dropdown-toggle.show {
    color: #FF5A1F !important;
}

/* MOW4U - Restaurant signup links */
body.controller-merchant.action-merchantSignup a,
body.controller-merchant.action-merchantSignup a:hover {
    color: #FF5A1F !important;
}

/* Restaurant signup: terms, privacy and login links */
form.mb-5 .m-0.mt-3 a.text-green,
form.mb-5 a.text-green[href*="backoffice/merchant"] {
    color: #FF5A1F !important;
}

form.mb-5 .m-0.mt-3 a.text-green:hover,
form.mb-5 a.text-green[href*="backoffice/merchant"]:hover {
    color: #D94710 !important;
}

/* MOW4U - Merchant signup banner Join button */
.section-join-us2 .btn-white-parent a.btn-link {
    background: #FF5A1F !important;
    border: 1px solid #FF5A1F !important;
    color: #FFFFFF !important;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}

.section-join-us2 .btn-white-parent a.btn-link:hover,
.section-join-us2 .btn-white-parent a.btn-link:focus {
    background: #D94710 !important;
    border-color: #D94710 !important;
    color: #FFFFFF !important;
}

/* Remove merchant signup Join button border */
.section-join-us2 .btn-white-parent a.btn-link,
.section-join-us2 .btn-white-parent a.btn-link:hover,
.section-join-us2 .btn-white-parent a.btn-link:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}


/* MOW4U homepage location search redesign */
#main-search-banner .mow-location-instructions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0 auto 16px;
    text-align: center;
    color: #14213D;
}

#main-search-banner .mow-location-instructions strong {
    font-size: 19px;
    font-weight: 700;
}

#main-search-banner .mow-location-instructions span {
    font-size: 14px;
    line-height: 1.45;
}

#main-search-banner .mow-home-location-search {
    width: min(500px, 100%);
    max-width: 100%;
}

#main-search-banner .mow-home-location-search input {
    background: #FFFFFF !important;
    border: 2px solid #D9DEE7 !important;
    border-radius: 10px !important;
    min-height: 56px;
}

#main-search-banner .mow-home-location-search input:focus {
    border-color: #FF5A1F !important;
    box-shadow: 0 0 0 3px rgba(255,90,31,.12) !important;
}

@media (max-width: 575px) {
    #main-search-banner .mow-location-instructions {
        padding: 0 16px;
        margin-bottom: 12px;
    }

    #main-search-banner .mow-location-instructions strong {
        font-size: 16px;
    }

    #main-search-banner .mow-location-instructions span {
        font-size: 12px;
    }
}


/* MOW4U location search controls V2 */

/* Clearer layout */
#main-search-banner .mow-home-location-search {
    width: min(520px, 100%);
}

#main-search-banner .mow-home-location-search > .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px;
}

/* Full-width address field */
#main-search-banner .search-geocomplete.width_87 {
    width: 100% !important;
    max-width: 100%;
}

#main-search-banner .el-autocomplete {
    width: 100% !important;
}

/* Make the existing GPS control look like a labelled button */
#main-search-banner .el-input__suffix button.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid #FF5A1F !important;
    border-radius: 8px;
    color: #FF5A1F !important;
    white-space: nowrap;
    text-decoration: none;
}

#main-search-banner .el-input__suffix button.btn-link i {
    color: #FF5A1F !important;
}

#main-search-banner .el-input__suffix button.btn-link::after {
    content: "Use my location";
    font-size: 12px;
    font-weight: 600;
}

/* Full-width existing restaurant search button */
#main-search-banner .flex-enabled-locate {
    width: 100%;
}

#main-search-banner .flex-enabled-locate button.btn-green {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 9px;
}

#main-search-banner .flex-enabled-locate button.btn-green::before {
    content: "Find restaurants";
    font-size: 15px;
    font-weight: 600;
}

/* Mobile: shorter GPS label */
@media (max-width: 575px) {
    #main-search-banner .el-input__suffix button.btn-link::after {
        content: "Locate";
    }

    #main-search-banner .el-input__suffix button.btn-link {
        padding: 5px 7px;
    }

    #main-search-banner .mow-home-location-search {
        width: 100%;
    }
}

/* Homepage delivery address placeholder */
#main-search-banner .mow-home-location-search input::placeholder {
    color: #596579 !important;
    opacity: 1 !important;
}


/* MOW4U RETURNING CUSTOMER HOMEPAGE */

#main-search-banner .banner-center {
    width: min(630px, 100%);
    max-width: 100%;
}

#main-search-banner .mow-returning-home {
    width: min(600px, 100%);
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    color: #14213D;
}

#main-search-banner .mow-returning-subtitle {
    margin: 0 0 14px;
    color: #64748B;
    font-size: 15px;
    text-align: center;
}

#main-search-banner .mow-returning-address {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: white;
    border: 1px solid #DEE3EC;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(20,33,61,.06);
    text-align: left;
}

#main-search-banner .mow-returning-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #FFF0E9;
    color: #FF5A1F;
    font-size: 20px;
}

#main-search-banner .mow-returning-address-copy {
    flex: 1;
    min-width: 0;
}

#main-search-banner .mow-returning-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    color: #64748B;
    margin-bottom: 3px;
}

#main-search-banner .mow-returning-address-copy strong {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.4;
    color: #14213D;
}

#main-search-banner .mow-returning-change {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #FF5A1F;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 8px;
}

#main-search-banner .mow-returning-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    min-height: 52px;
    margin-top: 12px;
    border: 0;
    border-radius: 10px;
    background: #FF5A1F;
    color: white;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

#main-search-banner .mow-returning-continue:hover {
    background: #D94710;
}

#main-search-banner .mow-returning-gps {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
    margin-top: 12px;
    padding: 9px 20px;
    background: white;
    border: 2px solid #FF5A1F;
    border-radius: 9px;
    color: #FF5A1F;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 575px) {
    #main-search-banner .mow-returning-home {
        padding: 0 12px;
    }

    #main-search-banner .mow-returning-subtitle {
        font-size: 12px;
    }

    #main-search-banner .mow-returning-address {
        padding: 10px;
        gap: 8px;
    }

    #main-search-banner .mow-returning-address-copy strong {
        font-size: 12px;
    }

    #main-search-banner .mow-returning-continue {
        min-height: 46px;
        font-size: 14px;
    }
}

/* MOW4U: Orange restaurant Promo badge */
.with-promo {
    background-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

/* MOW4U: Larger orange Promo badge */
.with-promo {
    background-color: #FF5A1F !important;
    color: #FFFFFF !important;
    width: 64px;
    height: 26px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 0 4px 4px 0;
}

/* Keep Promo badge inside restaurant photo */
.with-promo {
    left: 0 !important;
    top: 10px;
}


/* MOW4U ACTUAL RESTAURANT OFFER */
.mow-merchant-offer {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    margin: 5px 0 8px;
    padding: 7px 10px;
    background: #FFF0E9;
    border: 1px solid #FFD0BC;
    border-radius: 9px;
    color: #14213D;
}

.mow-merchant-offer > .fa-tag {
    color: #FF5A1F;
    font-size: 17px;
    flex-shrink: 0;
}

.mow-merchant-offer-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mow-merchant-offer-content strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #C2410C;
    font-size: 13px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.mow-merchant-offer-more {
    color: #64748B;
    font-size: 12px;
}

.mow-merchant-offer-link {
    color: #C2410C !important;
    font-weight: 700;
    text-decoration: underline;
    white-space: nowrap;
    margin-left: 8px;
}

@media (max-width: 575px) {
    .mow-merchant-offer {
        width: 100%;
        padding: 9px 10px;
        gap: 7px;
    }
    .mow-merchant-offer-content strong {
        font-size: 12px;
    }
    .mow-merchant-offer-link {
        font-size: 12px;
    }
}


/* MOW4U FRIENDLY PROMOTION POPUP */
.mow-promo-popup-copy {
    flex: 1;
    min-width: 0;
    padding-bottom: 12px;
}
.mow-promo-popup-copy strong {
    display: block;
    color: #C2410C;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}
.mow-promo-popup-copy p {
    color: #475569;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 5px;
}

/* MOW4U: Orange Add to cart button in item popup */
#item-modal-footer button.add_to_cart {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

#item-modal-footer button.add_to_cart:hover {
    background-color: #E64B14 !important;
    border-color: #E64B14 !important;
}

/* MOW4U: Correct item popup Add to cart selector */
button.add_to_cart {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

button.add_to_cart:hover {
    background-color: #E64B14 !important;
    border-color: #E64B14 !important;
}

/* MOW4U ADDRESS UPGRADE STYLES */
/* MOW4U full-screen location selector — UPDATE test */

.el-dialog.mow-location-dialog {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100dvh;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}

.mow-location-dialog .el-dialog__header {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 20px;
    margin: 0;
    background: #fff;
    border-bottom: 1px solid #eee;
}

.mow-location-dialog .el-dialog__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}

.mow-location-screen {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    width: 100%;
    background: #fff;
}

/* Top search and GPS controls */

.mow-location-top {
    flex: 0 0 auto;
    padding: 16px;
    background: #fff;
    z-index: 5;
}

.mow-location-top h4 {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #222;
}

.mow-location-top .el-autocomplete {
    width: 100%;
}

.mow-use-location {
    display: block;
    width: 100%;
    margin-top: 12px;
    padding: 12px;
    background: #fff3e8;
    border: 1px solid #f5bd8a;
    border-radius: 10px;
    color: #e87519;
    font-weight: 700;
    cursor: pointer;
}

.mow-use-location i {
    margin-right: 8px;
}

.mow-use-location:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* Main interactive map */

.mow-location-map {
    position: relative;
    flex: 1 1 auto;
    min-height: 160px;
    width: 100%;
    overflow: hidden;
}

.mow-location-map .map-lg-large {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    border: none !important;
}

.mow-pin-instruction {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    max-width: 85%;
    padding: 9px 15px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.18);
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}

/* Bottom address preview and confirmation */

.mow-location-bottom {
    flex: 0 0 auto;
    padding: 16px 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid #eee;
    box-shadow: 0 -3px 15px rgba(0,0,0,.06);
    z-index: 5;
}

.mow-location-preview {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.mow-location-preview i {
    color: #e87519;
    font-size: 25px;
}

.mow-confirm-location {
    width: 100%;
    min-height: 54px;
    padding: 14px;
    background: #e87519;
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
}

.mow-confirm-location:disabled {
    background: #f3bd91;
    cursor: not-allowed;
}

@media (min-width: 768px) {
    .mow-location-top,
    .mow-location-bottom {
        padding-left: max(24px, calc((100% - 720px)/2));
        padding-right: max(24px, calc((100% - 720px)/2));
    }
}

@media (max-width: 575px) {
    .mow-location-top {
        padding: 12px;
    }

    .mow-location-top h4 {
        font-size: 18px;
    }

    .mow-location-bottom {
        padding: 12px;
        padding-bottom: max(16px, env(safe-area-inset-bottom));
    }

    .mow-confirm-location {
        min-height: 52px;
    }
}

/* Checkout: delivery-details reminder */
.mow-delivery-details-reminder {
    margin: 12px 0 20px;
    padding: 16px;
    border: 1px solid #f5bd8a;
    border-left: 4px solid #e87519;
    border-radius: 10px;
    background: #fff8f1;
}

.mow-delivery-details-reminder h5 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #333;
}

.mow-delivery-details-reminder p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

/* MOW4U CHECKOUT REDESIGN PHASE 1 */
.mow-checkout-page {
    background: #f6f8fc;
    padding-top: 24px;
    padding-bottom: 48px;
}

.mow-checkout-page .card {
    background: #fff;
    border: 1px solid #e8edf4;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(28,41,65,.045);
    overflow: hidden;
}

.mow-checkout-page .section-title {
    color: #1c2941;
    font-weight: 700;
}

.mow-checkout-page .badge-dark {
    background: #ff5a1f;
    border-color: #ff5a1f;
}

.mow-checkout-page .chevron-section {
    border: 1px solid #e8edf4;
    border-radius: 10px !important;
    background: #fff;
}

.mow-checkout-page .chevron-section:hover {
    border-color: #ffb398;
}

.mow-checkout-page .card-body {
    padding: 22px;
}

@media (max-width: 991.98px) {
    .mow-checkout-page {
        padding-top: 12px;
        padding-bottom: 32px;
    }

    .mow-checkout-page .mow-checkout-cart {
        order: -1;
    }

    .mow-checkout-page .mow-checkout-main {
        order: 0;
    }

    .mow-checkout-page .sticky-cart {
        position: static !important;
        top: auto !important;
    }
}

@media (max-width: 767.98px) {
    .mow-checkout-page .mow-checkout-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .mow-checkout-page .mow-checkout-layout {
        margin-left: 0;
        margin-right: 0;
    }

    .mow-checkout-page .mow-checkout-main,
    .mow-checkout-page .mow-checkout-cart {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 14px !important;
    }

    .mow-checkout-page .card {
        border-radius: 14px;
    }

    .mow-checkout-page .card-body {
        padding: 16px;
    }
}


/* MOW4U CHECKOUT REDESIGN PHASE 2 */
@media (max-width: 767.98px) {
    .mow-checkout-page {
        padding-bottom: 112px;
    }

    /* Preserve the original Vue order action; display it in a fixed footer. */
    .mow-checkout-page .mow-checkout-place-order {
        position: fixed;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 16px;
        right: 16px;
        width: calc(100% - 32px) !important;
        max-width: 560px;
        margin: 0 auto;
        min-height: 54px;
        border-radius: 12px;
        z-index: 100;
        box-shadow: 0 0 0 12px #f6f8fc, 0 5px 18px rgba(28,41,65,.18);
    }

    /* Allow the saved address to use the available width. */
    .mow-checkout-page #vm_delivery_details .border-green {
        padding: 14px !important;
        min-width: 0;
    }

    .mow-checkout-page #vm_delivery_details .border-green .col-9 {
        flex: 0 0 82%;
        max-width: 82%;
        min-width: 0;
    }

    .mow-checkout-page #vm_delivery_details .border-green .col-3 {
        flex: 0 0 18%;
        max-width: 18%;
        padding-left: 0;
        padding-right: 0;
    }

    .mow-checkout-page #vm_delivery_details .el-radio-group {
        display: block;
        width: 100%;
        margin-left: 0 !important;
    }

    .mow-checkout-page #vm_delivery_details .el-radio {
        display: flex;
        align-items: flex-start;
        width: 100%;
        height: auto;
        margin-right: 0;
        white-space: normal;
    }

    .mow-checkout-page #vm_delivery_details .el-radio__label {
        flex: 1;
        min-width: 0;
        white-space: normal;
        overflow-wrap: anywhere;
        line-height: 1.5;
    }

    /* Wrap tip choices instead of clipping them off-screen. */
    .mow-checkout-page #vue-tips .btn-group {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 6px;
    }

    .mow-checkout-page #vue-tips .btn-group > .btn {
        flex: 0 0 auto;
        border-radius: 8px !important;
        margin: 0;
    }

    /* Prevent delivery schedule text from running into its icon. */
    .mow-checkout-page .transaction-section .flexcol {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .mow-checkout-page .transaction-section p {
        white-space: normal;
        line-height: 1.5;
    }
}


/* MOW4U CHECKOUT REDESIGN PHASE 3 */

/* Delivery address: eliminate the narrow nested map-location box. */
.mow-checkout-page #vm_delivery_details .border-green {
    border-radius: 12px;
    overflow-wrap: anywhere;
}

.mow-checkout-page #vm_delivery_details .border-green .border-green {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-top: 10px;
    padding: 12px !important;
    border-color: #e5eaf2;
    background: #f8faff;
}

.mow-checkout-page #vm_delivery_details .el-radio__label > div {
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
}

/* Order type and schedule. */
.mow-checkout-page .transaction-section {
    padding: 16px;
    gap: 12px;
}

.mow-checkout-page .transaction-section .flexcol {
    min-width: 0;
}

.mow-checkout-page .transaction-section p {
    margin-top: 5px !important;
    overflow-wrap: anywhere;
    line-height: 1.55;
}

/* Existing payment controls, presented as cleaner selectable cards. */
.mow-checkout-page #vue-payment-list .chevron-section {
    min-height: 64px;
    padding: 12px 14px;
    border: 1px solid #e0e7f1;
    border-radius: 12px !important;
    transition: border-color .15s, background .15s;
}

.mow-checkout-page #vue-payment-list .chevron-section.selected {
    background: #fff7f3;
    border-color: #ff5a1f;
}

.mow-checkout-page #vue-payment-list .payment-logo-wrap {
    flex-shrink: 0;
    margin-right: 12px !important;
}

.mow-checkout-page #vue-payment-list .section-title,
.mow-checkout-page #vue-payment-list h5 {
    color: #1c2941;
    font-weight: 700;
}

/* Keep long payment labels and fees readable on phones. */
@media (max-width: 767.98px) {
    .mow-checkout-page #vue-payment-list .chevron-section {
        gap: 8px;
    }

    .mow-checkout-page #vue-payment-list .chevron-section .flexcol {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .mow-checkout-page #vm_delivery_details .border-green .col-9 {
        padding-right: 6px;
    }

    .mow-checkout-page #vm_delivery_details .border-green .col-3 {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mow-checkout-page #vm_delivery_details .border-green .col-3 .btn {
        padding: 8px;
    }
}


/* MOW4U CHECKOUT REDESIGN PHASE 4 */
.mow-checkout-page .mow-checkout-footer-total {
    display: none;
}

@media (max-width: 767.98px) {
    .mow-checkout-page {
        padding-bottom: 125px;
    }

    .mow-checkout-page .mow-checkout-order-footer {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 12px 16px;
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e5eaf2;
        box-shadow: 0 -4px 20px rgba(28,41,65,.06);
    }

    .mow-checkout-page .mow-checkout-footer-total {
        display: flex;
        flex: 0 0 32%;
        min-width: 0;
        flex-direction: column;
        gap: 2px;
        color: #1c2941;
    }

    .mow-checkout-page .mow-checkout-footer-total small {
        font-size: 11px;
        color: #687386;
    }

    .mow-checkout-page .mow-checkout-footer-total strong {
        font-size: 19px;
        font-weight: 700;
        white-space: nowrap;
    }

    .mow-checkout-page .mow-checkout-order-footer
    .mow-checkout-place-order {
        position: static !important;
        flex: 1;
        width: auto !important;
        max-width: none;
        min-width: 0;
        margin: 0;
        min-height: 52px;
        background: #ff5a1f;
        border-color: #ff5a1f;
        border-radius: 12px;
        box-shadow: none;
    }
}


/* MOW4U CHECKOUT PAYMENT CARDS PHASE 5 */
.mow-checkout-page #vue-payment-list .mow-payment-option {
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    overflow: hidden;
}

.mow-checkout-page #vue-payment-list .mow-payment-select {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    padding: 14px;
    min-height: 66px;
    font: inherit;
}

.mow-checkout-page #vue-payment-list .mow-payment-select:focus-visible {
    outline: 2px solid #ff5a1f;
    outline-offset: -3px;
}

.mow-checkout-page #vue-payment-list .mow-payment-select::after {
    content: "";
    width: 19px;
    height: 19px;
    border: 2px solid #bcc6d5;
    border-radius: 50%;
    margin-left: auto;
    flex-shrink: 0;
}

.mow-checkout-page #vue-payment-list
.mow-payment-option.selected .mow-payment-select::after {
    border: 6px solid #ff5a1f;
    background: white;
}

.mow-checkout-page #vue-payment-list .mow-payment-option.selected {
    border-color: #ff5a1f;
    background: #fff7f3;
}

.mow-checkout-page #vue-payment-list .mow-payment-option > .col-lg-4 {
    padding-right: 10px;
}

@media (max-width: 767.98px) {
    .mow-checkout-page #vue-payment-list .mow-payment-select {
        padding: 12px;
    }

    .mow-checkout-page #vue-payment-list .mow-payment-select .flexcol {
        min-width: 0;
        overflow-wrap: anywhere;
    }
}


/* MOW4U UNIFIED PAYMENT LIST PHASE 6 */
.mow-checkout-page .mow-payment-heading h5 {
    font-weight: 700;
    color: #1c2941;
}

.mow-checkout-page .mow-unified-payment-list {
    border: 1px solid #e0e7f1;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .chevron-section {
    margin: 0 !important;
    border: 0;
    border-bottom: 1px solid #e8edf4;
    border-radius: 0 !important;
    box-shadow: none;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .chevron-section.selected {
    background: #fff7f3;
    box-shadow: inset 3px 0 #ff5a1f;
}

.mow-checkout-page .mow-add-payment-link {
    display: block;
    width: 100%;
    padding: 14px;
    border: 0;
    background: #fff;
    color: #ff5a1f;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.mow-checkout-page .mow-add-payment-link:hover {
    background: #fff7f3;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option {
    min-height: 64px;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-unified-new-option {
    min-height: 64px;
}

@media (max-width: 767.98px) {
    .mow-checkout-page .mow-unified-payment-list {
        border-radius: 12px;
    }
}


/* MOW4U PAYMENT ROW ALIGNMENT PHASE 8 */

/* Keep each saved method on one compact row. */
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option {
    position: relative !important;
    display: block !important;
    min-height: 68px !important;
    padding: 0 !important;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-select {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 68px !important;
    padding: 12px 54px 12px 14px !important;
    margin: 0 !important;
    text-align: left !important;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-select .flexcol {
    min-width: 0;
    text-align: left;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-select::after {
    margin-left: auto;
    margin-right: 5px;
}

/* Position saved-payment management beside the radio indicator. */
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option > .col-lg-4 {
    position: absolute !important;
    right: 6px !important;
    top: 50% !important;
    transform: translateY(-50%);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Give new methods the same dimensions. */
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-unified-new-option {
    min-height: 68px !important;
    padding: 12px 14px !important;
    align-items: center !important;
}

/* Remove unnecessary space beneath payment cards. */
.mow-checkout-page .mow-unified-payment-list {
    margin-bottom: 0;
}

.mow-checkout-page .mow-payment-heading p {
    margin-bottom: 10px !important;
}


/* MOW4U ONE-TAP PAYMENT SELECTION: checkout presentation only */
.mow-checkout-page #vue-payment-list .mow-payment-option > .col-lg-4 {
    display: none !important;
}

.mow-checkout-page #vue-payment-list .mow-payment-heading {
    display: none !important;
}

.mow-checkout-page #vue-payment-list .mow-add-payment-link {
    display: none !important;
}

.mow-checkout-page #vue-payment-list .mow-payment-select {
    padding-right: 18px !important;
}

/* MOW4U HIDE CHECKOUT PAYMENT MANAGEMENT */
#vue-payment-list .mow-payment-option > .col-lg-4,
#vue-payment-list .mow-payment-option .dropdown {
    display: none !important;
}

#vue-payment-list .mow-payment-option .mow-payment-select {
    padding-right: 18px !important;
}


/* MOW4U CHECKOUT SUMMARY TELEPORT */
.mow-checkout-page .mow-checkout-summary-target:not(:empty) {
    padding: 20px;
    background: #fff;
    border-top: 1px solid #e5eaf2;
}

.mow-checkout-page .mow-order-summary-title {
    margin: 0 0 16px;
    font-size: 18px;
    font-weight: 700;
    color: #14243d;
}

.mow-checkout-page .mow-checkout-summary-target .cart-summary {
    margin: 0 !important;
}

@media (max-width: 767px) {
    .mow-checkout-page .mow-checkout-summary-target:not(:empty) {
        padding: 20px 18px 24px;
    }
}


/* MOW4U PROMO RELOCATION PHASE 65 */
.mow-checkout-page .mow-checkout-promo {
    padding: 18px 20px 12px;
    border-top: 1px solid #e5eaf2;
}

.mow-checkout-page .mow-checkout-promo-title {
    color: #14243d;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 14px;
}

.mow-checkout-page .mow-checkout-promo .promo-section {
    min-height: 54px;
    margin-bottom: 10px !important;
}

@media (max-width: 767px) {
    .mow-checkout-page .mow-checkout-promo {
        padding: 18px 18px 10px;
    }
}


/* MOW4U PWA VISUAL REFINEMENT PHASE 67 */

/* A compact, unified payment list. */
.mow-checkout-page #vue-payment-list .mow-unified-payment-list {
    border: 1px solid #e2e7f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option,
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-unified-new-option {
    position: relative;
    min-height: 72px !important;
    margin: 0 !important;
    border: 0 !important;
    border-bottom: 1px solid #e9edf4 !important;
    border-radius: 0 !important;
    box-shadow: none;
    background: #fff;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-select,
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-unified-new-option {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 72px !important;
    padding: 12px 15px !important;
    gap: 10px;
    text-align: left !important;
    cursor: pointer;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option.selected {
    background: #fff7f3;
    box-shadow: inset 3px 0 #ff5a1f;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option.selected
.mow-payment-select {
    background: #fff7f3;
}

/* Consistent icons, with a fallback for the three standard providers. */
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .payment-logo-wrap {
    display: flex !important;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    min-width: 36px;
    align-items: center;
    justify-content: center;
    margin: 0 2px 0 0 !important;
    border: 1px solid #e3e9f2;
    border-radius: 10px;
    background: #fff;
    color: #1c2941;
}

.mow-checkout-page #vue-payment-list
[data-mow-code="cod"] .payment-logo-wrap > *,
.mow-checkout-page #vue-payment-list
[data-mow-code="c2c2p"] .payment-logo-wrap > *,
.mow-checkout-page #vue-payment-list
[data-mow-code="bank"] .payment-logo-wrap > * {
    display: none !important;
}

.mow-checkout-page #vue-payment-list
[data-mow-code="cod"] .payment-logo-wrap::before {
    content: "฿";
    font-size: 20px;
    font-weight: 700;
}

.mow-checkout-page #vue-payment-list
[data-mow-code="c2c2p"] .payment-logo-wrap::before {
    content: "▣";
    font-size: 22px;
}

.mow-checkout-page #vue-payment-list
[data-mow-code="bank"] .payment-logo-wrap {
    color: #ff5a1f;
    border-color: #ffd7c6;
    background: #fff8f5;
}

.mow-checkout-page #vue-payment-list
[data-mow-code="bank"] .payment-logo-wrap::before {
    content: "▥";
    font-size: 24px;
}

/* Payment labels and descriptions. */
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-select > .flexcol:not(.payment-logo-wrap),
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-unified-new-option > .flexcol:not(.payment-logo-wrap) {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.35;
}

.mow-checkout-page #vue-payment-list .mow-payment-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1c2941;
    margin: 0 !important;
}

.mow-checkout-page #vue-payment-list .mow-payment-description {
    display: block;
    font-size: 11px;
    font-weight: 400;
    color: #778092;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .text-grey.font11 {
    display: block;
    font-size: 11px;
    line-height: 1.3;
}

/* Align saved and unsaved payment indicators. */
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-select::after,
.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-unified-new-option::after {
    content: "";
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 0 0 0 auto !important;
    border: 2px solid #bbc5d2;
    border-radius: 50%;
    background: #fff;
    box-shadow: none;
    transform: none;
}

.mow-checkout-page #vue-payment-list
.mow-unified-payment-list .mow-payment-option.selected
.mow-payment-select::after {
    border: 5px solid #ff5a1f;
}

#vue-payment-list .mow-payment-option > .col-lg-4,
#vue-payment-list .mow-payment-option .dropdown {
    display: none !important;
}

/* One compact promotions card. */
.mow-checkout-page .mow-checkout-promo {
    padding: 16px 18px;
    border-top: 1px solid #e9edf4;
}

.mow-checkout-page .mow-checkout-promo-title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 700;
    color: #1c2941;
}

.mow-checkout-page .mow-checkout-promo .promo-section {
    display: flex !important;
    align-items: center;
    min-height: 58px;
    margin: 0 0 8px !important;
    padding: 10px 12px;
    border: 1px solid #f3dace;
    border-radius: 12px !important;
    background: #fff9f6;
    color: #1c2941;
    font-size: 13px;
}

.mow-checkout-page .mow-checkout-promo .promo-section .zmdi-label {
    color: #ff5a1f;
    font-size: 19px;
}

.mow-checkout-page .mow-checkout-promo .promo-section .flexcol {
    min-width: 0;
}

/* Clearer live total breakdown. */
.mow-checkout-page .mow-checkout-summary-target:not(:empty) {
    padding: 18px;
    border-top: 1px solid #e9edf4;
}

.mow-checkout-page .mow-order-summary-title {
    margin-bottom: 13px;
    font-size: 16px;
    font-weight: 700;
    color: #1c2941;
}

.mow-checkout-page .mow-checkout-summary-target
.cart-summary > .d-flex {
    min-height: 26px;
    gap: 12px;
    color: #4f5d72;
    font-size: 13px;
}

.mow-checkout-page .mow-checkout-summary-target
.cart-summary > .d-flex:last-child {
    margin-top: 9px;
    padding-top: 11px;
    border-top: 1px solid #e9edf4;
    color: #1c2941;
}

.mow-checkout-page .mow-checkout-summary-target
.cart-summary > .d-flex:last-child h6 {
    font-weight: 700;
    font-size: 16px;
}

@media (max-width: 767.98px) {
    .mow-checkout-page .mow-checkout-promo,
    .mow-checkout-page .mow-checkout-summary-target:not(:empty) {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* MOW4U PAYMENT RADIO CLICK FIX PHASE 68 */

/* The complete saved-payment row must be the button. */
#vue-payment-list .mow-unified-payment-list .mow-payment-option {
    position: relative !important;
    width: 100% !important;
}

#vue-payment-list .mow-unified-payment-list .mow-payment-select {
    position: relative !important;
    z-index: 1;
    display: flex !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    box-sizing: border-box !important;
    padding: 12px 48px 12px 14px !important;
    cursor: pointer !important;
}

/* Keep each radio inside its clickable control. */
#vue-payment-list .mow-unified-payment-list
.mow-payment-select::after,
#vue-payment-list .mow-unified-payment-list
.mow-unified-new-option::after {
    position: absolute !important;
    right: 15px !important;
    top: 50% !important;
    left: auto !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    pointer-events: none !important;
    border-radius: 50% !important;
    box-sizing: border-box !important;
}

/* The unsaved-method row is also fully clickable. */
#vue-payment-list .mow-unified-payment-list
.mow-unified-new-option {
    position: relative !important;
    display: flex !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-right: 48px !important;
    cursor: pointer !important;
}


/* MOW4U MOBILE CART REFINEMENT PHASE 69 */
.mow-checkout-page .mow-checkout-merchant-header {
    padding: 14px 16px !important;
}
.mow-checkout-page .mow-checkout-merchant-header .items {
    align-items: flex-start;
    gap: 10px;
}
.mow-checkout-page .mow-checkout-merchant-header .el-image {
    width: 42px !important;
    height: 42px !important;
}
.mow-checkout-page .mow-checkout-merchant-header .flex-fill {
    min-width: 0;
    padding-left: 0 !important;
}
.mow-checkout-page .mow-checkout-merchant-header h5 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #1c2941;
}
.mow-checkout-page .mow-checkout-merchant-header p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.5;
    color: #687386;
    overflow-wrap: anywhere;
}
.mow-checkout-page .mow-checkout-cart-heading {
    margin-bottom: 14px !important;
}
.mow-checkout-page .mow-checkout-cart-heading h5 {
    font-size: 17px;
    font-weight: 700;
    color: #1c2941;
}
.mow-checkout-page .section-cart .line-items {
    align-items: flex-start;
    padding: 9px 0;
}
.mow-checkout-page .section-cart .line-items .col-6 > .quantity {
    display: inline-flex !important;
    justify-content: flex-start !important;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: 7px;
    padding: 3px;
    border: 1px solid #e3e9f2;
    border-radius: 10px;
    background: #f8faff;
}
.mow-checkout-page .section-cart .line-items .col-6 > .quantity .qty-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 27px;
    height: 27px;
    min-width: 27px;
    border: 1px solid #e2e7f0;
    border-radius: 8px !important;
    background: #fff !important;
    color: #ff5a1f !important;
    box-shadow: none;
}
.mow-checkout-page .section-cart .line-items .col-6 > .quantity .qty {
    min-width: 16px;
    text-align: center;
    font-weight: 700;
    color: #1c2941;
}
.mow-checkout-page #vue-transaction .transaction-section {
    display: flex !important;
    align-items: center;
    min-height: 84px;
    padding: 14px 16px;
}
.mow-checkout-page #vue-transaction .transaction-section > .flexcol:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 10px;
}
.mow-checkout-page #vue-transaction .mow-schedule-label,
.mow-checkout-page #vue-transaction .mow-schedule-time {
    display: block;
}
.mow-checkout-page #vue-transaction .mow-schedule-time {
    margin-top: 3px;
}
.mow-checkout-page #vue-transaction .transaction-section p {
    line-height: 1.5;
    white-space: normal;
    overflow-wrap: anywhere;
}


/* MOW4U DESKTOP CHECKOUT REFINEMENT PHASE 70 */
@media (min-width: 992px) {

    /* Consistent spacing between the two desktop columns. */
    .mow-checkout-page .mow-checkout-main {
        padding-right: 12px !important;
    }

    .mow-checkout-page .mow-checkout-cart {
        padding-left: 12px !important;
    }

    /* Keep the existing cart structure, but make it more compact. */
    .mow-checkout-page .mow-checkout-cart .card-body {
        padding: 20px;
    }

    .mow-checkout-page .mow-checkout-cart-heading {
        margin-bottom: 8px !important;
    }

    .mow-checkout-page .mow-checkout-cart .section-cart .line-items {
        padding: 7px 0;
    }

    .mow-checkout-page .mow-checkout-cart .section-cart .items {
        margin-bottom: 10px;
    }

    /* Show the existing live Vue total inside the desktop cart. */
    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-footer-total {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 15px 0;
        border-top: 1px solid #e5eaf2;
        color: #1c2941;
    }

    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-footer-total small {
        font-size: 14px;
        font-weight: 600;
        color: #687386;
    }

    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-footer-total strong {
        font-size: 21px;
        font-weight: 800;
        color: #1c2941;
    }

    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-order-footer {
        display: flex;
        flex-direction: column;
        gap: 2px;
        width: 100%;
    }

    /* Apply the brand colour without changing the order handler. */
    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-place-order {
        display: block;
        width: 100% !important;
        min-height: 54px;
        background: #ff5a1f !important;
        border-color: #ff5a1f !important;
        border-radius: 12px;
        color: #fff !important;
        font-size: 16px;
        font-weight: 700;
        box-shadow: none;
    }

    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-place-order:hover {
        background: #ed4b12 !important;
        border-color: #ed4b12 !important;
    }

    /* More consistent typography throughout the left column. */
    .mow-checkout-page .mow-checkout-main .section-title {
        font-size: 19px;
    }

    .mow-checkout-page .mow-checkout-main
    .mow-checkout-summary-target .cart-summary {
        max-width: 100%;
    }
}


/* MOW4U DESKTOP LEFT COLUMN PHASE 71 */
@media (min-width: 992px) {

    /* Reduce oversized section padding. */
    .mow-checkout-page .mow-checkout-main > .card > .card-body {
        padding: 22px 28px;
    }

    /* Compact delivery scheduling without hiding its information. */
    .mow-checkout-page #vue-transaction .transaction-section {
        min-height: 88px;
        padding: 14px 18px;
        gap: 14px;
    }

    .mow-checkout-page #vue-transaction
    .transaction-section > .flexcol:nth-child(2) {
        flex: 1;
        min-width: 0;
    }

    .mow-checkout-page #vue-transaction .transaction-section p {
        margin-top: 3px !important;
        font-size: 13px;
        line-height: 1.4;
    }

    .mow-checkout-page #vue-transaction .mow-schedule-time {
        margin-top: 2px;
    }

    /* Make the selected delivery address less bulky. */
    .mow-checkout-page #vm_delivery_details .border-green {
        padding: 16px 18px !important;
        border-radius: 12px;
    }

    .mow-checkout-page #vm_delivery_details
    .border-green .border-green {
        margin-top: 8px;
        padding: 10px 14px !important;
        background: #f8faff;
        border-color: #e3e9f2;
    }

    .mow-checkout-page #vm_delivery_details
    .border-green p {
        line-height: 1.45;
        margin-bottom: 4px;
    }

    /* Consistent spacing for checkout section headings. */
    .mow-checkout-page .mow-checkout-main .section-title {
        font-size: 18px;
        line-height: 1.3;
    }

    .mow-checkout-page .mow-checkout-main
    .card-body > .row.mb-3 {
        margin-bottom: 14px !important;
    }
}


/* MOW4U DESKTOP FINAL POLISH PHASE 76 */
@media (min-width: 992px) {

    /* Balanced desktop page width and column spacing. */
    .mow-checkout-page .mow-checkout-container {
        max-width: 1280px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .mow-checkout-page .mow-checkout-layout {
        margin-left: -10px;
        margin-right: -10px;
        align-items: flex-start;
    }

    .mow-checkout-page .mow-checkout-main {
        flex: 0 0 64%;
        max-width: 64%;
        padding: 10px !important;
    }

    .mow-checkout-page .mow-checkout-cart {
        flex: 0 0 36%;
        max-width: 36%;
        padding: 10px !important;
    }

    /* Consistent card treatment. */
    .mow-checkout-page .mow-checkout-main > .card,
    .mow-checkout-page .mow-checkout-cart > #vue-cart > .card {
        border-radius: 16px;
        border: 1px solid #e6ebf3;
        box-shadow: 0 5px 24px rgba(28,41,65,.055);
    }

    /* Consistent rhythm throughout the main checkout. */
    .mow-checkout-page .mow-checkout-main > .card > .card-body {
        padding: 24px 28px;
    }

    .mow-checkout-page .mow-checkout-main .section-title {
        font-size: 18px;
        font-weight: 700;
        letter-spacing: -.2px;
        color: #1c2941;
    }

    .mow-checkout-page .mow-checkout-main
    .card-body > .row.mb-3 {
        margin-bottom: 16px !important;
    }

    /* Make interactive checkout cards feel consistent. */
    .mow-checkout-page .mow-checkout-main
    .chevron-section {
        border-radius: 12px !important;
        transition: border-color .15s, background-color .15s;
    }

    .mow-checkout-page .mow-checkout-main
    .chevron-section:hover {
        border-color: #ffb398;
    }

    /* Keep the payment method list comfortably readable. */
    .mow-checkout-page #vue-payment-list
    .mow-unified-payment-list .mow-payment-option,
    .mow-checkout-page #vue-payment-list
    .mow-unified-payment-list .mow-unified-new-option {
        min-height: 76px !important;
    }

    .mow-checkout-page #vue-payment-list
    .mow-payment-name {
        font-size: 14px;
    }

    .mow-checkout-page #vue-payment-list
    .mow-payment-description {
        font-size: 12px;
    }

    /* Refine promo and order-summary presentation. */
    .mow-checkout-page .mow-checkout-promo {
        padding: 20px 28px;
    }

    .mow-checkout-page .mow-checkout-summary-target:not(:empty) {
        padding: 22px 28px 28px;
    }

    .mow-checkout-page .mow-checkout-promo-title,
    .mow-checkout-page .mow-order-summary-title {
        font-size: 17px;
        font-weight: 700;
        color: #1c2941;
    }

    .mow-checkout-page .mow-checkout-summary-target
    .cart-summary > .d-flex {
        min-height: 30px;
        font-size: 14px;
    }

    /* Give the desktop cart a consistent position and spacing. */
    .mow-checkout-page .mow-checkout-cart .sticky-cart {
        top: 20px;
    }

    .mow-checkout-page .mow-checkout-cart .card-body {
        padding: 20px 22px;
    }

    .mow-checkout-page .mow-checkout-cart-heading h5 {
        font-size: 18px;
    }

    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-footer-total {
        margin-top: 8px;
    }

    .mow-checkout-page .mow-checkout-cart
    .mow-checkout-place-order {
        min-height: 54px;
        font-size: 16px;
    }
}


/* MOW4U TABLET CHECKOUT FOOTER PHASE 78 */
@media (min-width: 768px) and (max-width: 991.98px) {

    /* Leave room for the fixed checkout footer. */
    .mow-checkout-page {
        padding-bottom: 125px !important;
    }

    /* Keep the cart above the checkout form at tablet widths. */
    .mow-checkout-page .mow-checkout-cart {
        order: -1;
    }

    /* Keep total and Place Order accessible while scrolling. */
    .mow-checkout-page .mow-checkout-order-footer {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 1000;
        display: flex !important;
        align-items: center;
        gap: 20px;
        padding: 12px max(24px, calc((100vw - 720px) / 2));
        padding-bottom: max(12px, env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid #e5eaf2;
        box-shadow: 0 -4px 20px rgba(28,41,65,.08);
    }

    .mow-checkout-page .mow-checkout-footer-total {
        display: flex !important;
        flex: 0 0 145px;
        flex-direction: column;
        gap: 2px;
        color: #1c2941;
    }

    .mow-checkout-page .mow-checkout-footer-total small {
        font-size: 12px;
        color: #687386;
    }

    .mow-checkout-page .mow-checkout-footer-total strong {
        font-size: 20px;
        font-weight: 700;
        white-space: nowrap;
    }

    .mow-checkout-page .mow-checkout-order-footer
    .mow-checkout-place-order {
        position: static !important;
        display: block !important;
        flex: 1 1 auto;
        width: auto !important;
        max-width: none !important;
        min-height: 54px;
        margin: 0 !important;
        background: #ff5a1f !important;
        border-color: #ff5a1f !important;
        border-radius: 12px;
        color: #fff !important;
        font-weight: 700;
        box-shadow: none !important;
    }
}

/* MOW4U FULL DESKTOP STICKY CART PHASE 80 */
@media (min-width: 992px) {

    /* Keep the cart in its existing right-hand column. */
    .mow-checkout-page .mow-checkout-layout {
        align-items: flex-start !important;
    }

    .mow-checkout-page .mow-checkout-cart {
        position: sticky !important;
        top: 16px !important;
        align-self: flex-start !important;
        height: auto !important;
    }

    /* Prevent the old affix styling from fighting the column. */
    .mow-checkout-page .mow-checkout-cart .sticky-cart,
    .mow-checkout-page .mow-checkout-cart .sticky-cart.is-affixed {
        position: static !important;
        top: auto !important;
        width: 100% !important;
    }
}


/* ========================================
   MOW4U BRAND PALETTE - PHASE 1
   Navigation + legacy black button cleanup
   Added 2026-09-23
   ======================================== */

/* Main navigation uses the same navy as the customer app */
#top-navigation ul.top-menu > li > a,
#top-navigation .list-inline a,
#top-navigation .userprofile > a {
    color: #14213D;
}

/* Keep MOW4U orange for navigation interaction */
#top-navigation ul.top-menu > li > a:hover,
#top-navigation ul.top-menu > li > a:focus,
#top-navigation .list-inline a:hover,
#top-navigation .list-inline a:focus,
#top-navigation .userprofile > a:hover,
#top-navigation .userprofile > a:focus {
    color: #FF5A1F !important;
}

/* Active navigation indicator */
#top-navigation ul.top-menu li.active {
    border-bottom-color: #FF5A1F;
}

/* Replace legacy pure-black buttons with MOW4U navy */
.btn-black,
.quantity a.rounded-pill:hover,
.rounded-button-icon:hover {
    background-color: #14213D !important;
    border-color: #14213D !important;
    color: #FFFFFF !important;
}

.btn-black:hover,
.btn-black:focus {
    background-color: #14213D !important;
    border-color: #14213D !important;
    color: #FFFFFF !important;
}



/* ========================================
   MOW4U BRAND PALETTE - PHASE 2
   Headings + strong text
   Added 2026-09-23
   ======================================== */

/* Main page headings use the softer MOW4U navy */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.page-title,
.card-title,
.modal-title {
    color: #1C2941;
}

/* Strong informational text */
strong,
.font-weight-bold,
.bold {
    color: #1C2941;
}

/* Keep destructive/error emphasis untouched */
.text-danger,
.alert-danger,
.has-error,
.error {
    color: inherit;
}



/* ========================================
   MOW4U BRAND PALETTE - PHASE 3
   Legacy green brand accents -> MOW orange
   Genuine success states remain green
   Added 2026-09-23
   ======================================== */

/* Range / selected controls */
.custom-range::-moz-range-thumb {
    background-color: #FF5A1F !important;
}

.custom-control-input:checked ~ .custom-control-label::before {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
}

/* Legacy green buttons and outlines */
.btn-green:not(:disabled):not(.disabled),
.badge.badge-green,
.btn-green-line:hover {
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

.btn-white {
    color: #FF5A1F !important;
}

.btn-green-line,
.border-green {
    border-color: #FF5A1F !important;
}

/* Legacy green text / hover states */
.text-green,
.menu-carousel a.active,
.menu-carousel a:hover {
    color: #FF5A1F !important;
}

/* Selection states */
.address-section.active {
    border-color: #FF5A1F !important;
}

ul.sub-menu li.active a {
    background-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

.chevron-section.selected {
    border-left-color: #FF5A1F !important;
}

.border-vertical-green {
    border-left-color: #FF5A1F !important;
}

/* Order / checkout progress */
#progressbar li.active:before,
#progressbar li.active:after,
.progressing .progress-value {
    background-color: #FF5A1F !important;
}

/* Radio / plan selection UI */
.wrap-radio-selection,
.wrap-radio-selection span.el-radio-button__inner {
    background-color: #FF5A1F !important;
}

.wrap-radio-selection .el-radio-button__original-radio:checked + .el-radio-button__inner {
    color: #FF5A1F !important;
}

.pricing-plans .plans {
    border-color: #FF5A1F !important;
}

.pricing-plans .icon {
    background-color: #FF5A1F !important;
}

.bordered-box.selected {
    border-color: #FF5A1F !important;
}

.bordered-box.selected .text-xs {
    color: #FF5A1F !important;
}

/* Misc branded interaction states */
.avatar-uploader .el-upload:hover {
    border-color: #FF5A1F !important;
}

.read-more {
    color: #FF5A1F !important;
}

/* Genuine success state stays green */
.alert-success {
    border-color: #3ECF8E !important;
}



/* ========================================
   MOW4U QUANTITY CONTROLS CLEANUP
   Shared cart + add-item quantity styling
   Added 2026-09-23
   ======================================== */

.quantity a.rounded-pill,
.rounded-button-icon {
    background: #14213D !important;
    color: #FFFFFF !important;
    border: 1px solid #14213D !important;
    transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.quantity a.rounded-pill:hover,
.quantity a.rounded-pill:focus,
.rounded-button-icon:hover,
.rounded-button-icon:focus {
    background: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

/* Remove / close controls remain neutral rather than looking like an action CTA */
.item-remove.rounded-pill,
.cart-item-remove.rounded-pill,
.drawer-preview-cart .item-remove,
.drawer-preview-cart .rounded-button-icon.item-remove {
    background: #94A3B8 !important;
    border-color: #94A3B8 !important;
    color: #FFFFFF !important;
}

.item-remove.rounded-pill:hover,
.item-remove.rounded-pill:focus,
.cart-item-remove.rounded-pill:hover,
.cart-item-remove.rounded-pill:focus,
.drawer-preview-cart .item-remove:hover,
.drawer-preview-cart .item-remove:focus {
    background: #64748B !important;
    border-color: #64748B !important;
    color: #FFFFFF !important;
}



/* ========================================
   MOW4U MENU UI SHAPE CLEANUP
   Menu tabs + quantity/add button shapes
   Added 2026-09-23
   ======================================== */

/* Restaurant menu/category navigation */
.menu-category a,
.menu-carousel a {
    color: #14213D !important;
    transition: color .2s ease, border-color .2s ease;
}

.menu-category a:hover,
.menu-carousel a:hover,
.menu-category a.active,
.menu-carousel a.active,
#menu-category .col a.active {
    color: #FF5A1F !important;
}

/* Active category underline */
.menu-category a.active,
.menu-carousel a.active,
#menu-category .col a.active {
    border-bottom-color: #FF5A1F !important;
}

/* Shared compact button shape */
.quantity a.rounded-pill,
.rounded-button-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    line-height: 30px !important;
    border-radius: 9px !important;
    padding: 0 !important;
}

/* Existing quantity controls remain navy */
.quantity a.rounded-pill {
    background: #14213D !important;
    border-color: #14213D !important;
    color: #FFFFFF !important;
}

/* Add-item buttons stay orange */
.rounded-button-icon:not(.item-remove),
a.rounded-button-icon:not(.item-remove) {
    background: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

/* Hover/focus states */
.quantity a.rounded-pill:hover,
.quantity a.rounded-pill:focus,
.rounded-button-icon:not(.item-remove):hover,
.rounded-button-icon:not(.item-remove):focus {
    background: #D94710 !important;
    border-color: #D94710 !important;
    color: #FFFFFF !important;
}

/* Remove / close controls remain neutral */
.item-remove.rounded-pill,
.cart-item-remove.rounded-pill,
.drawer-preview-cart .item-remove {
    border-radius: 9px !important;
}

/* Large primary actions */
.btn-green,
.btn-black,
.mow-confirm-location,
button[type="submit"] {
    border-radius: 10px;
}



/* ========================================
   MOW4U MENU ADD BUTTON SHAPE
   Added 2026-09-23
   ======================================== */

/* Menu-card add buttons: match the new compact UI shape */
.menu-item .rounded-button-icon,
.menu-items .rounded-button-icon,
.restaurant-menu .rounded-button-icon,
.section-menu .rounded-button-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    line-height: 30px !important;
    border-radius: 9px !important;
    padding: 0 !important;
    background: #FF5A1F !important;
    border: 1px solid #FF5A1F !important;
    color: #FFFFFF !important;
}

.menu-item .rounded-button-icon:hover,
.menu-items .rounded-button-icon:hover,
.restaurant-menu .rounded-button-icon:hover,
.section-menu .rounded-button-icon:hover {
    background: #D94710 !important;
    border-color: #D94710 !important;
}



/* ========================================
   MOW4U RESTAURANT CARD ADD BUTTONS
   Two-column restaurant menu cards only
   Added 2026-09-23
   ======================================== */

.button-fixed-buttom .el-button.is-circle {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    padding: 0 !important;
    border-radius: 9px !important;
    background-color: #FF5A1F !important;
    border-color: #FF5A1F !important;
    color: #FFFFFF !important;
}

.button-fixed-buttom .el-button.is-circle:hover,
.button-fixed-buttom .el-button.is-circle:focus {
    background-color: #D94710 !important;
    border-color: #D94710 !important;
    color: #FFFFFF !important;
}

/* Disabled menu-card add buttons stay neutral */
.button-fixed-buttom .el-button.is-circle.is-disabled,
.button-fixed-buttom .el-button.is-circle:disabled {
    background-color: #94A3B8 !important;
    border-color: #94A3B8 !important;
    color: #FFFFFF !important;
}

