/*
Theme Name: TopNav
Description: Designed by Hadoq
Author:  Hadoq
Author URI:  https://hadoq.com
Template: neto
Version:  1.0.0
*/
/* =Theme customizations
------------------------------------------------------- */


/*MENU*/

/* Desktop: centrar menú */
.topnav-header__row2 .topnav-header__menu{
  display: flex;
  justify-content: center;
}



/* Asegura que el nav/ul no se estire al 100% */
.topnav-header__row2 .topnav-header__menu nav,
.topnav-header__row2 .topnav-header__menu .nav,
.topnav-header__row2 .topnav-header__menu ul{
  width: auto;
  margin-left: auto;
  margin-right: auto;
}

/* Si el UL es flex, lo centramos */
.topnav-header__row2 .topnav-header__menu ul{
  display: flex;
  justify-content: center;
  gap: 18px; /* opcional */
}

#menu-top-menu li a .sub-menu{
	display:block !important;
}

/* Mobile: ocultar fila del menú desktop */
@media (max-width: 991px){
  .topnav-header__row2{
    display: none !important;
  }
}


/* =========================================================
   TOPNAV - MOBILE MENU (MMENU) | CSS UNIFICADO FINAL
   - 1 columna vertical
   - Fondo negro + texto blanco
   - Indicador visual de submenú (chevron)
   - Botón Volver visible
   - X centrada en caja amarilla sin bordes
   ========================================================= */

/* ===== Base mmenu ===== */
#mobilemenu.mm-menu{
  background:#111 !important;
  color:#fff !important;
  width:100vw !important;

  /* mmenu usa inherit para bordes de iconos; forzamos base clara */
  border-color: rgba(255,255,255,.18) !important;
}

#mobilemenu.mm-menu a{
  color:#fff !important;
  text-decoration:none !important;
}

/* Quitar cualquier layout heredado (grid / flex / columnas) */
#mobilemenu .mm-listview,
#mobilemenu .mm-listview > li,
#mobilemenu .mm-panels,
#mobilemenu .mm-panel,
#mobilemenu .nav,
#mobilemenu .nav-bar,
#mobilemenu .navigation-main,
#mobilemenu ul{
  float:none !important;
  width:100% !important;
  display:block !important;
  column-count:1 !important;
  columns:1 !important;
}

#mobilemenu ul{
  display:block !important;
  grid-template-columns:none !important;
}

/* ===== Navbar superior ===== */
#mobilemenu .mm-navbar{
  background:#111 !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
  height:56px !important;
}

/* Texto del navbar */
#mobilemenu .mm-navbar > *,
#mobilemenu .mm-navbar a{
  color: rgba(255,255,255,.92) !important;
}

/* Ocultar pseudo-elementos raros del tema */
#mobilemenu .mm-navbar:before,
#mobilemenu .mm-navbar:after,
#mobilemenu .mm-panels:before,
#mobilemenu .mm-panels:after{
  content:none !important;
  background:transparent !important;
}

/* =========================================================
   BOTÓN CERRAR (X) - Caja amarilla sin borde + X centrada
   ========================================================= */

/* Algunos mmenu usan .mm-close (texto "x"), otros .mm-btn_close (pseudo) */
#mobilemenu .mm-close,
#mobilemenu .mm-btn_close{
  position:absolute !important;
  right:12px !important;
  top:8px !important;

  width:42px !important;
  height:42px !important;

  background:#F7E435 !important;
  border:0 !important;               /* sin borde */
  box-shadow:none !important;         /* sin borde/sombra */
  border-radius:10px !important;
  opacity:1 !important;

  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
}

/* Si la X es texto */
#mobilemenu .mm-close:after{
  color:#000 !important;
  font-weight:900 !important;
  font-size:22px !important;
  line-height:1 !important;
  padding-left: 20px;
}

/* Si la X se dibuja con pseudo-elementos (cruz con bordes) */
#mobilemenu .mm-btn_close:before,
#mobilemenu .mm-btn_close:after{
  border-color:#000 !important;
  opacity:1 !important;
}

