/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         EcommJuice
 Author URI:     https://www.ecommjuice.com
 Template:       Divi
 Version:        1.0.0
*/
 
 
/* Theme customization starts here
------------------------------------------------------- */

.main_title {
    margin-bottom: 20px;
    margin-top: 100px;
}

.header-medio {
	display: flex;
	align-items: center;
}

/*Botones slider pieza favorita*/
.slick-next,
.slick-next:focus,
.slick-next:hover,
.slick-prev,
.slick-prev:focus,
.slick-prev:hover {
	border-radius: 100px;
}

#catalogo-portafolio ul.clearfix {
    display: flex;
    justify-content: space-evenly;
}
#catalogo-portafolio .et_pb_portfolio_filters a {
    padding: 10px 2px;
    border: 0 !important;
    background-color: #000 !important;
    border-radius: 30px !important;
}

#catalogo-portafolio.et_pb_filterable_portfolio .et_pb_portofolio_pagination {
    border-top: 0;
}
.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
	border-radius: 100px !important
}

/*Tarjetas*/
/*.ej-slide-cards .slick-track {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    perspective: 1000px;
}*/

.ej-slide-cards .slick-track {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 5% 0;
	width: 100% !important;
	height: 800px;
	transform: scale(0.95);
	transition: transform 0.5s ease;
	/* margin: 44px -81px; */
	transform: translate(0) !important;
}

.ej-slide-cards .slick-track .slick-slide {
	position: absolute;
	width: fit-content !important;
	height: 100%;
	margin: 0 10px;
	background-color: white;
	border: 1px solid #ccc;
	border-radius: 10px;
	transform: rotateY(0deg);
	transition: transform 0.5s;
}

.ej-slide-cards .slick-track .slick-slide img {
	max-width: 20em;
}

