.drawer-buy-now {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 100;
    visibility: hidden;
}
.drawer-buy-now.active {
    visibility: visible;
}
.drawer-buy-now.active,
.drawer-buy-now__overlay,
.drawer-buy-now__main {
    transition: all 0.4s ease-out;
    will-change: transform;
}
.drawer-buy-now__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    z-index: 0;
    opacity: 0;
    visibility: hidden;
}
.drawer-buy-now.active .drawer-buy-now__overlay {
    opacity: 1;
    visibility: visible;
}
.drawer-buy-now__main {
    position: relative;
    width: 41.9375rem;
    height: 100%;
    background: #fff;
    z-index: 1;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
}
.drawer-buy-now.active .drawer-buy-now__main {
    transform: translateX(0);
}
.drawer-buy-now__header {
    display: flex;
    padding: 1.125rem 1.5rem;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(26, 26, 26, 0.25);
    background: #fff;
    margin-bottom: 0.875rem;
}
.drawer-buy-now__title {
    color: #000;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}
.drawer-buy-now__close-btn {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.drawer-buy-now__close-btn svg {
    width: 100%;
    height: 100%;
}
.drawer-buy-now__content {
    flex: 1 0 0;
}
.drawer-buy-now__food-list {
    list-style: none;
}

.drawer-buy-now__food-item-meta-mb {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-buy-now__food-item-note-toggle {
    color: #1a75bf;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    cursor: pointer;
}
.drawer-buy-now__food-item-detail {
    padding: 0.75rem 1.5rem;
}
.drawer-buy-now__food-item-note-content {
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0.88rem;
    margin-bottom: 1.13rem;
    background: #f2f2f2;
    width: auto;
    height: 2.25rem;
    border-radius: 0.5rem;
    overflow: hidden;
}
.drawer-buy-now__food-item-note-label {
    color: var(--Color-Body-text-100, #1a1a1a);
    font-family: "Shopee Display";
    font-size: 0.875rem;
    line-height: 1.225rem;
    font-style: normal;
    font-weight: 700;
    flex-shrink: 0;
    padding: 0.5rem 0.625rem;
    padding-right: 0.38rem;
}

.drawer-buy-now__food-item-note-textarea {
    color: var(--Color-Body-text-75, rgba(26, 26, 26, 0.75));
    font-family: "Shopee Display";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.225rem;
    resize: none;
    padding: 0.5rem 0.625rem;
    padding-left: 0;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: #f2f2f2;
    width: 100%;
    height: 2.25rem;
}

.drawer-buy-now__food-item-inner {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
}

.drawer-buy-now__food-item-thumbnail {
    width: 11.146rem;
    flex-shrink: 0;
    border-radius: 0.46356rem;
    margin-right: 1rem;
    align-self: stretch;
}
.drawer-buy-now__food-item-thumbnail img {
    width: 100%;
    height: 100%;
    border-radius: inherit;
}
.drawer-buy-now__food-item-content {
    width: 16.75rem;
    flex-shrink: 0;
}
.drawer-buy-now__food-item-title {
    color: #1a1a1a;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 0.25rem;
}
.drawer-buy-now__food-item-excerpt {
    color: rgba(26, 26, 26, 0.6);
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}
.drawer-buy-now__food-item-more {
    display: block;
    color: #1a75bf;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 0.75rem;
    cursor: pointer;
}
.drawer-buy-now__food-item-quanity-controller {
    display: flex;
    padding: 0.25rem;
    align-items: center;
    border-radius: 0.5rem;
    background: #eee;
    align-self: normal;
    width: fit-content;
}
.drawer-buy-now__food-item-quanity-btn {
    display: flex;
    padding: 0.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    background: #fff;
}
.drawer-buy-now__food-item-quanity-btn[data-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.drawer-buy-now__food-item-quanity-btn img {
    width: 1rem;
    height: auto;
}
.drawer-buy-now__food-item-quanity-value {
    margin: 0 0.75rem;
    color: #000;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
    width: 0.875rem;
}
.drawer-buy-now__food-item-meta {
    flex: 1 0 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-self: stretch;
}
.drawer-buy-now__food-item-unit-price {
    color: rgba(26, 26, 26, 0.75);
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}
.drawer-buy-now__footer {
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.04);
}
.drawer-buy-now__total-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}
.drawer-buy-now__total-price-label {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
.drawer-buy-now__total-price-value {
    color: #1a1a1a;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}
.drawer-buy-now__order-btn {
    display: flex;
    width: 100%;
    padding: 0.625rem 1.25rem;
    justify-content: center;
    align-items: center;
    border-radius: 62.5rem;
    background: var(--color-brand, #d32131);
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    transition: all 0.3s ease-out;
}
.drawer-buy-now__order-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.drawer-buy-now__food-item-unit-price--mb {
    display: none;
}
@media (min-width: 1024px) {
    .drawer-buy-now__order-btn:hover {
        background: #b30616;
    }
}
@media (max-width: 639.98px) {
    .drawer-buy-now__food-item-note-content {
        margin-top: 1rem;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        height: auto;
        background: transparent;
    }
    .drawer-buy-now__food-item-note-label {
        padding: 0;
        margin-bottom: 0.5rem;
    }
    .drawer-buy-now__food-item-note-textarea {
        color: var(--Color-Body-text-75, rgba(26, 26, 26, 0.75));
        font-family: "Shopee Display";
        font-size: 0.75rem;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 1.05rem */
        padding: 0.5rem 0.625rem;
        height: 4.375rem;
    }
    .drawer-buy-now {
        align-items: flex-end;
    }
    .drawer-buy-now__main {
        width: 100%;
        height: 28.125rem;
        max-height: 70vh;
        border-radius: 1.5rem 1.5rem 0 0;
        background: #fff;
        overflow: hidden;
        transform: translateY(100%);
    }
    .drawer-buy-now.active .drawer-buy-now__main {
        transform: translateY(0);
    }
    .drawer-buy-now__header {
        padding: 0.75rem 1rem;
    }
    .drawer-buy-now__title {
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
    .drawer-buy-now__food-item-detail {
        padding: 0 1rem;
    }
    .drawer-buy-now__food-item-thumbnail {
        width: 5.75rem;
        align-items: initial;
        margin-right: 0.5rem;
        border-radius: 0.375rem;
    }
    .drawer-buy-now__food-item-thumbnail img {
        height: auto;
        object-fit: initial;
    }
    .drawer-buy-now__food-item-content {
        width: auto;
        flex: 1 0 0;
    }
    .drawer-buy-now__food-item-title {
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
    .drawer-buy-now__food-item-excerpt {
        font-size: 0.8125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
        margin-bottom: 0;
    }
    .drawer-buy-now__food-item-excerpt {
        font-size: 0.8125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
    }
    .drawer-buy-now__footer {
        padding: 0.75rem 1rem;
        background: #fff;
        box-shadow: 0 -4px 8px 0 rgba(0, 0, 0, 0.04);
    }
    .drawer-buy-now__total-price-label {
        color: #1a1a1a;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 400;
        line-height: 140%;
    }
    .drawer-buy-now__total-price-value {
        color: #1a1a1a;
        font-size: 1.25rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
    .drawer-buy-now__order-btn {
        padding: 0.5rem 1rem;
        color: #fff;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
    .drawer-buy-now__food-item-meta {
        display: none;
    }
    .drawer-buy-now__food-item-meta-mb {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .drawer-buy-now__food-item-unit-price--mb {
        display: block;
        color: var(--Color-Body-text-75, rgba(26, 26, 26, 0.75));
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
}