/* Quitar tu botón extra (si existe en el DOM) */
#mobilemenu .topnav-mobilemenu__close{
  display:none !important;
}

/* =========================================================
   LISTADO (1 columna)
   ========================================================= */

#mobilemenu .mm-listview{
  margin:0 !important;
  padding:0 !important;
}

#mobilemenu .mm-listview > li{
  position:relative !important;
  border-bottom:1px solid rgba(255,255,255,.12) !important;
  margin:0 !important;
}

/* En mmenu, hay dos <a> dentro del LI cuando hay submenú:
   - <a class="mm-next"> (zona flecha)
   - <a href="...">Texto</a>
   Reservamos espacio a la derecha para que no se pise con iconos */
#mobilemenu .mm-listview > li > a:not(.mm-next){
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;

  padding:16px 64px 16px 16px !important; /* deja hueco derecha */
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:.3px !important;
  background:transparent !important;
}

#mobilemenu .mm-listview > li > a:not(.mm-next):hover{
  background:rgba(255,255,255,.08) !important;
}

#mobilemenu .mm-listview > li.mm-selected > a:not(.mm-next){
  background:rgba(255,255,255,.10) !important;
}

/* =========================================================
   INDICADOR VISUAL DE SUBMENÚ (chevron “abajo”)
   Queremos que el usuario entienda que “se despliega”.
   Lo dibujamos SOLO cuando exista el link .mm-next.
   ========================================================= */

/* Zona clicable de mmenu para entrar al submenú */
#mobilemenu .mm-next{
  width:54px !important;
  background:rgba(255,255,255,.05) !important;
}
#mobilemenu .mm-next:hover{
  background:rgba(255,255,255,.09) !important;
}

/* Separador vertical del área de mm-next */
#mobilemenu .mm-listview > li .mm-next:before{
  border-color: rgba(255,255,255,.18) !important;
}

/* Flecha de mmenu (por defecto es ">" hacia la derecha).
   La dejamos en blanco por accesibilidad. */
#mobilemenu .mm-next:after,
#mobilemenu .mm-arrow:after{
  border-color:#fff !important;
  opacity:1 !important;
  border-width:2px !important;
}

/* AÑADIMOS un chevron “abajo” visual (no funcional) sobre el texto del item.
   Se aplica SOLO a items con submenú: .menu-item-has-children */
#mobilemenu .mm-listview > li.menu-item-has-children > a:not(.mm-next){
  position:relative !important;
}



/* Evitar flechas duplicadas si algún CSS viejo lo añadía */
#mobilemenu .menu-item-has-children > a:after{
  /* OJO: aquí ya lo usamos arriba. Este selector genérico puede duplicar.
     Por eso lo anulamos para cualquier otra fuente externa. */
  /* NO TOCAR: lo neutralizamos si viene de otros estilos */
}

/* =========================================================
   VOLVER (mm-prev) - hacerlo visible y bajarlo un poco
   ========================================================= */

#mobilemenu .mm-prev:before{
  border-color:#fff !important;
  opacity:1 !important;

  /* Ajuste vertical: un pelín más abajo */
  top: 54% !important;
}

/* Por si mmenu usa botones del navbar para prev/close */
#mobilemenu .mm-navbar .mm-btn:before,
#mobilemenu .mm-navbar .mm-btn:after{
  border-color:#fff !important;
  opacity:1 !important;
}

/* =========================================================
   SUBMENÚS (paneles)
   ========================================================= */

#mobilemenu .mm-panel{
  background:#111 !important;
}

/* Items dentro de submenús */
#mobilemenu .mm-panel .mm-listview > li > a:not(.mm-next){
  padding:14px 64px 14px 28px !important;
  font-weight:600 !important;
  text-transform:none !important;
  letter-spacing:0 !important;
  opacity:.95 !important;
}

/* =========================================================
   OCULTAR MENÚ DESKTOP EN MOBILE
   ========================================================= */
@media (max-width:991px){
  .topnav-header__row2{
    display:none !important;
  }
}




