:root {
    --order-green: #20b75a;
    --order-green-dark: #16984a;
    --order-ink: #20242c;
    --order-muted: #747b87;
    --order-line: #e7e9ed;
    --order-soft: #f7f8fa;
}

/* Location onboarding */
.location-page-body {
    min-height: 100vh;
    background: #f7f8fa;
}

.location-page-body > footer,
.location-page-body .siddhi-menu-fotter {
    display: none !important;
}

.location-page {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 24px;
    background: radial-gradient(circle at 85% 15%, rgba(32,183,90,.12), transparent 30%), #f7f8fa;
}

.location-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    width: min(1120px, 100%);
    height: min(610px, calc(100vh - 48px));
    min-height: 520px;
    margin: auto;
    overflow: hidden;
    border: 1px solid var(--order-line);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(25, 38, 31, .1);
}

.location-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 52px;
}

.location-brand {
    display: inline-block;
    width: 105px;
    margin-bottom: 28px;
}

.location-brand img,
.location-logo-mark img {
    display: block;
    width: 100%;
    height: auto;
}

.location-eyebrow {
    color: var(--order-green);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .13em;
}

.location-copy h1 {
    max-width: 520px;
    margin: 13px 0 15px;
    color: var(--order-ink);
    font-size: clamp(32px, 3.5vw, 46px);
    font-weight: 800;
    line-height: 1.08;
}

.location-copy p {
    max-width: 530px;
    margin: 0 0 22px;
    color: var(--order-muted);
    font-size: 16px;
    line-height: 1.65;
}

.location-input-wrap {
    display: flex;
    align-items: center;
    min-height: 58px;
    overflow: hidden;
    border: 1px solid #dfe4e8;
    border-radius: 14px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}

.location-input-wrap:focus-within {
    border-color: var(--order-green);
    box-shadow: 0 0 0 4px rgba(32,183,90,.1);
}

.location-input-wrap > i {
    width: 52px;
    height: 34px;
    margin-left: 0;
    flex: 0 0 52px;
    display: grid;
    place-items: center;
    border-right: 1px solid var(--order-line);
    color: var(--order-green);
    font-size: 20px;
}

.location-input-wrap input {
    flex: 1;
    min-width: 0;
    height: 56px;
    padding: 0 14px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--order-ink);
    font-size: 14px;
}

.location-input-wrap .locate-me {
    align-self: stretch;
    padding: 0 18px;
    border: 0;
    border-left: 1px solid var(--order-line);
    background: #f6fbf8;
    color: var(--order-green);
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.location-input-wrap .locate-me i { margin-right: 6px; }

.location-group .btn-continue {
    width: 100%;
    min-height: 54px;
    margin-top: 14px;
    border: 0;
    border-radius: 14px;
    background: var(--order-green);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(32,183,90,.2);
    cursor: pointer;
}

.location-group .btn-continue:hover { background: var(--order-green-dark); }

.location-privacy {
    margin: 18px 0 0;
    color: #949aa4;
    font-size: 11px;
}

.location-privacy i { margin-right: 5px; }

.location-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg, #eaf8ef, #c9eed7);
}

.location-visual-glow {
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    background: rgba(255,255,255,.58);
    box-shadow: 0 0 0 55px rgba(255,255,255,.2), 0 0 0 110px rgba(255,255,255,.12);
}

.location-logo-mark {
    position: relative;
    z-index: 1;
    width: 170px;
    padding: 30px 24px;
    border-radius: 30px;
    background: rgba(255,255,255,.9);
    box-shadow: 0 24px 55px rgba(24,94,52,.16);
}

.location-feature {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.8);
    border-radius: 15px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 12px 30px rgba(24,94,52,.12);
}

.location-feature i { color: var(--order-green); font-size: 20px; }
.location-feature strong, .location-feature small { display: block; }
.location-feature strong { color: var(--order-ink); font-size: 12px; }
.location-feature small { margin-top: 2px; color: var(--order-muted); font-size: 10px; }
.location-feature-one { top: 19%; left: 8%; }
.location-feature-two { right: 7%; bottom: 18%; }

@media (max-width: 820px) {
    .location-page { padding: 18px; }
    .location-shell { grid-template-columns: 1fr; min-height: auto; }
    .location-card { padding: 34px 26px 38px; }
    .location-brand { width: 145px; margin-bottom: 45px; }
    .location-visual { display: none; }
}

@media (max-width: 480px) {
    .location-input-wrap { flex-wrap: wrap; overflow: visible; }
    .location-input-wrap > i { position: absolute; }
    .location-input-wrap input { flex-basis: calc(100% - 38px); margin-left: 34px; }
    .location-input-wrap .locate-me { width: 100%; min-height: 46px; border-top: 1px solid var(--order-line); border-left: 0; border-radius: 0 0 14px 14px; }
}

