/* -------------- Shop ------------ */
.content-area,
.site-main {
  width: 100%;
  margin: 0 !important;
}

.shop {
  position: relative;
  overflow: hidden;
  z-index: 2;
  padding-top: 35px;
/*   padding-bottom: 120px; */
}
.shop-grid,
.shop-content {
  display: flex;
  flex-direction: column-reverse;
  width: 100%;
}
.shop-wrapper {
  max-width: 680px;
  margin: 0 auto;
}
.products-grid {
  position: relative;
  z-index: 1;
}
.products-grid .products {
    display: flex;
    flex-wrap: wrap;
    margin: -20px -10px !important;
    justify-content: center;
}
.products-grid .products .product {
  width: 100% !important;
  margin: 0 !important;
  padding: 20px 10px;
}
.product-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  position: relative;
}
.product-info {
  margin-top: 20px;
  padding: 0 10px;
}
.product-info h2 {
  font-family: var(--primary-font);
  font-size: var(--text-content-size);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.product-info span {
  color: var(--primary-color);
  font-family: var(--primary-font);
}
.product-tag {
  position: absolute;
  background-color: var(--primary-color);
  padding: 6px 17px;
  border-radius: 25px;
  right: 13px;
  top: 13px;
  font-size: 0.9rem;
  color: #fff;
  z-index: 9;
}
.products-grid .products .product .product-image img {
  transition: var(--transition);
}
.products-grid .products .product:hover .product-image img {
  transform: scale(1.05);
}
@media screen and (min-width: 580px) {
  .products-grid .products {
    margin: -35px -6px !important;
  }
  .products-grid .products .product {
    width: 33.33% !important;
    padding: 35px 10px;
  }
  .products-grid .products.related .product {
    width: 33.33% !important;
  }
}
@media screen and (min-width: 980px) {
  .shop-grid{
    flex-direction: row;
  }
	.shop-content {
    flex-direction: column;
  }
  .shop-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }
}
@media screen and (min-width: 1280px) {
  .products-grid .products .product {
    width: 25% !important;
  }
  .products-grid .products.related .product {
    width: 25% !important;
  }
}

.products-grid .woocommerce-ordering,
.products-grid .woocommerce-result-count {
  display: none !important;
}

/* --- Pagination ---- */

.woocommerce-pagination,
.pagination {
  display: flex !important;
  width: 100%;
  justify-content: center;
  border: 0 !important;
  margin-top: 0 !important;
  padding: 0 !important;
  width: 100%;
}

@media screen and (min-width: 1280px) {
  .pagination {
    margin-top: 90px !important;
  }
}

.pagination {
  margin-top: 40px !important;
}

@media screen and (min-width: 1280px) {
  .pagination {
    margin-top: 90px !important;
  }
}

.woocommerce-pagination {
  padding: 45px 0 !important;
  position: relative;
}

@media screen and (min-width: 1280px) {
  .woocommerce-pagination {
    padding: 65px 0 !important;
  }
}

.woocommerce-pagination .page-numbers,
.nav-links .page-numbers {
  width: 100%;
  position: relative;
}
.woocommerce-pagination .page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
}

.woocommerce-pagination .page-numbers li,
.nav-links .page-numbers li {
  margin: 0 10px !important;
  width: 21px !important;
  height: 21px !important;
}

.woocommerce-pagination .page-numbers li .page-numbers,
.nav-links .page-numbers li .page-numbers {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  padding: 0px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-weight: 300;
  line-height: 1;
  opacity: 1;
  color: var(--text-color) !important;
  background-color: transparent !important;
  border-radius: 9999px;
}

.woocommerce-pagination .page-numbers li .page-numbers:hover,
.woocommerce-pagination .page-numbers li .page-numbers.current,
.nav-links .page-numbers li .page-numbers:hover,
.nav-links .page-numbers li .page-numbers.current {
  color: var(--primary-color) !important;
  background-color: #000 !important;
  color: #fff !important;
}

.woocommerce-pagination .page-numbers li .page-numbers.next,
.woocommerce-pagination .page-numbers li .page-numbers.prev,
.nav-links .page-numbers.next,
.nav-links .page-numbers.prev {
  padding: 0 !important;
  text-indent: -9999px;
  background-color: transparent !important;
}

.woocommerce-pagination .page-numbers.next:after,
.woocommerce-pagination .page-numbers.prev:after,
.nav-links .page-numbers.next:after,
.nav-links .page-numbers.prev:after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  background-size: 6px;
  background-position: center;
  background-repeat: no-repeat;
}



/* --------------- Product sorting -------------- */

