﻿/* --- FOTO-FIRST DETAILS STEP STYLES --- */

.details-step-container {
    padding: 0;
    background: none;
    box-shadow: none;
}

.details-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 3rem;
    align-items: flex-start;
    padding: 2.5rem 1.5rem 1.8rem 1.5rem;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 8px 32px #b3bcff22;
    margin: 0 auto;
    max-width: 1200px;
}

@media (max-width: 1100px) {
    .details-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 1.2rem 0.5rem;
    }
}

.details-left, .details-right {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

.details-section-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1.6rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #232946;
}

.section-number {
    display: inline-block;
    background: #eceffc;
    color: #232946;
    border-radius: 7px;
    font-size: 1.35rem;
    font-weight: 700;
    padding: 0.3em 0.7em 0.3em 0.7em;
    margin-right: 0.5em;
}

.form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 1.4rem;
}

    .form-row .form-group {
        flex: 1 1 0;
    }

.form-input {
    border: 1.5px solid #e4e8f4;
    border-radius: 10px;
    padding: 13px 16px;
    font-size: 1.08rem;
    margin-top: 0.35em;
    background: #f8fafd;
    transition: border-color 0.14s, box-shadow 0.15s;
    outline: none;
}

    .form-input:focus {
        border-color: #90cdf4;
        box-shadow: 0 0 0 1.5px #bcdcff33;
    }

.terms-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8em;
    margin-bottom: 1.5rem;
}

    .terms-checkbox input[type="checkbox"] {
        accent-color: #1d8ef7;
        width: 22px;
        height: 22px;
    }

    .terms-checkbox label {
        font-size: 1.1rem;
        color: #232946;
    }

    .terms-checkbox a {
        color: #4177fa;
        text-decoration: underline;
    }

.place-order-btn {
    width: 100%;
    font-size: 1.28rem;
    padding: 17px 0;
    margin-bottom: 1.2rem;
    margin-top: 0.6rem;
    font-weight: 700;
    letter-spacing: .5px;
}

.secure-note {
    color: #8790ad;
    font-size: 0.99rem;
    margin-top: 0.7rem;
    line-height: 1.5;
    text-align: left;
}

.details-summary-section {
    margin-bottom: 1.8rem;
}

.summary-title {
    font-size: 1.19rem;
    font-weight: 700;
    color: #232946;
    margin-bottom: 0.5rem;
}

.summary-value {
    font-size: 1.07rem;
    color: #30325a;
    line-height: 1.4;
    margin-bottom: 0.8rem;
}

.summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 6px;
    font-size: 1.08rem;
    margin-bottom: 1.5rem;
}

    .summary-table th,
    .summary-table td {
        background: none;
        border: none;
        padding: 8px 4px 6px 0;
    }

    .summary-table th {
        color: #2b2c54;
        font-size: 1.08rem;
        font-weight: 700;
    }

    .summary-table tbody td {
        color: #252647;
    }

    .summary-table tfoot td {
        font-size: 1.13rem;
        color: #1c1c28;
    }

.tax-note {
    color: #888fa8;
    font-size: 0.93em;
    font-weight: 400;
    margin-left: 6px;
}

.coupon-note {
    margin-top: 0.8em;
    font-size: 1rem;
    color: #7d8bc7;
}

.coupon-link {
    color: #7d8bc7;
    text-decoration: underline;
    margin-left: 4px;
}

@media (max-width: 900px) {
    .details-grid {
        grid-template-columns: 1fr;
        max-width: 97vw;
        border-radius: 10px;
    }

    .details-section-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 700px) {
    .details-grid {
        padding: 1rem 0.75rem 1.4rem 0.75rem;
        gap: 1.6rem;
    }

    .form-row {
        flex-direction: column;
        gap: 0.9rem;
    }

    .form-group {
        margin-bottom: 1.1rem;
    }

    .form-input {
        width: 100%;
        font-size: 1rem;
        padding: 11px 14px;
    }
}