/* Restaurant and product selection */
.vendor-page .resturant-banner-inner,
.vendor-page .rest-basic-detail,
.vendor-page #category-list > *,
.vendor-page #product-list > *,
.product-detail-page .car-del-top-section,
.product-detail-page .card {
    border-radius: 18px !important;
}

.vendor-page .resturant-banner-left img,
.vendor-page .resturant-banner-right img {
    border-radius: 16px !important;
}

.vendor-page .rest-basic-detail {
    margin-top: 12px;
    padding: 22px !important;
    border: 1px solid var(--order-line);
    background: #fff;
    box-shadow: 0 8px 30px rgba(30, 36, 44, .06);
}

.vendor-page #vendor_title {
    font-size: 24px !important;
    color: var(--order-ink);
}

.vendor-page .restaurant-detail-left > div,
.vendor-page .restaurant-detail-right > div {
    overflow: hidden;
    border-radius: 16px;
}

.vendor-page .product-list .card,
.vendor-page .list-card,
.product-detail-page .car-del-top-section {
    border: 1px solid var(--order-line) !important;
    box-shadow: 0 8px 26px rgba(32, 36, 44, .06) !important;
}

.product-detail-page {
    background: #fafafa;
}

.product-detail-page .car-del-top-section {
    padding: 18px;
    background: #fff;
}

.product-detail-page #product-detail img {
    border-radius: 16px !important;
}

.product-detail-page .add-to-cart,
.product-detail-page .booknow {
    min-height: 52px;
    border-radius: 12px !important;
    font-weight: 700;
}

.product-detail-page .add-to-cart:not(.booknow) {
    border: 1px solid var(--order-green) !important;
    background: #fff !important;
    color: var(--order-green) !important;
}

.product-detail-page .booknow {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    background: var(--order-green) !important;
    color: #fff !important;
}

.product-detail-page .quantity {
    margin-top: 28px !important;
    margin-bottom: 12px !important;
}

.product-detail-page .quantity .product-item-box {
    min-height: 48px;
}

.product-detail-page .quantity h3 {
    color: var(--order-ink);
    font-size: 15px !important;
    font-weight: 700;
    letter-spacing: .04em;
}

.product-detail-page .count-number {
    display: inline-flex !important;
    align-items: center;
    overflow: hidden;
    width: 126px;
    height: 44px;
    border: 1px solid #dfe4e8 !important;
    border-radius: 22px !important;
    background: var(--order-soft) !important;
}

.product-detail-page .count-number .product-qty-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: transparent !important;
    color: var(--order-green) !important;
    font-size: 20px !important;
    box-shadow: none !important;
}

.product-detail-page .count-number .product-qty-change:hover,
.product-detail-page .count-number .product-qty-change:focus {
    background: rgba(32, 183, 90, .1) !important;
    outline: none !important;
}

.product-detail-page .count-number .count-number-input {
    flex: 1;
    width: 44px !important;
    height: 42px !important;
    padding: 0 !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: var(--order-ink) !important;
    font-size: 18px !important;
    font-weight: 700;
    text-align: center;
    box-shadow: none !important;
}

.product-detail-page .addtocart {
    display: block !important;
    margin-top: 0 !important;
}

.product-detail-page .addtocart .booknow {
    display: block !important;
}

/* Checkout */
.siddhi-checkout {
    min-height: 100vh;
    background: #f7f8fa;
}

.siddhi-checkout .checkout-left-box,
.siddhi-checkout #cart_list,
.siddhi-checkout .add-note,
.siddhi-checkout .addres-innerbox {
    border: 1px solid var(--order-line) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 30px rgba(30, 36, 44, .055) !important;
}

.siddhi-checkout .checkout-left-box {
    overflow: hidden;
}

.siddhi-checkout .add-note {
    margin-bottom: 18px;
    padding: 18px 20px 20px;
    background: #fff;
}

.siddhi-checkout .add-note h3 {
    margin: 0 0 12px;
    color: var(--order-ink);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.siddhi-checkout .add-note textarea {
    display: block;
    width: 100%;
    min-height: 105px;
    padding: 12px 14px;
    resize: vertical;
    border: 1px solid var(--order-line);
    border-radius: 12px;
    outline: none;
    background: #fafbfc;
    color: var(--order-ink);
    font: inherit;
    line-height: 1.5;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.siddhi-checkout .add-note textarea::placeholder {
    color: var(--order-muted);
}

.siddhi-checkout .add-note textarea:focus {
    border-color: var(--order-green);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(32, 183, 90, .1);
}

.siddhi-checkout .chec-out-title h6,
.siddhi-checkout .siddhi-card-header h6,
.siddhi-checkout .sidebar-header h3 {
    font-size: 18px !important;
    color: var(--order-ink);
}

.siddhi-checkout .checkout-payment-options > div:not(#stripe_box) {
    display: none !important;
}

.siddhi-checkout #stripe_box {
    display: block;
    margin: 14px;
    padding: 18px 18px 18px 48px !important;
    border: 1px solid var(--order-green) !important;
    border-radius: 14px;
    background: rgba(32, 183, 90, .055);
}

.siddhi-checkout #stripe_box label {
    display: block;
    width: 100%;
    margin: 0;
    color: var(--order-ink);
    font-weight: 700;
}

