/*
Theme Name: Astra Child
Theme URI: https://wpastra.com/
Template: astra
Author: Brainstorm Force
Author URI: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
Description: The Astra WordPress theme is lightning-fast and highly customizable. It has over 1 million downloads and the only theme in the world with 5,700+ five-star reviews! It’s ideal for professional web designers, solopreneurs, small businesses, eCommerce, membership sites and any type of website. It offers special features and templates so it works perfectly with all page builders like Spectra, Elementor, Beaver Builder, etc. Fast performance, clean code, mobile-first design and schema markup are all built-in, making the theme exceptionally SEO-friendly. It’s fully compatible with WooCommerce, SureCart and other eCommerce plugins and comes with lots of store-friendly features and templates. Astra also provides expert support for free users. A dedicated team of fully trained WordPress experts are on hand to help with every aspect of the theme. Try the live demo of Astra: https://zipwp.org/themes/astra/
Tags: custom-menu,custom-logo,entertainment,one-column,two-columns,left-sidebar,e-commerce,right-sidebar,custom-colors,editor-style,featured-images,full-width-template,microformats,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready,blog
Version: 4.11.10.1756937768
Updated: 2025-09-03 17:16:08

*/
@font-face {
  font-family: 'Bahnschrift';
  src: url('/wp-content/themes/astra-child/fonts/Bahnschrift.ttf') format('truetype');

  font-weight: normal;
  font-style: normal;
}

body {
  font-family: 'Bahnschrift', sans-serif;
}
/* Tipografía global */
body, button, input, select, textarea {
  font-family: 'Bahnschrift', sans-serif !important;
}

/* Para títulos Elementor */
.elementor-heading-title,
.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3,
.elementor-widget-heading h4,
.elementor-widget-heading h5,
.elementor-widget-heading h6 {
  font-family: 'Bahnschrift', sans-serif !important;
  
 
}
h6, .entry-content :where(h6), .entry-content :where(h6) a {

    font-family: 'Bahnschrift', sans-serif !important;
}
h4, .entry-content :where(h4), .entry-content :where(h4) a {

    font-family: 'Bahnschrift', sans-serif !important;
}

h5, .entry-content :where(h5), .entry-content :where(h5) a {

     font-family: 'Bahnschrift', sans-serif !important;
}
h2, .entry-content :where(h2), .entry-content :where(h2) a {
 
     font-family: 'Bahnschrift', sans-serif !important;

}
h3, .entry-content :where(h3), .entry-content :where(h3) a {
 
     font-family: 'Bahnschrift', sans-serif !important;

}

.elementor-15345 .elementor-icon-box-title, .elementor-15345  .elementor-icon-box-title a {
   
    font-family: 'Bahnschrift', sans-serif !important;
    font-weight: 500;
}


/* Linea roja */
.linea-roja {
  background-color: #d20c26;
  text-align: center;
  padding: 5px 0;
}

.contenedor-linea-roja {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 143px;
  color: #fff;
  font-family: 'Bahnschrift', sans-serif;
  font-weight: 700;
  font-size: 18px;
}

/* Solo para móviles */
@media (max-width: 768px) {
  .contenedor-linea-roja {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 14px;
  }

  .contenedor-linea-roja > div {
    flex: 0 0 50%;
    text-align: center;
  }

  /* Opcional: ocultar la tercera línea en móvil */
  .contenedor-linea-roja > div:nth-child(3) {
    display: none;
  }
  /* Opcional: ocultar la segunda línea en móvil */
  .contenedor-linea-roja > div:nth-child(1) {
    display: none;
  }
}

/* Linea roja */


/* header menu */

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    font-size: 16px;
    padding: 0px 39px;
}

/* header menu */


/* TÍTULOS EN LAS TARJETAS DE PRODUCTO (tienda, categorías, etiquetas) */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .ast-loop-product__title,
h2.woocommerce-loop-product__title,
.mc-title {
  font-family: 'Bahnschrift', sans-serif !important;
}

/* (Opcional) título en la ficha de producto individual */
.single-product .product_title,
.single-product h1.entry-title {
  font-family: 'Bahnschrift', sans-serif !important;
}

/* Para textos de Elementor */
.elementor-widget-text-editor {
  font-family: 'Bahnschrift', sans-serif !important;
}


/* ====== SOLO EN PC busqueda (pantallas desde 769px en adelante) ====== */
@media (min-width: 769px) {
  .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    width: 489px !important;
  }
}

