/* Estilos base del formulario WEY */
.wey-form {
    background-color: #000;
    color: #fff;
    font-family: 'Helvetica Neue', sans-serif;
    padding: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.wey-form h3 {
    font-size: 18px;
    margin-top: 2rem;
    border-bottom: 1px solid #444;
    padding-bottom: 0.3rem;
    color: #fff;
}

/* Inputs generales */
.wey-form input[type="text"],
.wey-form input[type="email"],
.wey-form input[type="number"],
.wey-form input[type="date"],
.wey-form input[type="file"],
.wey-form input[type="select"]
.wey-form select {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid #fff;
    color: #fff;
    padding: 6px 4px;
    margin-top: 4px;
    font-family: "MADE TOMMY", Sans-serif;
    font-size: 20px;
    font-weight: 300;
}

/* INPUT SELECT estilizado */
.wey-form select {
    background-color: transparent;
    color: #fff;
    border: none;
    border-bottom: 1px solid #fff;
    padding: 6px 4px;
    width: 100%;
    font-family: inherit;
    font-size: 15px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg width='10' height='6' viewBox='0 0 10 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 10px 6px;
    padding-right: 2rem;
    border-radius: 0;
}

.wey-form select:focus {
    outline: none;
    border-bottom: 1px solid #00fff7;
}

/* Quitar bordes nativos en Safari y Firefox */
.wey-form select::-ms-expand {
    display: none;
}

.wey-form input:focus {
    outline: none;
    border-bottom: 1px solid #00fff7;
}

/* Grillas */
.wey-form .wey-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.wey-form .wey-item {
    flex: 1 1 45%;
    min-width: 200px;
}
.wey-form .wey-item_color_ojos{
    max-width: 246px;
}

.wey-form .wey-grid-3cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

/* Características (bloque combinado) */
.wey-caracteristicas-bloque {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.wey-texto-instrucciones {
    font-size: 14px;
    line-height: 1.5;
}

.wey-texto-instrucciones strong {
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}
.wey-caracteristicas-campos{
        gap: 1rem 3rem;
}

/* Fotos */
.wey-grid-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(186px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
    text-align: center;
    justify-content: center; /* 👈 esto centra la fila final */
}

.wey-foto-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wey-foto-label {
    margin-top: 0.5rem;
    color: #fff;

    font-family: "MADE TOMMY", Sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-transform: inherit;
    text-align: center;
    display: inline-block;
    padding: 0px 20px;
}

.wey-foto-dropzone {
    width: 186px;
    height: 202px;
    background-color: #000;
    border: 2px dashed #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.wey-foto-dropzone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
    appearance: none;
    border: none;
    background: none;
}

.wey-plus {
    font-size: 48px;
    color: #fff;
    pointer-events: none;
    z-index: 2;
    position: relative;
}

.wey-preview {
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Checkbox */
.wey-confirmacion {
    font-size: 13px;
    margin-top: 1.5rem;
}

.wey-confirmacion input[type="checkbox"] {
    accent-color: #fff;
    transform: scale(1.2);
}

/* Botón enviar */
.wey-form button[type="submit"] {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: "MADE TOMMY", Sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin: 2rem auto;
    display: block;
}

.wey-form button[type="submit"]:hover {
    background-color: #fff;
    color: #000;
}

.wey-submit-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: bold;
    font-size: 14px;
}

.wey-submit-button[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}

.wey-submit-button .spinner {
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 1; }
}

/* Fila completa: se distribuye normal */
.fila-completa {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Fila centrada: 3 elementos centrados horizontalmente */
.fila-centrada {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Estilo base para el checkbox circular */
.wey-confirmacion span{
    color: #fff;
    font-family: "MADE TOMMY", Sans-serif;
    font-size: 20px;
    font-weight: 300;
    text-transform: inherit;
    display: inline-block;
}
.wey-confirmacion{
    max-width: 550px;
    margin: 2rem auto;
    color: #fff;
}
.wey-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #fff;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
    position: relative;
    margin-top: 4px;
    transition: all 0.2s ease-in-out;
}

/* Cuando está seleccionado */
.wey-checkbox:checked {
    background-color: #fff;
}

/* Círculo interior */
.wey-checkbox:checked::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 4px;
    width: 6px;
    height: 6px;
    background-color: #000;
    border-radius: 50%;
}


@media all and (max-width: 640px){
    .wey-form .wey-grid-3cols{
        display: grid;
        grid-template-columns: 1fr;
    }
    .fila-completa,
    .fila-centrada{
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wey-confirmacion span{
        font-size: 18px;
        line-height: 22px;
    }
    .wey-confirmacion span br{
        display: none;
    }
    .wey-checkbox{
        width: 57px;
    }

    .wey-foto-dropzone{
        width: 150px;
        height: 180px;
    }
}