.siddhi-checkout #stripe_box .custom-control-input {
    opacity: 0;
}

.siddhi-checkout #stripe_box label small {
    display: block;
    margin-top: 3px;
    color: var(--order-muted);
    font-size: 12px;
    font-weight: 400;
}

.siddhi-checkout .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--order-green);
    background: var(--order-green);
}

.schedule-order h3,
.delivery-box h3,
.delevery-partner h3 {
    margin-bottom: 12px;
    color: var(--order-ink);
    font-size: 15px;
    font-weight: 700;
}

.delivery-time-options {
    display: grid;
    gap: 9px;
}

.delivery-time-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 62px;
    margin: 0;
    padding: 11px 14px;
    border: 1px solid var(--order-line);
    border-radius: 13px;
    background: #fff;
    cursor: pointer;
}

.delivery-time-option:has(input:checked) {
    border-color: var(--order-green);
    background: rgba(32, 183, 90, .05);
}

.delivery-time-option strong,
.delivery-time-option small {
    display: block;
}

.delivery-time-option strong {
    color: var(--order-green);
    font-size: 13px;
}

.delivery-time-option small {
    margin-top: 2px;
    color: var(--order-muted);
    font-size: 10px;
}

.delivery-time-option input {
    width: 17px;
    height: 17px;
    accent-color: var(--order-green);
}

.schedule-time-field {
    display: block;
    margin-top: 10px;
}

.schedule-time-field input {
    width: 100%;
    height: 44px;
    padding: 8px 11px;
    border: 1px solid var(--order-line);
    border-radius: 10px;
}

.delevery-partner .tip-box {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.delevery-partner .tip-box > .custom-control {
    display: block !important;
    width: 100% !important;
    min-height: auto;
    padding: 0 !important;
    border: 0 !important;
}

.delevery-partner .tip-box .custom-control-input {
    display: none !important;
}

.delevery-partner .tip-box .custom-control-label {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: 42px !important;
    margin: 0 !important;
    padding: 7px 8px !important;
    border: 1px solid var(--order-line) !important;
    border-radius: 22px !important;
    background: #fff !important;
    color: var(--order-ink) !important;
    font-size: 12px;
    cursor: pointer;
    width: 100% !important;
    white-space: nowrap;
}

.siddhi-checkout #coupon_code {
    min-width: 0;
}

.siddhi-checkout #apply-coupon-code {
    min-width: 84px;
}

.siddhi-checkout #apply-coupon-code.is-loading {
    cursor: wait;
    opacity: .7;
}

.delevery-partner .tip-box .custom-control-label::before,
.delevery-partner .tip-box .custom-control-label::after {
    display: none !important;
    content: none !important;
}

.delevery-partner .tip-box .custom-control-input:checked ~ .custom-control-label {
    border-color: var(--order-green) !important;
    background: rgba(32, 183, 90, .06) !important;
    color: var(--order-green) !important;
    box-shadow: 0 0 0 2px rgba(32, 183, 90, .08);
}

.delevery-partner .tip-box .currency-symbol-left,
.delevery-partner .tip-box .currency-symbol-right {
    position: static !important;
    display: inline !important;
    float: none !important;
    width: auto !important;
    margin: 0 2px 0 0 !important;
}

.delevery-partner #add_tip_box {
    grid-column: 1 / -1;
}

.delevery-partner #add_tip_box[hidden] {
    display: none !important;
}

.delevery-partner #tip_amount {
    width: 100%;
    height: 42px;
    padding: 8px 12px;
    border: 1px solid var(--order-line);
    border-radius: 10px;
}

.count-number-box .cart-item-price {
    display: block;
    width: 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--order-ink) !important;
}

