/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
  body {
    font-family: 'Montserrat', sans-serif !important;
}

/* AllCoud - Estilo título slider */
h2.display-1.text-uppercase {
    color: white;
}

  /* Contenedor de los botones */
  .btn-slider-row {
    display: flex;
    gap: 8px;            /* espacio entre botones */
    align-items: center;
    flex-wrap: nowrap;   /* mantenerlos en una línea */
  }
@media (max-width: 768px) {
.btn-slider-row {
    justify-content: center;
}
}

  /* Estilo de los botones */
  .btn-slider {
    background: #e53935 !important; /* rojo */
    color: #ffffff;      /* texto blanco */
    border: none;
    padding: 10px 16px;
    border-radius: 999px; /* bordes redondeados tipo píldora */
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    transition: filter 120ms ease, transform 120ms ease;
  }

  .btn-slider:hover {
    filter: brightness(0.95);
    transform: translateY(-1px);
  }

  .btn-slider:focus {
    outline: 3px solid rgba(255,255,255,0.18);
    outline-offset: 3px;
  }

/* AllCoud - Espacio container */

@media (min-width: 1200px) {
    .container {
        width: 1580px !important;
    }
}

/* AllCoud - Estilos valores bloque */

    .valores-block {
      font-family: Arial, sans-serif;
      text-align: center;
      background-color: #fff;
      color: #333;
      padding: 20px;
    }

    .valores-h1 {
      font-size: 28px;
      margin-top: 20px;
      margin-bottom: 40px;
      font-weight: bold;
    }

    .valores-subtitle {
      font-size: 14px;
      color: #555;
      margin-top: 10px;
    }

    .valores-container {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 40px;
      flex-wrap: wrap;
      padding: 20px 0;
    }

    .valores-card {
      flex: 1 1 250px;
      max-width: 300px;
      text-align: center;
      padding: 15px;
    }

    .valores-card img {
      width: 70px;
      height: auto;
      margin-bottom: 15px;
    }

    .valores-card h2 {
      font-size: 18px;
      font-weight: bold;
      margin-bottom: 10px;
    }

    .valores-card p {
      font-size: 14px;
      line-height: 1.5;
      color: #555;
    }

/* AllCoud - Estilos slider */

.carousel .carousel-inner {
    height: auto !important;
}

.carousel .direction {
    display: none;
}

.carousel .carousel-item .caption {
    max-width: 790px;
}

.carousel .carousel-item .caption {
    bottom: 78px !important;
}

.carousel .carousel-item .caption .display-1 {
    text-transform: initial !important;
}

div#bgvid-txt-container {
    margin-top: -230px;
    padding-left: 40px;
}
@media (max-width: 768px) {
div#bgvid-txt-container {
    margin-top: 30px;
    padding-left: 0px;
	}
}

#video-home {
    width: 110% !important;
    margin-left: -15px;
}
.slider-ce figure {
    width: 100%;
}
/* AllCoud - Estilos módulo text block */

#custom-text {
    padding: 0rem;
	}

/* AllCoud - Estilos módulo text block - Bloque baliza */

.bloque-baliza {
  display: flex;
  justify-content: center; 
  padding: 20px;
	margin-top: 50px;
}

.bloque-baliza-contenido {
  display: flex;
  align-items: center; 
  width: 100%;
  max-width: 1200px; 
}

.bloque-baliza-texto,
.bloque-baliza-imagen {
  width: 50%;
}

.bloque-baliza-titulo {

	font-size: 40px;
    font-weight: 600;
    color: #c40000;
    margin-bottom: 40px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
}
}

.bloque-baliza-descripcion {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #666;
}

.bloque-baliza-imagen img {
  max-width: 100%; 
  height: auto;
  border-radius: 5px;
padding-left: 90px;
}

.bloque-baliza-boton {
  display: inline-block;
  padding: 10px 20px;
  background-color: #c40000; 
  color: white;
  text-decoration: none;
  border-radius: 20px;
  transition: background-color 0.3s ease; 
margin-top: 20px;

}

.bloque-baliza-boton:hover {
  background-color: #d3d3d3; 
	color: white; 

}

@media (max-width: 768px) {
  .bloque-baliza-contenido {
    flex-direction: column; 
    align-items: flex-start;
  }

  .bloque-baliza-texto,
  .bloque-baliza-imagen {
    width: 100%;
  }
}

@media (max-width: 768px) {
    .bloque-baliza-imagen img {
        padding-left: 0; 
    }
}

@media (max-width: 768px) {
    #nosotros-home {
        text-align: center; 
        padding: 0px; 
    }
}

/* AllCoud - Estilos Sobre Nosotros */
.contenido-nosotros {
  display: flex;
  justify-content: center;
}