.ej-slide-cards .slick-track .slick-slide {
	background-color: transparent;
	border: unset;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(1) {
	transform: rotate(8deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(1).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(1).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(1).hide {
	transform: rotate(8deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(2) {
	transform: rotate(-8deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(2).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(2).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(2).hide {
	transform: rotate(-8deg) translateY(150%) translateX(20%) !important;
}


.ej-slide-cards .slick-track .slick-slide:nth-child(3) {
	transform: rotate(20deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(3).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(3).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(3).hide {
	transform: rotate(20deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(4) {
	transform: rotate(-15deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(4).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(4).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(4).hide {
	transform: rotate(-15deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(5) {
	transform: rotate(5deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(5).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(5).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(5).hide {
	transform: rotate(5deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide.hide {
	opacity: 0;
	transition: transform 1s 0.3s, opacity 1s 0.3s ease-out !important;
}

.ej-slide-cards section.slick-slider {
	display: grid;
	grid-template-areas:
		'slide slide .'
		'slide slide btnPrev'
		'slide slide btnNext'
		'slide slide .';
	grid-template-columns: 1fr 1fr auto;
	row-gap: 1em;
	overflow:hidden;
}

.ej-slide-cards section.slick-slider .slick-list {
	grid-area: slide;
}

.ej-slide-cards section.slick-slider button {
	border-radius: 50%;
	top: 0;
	z-index: 1000;
}

.ej-slide-cards section.slick-slider .slick-prev {
	grid-area: btnPrev;
	position: relative;
	left: 0px !important;
}

.ej-slide-cards section.slick-slider .slick-next {
	grid-area: btnNext;
	position: relative;
	right: 0px !important;
}

.card:hover {
	transform: scale(1.05);
}

.button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.8);
	border: none;
	padding: 10px;
	cursor: pointer;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.button-left {
	left: 10px;
}

.button-right {
	right: 10px;
}

@media (max-width: 700px) {
		 h1 {
    font-size: 2rem; 
		line-height: 1
  }
	 h2 {
    font-size: 2rem !important;
		line-height: 1 !important; 
  }

  p {
    font-size: 16px !important;
		line-height: 1;
  }
	
	.et_pb_button {
		font-size: 16px !important;
	}
	
	.ej-slide-cards section.slick-slider {
		grid-template-areas:
			'slide slide slide slide'
			'. btnPrev btnNext .';
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr auto;
		gap: 0;
		overflow:hidden;
	}

	.ej-slide-cards section.slick-slider .slick-list {
		height: 450px !important;
		overflow: visible !important;
	}

	.ej-slide-cards .slick-track {
		margin: 5% -2%;
		height: 450px;
	}

	.ej-slide-cards .slick-track .slick-slide {
		height: fit-content;
	}

	.ej-slide-cards .slick-track .slick-slide img {
		max-width: 11em;
	}
}

@media (min-width: 701px) and (max-width: 980px) {
	

	
	.ej-slide-cards section.slick-slider .slick-list {
		height: 700px !important;
		overflow: visible !important;
	}

	.ej-slide-cards .slick-track {
		height: 100%;
		margin: 0;
		align-items: center;
	}

	.ej-slide-cards .slick-track .slick-slide {
		height: fit-content;
	}

	.ej-slide-cards .slick-track .slick-slide img {
		max-width: 17em;
	}
}

/* Estaba en personalización CSS*/


.header-medio {
	display: flex;
	align-items: center;
}

/*Botones slider pieza favorita*/
.slick-next,
.slick-next:focus,
.slick-next:hover,
.slick-prev,
.slick-prev:focus,
.slick-prev:hover {
	border-radius: 100px;
}

#catalogo-portafolio ul.clearfix {
    display: flex;
    justify-content: space-evenly;
	flex-wrap: wrap;
}
#catalogo-portafolio .et_pb_portfolio_filters a {
    padding: 10px 2;
    border: 0 !important;
    background-color: #000 !important;
    border-radius: 30px !important;
}

#catalogo-portafolio.et_pb_filterable_portfolio .et_pb_portofolio_pagination {
    border-top: 0;
}
.et_pb_button:hover, .et_pb_module .et_pb_button:hover {
	border-radius: 100px !important
}

/*Tarjetas*/
/*.ej-slide-cards .slick-track {
    position: relative;
    width: 80%;
    margin: auto;
    overflow: hidden;
    perspective: 1000px;
}*/

.ej-slide-cards .slick-track {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 5% 0;
	width: 100% !important;
	height: 800px;
	transform: scale(0.95);
	transition: transform 0.5s ease;
	transform: translate(0) !important;
}

.ej-slide-cards .slick-track .slick-slide {
	position: absolute;
	width: fit-content !important;
	height: 100%;
	margin: 0 10px;
	background-color: white;
	border: 1px solid #ccc;
	border-radius: 10px;
	transform: rotateY(0deg);
	transition: transform 0.5s;
}

.ej-slide-cards .slick-track .slick-slide img {
	max-width: 20em;
}

.ej-slide-cards .slick-track .slick-slide {
	background-color: transparent;
	border: unset;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(1) {
	transform: rotate(8deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(1).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(1).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(1).hide {
	transform: rotate(8deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(2) {
	transform: rotate(-8deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(2).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(2).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(2).hide {
	transform: rotate(-8deg) translateY(150%) translateX(20%) !important;
}


.ej-slide-cards .slick-track .slick-slide:nth-child(3) {
	transform: rotate(20deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(3).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(3).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(3).hide {
	transform: rotate(20deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(4) {
	transform: rotate(-15deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(4).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(4).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(4).hide {
	transform: rotate(-15deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide:nth-child(5) {
	transform: rotate(5deg);
}

#ej-slider-uno.ej-slide-cards .slick-track .slick-slide:nth-child(5).hide,
#ej-slider-dos.ej-slide-cards .slick-track .slick-slide:nth-child(5).hide,
#ej-slider-tres.ej-slide-cards .slick-track .slick-slide:nth-child(5).hide {
	transform: rotate(5deg) translateY(150%) translateX(20%) !important;
}

.ej-slide-cards .slick-track .slick-slide.hide {
	opacity: 0;
	transition: transform 1s 0.3s, opacity 1s 0.3s ease-out !important;
}

.ej-slide-cards section.slick-slider {
	display: grid;
	grid-template-areas:
		'slide slide .'
		'slide slide btnPrev'
		'slide slide btnNext'
		'slide slide .';
	grid-template-columns: 1fr 1fr auto;
	row-gap: 1em;
}

.ej-slide-cards section.slick-slider .slick-list {
	grid-area: slide;
}

.ej-slide-cards section.slick-slider button {
	border-radius: 50%;
	top: 0;
	z-index: 1000;
}

.ej-slide-cards section.slick-slider .slick-prev {
	grid-area: btnPrev;
	position: relative;
	left: 0px !important;
}

.ej-slide-cards section.slick-slider .slick-next {
	grid-area: btnNext;
	position: relative;
	right: 0px !important;
}

.card:hover {
	transform: scale(1.05);
}

.button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(255, 255, 255, 0.8);
	border: none;
	padding: 10px;
	cursor: pointer;
	border-radius: 5px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.button-left {
	left: 10px;
}

.button-right {
	right: 10px;
}

@media (max-width: 700px) {
		 h1 {
    font-size: 2rem; 
		line-height: 1
  }
	 h2 {
    font-size: 2rem !important;
		line-height: 1 !important; 
  }

  p {
    font-size: 16px !important;
		line-height: 1;
  }
	
	.et_pb_button {
		font-size: 16px !important;
	}
	
	.ej-slide-cards section.slick-slider {
		grid-template-areas:
			'slide slide slide slide'
			'. btnPrev btnNext .';
		grid-template-columns: repeat(4, 1fr);
		grid-template-rows: 1fr auto;
		gap: 0;
	}

	.ej-slide-cards section.slick-slider .slick-list {
		height: 450px !important;
		overflow: visible !important;
	}

	.ej-slide-cards .slick-track {
		margin: 5% -2%;
		height: 450px;
	}

	.ej-slide-cards .slick-track .slick-slide {
		height: fit-content;
	}

	.ej-slide-cards .slick-track .slick-slide img {
		max-width: 11em;
	}
}

@media (min-width: 701px) and (max-width: 980px) {
	
	.ej-slide-cards section.slick-slider .slick-list {
		height: 700px !important;
		overflow: visible !important;
	}

	.ej-slide-cards .slick-track {
		height: 100%;
		margin: 0;
		align-items: center;
	}

	.ej-slide-cards .slick-track .slick-slide {
		height: fit-content;
	}

	.ej-slide-cards .slick-track .slick-slide img {
		max-width: 17em;
	}
}



/* */

html, body {
    position: relative;
    height: 100%;
    overflow-x: hidden;
    background: #000;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #fff;
    margin: 0;
    padding: 0;
  }

  /* Swiper 1 (cards) */
  #swiper1 {
    width: 300px;
    height: 430px;
  }

  #swiper1 .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 22px;
    font-weight: bold;
    background-color: transparent !important;
  }

  #swiper1 .swiper-slide img {
    height: 100%;
  }

  /* Swiper 2 (coverflow) */
  main {
    position: relative;
    width: min(90rem, 90%);
    margin: 0 auto;
    min-height: 100vh;
    column-gap: 3rem;
    padding-block: min(20vh, 3rem);
  }

  main > div span {
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 1rem;
    color: #717171;
  }

  main > div h1 {
    text-transform: capitalize;
    letter-spacing: 0.8px;
    font-family: "Roboto", sans-serif;
    font-weight: 900;
    font-size: clamp(3.4375rem, 3.25rem + 0.75vw, 4rem);
    background-image: linear-gradient(45deg, #005baa, #000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-background-clip: text;
    -moz-text-fill-color: transparent;
  }

  main > div hr {
    background: #005baa;
    height: 0.25rem;
    width: 6.25rem;
    border: none;
    margin: 1.125rem 0 1.875rem;
  }

  main > div p {
    line-height: 1.6;
  }

  main a {
    text-decoration: none;
    text-transform: uppercase;
    color: #717171;
    font-weight: 500;
    background: #fff;
    border-radius: 3.125rem;
    transition: 0.3s ease-in-out;
  }

  main > div > a {
    border: 2px solid #c2c2c2;
    margin-top: 2.188rem;
    padding: 0.625rem 1.875rem;
  }

  main > div > a:hover {
    border: 0.125rem solid #005baa;
    color: #005baa;
  }

  #swiper2 {
    width: 100%;
    padding-top: 1.125rem;
  }

  #swiper2 .swiper-pagination-bullet,
  #swiper2 .swiper-pagination-bullet-active {
    background: #fff;
  }

  #swiper2 .swiper-pagination {
    bottom: 1.25rem !important;
  }

  #swiper2 .swiper-slide {
    width: 18.75rem;
    height: 28.125rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
  }

  #swiper2 .swiper-slide h2 {
    color: #fff;
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 0.625rem;
    padding-left: 1.563rem;
    text-transform: uppercase;
  }

  #swiper2 .swiper-slide p {
    color: #dadada;
    font-family: "Roboto", sans-serif;
    font-weight: 300;
    padding: 0 1.563rem;
    line-height: 1.6;
    font-size: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #swiper2 .swiper-slide a {
    margin: 1.25rem 1.563rem 3.438rem;
    padding: 0.438em 1.875rem;
    font-size: 0.9rem;
  }

  #swiper2 .swiper-slide a:hover {
    color: #005baa;
  }

  #swiper2 .swiper-slide div {
    display: none;
    opacity: 0;
    padding-bottom: 0.625rem;
  }

  #swiper2 .swiper-slide-active div {
    display: block;
    opacity: 1;
  }

  /* Backgrounds por slide */
  #swiper2 .swiper-slide--one {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
      url("https://rubenbcaballero.com/wp-content/uploads/2025/04/Carta-1.svg") no-repeat center / cover;
  }

  #swiper2 .swiper-slide--two {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
      url("https://rubenbcaballero.com/wp-content/uploads/2025/04/5.png") no-repeat center / cover;
  }

  #swiper2 .swiper-slide--three {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
      url("https://rubenbcaballero.com/wp-content/uploads/2025/04/Carta-3.svg") no-repeat center / cover;
  }

  #swiper2 .swiper-slide--four {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
      url("https://rubenbcaballero.com/wp-content/uploads/2025/04/5.png") no-repeat center / cover;
  }

  #swiper2 .swiper-slide--five {
    background: linear-gradient(to top, #0f2027, #203a4300, #2c536400),
      url("https://rubenbcaballero.com/wp-content/uploads/2025/04/Carta-3.svg") no-repeat center / cover;
  }

  #swiper2 .swiper-3d .swiper-slide-shadow-left,
  #swiper2 .swiper-3d .swiper-slide-shadow-right {
    background-image: none;
  }

  @media screen and (min-width: 48rem) {
    main {
      display: flex;
      align-items: center;
    }

    .bg, .bg2 {
      opacity: 0.1;
    }
  }

  @media screen and (min-width: 93.75rem) {
    #swiper2 {
      width: 85%;
    }
  }
  
 /*.woocommerce:where(body:not(.woocommerce-uses-block-theme)) .woocommerce-breadcrumb {*/
 .woocommerce-breadcrumb {
    font-size: .92em;
    color: #767676;
    margin-top: 100px;
}