/* ==========================================
   CDV Panier de Réservation - Styles
   ========================================== */

.cdv-panier-wrapper {
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    padding: 40px 20px;
    font-family: 'Onest', sans-serif;
}

.cdv-panier-wrapper .container {
    max-width: 1200px;
    margin: 0 auto;
}

/* En-tête */
.cdv-panier-header {
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.cdv-btn-retour {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #FFFFFF;
    color: #F97316;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cdv-btn-retour:hover {
    transform: translateX(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #F97316;
    color: #FFFFFF;
    text-decoration: none;
}

.cdv-panier-header h1 {
    font-size: 32px;
    font-weight: 800;
    color: #344256;
    margin: 0;
}

/* Layout principal */
.cdv-panier-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

/* Cartes */
.cdv-panier-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.cdv-panier-card h2 {
    font-size: 20px;
    font-weight: 700;
    color: #344256;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cdv-panier-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #344256;
    margin: 15px 0 10px 0;
}

/* Carte propriété */
.cdv-property-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.cdv-property-image img {
    width: 100%;
    height: auto;
    display: block;
}

.cdv-property-address {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
    margin: 10px 0;
}

.cdv-property-address svg {
    stroke: #F97316;
    flex-shrink: 0;
}

.cdv-property-description {
    color: #6b7280;
    line-height: 1.6;
    margin-top: 15px;
}

/* Carte dates */
.cdv-dates-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    margin-bottom: 20px;
}

.cdv-date-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cdv-date-label {
    font-size: 12px;
    font-weight: 600;
    color: #F97316;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cdv-date-value {
    font-size: 16px;
    font-weight: 700;
    color: #344256;
}

.cdv-date-time {
    font-size: 13px;
    color: #9ca3af;
}

.cdv-date-separator {
    color: #F97316;
}

.cdv-duree {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: #FFF7ED;
    border-radius: 10px;
    color: #F97316;
    font-size: 15px;
}

.cdv-duree svg {
    stroke: #F97316;
}

/* Carte informations */
.cdv-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cdv-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    border-bottom: 1px solid #0F17291A;
}

.cdv-info-list li:last-child {
    border-bottom: none;
}

.cdv-info-list li svg {
    stroke: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Sidebar - Récapitulatif prix */
.cdv-panier-sidebar {
    position: sticky;
    top: 20px;
}

.cdv-prix-details {
    margin-bottom: 25px;
}

.cdv-prix-ligne {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 15px;
    color: #6b7280;
}

.cdv-prix-montant {
    font-weight: 600;
    color: #344256;
}

.cdv-prix-separateur {
    height: 1px;
    background: #0F17291A;
    margin: 15px 0;
}

.cdv-prix-total {
    padding: 15px 0;
    font-size: 18px;
    font-weight: 700;
    color: #344256;
}

.cdv-prix-total .cdv-prix-montant {
    font-size: 24px;
    color: #F97316;
}

/* Zone WooCommerce */
.cdv-woocommerce-zone {
    margin: 25px 0;
}

.cdv-woo-placeholder {
    background: #FFF7ED;
    border: 2px dashed #F97316;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    color: #F97316;
    font-weight: 600;
    margin: 0;
}

/* Paiement sécurisé */
.cdv-paiement-securise {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px;
    background: #f0fdf4;
    border-radius: 8px;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    margin-top: 20px;
}

.cdv-paiement-securise svg {
    stroke: #10b981;
}

/* Carte aide */
.cdv-aide-card h3 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.cdv-aide-card p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.cdv-btn-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #FFFFFF;
    border: 2px solid #F97316;
    color: #F97316;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cdv-btn-contact:hover {
    background: #F97316;
    color: #FFFFFF;
    transform: translateY(-2px);
    text-decoration: none;
}

.cdv-btn-contact svg {
    stroke: currentColor;
}

/* Page d'erreur */
.cdv-panier-error {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 60px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.cdv-panier-error h1 {
    font-size: 48px;
    margin-bottom: 20px;
    color: #344256;
}

.cdv-panier-error p {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 30px;
}

/* Responsive */
@media (max-width: 968px) {
    .cdv-panier-content {
        grid-template-columns: 1fr;
    }
    
    .cdv-panier-sidebar {
        position: static;
    }
    
    .cdv-dates-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cdv-date-separator {
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .cdv-panier-wrapper {
        padding: 20px 15px;
    }
    
    .cdv-panier-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cdv-panier-header h1 {
        font-size: 24px;
    }
    
    .cdv-panier-card {
        padding: 20px;
    }
}