.products-sorting {
  max-width: 720px;
  margin: 0 auto;
  margin-bottom: 40px;
	flex-direction: column;
}
.products-sorting h2 strong{
	color: var(--primary-color);
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
	.products-sorting {
        margin-bottom: 45px;
        max-width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-top: 60px;
		flex-direction: row;
    }
}
@media screen and (min-width: 1280px) {
  
}

.products-sorting .woocommerce-result-count {
  font-weight: 300;
  margin: 0;
  margin-top: 10px;
}

@media screen and (min-width: 1280px) {
  .products-sorting .woocommerce-result-count {
    margin: 0;
  }
}
.products-sorting .woocommerce-ordering {
    margin: 0;
    display: none;
}

.products-sorting .woocommerce-pagination {
  display: none !important;
}

/* -------------- Shop products ----------------- */

.shop-intern {
  padding-top: 50px;
}
.shop__header {
    flex-direction: column;
    gap: 35px;
    margin-bottom: 60px;
    position: relative;
}
.shop-header__title {
    width: 100%;
    padding: 35px 0 0;
}
.shop__header .main-categories__wrapper {
    gap: 20px;
  }
.shop__header h1 strong{
	color: var(--primary-color);
}
.shop-header__categories {
  width: 100%;
  height: 100px;
  background-color: var(--secondary-color);
  border-radius: var(--border-radius);
	padding: 20px 45px;
	color: #fff;
	align-items: center;
	display: none!important;
}
.shop-intern-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.shop-intern-wrapper .product-title{
	margin-bottom: 40px;
}
.shop-intern-wrapper .product-category{
	margin-bottom: 15px;
	color: var(--primary-color);
}
.btns-product-single {
	flex-direction: column;
    margin-top: 25px;
    gap: 8px;
}
.btns-product-single a {
    font-size: 1rem;
    padding: 7px 30px;
    min-width: 150px;
}
.shop-intern-item {
  width: 100%;
  margin-bottom: 25px;
  position: relative;
}
.shop-header__grid-categories{
	position: relative;
	right:0;
	top: 0;
	width: 100%;
}
.shop-header__grid-categories .main-categories__content h2 {
	 font-size: var(--text-content-size);
}
.shop-header__grid-categories .main-categories__content {
	padding: 20px 30px 20px 20px;
}
.shop-header__grid-categories .main-categories__item {
    /* aspect-ratio: 5 / 6; */
    flex: 1;
    height: 300px;
}
.shop-header__grid-categories .main-categories__item .number {
    padding: 20px;
    font-family: var(--primary-font);
}
.shop-header__grid-categories .main-categories__item .circle {
    width: 100px;
    height: 100px;
    top: -32px;
    left: -28px;
}
.main-categories__item.categoria-activa {
    border: 6px solid var(--primary-color);
}
@media screen and (min-width: 580px) {
	.btns-product-single {
		flex-direction: row;
	}
}
@media screen and (min-width: 980px) {
	.shop-header__grid-categories{
		position: absolute;
		width: 60%;
	}
	.shop-header__title {
		width: 40%;
		padding: 35px 30px 0;
	}
	.shop-header__categories {
	  display: flex!important;
	}
}
@media screen and (min-width: 1280px) {
  .shop-intern {
    padding-bottom: 0px;
  }
  .shop-intern-wrapper {
    flex-direction: row;
  }
  .shop-intern-item {
    width: 100%;
    margin-bottom: 0px;
  }
}

.shop-intern-gallery {
  max-width: 100%;
  flex-shrink: 0;
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
	.shop-intern-gallery {
		width: 50%;
	  }
}
@media screen and (min-width: 1280px) {
}

.product-carousel {
  display: flex;
  flex-flow: column-reverse;
  width: 100%;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  position: relative;
}
.product-carousel .product-tag {
  top: 10px;
  right: 10px;
}
.product-carousel-nav {
    width: 100%;
    padding: 0;
    position: relative;
    flex-shrink: 0;
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
	.product-carousel-nav {
		padding-right: 50px;
		display: block;
        margin-bottom: -77px;
	}
	.product-carousel .product-tag {
		top: -10px;
		right: -20px;
	  }
}
@media screen and (min-width: 1280px) {  
	.product-carousel {
		position: sticky;
		top: 120px;
	  }
}

