﻿* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --background-color: #f1f2f4;
    --primary-color: #31e981;
    --text-main: #1c293b;
    --text-secondary: #424242;
    --border-color: #7b7b7b;
    --white: #ffff;
    --yellow: #ffd83c;
    --dark-prime: #138a36;
    --border-item: #e0e0e082;
    --subtext: #474646;
    --sub-price: #9e9e9e;
}

/* Import IBM Plex Sans */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&display=swap");

body {
    font-family: "IBM Plex Sans", sans-serif;
    /* background-color: #31E981; */
    background: var(--white);
    display: flex;
    justify-content: center;
}

a {
    text-decoration: none;
}
/* splash screen */

.custom-container {
    max-width: 700px;
    height: 100vh;
    width: 100%;
}

.splash-container {
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--primary-color);
    overflow: hidden;
}

.angled-background {
    position: absolute;
    width: 190%;
    height: 100px;
    background: var(--background-color);
    transform-origin: 0 0;
}

    .angled-background.top {
        transform: rotate(40deg);
        top: 0px;
        left: -100px;
    }

    .angled-background.bottom {
        transform: rotate(-18deg);
        bottom: 400px;
        left: -50px;
    }

.content-container {
    position: absolute;
    top: 480px;
    left: 16px;
    width: calc(100% - 32px);
}

.headline {
    font-size: 40px;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 14px 0;
}

.description {
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: var(--text-main);
    margin: 0 0 20px 0;
}

.order-button {
    display: block;
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    background: var(--background-color);
    border: 1px solid var(--text-main);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-align: center;
    cursor: pointer;
}

.image-container {
    position: absolute;
    top: -400px;
    left: -200px;
    cursor: pointer;
}

.rotated-image {
    width: 757px;
    height: auto;
    transform: rotate(105deg);
    mix-blend-mode: screen;
    opacity: 1;
}

.burger-image {
    position: absolute;
    width: 616px;
    height: auto;
    top: 400px;
    left: 90px;
}

/* splash screen css ends */

/* order type css */

.order-type {
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--primary-color);
    overflow: hidden;
}

.background {
    width: 100%;
    height: 523px;
    position: absolute;
    top: 0;
    left: 0;
    background: transparent;
}

.order-container {
    position: absolute;
    top: 363px;
    left: 0;
    width: 100%;
    height: 481px;
    padding: 164px 16px 101px 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 12%, white 31%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.order-content-container {
    width: 100%;
    height: 216px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 24px;
}

.text-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.heading {
    color: var(--text-main);
    font-size: 24px;
    font-weight: 700;
    word-wrap: break-word;
}

.subheading {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 400;
    word-wrap: break-word;
}

.options-container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
}

.option-card {
    flex: 1 1 0;
    height: 101px;
    padding: 10px;
    background: var(--white);
    box-shadow: 0px 4px 10px rgba(28, 41, 59, 0.1);
    border: 1px solid rgba(123, 123, 123, 0.1);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dining-table-icon {
    background: url("/assets/icons/dinein.svg");
}

.courier-icon {
    background: url("/assets/icons/takeaway.svg");
}

.option-label {
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
    word-wrap: break-word;
}

.overlayflame-image {
    width: 926px;
    height: auto;
    mix-blend-mode: screen;
    opacity: 1;
    z-index: 999;
    position: absolute;
}

.pizza-image {
    position: absolute;
    width: 459px;
    height: auto;
    top: 354px;
    left: 155px;
}

.logo {
    position: absolute;
    left: 24px;
    z-index: 9999;
    top: 24px;
}

    .logo img {
        width: 50%;
    }

/* order type css ends */

/* categories css */
.food-menu {
    padding: 50px 16px 50px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}

.food-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
   /* padding: 16px 0;*/
}

.food-menu-title {
    color: var(--text-main);
    font-size: 24px;
    font-weight: 700;
    width: 200px;
}

