.mgt-20 { margin-top: 20px; }
.mgt-30 { margin-top: 30px; }

.mgb-20 { margin-bottom: 20px; }
.mgb-30 { margin-bottom: 30px; }
h1.hero-title {
	font-size: 58px;
	line-height: 64px;
}
.header-logo img {
    width: auto;
    height: 100px;
}
.logo-marca {
	width: 100%;
}
.logo-marca img {
	width: 100%;
	height: auto;
}
.textoNosotros {
  margin-bottom: 35px;
  padding-bottom: 35px;
  border-bottom: 1px solid var(--th-border-color);	
}
.textoNosotros h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--title-color);
	position: relative;
	padding: 0 0 0 20px;
	margin: 20px 0 10px 0;
}
.textoNosotros h2::before {
  content: "";
  position: absolute;
  left: 0px;
  top: 0px;
  width: 6px;
  height: 26px;
  background: var(--theme-color);
}
h2.sec-title {
	font-size: 34px;
}
.th-pagination li.active a {
	background-color: var(--principal);
	color: #fff;
}
.service-card-3_content {
	text-align: center;
	padding: 10px 0 0 0;
}
h1.tituloServicio {
	font-size: 34px;
	line-height: 38px;
}
.descripcionServicio {
	color: #000;
	font-size: 18px;
	line-height: 27px;
}
.sliderProducto .slick-arrow.slick-next {
  right: 20px;
  left: auto;
}
.sliderProducto .slick-arrow.slick-prev {
  left: 20px;
}
.mobile-logo {
	padding: 10px;
	text-align: center;
}
.mobile-logo img {
	width: 90%;
	height: auto;
}

/**************** WHATSAPP FLOTANTE *******************/
.floating-wpp {
    position: fixed;
    bottom: 90px;
    right: 27px;
    font-size: 14px;
    transition: bottom 0.2s;
    z-index: 1000;
}

.floating-wpp .floating-wpp-button {
    position: relative;
    border-radius: 50%;
    box-shadow: 1px 1px 4px rgba(60, 60, 60, 0.4);
    transition: box-shadow 0.2s;
    cursor: pointer;
    overflow: hidden;
    width: 60px !important;
    height: 60px !important;
    background-color: #00bb00 !important;
}

.floating-wpp .floating-wpp-button img,
.floating-wpp .floating-wpp-button svg {
    position: absolute;
    width: 100%;
    height: auto;
    object-fit: cover;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
    width: 50px !important;
    height: 50px !important;
}

.floating-wpp:hover {
    bottom: 17px;
}

.floating-wpp:hover .floating-wpp-button {
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.4);
}

.floating-wpp .floating-wpp-popup {
    border: 2px solid white;
    border-radius: 5px;
    background-color: #E5DDD5;
    position: absolute;
    overflow: hidden;
    padding: 0;
    box-shadow: 1px 2px 8px rgba(60, 60, 60, 0.25);
    width: 0px;
    height: 0px;
    bottom: 0;
    opacity: 0;
    transition: bottom 0.1s ease-out, opacity 0.2s ease-out;
    transform-origin: bottom;
}

.floating-wpp .floating-wpp-popup.active {
    padding: 0 12px 12px 12px;
    width: 280px;
    height: auto;
    bottom: 82px;
    opacity: 1;
    right: 0;
}

.floating-wpp .floating-wpp-popup .floating-wpp-message {
    background-color: white;
    padding: 8px;
    border-radius: 0px 5px 5px 5px;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transition: opacity 0.2s;
}

.floating-wpp .floating-wpp-popup.active .floating-wpp-message {
    opacity: 1;
    transition-delay: 0.2s;
}

