.elementor-kit-2292{--e-global-color-primary:#6EC1E4;--e-global-color-secondary:#54595F;--e-global-color-text:#7A7A7A;--e-global-color-accent:#61CE70;--e-global-color-9a2aa37:#1B6424;--e-global-color-d3faf6d:#AC9414;--e-global-color-8beebe5:#DBDBDBE3;--e-global-typography-primary-font-family:"Roboto";--e-global-typography-primary-font-weight:600;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Roboto";--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-page-transition-entrance-animation:e-page-transition-fade-out;--e-page-transition-animation-duration:1500ms;--e-preloader-animation-duration:1500ms;--e-preloader-delay:0ms;--e-preloader-color:var( --e-global-color-accent );--e-preloader-size:87px;}.elementor-kit-2292 e-page-transition{background-color:#FFFFFF;}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1140px;}.e-con{--container-max-width:1140px;}.elementor-widget:not(:last-child){--kit-widget-spacing:20px;}.elementor-element{--widgets-spacing:20px 20px;--widgets-spacing-row:20px;--widgets-spacing-column:20px;}{}h1.entry-title{display:var(--page-title-display);}body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}.hfe-scroll-to-top-wrap .hfe-scroll-to-top-button{z-index:10;}.hfe-scroll-to-top-wrap .hfe-scroll-to-top-button i{color:var( --e-global-color-9a2aa37 );}.hfe-scroll-to-top-wrap .hfe-scroll-to-top-button span{color:var( --e-global-color-9a2aa37 );}@media(max-width:1024px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}}@media(max-width:767px){.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="widescreen"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="desktop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="laptop"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="tablet"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile_extra"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.edit-mode,
						body[data-elementor-device-mode="mobile"] .hfe-scroll-to-top-wrap.single-page-off{visibility:visible;opacity:1;}}/* Start custom CSS *//*
 * SCIL - Estilos CSS Globales de la Tienda
 */

/* === SCIL · Variables y Resets =========================================== */
:root {
	--scil-bg: #ffffff;
	--scil-soft: #f7faf9;
	--scil-ink: #0f172a;
	--scil-muted: #475569;
	--scil-line: #e5e7eb;
	--scil-brand: #19c37d;
	--scil-brand-ink: #073a26;
	--scil-accent: #f1f5f9;
	--scil-warn: #b45309;
	--scil-err: #991b1b;
	--scil-sale: #10b981;
	--scil-star: #f59e0b;
	--scil-shadow: 0 10px 24px rgba(2,6,23,.08);
}

/* Reset de Elementor/Hello Theme para evitar conflictos (CONSOLIDADO) */
.scil-shop.container {
    width: min(1200px, 92vw);
    margin-inline: auto;
    padding: clamp(18px, 3.5vw, 26px) 0 10px;
    background: var(--scil-soft);
    border-bottom: 1px solid var(--scil-line);
    border-top: 1px solid var(--scil-line);
    border-radius: 14px;
}
#scil-shop-hero .bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    align-items: center;
}
#scil-shop-hero .h1 {
    font-size: clamp(1.6rem, 2.2vw, 2.2rem);
    margin: 0;
    color: var(--scil-ink);
    font-weight: 900;
    letter-spacing: .2px;
}
#scil-shop-hero .search {
    display: flex;
    gap: 8px;
}
#scil-shop-hero .search input[type="search"] {
    flex: 1;
    border: 1px solid var(--scil-line);
    border-radius: 10px;
    padding: .65rem .75rem;
    background: #fff;
    color: var(--scil-ink);
}
#scil-shop-hero .search button {
    border: 1px solid #bbf7d0;
    background: var(--scil-brand);
    color: var(--scil-brand-ink);
    border-radius: 999px;
    padding: .65rem .9rem;
    font-weight: 800;
}
#scil-shop-hero .btn-filters {
    border: 1px solid var(--scil-line);
    background: var(--scil-accent);
    color: var(--scil-ink);
    border-radius: 999px;
    padding: .65rem .9rem;
    font-weight: 800;
}
#scil-shop-hero .chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}
#scil-shop-hero .chip {
    display: inline-flex;
    padding: .5rem .7rem;
    border: 1px solid var(--scil-line);
    background: #fff;
    border-radius: 999px;
    font-weight: 700;
    color: var(--scil-ink);
}
@media (max-width: 900px) {
    #scil-shop-hero .bar {
        grid-template-columns: 1fr;
    }
}

/* Panel de filtros (usado para inyectar filtros con JS) */
#scil-filters {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, .28);
    backdrop-filter: blur(2px);
    display: grid;
    place-items: stretch;
    z-index: 60;
    opacity: 0;
    transition: opacity .2s ease;
}
#scil-filters[hidden] {
    display: none;
}
#scil-filters.open {
    opacity: 1;
}
#scil-filters .inner {
    background: #fff;
    border-left: 1px solid var(--scil-line);
    width: min(420px, 88vw);
    margin-left: auto;
    height: 100%;
    padding: 14px;
    box-shadow: -8px 0 24px rgba(2, 6, 23, .12);
    overflow: auto;
}
#scil-filters .filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--scil-line);
    padding-bottom: 8px;
    margin-bottom: 8px;
}
#scil-filters .filters-close {
    border: 1px solid #dbe2ea;
    background: var(--scil-accent);
    border-radius: 999px;
    padding: .45rem .7rem;
    font-weight: 800;
}
.scil-filter-widget {
    border: 1px solid var(--scil-line);
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
    background: #fff;
}
.scil-filter-title {
    margin: .1rem 0 .4rem;
    font-size: 1rem;
    font-weight: 900;
    color: var(--scil-ink);
}

/* === WOOCOMMERCE: ESTILOS GENERALES ====================================== */

