/* ========================================
 * JARDEPOT - GALERÍA PERSONALIZADA DE PRODUCTOS
 * ======================================== */

/* Clase utility para eliminar margin bottom */
.margin-bottom-0 {
    margin-block-end: 0 !important;
}

/* Jardepot Custom Gallery Styles */
.jardepot-gallery-container {
    position: relative;
    overflow: hidden;
}

.jardepot-thumbnail-carousel {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 15px;
    border-radius: 25px;
    display: flex;
    gap: 8px;
    z-index: 10;
    backdrop-filter: blur(5px);
    transition: opacity 0.3s ease;
}

.jardepot-thumbnail-carousel:hover {
    background: rgba(0, 0, 0, 0.8);
}

.jardepot-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    opacity: 0.7;
}

.jardepot-thumbnail:hover {
    transform: scale(1.1);
    opacity: 1;
}

.jardepot-thumbnail.active {
    border-color: #fff;
    opacity: 1;
    transform: scale(1.05);
}

.jardepot-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.jardepot-thumbnail:hover img {
    transform: scale(1.1);
}

/* Ocultar thumbnails originales de WooCommerce */
.jardepot-gallery-active .flex-control-nav.flex-control-thumbs {
    display: none !important;
}

/* Mejorar la imagen principal */
.jardepot-gallery-active .woocommerce-product-gallery__wrapper {
    border-radius: 12px;
    overflow: hidden;
}

/* Navegación con flechas */
.jardepot-carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    width: 40px;
    height: 62px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 11;
    transition: all 0.3s ease;
    opacity: 0;
}

.jardepot-gallery-container:hover .jardepot-carousel-nav {
    opacity: 1;
}

.jardepot-carousel-nav:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.jardepot-carousel-nav.prev {
    left: 15px;
}

.jardepot-carousel-nav.next {
    right: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jardepot-thumbnail-carousel {
        bottom: 10px;
        padding: 8px 12px;
        gap: 6px;
    }

    .jardepot-thumbnail {
        width: 40px;
        height: 40px;
    }

    .jardepot-carousel-nav {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .jardepot-carousel-nav.prev {
        left: 10px;
    }

    .jardepot-carousel-nav.next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .jardepot-thumbnail {
        width: 35px;
        height: 35px;
    }

    .jardepot-thumbnail-carousel {
        max-width: 90%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .jardepot-thumbnail-carousel::-webkit-scrollbar {
        display: none;
    }
}

/* ========================================
 * JARDEPOT - SISTEMA HÍBRIDO CSS/JAVASCRIPT
 * SELECTOR DE CANTIDAD PERSONALIZADO
 * =========================================
 *
 * ARQUITECTURA HÍBRIDA:
 * ---------------------
 * 1. CSS PRIMARIO: Estilos optimizados para templates estándar
 * 2. JAVASCRIPT FALLBACK: Estilos inline cuando CSS no funciona
 * 3. DETECCIÓN AUTOMÁTICA: Múltiples selectores para compatibilidad
 * 4. ESPECIFICIDAD ADAPTATIVA: Reglas que se adaptan a diferentes temas
 *
 * DISEÑO VISUAL:
 * --------------
 * [Botón -] [Input] [Botón +] (gap 10px) [COMPRA AHORA]
 * │ Gris   │ Blanco │ Azul   │          │ Azul        │
 * │#8FA4B3 │        │#165788 │          │ #165788     │
 * └─ Esquinas izq ──┘        └─ Esquinas der          └─ Todas esquinas
 *
 * LÓGICA CONDICIONAL:
 * -------------------
 * - Si precio > umbral: ocultar quantity, botón con esquinas completas
 * - Si precio ≤ umbral: mostrar quantity, botón conectado visualmente
 * - Gap de 10px entre quantity y botón para separación visual
 *
 * COMPATIBILIDAD:
 * ---------------
 * - .jardepot-quantity-active (aplicado por JavaScript)
 * - .elementor-element-e4335ac (ID específico de template)
 * - .product-data-tabs (template alternativo)
 * - Elementor Pro con manejo de especificidad
 *
 * AUTO-UPDATE TRIGGER: "Actualiza la documentación con el sistema híbrido"
 * - Actualiza este archivo CSS
 * - Actualiza jardepot-woocommerce-tabs.php
 * - Actualiza vibe/NEXT_PROMPT.md
 * ======================================== */

/* REGLAS DE FALLBACK - Se aplican automáticamente cuando hay botones jardepot presentes */

/* Quitar border-color específico de Elementor */
.elementor-75357 .elementor-element.elementor-element-e478427 .cart button,
.elementor-75357 .elementor-element.elementor-element-e478427 .cart .button,
.jardepot-quantity-active .cart button,
.jardepot-quantity-active .cart .button {
    border-color: transparent !important;
    border: none !important;
}

.jardepot-qty-btn {
    border: none;
    width: auto;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: 700;
    color: white;
    transition: all 0.3s ease;
    user-select: none;
    margin-top: 0px !important;
    padding: 10px;
}

.jardepot-qty-minus {
    background: #8FA4B3 !important;
    border-radius: 8px 0 0 8px !important;
    color: #fff !important;
}

.jardepot-qty-plus {
    background: #165788 !important;
    border-radius: 0 8px 8px 0 !important;
    color: #fff !important;
}

.jardepot-qty-minus:hover {
    background: #7A92A3 !important;
}

.jardepot-qty-plus:hover {
    background: #005a8b !important;
}

.jardepot-qty-btn:active {
    transform: scale(0.95);
}

.jardepot-qty-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Jardepot Custom Quantity Selector - Reglas globales para todos los forms con jardepot-qty-btn */
.jardepot-quantity-active .e-atc-qty-button-holder,
.jardepot-quantity-active .elementor-add-to-cart .e-atc-qty-button-holder {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: center !important;
    border: 0 !important;
    gap: 10px !important;
    margin-top: 0 !important;
    width: 100% !important;
}

/* Sobreescribir cualquier CSS de Elementor que esté apilando verticalmente */
.jardepot-quantity-active .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder {
    flex-direction: row !important;
}

/* Cambiar flex-basis de 100% a auto en elementos hijos - Mayor especificidad */
.jardepot-quantity-active.jardepot-quantity-active :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart).elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder>* {
    flex-basis: auto !important;
}

/* Selector más específico para forzar flex-basis auto */
.jardepot-quantity-active .elementor-widget-container .elementor-add-to-cart .e-atc-qty-button-holder > * {
    flex-basis: auto !important;
}

/* Selector ultra específico como último recurso */
.jardepot-quantity-active .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder > .quantity,
.jardepot-quantity-active .elementor-widget-woocommerce-product-add-to-cart .elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder > .single_add_to_cart_button {
    flex-basis: auto !important;
}

/* Fuerza bruta - sobreescribir TODOS los flex-basis en el contenedor */
.jardepot-quantity-active [class*="e-atc-qty-button-holder"] > * {
    flex-basis: auto !important;
    width: auto !important;
}

/* Específico para elementos dentro del holder */
.jardepot-quantity-active .e-atc-qty-button-holder > .quantity {
    flex-basis: auto !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    width: auto !important;
}

.jardepot-quantity-active .e-atc-qty-button-holder > button,
.jardepot-quantity-active .e-atc-qty-button-holder > .button {
    flex-basis: auto !important;
    flex-grow: 1 !important;
    width: auto !important;
}

/* Quitar margin del botón de add to cart */
.jardepot-quantity-active .woocommerce-js div.product form.cart .button.single_add_to_cart_button {
    margin: 0 !important;
    margin-left: 15px !important;
}

/* Los botones ahora están separados con gap, mantienen sus bordes redondeados */

/* Quitar margin-top en botones que no son el primero */
.jardepot-quantity-active :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart).elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder .button:where(:not(:first-child)),
.jardepot-quantity-active :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart).elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder button:where(:not(:first-child)) {
    margin-top: 0 !important;
}

