.elementor-37016 .elementor-element.elementor-element-48211b0a > .elementor-container{max-width:1200px;}.elementor-37016 .elementor-element.elementor-element-3eb6e24.elementor-column > .elementor-widget-wrap{justify-content:flex-start;}.elementor-37016 .elementor-element.elementor-element-3eb6e24 > .elementor-widget-wrap > .elementor-widget:not(.elementor-widget__width-auto):not(.elementor-widget__width-initial):not(:last-child):not(.elementor-absolute){margin-block-end:50px;}.elementor-37016 .elementor-element.elementor-element-649ebe7c > .elementor-widget-container{margin:10px 10px 10px 10px;}.elementor-37016 .elementor-element.elementor-element-59b8139b > .elementor-widget-container{margin:-88px 0px 0px 0px;}.elementor-37016 .elementor-element.elementor-element-498c45c9:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, .elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-element-populated, .elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-element-populated > .elementor-background-overlay, .elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-background-slideshow{border-radius:16px 16px 16px 16px;}.elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-element-populated{box-shadow:0px 4px 10px 0px rgba(0, 0, 0, 0.6);transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin:10px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:20px 20px 20px 20px;}.elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-37016 .elementor-element.elementor-element-5f7b1504 > .elementor-widget-container{margin:0px 0px 15px 0px;}.elementor-37016 .elementor-element.elementor-element-5f7b1504{text-align:start;}.elementor-37016 .elementor-element.elementor-element-5f7b1504 .elementor-heading-title{font-family:"Verdana", Sans-serif;font-size:40px;font-weight:500;text-transform:capitalize;line-height:50px;color:#3A8A06;}.elementor-37016 .elementor-element.elementor-element-730762e3 > .elementor-widget-container{margin:-35px 0px -20px 0px;}.woocommerce .elementor-37016 .elementor-element.elementor-element-730762e3 .price{color:#020101;font-size:30px;line-height:1px;word-spacing:5px;}.woocommerce .elementor-37016 .elementor-element.elementor-element-730762e3 .price ins{font-size:30px;line-height:1px;word-spacing:5px;}.elementor-37016 .elementor-element.elementor-element-5206f7be > .elementor-widget-container{margin:0px 0px 20px 0px;}.woocommerce .elementor-37016 .elementor-element.elementor-element-5206f7be .woocommerce-product-details__short-description{font-size:1px;font-weight:400;}.elementor-37016 .elementor-element.elementor-element-40d065eb > .elementor-widget-container{margin:0px 0px 0px 0px;}.elementor-37016 .elementor-element.elementor-element-40d065eb .cart button, .elementor-37016 .elementor-element.elementor-element-40d065eb .cart .button{transition:all 0.2s;}.elementor-37016 .elementor-element.elementor-element-40d065eb .quantity .qty{transition:all 0.2s;}.elementor-37016 .elementor-element.elementor-element-c79d05a:not(.elementor-motion-effects-element-type-background) > .elementor-widget-wrap, .elementor-37016 .elementor-element.elementor-element-c79d05a > .elementor-widget-wrap > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-37016 .elementor-element.elementor-element-c79d05a > .elementor-element-populated{border-style:solid;border-width:1px 1px 1px 1px;border-color:#E5E5E5;box-shadow:0px 0px 10px 0px rgba(0,0,0,0.5);transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;margin:36px 0px 0px 0px;--e-column-margin-right:0px;--e-column-margin-left:0px;padding:30px 30px 30px 30px;}.elementor-37016 .elementor-element.elementor-element-c79d05a > .elementor-element-populated > .elementor-background-overlay{transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-37016 .elementor-element.elementor-element-3878538a > .elementor-widget-container{margin:0px 0px 15px 0px;}.elementor-37016 .elementor-element.elementor-element-3878538a{text-align:start;}.elementor-37016 .elementor-element.elementor-element-3878538a .elementor-heading-title{font-size:40px;font-weight:500;text-transform:uppercase;}.elementor-37016 .elementor-element.elementor-element-7e6c95b5{font-weight:400;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products ul.products li.product{text-align:center;border-radius:0px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products  ul.products{grid-column-gap:100px;grid-row-gap:33px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products .attachment-woocommerce_thumbnail{margin-bottom:0px;}.woocommerce .elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products .products > h2{margin-bottom:26px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{margin-bottom:7px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{margin-bottom:7px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products ul.products li.product .star-rating{font-size:0.1em;margin-bottom:0px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products ul.products li.product .button{margin-top:0px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products .added_to_cart{margin-inline-start:0px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products ul.products li.product span.onsale{display:block;border-radius:0px;min-width:0px;margin:0px;}@media(max-width:1024px){.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-37016 .elementor-element.elementor-element-498c45c9 > .elementor-element-populated{margin:10px 10px 0px 10px;--e-column-margin-right:10px;--e-column-margin-left:10px;padding:20px 20px 20px 20px;}.elementor-37016 .elementor-element.elementor-element-5f7b1504 .elementor-heading-title{font-size:26px;line-height:0.9em;letter-spacing:0.1px;word-spacing:0em;}.woocommerce .elementor-37016 .elementor-element.elementor-element-5206f7be .woocommerce-product-details__short-description{font-size:50px;}.elementor-37016 .elementor-element.elementor-element-c79d05a > .elementor-element-populated{margin:9px 10px 0px 10px;--e-column-margin-right:10px;--e-column-margin-left:10px;}.elementor-37016 .elementor-element.elementor-element-3878538a > .elementor-widget-container{margin:0px 0px -20px 0px;}.elementor-37016 .elementor-element.elementor-element-3878538a .elementor-heading-title{font-size:26px;}.elementor-37016 .elementor-element.elementor-element-35970688.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for woocommerce-product-images, class: .elementor-element-649ebe7c *//* =========================
   IMAGEN PRINCIPAL (TARJETA)
========================= */
.woocommerce-product-gallery__image img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background: #fff;
    padding: 10px;
}