.product-carousel-nav .slick-list.draggable {
    border-radius: var(--border-radius);
}
#inner-section-additional-product {
    background: url(../images/adorno-2.svg), url(../images/adorno-1.svg), var(--secondary-color);
    background-repeat: no-repeat;
    background-size: 680px, 680px, 100%;
    background-position: bottom 200px left -141px, top -80px right -240px, center;
}
#caracteristicas_producto{
	padding: 175px 0 30px;	
}
#products-related{
	position: relative;
}
#products-related::before{
	position: absolute;
	content: "";
	background-color: var(--quaternary-color);
	width: 100%;
	height: 70%;
	bottom: 0;
	left: 0;
}
#products-related .section-title h2 {
    color: #fff;
    text-transform: none;
}
#products-related .section-title h2 strong{
	color: var(--primary-color);
}
.caract_prod__wrapper{
	gap:60px;
	flex-direction: column;
}
.caract_prod__content{
	width: 100%;
	position: relative;
}
.caract_prod__img{
	width: 100%;
	aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: var(--border-radius);
}
.caract-prod-content_container {
    position: relative;
}
.caract-prod-content_container h2{
	color: #fff;
	margin-bottom: 40px;
}
@media screen and (min-width: 580px) {	
	.caract_prod__wrapper{
		gap:60px;
		flex-direction: row;
	}
	.caract_prod__content{
		width: 50%;
	}
	.caract_prod__img{
		width: 50%;
	}
	#products-related::before{
		height: 40%;
	}
}
@media screen and (min-width: 980px) {	
	.caract-prod-content_container {
		position: absolute;
		top: 25%;
		width: 120%;
		left: 0;
	}
}
@media screen and (min-width: 1280px) {
}

.product-carousel-nav .slick-slide {
  border: 0;
  width: 155px;
}

.product-carousel-nav .slick-slide div {
  height: 100%;
}
.product-carousel-nav-wrap {
  width: 100%;
  margin-top: -4px;
}

@media screen and (min-width: 1024px) {
  .product-carousel-nav-wrap {
    display: flex;
  }
}

.product-carousel-nav-arrows {
  width: 100%;
  height: 100%;
}

.product-carousel-nav-arrows .custom-arrows {
  height: 100%;
  width: 100%;
}

.product-carousel-nav-arrows .custom-arrows-wrap {
  gap: 2px;
  flex-flow: column-reverse;
  height: 100%;
  width: 100%;
}

.product-carousel-nav-arrows .custom-arrow {
  height: 50%;
  border-radius: 0;
  min-width: 100%;
  background-color: #bebebc;
}
.product-carousel-nav-image {
  width: 100%;
  height: 100%;
}
.product-carousel-nav img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
  border-radius: 0px;
}
.product-carousel-nav,
.product-carousel-nav .slick-list,
.product-carousel-nav .slick-track {
  height: 100% !important;
}

.product-carousel-slider {
  margin: 0 !important;
  overflow: hidden;
}

.product-carousel-slider .slick-dots {
  bottom: 8%;
  position: absolute;
}

.product-carousel-slider-wrapper {
  width: 100%;
  position: relative;
}

.product-carousel-slider .slick-dots li {
  margin-top: 40px;
}

.product-carousel-slider .slick-slide {
  margin: 0;
}
.product-carousel-slider img {
  margin: 0 auto;
}

@media screen and (max-width: 1024px) {
  .product-carousel-slider img {
    width: 100%;
  }
}
.product-carousel-slider .slick-slide a {
  display: flex;
  height: 100%;
  width: 100%;
}

.product-carousel-slider-wrapper,
.product-carousel-slider,
.product-carousel-slider .slick-list,
.product-carousel-slider .slick-track,
.product-carousel-slider .slick-slide,
.product-carousel-slider .slick-slide div {
  height: 100%;
}

.shop-intern-content {
  margin-bottom: 35px;
  width: 100%;
}

.gallery-product-grid {
    display: grid;
	grid-template-columns: repeat(3, 1fr);
    gap: 10px;
	margin-top: 60px;
}
.gallery-product__item {
    opacity: 0.4;
    transition: opacity 0.3s ease;
    cursor: pointer;
	border: 1px solid var(--quaternary-color);
	border-radius: var(--border-radius);
	aspect-ratio: 1/1;
  	overflow: hidden;
}
.gallery-product__item.active {
    opacity: 1;
    border: 1px solid var(--primary-color);
}
.section-product-inner{
	background: var(--quaternary-color);
}
@media screen and (min-width: 580px) {
}
@media screen and (min-width: 980px) {
	.section-product-inner{
		background: linear-gradient(to right, var(--quaternary-color) 50%, #fff 50%);
	}
	.shop-intern-content {
        padding-left: 70px;
        padding-top: 20px;
        width: 50%;
        display: flex;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
    }
}
@media screen and (min-width: 1280px) {
}


.single-product-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 35px;
}

.custom-title {
  margin-bottom: 16px;
}

.shop-intern-content h1.product_title {
  margin: 0;
}
.single-product-wrap {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
}
.single-product-wrap .product__tag {
  position: relative;
  right: 0;
  top: 0;
  margin-left: 15px;
}

