.custom-complete-checkout-form {
    max-width: 100%;
}

.checkout-section {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.checkout-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    font-size: 1.3em;
}

.checkout-section h4 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.form-row {
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #bdc3c7;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #61CE70;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.tipo-entrega-options {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.tipo-entrega-option {
    flex: 1;
    border: 2px solid #bdc3c7;
    padding: 25px 20px;
    border-radius: 8px;
    cursor: pointer;
    text-align: center;
    transition: all 0.3s ease;
    background: white;
    position: relative;
}

.tipo-entrega-option:hover {
    border-color: #61CE70;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.tipo-entrega-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.tipo-entrega-option .option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.tipo-entrega-option .option-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.tipo-entrega-option .option-text {
    font-size: 1.1em;
    font-weight: 600;
}

/* Iconos */
.tipo-entrega-option[for="domicilio"] .option-icon::before {
    content: "🚚";
}

.tipo-entrega-option[for="recogida"] .option-icon::before {
    content: "🏪";
}

/* Estilos para selección */
#domicilio:checked ~ .tipo-entrega-option[for="domicilio"] {
    border-color: #e74c3c;
    background: #fff5f5;
}

#recogida:checked ~ .tipo-entrega-option[for="recogida"] {
    border-color: #e74c3c;
    background: #fff5f5;
}

input[type="radio"]:checked + .option-content .option-icon {
    animation: bounce 0.5s ease;
}

input[type="radio"]:checked + .option-content .option-text {
    color: #e74c3c;
    font-weight: bold;
}

.delivery-fields,
.pickup-fields {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    animation: fadeIn 0.3s ease-in;
}

.delivery-time-section {
    margin-top: 25px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.delivery-time-section h4 {
    color: #34495e;
    margin-bottom: 15px;
    font-size: 1.1em;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
}

.extras-section {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.extras-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    font-size: 1.3em;
}

.notes-section {
    background: #f9f9f9;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.notes-section h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #e74c3c;
    padding-bottom: 10px;
    font-size: 1.3em;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 20%, 60%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    80% { transform: translateY(-5px); }
}

/* Responsive */
@media (max-width: 768px) {
    .tipo-entrega-options {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .checkout-section {
        padding: 20px;
    }
    
    .tipo-entrega-option .option-icon {
        font-size: 2em;
    }
    
    .tipo-entrega-option .option-text {
        font-size: 1em;
    }
}