/* =========================================
   SUMMARY
   ========================================= */

.summary {
    width: 100%;
    padding: 0 32px 32px;
    box-sizing: border-box;
    color: #2e3a52;
    font-family: "Segoe UI", Arial, sans-serif;
}


/* =========================================
   PRODUCT
   ========================================= */

.summary-product {
    height: 151px;
    box-sizing: border-box;
    padding: 40px 40px;
    background: #2e3a52;
    color: #ffffff;
    margin-bottom: 18px;
}

.summary-product-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.2;
}

.summary-product-description {
    margin-top: 28px;
    font-size: 15px;
    font-weight: 400;
    color: #ffffff;
}


/* =========================================
   DATE
   ========================================= */

.summary-date {
    height: 180px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 28px;
    box-sizing: border-box;
    border-bottom: 1px solid #cbd2db;
    color: #68778d;
    font-size: 16px;
    font-style: italic;
}

    .summary-date .separator {
        margin: 0 12px;
        font-style: normal;
    }


/* =========================================
   PEOPLE
   ========================================= */

.summary-people {
    padding-top: 25px;
    border-bottom: 1px solid #c4ccd6;
}

.person-row {
    min-height: 50px;
    display: grid;
    grid-template-columns: 1fr 150px 180px;
    align-items: center;
}


/* Person name */

.person-type {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #245996;
    font-size: 15px;
}

.person-icon {
    width: 32px;
    display: inline-flex;
    justify-content: center;
    color: #2e3a52;
    font-size: 28px;
}


/* Count */

.person-count {
    text-align: center;
    color: #245996;
    font-size: 15px;
}


/* Price */

.person-price {
    text-align: right;
    padding-right: 0;
    color: #245996;
    font-size: 15px;
}


/* =========================================
   TOTAL
   ========================================= */

.summary-total {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #c4ccd6;
}

.total-label {
    font-size: 50px;
    line-height: 1;
    font-weight: 700;
    color: #2e3a52;
}

.total-price {
    font-size: 48px;
    line-height: 1;
    font-weight: 700;
    color: #2e3a52;
}


/* =========================================
   ACTION
   ========================================= */

.summary-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 18px;
}

.continue-button {
    height: 48px;
    padding: 0 22px;
    border: none;
    border-radius: 6px;
    background: #69c3aa;
    color: #193e39;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

    .continue-button:hover {
        background: #57b69c;
        transform: translateY(-1px);
    }

    .continue-button:active {
        transform: translateY(0);
    }


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 700px) {

    .summary {
        padding: 0 18px 25px;
    }

    .summary-product {
        padding: 30px 25px;
    }

    .person-row {
        grid-template-columns: 1fr 50px 100px;
        gap: 5px;
    }

    .person-price {
        text-align: right;
    }

    .total-label {
        font-size: 38px;
    }

    .total-price {
        font-size: 34px;
    }
}