body {
	font-family: 'Montserrat', sans-serif;
}
li.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--downloads{
	display:none;
}
.navigation-main > li > a, .navigation-header-secondary > li > a{
	font-weight: 800;
	font-size: 12px;
}
.navigation-main > li > a:hover, .navigation-header-secondary > li > a:hover {
    opacity: 0.5;
}
li#menu-item-3409 {
    background-color: #f7e435;
    padding: 0 1em;
    color: #333333 !important;
    border-radius: 5%;
}
li#menu-item-3409 a {
    color: #333333;
}
.vc_general.vc_btn3.vc_btn3-color-theme, .btn, .button, .comment-reply-link, input[type="submit"], input[type="reset"], button {
    background-color: #f7e435 !important;
    color: #333333 !important;
}
.vc_general.vc_btn3.vc_btn3-color-theme:hover, .btn:hover, .button:hover, .comment-reply-link:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover {
    background-color: #333333 !important;
    color: #f5f6f7 !important;
}
.page-hero.custom.left{
	text-align: left;
}
.page-hero.custom.center{
	text-align: center;
}
.page-hero.custom.right{
	text-align: right;
}
.page-hero.custom .page-hero-title{
	width:100%;
}
.page-hero-title{
	font-size: 3em;
	text-shadow: #333 2.5px 3px;
}
.page-hero-description {
    font-size: 2em;
}
.page-hero {
    background-color: #f7e435 !important;
    border-left: #333 20px solid ;
    color: #333;
    margin: 1em;
}
.row {
	margin: 0 !important;
}
.enlace_content{
	text-align: center;
}
.enlace_content a{
	display:block;
	width:auto;
	height: 300px;
	transition: background-size 0.2s;
	transition-timing-function: cubic-bezier(.07,1.41,.82,1.41);
	text-decoration: none;
	cursor:pointer;
	overflow: hidden;
	font-size: 1.75em;
    letter-spacing: -1px;
}
.enlace_content a:hover{
	/*background-size: 500px !important;*/
	opacity: 0.6;
}
.row.title {
    text-align: center;
    font-size: 2em;
    font-weight: 800;
    border-left: #333 20px solid;
    color: #333;
    background-color: #f7e435;
    padding: 1em 0;
    margin-bottom: 1em !important;
}
.row.subtitle {
    text-align: center;
    font-size: 1.75em;
    font-weight: 800;
    border-top: #f7e435 2.5px solid;
    padding: .25em 0;
    margin-top: .5em !important;
}
.row.description {
    text-align: center;
    padding: .5em 1em;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 1em !important;
}
.product_meta .sku_wrapper{
	display:none;
}
.images{
	margin-bottom: 0px;
}
.type-product .thumbnails{
	float:none;
	width:100%;
	margin:20px 0;
}
.type-product .thumbnails a{
	float:left;
	margin-left: 20px;
}.image_subtext{
	text-align: center;
	margin: 10px 0;
}
.woocommerce-tabs .entry-content{
	margin-top:50px;
}
main.main{
	padding-top:15px;
}
.woocommerce-MyAccount-orders .button.view{
	padding:11px 30px 10px;
}
td.woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a{
	border-right:1px solid;
	padding-left:20px;
	padding-right:20px;
}
.vc_general.vc_btn3.vc_btn3-color-theme:hover, .btn:hover, .button:hover, .comment-reply-link:hover, input[type="submit"]:hover, input[type="reset"]:hover, button:hover{
	background-color:#1b1b1b!important;
}
.center{
	text-align: center;
}
.widget_shopping_cart .buttons .button{
	width:100%;
	border-bottom: 1px solid;
}
.woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-noreviews{
	border-left:0.618em solid #cd1e27!important;
}
.payment_box{
	border:none;
}
.item-title {
    font-size: 12px;
    font-weight: 600;
}
.ci-vid-lightbox, .demo_store, .woocommerce-message, .woocommerce-error, .woocommerce-info, .woocommerce-noreviews, .qty-handle:hover, .widget_layered_nav_filters a, .entry-tags a, .pagination span.current, .posts-navigation span.current, .woocommerce-pagination span.current, .page-links > span, .tagcloud a {
    background-color: #f7e435 !important;
}
.entry-summary .price {
    font-size: 1.5em;
}
.item .price {
    font-size: 13px;
}
.price del {
    color: #cd1e27;
    font-weight: 600;
}
.onsale {
    background-color: #f7e435;
    color: #333333;
}