/* Quitar padding de botones en el holder */
.jardepot-quantity-active :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart).elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder button {
    padding: 0 !important;
}

.jardepot-quantity-active :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart).elementor-add-to-cart--layout-stacked .e-atc-qty-button-holder button:where(:not(:first-child)) {
    padding: 0 !important;
}

/* Margin-top importante en formulario cart button no primero */
.jardepot-quantity-active :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart button:where(:not(:first-child)) {
    margin-top: 0 !important;
}

/* Remover margin del selector de cantidad */
.jardepot-quantity-active .woocommerce-js div.product form.cart div.quantity {
    margin: 0 !important;
}

/* Contenedor del selector de cantidad */
.jardepot-quantity-active .quantity {
    display: flex !important;
    align-items: center !important;
    background: transparent;
    border: none !important;
    border-radius: 0;
    overflow: hidden;
    min-width: 120px;
    width: auto !important;
    height: 48px;
    margin: 0 !important;
    flex-shrink: 0 !important;
    gap: 0 !important;
}

/* Ocultar label original */
.jardepot-quantity-active .quantity .screen-reader-text {
    display: none;
}

/* Input de cantidad */
.jardepot-quantity-active .quantity input[type="number"] {
    border: none !important;
    background: white !important;
    text-align: center !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    width: 50px !important;
    height: 48px !important;
    margin: 0 !important;
    padding: 0 5px !important;
    -moz-appearance: textfield;
    box-shadow: none !important;
    outline: none !important;
    border-radius: 0 !important;
}

/* Ocultar flechas del input number */
.jardepot-quantity-active .quantity input[type="number"]::-webkit-outer-spin-button,
.jardepot-quantity-active .quantity input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Botones + y - */
.jardepot-qty-btn {
    background: #ffffff;
    border: none;
    width: 44px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    transition: all 0.3s ease;
    user-select: none;
    margin-top: 0px !important;
}

.jardepot-qty-btn:hover {
    background: #f0f0f0;
    color: #000;
}

.jardepot-qty-btn:active {
    background: #e0e0e0;
    transform: scale(0.95);
}

.jardepot-qty-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* Botón de compra */
.jardepot-quantity-active .single_add_to_cart_button {
    flex: 1 !important;
    min-width: 180px !important;
    height: 48px !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border-radius: 8px !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border: none !important;
    background: #165788 !important;
    color: white !important;
    transition: all 0.3s ease !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 !important;
    margin-left: 15px !important;
    display: inline-block !important;
}

/* Botón cuando el selector de cantidad está visible - con gap separado */
.jardepot-quantity-active .single_add_to_cart_button:not(.jardepot-full-width-btn),
.jardepot-quantity-active .single_add_to_cart_button.button.alt:not(.jardepot-full-width-btn) {
    border-radius: 8px !important;
    margin-left: 0 !important;
}

/* Botón cuando el selector de cantidad está oculto */
.jardepot-quantity-active .single_add_to_cart_button.jardepot-full-width-btn,
.jardepot-quantity-active .single_add_to_cart_button.button.alt {
    border-radius: 8px !important;
    border-top-left-radius: 8px !important;
    border-bottom-left-radius: 8px !important;
    margin-left: 0 !important;
    width: 100% !important;
}