.floating-wpp .floating-wpp-popup .floating-wpp-head {
    text-align: right;
    color: white;
    margin: 0 -15px 10px -15px;
    padding: 6px 12px;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.floating-wpp .floating-wpp-input-message {
    background-color: white;
    margin: 10px -15px -15px -15px;
    padding: 0 15px;
    display: flex;
    align-items: center;
}

.floating-wpp .floating-wpp-input-message textarea {
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: none;
    padding: 8px;
    margin: 10px 0;
    width: 100%;
    max-width: 100%;
    font-family: inherit;
    font-size: inherit;
    resize: none;
}

.floating-wpp .floating-wpp-btn-send {
    margin-left: 12px;
    font-size: 0;
    cursor: pointer;
    color: #00bb00;
}
.service-box_icon img {
    width: 30px;
    height: auto;
}
.whatsappCel {
    position: fixed;
    bottom: 25px;
    left: 20px;
    width: 50px;
    height: 50px;
    z-index: 100;
}
.whatsappCel img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}
#service-sec {
    padding: 80px 0 0 0;
}
section.sectionInterna {
    padding: 40px 0 100px 0;
}
.video-responsive {
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
    padding-top: 30px;
    position: relative;
}
.video-responsive iframe, .video-responsive object, .video-responsive embed {
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

@media (max-width: 500px) {
  #celdaDireccion {
  	display: none;
  }
  #celdaLogo img {
  	width: 200px;
  	height: auto;
  }
	.header-layout5 .header-links li a {
	  color: #fff;
	  -webkit-transition: 0.4s;
	  transition: 0.4s;
	  font-size: 11px;
	}  
    #service-sec {
        padding: 30px 0 0 0;
    }
    #about-sec {
        padding: 30px 0 0 0 !important;
    }
    .textoNosotros {
        padding: 10px 20px;
    }
    .newsletter-area {
        clip-path: none;
    }
    .img-box4 .img2 {
      position: absolute;
      top: 0;
      left: 30px;
      width: 150px;
      height: 150px;
      border-radius: 50%;
      border: 10px solid var(--white-color);
      z-index: 3;
    }    
    .th-mobile-menu ul li a:hover {
        background-color: var(--principal);
        color: #fff;
        padding-left: 10px;
    }
    .th-mobile-menu ul li a:hover .th-mobile-menu ul li a::before {
        left: 20px;
        margin-right: 5px;
        content: '' !important;
    }
    .circle {
        display: none;
    }
}

@keyframes pulse-effect {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* 2. El estilo del contenedor sigue igual, pero ahora la animación es más limpia. */
.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25D366;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    z-index: 1000;
    animation: pulse-effect 2s infinite;
}

/* 3. El hover en el contenedor solo pausa la animación. Nada más. */
.whatsapp-icon:hover {
    animation-play-state: paused;
}

/* 4. Añadimos una transición suave al icono <i> para el efecto de escala. */
.whatsapp-icon i {
    transition: transform 0.2s ease-in-out;
}

/* 5. El hover en el contenedor escala ÚNICAMENTE el icono <i>. */
.whatsapp-icon:hover i {
    transform: scale(1.1);
    color: #fff;
    left: 60px !important;
}
.whatsapp-icon:hover {
    left: 20px !important;
}

.breadcumb-wrapper .container {
    position: relative;
    z-index: 5;
}
.breadcumb-wrapper-categoria .container {
    position: relative;
    z-index: 5;
}
.breadcumb-wrapper .overlay-banner {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
.breadcumb-wrapper-categoria .overlay-banner {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
}

/********************** CATEGORIAS ************************/
.categoria {
    background-color: #000;
    color: #fff;
    border-radius: 10px;
}
.categoria_img {
    width: 100%;
    overflow: hidden;
}
.categoria_img img {
    width: 100%;
    height: auto;
    transition: all 0.3s ease-in-out;
    border-radius: 10px 10px 0 0;
}
.categoria:hover .categoria_img img {
    transform: scale(1.1, 1.1);
}
.categoria_content {
    padding: 10px 10px;
    color: #fff;
    text-align: center;
}
.categoria_content h3 {
    width: 100%;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}
.categoria_content h3 a {
    color: var(--caterpillar);
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}
.categoria_content h3 a:hover {
    color: #fff;
}
.categoria_content a {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;    
}
.textoContenido {
    font-size: 16px;
    line-height: 28px;
    color: #000;
}
.textoContenido h2, .descripcionServicio h2 {
    font-size: 24px;
    line-height: 24px;
    color: #000;
    padding: 0;
    margin: 10px 0 20px 0;
}
.textoContenido h3, .descripcionServicio h3 {
    font-size: 20px;
    line-height: 20px;
    color: #000;
    padding: 0;
    margin: 10px 0 20px 0;
}

/************************ MARCAS *******************/
section.sectionMarcas {
    padding: 70px 0;
    background-color: #eee;
}
section.sectionMarcas .section-title {
  position: relative;
  padding-bottom: 15px;
  margin-bottom: 50px;
  color: #000;
  font-size: 32px;
}
section.sectionMarcas .section-title::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 47%;
  width: 50px;
  height: 4px;
  background: #d5a23b;
  border-radius: 10px;
}

/* Estilos para carrusel de marcas */
.marcas-carousel {
    margin-top: 10px;
    position: relative;
}

.marcas-carousel .marcaHome {
    padding: 0 10px;
    margin: 0 10px;
    transition: transform 0.3s ease;
}

.marcas-carousel .marcaHome:hover {
    transform: scale(1.05);
}

.marcas-carousel .marca-container {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.marcas-carousel .marca-container:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.marcas-carousel .marca-container img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    transition: filter 0.3s ease;
}

