/**
 * Express Checkout - Styles
 * Design pulito e familiare
 */

/* Container */
.express-checkout-section {
    padding: 20px 15px;
    background: #f9f9f9;
    border-top: 1px solid #e0e0e0;
    margin-top: 15px;
}

/* Divider con testo */
.express-checkout-divider {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.express-checkout-divider::before,
.express-checkout-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ddd;
}

.express-checkout-divider span {
    padding: 0 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}

/* Indirizzo */
.express-checkout-address {
    margin-bottom: 15px;
}

.address-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 13px;
}

.address-summary .address-icon {
    flex-shrink: 0;
    color: #666;
}

.address-summary .address-text {
    flex: 1;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.address-summary .change-address,
.address-summary .add-address {
    flex-shrink: 0;
    color: var(--primary-color, #000);
    text-decoration: underline;
    font-size: 12px;
    cursor: pointer;
}

.address-summary .change-address:hover,
.address-summary .add-address:hover {
    text-decoration: none;
}

.address-summary.no-address {
    justify-content: center;
    border-style: dashed;
    color: #666;
}

/* Bottone Paga */
.btn-express-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: var(--primary-color, #000);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.btn-express-pay:hover {
    opacity: 0.9;
}

.btn-express-pay:active {
    transform: scale(0.98);
}

.btn-express-pay:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-express-pay svg {
    flex-shrink: 0;
}

/* Metodi di pagamento accettati */
.express-checkout-methods {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 12px;
    font-size: 11px;
    color: #888;
}

.express-checkout-methods span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.express-checkout-methods span::before {
    content: '';
    width: 4px;
    height: 4px;
    background: #ccc;
    border-radius: 50%;
}

.express-checkout-methods span:first-child::before {
    display: none;
}

/* Messaggio sicurezza */
.express-checkout-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 11px;
    color: #888;
}

.express-checkout-secure svg {
    color: #28a745;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 480px) {
    .express-checkout-section {
        padding: 15px 12px;
    }

    .address-summary {
        flex-wrap: wrap;
    }

    .address-summary .address-text {
        flex: 1 1 100%;
        order: 2;
        margin-top: 5px;
    }

    .address-summary .change-address {
        order: 1;
        margin-left: auto;
    }

    .express-checkout-methods {
        flex-wrap: wrap;
        gap: 8px;
    }
}