/* Ocultar selector de cantidad cuando el precio supera el umbral */
.jardepot-quantity-active .quantity.jardepot-quantity-hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Margin 0 para botón con clases específicas */
.jardepot-quantity-active .single_add_to_cart_button.button.alt {
    margin: 0 !important;
}

.jardepot-quantity-active .single_add_to_cart_button:hover {
    background: #005a8b !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.3) !important;
}

.jardepot-quantity-active .single_add_to_cart_button:active {
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    .jardepot-quantity-active .e-atc-qty-button-holder {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .jardepot-quantity-active .quantity {
        align-self: center;
        min-width: 140px;
    }

    .jardepot-quantity-active .single_add_to_cart_button {
        min-width: auto;
        width: 100%;
        margin-left: 0 !important;
    }
}

@media (max-width: 480px) {
    .jardepot-quantity-active .quantity {
        min-width: 120px;
        height: 44px;
    }

    .jardepot-qty-btn {
        width: 40px;
        height: 44px;
        font-size: 16px;
    }

    .jardepot-quantity-active .quantity input[type="number"] {
        width: 40px !important;
        height: 40px !important;
        font-size: 14px !important;
    }

    .jardepot-quantity-active .single_add_to_cart_button {
        height: 44px !important;
        font-size: 14px !important;
    }
}

/* Estados adicionales */
.jardepot-quantity-active .quantity:focus-within {
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.2);
}

.jardepot-quantity-active .quantity input[type="number"]:focus {
    outline: none;
}

/* ========================================
 * JARDEPOT - PERSONALIZACIÓN BOTÓN CARRITO
 * ======================================== */

.woocommerce .button.add_to_cart_button,
.woocommerce .single-product .button.single_add_to_cart_button {
    font-weight: bold;
    text-transform: uppercase;
}

/* ========================================
 * JARDEPOT - WOOCOMMERCE TABS PERSONALIZADOS
 * ======================================== */

/* Contenedor principal de las tabs cuando están activadas */
.jardepot-tabs-active {
    margin-top: 40px;
    background: transparent;
    border: none;
}

/* Título de la sección - ELIMINADO */
.jardepot-tabs-active::before {
    display: none;
}

/* Lista de tabs */
.jardepot-tabs-active ul.wc-tabs {
    display: flex;
    gap: 0;
    margin: 0 0 30px 0;
    padding: 0;
    border: none;
    background: transparent;
    list-style: none;
}

/* Estilo individual de cada tab - Pill style */
.jardepot-tabs-active ul.wc-tabs li {
    background: white;
    border: none;
    border-radius: 25px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Tab activa */
.jardepot-tabs-active ul.wc-tabs li.active {
    background: var(--e-global-color-674fe85) !important;
    transform: translateY(-2px);
    box-shadow: none !important;
    border-top-right-radius: 20px !important;
    border-top-left-radius: 25px !important;
    border-bottom-left-radius: 25px !important;
    border-bottom-right-radius: 0px !important;
}

/* Enlaces de las tabs */
.jardepot-tabs-active ul.wc-tabs li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    color: #58887C;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    border: none;
    background: transparent;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

/* Enlaces en tab activa */
.jardepot-tabs-active ul.wc-tabs li.active a {
    color: white !important;
    font-weight: 700 !important;
    padding: 20px 25px 20px 20px !important;
}

/* Hover en tabs inactivas */
.jardepot-tabs-active ul.wc-tabs li:not(.active):hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.jardepot-tabs-active ul.wc-tabs li:not(.active):hover a {
    color: #58887C;
}

/* Iconos para las tabs */
.jardepot-tabs-active ul.wc-tabs li a::before {
    font-family: "Font Awesome 5 Free", "dashicons";
    font-weight: 900;
    font-size: 16px;
    line-height: 1;
}

/* Icono para Description */
.jardepot-tabs-active ul.wc-tabs li#tab-title-description a::before {
    content: "\f15c"; /* fa-file-text */
}

/* Icono para Additional Information */
.jardepot-tabs-active ul.wc-tabs li#tab-title-additional_information a::before {
    content: "\f0ca"; /* fa-list-ul */
}

/* Icono para Reviews */
.jardepot-tabs-active ul.wc-tabs li#tab-title-reviews a::before {
    content: "\f086"; /* fa-comments */
}

/* Icono para Uso de Equipo */
.jardepot-tabs-active ul.wc-tabs li#tab-title-uso_de_equipo a::before,
.jardepot-tabs-active ul.wc-tabs li#tab-title-uso-de-equipo a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="uso"] a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="equipo"] a::before {
    content: "\f085"; /* fa-cogs / fa-gear */
}

/* Icono para Maquinaria / Custom Tab / Uso del equipo */
.jardepot-tabs-active ul.wc-tabs li#tab-title-maquinaria a::before,
.jardepot-tabs-active ul.wc-tabs li#tab-title-custom_tab a::before,
.jardepot-tabs-active ul.wc-tabs li.custom_tab_tab a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="maquinaria"] a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="machinery"] a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="custom_tab"] a::before {
    content: "\f52b"; /* fa-pocket-knife */
}

/* Fallback para iconos con dashicons si Font Awesome no está disponible */
.jardepot-tabs-active ul.wc-tabs li#tab-title-description a::before {
    content: "\f123"; /* dashicons-media-text */
    font-family: "dashicons";
    font-size: 18px;
}

.jardepot-tabs-active ul.wc-tabs li#tab-title-additional_information a::before {
    content: "\f123"; /* dashicons-list-view */
    font-family: "dashicons";
    font-size: 18px;
}