/* =========================
   CONTENEDOR IMAGEN
========================= */
.woocommerce-product-gallery {
    background: #fff;
    padding: 15px;
    border-radius: 14px;
}

/* =========================
   MINIATURAS
========================= */
.flex-control-thumbs img {
    border-radius: 10px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover miniaturas */
.flex-control-thumbs img:hover {
    border-color: #000;
}

/* Imagen ACTIVA (seleccionada) */
.flex-control-thumbs .flex-active {
    border: 2px solid #000 !important;
    border-radius: 10px;
}/* End custom CSS */
/* Start custom CSS for shortcode, class: .elementor-element-59b8139b *//* =========================
   DELITALIA - BLOQUE MAYORISTA VINOS
   Reemplaza TODO el CSS anterior por este
========================= */

.dl-mayorista-box {
    margin-top: 18px !important;
    font-family: inherit !important;
}

/* Título */
.dl-mayorista-title {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    color: #009037 !important;
    margin: 0 0 10px !important;
    text-transform: uppercase !important;
    letter-spacing: .2px !important;
}

.dl-mayorista-title::before {
    content: "🍷";
    font-size: 16px !important;
}

.dl-mayorista-title::after {
    content: "";
    flex: 1 !important;
    height: 1px !important;
    background: rgba(0, 144, 55, .22) !important;
}

/* Caja general de cada oferta */
.dl-mayorista-option {
    appearance: none !important;
    -webkit-appearance: none !important;
    width: 100% !important;
    min-height: auto !important;
    display: grid !important;
    grid-template-columns: 18px 1fr 170px !important;
    align-items: center !important;
    column-gap: 11px !important;
    background: #fff !important;
    color: #26313d !important;
    border: 1px solid rgba(0, 144, 55, .28) !important;
    border-left: 4px solid #009037 !important;
    border-radius: 10px !important;
    padding: 12px 14px 12px 12px !important;
    margin: 0 0 9px !important;
    cursor: pointer !important;
    text-align: left !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.045) !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    transition: .18s ease !important;
}

.dl-mayorista-option:hover {
    background: #fffaf0 !important;
    border-color: #009037 !important;
    border-left-color: #D0021B !important;
    color: #26313d !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,.08) !important;
}

.dl-mayorista-option.is-active {
    background: #FFF7EA !important;
    border-color: #009037 !important;
    border-left-color: #D0021B !important;
    box-shadow: 0 4px 14px rgba(0, 144, 55, .14) !important;
}

/* Radio */
.dl-mayorista-radio {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    margin: 0 !important;
    border: 2px solid #009037 !important;
    border-radius: 50% !important;
    background: #fff !important;
    display: inline-block !important;
    position: relative !important;
}

.dl-mayorista-option.is-active .dl-mayorista-radio {
    border-color: #D0021B !important;
}

.dl-mayorista-option.is-active .dl-mayorista-radio::after {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    background: #D0021B !important;
    border-radius: 50% !important;
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
}

/* Texto izquierdo */
.dl-mayorista-main {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    min-width: 0 !important;
}

.dl-mayorista-label {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 850 !important;
    color: #26313d !important;
    margin: 0 !important;
    text-transform: none !important;
}