.top-bar {
  background-color: #ffcc00; /* Color de fondo */
  color: #000; /* Color del texto */
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  font-weight: bold;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 9999;
}

/* Adaptación a dispositivos móviles */
@media (max-width: 768px) {
  .top-bar {
    font-size: 11px; /* Ajuste de tamaño de fuente para móviles */
  }
}




.woocommerce-cart .head-menu-secondary, .woocommerce-checkout .head-menu-secondary { display:none;}
@media (min-width: 512px) and (max-width: 768px) {
	.col-sm-2 {
	    width: 33.33333334% !important;
	}
}
@media (max-width: 768px) {
	.page-hero-title {
    font-size: 2em;
	}
	.page-hero-description {
	    font-size: 1.3em;
	}
}
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
    right: 0px !important;
}

.col-sm-15 {
    position: relative;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}

@media (min-width: 544px) {
	.col-sm-15 {
	    width: 20%;
	    float: left;
	}
}

@media (max-width: 768px) and (min-width: 512px) {
	.col-sm-15 {
	    width: 33.33333334% !important;
	    float: left;
	}
}


/*IMAGES PRODUCT GALLERY*/
/*
.thumbnails .zoom img{
	width: 100px;
	height: 100px;
}*/


/*COOKIES*/
#moove_gdpr_save_popup_settings_button:not(.gdpr-floating-button-custom-position) {
    bottom: 40px !important;
}
.grecaptcha-badge {
    bottom: 44px !important;
}
@media (max-width: 720px) {
	#moove_gdpr_save_popup_settings_button:not(.gdpr-floating-button-custom-position) {
		bottom: 80px !important;
	}
	.grecaptcha-badge {
		bottom: 84px !important;
	}
	.moove-gdpr-button-holder {
		justify-content: center !important;
	}
	.moove-gdpr-modal-footer-content {
		height: 75px !important;
	}
}
#moove_gdpr_cookie_info_bar .moove-gdpr-info-bar-container .moove-gdpr-info-bar-content button.mgbutton:hover {
    background-color: #d2d2d2 !important;
	color: #000 !important;
}

.topnavbar-header {
    padding: 10px;
    text-align: center;
    background: #f7e435;
    font-weight: 600;
}
@media screen and (max-width:1000px){
	.topnavbar-header {
		line-height: 1.5;
		font-size: 12px;
		padding: 10px 15px;
	}
}




/* =========================================================================
   WP CUSTOM HOME STYLES
   ========================================================================= */

.page-id-29305 .col-xs-12{
	padding-right: 0px !important; 
    padding-left: 0px !important;
}

:root {
    --wp-yellow: #F7E435;
    --wp-dark: #252820;
    --wp-white: #FFFFFF;
    --wp-gray-text: #707070;
    --wp-overlay-color: rgba(0, 0, 0, 0.6);
    --wp-lateral-padding: 8%;
    --wp-section-top: 80px;
}

.wp-custom-home-wrapper {
    width: 100%;
    overflow-x: hidden;
    color: var(--wp-dark);
    font-family: 'Montserrat', sans-serif;
}

.c_v2{
 max-width:1140px !important;
 margin:0 auto;
}

/* Tipografías de Títulos de Sección */
.wp-custom-section-title {
    font-size: 32px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    color: var(--wp-dark) !important;
    margin-bottom: 5px !important;
    line-height: 1.2 !important;
    text-align: center !important;
    display: block !important;
}

.wp-custom-section-subtitle {
    font-size: 14px;
    color: var(--wp-gray-text);
    margin-bottom: 40px;
    display: block;
    text-align: center;
    font-weight: 400;
}

