/* ===== CHECKOUT CONTENT ===== */
.checkout-content {
    padding: 0 0 200px 0;
}

/* ===== CHECKOUT SECTIONS ===== */
.checkout-section {
    padding: 16px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

/* ===== INFO ROWS ===== */
.info-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.info-label {
    font-size: 12px;
    color: #666;
    min-width: 100px;
}

.info-value {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.info-main {
    font-size: 14px;
    font-weight: 500;
}

.info-sub {
    font-size: 12px;
    color: #666;
}

.chevron {
    color: #ccc;
}

/* ===== FORM ===== */
.form-group {
    margin-bottom: 16px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #1a1a1a;
}

.form-group input.error {
    border-color: #cc0000;
}

.error-message {
    color: #cc0000;
    font-size: 12px;
    margin-top: 4px;
}

/* ===== ORDER SUMMARY ===== */
.order-summary-header {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.order-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item-image {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.order-item-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.order-item-bakery {
    font-size: 11px;
    color: #666;
}

.order-item-name {
    font-size: 13px;
    font-weight: 600;
}

.order-item-desc {
    font-size: 11px;
    color: #666;
}

.order-item-qty {
    font-size: 12px;
    color: #666;
}

.order-item-price {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
}

.order-number {
    display: flex;
    justify-content: space-between;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #666;
}

/* ===== TOTALS ===== */
.checkout-totals {
    padding: 16px;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.total-row.final {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0;
}

/* ===== CHECKOUT FOOTER ===== */
.checkout-footer {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    padding: 16px;
    background: #fff;
    border-top: 1px solid #eee;
}

.checkout-footer .btn {
    max-width: 100%;
}

/* ===== LOADING STATE ===== */
.btn.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 600px) {
    .checkout-footer {
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 900px) {
    .checkout-footer {
        max-width: 500px;
    }
}