/**
 * Owl Carousel v2.3.4
 * Copyright 2013-2018 David Deutsch
 * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE
 */
/*
 *  Owl Carousel - Core
 */
.owl-carousel {
  display: none;
  width: 100%;
  -webkit-tap-highlight-color: transparent;
  /* position relative and z-index fix webkit rendering fonts issue */
  position: relative;
  z-index: 1;
}
.owl-carousel .owl-stage {
  position: relative;
  -ms-touch-action: pan-Y;
  touch-action: manipulation;
  -moz-backface-visibility: hidden;
  /* fix firefox animation glitch */
}
.owl-carousel .owl-stage:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  /* fix for flashing background */
  -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper,
.owl-carousel .owl-item {
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
}
.owl-carousel .owl-item {
  position: relative;
  min-height: 1px;
  float: left;
  -webkit-backface-visibility: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.owl-carousel .owl-item img {
  display: block;
  width: 100%;
}
.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
  display: none;
}
.owl-carousel .owl-nav .owl-prev,
.owl-carousel .owl-nav .owl-next,
.owl-carousel .owl-dot {
  cursor: pointer;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next,
.owl-carousel button.owl-dot {
  background: none;
  color: inherit;
  border: none;
  padding: 0 !important;
  font: inherit;
}
.owl-carousel.owl-loaded {
  display: block;
}
.owl-carousel.owl-loading {
  opacity: 0;
  display: block;
}
.owl-carousel.owl-hidden {
  opacity: 0;
}
.owl-carousel.owl-refresh .owl-item {
  visibility: hidden;
}
.owl-carousel.owl-drag .owl-item {
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.owl-carousel.owl-grab {
  cursor: move;
  cursor: grab;
}
.owl-carousel.owl-rtl {
  direction: rtl;
}
.owl-carousel.owl-rtl .owl-item {
  float: right;
}

/* No Js */
.no-js .owl-carousel {
  display: block;
}

/*
 *  Owl Carousel - Animate Plugin
 */
.owl-carousel .animated {
  animation-duration: 1000ms;
  animation-fill-mode: both;
}

.owl-carousel .owl-animated-in {
  z-index: 0;
}

.owl-carousel .owl-animated-out {
  z-index: 1;
}

.owl-carousel .fadeOut {
  animation-name: fadeOut;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

/*
 * 	Owl Carousel - Auto Height Plugin
 */
.owl-height {
  transition: height 500ms ease-in-out;
}

/*
 * 	Owl Carousel - Lazy Load Plugin
 */
.owl-carousel .owl-item {
  /**
			This is introduced due to a bug in IE11 where lazy loading combined with autoheight plugin causes a wrong
			calculation of the height of the owl-item that breaks page layouts
		 */
}
.owl-carousel .owl-item .owl-lazy {
  opacity: 0;
  transition: opacity 400ms ease;
}
.owl-carousel .owl-item .owl-lazy[src^=""],
.owl-carousel .owl-item .owl-lazy:not([src]) {
  max-height: 0;
}
.owl-carousel .owl-item img.owl-lazy {
  transform-style: preserve-3d;
}

/*
 * 	Owl Carousel - Video Plugin
 */
.owl-carousel .owl-video-wrapper {
  position: relative;
  height: 100%;
  background: #000;
}

.owl-carousel .owl-video-play-icon {
  position: absolute;
  height: 80px;
  width: 80px;
  left: 50%;
  top: 50%;
  margin-left: -40px;
  margin-top: -40px;
  background: url("owl.video.play.png") no-repeat;
  cursor: pointer;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  transition: transform 100ms ease;
}

.owl-carousel .owl-video-play-icon:hover {
  -ms-transform: scale(1.3, 1.3);
  transform: scale(1.3, 1.3);
}

.owl-carousel .owl-video-playing .owl-video-tn,
.owl-carousel .owl-video-playing .owl-video-play-icon {
  display: none;
}

.owl-carousel .owl-video-tn {
  opacity: 0;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  transition: opacity 400ms ease;
}

.owl-carousel .owl-video-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  width: 100%;
}

.zoom-container {
  overflow: hidden;
  position: relative;
  border-radius: 10px;
}

.zoom-container img {
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.zoom-container:hover img {
  transform: scale(1.5);
}

.news-card {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 40px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.news-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.news-card:hover .news-image img {
  transform: scale(1.08);
}

.news-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 12px 20px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
}

.news-body {
  padding: 20px;
}

.news-body p {
  color: #555;
  font-size: 15px;
}

.news-date {
  font-size: 13px;
  font-weight: bold;
  color: #888;
}

.gallery-scroll {
  display: flex;
  overflow-x: auto;
  gap: 10px;
  padding-bottom: 5px;
  margin-top: 12px;
}

.gallery-scroll::-webkit-scrollbar {
  height: 8px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 8px;
}

.gallery-thumb {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #eee;
  transition:
    border 0.2s,
    transform 0.2s;
}

.gallery-thumb:hover {
  border-color: #999;
  transform: scale(1.05);
}

.product-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease-out;
  position: relative;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.product-img-container {
  width: 100%;
  height: 230px;
  background: #f7f7f7;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-img-container img {
  max-width: 90%;
  max-height: 200px;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

.product-card:hover img {
  transform: scale(1.05);
}

.product-info {
  padding: 18px;
  text-align: center;
}

.product-info h5 {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.product-info h6 {
  color: #666;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 14px;
  color: #777;
  height: 45px;
  overflow: hidden;
}

.product-specs {
  font-size: 14px;
  margin-top: 10px;
  color: #444;
}

.product-logo {
  margin-top: 10px;
  max-width: 100px;
}

.product-btn {
  display: inline-block;
  background: #ff5100;
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  margin-top: 10px;
  transition: 0.3s;
}

.product-btn:hover {
  background: #e04500;
  color: #fff;
}

.news-section {
  padding: 40px 0;
  background: #f8f9fa;
}

.news-title {
  font-size: 32px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.news-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

.news-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.news-content {
  padding: 15px 20px;
}

.news-content h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #333;
  font-weight: 600;
}

.news-content p {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.gallery-container {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
}

.gallery-container img {
  height: 70px;
  width: auto;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  cursor: pointer;
  transition: 0.2s ease;
}

.gallery-container img:hover {
  transform: scale(1.05);
}

.news-title {
  font-size: 32px;
  font-weight: 700;
}

.news-date {
  color: #777;
  margin-bottom: 20px;
}

.news-content {
  font-size: 18px;
  line-height: 1.7;
  white-space: pre-line;
}

/* --- GALERÍA --- */
.gallery-image {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
}

.sticky-buttons-container {
  position: fixed;
  top: 50%;
  right: 0px;
  transform: translateY(-50%);
  list-style: none;
  padding: 0px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  z-index: 9998;
}

/* Cada ítem de la lista (botón) */
.sticky-button-wrapper {
  position: relative;
  left: 5px;
}

.sticky-button {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  /* Alinea los elementos a la izquierda */
  text-decoration: none;
  color: white;
  background-color: #007bff;
  padding: 10px;
  border-top-left-radius: 15px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 0px;
  width: 60px;
  overflow: hidden;
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

/* Expansión en hover */
.sticky-button:hover {
  width: 220px;
  /* Expande el botón */
  background-color: #0056b3;
}

/* Texto dentro del botón */
.sticky-button span {
  position: absolute;
  right: 20px;
  /* Mueve el texto a la izquierda cuando se expande */
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: white;
  flex-grow: 1;
  /* Permite que el texto ocupe el espacio restante */
  text-align: center;
  /* Centra el texto dentro del espacio */
  font-size: 16px;
}

/* Aparece el texto cuando el botón se expande */
.sticky-button:hover span {
  opacity: 1;
}

/* Imagen dentro de los botones */
.sticky-button img {
  width: 30px;
  height: 30px;
  margin-right: 10px;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  /* Contenedor principal */
  .sticky-buttons-container {
    right: 0px;
    /* Reduce la distancia al borde derecho */
    gap: 38px;
    /* Reduce el espacio entre los botones */
  }

  /* Botón */
  .sticky-button {
    width: 40px;
    /* Reduce el tamaño del botón */
    padding: 8px;
    /* Reduce el padding */
  }

  /* Expansión en hover */
  .sticky-button:hover {
    width: 120px;
    /* Reduce el tamaño de expansión */
  }

  /* Texto dentro del botón */
  .sticky-button span {
    display: none;
  }

  /* Imagen dentro de los botones */
  .sticky-button img {
    width: 25px;
    /* Reduce el tamaño de la imagen */
    height: 25px;
    /* Reduce el tamaño de la imagen */
    margin-right: 5px;
    /* Reduce el margen entre la imagen y el texto */
  }
}
