/*
Theme Name:		Viva Theme
Description:	Viva Theme
Theme URI:		/themes/viva-theme
Version: 		1.0
Author:			Granota
Author URI:         https://www.granota.net/
Tags:           	blog, one-column, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, translation-ready, wide-blocks, block-styles

License:            GPLv2 or later
License URI:        http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:        viva-theme

Requires PHP:   8.2
Tested up to:   5.4
*/


:root{
  --primary-color: #2DB1DA;
  --font-family: 'Poppins', sans-serif;
  --color-text: #545454;
}


.wp-caption{}
.wp-caption-text{}
.gallery-caption{}
.bypostauthor{}
.alignright{text-align: right;}
.alignleft{text-align: left;}
.aligncenter{text-align: center;}


body{
  --font-family: 'Poppins', sans-serif;
  font-weight: 300 !important;
  margin: 0px;
  padding: 0px;
  font-synthesis: none;
}

.gn-barraSup{
  padding: 10px 0px;
}
.gn-menuPrincipal{
  list-style-type: none;
  display: flex;
  align-content: center;
  align-items: center;
  margin: 0px;
  padding: 0px;
}
.gn-menuPrincipal li{
  margin-left: 50px;
}
.gn-menuPrincipal li a{
  color: black;
  text-decoration: none;
}
.gn-menuPrincipal .gn-contacto a{
  background-color: black;
  border-radius: 30px;
  padding: 10px 15px;
  color: white !important;
}
.gn-menuPrincipal .current-menu-item.gn-contacto a{
  background-color: var(--primary-color) !important;
  border-radius: 30px;
  padding: 10px 15px;
  color: white !important;
}
.gn-menuPrincipal .current-menu-item > a {
    background-color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 15px;
    color: white !important;
}
.menu-fijo{
  position: fixed !important;
  left: 0px;
  right: 0px;
  z-index: 99;
  top: 0px;
  background-color: white;
}

#inicio {
  scroll-margin-top: 180px; /* Ajusta la distancia desde el top al hacer scroll */
}
.site-branding img{
  height: 45px !important;
  width: auto !important;
}

.custom-header{
  margin: 20px 0px;
  border-radius: 20px;
  height: 280px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  text-align: center;
  color: white;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  position: relative;
  overflow: hidden;
}
.gn-filtro{
  transform: rotate(360deg);
  background-image: linear-gradient(180deg, rgba(255,255,255,0.00) 0%, rgba(4, 120, 156, 0.166) 60%, rgba(4,120,156,0.62) 100%);
  position: absolute;
  left: 0px;
  right: 0px;
  left: 0px;
  bottom: 0px;
  z-index: 1;
  height: 280px;
}
.custom-header .page-title{
  z-index: 2;
  position: relative;
}

