.component-popup-add-to-cart {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Shopee Display", sans-serif;
    visibility: hidden;
    transition: all 0.4s ease-out;
}
.component-popup-add-to-cart.active {
    visibility: visible;
}
.component-popup-add-to-cart__overlay,
.component-popup-add-to-cart__main {
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease-out;
}
.component-popup-add-to-cart.active .component-popup-add-to-cart__overlay,
.component-popup-add-to-cart.active .component-popup-add-to-cart__main {
    opacity: 1;
    visibility: visible;
}
.component-popup-add-to-cart__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(0, 0, 0, 0.25);
}
.component-popup-add-to-cart__main {
    position: relative;
    width: 41.875rem;
    padding: 1.75rem 1.5rem 1.5rem 1.5rem;
    border-radius: 0.5rem;
    background: #fff;
    z-index: 1;
    transition: all 0.3s ease-out;
}

.component-popup-add-to-cart__close-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
}
.component-popup-add-to-cart__close-btn img {
    width: 100%;
    height: auto;
}
.component-popup-add-to-cart__food {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    width: 100%;
}
.component-popup-add-to-cart__food-thumbnail,
.component-popup-add-to-cart__food-info {
    flex-shrink: 0;
    flex-basis: 50%;
    max-width: 50%;
}
.component-popup-add-to-cart__food-thumbnail img {
    width: 100%;
    height: auto;
}
.component-popup-add-to-cart__food-info {
    margin-left: 1rem;
    padding: 0 0.75rem 0.5rem 0.75rem;
}
.component-popup-add-to-cart__food-name {
    color: #1a1a1a;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
    margin-bottom: 0.25rem;
}
.component-popup-add-to-cart__food-detail {
    max-height: 40vh;
    overflow-y: auto;
}
.component-popup-add-to-cart__food-excerpt,
.component-popup-add-to-cart__food-desc {
    color: rgba(26, 26, 26, 0.6);
    font-size: 0.875rem;
    font-style: normal;
    line-height: 140%;
    margin-bottom: 0.75rem;
}
.component-popup-add-to-cart__food-excerpt {
    font-weight: 400;
}
.component-popup-add-to-cart__food-desc {
    font-weight: 500;
}
.component-popup-add-to-cart__food-desc ul,
.component-popup-add-to-cart__food-desc ol {
    padding-left: 1.25rem;
    margin-top: 0.5rem;
}
.component-popup-add-to-cart__food-desc ul li:not(:last-child),
.component-popup-add-to-cart__food-desc ol li:not(:last-child) {
    margin-bottom: 0.25rem;
}
.component-popup-add-to-cart__food-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.component-popup-add-to-cart__food-price {
    color: #dd9904;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}
.component-popup-add-to-cart__food-quantity-controler {
    display: flex;
    padding: 0.25rem;
    align-items: center;
    border-radius: 0.5rem;
    background: #eee;
}
.component-popup-add-to-cart__food-quantity-controler__btn {
    display: flex;
    padding: 0.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
    background: #fff;
    cursor: pointer;
}
.component-popup-add-to-cart__food-quantity-controler__btn[data-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.component-popup-add-to-cart__food-quantity-controler__btn img {
    width: 1rem;
    height: auto;
}
.component-popup-add-to-cart__food-quantity-controler__value {
    display: inline-block;
    margin: 0 0.75rem;
    width: 0.875rem;
    flex-shrink: 0;
    color: #000;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
}
.component-popup-add-to-cart__cta {
    display: flex;
    padding-top: 1.5rem;
    justify-content: space-between;
    align-items: center;
    align-self: stretch;
    border-top: 0.6px solid rgba(26, 26, 26, 0.15);
}
.component-popup-add-to-cart__estimated-price {
    flex-shrink: 0;
}
.component-popup-add-to-cart__estimated-price-label {
    color: #1a1a1a;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 0.125rem;
}
.component-popup-add-to-cart__estimated-price-value {
    color: #dd9904;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 500;
    line-height: 140%;
}
.component-popup-add-to-cart__add-to-cart-btn {
    display: flex;
    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%;
    cursor: pointer;
    transition: all 0.3s ease-out;
}
.component-popup-add-to-cart__add-to-cart-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
.component-popup-add-to-cart__title {
    display: none;
}

.component-popup-add-to-cart__food-note {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}
.component-popup-add-to-cart__food-note-label {
    color: var(--Color-Body-text-100, #1a1a1a);

    /* PC/16/16: Bold */
    font-family: "Shopee Display";
    font-size: 1rem;
    font-style: normal;
    font-weight: 700;
    line-height: 140%; /* 1.4rem */
    margin-bottom: 0.5rem;
}
.component-popup-add-to-cart__food-note-textarea {
    color: var(--Color-Body-text-75, rgba(26, 26, 26, 0.75));

    /* PC/14/14: Regular */
    font-family: "Shopee Display";
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 1.225rem */

    width: 100%;
    height: 5.4375rem;
    border-radius: 0.5rem;
    background: #f2f2f2;
    padding: 0.5rem 0.625rem;
    border: none;
    resize: none;
}

@media (min-width: 1024px) {
    .component-popup-add-to-cart__add-to-cart-btn:hover {
        background: #b30616;
    }
}
@media (max-width: 639.98px) {
    .component-popup-add-to-cart__food-note {
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    .component-popup-add-to-cart__food-note-label {
        margin-bottom: 0.5rem;
        color: var(--Color-Body-text-100, #1a1a1a);
        font-family: "Shopee Display";
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 700;
        line-height: 140%; /* 1.225rem */
    }
    .component-popup-add-to-cart__food-note-textarea {
        height: 4.375rem;
        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 */
    }
    .component-popup-add-to-cart {
        align-items: flex-end;
    }
    .component-popup-add-to-cart__main {
        width: 100%;
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 0;
        opacity: 1;
        transform: translateY(100%);
    }
    .component-popup-add-to-cart.active .component-popup-add-to-cart__main {
        transform: translateY(0);
    }
    .component-popup-add-to-cart__header {
        display: flex;
        padding: 0.75rem 1rem;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid var(--Color-Stroke-01, rgba(26, 26, 26, 0.25));
        margin-bottom: 1.25rem;
    }
    .component-popup-add-to-cart__title {
        display: block;
        color: #1a1a1a;
        font-size: 1rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
    .component-popup-add-to-cart__close-btn {
        position: static;
        width: 1.5rem;
        height: 1.5rem;
    }
    .component-popup-add-to-cart__food {
        margin-bottom: 1rem;
        padding: 0 1rem;
    }
    .component-popup-add-to-cart__cta {
        padding: 1rem;
    }
    .component-popup-add-to-cart__food-thumbnail,
    .component-popup-add-to-cart__food-info {
        flex-basis: auto;
        max-width: unset;
    }
    .component-popup-add-to-cart__food-thumbnail {
        width: 8.3125rem;
        border-radius: 0.5rem;
    }
    .component-popup-add-to-cart__food-info {
        padding: 0;
        margin-left: 0.75rem;
        flex: 1 0 0;
    }
    .component-popup-add-to-cart__food-excerpt,
    .component-popup-add-to-cart__food-desc {
        letter-spacing: -0.00406rem;
    }
    .component-popup-add-to-cart__food-price {
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 500;
        line-height: 140%;
    }
}
