/**
Theme Name: Astra Child
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* Forzar visibilidad y color negro para el título del producto en Quick View */
.uael-lightbox-content .product_title.entry-title {
    color: #222 !important;
    display: block !important;
    opacity: 1 !important;
    font-size: 2rem !important;   /* Ajusta tamaño si es necesario */
    z-index: 10 !important;
    position: relative !important;
}

/* ── Contenedor flex botones ── */
.botones-compra {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
}

.botones-compra .elementor-widget-woocommerce-product-add-to-cart,
.botones-compra .elementor-widget-button {
    flex: 1;
}

/* Que el widget add-to-cart sea flex column para empujar el botón abajo */
.botones-compra .elementor-widget-woocommerce-product-add-to-cart .woocommerce-variation-availability,
.botones-compra .elementor-widget-woocommerce-product-add-to-cart .stock {
    margin-bottom: 8px;
}

.botones-compra form.cart {
    display: flex;
    flex-direction: column;
}

/* ── Igualar altura de ambos botones ── */
.botones-compra .single_add_to_cart_button,
.botones-compra .buy-now-btn.elementor-button {
    height: 52px !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    box-sizing: border-box !important;
}

/* ── Estilo botón Comprar ahora ── */
.buy-now-btn,
.buy-now-btn.elementor-button {
    background-color: #1a1a2e !important;
    color: #ffffff !important;
    border: 2px solid #1a1a2e !important;
    border-radius: 4px !important;
    width: 100% !important;
    transition: background-color 0.3s ease, transform 0.15s ease !important;
}

.buy-now-btn:hover,
.buy-now-btn.elementor-button:hover {
    background-color: #0f0f1a !important;
    border-color: #0f0f1a !important;
    transform: translateY(-2px) !important;
}

.buy-now-btn:active,
.buy-now-btn.elementor-button:active {
    transform: translateY(0px) !important;
}

/* ── Móvil: columna ── */
@media (max-width: 767px) {
    .botones-compra {
        flex-direction: column !important;
    }
}

/* Eliminar fondo y padding extra del widget contenedor del botón */
.botones-compra .elementor-widget-button {
    background: transparent !important;
    padding: 0 !important;
}

.botones-compra .elementor-widget-button .elementor-widget-container {
    height: 100% !important;
    display: flex !important;
    align-items: flex-end !important;
}

.botones-compra .elementor-widget-button .elementor-button-wrapper {
    width: 100% !important;
    padding: 0 !important;
}

.botones-compra .elementor-widget-button a.elementor-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 52px !important;
    padding: 0 20px !important;
}

/* Eliminar borde visible del botón Comprar ahora */
.buy-now-btn,
.buy-now-btn.elementor-button {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.buy-now-btn:focus,
.buy-now-btn.elementor-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Unificar border-radius de ambos botones */
.botones-compra .single_add_to_cart_button,
.botones-compra .buy-now-btn.elementor-button {
    border-radius: 6px !important;
}

/* Forzar mismo ancho de fuente y altura exacta */
.botones-compra .single_add_to_cart_button {
    height: 52px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
}

/* Fix alineación exacta — targets específicos del inspector */
.botones-compra form.cart {
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    height: 100% !important;
    justify-content: flex-end !important;
}

.botones-compra .single_add_to_cart_button {
    margin: 0 !important;
    flex-shrink: 0 !important;
}

/* Eliminar quantity buttons si existen */
.botones-compra .quantity.buttons_added {
    display: none !important;
}

/* Alinear el widget container al fondo */
.botones-compra .elementor-widget-woocommerce-product-add-to-cart .elementor-widget-container {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    height: 100% !important;
}

/* Eliminar margin bottom del botón nativo de WC */
.botones-compra button.single_add_to_cart_button {
    margin-bottom: 0 !important;
    margin-top: 0 !important;
}

/* ── Badge cuotas Mercado Pago ── */
.cuotas-mp-wrap {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 0;
    border-bottom: 1px dashed #cccccc;
    margin-top: 6px;
}

.cuotas-mp-texto {
    font-size: 13px;
    color: #666666;
    line-height: 1.4;
}

.cuotas-mp-texto strong {
    color: #1a1a1a;
    font-weight: 600;
}

/* ── Barra envío gratis Fly Cart — versión prominente ── */
.pallap-envio-wrap {
    margin: 0;
    padding: 12px 16px;
    background: #fff8e6;
    font-size: 13px;
    color: #555;
    line-height: 1.5;
    border-bottom: 2px solid #ffe099;
    border-top: 2px solid #ffe099;
}

.pallap-envio-ok {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #edf7f0;
    color: #1a7a4a;
    font-weight: 500;
    border-color: #c3e6cb;
    font-size: 14px;
    padding: 14px 16px;
}

.pallap-envio-ok svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.pallap-envio-texto {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 13px;
}

.pallap-envio-link {
    color: #00B1EA;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    background: #e8f7fd;
    padding: 3px 8px;
    border-radius: 4px;
}

.pallap-envio-link:hover {
    background: #d0eef9;
}

.pallap-envio-barra-bg {
    height: 7px;
    background: #e8e8e8;
    border-radius: 10px;
    overflow: hidden;
}

.pallap-envio-barra-fill {
    height: 100%;
    background: linear-gradient(90deg, #00B1EA, #0090c0);
    border-radius: 10px;
    transition: width 0.6s ease;
    min-width: 6px;
}

/* ── Móvil ── */
@media (max-width: 767px) {
    .pallap-envio-wrap {
        padding: 11px 14px;
        font-size: 12px;
    }
    .pallap-envio-texto {
        flex-wrap: wrap;
        gap: 4px;
    }
}

@media (max-width:767px){
  /* Miniaturas en fila horizontal */
  .elementor-gallery__container{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;width:100%!important;height:auto!important;gap:8px;overflow-x:auto;padding:4px 0 8px}
  .elementor-gallery__container>.e-gallery-item{position:static!important;flex:0 0 64px;width:64px!important;height:64px!important;transform:none!important}
  .elementor-gallery__container>.e-gallery-item .e-gallery-image{width:64px!important;height:64px!important;background-size:cover!important}
  .elementor-widget-gallery{width:100%!important}

  /* Añadir al carrito a ancho completo */
  .botones-compra{align-items:stretch!important}
  .botones-compra .elementor-widget-woocommerce-product-add-to-cart,
  .botones-compra .elementor-add-to-cart{width:100%!important}
  .botones-compra .single_add_to_cart_button{width:100%!important;min-height:48px}

  /* Zonas táctiles y legibilidad */
  .woocommerce-breadcrumb a,.posted_in a,.tagged_as a,.product_meta a{display:inline-block;padding:11px 4px}
  input[type=search],input[type=text],input[type=number],select{font-size:16px!important}
  .ast-sticky-add-to-cart{z-index:99}
}

@media (max-width:767px){
  body .elementor-widget-gallery .elementor-gallery__container.e-gallery-container{
    display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;
    width:100%!important;height:auto!important;gap:8px;overflow-x:auto;padding:4px 0 8px
  }
  body .elementor-widget-gallery .elementor-gallery__container>.e-gallery-item{
    position:static!important;flex:0 0 64px;width:64px!important;height:64px!important;
    transform:none!important;top:auto!important;left:auto!important
  }
  body .elementor-widget-gallery .e-gallery-item .e-gallery-image{
    width:64px!important;height:64px!important;padding:0!important;background-size:cover!important
  }
}