/**
 * Estilos Tarjeta Regalo
 * Sara Molina Estética Avanzada
 */

.tarjeta-regalo-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #fdf8f5 0%, #f9f1ec 100%);
}

.tarjeta-regalo-container {
    max-width: 600px;
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 60px rgba(0, 0, 0, 0.08);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.tarjeta-regalo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #c9a86c 0%, #d4b87a 50%, #c9a86c 100%);
}

/* Header */
.tarjeta-regalo-header {
    text-align: center;
    margin-bottom: 40px;
}

.tarjeta-regalo-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #c9a86c;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.tarjeta-regalo-header .subtitulo {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

/* Campos */
.campo-grupo {
    margin-bottom: 25px;
}

.campo-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.campo-input,
.campo-textarea,
.tratamiento-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e8e0d8;
    border-radius: 10px;
    font-size: 1rem;
    color: #333;
    background: #fdfcfb;
    transition: all 0.3s ease;
}

.campo-input:focus,
.campo-textarea:focus,
.tratamiento-select:focus {
    outline: none;
    border-color: #c9a86c;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(201, 168, 108, 0.1);
}

.campo-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Selector Tipo */
.tipo-opciones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tipo-opcion {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border: 2px solid #e8e0d8;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tipo-opcion:hover {
    border-color: #c9a86c;
    background: #fdfaf7;
}

.tipo-opcion input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #c9a86c;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    cursor: pointer;
}

.tipo-opcion input[type="radio"]:checked {
    background: #c9a86c;
    border-color: #c9a86c;
}

.tipo-opcion input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
}

.tipo-opcion input[type="radio"]:checked + .tipo-texto {
    color: #c9a86c;
    font-weight: 600;
}

.tipo-texto {
    font-size: 1rem;
    color: #555;
}

/* Selector Importe */
.importes-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.importe-opcion {
    flex: 1;
    min-width: 100px;
    padding: 20px 15px;
    border: 2px solid #e8e0d8;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.importe-opcion:hover {
    border-color: #c9a86c;
    transform: translateY(-2px);
}

.importe-opcion.selected {
    border-color: #c9a86c;
    background: linear-gradient(135deg, #fdf8f3 0%, #f9f1e8 100%);
    box-shadow: 0 4px 15px rgba(201, 168, 108, 0.2);
}

.importe-opcion input[type="radio"] {
    display: none;
}

.importe-valor {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
}

.importe-opcion.selected .importe-valor {
    color: #c9a86c;
}

/* Selector Tratamiento */
.tratamiento-select {
    cursor: pointer;
}

/* Caducidad */
.caducidad-info {
    padding: 15px 20px;
    background: #f9f7f5;
    border-radius: 10px;
    border-left: 4px solid #c9a86c;
}

.caducidad-texto {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
}

.caducidad-texto strong {
    color: #333;
}

.caducidad-nota {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 4px;
}

/* Footer / Precio y Botón */
.tarjeta-regalo-footer {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.precio-display {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.precio-label {
    font-size: 1rem;
    color: #666;
}

.precio-valor {
    font-size: 2rem;
    font-weight: 700;
    color: #c9a86c;
}

.btn-comprar {
    padding: 16px 40px;
    background: linear-gradient(135deg, #c9a86c 0%, #b8975b 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-comprar:hover {
    background: linear-gradient(135deg, #b8975b 0%, #a7864a 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 108, 0.4);
}

/* Contacto */
.tarjeta-regalo-contacto {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid #eee;
    text-align: center;
}

.tarjeta-regalo-contacto p {
    margin: 5px 0;
    font-size: 0.9rem;
    color: #888;
}

.tarjeta-regalo-contacto a {
    color: #c9a86c;
    text-decoration: none;
}

.tarjeta-regalo-contacto a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .tarjeta-regalo-container {
        padding: 35px 25px;
    }
    
    .tarjeta-regalo-header h1 {
        font-size: 1.4rem;
    }
    
    .importes-grid {
        flex-direction: column;
    }
    
    .importe-opcion {
        min-width: 100%;
    }
    
    .tarjeta-regalo-footer {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-comprar {
        width: 100%;
    }
}