.contenido-nosotros-contenido {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  gap: 20px;
}

.contenido-nosotros-texto,
.contenido-nosotros-imagen {
  width: 50%;
}

.contenido-nosotros-titulo {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #333;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); 
}

.contenido-nosotros-descripcion {
  font-size: 1rem;
  color: #666;
}

.contenido-nosotros-imagen img {
  max-width: 100%;
  height: auto;
  border-radius: 5px;
}

/* Inversión de orden para el segundo bloque */
.contenido-nosotros-invertido {
  flex-direction: row-reverse;
}

/* Responsive: en móviles, se apilan */
@media (max-width: 768px) {
  .contenido-nosotros-contenido {
    flex-direction: column;
    align-items: flex-start;
  }

  .contenido-nosotros-texto,
  .contenido-nosotros-imagen {
    width: 100%;
  }

  .contenido-nosotros-invertido {
    flex-direction: column; 
  }
}

/* Carrusel principal full width */
#carousel {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
  z-index: 1 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.slider-ce {
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  overflow: hidden !important;
  left: 50% !important;
  right: 50% !important;
  margin-left: -50vw !important;
  margin-right: -50vw !important;
}


/* Footer padding bottom */
#footer {
    padding-bottom: 2.5rem;
}

/* Ficha técnica ajuste para mobile detalles producto */
.data-sheet dt,
.data-sheet dd {
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .data-sheet dd {
    background-color: transparent !important;
  }
	.tabs {
    padding: 0.8rem 0.8rem;
  }
	.product-features {
    font-size: 15px;
		  }
}


/* Oculta el texto Opcional de al lado del NIF */
#field-dni ~ .form-control-comment {
    display: none;
}



/* Header */

div#_desktop_cart {
    float: right;
	margin-left: 15px;

}

div#_desktop_user_info {
    float: right;
}

#header .header-nav #_desktop_contact_link {
    display: none;
}

.user-info a {
    color: #c40000 !important;
}

.blockcart.cart-preview.inactive {
    color: #c40000 !important;
}
.blockcart.cart-preview.active{
    color: #c40000 !important;
}

#block_myaccount_infos .myaccount-title a, #header a, #wrapper .breadcrumb li a, .block-contact .block-contact-title, .block-contact .navbar-toggler .material-icons, .linklist .blockcms-title a {
	    color: #c40000 !important;
}
.footer-container .h3, .footer-container .h4 {
    color: #c40000 !important;
}

@media (max-width: 760px) {
#header .header-top {
    padding: 0px !important;
}
}
/* Ficha de producto */

span.block-title {
    font-weight: 500;
}

.product-price {
    font-size: 23px;
}

.product-prices div {
    margin-bottom: 0px !important;
}

section.product-accessories.clearfix {
    margin-top: 40px;
}

section.product-accessories.clearfix p {
    color: #c40000;
    padding-bottom: 15px;
}

.attachment {
    margin-top: 30px;
}
.tabs .nav-tabs .nav-item {
    margin-bottom: 7px !important;
}

.bloque-ayvens-header *{
	display: none;	
}

.bloque-ayvens {
	display: none;	
}

.bloque-ayvens-header-mostrado *{
	display: block;	
}

.bloque-ayvens-ocultar {
	display: none;	
}

#header .header-top>.container>.row:first-of-type {
	justify-content: space-between;	
}

#header .bloque-ayvens-header img {
	max-height: 90px;
    width: auto;
	padding-left:50px;
}

#header .bloque-ayvens-header {
	justify-content: center;	
}

/* Form Código Empresa */
 
.form-group.companycode {
    padding-left: 5%;
}
 
input#company_code {
    width: 75%;
}


/* Landing Ayvens */

@media (max-width: 1220px) {
.texto-ayvens{
	margin-top:-45% !important;
} 

.espacio-ayvens{
	display:none;
}
}

@media (min-width: 992px) and (max-width: 1024px) {
  .texto-ayvens-tablet {
    margin-top: -35% !important;
  }
}

  #qtyWanted
  {
	border: 1px solid rgba(0,0,0,.25);
	 border-style: solid none solid solid;
	  height: 44px;
	  width: 3rem;
  }

#customQtyControl {
	display: grid;
	gap: 0px;
	
}
.qty:has(#customQtyControl) {
	background: white;
	border-radius: 0px;
	overflow: hidden;
}

#customQtyControl span {
	height: 22px;
	width: 23px;
    border-radius: 0px;
    text-align: center;
	cursor: pointer;
	border: 1px solid rgba(0,0,0,.25);
	font-size: .9375rem;
	display: grid;
    justify-content: center;
    align-items: center;
}

#customAddQuantity::after {
	content: "\E5CE";
}
#customDrawQuantity::after {
	content: "\E5CF";
}