.marcas-carousel .marca-container:hover img {
    filter: grayscale(100%);
}

/* Estilos para las flechas del carrusel de marcas */
.marcas-carousel .slick-arrow {
    width: 45px;
    height: 45px;
    background-color: #d5a23b;
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 18px;
    z-index: 10;
    transition: all 0.3s ease;
}

.marcas-carousel .slick-arrow:hover {
    background-color: #000;
    transform: scale(1.1);
}

.marcas-carousel .slick-arrow.slick-prev {
    left: -85px;
}

.marcas-carousel .slick-arrow.slick-next {
    right: -35px;
}

/********************** BOTONES **********************/
.btn-detalles {
  position: relative;
  z-index: 2;
  overflow: hidden;
  vertical-align: middle;
  display: inline-block;
  text-transform: uppercase;
  text-align: center;
  border: none;
  background-color: #000;
  color: var(--white-color);
  font-family: var(--body-font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 15px 30px;
  min-width: 154px;
  border-radius: 10px;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}
.btn-detalles::before,
.btn-detalles:after {
  content: "";
  background: var(--white-color);
  position: absolute;
  -webkit-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
  z-index: -1;
  height: 0%;
  left: 0;
  top: 0;
  -webkit-transform: skew(0deg);
  -ms-transform: skew(0deg);
  transform: skew(0deg);
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
  width: 100%;
  border-radius: 10px;
}
.btn-detalles:hover,
.btn-detalles.active {
  color: var(--white-color);
}
.btn-detalles:hover:before,
.btn-detalles:hover:after,
.btn-detalles.active:before,
.btn-detalles.active:after {
  height: 100%;
  background: var(--theme-color);
}


/********************* HOME ***************************/
section.sectionWelcome {
    padding: 40px 0;
}
.imagenWelcome {
    width: 80%;
    margin: 0 auto;
    text-align: center;
}
.imagenWelcome img {
    width: 80%;
    height: auto;
}
h1.tituloWelcome {
    font-size: 27px;
    font-weight: 700;
    color: #000;
    margin: 0 0 30px 0;
    padding: 0;
}
.textoWelcome {
    background: linear-gradient(to bottom, #FFF 1%, #fcfcfc 98%) repeat scroll 0 0 transparent;
    border-bottom: 1px solid #DFDFDF;
    border-left: 1px solid #ECECEC;
    border-right: 1px solid #ECECEC;
    box-shadow: 0 2px 3px rgba(0,0,0,0.08);
    border-radius: .8rem;
    padding: 15px;
    border-top: 3px solid #024EA0; 
    color: #000;   
}
section.categorias-home {
    padding: 40px 0;
}
.tituloCatHome {
    width: 100%;
    text-align: center;
    padding: 10px 10px;
}
.tituloCatHome a {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
}


/************************* Estilos para menú móvil deslizante ******************/
.menu-hamburger {
    background: none;
    border: none;
    font-size: 35px;
    color: #000;
    padding: 7px;
    cursor: pointer;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100vh;
    background-color: #fff;
    z-index: 2000;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-sidebar.active {
    left: 0;
}

.mobile-sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #333;
    background-color: #000;
}

.mobile-sidebar-header .mobile-logo img {
    height: 40px;
    width: auto;
}

.close-sidebar {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
}

.mobile-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-navigation > ul > li {
    border-bottom: 1px solid #333;
}

.mobile-navigation li a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    background-color: #fff;
    transition: background-color 0.3s ease;
}

.mobile-navigation li a:hover {
    background-color: var(--caterpillar);
    color: #000;
}

.mobile-navigation .has-submenu {
    position: relative;
}

.mobile-navigation .has-submenu > a {
    padding-right: 50px;
}

.mobile-navigation .submenu-toggle {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50px;
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-navigation .submenu {
    display: none;
    background-color: #111;
}

.mobile-navigation .submenu.active {
    display: block;
}

.mobile-navigation .submenu li a {
    padding-left: 20px;
    font-size: 14px;
}

.mobile-navigation .submenu .submenu li a {
    padding-left: 60px;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}






/* Responsivo para móviles */
@media (max-width: 768px) {
    .marcas-carousel .marcaHome {
        padding: 0 5px;
        margin: 0 5px;
    }

    .marcas-carousel .marca-container {
        padding: 15px;
        height: 100px;
    }

    .marcas-carousel .marca-container img {
        max-height: 60px;
    }

    .marcas-carousel .slick-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .marcas-carousel .slick-arrow.slick-prev {
        left: -15px;
    }

    .marcas-carousel .slick-arrow.slick-next {
        right: -15px;
    }
}
