@charset "utf-8";
/* CSS Document */
/* general HOME */
.homeAncho {
	width: calc(100% - 356px) !important;
}
.rayaHome {
	background: var(--color-gris4);
	color: var(--color-gris4);
	width: 100%;
	height: 1px;
	border: none;
	margin: 0;
}
/* LADO IZQUIERDO */
#articulos {
	overflow: hidden;
	margin: 21% 0 0 0;
	border: solid 1px var(--color-gris4);
	border-radius: 12px;
}
#articulos h3 {
	font-size: 1rem;
	text-transform: uppercase;
	display: block;
	padding: 20px 29px 14px 29px;
}
#articulos ul {
	border-top: solid 1px var(--color-gris4);
}
#articulos li {
	border-bottom: solid 1px var(--color-gris4);
}
#articulos li a {
	color: #000;
	font-size: .875rem;
	hyphens: auto;
	display: block;
	padding: 12px 30px;
}
#articulos li a:hover {
	background: #f7e91c;
}
#articulos .artiMasNews {
	color: #000;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: underline;
	display: inline-block;
	margin: 11px 34px 18px 34px;
}
#articulos .artiMasNews:hover {
	color: var(--color-boton);
	text-decoration: none;
}
/* LADO DERECHO */
#contenidoRight h2 {
	color: #20232B;
	font-size: clamp(1.5rem, 1.198rem + 0.965vi, 2.125rem);
}
/* SECCION PRINCIPAL */
#main {
	display: flex;
	justify-content: space-between;
}
#main a {
	display: block;
	overflow: hidden;
	border-radius: 12px;
	position: relative;
	z-index: 1;
}
#main img {
	max-width: 100%;
}
#main section {
	position: relative;
}
#main section:nth-child(1) {
	width: 69.43%;
}
#main section:nth-child(2) {
	width: 28.93%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
#slider {
	overflow: hidden;
	border: solid 1px #B3B3B3;
	border-radius: 12px;
	aspect-ratio: 296 / 143;
	position: relative;
	z-index: 1;
}
#slider a {
	border-radius: 0;
}
.bannerSpan {
	background: #FFF8;
	font-size: clamp(0.875rem, 0.754rem + 0.386vi, 1.125rem);
	color: #20232b;
	font-weight: 700;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	padding: 8px 11px 9px 11px;
	width: 100%;
	transition: all ease 500ms;
	position: absolute;
	z-index: 15;
	bottom: 0;
	left: 0;
	right: 0;
}
.bannerSpan span {
	background: url("/images/web/icono-flecha-home.svg") no-repeat right center;
	background-size: 15px 12px;
	padding-right: 33px;
	transition: all ease 500ms;
}
.bannerMain:hover p.bannerSpan, .bannerCol:hover p.bannerSpan  {
	background: rgba(242,232,40,.8);
}
.bannerMain:hover span, .bannerCol:hover span { 
	padding-right: 20px;
}
#destaca {
	display: flex;
	justify-content: space-between;
	margin: 16px 0 0 0;
}
#destaca a {
	width: 48.763%;
}
/* microFichasHome */
#homePreferidoTitle {
	width: 100%;
	padding: 55px 0 34px 0;
}
#homePreferidoTitle h2 {
	text-align: center;
	display: block;
}
#homePreferido {
	font-size: 12px;
	padding: 0 30px 39px 30px;
}
#homePreferido img {
	width: 140px;
}
.swiper-slide a {
	display: flex;
      justify-content: center;
      align-items: center;	
}
.swiper-slide {
	text-align: center;
}
.swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
}
.swiper-button-next svg, .swiper-button-prev svg {
	display: none;
}
.swiper-button-next, .swiper-button-prev {
	background: url("/images/web/icono-submenu-flecha.svg") no-repeat center center;
	background-size: 28px 30px;
	box-sizing: border-box;
	display: block;
	width: 28px;
	height: 30px;
	top: 50%;
	margin-top: -15px;
}