/* ====== SOLO EN CELULAR barra busqueda (pantallas hasta 768px) ====== */
@media (max-width: 768px) {
  .dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input {
    width: 100% !important;
  }
}


.ast-mobile-popup-drawer .ast-mobile-popup-header {
 
        background-color: #4b4a4a;
    
}
.ast-mobile-popup-drawer.active .menu-toggle-close {
    color: #ffffff;
    border-style: hidden;
}

/* ====== extilos filtros woocomerce ====== */
.wpc-filters-main-wrap .wpc-filters-section:not(.wpc-filter-terms-count-0) ul.wpc-filters-labels {
    display: block !important;

}
body .wpc-filters-main-wrap .wpc-term-item-content-wrapper {
    display: block !important;
   
}

    body .wpc-filters-main-wrap input.wpc-label-input+label:hover span.wpc-filter-label-wrapper {
 
        width: 100%;

    }
    .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a {

    text-transform: uppercase;
}
body .wpc-filters-main-wrap .wpc-term-disabled input.wpc-label-input:checked+label span.wpc-filter-label-wrapper, body .wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item.wpc-term-disabled input:checked+label a {
    color: #ffffff !important;
}
body .wpc-filters-main-wrap .wpc-term-disabled input.wpc-label-input:checked+label span.wpc-filter-label-wrapper {
    background-color: #000000 !important;
}

 .wc-block-product-filters__overlay-content {

        border: solid 1px #f0f0f0;
        padding: 18px!important;
    }

/* ====== extilos filtros woocomerce ====== */




/* ===== Tarjeta de producto – estilo tipo pantallazo 2 ===== */
.mc-card-meta { margin-top: .35rem; }

.mc-title{
  font-weight:700;
  font-size:1rem;
  line-height:1.25;
  color:#111;
  margin:.35rem 0 .25rem;
}

/* Marca y referencia en gris pequeño */
.mc-brand,.mc-ref{
  font-size:15px;
  color:#7a7a7a;
  line-height:1.2;
  margin:0 0 .15rem;
}

