/*
 Theme Name:   bootCommerce Child
 Description:  bootScore WooCommerce Child Theme
 Author:       bootScore
 Author URI:   https://bootscore.me
 Template:     bootscore-main
 Version:      5.1.3.1
 Text Domain:  bootscore
*/

/* 
All style editing is done via css/scss/_bscore_custom.scss
*/

button.btn.btn-primary.yith-wcan-filters-opener {
    display: none;
}

header.site-header .navbar .menu-container .navbar-nav.navbar-nav--woocommerce>.menu-item:last-child {
    display: inline !important;
}

/*Ajustes carrit
.woocommerce .quantity .qty{
width: 2.631em!important;	
}*/

.woocommerce table.shop_table td{
	    padding: 9px 8px!important;	
}

.woocommerce-notices-wrapper {
    width: 100%;
}

@media (min-width: 769px) {
	td.product-name{
		max-width: 240px!important;
	}
}

p.price bdi{
	color: #00B8F1 !important;
    font-size: 30px !important;
}

.woocommerce-page div.product div.summary .price-tax{
	opacity: 0.6!important;

}

body .site .site-content .content-area main.site-main .summary .price{
	opacity: 1!important;
}

.woocommerce-Price-amount.amount bdi{
	font-weight: 600;
}

del{
	
}

.woocommerce-account h2{
	font-size: 41px;
}
.woocommerce-MyAccount-content h2{
	font-size: 41px;
}

.custom-button-wrapper {
    margin-top: 10px; /* Espacio entre el párrafo y el botón */
}

.custom-button-wrapper .button {
    margin-top: 10px; /* Espacio entre el párrafo y el botón */
}

.sku_wrapper{
	display: none;
}

.posted_in{
	display: none;
}
.personalizar-texto{
	font-weight: 600;
}
.woocommerce-Tabs-panel span{
	font-size: 34px;
	font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    color: #00B8F1;
	font-weight: 600;
}


.col-experto {
  box-sizing: border-box;
  position: relative;
  min-height: 1px;
  padding-right: 20px;
  padding-left: 20px;
	background-color: #f8f9fa;
    padding-top: 30px;
    padding-bottom: 30px;
    max-width: 800px;
	border-radius: 3px;
}
.u-flexCenter-experto {
  display: flex !important;
  align-items: center !important;
}
.u-flex0-experto {
  flex: 0 0 auto;
}
.avatar-experto {
  display: block;
  white-space: nowrap;
  overflow: visible;
  text-overflow: ellipsis;
  line-height: normal;
  position: relative;
}
.avatar-image--small-experto {
  width: 85px;
  
}

.u-flex1-experto span{
	    color: #00B8F1;
    font-size: 20px;
    font-weight: 600;
}
	
.avatar-image-experto {
  display: inline-block;
  vertical-align: middle;
  border-radius: 100%;
}
.u-paddingLeft15-experto {
  padding-left: 15px !important;
}
.u-flex1-experto {
  flex: 1 1 auto;
}
p.comment-notes{
	font-size: 20px!important;
}
span#reply-title{
	font-size: 20px!important;
}
span.required-field-message{
	font-size: 20px!important;
}
span#email-notes{
	font-size: 20px!important;
}
.woocommerce .star-rating span::before{
	color: #fabc2a!important;
}

.woo-variation-swatches-variable-item-more{
	display: none!important;
}
.card .star-rating, .woocommerce .card .star-rating{
	display: none!important;
}
#label_3_5_1{
	display: flex;
    align-items: center;
}
h2.personalizada {
	font-size: 45px!important;
}
.btn.btn-whatsapp {
    z-index:  9999!important;
}

.card-whatsapp span{
	    font-size: 26px;
    font-weight: 400;
    font-family: "Barlow Condensed", sans-serif;
    text-transform: uppercase;
    line-height: 1.2;
    display: block;
}
.card-whatsapp a{
	margin-top: 20px;
}
.woocommerce-store-notice, p.demo_store {
    background-color: #00b8f1!important;
}
.payment_method_woocommerce_payments {
    display: none !important;
}
form.row.mt-5.checkout.woocommerce-checkout {width:100%;}