.shop-intern-content .price,
.shop-intern-content .price span {
  line-height: 1;
}

.shop-intern-content .price {
  margin: 0 !important;
  display: flex;
  align-items: center;
  margin-bottom: 16px !important;
}

.product-type-variable .shop-intern-content .price {
  display: block !important;
}

.shop-intern-content .price ins,
.shop-intern-content .price del {
  margin: 0 !important;
}

.shop-intern-content .price ins {
  text-decoration: none;
}

.shop-intern-content .price del {
  opacity: 1;
  margin-left: 10px !important;
}

.shop-intern-content .woocommerce-product-details__short-description,
.shop-intern-content .woocommerce-product-details__short-description p {
  margin: 0;
  width: 100%;
}

.shop-intern-content .woocommerce-product-details__short-description p {
  color: #b79286;
  margin-bottom: 20px;
}

.shop-intern-content .woocommerce-product-details__short-description ul {
  list-style: disc;
  margin-left: 20px;
}

.shop-intern-content .woocommerce-product-details__short-description ul li {
  margin-bottom: 10px;
}

.single-product.woocommerce .shop-intern-content form,
.single-product.woocommerce
  .shop-intern-content
  .woocommerce-variation-add-to-cart {
  margin: 0 !important;
  padding: 0 !important;
  width: 100%;
}

.single-product.woocommerce .shop-intern-content form {
  display: flex;
  flex-flow: column;
  align-items: flex-start;
  position: relative;
}

.single-product.woocommerce .shop-intern-content form .product-price {
  order: 2;
  margin-top: 35px;
  margin-bottom: 20px;
}

.single-product.woocommerce .shop-intern-content form .product-price span {
  font-size: 4rem;
}

.single-product.woocommerce .shop-intern-content form .qib-container {
  order: 1;
}

.single-product.woocommerce
  .shop-intern-content
  form
  .single_add_to_cart_button {
  order: 2;
}

.single-product.woocommerce .shop-intern-content form {
  margin-top: 50px !important;
}

.shop-intern-content .single_add_to_cart_button {
  margin: 0 !important;
  height: 40px !important;
  min-width: 215px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  border: 1px solid var(--quaternary-color) !important;
  background-color: var(--quaternary-color) !important;
  border-radius: 9999px;
  font-weight: 300;
  font-size: 1.9rem;
  transition: all 0.3s ease;
  width: auto;
  padding: 0px 24px;
  position: relative;
  white-space: nowrap;
}

.shop-intern-content .single_add_to_cart_button:hover {
  background-color: var(--quinary-color) !important;
  border-color: var(--quinary-color) !important;
  color: var(--quaternary-color) !important;
}

.shop-intern-content .single_add_to_cart_button > span:before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(../images/btn-loader.gif);
  background-position: center;
  background-size: 25%;
  background-repeat: no-repeat;
}

.wrap-button-cart {
  display: flex !important;
  flex-flow: column;
  gap: 20px;
  margin: 0 !important;
}

@media screen and (min-width: 1280px) {
  .wrap-button-cart {
    flex-flow: row;
    gap: 35px;
    align-items: center;
  }
}

/* RELATED */

.section.-related {
    padding: 30px 0 120px;
  }
@media screen and (min-width: 1280px) {
  .section.-related {
    padding: 120px 0;
  }
}

.section.-related .section-title h2 {
  text-align: center;
}

.section.-related .section-title {
  margin-bottom: 6vmax;
}

.section.-related .section {
  padding-top: 0;
}

.related.products > h2 {
  display: none;
}

.caracteristicas_product {
    display: flex;
}
.tabs-left {
    min-width: 270px;
    background-color: var(--primary-color);
}
.tabs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tab-button {
    cursor: pointer;
    padding: 30px;
    border-left: 4px solid transparent;
    color: #fff;
	transition: var(--transition);
}
.tab-button.active {
    background-color: #c9091c;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}
.tabs-content {
    flex-grow: 1;
}
.tab-content {
    display: none;
    min-height: 300px;
    padding: 50px;
}
.tab-content.active {
    display: block;
}
.caract__content {
    border-radius: var(--border-radius);
    background-color: #fff;
    overflow: hidden;
}

@media (max-width: 980px) {
	.tab-content {
		min-height: 0;
		padding: 25px;
	}
    .caracteristicas_product {
        flex-direction: column;
    }
    .tabs-left {
        width: 100%;
    }
    .tabs-list {
        display: block;
    }

    .tab-button {
        width: 100%;
        text-align: left;
        padding: 20px;
    }
    .tab-button.active {
        border-radius: var(--border-radius);
        background-color: #c9091c;
    }
    .tabs-content {
        padding-top: 20px;
    }
}