/* Cards de producto - FIX FLEXIBLE DE ALTURA */
ul.products {
    row-gap: 18px;
}
ul.products li.product {
    background: #fff;
    border: 1px solid var(--scil-line);
    border-radius: 14px;
    overflow: hidden;
    transition: box-shadow .15s ease, transform .05s ease, border-color .15s ease;
    padding-bottom: 8px;
    
    /* FIX: Hacemos la card flexible para evitar desbordamiento del botón 'Ver carrito' */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    min-height: 420px; /* Altura mínima, pero puede crecer si es necesario */
    height: auto;
}
ul.products li.product:hover {
    box-shadow: var(--scil-shadow);
    transform: translateY(-2px);
    border-color: #dbe2ea;
}
ul.products li.product .woocommerce-loop-product__title {
    font-weight: 900;
    color: var(--scil-ink);
    font-size: 1.02rem;
    /* FIX: Usamos min-height para asegurar el espacio de dos líneas, sin bloquear */
    min-height: 2.9em;
    margin: 8px 12px 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}
ul.products li.product a.woocommerce-LoopProduct-link,
ul.products li.product a.woocommerce-loop-product__link {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1; /* Permite que el link ocupe espacio y empuje el botón al final */
}
ul.products li.product .price {
    color: #0b5137;
    font-weight: 900;
    margin: 2px auto 10px;
    min-height: 1.6em;
}
ul.products li.product .price del {
    color: #64748b;
    opacity: .9;
}
ul.products li.product .price ins {
    text-decoration: none;
    background: linear-gradient(180deg, #ecfdf5, #d1fae5);
    padding: .05rem .35rem;
    border-radius: 8px;
}

/* Botones y formularios */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce .wp-block-button__link {
    background: var(--scil-brand);
    color: var(--scil-brand-ink);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-weight: 900;
    padding: .65rem 1.25rem !important;
    text-shadow: none;
    box-shadow: none;
    transition: transform .15s ease, filter .15s ease;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce .wp-block-button__link:hover {
    filter: saturate(1.05) brightness(1.02);
    transform: translateY(-1px);
}
.woocommerce ul.products li.product .button {
    /* 'auto' arriba empuja el botón al fondo del flex container: cards igualan altura */
    margin: auto auto 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
}

/* Formularios inputs */
select,
.select2-container .select2-selection--single,
input[type="search"],
input[type="text"],
input[type="number"],
input[type="email"] {
    border: 1px solid var(--scil-line);
    border-radius: 10px;
    color: #0f172a;
    min-height: 40px;
    padding: .45rem .6rem;
}
input:focus,
select:focus,
.select2-container--default .select2-selection--single:focus {
    outline: 2px solid #bbf7d0;
    box-shadow: 0 0 0 3px #d1fae5;
}

/* === WOOCOMMERCE: PÁGINAS DE CARRO Y CHECKOUT ============================ */

/* Tabla de carrito (genérico de WooCommerce) */
.woocommerce table.shop_table {
    border: 1px solid var(--scil-line);
    border-radius: 14px;
    overflow: hidden;
    border-collapse: separate;
}
.woocommerce table.shop_table th {
    background: var(--scil-accent);
    color: var(--scil-ink);
    font-weight: 800;
}
.woocommerce table.shop_table td {
    border-top: 1px solid var(--scil-line) !important;
}

/* Caja de Totales (cart_totals) */
.woocommerce .cart_totals,
.woocommerce .checkout_table {
    border: 1px solid var(--scil-line);
    border-radius: 14px;
    padding: 1.5rem;
    background: var(--scil-soft);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.woocommerce .cart_totals h2,
.woocommerce .checkout_table h3 {
    font-weight: 900;
    color: var(--scil-ink);
}

/* Botón de Finalizar Compra (button.alt) */
.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce .cart-collaterals .shipping_calculator button,
.woocommerce button.alt {
    background: var(--scil-brand);
    color: var(--scil-brand-ink);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-weight: 900;
}

/* Inputs de cantidad */
.woocommerce .quantity .qty {
    border: 1px solid var(--scil-line);
    border-radius: 8px;
    min-height: 38px;
    width: 60px;
    text-align: center;
}

/* === WOOCOMMERCE: ESTILOS PARA BLOCKS (GUTENBERG/ELEMENTOR TEXT EDITOR) === */

/* Estilo para la caja de totales en el nuevo WC Block */
.wp-block-woocommerce-cart-totals-block .wp-block-woocommerce-cart-order-summary-block {
    background: var(--scil-soft);
    border: 1px solid var(--scil-line);
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    margin-top: 1rem;
}
.wp-block-woocommerce-cart-totals-block .wp-block-woocommerce-proceed-to-checkout-block a {
    width: 100%; /* Forzar botón a ancho completo */
    text-align: center;
    display: block;
    margin-top: 1rem;
}
/* Estilo para la tabla de artículos del bloque */
.wp-block-woocommerce-cart-items-block table {
    border: none;
    border-collapse: collapse;
    width: 100%;
}
.wp-block-woocommerce-cart-items-block td {
    padding: 10px 0;
    border-bottom: 1px solid var(--scil-line);
}
.wp-block-woocommerce-cart-items-block .wc-block-components-button {
    background: var(--scil-brand);
    color: var(--scil-brand-ink);
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    font-weight: 900;
}

/* Normalmente abre hacia la derecha */
.nav-ajustable .elementor-nav-menu--dropdown .elementor-item.elementor-item-has-children > ul {
  left: 100%;
  right: auto;
}

/* Abre hacia la izquierda cuando está muy cerca del borde derecho */
.nav-ajustable .elementor-nav-menu--dropdown .elementor-item.elementor-item-has-children:hover > ul.abrir-izquierda {
  left: auto !important;
  right: 100% !important;
}/* End custom CSS */