.gn-carouselInteriorProduct{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.gn-carouselInteriorProduct .carousel-inner,
.gn-carouselInteriorProduct .carousel-item{
  height: 660px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
}
.gn-carouselInteriorProduct .carousel-item{
  justify-content: center;
  align-content: center;
  align-items: center;
}
.gn-carouselInteriorProduct .carousel-item img{
  width: 100%;
  height: auto;
}
.gn-carouselInteriorProduct .carousel-indicators{
  position: relative !important;
  margin: 0px;
  margin-top: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
  justify-content: flex-start;
  
}
.gn-carouselInteriorProduct .carousel-indicators button{
  width: 86.5px;
  height: 85px;
  border-radius: 20px;
  border: 0px !important;
  margin-bottom: 5px;
  background-position: center center;
  background-size: cover;
  filter: grayscale(100%);
  
}
.gn-carouselInteriorProduct .carousel-indicators button.active {
  opacity: 1;
  filter: grayscale(0%);
  
}
.gn-carouselInteriorProduct .gn-carousel-control{
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 105px;
  height: 40px;
}
.gn-carouselInteriorProduct .gn-carousel-control .carousel-control-prev,
.gn-carouselInteriorProduct .gn-carousel-control .carousel-control-next{
  background-color: white;
  opacity: 1;
  width: 45px;
  height: 45px;
  color: black;
  margin-left: 5px;
  margin-right: 5px;
  border-radius: 30px;
}

.gn-teInteresa{
  border: 1px solid #D0D0D0;
  border-radius: 15px;
  padding: 20px 20px;
}
.gn-teInteresa h3{
  font-weight: bold; 
  text-align: center; 
  font-size: 22px;
  margin-bottom: 15px;
}
.gn-teInteresa h4{
  font-size: 20px; 
  font-weight: 500; 
  text-align: center;
  margin-bottom: 20px;
}
.gn-teInteresa button.gn-btnPresupuesto{
  width: 100%;
  background-color: var(--primary-color);
  border: 0px solid transparent;
  box-shadow: none;
  padding: 10px 20px;
  border-radius: 30px;
  color: white;
  font-weight: 200;
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}
.gn-documentosImp h2{
  font-weight: bold;
  text-align: center;
  margin-top: 20px;
  font-weight: bold;
  font-size: 24px;
}
.gn-documentosImp .gn-documentosDes{
  border: 1px solid #D0D0D0;
  border-radius: 20px;
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
  width: 100%;
  padding: 20px 20px;
  margin-bottom: 10px;
}
.gn-documentosImp .gn-documentosDes p{
  margin: 0px;
  padding: 0px;
  font-size: 18px;
  font-weight: 600;
}
.gn-documentosImp .gn-documentosDes a{
  text-decoration: none;
}
.gn-documentosImp .gn-documentosDes i{
  margin-left: 5px;
  color: white;
  background-color: var(--primary-color);
  padding: 10px;
  border-radius: 35px;
}
.gn-documentosImp .gn-documentosDes i.gn-faFile{
  background-color: white;
  color: var(--primary-color);
}
.gn-documentosImp .alert{
  text-align: center;
}
.gn-tableInterior  a{
  color: black;
}
.gn-ubicacionInterior h4{
  margin-top: 20px;
  margin-bottom: 20px;
}

.gn-teInteresa {
  animation: fade-in linear;
  animation-timeline: view();
  animation-range: 0 50%;
}
.gn-stickySidebar{
 position: sticky;
  top: 50px; /* separación desde arriba al hacer scroll */
  align-self: flex-start; /* asegura que sticky funcione dentro de flex */
  height: fit-content; 
}

.gn-footer{
  border-top: 1px solid var(--primary-color);
  padding-top: 30px;
  padding-bottom: 30px;
}
.gn-footer .site-branding p {
  font-size: 16px;
  font-weight: bold;
  margin-top: 40px;
}
.gn-footer .gn-btnFooter{
  background-color: black;
  padding: 10px 20px;
  width: 100%;
  text-align: center;
  display: flex;
  border-radius: 30px;
  justify-content: center;
  align-content: center;
  align-items: center;
  color: white;
  text-decoration: none;
}
.gn-footer h2{
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}
.gn-footer .gn-direccion a{
  color: black;
  text-decoration: none;
}
.gn-footer .gn-copy{
  font-size: 13px;
}
.gn-footer .gn-copy img{
  height: 30px;
  width: auto;
}
.gn-footer .gn-footerMenu{
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  font-size: 16px;
}
.gn-footer .gn-footerMenu li a{
  text-decoration: none;
  color: black;
}
.gn-footer .gn-footerLegal{
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  font-size: 14px;
  display: flex;
}
.gn-footer .gn-footerLegal li a{
  text-decoration: none; 
  color: black;
  margin-left: 5px;
  margin-right: 5px;
}
.sidebar-tienda .widget_search input{
  border-radius: 30px !important;
  padding-left: 20px !important;
}
.sidebar-tienda .widget_search .wp-block-search__button{
  background-color: var(--primary-color);
  border-radius: 30px;
  border: 0px solid transparent;
  color: white;
}
.sidebar-tienda .wc-block-product-categories-list{
  list-style-type: none;
  margin: 0px;
  padding: 0px;
  display: flex;
}
.sidebar-tienda .wc-block-product-categories-list-item{
  border: 1px solid #D0D0D0;
  padding: 10px 20px;
  border-radius: 30px;
  margin-left: 5px;
}
.sidebar-tienda .wc-block-product-categories-list-item a{
  text-decoration: none;
  color: var(--color-text);
}
.gn-infoProm{
  background-color: #c8effb;
  border: 1px solid var(--primary-color);
  margin: 0px;
  padding: 10px 20px;
  border-radius: 0.375rem;
  margin-bottom: 30px;
}
.gn-infoProm p{
  margin: 0px;
  padding: 0px;
}
.gn-productList{
  position: relative;
  flex: 0 0 auto;
  background-color: white;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid #EBEBEB;
  margin-right: 10px;
  color: black;
}
.gn-productListImg{
  position: relative;
  overflow: hidden;
  margin: 10px;
  border-radius: 20px;
  height: 370px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.gn-productListImg img{
  height: 100% !important;
  width: auto;
  max-width: none !important;
}
.gn-productListDesc{
  margin: 20px;
}
.gn-productListDesc h5{
  font-weight: bold;
  font-size: 22px;
  color: black;
  margin-bottom: 10px;
}
.gn-productDirection{
  margin: 0px !important;
  color: black;
}
.gn-categoriaList{
  position: absolute;
  top:15px;
  left: 15px;
  z-index: 99;
  background-color: white;
  color: black !important;
  padding: 5px 10px;
  border-radius: 30px;
  font-size: 14px;
}
.gn-arrowDown{
  position: absolute;
  bottom: 10px;
  right: 10px;
  color: black;
  background-color: white;
  padding: 10px 20px;
  border-radius: 30px;
  margin-left: 10px;
  z-index:99;
}
.gn-articuloLista{
  position: relative;
  overflow: hidden;
  border: 1px solid #EBEBEB;
  border-radius: 20px;
  padding: 15px;
  width: 100%;
}
.gn-articuloListaImg{
  height: 320px;
  border-radius: 20px;
  border: 1px solid #EBEBEB;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
}
.gn-articuloListaImg img{
  height: 100%;
  width: auto;
}
.gn-articuloListCard{
  display: -webkit-flex;
  margin-bottom: 25px;
}
.gn-articuloListaContent{
  margin-top: 10px;
}
.gn-articuloListaContent h1.post-title a,
.gn-articuloListaContent h2.post-title a{
  color: black;
  text-decoration: none;
}
.gn-articuloListaContent p{
  margin: 0px;
  padding: 0px;
}
.wp-block-search__inside-wrapper input{
  border-radius: 20px;
}
button.wp-block-search__button{
  border-radius: 30px;
  background-color: var(--primary-color);
  color: white;
  border: 0px solid transparent;
}
.widget_search{
  margin-bottom: 20px;
}

.wp-block-categories-list {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.wp-block-categories-list li a{
  text-decoration: none;
  display: flex;
  background-color: var(--primary-color);
  color: white;
  padding: 10px 15px;
  border-radius: 30px;
}
.widget_categories{
  margin-bottom: 20px;
}
.wp-block-latest-posts__list li:before{
  content: "\f1ea"; /* FontAwesome Unicode */
  font-family: "Font Awesome 6 Free";
  margin-right: 20px;
}
.wp-block-latest-posts li{
  padding-bottom: 10px;
  padding-top: 10px;
  border-bottom: 1px solid rgb(215, 215, 215);
  font-family: var(--text-font-family);
}
.wp-block-latest-posts li:last-child{
  border-bottom: 0px solid transparent;
}
.wp-block-latest-posts a{
  text-decoration: none;
  color: var(--color-text);
}
.gn-pagination li span,
.gn-pagination li a{
  border-radius: 30px !important;
  padding: 10px 20px;
  margin-right: 5px;
  margin-left: 5px;
  color: var(--primary-color);
}
.gn-pagination li.active span{
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
}
.gn-articuloImg{
  height: 550px;
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin-bottom: 10px;
}
.gn-articuloImg img{
  width: 120%;
  height: auto;
}
.gn-articleInterInfo{
  display: flex;
  justify-content: space-between;
  align-content: center;
  align-items: center;
}
.gn-articleInterInfo .gn-date i{
  margin-right: 5px;
}
.gn-articleInterInfo .gn-postCategories{
  border-radius: 30px;
  background-color: var(--primary-color);
  padding: 10px 15px;
  color: white;
}
.gn-articleInterInfo .gn-postCategories a{
  text-decoration: none;
  color: white;
}
.gn-postNavigation a{
  color: black;
  text-decoration: none;
}
.gn-productDirection div{
  margin: 0px;
  padding: 5px;
}
.gn-404{
  display: flex;
  justify-content: center;
  align-content: center;
  align-items: center;
  flex-direction: column;
  padding-top: 120px;
  padding-bottom: 120px;
}
.gn-404 a{
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  padding: 10px 20px;
  text-decoration: none;
}

@media (max-width: 768px){
  .gn-carouselInteriorProduct .carousel-inner,
  .gn-carouselInteriorProduct .carousel-item{height: 340px;}
  .gn-carouselInteriorProduct .carousel-indicators button{
    height: 80px;
    border-radius: 10px;
  }
  .gn-carouselInteriorProduct .gn-carousel-control{
    width: 130px;
    height: 60px;
  }
  .gn-carouselInteriorProduct .gn-carousel-control .carousel-control-prev,
  .gn-carouselInteriorProduct .gn-carousel-control .carousel-control-next{
    width: 55px;
    height: 55px;
  }
  .gn-stickySidebar{
    position: relative;
    top: 0; /* separación desde arriba al hacer scroll */
  }
  .gn-menuPrincipal {
    display: block;
    border-top: 1px solid rgb(228, 228, 228);
    margin-top: 10px !important;
    padding-top: 15px;
    margin: 0px;
  }
  .gn-menuPrincipal li {
    padding: 10px 0px;
    background-color:  rgb(228, 228, 228);
    margin-left: 0px;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 20px;
  }
  .gn-menuPrincipal li:last-child{background-color: transparent;}
  .gn-menuPrincipal .gn-contacto a{display: flex;}
  .gn-articuloImg img{
    width: auto;
    height: 100%;
  }
  .gn-footer .gn-btnFooter{margin-bottom: 20px;}
  .woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    width: 100%;
    margin-bottom: 20px;
  }
}
@media (min-width: 769px) and (max-width: 992px){
  .gn-carouselInteriorProduct .carousel-inner,
  .gn-carouselInteriorProduct .carousel-item{height: 360px;}
  .gn-carouselInteriorProduct .carousel-indicators button{
    height: 80px;
    border-radius: 10px;
  }
  .gn-carouselInteriorProduct .gn-carousel-control{
    width: 130px;
    height: 60px;
  }
  .gn-carouselInteriorProduct .gn-carousel-control .carousel-control-prev,
   .gn-carouselInteriorProduct .gn-carousel-control .carousel-control-next{
    width: 55px;
    height: 55px;
  }
  .gn-footer .gn-btnFooter{margin-bottom: 20px;}
  .gn-articuloImg img{
    width: auto;
    height: 100%;
  }
  .gn-menuPrincipal {
    display: block;
    border-top: 1px solid rgb(228, 228, 228);
    margin-top: 10px !important;
    padding-top: 15px;
    margin: 0px;
  }
  .gn-menuPrincipal li {
    padding: 10px 0px;
    background-color:  rgb(228, 228, 228);
    margin-left: 0px;
    margin-bottom: 5px;
    margin-top: 5px;
    padding-left: 20px;
  }
  .gn-menuPrincipal li:last-child{background-color: transparent;}
  .gn-menuPrincipal .gn-contacto a{display: flex;}
  .woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
    width: 47.1%;
    margin: 10px !important;
  }
 .gn-productListDesc{
   height: 160px;
   justify-content: space-between;
   display: flex;
   flex-direction: column;
 }
}
@media (min-width: 993px) and (max-width: 1200px){
  .gn-carouselInteriorProduct .carousel-inner,
  .gn-carouselInteriorProduct .carousel-item{height: 560px;}
  .woocommerce ul.products.columns-3 li.product, .woocommerce-page ul.products.columns-3 li.product {
      width: 47.1%;
      margin: 10px !important;
    }
   .gn-productListDesc{
     height: 130px;
     justify-content: space-between;
     display: flex;
     flex-direction: column;
   }
}
@media (min-width: 1201px) and (max-width:1400px){}