.jardepot-tabs-active ul.wc-tabs li#tab-title-reviews a::before {
    content: "\f101"; /* dashicons-admin-comments */
    font-family: "dashicons";
    font-size: 18px;
}

.jardepot-tabs-active ul.wc-tabs li#tab-title-uso_de_equipo a::before,
.jardepot-tabs-active ul.wc-tabs li#tab-title-uso-de-equipo a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="uso"] a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="equipo"] a::before {
    content: "\f108"; /* dashicons-admin-settings */
    font-family: "dashicons";
    font-size: 18px;
}

.jardepot-tabs-active ul.wc-tabs li#tab-title-maquinaria a::before,
.jardepot-tabs-active ul.wc-tabs li#tab-title-custom_tab a::before,
.jardepot-tabs-active ul.wc-tabs li.custom_tab_tab a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="maquinaria"] a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="machinery"] a::before,
.jardepot-tabs-active ul.wc-tabs li[class*="custom_tab"] a::before {
    content: "\f504"; /* dashicons-hammer (close approximation to pocket knife) */
    font-family: "dashicons";
    font-size: 18px;
}

/* Contenido de las tabs */
.jardepot-tabs-active .wc-tab {
    background: #faf9f7;
    border: none;
    border-radius: 16px;
    padding: 30px;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: relative;
}

/* Título dentro del contenido */
.jardepot-tabs-active .wc-tab h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 20px 0;
    padding: 0;
    border: none;
}

/* Contenido en dos columnas para description */
.jardepot-tabs-active #tab-description .wc-tab-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

/* Cajas de características */
.jardepot-feature-box {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.jardepot-feature-box h4 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    padding: 0;
}

.jardepot-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jardepot-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    color: #555;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
}

.jardepot-feature-list li:last-child {
    border-bottom: none;
}

.jardepot-feature-list li::before {
    content: "●";
    color: #007cba;
    font-weight: bold;
    font-size: 12px;
}

/* Estilos para additional information */
.jardepot-tabs-active #tab-additional_information table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.jardepot-tabs-active #tab-additional_information table th,
.jardepot-tabs-active #tab-additional_information table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.jardepot-tabs-active #tab-additional_information table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.jardepot-tabs-active #tab-additional_information table td {
    color: #555;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .jardepot-tabs-active ul.wc-tabs {
        flex-direction: column;
        gap: 6px;
    }

    .jardepot-tabs-active ul.wc-tabs li a {
        padding: 12px 16px;
        min-width: auto;
        justify-content: flex-start;
    }

    .jardepot-tabs-active .wc-tab {
        padding: 20px;
        border-radius: 12px;
    }

    .jardepot-tabs-active #tab-description .wc-tab-inner {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .jardepot-tabs-active .wc-tabs-wrapper::before {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

@media (max-width: 480px) {
    .jardepot-tabs-active ul.wc-tabs li a {
        font-size: 14px;
        padding: 10px 14px;
    }

    .jardepot-tabs-active .wc-tab {
        padding: 16px;
    }

    .jardepot-feature-box {
        padding: 16px;
    }
}