/* Botón Estándar (Solo amarillo en HOVER) */
.wp-custom-btn-topnav {
    display: inline-block;
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--wp-white);
    color: var(--wp-white);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wp-custom-btn-topnav:hover {
    background: var(--wp-yellow) !important;
    border-color: var(--wp-yellow) !important;
    color: var(--wp-dark) !important;
}

/* Botón Amarillo (Principal para Marcas/Acciones) */
.wp-custom-btn-yellow {
    display: inline-block;
    padding: 12px 30px;
    background: var(--wp-yellow);
    border: none;
    color: var(--wp-dark);
    text-transform: none;
    font-weight: 400;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-top: 30px;
}

.wp-custom-btn-yellow:hover {
    background: var(--wp-dark);
    color: var(--wp-white);
}

/* =========================================
   SECCIÓN 1: HERO GRID 
   ========================================= */

/* (CAMBIO #1) El hero debe caber completo en el viewport */
.wp-custom-hero-grid {
    padding-top: 0 !important;
    height: 100vh;
    height: 100vh; /* mejor comportamiento en mobile (iOS/Android) */
}

/* (CAMBIO #1) El grid ocupa todo el alto del hero */
.wp-custom-grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: 100%;
    box-sizing: border-box;
}

/* Se mantienen estilos base del item */
.wp-custom-grid-item {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #fff;
}

.wp-custom-grid-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--wp-overlay-color);
    z-index: 1;
}

.wp-custom-hero-content {
    position: relative;
    text-align: center;
    z-index: 2;
    padding: 20px;
    width: 100%;
}

.wp-custom-hero-content h2 {
    color: var(--wp-white) !important;
    font-size: clamp(24px, 5vw, 42px) !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.custom-hero-contentv2{
	display: flex;
    justify-content: space-around;
    align-items: center;
}

/* Desktop (>=1024): mismas columnas que tenías, pero filas adaptables al viewport */
@media (min-width: 1024px) {
    .wp-custom-grid-container {
        grid-template-columns: 1fr 0.5fr 0.5fr;
        /*grid-template-rows: 1fr 1fr;  (CAMBIO #1) antes 400px 400px */
        grid-auto-rows: unset;
    }
    .wp-custom-grid-item.item-industria { grid-column: 1; grid-row: 1 / 3; }
    .wp-custom-grid-item.item-carretera { grid-column: 2 / 4; grid-row: 1; }
    .wp-custom-grid-item.item-nautica { grid-column: 2; grid-row: 2; }
    .wp-custom-grid-item.item-aviacion { grid-column: 3; grid-row: 2; }
	
	
	
}

/* Mobile/Tablet (<1024): dar más altura a cada tarjeta sin forzar 100vh */
@media (max-width: 1023.98px) {
  .wp-custom-hero-grid {
    height: auto;
    min-height: unset;
  }

  .wp-custom-grid-container {
    grid-auto-rows: auto;
    grid-template-rows: none;
  }

  /* MÁS AIRE: cada item tendrá un mínimo de altura (responsive) */
  .wp-custom-grid-item {
    min-height: clamp(170px, 22vh, 260px);
  }
	
	
	
	.custom-hero-contentv2{
	   display: block !important;
       justify-content: space-around;
       align-items: center;}
}
/* Ajustes SOLO en móvil: títulos y botones más pequeños + menos padding */
@media (max-width: 767.98px) {
    .wp-custom-hero-content h2 {
        font-size: clamp(16px, 4.2vw, 22px) !important;
        margin-bottom: 10px !important;
    }

    .wp-custom-btn-topnav {
        padding: 10px 14px;
        font-size: 11px;
        line-height: 1.1;
		text-transform: inherit !important;
    }

    .wp-custom-btn-yellow {
        padding: 10px 16px;
        font-size: 11px !important;
		text-transform: inherit !important;
		
    }
}

/* =========================================
   SECCIÓN 2: GRID PRODUCTOS
   ========================================= */





/* 1) Asegura que el wrapper del bloque no imponga columnas raras */
.c_pd.wc-block-grid.wp-block-handpicked-products,
.c_pd.wc-block-grid.wp-block-handpicked-products.has-2-columns,
.c_pd.wc-block-grid.wp-block-handpicked-products.has-3-columns,
.c_pd.wc-block-grid.wp-block-handpicked-products.has-4-columns,
.c_pd.wc-block-grid.wp-block-handpicked-products.has-5-columns,
.c_pd.wc-block-grid.wp-block-handpicked-products.has-6-columns {
  width: 100% !important;
  max-width: 100% !important;
}

@media (min-width: 1024px) {
  .c_pd.wc-block-grid.wp-block-handpicked-products,
  .c_pd.wc-block-grid.wp-block-handpicked-products.has-2-columns,
  .c_pd.wc-block-grid.wp-block-handpicked-products.has-3-columns,
  .c_pd.wc-block-grid.wp-block-handpicked-products.has-4-columns,
  .c_pd.wc-block-grid.wp-block-handpicked-products.has-5-columns,
  .c_pd.wc-block-grid.wp-block-handpicked-products.has-6-columns {
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
  }
}


/* 2) Forzamos GRID en el UL con especificidad alta */
.c_pd.wc-block-grid.wp-block-handpicked-products ul.wc-block-grid__products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* móvil/tablet 2 */
  gap: 16px !important;

  margin: 0 !important;
  padding: 0 16px !important; /* aire lateral también en tablet/móvil */
  list-style: none !important;

  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 3) Cada LI: anula cualquier regla que lo haga ocupar toda la fila */