/* microFichasHome */
.microFichasHome {
	width: 100%;
	display: grid;
	  grid-template-columns: repeat(auto-fit, minmax(200px, 18.516%));
	  gap: 10px 1.8%;
	padding: 0 0 58px 0;
}
.microFichasHome h2 {
  line-height: 17px;
  min-height: 64px;
  display: block;
  margin: 0 0 17px 0;
}
.microFichasHome h2 a {
  color: var(--color-gris);
  font-size: clamp(0.875rem, 0.815rem + 0.193vi, 1rem);
}
.microFichasHome .fichaVer {
	font-size: .9375rem;
	width: auto;
	margin: 0;
	position: absolute;
	bottom: 16px;
	left: 23px;
	right: 23px;
}
/* modifica slider */
.fichaSlider {
	margin: 0 0 35px 0;
}
.slick-slider ul {
	bottom: -20px !important;
}
/* modifica slider */

/* SECCION NOTICIAS */
#homeNoticias {
	color: #666;
	width: 100%;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	border-top: solid 1px var(--color-gris4);
}
#homeNoticias h2, #homeNoticias h3 a  {
	display: block;
}
#homeNoticias h2 {
	width: 100%;
	padding: 25px 0 12px 2px;
	margin: 0;
}
#homeNoticias h3 {
	margin: 0 0 11px 0;
}
#homeNoticias h3 a {
	color: #000;
	font-weight: 600;
	letter-spacing: -1px;
}
#homeNoticias h3 a:hover {
	color: crimson;
}
#newsGridMain {
	width: 33.152%;
}
#newsGridMain h3 a {
	font-size: clamp(1.375rem, 1.224rem + 0.483vi, 1.688rem);
	line-height: clamp(1.5rem, 1.349rem + 0.483vi, 1.813rem);
}
#newsGridMain section:last-child {
	padding: 15px 13px;
}
#newsGrid {
	width: 64.426%;
}
#newsGrid h3 a {
	font-size: clamp(1.25rem, 1.099rem + 0.483vi, 1.563rem);
	line-height: clamp(1.25rem, 1.099rem + 0.483vi, 1.563rem);
}
#newsGrid > .homeNews {
	display: flex;
	justify-content: flex-start;
	align-content: flex-start;
	flex-wrap: wrap;
}
#newsGrid section:first-child {
	width: 30.463%;
}
#newsGrid section:last-child {
	padding: 2px 20px;
	width: calc(100% - 30.463%);
}
#newsGridMain section:first-child, #newsGrid section:first-child {
	border-radius: 10px;
	overflow: hidden;
}
.homeNews {
	margin-bottom: 31px;
}
.homeNews img {
	max-width: 100%;
	height: auto;
}
.homeNewsPic {
	align-self: flex-start;
}
/* SECCION FICHAS */
#homeFichasTitle {
	padding: 40px 0 30px 0;
	border-top: solid 1px var(--color-gris4);
}
#homeFichasTitle h2 {
	text-align: center;
}
.fichaHome {
	background: #FFF;
  padding: 0 25px 76px 25px;
  border: solid 1px #E6E6E6;
  border-radius: 7px;
  position: relative;
  transition: filter 0.3s ease;
}
.fichaHome:hover {
  filter: drop-shadow(1px 1px 5px #0005);
}
.fichaHomeParrafo {
  color: var(--color-gris2);
  font-size: 13px;
  line-height: 1.1rem;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 5;
	min-height: 84px;
  overflow: hidden;
  margin: 0 0 27px 0;
}
.precioHomeProducto {
	color: var(--color-gris);
  font-size: clamp(1.063rem, 0.972rem + 0.29vi, 1.25rem);
  font-weight: 700;
  margin: 0 0 8px 0;
}
.fichaHomeSKU {
  color: #666;
  font-size: .8125rem;
  margin: 0 0 4px 0;
}
.fichaHomeIVA {
  color: #999;
  font-size: .6875rem;
  margin: 0 0 15px 0;
}
.fichaHomeDisponible, .fichaHomeDisponibleOut {
  font-size: .6875rem;
  margin: 0;
  padding: 0 0 0 17px;
  display: block;
  position: relative;
}
.fichaHomeDisponible {
  color: #04A104;
}
.fichaHomeDisponibleOut {
  color: #E8060D;
}
.fichaHomeDisponible::before, .fichaHomeDisponibleOut::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 5px;
  left: 0;
}
.fichaHomeDisponible::before {
  background: #04A104
}
.fichaHomeDisponibleOut::before {
  background: #E8060D;
  font-weight: bold;
}