.text-top {
    background-color: #00B8F1;
    color: white;
    font-size: 20px;
	position: relative;
    z-index: 999;
	text-align: center;
    padding: 5px;
}

.text-top a { color: white;}

.site .site-content .content-area.amplio {
    padding-top: 110px;
}

.wcpay-payment-request-wrapper {
    margin-bottom: 30px;
}

body .site .site-content .content-area main.site-main .summary .single_variation_wrap {
    gap: 0;
}

.yith-wcan-filters .yith-wcan-filter .yith-wcan-dropdown .dropdown-wrapper .search-field-container .search-field {
    padding: 8px 40px 8px 8px;
}

.yith-wcan-filters {
    margin-bottom: 0;
	padding: 15px 15px 0px 15px;
}

@media (max-width: 767.98px){
	.btn.btn-whatsapp{
		  display: none!important;
	}
	
	.text-top {
		font-size: 16px;
	}
	
	.super-simple-slider-container .super-simple-slider .slide .overlay-container .overlay .opacity .title {
        font-size: 35px !important;
    }
	
	body .site .site-content .content-area.amplio {
        padding-top: 110px;
    }
	
	section#yith-woocommerce-ajax-navigation-filters-2 {
		padding: 0;
		margin: 0 !important;
		z-index: 9999;
	}
	
	      
}
.top-button{
	    bottom: 75px !important;
}



/* ========================
   HERO HOME
======================== */

.new-hero-home {
    position: relative;
    width: 100%;
    height: 650px;
    background-size: cover;
    background-position: center 40%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.new-hero-home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.75) 8.65%, rgba(0, 0, 0, 0.55) 40.87%, rgba(0, 0, 0, 0.00) 100%);
    z-index: 1;
}

.new-hero-home .hero-home__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 40px;
}

.new-hero-home .hero-home__titulo {
    font-size: clamp(40px, 5vw, 86px) !important;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 24px;
    line-height: 0.9em;
    max-width: 600px;
}

.new-hero-home .hero-home__parrafo {
    font-size: 20px;
    color: #fff;
    margin-bottom: 48px;
    line-height: 1.4;
    max-width: 600px;
}

.new-hero-home .hero-home__botones {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.new-hero-home .hero-home__btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

/* Botón principal — primero */
.new-hero-home .hero-home__btn:first-child {
    background-color: #00B8F1;
    color: #fff;
    border: 2px solid #00B8F1;
}

.new-hero-home .hero-home__btn:first-child:hover {
    background-color: #0497C6;
	border-color: #0497C6;
    color: #fff;
}

/* Botón secundario — segundo */
.new-hero-home .hero-home__btn:last-child {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.new-hero-home .hero-home__btn:last-child:hover {
    background-color: #fff;
    color: #000;
}

/* Responsive */

@media (max-width: 1200px){
	
	.new-hero-home{
	height: 500px;
	background-position: center center;
	}
}
@media (max-width: 768px) {
    .new-hero-home {
        height: 500px;
        min-height: 400px;
        padding: 40px 0;
		align-items: end;
    }
	
	.new-hero-home::before{
	background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 8.65%, rgba(0, 0, 0, 0.55) 40.87%, rgba(0, 0, 0, 0.00) 100%);
	}

    .new-hero-home .hero-home__content {
        padding: 0 20px;
    }
	
	.new-hero-home .hero-home__titulo{
	margin-bottom: 16px;
	
    text-align: center;
	}


    .new-hero-home .hero-home__botones {
        flex-direction: column;
        gap: 12px;
    }
	
	.new-hero-home .hero-home__parrafo{
	font-size: 16px;
		text-align:center;
		margin-bottom: 24px;
	}
	
	

    .new-hero-home .hero-home__btn {
        text-align: center;
		padding: 8px 24px;
        font-size: 16px;
    }
}



/* =====================================================
   HOME 2026 · HERO (65% CTA / 35% categorías)
   ===================================================== */
.bg-home .hero-columns {
  align-items: stretch !important;
  gap: 2rem !important;
}

/* ---------- CTA izquierda ---------- */
.bg-home .hero-cta {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem 2.5rem;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.4) 40%, rgba(0,0,0,0) 70%),
    url('/wp-content/uploads/Uniformes-profesionales-personalizados.webp') center / cover no-repeat;
}
.bg-home .hero-cta .hero-cta__kicker {
  display: inline-block;
  align-self: flex-start;
  background: var(--bs-primary, #00aeef);
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .75rem;
  font-weight: 600;
  padding: .3rem .6rem;
  margin: 0 0 1rem;
}
.bg-home .hero-cta .hero-cta__title {
  color: #fff !important;
  font-size: clamp(2rem, 3.6vw, 3.4rem);
  line-height: 1;
  text-transform: uppercase;
  max-width: 20ch;
  margin: 0 0 1rem;
}
.bg-home .hero-cta .hero-cta__text {
  color: rgba(255,255,255,.9) !important;
  max-width: 32rem;
  font-size: 1.05rem;
  margin: 0 0 1.5rem;
}

/* ---------- Cuadrícula de categorías ---------- */
.bg-home .feature-categories-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-content: start;
}
.bg-home .feature-categories-grid > .wp-block-columns,
.bg-home .feature-categories-grid > .wp-block-columns > .wp-block-column {
  display: contents !important;
}