.c_pd.wc-block-grid.wp-block-handpicked-products ul.wc-block-grid__products > li.wc-block-grid__product {
  display: block !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;

  grid-column: auto !important;      /* evita 1 / -1 */
  grid-row: auto !important;

  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;              /* elimina gutters por bordes */
  box-sizing: border-box !important;
}

/* 4) Evita que contenidos internos rompan el grid */
.c_pd.wc-block-grid.wp-block-handpicked-products .wc-block-grid__product-link,
.c_pd.wc-block-grid.wp-block-handpicked-products .wc-block-grid__product-title {
  min-width: 0 !important;
  max-width: 100% !important;
  overflow-wrap: anywhere;
}

/* 5) Desktop: 4 columnas */
@media (min-width: 1024px) {
.c_pd.wc-block-grid.wp-block-handpicked-products ul.wc-block-grid__products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    padding: 0 !important; /* en desktop suele haber container */
  }
}




/* ========================================= 
   SECCIÓN 3: ICONOS / DISPOSITIVOS 
========================================= */ 

.wp-custom-devices-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; justify-content: center; align-items: start; } .wp-custom-device-item { text-decoration: none; display: flex; flex-direction: column; align-items: center; transition: transform 0.3s ease; color: var(--wp-dark); } .wp-custom-device-item:hover { transform: translateY(-5px); } .wp-custom-device-icon { width: 50px; height: 50px; margin-bottom: 15px; display: flex; align-items: center; justify-content: center; } .wp-custom-device-name { font-size: 12px; font-weight: 400; text-align: center; } @media (min-width: 768px) { .wp-custom-devices-grid { grid-template-columns: repeat(4, 1fr); } } @media (min-width: 1024px) { .wp-custom-devices-grid { grid-template-columns: repeat(7, 1fr); } .wp-custom-wc-products .products { grid-template-columns: repeat(4, 1fr) !important; } }

.wp-custom-device-item:hover,
.wp-custom-device-name:hover{
	color:#f7e435 !important;
}

/* =========================================
   SECCIÓN 4: ANCLAJES Y CONEXIONES
   ========================================= */
.wp-custom-anchors-container { display: grid; grid-template-columns: 1fr; gap: 20px; max-width:1200px; margin: 0 auto !important;}
.wp-custom-anchor-block { height: 350px; position: relative; display: flex; align-items:end ; justify-content: left; background-size: contain; background-position: center; overflow: hidden; background-repeat: no-repeat; }
.wp-custom-anchor-block::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: var(--wp-overlay-color); z-index: 1; }
.wp-custom-anchor-content { position: relative; z-index: 2; text-align: center; padding: 30px; }
@media (min-width: 1024px) { .wp-custom-anchors-container { grid-template-columns: repeat(2, 1fr); } }

