/* ===== CSS Reset & Global Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Verdana', sans-serif;
    background-color: #FFFFFF;
    color: #000000;
    line-height: 1.6;
}

/* ===== Header Styles ===== */
.header {
    background-image: url('images/header.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 167px;
    display: flex;
    align-items: center;
    padding: 0 46px;
    margin-bottom: 50px;
}

.header-content {
    color: #FFFFFF;
}

.header-title {
    font-family: 'Smythe', sans-serif;
    font-size: 39.81px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 7px;
}

.header-slogan {
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 400;
    line-height: 1;
}

/* ===== Main Container ===== */
.main-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 46px;
}

/* ===== Menu Section ===== */
.menu-section {
    margin-bottom: 50px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    gap: 46px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 31px;
    padding-bottom: 46px;
    border-bottom: 1.5px solid #D2D2D2;
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-item-info {
    flex: 1;
}

.menu-item-emoji {
    font-size: 80px;
    line-height: 1;
    flex-shrink: 0;
}

.menu-item-name {
    font-family: 'Verdana', sans-serif;
    font-size: 31.99px;
    font-weight: 400;
    line-height: 1;
}

.menu-item-ingredients {
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 400;
    color: #8B8B8B;
    margin-bottom: 12px;
}

.menu-item-price {
    font-family: 'Verdana', sans-serif;
    font-size: 19.99px;
    font-weight: 400;
    line-height: 1;
}

.add-btn {
    background: none;
    border: 1.5px solid #DEDEDE;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 31.99px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    color: #000000;
}

.add-btn:hover {
    background-color: #ECFDF5;
    border-color: #16DB99;
    transform: scale(1.05);
}

.add-btn:active {
    transform: scale(0.95);
}

/* ===== Order Section ===== */
.order-section {
    margin-bottom: 50px;
}

.order-title {
    font-family: 'Smythe', sans-serif;
    font-size: 31.99px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 53px;
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 15px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-item-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.order-item-name {
    font-family: 'Verdana', sans-serif;
    font-size: 31.99px;
    font-weight: 400;
}

.remove-btn {
    background: none;
    border: none;
    font-family: 'Verdana', sans-serif;
    font-size: 11.99px;
    font-weight: 400;
    color: #BBBBBB;
    cursor: pointer;
    transition: color 0.2s ease;
}

.remove-btn:hover {
    color: #8B8B8B;
}

.order-item-price {
    font-family: 'Verdana', sans-serif;
    font-size: 19.99px;
    font-weight: 400;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 2px solid #393333;
    margin-top: 8px;
}

.order-total-label {
    font-family: 'Verdana', sans-serif;
    font-size: 19.99px;
    font-weight: 700;
}

.order-total-amount {
    font-family: 'Verdana', sans-serif;
    font-size: 19.99px;
    font-weight: 400;
}

.complete-order-btn {
    width: 100%;
    background-color: #16DB99;
    border: none;
    border-radius: 3px;
    padding: 18px;
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    margin-top: 53px;
    transition: all 0.2s ease;
}

.complete-order-btn:hover {
    background-color: #065F46;
}

.complete-order-btn:active {
    transform: scale(0.98);
}

/* ===== Modal Styles ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #FFFFFF;
    padding: 35px 25px;
    border-radius: 3.74px;
    width: 90%;
    max-width: 524px;
}

.modal-title {
    font-family: 'Verdana', sans-serif;
    font-size: 23.99px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 35px;
}

.payment-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.payment-form input {
    width: 100%;
    padding: 18px;
    border: 1.31px solid #757575;
    border-radius: 3.74px;
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 400;
}

.payment-form input::placeholder {
    color: #757575;
}

.payment-form input:focus {
    outline: none;
    border-color: #16DB99;
}

.pay-btn {
    width: 100%;
    background-color: #16DB99;
    border: none;
    border-radius: 3px;
    padding: 18px;
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pay-btn:hover {
    background-color: #065F46;
}

.pay-btn:active {
    transform: scale(0.98);
}

/* ===== Offer Modal Styles ===== */
.offer-modal-content {
    text-align: center;
}

.offer-description {
    font-family: 'Verdana', sans-serif;
    font-size: 17.99px;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 30px;
    color: #3C3C3C;
}

.offer-description strong {
    color: #16DB99;
    font-weight: 700;
}

.offer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accept-offer-btn {
    width: 100%;
    background-color: #16DB99;
    border: none;
    border-radius: 3px;
    padding: 18px;
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 700;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.accept-offer-btn:hover {
    background-color: #065F46;
}

.accept-offer-btn:active {
    transform: scale(0.98);
}

.decline-offer-btn {
    width: 100%;
    background-color: transparent;
    border: 1.5px solid #D2D2D2;
    border-radius: 3px;
    padding: 18px;
    font-family: 'Verdana', sans-serif;
    font-size: 15.99px;
    font-weight: 400;
    color: #8B8B8B;
    cursor: pointer;
    transition: all 0.2s ease;
}

.decline-offer-btn:hover {
    border-color: #8B8B8B;
    color: #3C3C3C;
}

.decline-offer-btn:active {
    transform: scale(0.98);
}

/* ===== Order Confirmation ===== */
.order-confirmation {
    margin-top: 50px;
}

.confirmation-message {
    background-color: #ECFDF5;
    padding: 51px 30px;
    text-align: center;
    font-family: 'Verdana', sans-serif;
    font-size: 31.99px;
    font-weight: 400;
    color: #065F46;
}

/* ===== Utility Classes ===== */
.hidden {
    display: none !important;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .header {
        padding: 0 25px;
        height: 140px;
    }

    .header-title {
        font-size: 32px;
    }

    .header-slogan {
        font-size: 13px;
    }

    .main-container,
    .order-confirmation {
        padding: 0 25px;
    }

    .menu-item {
        gap: 20px;
    }

    .menu-item-emoji {
        font-size: 60px;
    }

    .menu-item-name {
        font-size: 24px;
    }

    .menu-item-ingredients {
        font-size: 13px;
    }

    .menu-item-price {
        font-size: 16px;
    }

    .add-btn {
        width: 40px;
        height: 40px;
        font-size: 24px;
    }

    .order-title {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .order-item-name {
        font-size: 24px;
    }

    .order-item-price {
        font-size: 16px;
    }

    .complete-order-btn {
        margin-top: 30px;
    }

    .confirmation-message {
        font-size: 12px;
        padding: 15px 10px;
    }
}

@media (max-width: 480px) {
    .header-title {
        font-size: 28px;
    }

    .menu-item {
        gap: 15px;
    }

    .menu-item-emoji {
        font-size: 50px;
    }

    .add-btn {
        align-self: flex-end;
    }
}