/* Tarjeta cuadrada (anula el padding-bottom:100% del tema) */
.bg-home .feature-categories-grid .wc-block-featured-category {
  position: relative !important;
  width: 100% !important;
  aspect-ratio: 1 / 1;
  padding: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  overflow: hidden;
}
.bg-home .feature-categories-grid .wc-block-featured-category__wrapper {
  position: static !important;
  padding: 0 !important;
  min-height: 0 !important;
  height: auto !important;
}

/* Imagen a tamaño completo */
.bg-home .feature-categories-grid .wc-block-featured-category img,
.bg-home .feature-categories-grid .wc-block-featured-category__background-image {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  transition: transform .3s ease;
}
.bg-home .feature-categories-grid .background-dim__overlay,
.bg-home .feature-categories-grid .wc-block-featured-category::before {
  opacity: 0 !important;
}

/* Etiqueta con el nombre de la categoría (marcado antiguo y nuevo) */
.bg-home .feature-categories-grid .wc-block-featured-category__title,
.bg-home .feature-categories-grid .wp-block-woocommerce-category-title,
.bg-home .feature-categories-grid .wc-block-featured-category h2 {
  position: absolute !important;
  right: 0;
  bottom: 0;
  left: auto !important;
  width: auto !important;
  z-index: 2;
  margin: 0 !important;
  padding: .45rem .7rem !important;
  background: var(--bs-primary, #00aeef);
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.1;
  text-transform: uppercase;
  text-align: right !important;
  transition: background .2s ease;
}

/* Toda la tarjeta clicable (botón invisible a tamaño completo) */
.bg-home .feature-categories-grid .wc-block-featured-category__link,
.bg-home .feature-categories-grid .wp-block-buttons,
.bg-home .feature-categories-grid .wp-block-button {
  position: static !important;
  padding: 0 !important;
  margin: 0 !important;
}
.bg-home .feature-categories-grid .wp-block-button__link {
  position: absolute !important;
  inset: 0;
  z-index: 3;
  opacity: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

/* Hover */
.bg-home .feature-categories-grid .wc-block-featured-category:hover img {
  transform: scale(1.05);
}
.bg-home .feature-categories-grid .wc-block-featured-category:hover .wc-block-featured-category__title,
.bg-home .feature-categories-grid .wc-block-featured-category:hover .wp-block-woocommerce-category-title,
.bg-home .feature-categories-grid .wc-block-featured-category:hover h2 {
  background: var(--bs-secondary, #1d1d1b);
}

.bg-home {
  padding-bottom: 1.7rem !important;
}

/* ---------- Botones sobre tarjetas azules ---------- */
.card-primary .wp-block-button__link {
  position: relative;
  z-index: 1;                       /* por encima de los "?" decorativos */
  background: var(--bs-dark, #1d1d1b) !important;
  color: #fff !important;
  border: 2px solid var(--bs-dark, #1d1d1b) !important;
  padding: .75rem 1.5rem !important;
  font-weight: 700;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.card-primary .wp-block-button__link:hover,
.card-primary .wp-block-button__link:focus {
  background: #fff !important;
  color: var(--bs-dark, #1d1d1b) !important;
  border-color: #fff !important;
}

/* Botón secundario (WhatsApp): borde blanco */
.card-primary .is-style-outline .wp-block-button__link {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}
.card-primary .is-style-outline .wp-block-button__link:hover,
.card-primary .is-style-outline .wp-block-button__link:focus {
  background: #fff !important;
  color: var(--bs-dark, #1d1d1b) !important;
}

/* Banner ancho: botones apilados y del mismo ancho */
.section-cta-wide .card-wide .wp-block-buttons {
  flex-direction: column;
  align-items: stretch;
}
.section-cta-wide .card-wide .wp-block-button__link {
  width: 100%;
  text-align: center;
}


/* =====================================================
   HEADER 2 LÍNEAS + MEGAMENÚ
   ===================================================== */

/* ---------- Fila 1 ---------- */
.header-top {
  padding-top: .75rem;
  padding-bottom: .75rem;
  background: #fff;
}
.header-top .header-search {
  max-width: 720px;
  margin-inline: auto;
}
.header-top .dgwt-wcas-search-wrapp {
  max-width: none !important;
}
.header-top .dgwt-wcas-search-input {
  height: 48px !important;
  font-size: 1rem !important;
  border: 2px solid var(--bs-primary, #00aeef) !important;
  padding-left: 46px !important;
}
.header-top .header-search--mobile {
  padding-top: .5rem;
}
.header-top .header-search--mobile .dgwt-wcas-search-input {
  height: 42px !important;
}

/* ---------- Fila 2 ---------- */
.header-nav {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background: #fff;
  border-top: 1px solid rgba(0,0,0,.08);
}

@media (min-width: 1200px) {
  .header-nav .container { position: relative; }
  .header-nav .offcanvas-body { justify-content: center; }

  /* Megamenú a todo el ancho del contenedor */
  .header-nav .navbar-nav--woocommerce > .dropdown { position: static; }
  .header-nav .navbar-nav--woocommerce > .dropdown > .dropdown-menu {
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 0 !important;
    padding: 1.75rem 2rem;
    border: 0;
    border-top: 3px solid var(--bs-primary, #00aeef);
    border-radius: 0;
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
  }
  /* Abrir al pasar el ratón */
  .header-nav .navbar-nav--woocommerce > .dropdown:hover > .dropdown-menu {
    display: block;
  }
  .header-nav .navbar-nav--woocommerce > .dropdown:hover > .nav-link {
    color: var(--bs-primary, #00aeef);
  }

  /* Rejilla: imagen + listado en columnas */
  .header-nav .dropdown-menu--grid {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
  .header-nav .dropdown-menu--grid---img img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }
  .header-nav .megamenu-all {
    display: inline-block;
    margin-top: .75rem;
    font-weight: 700;
    font-size: .9rem;
    color: var(--bs-primary, #00aeef);
    text-decoration: none;
  }

  .header-nav .wsubcategs {
    columns: 4 180px;
    column-gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .header-nav .wsubcategs > li {
    break-inside: avoid;
    margin-bottom: .9rem;
  }
  .header-nav .wsubcategs .dropdown-item {
    padding: 0;
    font-weight: 700;
    white-space: normal;
    text-transform: none;
    background: none;
  }
  .header-nav .wsubcategs .dropdown-item:hover,
  .header-nav .wssubcategs .link-item:hover {
    color: var(--bs-primary, #00aeef);
  }
  .header-nav .wssubcategs {
    list-style: none;
    margin: .3rem 0 0;
    padding: 0;
  }
  .header-nav .wssubcategs .link-item {
    display: block;
    padding: .1rem 0;
    font-size: .875rem;
    color: inherit;
    opacity: .75;
    text-decoration: none;
    text-transform: none;
  }
}

/* =====================================================
   HEADER · AJUSTES (compensación, lupa, fila 2)
   ===================================================== */

/* Compensación del header fijo */
:root { --header-h: 150px; } /* provisional hasta que el script mide */
body { padding-top: var(--header-h); }
body #content.site-content { padding-top: 0; }

/* Barra de envío gratis: en el flujo normal, se va con el scroll */
.text-top { position: static !important; }

/* Buscador: hueco para la lupa y lupa centrada */
.header-top .dgwt-wcas-search-input { padding-left: 46px !important; }
.header-top .dgwt-wcas-sf-wrapp { position: relative; }
.header-top .dgwt-wcas-ico-magnifier {
  left: 16px !important;
  right: auto !important;
  top: 50% !important;
  bottom: auto !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 18px !important;
  height: 18px !important;
}

.dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
    left: 11px !important;
    top: 11px !important;
}

/* Separación entre filas */
.header-top { border-bottom: 1px solid rgba(0,0,0,.08); }

/* Fila 2 (menú) en escritorio */
@media (min-width: 1200px) {
  header.site-header .navbar.header-nav {
    padding: 0 !important;
    min-height: 0 !important;
    border-top: 0;
  }
  header.site-header .navbar.header-nav .offcanvas {
    position: static !important;
    transform: none !important;
    visibility: visible !important;
    height: auto !important;
    flex-grow: 1;
    background: transparent;
  }
  header.site-header .navbar.header-nav .offcanvas-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    overflow: visible;
  }
  header.site-header .navbar.header-nav .navbar-nav > .menu-item > .nav-link {
    padding-top: .9rem !important;
    padding-bottom: .9rem !important;
  }
}

/* En móvil la fila 2 no ocupa espacio (el menú está en el offcanvas) */
@media (max-width: 1199.98px) {
  header.site-header .navbar.header-nav {
    padding: 0 !important;
    min-height: 0 !important;
    border: 0;
  }
}

body .site .site-content .content-area {
  padding-top: 0;
}

/* =====================================================
   MEGAMENÚ · AJUSTES
   ===================================================== */
@media (min-width: 1200px) {

  /* Panel: pegado al menú, sin scroll lateral, scroll vertical solo si hace falta */
  header.site-header .navbar.header-nav .navbar-nav--woocommerce > .dropdown > .dropdown-menu {
    top: 100% !important;
    margin-top: 0 !important;
    max-height: calc(100vh - var(--header-h, 150px) - 1rem) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;   /* el scroll del menú no arrastra la página */
  }

  /* "Puente" invisible encima del panel: el ratón no lo pierde al bajar desde el enlace */
  header.site-header .navbar.header-nav .navbar-nav--woocommerce > .dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
  }

  /* Rejilla: columna de imagen fija + listado que nunca desborda */
  header.site-header .navbar.header-nav .dropdown-menu--grid {
    display: grid !important;
    grid-template-columns: 240px minmax(0, 1fr) !important;
    gap: 2.5rem !important;
    align-items: start !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Imagen fija mientras se hace scroll en el listado */
  header.site-header .navbar.header-nav .dropdown-menu--grid---img {
    position: sticky !important;
    top: 0;
    align-self: start !important;
    width: 240px !important;
    max-width: 240px !important;
  }
  header.site-header .navbar.header-nav .dropdown-menu--grid---img img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
  }

  header.site-header .navbar.header-nav .dropdown-menu--grid---list {
    min-width: 0 !important;
    width: auto !important;
  }
  header.site-header .navbar.header-nav .dropdown-menu--grid---list .wsubcategs {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =====================================================
   MENÚ MÓVIL POR PANELES
   ===================================================== */
@media (max-width: 1199.98px) {

  #offcanvas-navbar {
    width: min(88vw, 420px) !important;
  }
  #offcanvas-navbar .offcanvas-body {
    display: block !important;
    position: relative;
    padding: 0 !important;
    overflow: hidden;
  }

  .mobile-menu {
    position: relative;
    height: 100%;
    overflow: hidden;
  }

  /* Paneles apilados que se deslizan */
  .mm-panel {
    position: absolute;
    inset: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #fff;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform .28s ease, visibility 0s linear .28s;
  }
  .mm-panel.is-active {
    transform: translateX(0);
    visibility: visible;
    transition: transform .28s ease, visibility 0s;
  }
  .mm-panel.is-left {
    transform: translateX(-30%);
  }

  /* Listas */
  .mm-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mm-list > li {
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .mm-link {
    display: flex;
    align-items: center;
    gap: .85rem;
    width: 100%;
    min-height: 52px;
    padding: .6rem 1.25rem;
    background: none;
    border: 0;
    text-align: left;
    color: var(--bs-dark, #1d1d1b) !important;
    font-size: 1rem;
    font-weight: 600;
    text-transform: none;
    text-decoration: none;
  }
  .mm-link:active,
  .mm-link:hover {
    background: rgba(0,0,0,.03);
  }
  .mm-link img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    object-fit: cover;
  }
  .mm-label { flex: 1; }
  .mm-arrow {
    font-size: 1.6rem;
    line-height: 1;
    color: var(--bs-primary, #00aeef);
  }

  /* Cabecera de panel: volver + título */
  .mm-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .15rem;
    padding: .75rem 1.25rem;
    background: #f5f7f9;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .mm-back {
    background: none;
    border: 0;
    padding: 0;
    color: var(--bs-primary, #00aeef);
    font-weight: 700;
    font-size: .9rem;
  }
  .mm-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--bs-dark, #1d1d1b);
  }

  /* Ver todo */
  .mm-all {
    display: block;
    padding: .9rem 1.25rem;
    border-bottom: 1px solid rgba(0,0,0,.08);
    color: var(--bs-primary, #00aeef) !important;
    font-weight: 700;
    text-decoration: none;
  }

  /* Pie: CTA + contacto */
  .mm-footer {
    display: grid;
    gap: 1.25rem;
    padding: 1.5rem 1.25rem 2rem;
  }
  .mm-cta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .5rem;
  }
  .mm-cta-list a {
    display: block;
    padding: .85rem 1rem;
    background: var(--bs-primary, #00aeef);
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
  }
  .mm-contact {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .6rem;
    font-size: .95rem;
  }
  .mm-contact a {
    color: var(--bs-dark, #1d1d1b) !important;
    text-decoration: none;
  }
}

/* =====================================================
   FICHA DE PRODUCTO · MÓVIL Y TABLET
   Compra antes que descripción + imagen más compacta
   ===================================================== */
@media (max-width: 767.98px) {

  /* Reordenar el resumen del producto */
  .single-product .product .summary {
    display: flex;
    flex-direction: column;
  }
  .single-product .product .summary > * { order: 20; } /* cualquier elemento no previsto va al final */
  .single-product .product .summary > .product_title { order: 1; }
  .single-product .product .summary > .woocommerce-product-rating { order: 2; }
  .single-product .product .summary > .price { order: 3; }
  .single-product .product .summary > form.cart { order: 4; margin-bottom: 1.5rem; }
  .single-product .product .summary > .woocommerce-product-details__short-description {
    order: 5;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(0,0,0,.08);
  }
  .single-product .product .summary > .personalizar-texto { order: 6; }
  .single-product .product .summary > .custom-button-wrapper { order: 7; }
  .single-product .product .summary > .product_meta { order: 8; }

  /* Imagen principal más compacta */
  .single-product .woocommerce-product-gallery__image > a {
    display: flex;
    justify-content: center;
  }
  .single-product .woocommerce-product-gallery__image img {
    max-height: 45vh !important;
    width: auto !important;
    max-width: 100%;
    margin-inline: auto;
    object-fit: contain;
  }
}

/* Checkout: aviso bajo el email como texto discreto, no como bocadillo azul */
.woocommerce-checkout #billing_email_field .description {
  position: static !important;
  margin: .4rem 0 0 !important;
  padding: 0 !important;
  background: none !important;
  color: #6b7280 !important;
  font-size: .8rem;
  line-height: 1.4;
  border: 0 !important;
  box-shadow: none !important;
}
.woocommerce-checkout #billing_email_field .description::before,
.woocommerce-checkout #billing_email_field .description::after {
  display: none !important;
}
.woocommerce-checkout #billing_email_field .description a {
  color: inherit !important;
  text-decoration: underline;
}

/* =====================================================
   PÁGINA DESCUENTOS POR VOLUMEN: título en blanco sobre la foto
   ===================================================== */
.page-id-101047 .entry-header {
  position: relative;
}

/* Degradado oscuro sobre la imagen para que el título se lea */
.page-id-101047 .entry-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,.70) 0%, rgba(0,0,0,.40) 50%, rgba(0,0,0,.10) 100%);
}

/* Título: sin recuadro, en blanco y por encima del degradado */
.page-id-101047 .entry-header h1,
.page-id-101047 .entry-header .entry-title {
  position: relative;
  z-index: 2;
  background: none !important;
  color: #fff !important;
  padding: 0 !important;
  box-shadow: none !important;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* Panel de filtros (YITH) por encima del header fijo en móvil */
@media (max-width: 991.98px) {
  .yith-wcan-filters.filters-modal {
    z-index: 1100 !important;
  }
}

/* iPhone: Safari recorta el panel de filtros de YITH por el overflow:hidden de #content.
   Mientras el panel está abierto, se quita ese recorte. */
@media (max-width: 991.98px) {
  body:has(.yith-wcan-filters.filters-modal.open) .site .site-content {
    overflow: visible !important;
  }
}


/* Home: título de las tarjetas de categoría como H3 */
.bg-home .feature-categories-grid .wc-block-featured-category h3 {
  position: absolute !important;
  right: 0;
  bottom: 0;
  left: auto !important;
  width: auto !important;
  max-width: 85%;
  z-index: 2;
  margin: 0 !important;
  padding: .45rem .7rem !important;
  background: var(--bs-primary, #00aeef);
  color: #fff !important;
  font-size: 1rem !important;
  line-height: 1.15;
  text-transform: uppercase;
  text-align: right !important;
  transition: background .2s ease;
}
.bg-home .feature-categories-grid .wc-block-featured-category:hover h3 {
  background: var(--bs-secondary, #1d1d1b);
}
@media (max-width: 781px) {
  .bg-home .feature-categories-grid .wc-block-featured-category h3 {
    font-size: .7rem !important;
    padding: .3rem .45rem !important;
  }
}

/* FAQs (shortcode y bloques de la home): respuestas cerradas por defecto */
.faqs-seccion .faq-respuesta { display: none; }
.faqs-seccion .faq-pregunta { cursor: pointer; }

/* Ficha de producto: títulos de las pestañas */
.single-product .woocommerce-Tabs-panel > h2,
.single-product .woocommerce-Tabs-panel .faqs-seccion__titulo,
.single-product .woocommerce-Reviews-title {
  font-size: 1.25rem !important;
  line-height: 1.25;
  margin: 0 0 1rem;
}
.tuc-reviews-resumen {
  display: block;
  margin-top: .25rem;
  font-size: .9rem;
  font-weight: 400;
  color: #6b7280;
  text-transform: none;
}

.woocommerce .star-rating,
.woocommerce .star-rating::before,
.woocommerce .star-rating span::before {
  white-space: nowrap !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
}

/* ---------- Banner ancho ---------- */
.section-cta-wide .card-wide { width: 100%; }
.section-cta-wide .card-wide .wp-block-buttons { gap: .75rem; }

/* ---------- Bloque SEO ---------- */
.seo-text { max-width: 900px; margin-inline: auto; font-size: .95rem; }
.seo-text h2 { font-size: 1.5rem; }
.seo-text h3 { font-size: 1.15rem; margin-top: 1.5rem; }

/* ---------- Tablet / móvil ---------- */
@media (max-width: 781px) {
  .bg-home .hero-cta { min-height: 360px; padding: 2rem 1.5rem; }
  .bg-home .feature-categories-grid { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
  .bg-home .feature-categories-grid .wc-block-featured-category__title,
  .bg-home .feature-categories-grid .wp-block-woocommerce-category-title,
  .bg-home .feature-categories-grid .wc-block-featured-category h2 {
    font-size: .75rem !important;
    padding: .3rem .45rem !important;
  }
}