/* =========================================
   SECCIÓN 5: CARRUSEL DE MARCAS (INFINITE)
   ========================================= */
.wp-custom-brands-wrapper {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    padding: 20px 0;
}

.wp-custom-brands-track {
    display: inline-flex;
    animation: infinite-scroll 30s linear infinite;
    gap: 60px;
    align-items: center;
}

.wp-custom-brand-logo {
    width: 150px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.wp-custom-brand-logo:hover {
    filter: grayscale(0);
    opacity: 1;
}

.wp-custom-brand-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.wp-custom-brands-center-btn {
    text-align: center;
    margin-top: 10px;
}

@keyframes infinite-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Pausar al pasar el ratón */
.wp-custom-brands-wrapper:hover .wp-custom-brands-track {
    animation-play-state: paused;
}


@media (max-width: 1024px) {
.c_pd.wc-block-grid.wp-block-handpicked-products ul.wc-block-grid__products > li.wc-block-grid__product{
		margin: 0 auto !important;
	}

}




/******** 
Carrito: separar Cupón (izq) y Actualizar carrito (der) 
*********/


.woocommerce-cart-form td.actions .win-cart-actions-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Cupón: input + botón juntos */
.woocommerce-cart-form td.actions .win-cart-coupon{
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}


/* Asegura que el cupón sea inline (input + botón) */
.woocommerce-cart-form td.actions .win-cart-coupon{
  display: flex !important;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

/* Input del cupón flexible */
.woocommerce-cart-form td.actions .win-cart-coupon #coupon_code{
  flex: 1 1 auto;
  min-width: 220px;
  width: auto;
}

/* Botón "Aplicar cupón" pegado al input */
.woocommerce-cart-form td.actions .win-cart-coupon button[name="apply_coupon"]{
  flex: 0 0 auto;
  width: auto !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}


@media (max-width: 768px){
  .woocommerce-cart-form td.actions .win-cart-coupon{
    flex-wrap: wrap;
  }
  .woocommerce-cart-form td.actions .win-cart-coupon #coupon_code{
    width: 100%;
    min-width: 0;
  }
  .woocommerce-cart-form td.actions .win-cart-coupon button[name="apply_coupon"]{
    width: 100% !important;
  }
}


/******
Texto seccion cart actualizar carrito
******/
.woocommerce-cart-form td.actions .win-cart-update{
  display: flex;
  flex-direction: column;
  align-items: flex-end; /* desktop: texto y botón alineados a la derecha */
  gap: 8px;
}

.woocommerce-cart-form td.actions .win-cart-update-hint{
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  opacity: .85;
  max-width: 280px; /* para que no quede un texto larguísimo */
  text-align: right;
}

@media (max-width: 768px){
  .woocommerce-cart-form td.actions .win-cart-update{
    align-items: stretch;  /* en móvil: ancho completo */
  }

  .woocommerce-cart-form td.actions .win-cart-update-hint{
    max-width: none;
    text-align: left;
  }

  .woocommerce-cart-form td.actions .win-cart-update button[name="update_cart"]{
    width: 100% !important;
  }
	
	.woocommerce-cart-form td.actions .win-cart-update-hint {
	padding-top:50px !important;
	}

}




/* Caja bajo el total (checkout) */
.woocommerce-checkout-review-order-table .win-review-edit-box{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-top: 12px;
}

.woocommerce-checkout-review-order-table .win-review-edit-hint{
  margin: 0;
  font-size: 13px;
  line-height: 1.3;
  opacity: .85;
}

/* En móvil el botón a ancho completo suele ser mejor */
@media (max-width: 768px){
  .woocommerce-checkout-review-order-table .win-back-to-cart{
    width: 100%;
    text-align: center;
  }
}



.entry-header{
	margin-top:30px !important;
}

.page-id-7 .button.cancel{
	display:none;
}

.page-id-7 #entry-7{
	padding:8% 0px 8% 0px;
}
/* Sku en loop de gutenberg*/
.wc-block-grid__product .product-sku{ text-align:left;}