/* banner home */
#bannerHome {
	display: flex; display: none; /* sacar display none */
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	padding: 0 0 58px 0;
}
#bannerHome section {
	background: #CCC;
	overflow: hidden;
	border-radius: 10px;
}
#bannerHome section img {
	display: block;
	max-width: 100%;
}
#bannerHome .banHome1 {
	width: 25.555%; /* 334px */
}
#bannerHome .banHome2 {
	width: 42.388%; /* 554px */
}

/* SECCION LINKS */
#homeLinks {
	display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 21.189%));
  gap: 20px 1.8%;
	justify-content: space-between;
	align-items: flex-start;
	padding: 0 20px;
}
#homeLinks h3 {
	color: var(--color-negro);
	font-size: clamp(1.063rem, 1.002rem + 0.193vi, 1.188rem);
	margin: 0 0 15px 0;
}
#homeLinks li {
	margin-bottom: 10px;
}
#homeLinks li a {
	color: #666;
	font-size: 1rem;
	letter-spacing: -.5px;
	display: inline-block;
	position: relative;
}
#homeLinks li a:hover {
	color: #0071BC;
}
#homeLinks li a:before {
	content: '';
	background: #0071BC;
	width: 0;
	height: 1px;
	position: absolute;
	bottom: 0;
	transition: all ease 300ms;
}
#homeLinks li a:hover:before {
	width: 100%;
}
.separadorHome {
	width: 100%;
	min-height: 30px;
	aspect-ratio: 1279 / 77;
}
/* SEPARADOR FOOTER */
#separadorFooter {
	width: 100%;
	height: auto;
	min-height: 20px;
	aspect-ratio: 320 / 7;
}
/* RESPONSIVO */
@media screen and (max-width: 1400px) {
	#newsGridMain {
		width: 40%;
	}
	#newsGrid {
		width: 58%;
	}
}
@media screen and (max-width: 1300px) {
	.bannerSpan {
		font-size: 14px;
	}
	#newsGridMain {
		width: 48%;
	}
	#newsGrid {
		width: 50%;
	}
	#newsGrid section:first-child {
		display: none;
	}
	#newsGrid section:last-child {
		width: 100%;
	}
}
@media screen and (max-width: 1200px) {
	.bannerSpan {
		font-size: 13px;
	}
}
@media screen and (max-width: 1050px) {
	.bannerSpan {
		font-size: clamp(0.875rem, 0.754rem + 0.386vi, 1.125rem);
	}
	#newsGridMain {
	  width: 33.152%;
	}
	#newsGrid {
		width: 50%;
	}
	#newsGrid {
	  width: 64.426%;
	}
	#newsGrid section:first-child {
		display: inherit;
		width: 30.463%;
	}
	#newsGrid section:last-child {
		width: calc(100% - 30.463%);
	}
}
@media screen and (max-width: 900px) {
	.bannerSpan {
		letter-spacing: -.3px;
		font-size: 15px;
	}
}
@media screen and (max-width: 820px) {
	#main {
		flex-wrap: wrap;
	}
	#main section:nth-child(1), #main section:nth-child(2) {
		width: 100%;
	}
	#main section:nth-child(1) {
		margin: 0 0 15px 0;
	}
	#main section:nth-child(2) {
		flex-direction: row;
	}
	#main section:nth-child(2) a {
		width: 48.763%;
	}
}
@media screen and (max-width: 800px) {
	#newsGridMain {
		width: 48%;
	}
	#newsGrid {
		width: 50%;
	}
	#newsGrid section:first-child {
		display: none;
	}
	#newsGrid section:last-child {
		width: 100%;
	}
	#bannerHome .banHome1, #bannerHome .banHome2 {
		width: 32%;
	}
}
@media screen and (max-width: 600px) {
	#destaca {
		flex-wrap: wrap;
	}
	#destaca a {
		width: 100%;
	}
	#destaca a:first-child {
		margin: 0 0 15px 0;
	}
	#main section:nth-child(2) {
		flex-wrap: wrap;
	}
	#main section:nth-child(2) a {
		width: 100%;
	}
	#main section:nth-child(2) a:first-of-type {
		margin: 0 0 15px 0;
	}
	#newsGridMain, #newsGrid {
		width: 100%;
	}
	#newsGrid section:first-child {
		display: block;
		width: 100%;
	}
	#newsGrid section:last-child {
		padding: 15px 13px;
	}
}
@media screen and (max-width: 500px) {
	#bannerHome .banHome1, #bannerHome .banHome2 {
		width: 100%;
		margin: 0 0 10px 0;
	}
}