/* Animaciones */
.jardepot-tabs-active .wc-tab {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wrapper de tabs con margin y padding 0 */
.woocommerce-tabs.wc-tabs-wrapper.jardepot-tabs-active {
    margin: 0;
    padding: 0;
}

/* ========================================
 * JARDEPOT - ESTILOS ESPECÍFICOS PARA ELEMENTOR PRODUCT TABS (Solo en páginas de producto)
 * ======================================== */

/* ========================================
 * JARDEPOT - TABS MODERNAS COMPATIBLES
 * =========================================
 *
 * SISTEMA DE COMPATIBILIDAD MÚLTIPLE:
 * ------------------------------------
 * - .elementor-element-e4335ac (ID específico de template principal)
 * - .product-data-tabs (clase genérica para templates alternativos)
 * - Eliminación de ::before problemáticos del tema Astra
 * - Manejo de var(--ast-global-color-2) y otros backgrounds extraños
 *
 * DISEÑO VISUAL:
 * --------------
 * - Estados invertidos: activo con color del sitio, inactivo blanco
 * - Esquinas redondeadas personalizadas con extensión derecha
 * - Iconos dashicons para identificación visual
 * - Animaciones suaves en hover y transiciones
 *
 * COMPATIBILIDAD VERIFICADA:
 * --------------------------
 * - Templates con structure vertical
 * - Templates con structure horizontal
 * - Elementor Pro widgets
 * - WooCommerce estándar
 * - Tema Astra y child themes
 * ======================================== */

/* Aplicar directamente al elemento Elementor específico SOLO en páginas de producto */
.single-product .elementor-element-e4335ac.elementor-widget-woocommerce-product-data-tabs {
    margin: 0 !important;
    padding: 0 !important;
}

/* Eliminar título "Product Information" */
.single-product .elementor-element-e4335ac .woocommerce-tabs::before,
.single-product .elementor-element-e4335ac .wc-tabs-wrapper::before,
.single-product .elementor-element-e4335ac .woocommerce-tabs h2:first-child {
    display: none !important;
}

/* Estilos para las tabs */
.single-product .elementor-element-e4335ac ul.wc-tabs,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs,
.single-product .product-data-tabs ul.wc-tabs,
.single-product .product-data-tabs ul.tabs.wc-tabs {
    display: flex !important;
    gap: 8px !important;
    margin: 0 0 30px 0 !important;
    padding: 0 !important;
    border: none !important;
    background: transparent !important;
    list-style: none !important;
}

/* Estilo pill para cada tab */
.single-product .elementor-element-e4335ac ul.wc-tabs li,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li,
.single-product .product-data-tabs ul.wc-tabs li,
.single-product .product-data-tabs ul.tabs.wc-tabs li {
    background: white !important;
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    border-top-right-radius: 20px !important;
    border-top-left-radius: 05px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Tab activa */
.single-product .elementor-element-e4335ac ul.wc-tabs li.active,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li.active,
.single-product .product-data-tabs ul.wc-tabs li.active,
.single-product .product-data-tabs ul.tabs.wc-tabs li.active {
    background: var(--e-global-color-674fe85) !important;
    transform: translateY(-2px) !important;
    box-shadow: none !important;
    border-top-right-radius: 20px !important;
    border-top-left-radius: 05px !important;
    border-bottom-left-radius: 0px !important;
    border-bottom-right-radius: 0px !important;
}

/* Enlaces de las tabs */
.single-product .elementor-element-e4335ac ul.wc-tabs li a,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li a,
.single-product .product-data-tabs ul.wc-tabs li a,
.single-product .product-data-tabs ul.tabs.wc-tabs li a {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 20px 25px 20px 20px !important;
    color: var(--e-global-color-674fe85) !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.3s ease !important;
    min-width: 120px !important;
    justify-content: center !important;
}

/* Enlaces en tab activa */
.single-product .elementor-element-e4335ac ul.wc-tabs li.active a,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li.active a,
.single-product .product-data-tabs ul.wc-tabs li.active a,
.single-product .product-data-tabs ul.tabs.wc-tabs li.active a {
    color: white !important;
    font-weight: 700 !important;
    padding: 20px 25px 20px 20px !important;
}

/* Hover en tabs inactivas */
.single-product .elementor-element-e4335ac ul.wc-tabs li:not(.active):hover,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li:not(.active):hover,
.single-product .product-data-tabs ul.wc-tabs li:not(.active):hover,
.single-product .product-data-tabs ul.tabs.wc-tabs li:not(.active):hover {
    background: #f0f0f0 !important;
    transform: translateY(-1px) !important;
}

.single-product .elementor-element-e4335ac ul.wc-tabs li:not(.active):hover a,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li:not(.active):hover a,
.single-product .product-data-tabs ul.wc-tabs li:not(.active):hover a,
.single-product .product-data-tabs ul.tabs.wc-tabs li:not(.active):hover a {
    color: #58887C !important;
}

/* Iconos para elemento específico elementor-element-e4335ac */
.single-product .elementor-element-e4335ac ul.wc-tabs li a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li a::before,
.single-product .product-data-tabs ul.wc-tabs li a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li a::before {
    font-family: "Font Awesome 5 Free", "dashicons" !important;
    font-weight: 900 !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* Icono para Description en elemento específico */
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-description a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-description a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-description a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-description a::before {
    content: "\f15c" !important; /* fa-file-text */
}

/* Icono para Additional Information en elemento específico */
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-additional_information a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-additional_information a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-additional_information a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-additional_information a::before {
    content: "\f0ca" !important; /* fa-list-ul */
}

/* Icono para Reviews en elemento específico */
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-reviews a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-reviews a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-reviews a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-reviews a::before {
    content: "\f086" !important; /* fa-comments */
}

/* Icono para Uso de Equipo en elemento específico */
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-uso_de_equipo a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-uso-de-equipo a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li[class*="uso"] a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li[class*="equipo"] a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-uso_de_equipo a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-uso-de-equipo a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li[class*="uso"] a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li[class*="equipo"] a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-uso_de_equipo a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-uso-de-equipo a::before,
.single-product .product-data-tabs ul.wc-tabs li[class*="uso"] a::before,
.single-product .product-data-tabs ul.wc-tabs li[class*="equipo"] a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-uso_de_equipo a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-uso-de-equipo a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li[class*="uso"] a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li[class*="equipo"] a::before {
    content: "\f085" !important; /* fa-cogs / fa-gear */
}

/* Icono para Maquinaria / Custom Tab en elemento específico */
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-maquinaria a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li#tab-title-custom_tab a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li.custom_tab_tab a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li[class*="maquinaria"] a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li[class*="machinery"] a::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li[class*="custom_tab"] a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-maquinaria a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li#tab-title-custom_tab a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li.custom_tab_tab a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li[class*="maquinaria"] a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li[class*="machinery"] a::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li[class*="custom_tab"] a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-maquinaria a::before,
.single-product .product-data-tabs ul.wc-tabs li#tab-title-custom_tab a::before,
.single-product .product-data-tabs ul.wc-tabs li.custom_tab_tab a::before,
.single-product .product-data-tabs ul.wc-tabs li[class*="maquinaria"] a::before,
.single-product .product-data-tabs ul.wc-tabs li[class*="machinery"] a::before,
.single-product .product-data-tabs ul.wc-tabs li[class*="custom_tab"] a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-maquinaria a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li#tab-title-custom_tab a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li.custom_tab_tab a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li[class*="maquinaria"] a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li[class*="machinery"] a::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li[class*="custom_tab"] a::before {
    content: "\f52b" !important; /* fa-pocket-knife */
}

/* Wrapper de tabs */
.single-product .elementor-element-e4335ac .woocommerce-tabs.wc-tabs-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

/* Quitar ::before de description_tab active y otros selectores problemáticos */
.single-product .elementor-element-e4335ac ul.wc-tabs li.description_tab.active::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li.description_tab.active::before,
.single-product .elementor-element-e4335ac ul.wc-tabs li.active::before,
.single-product .elementor-element-e4335ac ul.tabs.wc-tabs li.active::before,
.single-product .product-data-tabs ul.wc-tabs li.active::before,
.single-product .product-data-tabs ul.tabs.wc-tabs li.active::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active::before,
.woocommerce div.ast-product-tabs-layout-vertical .woocommerce-tabs ul.tabs li:hover::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li:hover::before {
    display: none !important;
    content: none !important;
    background: transparent !important;
    background-color: transparent !important;
}

/* Regla general para eliminar backgrounds problemáticos en tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.ast-product-tabs-layout-vertical .woocommerce-tabs ul.tabs li::before {
    background: transparent !important;
    background-color: transparent !important;
    display: none !important;
    content: none !important;
}

/* ========================================
 * JARDEPOT - ALINEACIÓN DE PRECIO E IVA
 * ======================================== */

/* Contenedor principal del precio e IVA - Fuerza bruta para alineación izquierda */
.elementor-element-564fb076.e-con,
.elementor-element-564fb076.e-con-full,
.elementor-element-564fb076.e-flex,
.elementor-element-564fb076.e-parent,
.elementor-element.elementor-element-564fb076.e-con-full.e-flex.e-con.e-parent {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 5px !important;
}

/* Widget del precio */
.elementor-element-564fb076 .elementor-element-306b0909 {
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    align-self: flex-start !important;
}

.elementor-element-564fb076 .elementor-widget-woocommerce-product-price {
    text-align: left !important;
    height: auto !important;
    min-height: auto !important;
}

.elementor-element-564fb076 .elementor-widget-woocommerce-product-price .elementor-widget-container {
    text-align: left !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
}

.elementor-element-564fb076 .price {
    text-align: left !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
    line-height: 1.2 !important;
}

/* Widget del IVA */
.elementor-element-564fb076 .elementor-element-d58ad21.iva-short {
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    align-self: flex-start !important;
}

.elementor-element-564fb076 .iva-short .elementor-widget-container {
    text-align: left !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
}

.elementor-element-564fb076 .tipo_iva {
    text-align: left !important;
    display: block;
    height: auto !important;
    min-height: auto !important;
    line-height: 1.2 !important;
    margin: 0 !important;
}

/* Selector más genérico para otros productos que puedan tener IDs diferentes */
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 5px !important;
}

/* Botón añadir al carrito en contenedores con precio e IVA */
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .single_add_to_cart_button,
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .button.single_add_to_cart_button {
    background-color: #165788 !important;
    background: #165788 !important;
}

.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .single_add_to_cart_button:hover,
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .button.single_add_to_cart_button:hover {
    background-color: #0d3f5a !important;
    background: #0d3f5a !important;
}

/* Margin-top 0 para quantity button holder en contexto con precio e IVA */
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .jardepot-quantity-active .e-atc-qty-button-holder,
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .jardepot-quantity-active .elementor-add-to-cart .e-atc-qty-button-holder {
    margin-top: 0 !important;
}

.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .elementor-widget-woocommerce-product-price,
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .iva-short {
    width: auto !important;
    height: auto !important;
    min-height: auto !important;
    align-self: flex-start !important;
    text-align: left !important;
}

.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .elementor-widget-container {
    text-align: left !important;
    height: auto !important;
    min-height: auto !important;
    padding: 0 !important;
}

.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .price,
.e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .tipo_iva {
    text-align: left !important;
    margin: 0 !important;
    height: auto !important;
    min-height: auto !important;
    line-height: 1.2 !important;
}

/* REGLAS DE FUERZA BRUTA para alineación izquierda - Mayor especificidad */
.single-product .elementor-element-564fb076,
.woocommerce-page .elementor-element-564fb076,
.elementor-widget-container .elementor-element-564fb076,
body .elementor-element-564fb076 {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
}

.single-product .elementor-element-564fb076 *,
.woocommerce-page .elementor-element-564fb076 *,
.elementor-widget-container .elementor-element-564fb076 *,
body .elementor-element-564fb076 * {
    text-align: left !important;
    align-self: flex-start !important;
}

.single-product .elementor-element-564fb076 .elementor-widget-container,
.woocommerce-page .elementor-element-564fb076 .elementor-widget-container,
body .elementor-element-564fb076 .elementor-widget-container {
    text-align: left !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
}

.single-product .elementor-element-564fb076 .price,
.single-product .elementor-element-564fb076 .tipo_iva,
.woocommerce-page .elementor-element-564fb076 .price,
.woocommerce-page .elementor-element-564fb076 .tipo_iva,
body .elementor-element-564fb076 .price,
body .elementor-element-564fb076 .tipo_iva {
    text-align: left !important;
    justify-content: flex-start !important;
    align-self: flex-start !important;
}

/* ========================================
 * SOBREESCRIBIR MIN-HEIGHT PARA MÓVILES
 * ======================================== */
@media (max-width: 768px) {
    /* FUERZA BRUTA: Dar min-height específico para evitar height: 0 en móviles */
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .iva-short {
        height: auto !important;
        min-height: 35px !important;
        display: block !important;
        position: relative !important;
        z-index: 5 !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        clear: both !important;
        width: 100% !important;
    }

    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .iva-short .elementor-widget-container {
        height: auto !important;
        min-height: 30px !important;
        display: block !important;
        padding: 4px 0 !important;
        line-height: 1.3 !important;
    }

    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .tipo_iva {
        height: auto !important;
        min-height: 25px !important;
        display: block !important;
        line-height: 1.3 !important;
        padding: 2px 0 !important;
        margin-bottom: 3px !important;
    }

    /* Elemento específico por ID con especificidad máxima */
    .elementor-element-d58ad21.iva-short {
        height: auto !important;
        min-height: 35px !important;
        display: block !important;
        position: relative !important;
        z-index: 5 !important;
        margin-top: 0px !important;
        margin-bottom: 0px !important;
        clear: both !important;
        width: 100% !important;
    }

    .elementor-element-d58ad21.iva-short .elementor-widget-container {
        height: auto !important;
        min-height: 30px !important;
        display: block !important;
        padding: 4px 0 !important;
        line-height: 1.3 !important;
    }

    /* Elemento de envío problemático */
    .elementor-element-55e06407.envio-volada-ficha {
        height: auto !important;
        min-height: 30px !important;
        display: block !important;
        position: relative !important;
        z-index: 4 !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        padding: 6px 0 !important;
        clear: both !important;
        width: 100% !important;
    }

    .elementor-element-55e06407.envio-volada-ficha .elementor-widget-container {
        height: auto !important;
        min-height: 25px !important;
        display: block !important;
        line-height: 1.4 !important;
        padding: 4px 0 !important;
    }

    /* CENTRAR PRECIO E IVA EN MÓVILES */
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .elementor-element-564fb076.e-con-full.e-flex.e-con.e-parent {
        align-items: center !important;
        text-align: center !important;
        justify-content: center !important;
    }

    .elementor-element-564fb076 .elementor-widget-woocommerce-product-price,
    .elementor-element-564fb076 .iva-short,
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .elementor-widget-woocommerce-product-price,
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .iva-short {
        text-align: center !important;
        align-self: center !important;
    }

    .elementor-element-564fb076 .elementor-widget-container,
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .elementor-widget-container {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .elementor-element-564fb076 .price,
    .elementor-element-564fb076 .tipo_iva,
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .price,
    .e-con-full.e-flex.e-con.e-parent:has(.elementor-widget-woocommerce-product-price):has(.iva-short) .tipo_iva {
        text-align: center !important;
        justify-content: center !important;
        align-self: center !important;
    }

    /* SOBREESCRIBIR MARGIN NEGATIVO ESPECÍFICO DE ELEMENTOR para el IVA */
    .elementor-101404 .elementor-element.elementor-element-d58ad21 > .elementor-widget-container {
        margin: 0px 0px 0px 0px !important;
        padding: 4px 0 !important;
        position: relative !important;
        z-index: 5 !important;
        display: block !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
    }

    /* Regla más específica para asegurar que se aplique */
    body .elementor-101404 .elementor-element.elementor-element-d58ad21.iva-short > .elementor-widget-container {
        margin: 0px 0px 5px 0px !important;
        padding: 4px 0 !important;
        position: relative !important;
        z-index: 5 !important;
        display: block !important;
        width: 100% !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

/* ========================================
 * JARDEPOT - ELEMENTOS ESPECÍFICOS ADICIONALES
 * ======================================== */

/* Padding para descripción corta del producto */
.elementor-widget-woocommerce-product-short-description .elementor-widget-container:first-child {
    padding: 20px !important;
}

/* Estilos para el título "Características Clave" */
.elementor-101404 .elementor-element.elementor-element-26ca950 .elementor-heading-title {
    font-weight: 700 !important;
    background: var(--e-global-color-674fe85) !important;
    display: inline-block !important;
    padding: 20px 25px 20px 20px !important;
    height: auto !important;
    color: #fff !important;
    border-top-right-radius: 20px !important;
}

/* Estilos específicos para WooCommerce tabs */
.woocommerce div.product.elementor ul.tabs {
    margin: 0 !important;
    padding: 0 !important;
    gap: 0 !important;
}

/* Margin top negativo para el panel de tabs */
.woocommerce .elementor-101404 .elementor-element.elementor-element-e4335ac .woocommerce-tabs .woocommerce-Tabs-panel {
    margin-top: -3px !important;
}

.no-margin {
    margin: 0!important;
    margin-block-end: 0px!important;
}

/* Título responsive para mobile */
@media (max-width: 768px) {
    .elementor-101404 .elementor-element.elementor-element-26ca950 .elementor-heading-title {
        width: 100% !important;
        max-width: 100% !important;
    }

    /* Tabs horizontales en mobile */
    .jardepot-tabs-active ul.wc-tabs,
    .single-product .elementor-element-e4335ac ul.wc-tabs,
    .single-product .elementor-element-e4335ac ul.tabs.wc-tabs,
    .single-product .product-data-tabs ul.wc-tabs,
    .single-product .product-data-tabs ul.tabs.wc-tabs,
    .woocommerce div.product.elementor ul.tabs {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        gap: 5px !important;
        width: 100% !important;
    }

    /* Li elementos responsive - 3 o 4 elementos */
    .jardepot-tabs-active ul.wc-tabs li,
    .single-product .elementor-element-e4335ac ul.wc-tabs li,
    .single-product .elementor-element-e4335ac ul.tabs.wc-tabs li,
    .single-product .product-data-tabs ul.wc-tabs li,
    .single-product .product-data-tabs ul.tabs.wc-tabs li,
    .woocommerce div.product.elementor ul.tabs li,
    .woocommerce .elementor-101404 .elementor-element.elementor-element-e4335ac .woocommerce-tabs ul.wc-tabs li {
        flex: 1 1 calc(33.333% - 5px) !important;
        min-width: calc(25% - 5px) !important;
        max-width: calc(33.333% - 5px) !important;
        margin: 0 !important;
        line-height: 0 !important;
    }

    /* Enlaces más compactos en mobile - Solo iconos */
    .jardepot-tabs-active ul.wc-tabs li a,
    .single-product .elementor-element-e4335ac ul.wc-tabs li a,
    .single-product .elementor-element-e4335ac ul.tabs.wc-tabs li a,
    .single-product .product-data-tabs ul.wc-tabs li a,
    .single-product .product-data-tabs ul.tabs.wc-tabs li a,
    .woocommerce div.product.elementor ul.tabs li a,
    .woocommerce .elementor-101404 .elementor-element.elementor-element-e4335ac .woocommerce-tabs ul.wc-tabs li a {
        padding: 15px 10px !important;
        font-size: 0 !important; /* Ocultar texto */
        line-height: 0 !important; /* Forzar line-height a 0 */
        text-align: center !important;
        justify-content: center !important;
        flex-direction: column !important;
        gap: 0 !important;
        overflow: hidden !important;
    }

    /* Mostrar solo iconos en mobile */
    .jardepot-tabs-active ul.wc-tabs li a::before,
    .single-product .elementor-element-e4335ac ul.wc-tabs li a::before,
    .single-product .elementor-element-e4335ac ul.tabs.wc-tabs li a::before,
    .single-product .product-data-tabs ul.wc-tabs li a::before,
    .single-product .product-data-tabs ul.tabs.wc-tabs li a::before,
    .woocommerce div.product.elementor ul.tabs li a::before {
        font-size: 20px !important;
        margin: 0 !important;
        display: block !important;
    }

    /* Ocultar pseudo-elementos problemáticos en mobile */
    .woocommerce #content div.product .woocommerce-tabs ul.tabs::after,
    .woocommerce #content div.product .woocommerce-tabs ul.tabs::before,
    .woocommerce div.product .woocommerce-tabs ul.tabs::after,
    .woocommerce div.product .woocommerce-tabs ul.tabs::before,
    .woocommerce-page #content div.product .woocommerce-tabs ul.tabs::after,
    .woocommerce-page #content div.product .woocommerce-tabs ul.tabs::before,
    .woocommerce-page div.product .woocommerce-tabs ul.tabs::after,
    .woocommerce-page div.product .woocommerce-tabs ul.tabs::before {
        display: none !important;
        content: none !important;
    }
}

/* ========================================
 * JARDEPOT - PERSONALIZACIÓN DE PRECIOS CON OFERTA
 * ======================================== */

/* Desktop: Precio actual a la izquierda, precio original a la derecha */
.elementor-widget-woocommerce-product-price .price {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    flex-wrap: nowrap !important;
}

.elementor-widget-woocommerce-product-price .price del {
    order: 2 !important;
    margin: 0 !important;
    text-decoration: none !important;
    opacity: 1 !important;
}

.elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount {
    font-size: 2rem !important;
    color: #999 !important;
    font-weight: 400 !important;
    text-decoration: none !important;
}

.elementor-widget-woocommerce-product-price .price ins {
    order: 1 !important;
    margin: 0 !important;
    text-decoration: none !important;
}

.elementor-widget-woocommerce-product-price .price .screen-reader-text {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Override para evitar conflictos con align-self de otros estilos */
.elementor-element-564fb076 .elementor-widget-woocommerce-product-price .price,
.single-product .elementor-element-564fb076 .price,
.woocommerce-page .elementor-element-564fb076 .price,
body .elementor-element-564fb076 .price {
    align-self: stretch !important;
}

.elementor-element-564fb076 .elementor-widget-woocommerce-product-price .price del,
.elementor-element-564fb076 .elementor-widget-woocommerce-product-price .price ins,
.single-product .elementor-element-564fb076 .price del,
.single-product .elementor-element-564fb076 .price ins,
.woocommerce-page .elementor-element-564fb076 .price del,
.woocommerce-page .elementor-element-564fb076 .price ins,
body .elementor-element-564fb076 .price del,
body .elementor-element-564fb076 .price ins {
    align-self: auto !important;
}

/* Mobile: Precio actual arriba, precio original abajo, ambos centrados */
@media (max-width: 768px) {
    .elementor-widget-woocommerce-product-price .price {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 8px !important;
        justify-content: center !important;
        width: 100% !important;
        align-self: stretch !important;
    }

    .elementor-widget-woocommerce-product-price .price del {
        order: 2 !important;
        text-align: center !important;
        align-self: center !important;
    }

    .elementor-widget-woocommerce-product-price .price ins {
        order: 1 !important;
        text-align: center !important;
        align-self: center !important;
    }

    .elementor-widget-woocommerce-product-price .price del .woocommerce-Price-amount,
    .elementor-widget-woocommerce-product-price .price ins .woocommerce-Price-amount {
        display: block !important;
        text-align: center !important;
    }

    /* Override específico para mobile dentro del elemento 564fb076 */
    .elementor-element-564fb076 .elementor-widget-woocommerce-product-price .price,
    .single-product .elementor-element-564fb076 .price,
    .woocommerce-page .elementor-element-564fb076 .price,
    body .elementor-element-564fb076 .price {
        align-self: stretch !important;
        text-align: center !important;
    }

    .elementor-element-564fb076 .price del,
    .elementor-element-564fb076 .price ins,
    .single-product .elementor-element-564fb076 .price del,
    .single-product .elementor-element-564fb076 .price ins,
    .woocommerce-page .elementor-element-564fb076 .price del,
    .woocommerce-page .elementor-element-564fb076 .price ins,
    body .elementor-element-564fb076 .price del,
    body .elementor-element-564fb076 .price ins {
        align-self: center !important;
        text-align: center !important;
    }
}