/*
  Theme Name: Pria Active Wear
  Theme URI: https://kevinleon.net
  Version: 2.0.0
  Template: Divi
  Author: Kevin León
  Author URI: https://kevinleon.net
  Description: Pria web design
  Text Domain: priaactivewear
  License: GNU General Public License v2 or later
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* Ocultar cantidad en Upsells y Tienda */
.upsells .quantity, 
.archive .quantity, 
.related .quantity {
    display: none !important;
}

/* Ajustar el botón para que ocupe todo el ancho tras quitar la cantidad */
.upsells .single_add_to_cart_button,
.archive .single_add_to_cart_button {
    width: 100% !important;
    margin-left: 0 !important;
}

/* Ocultar botones de Wishlist en el loop de productos */
.upsells .yith-wcwl-add-to-wishlist, 
.upsells .tinv-wraper,
.archive .yith-wcwl-add-to-wishlist,
.archive .tinv-wraper {
    display: none !important;
}

/* Ocultar el enlace "Limpiar" o "Clear" */
.product .reset_variations {
    display: none !important;
}

/* Reducir espacio entre selectores */
.product .variations tr {
    display: block;
    margin-bottom: 5px;
}

.product .variations td {
    display: block;
    padding: 0 !important;
}

/* 1. Reducir espacio debajo del precio principal */
.product .price {
    margin-bottom: 2px !important;
}

/* 2. Ajustar el contenedor del formulario */
.product .variations_form {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 5px !important;
}

/* 3. Eliminar espacios internos de la tabla de variaciones */
.product table.variations {
    margin-bottom: 0 !important;
    border-spacing: 0 !important;
    border-collapse: collapse !important;
}

.product table.variations tr {
    display: block;
    margin-bottom: 4px !important; /* Espacio mínimo entre selectores */
}

.product table.variations td {
    padding: 0 !important;
    line-height: 1 !important;
}

/* 4. Ajustar el bloque que envuelve el botón de compra */
.product .single_variation_wrap {
    margin-top: 0 !important;
    padding-top: 5px !important;
}

/* 5. Ajustar altura de los desplegables para que no sean tan altos */
.product .variations select {
    height: 30px !important;
    padding: 2px 5px !important;
    font-size: 13px !important;
}

/* 6. Ocultar espacios vacíos que Divi o WooCommerce inyectan por defecto */
.product .woocommerce-variation-description {
    display: none !important;
}