.dl-mayorista-sub {
    display: block !important;
    margin-top: 4px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    color: #68717b !important;
    text-transform: none !important;
}

/* Bloque derecho de precios */
.dl-mayorista-price {
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    text-align: right !important;
    line-height: 1.12 !important;
    color: #D0021B !important;
}

.dl-mayorista-price strong {
    display: block !important;
    font-size: 11px !important;
    line-height: 1.1 !important;
    margin-bottom: 4px !important;
    color: #D0021B !important;
    font-weight: 900 !important;
    letter-spacing: .25px !important;
    white-space: nowrap !important;
}

.dl-mayorista-price > span {
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 7px !important;
    width: 100% !important;
    font-size: 13px !important;
    line-height: 1.1 !important;
    color: #D0021B !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

.dl-mayorista-price .woocommerce-Price-amount,
.dl-mayorista-price .woocommerce-Price-amount bdi,
.dl-mayorista-price .woocommerce-Price-currencySymbol {
    display: inline !important;
    white-space: nowrap !important;
}

.dl-mayorista-price del {
    display: inline !important;
    color: #7b7b7b !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
}

.dl-mayorista-price small {
    display: inline-block !important;
    margin-top: 4px !important;
    padding: 2px 7px !important;
    background: rgba(208, 2, 27, .08) !important;
    color: #D0021B !important;
    border-radius: 999px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
}

/* Caja inferior cuando se selecciona compra 12 */
.dl-mayorista-actions {
    border: 1px solid rgba(0, 144, 55, .38) !important;
    border-top: 0 !important;
    border-radius: 0 0 10px 10px !important;
    padding: 11px 13px 13px !important;
    margin-top: -9px !important;
    margin-bottom: 13px !important;
    background: #FFF7EA !important;
    box-shadow: 0 3px 10px rgba(0,0,0,.04) !important;
}

/* Selector cantidad */
.dl-mayorista-qty {
    display: flex !important;
    width: 100% !important;
    height: 35px !important;
    border: 1px solid rgba(0, 144, 55, .55) !important;
    border-radius: 999px !important;
    background: #fff !important;
    margin-bottom: 9px !important;
    overflow: hidden !important;
}

.dl-mayorista-qty[hidden] {
    display: none !important;
}

.dl-mayorista-qty button {
    width: 44px !important;
    height: 100% !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #009037 !important;
    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    box-shadow: none !important;
}

.dl-mayorista-qty button:hover {
    background: rgba(0, 144, 55, .08) !important;
    color: #D0021B !important;
}

.dl-mayorista-qty input {
    flex: 1 !important;
    border: 0 !important;
    text-align: center !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    background: transparent !important;
    color: #26313d !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Resumen */
.dl-mayorista-summary {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    color: #26313d !important;
    margin-bottom: 10px !important;
}

.dl-summary-total {
    color: #D0021B !important;
    font-weight: 850 !important;
    white-space: nowrap !important;
}

/* Botón */
.dl-mayorista-tomar {
    width: 100% !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #009037 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    padding: 12px 15px !important;
    cursor: pointer !important;
    letter-spacing: .35px !important;
    box-shadow: 0 3px 10px rgba(0, 144, 55, .20) !important;
}

.dl-mayorista-tomar:hover {
    background: #D0021B !important;
    color: #fff !important;
}

/* Ajuste móvil */
@media (max-width: 767px) {
    .dl-mayorista-option {
        grid-template-columns: 18px 1fr !important;
        grid-template-areas:
            "radio texto"
            "radio precio" !important;
        row-gap: 8px !important;
        padding: 12px !important;
    }

    .dl-mayorista-radio {
        grid-area: radio !important;
        align-self: center !important;
    }

    .dl-mayorista-main {
        grid-area: texto !important;
    }

    .dl-mayorista-price {
        grid-area: precio !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
        align-items: flex-start !important;
        text-align: left !important;
    }

    .dl-mayorista-price > span {
        justify-content: flex-start !important;
    }

    .dl-mayorista-summary {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 3px !important;
    }

    .dl-summary-total {
        white-space: normal !important;
    }
}/* End custom CSS */
/* Start custom CSS for woocommerce-product-add-to-cart, class: .elementor-element-40d065eb *//* ========================================
   SINGLE PRODUCT - FILA DE COMPRA
======================================== */

.single-product div.product form.cart,
.single-product div.product .woocommerce-variation-add-to-cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 18px !important;
    text-align: center !important;
}

.single-product div.product form.cart > *,
.single-product div.product .woocommerce-variation-add-to-cart > * {
    margin: 0 !important;
}

/* ========================================
   CANTIDAD PERSONALIZADA
======================================== */

.single-product .summary .quantity.custom-qty {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    background: transparent !important;
    min-width: auto !important;
    height: auto !important;
    box-sizing: border-box !important;
    margin: 0 auto !important;
    float: none !important;
    clear: both !important;
}

.single-product .summary .quantity.custom-qty .qty-btn {
    width: 54px !important;
    min-width: 54px !important;
    height: 54px !important;
    border: none !important;
    background: #0a9f39 !important;
    color: #fff !important;
    font-size: 34px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    border-radius: 999px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.single-product .summary .quantity.custom-qty .qty-btn:hover {
    opacity: 0.92 !important;
}

.single-product .summary .quantity.custom-qty .qty-btn:disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

.single-product .summary .quantity.custom-qty input.qty {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 92px !important;
    min-width: 92px !important;
    height: 46px !important;
    border: 2px solid #0a9f39 !important;
    border-radius: 12px !important;
    box-shadow: none !important;
    text-align: center !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #111 !important;
    float: none !important;
    -moz-appearance: textfield !important;
}

.single-product .summary .quantity.custom-qty input.qty::-webkit-outer-spin-button,
.single-product .summary .quantity.custom-qty input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* fallback */
.single-product .summary .quantity:not(.custom-qty) input.qty {
    height: 46px !important;
    border-radius: 12px !important;
}

/* ========================================
   BOTÓN AÑADIR AL CARRITO NORMAL
======================================== */

.single-product .summary .single_add_to_cart_button,
.single-product .summary button.single_add_to_cart_button,
.single-product div.product form.cart .single_add_to_cart_button,
.single-product div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;

    width: 280px !important;
    max-width: 92% !important;
    min-width: 280px !important;
    height: 56px !important;
    min-height: 56px !important;

    margin: 0 auto !important;
    padding: 0 28px !important;

    border: none !important;
    border-radius: 14px !important;
    background: #0a9f39 !important;
    color: #fff !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    box-shadow: none !important;
    float: none !important;
    clear: both !important;
    flex: 0 0 100% !important;
    position: relative !important;
    transform: none !important;
}

.single-product .summary .single_add_to_cart_button:hover,
.single-product .summary button.single_add_to_cart_button:hover {
    background: #0a9f39 !important;
    color: #fff !important;
    opacity: .95 !important;
}

/* Si WooCommerce lo desactiva por variación no seleccionada */
.single-product .summary .single_add_to_cart_button.disabled,
.single-product .summary button.single_add_to_cart_button.disabled,
.single-product .summary .single_add_to_cart_button:disabled,
.single-product .summary button.single_add_to_cart_button:disabled {
    opacity: .55 !important;
    cursor: not-allowed !important;
}

/* ========================================
   OCULTAR PRECIO INFERIOR DE VARIACIÓN
======================================== */

.single-product .woocommerce-variation.single_variation .woocommerce-variation-price {
    display: none !important;
}

.single-product .woocommerce-variation.single_variation {
    margin: 0 !important;
    padding: 0 !important;
}

/* ========================================
   VARIACIONES
======================================== */

.single-product .summary .variations_form {
    display: block !important;
}

.single-product .summary table.variations {
    width: 100% !important;
    margin-bottom: 12px !important;
}

.single-product .summary table.variations tr {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
}

.single-product .summary table.variations td,
.single-product .summary table.variations th {
    width: 100% !important;
    padding: 0 !important;
}

.single-product .summary table.variations label {
    font-size: 13px !important;
    font-weight: 500 !important;
}

.single-product .summary table.variations select {
    width: 100% !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    border: 1px solid #d8d8d8 !important;
    min-height: 46px !important;
}

/* ========================================
   RESUMEN
======================================== */

.single-product div.product .summary {
    overflow: visible !important;
}

.single-product div.product .summary .stock,
.single-product div.product .summary .price,
.single-product div.product .summary p,
.single-product div.product .summary .woocommerce-product-details__short-description {
    clear: both;
}

/* ========================================
   STICKY ADD TO CART - SOLO CELULAR
======================================== */

.sticky-add-to-cart {
    display: none;
}

@media (max-width: 768px) {
    .sticky-add-to-cart.is-visible {
        display: block !important;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 99999;
        background: #fff;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        box-shadow: 0 -6px 20px rgba(0,0,0,.12);
    }

    .sticky-add-to-cart .btn-sticky-cart {
        width: 100%;
        height: 54px;
        border: none;
        border-radius: 999px;
        background: #0a9f39;
        color: #fff;
        font-size: 16px;
        font-weight: 700;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .sticky-add-to-cart .btn-sticky-cart:hover {
        background: #0a9f39;
        opacity: .95;
    }

    body.single-product.has-sticky-add-to-cart {
        padding-bottom: 86px;
    }
}

@media (min-width: 769px) {
    .sticky-add-to-cart {
        display: none !important;
    }

    body.single-product {
        padding-bottom: 0 !important;
    }
}

/* ========================================
   MÓVIL - ALINEACIÓN FINAL
======================================== */

@media (max-width: 768px) {
    .single-product div.product form.cart,
    .single-product div.product .woocommerce-variation-add-to-cart {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .single-product .summary .quantity.custom-qty {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .single-product .summary .single_add_to_cart_button,
    .single-product .summary button.single_add_to_cart_button,
    .single-product div.product form.cart .single_add_to_cart_button,
    .single-product div.product .woocommerce-variation-add-to-cart .single_add_to_cart_button {
        width: 280px !important;
        min-width: 280px !important;
        max-width: 92% !important;
        height: 56px !important;
        min-height: 56px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        flex: 0 0 auto !important;
    }
}/* End custom CSS */
/* Start custom CSS for column, class: .elementor-element-498c45c9 */body {
    background-color: #f7f7f7;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-48211b0a *//* =====================================================
   SINGLE PRODUCT - ELIMINAR BADGE VIEJO AGOTADO
===================================================== */

body.single-product [data-elementor-type="product"].product.outofstock::before,
body.single-product [data-elementor-type="product"].product.outofstock::after,
body.single-product div.product.outofstock::before,
body.single-product div.product.outofstock::after {
    content: none !important;
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* =====================================================
   SINGLE PRODUCT - BADGE AGOTADO / OFERTA UNIVERSAL
   Funciona para cualquier template de producto
===================================================== */

/* Oculta el badge original de WooCommerce */
body.single-product [data-elementor-type="product"] 
.elementor-widget-woocommerce-product-images > .elementor-widget-container > .onsale {
    display: none !important;
}

/* La galería será la referencia */
body.single-product [data-elementor-type="product"] 
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery {
    position: relative !important;
    overflow: visible !important;
}

/* Producto agotado */
body.single-product [data-elementor-type="product"].product.outofstock 
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery::before {
    content: "Agotado";
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    z-index: 99 !important;

    background: #6b6b6b !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 6px 9px !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
}

/* Producto en oferta, pero NO agotado */
body.single-product [data-elementor-type="product"].product.sale:not(.outofstock) 
.elementor-widget-woocommerce-product-images .woocommerce-product-gallery::before {
    content: "OFERTA";
    position: absolute !important;
    top: 18px !important;
    left: 18px !important;
    z-index: 99 !important;

    background: #0a9f39 !important;
    color: #fff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    padding: 6px 9px !important;
    border-radius: 5px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.12) !important;
}

/* Móvil */
@media (max-width: 768px) {
    body.single-product [data-elementor-type="product"].product.outofstock 
    .elementor-widget-woocommerce-product-images .woocommerce-product-gallery::before,
    body.single-product [data-elementor-type="product"].product.sale:not(.outofstock) 
    .elementor-widget-woocommerce-product-images .woocommerce-product-gallery::before {
        top: 14px !important;
        left: 14px !important;
        font-size: 10px !important;
        padding: 5px 8px !important;
    }
}/* End custom CSS */
/* Start custom CSS for heading, class: .elementor-element-3878538a */.elementor-37016 .elementor-element.elementor-element-3878538a {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-797c6e2e *//* STICKY SOLO EN MOBILE */
.sticky-add-to-cart {
    display: none;
}

@media (max-width: 768px) {

    .sticky-add-to-cart {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px;
        box-shadow: 0 -4px 10px rgba(0,0,0,0.08);
        z-index: 9999;
    }

    .btn-sticky-cart {
        width: 100%;
        background: #000;
        color: #fff;
        border: none;
        padding: 14px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
    }

}
@media (max-width: 768px) {
    .single-product .single_add_to_cart_button {
        margin-bottom: 80px;
    }
}
/* OCULTAR STICKY SI NO HAY STOCK */
body.outofstock .sticky-add-to-cart,
.single-product .stock.out-of-stock ~ .sticky-add-to-cart {
    display: none !important;
}
/* SUBIR JOINCHAT POR ENCIMA DEL STICKY */
.joinchat {
    bottom: 100px !important;
}/* End custom CSS */