/* Precio: negro, negrilla */
.mc-price{
  font-weight:800;
  font-size:24px;
  color:#111;
  margin:.25rem 0 .35rem;
}
.mc-price del{ color:#999; font-weight:400; }

/* “Hasta 6 cuotas…”*/
.mc-cuotas{
  font-size:15px;
  color:#d20c26;
  margin-bottom:.35rem;
}

/* Píldora “Llega gratis mañana” */
.mc-delivery{
  display:inline-block;
  padding:10px;
  border-radius:999px;
  background:#d20c26;
  color:#fff;
  font-weight:700;
  font-size:17px;
  line-height:1;
  margin-bottom:.35rem;
}

/* Stock dinámico */
.mc-stock{ margin-top:.25rem; }
.mc-stock .stock{ font-size:17px; color:#2f7a2f; }
.mc-stock .out-of-stock{ font-size:17px; color:#d20c26; font-weight:700; }

/* Oculta el título nativo si aparece por el tema */
.woocommerce ul.products li.product .woocommerce-loop-product__title{ display:none; }
.woocommerce ul.products li.product{ overflow:hidden; }


/* ==== Correcciones finales listado Woo ==== */


/* 1) Ocultar el badge nativo de Astra (AGOTADO/SALE) que se monta encima */
.woocommerce ul.products li.product .ast-shop-product-out-of-stock,
.woocommerce ul.products li.product .ast-shop-product-on-sale,
.woocommerce ul.products li.product .ast-shop-product-stock-status {
  display: none !important;
}

/* 2) Ocultar metainfos/price/stock nativos del tema (pero NO los nuestros) */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .stock,
.woocommerce ul.products li.product .ast-stock,
.woocommerce ul.products li.product .ast-woo-product-category,
.woocommerce ul.products li.product .ast-woo-shop-product-description,
.woocommerce ul.products li.product .ast-woo-product-brand,
.woocommerce ul.products li.product .product-brand,
.woocommerce ul.products li.product .posted_in,
.woocommerce ul.products li.product .sp-smart-brand-single-product {
  display: none !important;
}

/* 3) Rehabilitar explícitamente NUESTRO precio y stock (mayor especificidad) */
.woocommerce ul.products li.product .mc-price .price { 
  display: inline !important;
}
.woocommerce ul.products li.product .mc-stock .stock {
  display: inline !important;
}

/* 4) Forzar bloque por línea para que nada se monte */
.mc-brand, .mc-ref, .mc-price, .mc-cuotas, .mc-delivery, .mc-stock {
  display: block;
  margin-bottom: .25rem;
}
.mc-brand, .mc-ref { margin-bottom: .15rem; }
.mc-price { margin: .25rem 0 .35rem; }
.mc-cuotas { margin-bottom: .35rem; }
.mc-delivery { margin-bottom: .35rem; }
.mc-stock { margin-top: .25rem; }

/* 5) Estilo de tarjeta con borde y hover */
.woocommerce ul.products li.product {
  border: 1px solid #e9e9e9;
  border-radius: 12px;
  padding: 14px;
  background: #fff;
  transition: box-shadow .2s ease, transform .2s ease;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transform: translateY(-2px);
}

/* 6) Mantener oculto el título nativo del tema */
.woocommerce ul.products li.product .woocommerce-loop-product__title { 
  display: none !important; 
}
/* El <li> será el referente para el absolute del badge */
.woocommerce ul.products li.product { position: relative; }

/* Badge “Oferta -X%” */
/* Ocultar el badge nativo "Sale!" del tema */
.woocommerce ul.products li.product .onsale,
.woocommerce span.onsale {
  display: none !important;
}

/* Nuestro badge rectangular rojo */
.woocommerce ul.products li.product { position: relative; }
.mc-sale-badge{
  right: 7px;
  position:absolute;
  background:#d20c26;
  color:#fff;
  font-weight:700;
  font-size:.85rem;
  line-height:1.2;
  padding:4px 10px;
  border-radius:4px;
  text-transform:uppercase;
  z-index:20;
}


/* Precios: tachado arriba, actual abajo */
.mc-price del{
  display:block;
  font-size:19px;
  color:#999;
  margin-bottom:2px;
}
.mc-price ins{
  display:block;
  font-size:24px;
  font-weight:700;
  color:#111;
  text-decoration:none;
  
}

/* ===== tarjetas cel ===== */

@media (max-width: 768px) {
.woocommerce ul.products, .woocommerce-page ul.products {
    column-gap: 0;
}




.woocommerce-js ul.products li.product .woocommerce-loop-category__title, .woocommerce-js ul.products li.product .woocommerce-loop-product__title, .woocommerce-js ul.products li.product h3{
  
    font-size: 12px;
}


.mc-brand, .mc-ref {
    font-size: 12px;

}


.mc-delivery {
    display: inline-block;
    padding: 11px;
    font-size: 11px;
   
}

.mc-stock .out-of-stock {
    font-size: 14px;
}
.woocommerce ul.products li.product.mobile-align-center, .woocommerce-page ul.products li.product.mobile-align-center {
        margin: 0;
    }
    .mc-cuotas {
    font-size: 9px;

}
}
/* ===== tarjetas cel ===== */
/* ===== Tarjeta de producto – estilo tipo pantallazo 2 ===== */





/* ===== Modal "añadido al carrito" ===== */
/* ===== Modal "añadido al carrito" – centrado 100% fiable ===== */
.mc-added-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}
.mc-added-modal.is-open{ display: block; }

.mc-added-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.6);
}

/* Centramos el contenido con fixed + translate */
.mc-added-content{
  position: fixed;               /* clave para evitar desplazamientos raros en móvil */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);  /* centro exacto */
  width: 92vw;                   /* ancho relativo a la ventana */
  max-width: 680px;              /* límite en desktop */
  max-height: 80vh;              /* por si hay pantallas bajas */
  overflow: auto;                /* permite scroll interno si hace falta */
  -webkit-overflow-scrolling: touch;
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  text-align: center;
  box-sizing: border-box;
}