.food-menu-back {
    width: 40px;
    height: 40px;
    padding: 2.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.icon-container {
    width: 35px;
    height: 35px;
    left: 0;
    top: 0;
}

.food-menu-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
}

.food-menu-card {
    width: calc((100% - 16px) / 2);
    padding: 16px 8px;
    background: var(--white);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.food-menu-card-icon {
    width: 75px;
    height: 60px;
}

.food-menu-card-title {
    text-align: center;
    color: var(--text-main);
    font-size: 16px;
    font-weight: 500;
}

/* categories css ends */

/* menu items css */

.menu-items-page {
    padding: 50px 16px 50px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-title {
    font-size: 24px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 700;
    color: var(--text-main);
}

.menu-item-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.menu-item-card {
    width: calc((100% - 16px) / 2);
    background: var(--white);
    border-radius: 16px;
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.menu-item-image {
    width: 75px;
    height: 60px;
}

.menu-item-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.menu-item-name {
    font-size: 16px;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
}

.menu-item-divider {
    width: 100%;
    border: none;
    height: 1px;
    background: repeating-linear-gradient(to right, rgba(153, 153, 153, 0.2) 0, rgba(153, 153, 153, 0.2) 2px, transparent 2px, transparent 6px);
}

.menu-item-info {
    display: flex;
    justify-content: space-between;
    width: 133px;
}

.menu-item-calories,
.menu-item-price {
    font-size: 13px;
    font-family: "IBM Plex Sans", sans-serif;
}

.menu-item-calories {
    color: var(--border-color);
    text-align: left;
}

.menu-item-price {
    color: var(--text-main);
    font-weight: 700;
    text-align: right;
}

/* menu items css ends*/

/* single product css  */
.single-product {
    padding: 50px 0px 50px 0px;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}

    .single-product .food-menu-header {
        padding: 0px 16px 0px 16px;
    }

.product-title {
    font-size: 24px;
    font-weight: 700;
}

.s-background {
    width: 100%;
    height: 452px;
    background: var(--primary-color);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    position: absolute;
    bottom: 0;
}

.product-details {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 452px;
    background: linear-gradient(to bottom right, #ffffff24, #fdfdfd40, #fefefe8f, #ffffff00, #ffffff00);
    backdrop-filter: blur(20px);
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.product-image {
    width: 355px;
    height: 296px;
    margin-top: -180px;
    object-fit: cover;
}

.details-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.price {
    font-size: 40px;
    font-weight: 700;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-button {
    width: 40px;
    height: 40px;
    background-color: var(--text-main);
    color: var(--white);
    font-size: 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.quantity-display {
    width: 78px;
    height: 40px;
    background-color: var(--background-color);
    border: 1px solid var(--text-main);
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
}

.customize-order {
    padding: 8px 16px;
    background-color: var(--yellow);
    border: 1px solid #1c293b;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
}

.footer-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background-color: var(--white);
    border-top: 1px solid var(--dark-prime);
}

.action-buttons {
    display: flex;
    gap: 16px;
}

.shop-more-button,
.add-to-cart-button {
    flex: 1;
    padding: 14px 16px;
    background: var(--primary-color);
    border-radius: 8px;
    font: 700 13px sans-serif;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
}

.shop-more-button {
    border: 1px solid var(--text-main);
    background-color: var(--white);
}

.add-to-cart-button {
    background-color: var(--primary-color);
    border: 1px solid var(--text-main);
}

/* Description */
.description {
    margin: 16px;
    font-size: 13px;
    line-height: 19px;
    text-align: justify;
}


/* single product css ends */

/* cart */

.cart-container {
    width: 390px;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    height: 844px;
    box-sizing: border-box;
    gap: 0;
}

.back-icon {
    position: relative;
    width: 36px;
    height: 36px;
}

.circle-outer {
    width: 36px;
    height: 36px;
    background: #1D3557;
    border-radius: 50%;
}

.circle-inner {
    width: 18px;
    height: 18px;
    background: #FFFFFF;
    position: absolute;
    top: 9px;
    left: 9px;
    border-radius: 50%;
}

.cart-orders {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 16px;
}

.orders-title {
    font-size: 18px;
    font-weight: 600;
    color: #1D3557;
}

.order-list {
    background: #F8F9FA;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-item {
    padding: 16px;
    border-radius: 10px;
    border: 1px solid #E1E1E1;
}

.item-details-ordered {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
}

.product-thumbnail {
    width: 50px;
    height: 50px;
    background: #FFFFFF;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .product-thumbnail img {
        width: 40px;
        height: 40px;
    }

.product-info {
    flex: 1;
    margin: 0 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-name {
    font-size: 14px;
    font-weight: bold;
    color: #1D3557;
}

.product-description {
    font-size: 12px;
    color: #6C757D;
}

.product-actions {
    text-align: right;
}

.product-price {
    font-size: 14px;
    font-weight: bold;
    color: #1D3557;
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.btn-decrease,
.btn-increase {
    background: #1D3557;
    color: #FFFFFF;
    border: none;
    border-radius: 4px;
    width: 28px;
    height: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.quantity-display {
    width: 48px;
    text-align: center;
    border: 1px solid #1D3557;
    border-radius: 4px;
    line-height: 28px;
    font-size: 14px;
    height:43px;
    padding-left:10px;
}

/* Payment Summary Section */
.cart-summary {
    padding: 0px 16px;
    margin-bottom: 16px;
    flex-shrink: 0;
}

.summary-title {
    font-size: 18px;
    font-weight: 600;
    color: #1D3557;
}

.summary-details {
    background: #F8F9FA;
    padding: 16px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #495057;
}

    .summary-row.total {
        font-weight: bold;
        color: #1D3557;
    }

.divider-line {
    margin: 10px 0;
    border: 0;
    height: 1px;
    background: #E1E1E1;
}


.item-buttons {
    display: flex;
    justify-content: space-between;
}

    .item-buttons .btn-edit,
    .btn-delete {
        padding-left: 16px;
        padding-right: 16px;
        padding-top: 8px;
        padding-bottom: 8px;
        border-radius: 8px;
        border: 1px rgba(123.25, 123.25, 123.25, 0.20) solid;
        justify-content: center;
        align-items: center;
        gap: 10px;
        cursor: pointer;
    }

.btn-edit {
    display: flex;
    gap: 8px;
}

.product-actions {
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.custom-container1 {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
}



.footer-card1 {
    padding: 16px;
    flex-shrink: 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    background: white;
    position: static;
}

    .footer-card1 .footer-details {
        display: flex;
        gap: 16px;
        width: 100%;
    }

        .footer-card1 .footer-details .shop-more-button,
        .footer-card1 .footer-details .add-to-cart-btn {
            flex: 1;
            padding: 14px 16px;
            border-radius: 8px;
            font: 700 13px sans-serif;
            text-align: center;
            cursor: pointer;
            text-transform: uppercase;
            border: none;
            white-space: nowrap;
        }

.shop-more-button {
    border: 1px solid var(--border-color) !important;
}

/* cart ends*/


/* customer details */
.customer-details-page {
    padding: 50px 16px 50px 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}


.description-text {
    width: 339px;
    margin: 16px 0px;
    color: #424242;
    font-size: 13px;
    font-weight: 500;
    line-height: 19px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 390px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.phone-group {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-direction: row;
}

.country-code-group {
    flex: 0 0 80px;
}

.phone-number-group {
    flex: 1;
}

.form-label {
    font-size: 14px;
    color: #1C293B;
    font-weight: 500;
}

    .form-label.hidden {
        display: none;
    }

.form-input {
    height: 45px;
    padding: 12px 15px;
    border: 1px solid #1C293B;
    border-radius: 8px;
    font-size: 14px;
    color: #1C293B;
    outline: none;
    width: 100%;
}

    .form-input:focus {
        border-color: #31E981;
        box-shadow: 0 0 4px #31E981;
    }

.country-code {
    appearance: none;
    background: #F9FAFB;
    cursor: pointer;
}


.button-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.primary-button,
.secondary-button {
    width: 100%;
    height: 50px;
   /* padding: 8px 16px;*/
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.65px;
    text-align: center;
    cursor: pointer;
}

.primary-button {
    background: #31E981;
    color: #1C293B;
    border: 1px solid #1C293B;
}

.secondary-button {
    background: transparent;
    color: #1C293B;
    border: 1px solid #1C293B;
}

/* customer details css ends */

/* otp verification css */
.otp-group {
    margin-top: 20px;
    text-align: left;
}

.form-label {
    font-size: 14px;
    color: #1C293B;
    font-weight: 500;
    display: block;
    margin-bottom: 8px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.otp-input {
    width: 77px;
    height: 50px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    border: 1px solid #1C293B;
    border-radius: 8px;
    outline: none;
}

    .otp-input:focus {
        border-color: #31E981;
        box-shadow: 0 0 4px #31E981;
    }

    .otp-input::-webkit-outer-spin-button,
    .otp-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .otp-input[type="text"] {
        -moz-appearance: textfield;
    }



/* payment option */

.multiple-payments {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 40px;
}


.payment-option {
    width: 100%;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 10px 15px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .payment-option:hover {
        border-color: #31E981;
    }

.radio-label {
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
}

.icon {
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon {
    width: 24px;
    height: 16px;
}

.payment-text {
    flex-grow: 1;
    font-size: 16px;
    font-weight: 500;
    color: #1C293B;
}

.radio-input {
    display: none;
}

.custom-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #1C293B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .custom-radio::after {
        content: '';
        width: 12px;
        height: 12px;
        background-color: transparent;
        border-radius: 50%;
        transition: all 0.3s ease;
    }

.radio-input:checked + .custom-radio::after {
    background-color: #31E981;
}




/* new-cat and menu css */

.menu-container {
    padding: 0px 16px 0px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 16px;
}

.header-title {
    font-size: 24px;
    font-weight: 700;
    color: #1C293B;
}

.header-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.arrow-icon {
    position: relative;
    width: 35px;
    height: 35px;
}

.arrow-bg {
    position: absolute;
    width: 33.32px;
    height: 33.32px;
    background: #31E981;
    border-radius: 50%;
}

.arrow-shape {
    position: absolute;
    width: 35px;
    height: 35px;
    background: #1C293B;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.menu-nav {
    display: flex;
    justify-content: space-between;
    background-color: #FFFFFF;
    border-bottom: 1px solid #ccc;
    overflow-x: auto;
    height: 50%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.menu-item {
    flex: 1;
    text-align: center;
    padding: 8px 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    margin: 0px 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .menu-item a {
        text-decoration: none;
        color: #1C293B;
        display: block;
        width: 100%;
    }

    .menu-item.aactive {
        border-bottom: 3px solid black;
    }


.menu-main {
    padding: 0px 16px;
    overflow-y: scroll;
    margin-top: -30px;
}

.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1C293B;
    margin-bottom: 24px;
    margin-top: 24px;
}

.card-container {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: white;
    border-radius: 16px;
}

.card-image {
    width: 50px;
    height: 40px;
}

.card-details {
    display: flex;
    justify-content: space-between;
    flex: 1;
    align-items: center;
}

.card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-title {
    font-size: 14px;
    font-weight: 500;
    color: #1C293B;
}

.card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calories {
    font-size: 13px;
    color: #7C7A7A;
}

.price {
    font-size: 13px;
    font-weight: 700;
    color: #1C293B;
}

.add-button {
    padding: 8px 16px;
    background: #1C293B;
    color: white;
    font-size: 12px;
    font-weight: 500;
    border-radius: 3px;
    border: none;
    cursor: pointer;
}

.menu-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: white;
    border-top: 1px solid #138A36;
}
.footer-actions {
    display: flex;
    justify-content: space-between; /* Distributes elements */
    align-items: center;
    width: 100%; /* Ensures full width */
    padding: 8px 16px; /* Adds spacing */
    box-sizing: border-box; /* Ensures padding doesn’t affect width */
    gap: 8px;
}

    .footer-actions div,
    .footer-actions a {
        display: flex;
        align-items: center;
        z-index: 9999;
    }

.shop-more-button,
.add-to-cart-button {
    /*padding: 8px 16px;*/
    border: 1px solid #1C293B;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.shop-more-button {
    background: transparent;
    color: #1C293B;
}

    .shop-more-button:hover {
        background: rgba(28, 41, 59, 0.05);
    }


.add-to-cart-button {
    background: #31E981;
    color: #1C293B;
}
    .add-to-cart-button:hover {
        background: #2BD175;
    }

.total-price {
    font-size: 24px;
    font-weight: 700;
    color: #1C293B;
    margin-left: auto; /* Pushes the total price to the right */
}

/* new cat-menu css ends */


/* success page */
.success-page {
    padding: 50px 16px 50px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    width: 100%;
    max-width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}

.success-animation {
    width: 92px;
    height: 102px;
    margin: 0 auto;
    margin-top: 127px;
}

.success-title {
    color: #1C293B;
    font-size: 23px;
    font-weight: 600;
    margin-top: 25px;
    text-align: center;
}

.success-message {
    color: #424242;
    font-size: 13px;
    line-height: 19px;
    font-weight: 400;
    margin: 20px auto 0;
    max-width: 320px;
    text-align: center;
}

.token-number {
    color: #1C293B;
    font-size: 36px;
    font-weight: 700;
    margin-top: 15px;
    text-align: center;
}

.button-container {
    /* position: absolute; */
    bottom: 20px;
    width: 100%;
    text-align: center;
}

.back-to-menu-button {
    width: 90%;
    height: 50px;
    border: 1px solid #1C293B;
    border-radius: 8px;
    background-color: transparent;
    color: #1C293B;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.65px;
    cursor: pointer;
    text-transform: uppercase;
}

    .back-to-menu-button:hover {
        background-color: #1C293B;
        color: #F1F2F4;
        transition: background-color 0.3s ease;
    }

.success-animation {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    margin-top: 50px;
}


/* ---------------------------------------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------------------------------------- */






/* common */
.active {
    border: 1px solid var(--text-main);
}

/* off canvas */

.customize-order {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.product-details .off-canvas {
    position: fixed;
    top: -87%;
    right: -100%;
    width: 100%;
    height: -webkit-fill-available;
    background-color: var(--background-color);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.off-canvas.open {
    right: 0;
}

.off-canvas-content {
    padding-bottom: 80px;
    overflow-y: auto;
    /* max-height: calc(100vh - 10px); */
    max-height: -webkit-fill-available;
}

.close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

/*.customize-product {
    width: 100%;
    height: auto;
    padding: 16px 0px 16px 0px;
    padding-bottom: 42px;
    background: var(--background-color);
    backdrop-filter: blur(50px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}*/

.customize-product {
    padding: 50px 16px 50px 16px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
   /* width: 100%;*/
    width: 390px;
    height: 844px;
    margin: 0 auto;
    background: var(--background-color);
    overflow: hidden;
}

.header {
    width: 100%;
    padding: 0px 16px 0px 16px;
    background: var(--background-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
}

.header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 24px;
}

.header-title {
    width: 245px;
    color: var(--text-main);
    font-size: 20px;
    font-weight: 600;
}

.header-divider {
    width: 100%;
    border: 0.5px solid rgba(28, 41, 59, 0.5);
}

.content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 16px;
    overflow-y: auto; /* Enable scrolling for this area */
}

.cart-section {
    width: 100%;
    background: var(--white);
    border-radius: 10px;
    padding: 8px;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: var(--white);
    padding: 2px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-item);
}

.item-image-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    border-radius: 5px;
}

.item-image {
    width: 40px;
    height: 40px;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    color: var(--text-main);
    font-size: 14px;
    font-weight: 500;
}

.item-price {
    color: rgba(0, 18, 11, 0.8);
    font-size: 12px;
    font-weight: 500;
}

.item-quantity, .item-quantity-modifier {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-decrement,
.quantity-increment,
.quantity-decrement-modifier,
.quantity-increment-modifier {
    width: 24px;
    height: 24px;
    background: var(--text-main);
    color: var(--white);
    border: none;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.quantity-value, .quantity-value-modifier {
    width: 42px;
    height: 27px;
    background: var(--white);
    border: 1px solid var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
    text-align:center;
    padding-left:9px;
}

.extras-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.extras-title {
    color: var(--subtext);
    font-size: 16px;
    font-weight: 500;
}

.extras-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: var(--white);
    padding: 8px;
    border-radius: 8px;
}

.extras-card {
    width: 100%;
    max-width: 360px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border-item);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.extras-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.extras-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.extras-price {
    font-size: 12px;
    color: var(--sub-price);
}

.extras-add-button {
    background: var(--text-main);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .extras-add-button:hover {
        background: var(--text-main);
    }

.add-on-card {
    width: 100%;
    max-width: 360px;
    padding: 12px 16px;
    background: var(--white);
    border: 1px solid var(--border-item);
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.add-on-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.add-on-image {
    width: 40px;
    height: 60px;
    object-fit: contain;
}

.add-on-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.add-on-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.add-on-price {
    font-size: 12px;
    color: var(--sub-price);
}

.add-on-add-button {
    background: var(--text-main);
    color: var(--white);
    font-size: 12px;
    font-weight: 500;
    padding: 8px 12px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .add-on-add-button:hover {
        background: var(--text-main);
    }

.footer-card {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 1px solid var(--border-item);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.off-canvas.open .footer-card {
    opacity: 1;
    pointer-events: auto;
}

.footer-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.footer-total {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-main);
    flex: 1;
    text-align: left;
}

.add-to-cart-btn {
    background: var(--primary-color);
    color: var(--text-main);
    font-size: 14px;
    font-weight: 600;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    flex: 1;
    max-width: 150px;
    text-align: center;
}

/*    .add-to-cart-btn:hover {
        background: var(--hover-color);
    }*/

/* offcanvas style ends */
.offcanvas {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    background-color: var(--background-color);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

.offcanvas-header {
    padding: 16px;
    background: #1D3557;
    color: #FFFFFF;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.offcanvas-title {
    font-size: 18px;
    font-weight: bold;
}

.offcanvas-close {
    background: none;
    border: none;
    color: #FFFFFF;
    font-size: 18px;
    cursor: pointer;
}

.offcanvas-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hidden {
    display: none;
}

.offcanvas.show {
    transform: translateX(0);
}

    .offcanvas.show .footer-card {
        opacity: 1;
        pointer-events: auto;
    }


.buttons-container {
    margin-top: auto; /* Pushes the button to the bottom */
    position: sticky;
    bottom: 0;
    width: 100%;
    text-align: center;
}


.payment-button {
    width: 100%;
    max-width: 400px; /* Set a max-width for better alignment */
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    background-color: #31E981;
    color: var(--text-main);
    cursor: pointer;
}


.off-canvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: white;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}

    .off-canvas.show {
        right: 0;
    }

.off-canvas-content {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.off-canvas.show ~ .footer-actions {
    display: none;
}

.footer-card {
    margin-top: auto;
    background: white;
    padding: 16px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}