.siddhi-cart-item .sidebar-item-list .product-item {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto 34px;
    align-items: center !important;
    gap: 12px;
    min-height: 82px;
    padding: 12px !important;
    border: 1px solid #e3ebe6 !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #fff, #fbfefc);
    box-shadow: 0 6px 18px rgba(24, 71, 44, .06);
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.siddhi-cart-item .sidebar-item-list .product-item:hover {
    transform: translateY(-1px);
    border-color: rgba(32, 183, 90, .35) !important;
    box-shadow: 0 10px 23px rgba(24, 71, 44, .1);
}

.siddhi-cart-item .sidebar-item-list .product-item > .media {
    width: auto;
    max-width: none;
    min-width: 0;
    padding: 0;
}

.siddhi-cart-item .sidebar-item-list .product-name {
    gap: 10px;
    min-width: 0;
}

.siddhi-cart-item .sidebar-item-list .product-name img {
    width: 46px !important;
    height: 46px !important;
    max-width: 46px !important;
    max-height: 46px !important;
    flex: 0 0 46px;
    padding: 7px;
    border-radius: 12px !important;
    object-fit: contain;
    background: linear-gradient(135deg, #effff5, #dcf8e7);
}

.siddhi-cart-item .sidebar-item-list .product-name .item-details {
    min-width: 0;
    max-width: none;
}

.siddhi-cart-item .sidebar-item-list .product-name .item-details p {
    overflow: hidden;
    margin: 0 !important;
    color: #25332b !important;
    font-size: 14px !important;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.siddhi-cart-item .sidebar-item-list .count-number-box {
    width: auto;
    max-width: none;
    padding: 0;
}

.siddhi-cart-item .sidebar-item-list .count-number {
    display: inline-grid;
    grid-template-columns: 30px 34px 30px;
    align-items: center;
    overflow: hidden;
    border: 1px solid #dce7e0;
    border-radius: 10px;
    background: #fff;
}

.siddhi-cart-item .sidebar-item-list .count-number .btn {
    display: inline-grid;
    place-items: center;
    width: 30px;
    height: 32px;
    min-width: 30px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #68756d !important;
    box-shadow: none !important;
}

.siddhi-cart-item .sidebar-item-list .count-number .btn:hover {
    background: #effbf3 !important;
    color: #16a653 !important;
}

.siddhi-cart-item .sidebar-item-list .count-number-input {
    width: 34px !important;
    height: 32px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #16a653;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.siddhi-cart-item .sidebar-item-list .cart-item-price {
    margin-top: 6px !important;
    color: #25332b !important;
    font-size: 13px;
    font-weight: 800;
}

.siddhi-cart-item .sidebar-item-list .cart-remove-item {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f5f7f6;
    color: #87928c;
    font-size: 17px;
    opacity: 1;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.siddhi-cart-item .sidebar-item-list .cart-remove-item:hover,
.siddhi-cart-item .sidebar-item-list .cart-remove-item:focus {
    transform: scale(1.06);
    background: #fff0f0;
    color: #df4545;
    outline: 0;
}

.siddhi-cart-item .checkout-promo-row {
    overflow: hidden;
    border: 1px solid #dfe7e2;
    border-radius: 12px;
    background: #fff;
}

.siddhi-cart-item .checkout-promo-row .form-control,
.siddhi-cart-item .checkout-promo-row .btn {
    height: 46px;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 420px) {
    .siddhi-cart-item .sidebar-item-list .product-item {
        grid-template-columns: minmax(0, 1fr) auto 30px;
        gap: 8px;
        padding: 10px !important;
    }
    .siddhi-cart-item .sidebar-item-list .product-name img {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        flex-basis: 40px;
    }
}

.delevery-partner #tip_amount:disabled {
    cursor: not-allowed;
    background: #f3f5f4;
    color: #9aa39e;
}

@media (max-width: 767.98px) {
    .vendor-page .offer-section {
        padding-top: 10px !important;
    }

    .vendor-page .resturant-banner-left,
    .vendor-page .resturant-banner-right {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .vendor-page .resturant-banner-right {
        display: none;
    }

    .vendor-page .rest-basic-detail {
        padding: 16px !important;
    }

    .vendor-page .rest-basic-detail > .d-flex {
        display: block !important;
    }

    .vendor-page .feather_icon {
        margin: 14px 0 0 !important;
    }

    .vendor-page .restaurant-detail-left {
        overflow-x: auto;
        margin-bottom: 14px;
    }

    .product-detail-page {
        padding-top: 14px !important;
    }

    .product-detail-page .car-del-top-section {
        padding: 12px;
    }

    .product-detail-page #product-detail > [class*='col-'] {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .siddhi-checkout .py-5 {
        padding-top: 16px !important;
        padding-bottom: 24px !important;
    }

    .siddhi-checkout .checkout-left,
    .siddhi-checkout .col-md-4 {
        padding-right: 10px;
        padding-left: 10px;
    }

    .siddhi-checkout .col-md-4 {
        margin-top: 12px;
    }

    .siddhi-checkout .sticky_sidebar {
        position: static !important;
    }

    .delevery-partner .tip-box {
        gap: 6px;
    }

    .delevery-partner .tip-box .custom-control-label {
        min-height: 38px;
        padding: 6px 4px;
        font-size: 11px;
    }
}