/* Título y botones */
.mc-added-title{ font-weight: 800; font-size: 1.2rem; margin: 0 0 16px; color:#111; }
.mc-added-actions{ display:flex; justify-content:center; gap:10px; margin-top:6px; }
.mc-btn{ display:inline-block; padding:10px 18px; border-radius:999px; font-weight:700; }
.mc-keep-shopping{ background:#f2f2f2; color:#111; }
.mc-go-cart{ background:#d20c26; color:#fff; }

/* Cerrar */
.mc-close{
  position:absolute; top:10px; right:12px; background:transparent; border:0;
  font-size:24px; line-height:1; cursor:pointer; color:#666;
}

/* ——— Responsivo ——— */
@media (min-width: 1024px){
  .mc-added-content{ width: 640px; padding: 26px 28px; }
  .mc-added-title{ font-size: 1.3rem; }
}
@media (max-width: 480px){
  .mc-added-content{ width: 94vw; padding: 16px; border-radius: 12px; }
  .mc-added-actions{ flex-direction: column; gap: 8px; }
  .mc-btn{ width: 100%; }
}

/* Bloquear scroll del fondo cuando está abierto */
body.mc-modal-open{ overflow: hidden; }

/* ===== Modal "añadido al carrito" – centrado y responsivo ===== */

/* Ocultar el total del carrito solo en móvil */
@media (max-width: 768px){
  .ast-header-woo-cart .ast-woo-header-cart-info,
  .ast-header-woo-cart .ast-woo-header-cart-total,
  .ast-header-woo-cart .woocommerce-Price-amount {
    display: none !important;
  }
}

/* Asegurar que en escritorio sí se muestre */
@media (min-width: 769px){
  .ast-header-woo-cart .ast-woo-header-cart-info,
  .ast-header-woo-cart .ast-woo-header-cart-total {
    display: inline-flex !important;
    white-space: nowrap;
  }
}


/* ===== Titulo mi cuenta ===== */
h2, .entry-content :where(h2), .entry-content :where(h2) a {
    font-size: 19px;

}
header.entry-header .entry-title {

    font-size: 21px;
}

.woocommerce-MyAccount-navigation-link a {
    font-weight: bold;
    color: black;

}
.woocommerce-MyAccount-navigation-link {
    border: transparent !important;

}
.woocommerce-MyAccount-navigation-link.is-active a {
    background-color: #d20c26 !important;
}
.woocommerce-MyAccount-navigation-link.is-active a {
    color: #ffffff;
}
/* ===== Titulo mi cuenta ===== */


/* ===== tarjetas vendedores centradas===== */
.site-primary-footer-wrap[data-section="section-primary-footer-builder"] .ast-builder-grid-row, .site-primary-footer-wrap[data-section="section-primary-footer-builder"] .site-footer-section {
    align-items: center;
}
/* ===== tarjetas vendedores centradas===== */


/* ===== boton de favoritos===== */
.tinv-wraper.tinv-wishlist.tinvwl-above_thumb-add-to-cart a.tinvwl_add_to_wishlist_button {
    font-weight: 700;
}
.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before, .woocommerce ul.products li.product a.tinvwl-button.tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before, .woocommerce-page ul.products li.product a.tinvwl-button.tinvwl-icon-heart.tinvwl_add_to_wishlist_button:before, a.wishlist_products_counter.top_wishlist-heart:before, span.wishlist_products_counter.top_wishlist-heart:before, a.sidr-class-wishlist_products_counter.sidr-class-top_wishlist-heart:before {

    font-weight: 700;
  
}

/* 1) Tamaño grande SOLO en página de producto (single) */
.single-product .entry-summary .tinvwl_add_to_wishlist-text,
.single-product .summary .tinvwl_add_to_wishlist-text {
  font-size: 21px !important;

}

/* 2) Forzar tamaño pequeño en las tarjetas (loop) por si algo se filtra */
ul.products li.product .tinvwl_add_to_wishlist-text,
.products .product .tinvwl_add_to_wishlist-text {
  font-size: 15px !important;

}
.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before, .woocommerce ul.products li.product a.tinvwl-button.tinvwl_add_to_wishlist_button.tinvwl-icon-heart:before, .woocommerce-page ul.products li.product a.tinvwl-button.tinvwl-icon-heart.tinvwl_add_to_wishlist_button:before, a.wishlist_products_counter.top_wishlist-heart:before, span.wishlist_products_counter.top_wishlist-heart:before, a.sidr-class-wishlist_products_counter.sidr-class-top_wishlist-heart:before {

    font-size: 27px;

}
/* ===== boton de favoritos===== */

/* ===== hover marca boton siguiente===== */
#smart-brand-main-area-15681 .sp-smart-brand-
carousel .sp-brand-button-next:hover, #smart-brand-main-area-15681 .sp-smart-brand-carousel .sp-brand-button-prev:hover {
    background-color: #d20c26 !important;
}

#smart-brand-main-area-15681 .sp-smart-brand-carousel .sp-brand-button-next:hover, #smart-brand-main-area-15681 .sp-smart-brand-carousel .sp-brand-button-prev:hover {
    background-color: #d20c26 !important;

}
/* ===== hover marca boton siguiente===== */
