/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/*ESTILO POOPUP VARIACIONES*/

.variations-popup {
	 overflow-y: hidden !important;
   display: none;
   position: fixed;
   z-index: 999;
   left: 0;
   top: 0;
   width: 100%;
   height: 100vh;
   overflow: auto;
  background-color: #004d71db;
}

.variations-popup-content {
	 display:flex;
   background-color: white;
   margin: 15% auto;
   padding: 20px;
   border: 1px solid #888;
   width: 100%;
   max-width: 90vw;
	 border-radius: 15px;
}

.variations-popup-close {
   color: #aaa;
   float: right;
   font-size: 28px;
   font-weight: bold;
}

.variations-popup-close:hover,
.variations-popup-close:focus {
   color: black;
   text-decoration: none;
   cursor: pointer;
}

div:nth-child(1) > div.row.product-image-summary-wrap > div > div > div.col-lg-6.col-12.col-md-6.text-left.summary.entry-summary > div > form > div.product-description > button{
	margin-bottom: 5%;
    border-radius: 5px;
    background-color: #004d71;
    color: white;
}

/*#variations-popup > div > span{
	position: absolute;
    top: 10%;
    left: 50%;
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    color: #004d71;
}*/

.variations-popup-close{
		position: absolute;
    top: 9%;
    left: 45%;
    color: #004d71;
    float: right;
    font-weight: bolder;
    background: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 20px;
    font-family: 'Roboto';
}

#variations-popup > div{
	margin-top: 8% !important;
}

#variations-popup > div.variations-popup-content > div.variations-image.col-md-7.color-popup.slider.wrapper{
	height: 70vh !important;
	border-radius:10px;
}


#variations-popup > div > span:hover{
  	background: #004d71;
 		color: white;
	  transition: ease-in 0.5s;
}

#variations-popup > div > div.variations-image.col-md-7.color-popup{
	padding: 0px;
}

#variations-popup > div > div.variations-image.col-md-7.color-popup > img{
	border-radius:10px;
	width: 100%;
}

#variations-popup > div > div.variations-colors.col-md-5 > img{
	position: absolute;
    bottom: 0;
}

#variations-popup > div > div.variations-image.col-md-7.color-popup{
	border-radius: 13px;
}

#variations-popup > div > div.variations-colors.col-md-5 > h1{
	font-family: 'Roboto';
  color: #004d71;
  font-size: 28px;
  font-weight: 600;
  text-transform: capitalize;
  margin-top: 4%;
}


#variations-popup > div > div.variations-colors.col-md-5 > div > table > tbody > tr > th > label{
	display:none !important;
}

#variations-popup > div > div.variations-colors.col-md-5 > div > h3{
	color: #1a9da1;
  font-family: 'Roboto';
	font-weight: 500;
  margin-left: 2%;
}

.wd-swatch-bg{
	border-radius: 5px;
}

#variations-popup > div{
	margin-top: 10%;
}

/*Tamaño selectro colores y grid*/
[class*="wd-swatches"]{
	--wd-swatch-w: 8.5vh;
  --wd-swatch-h: 8.5vh;
	--wd-swatch-h-sp: 25px;
	--wd-swatch-v-sp: 20px;
}

.wd-swatches-product{
	display: inline-grid;
    align-items: center;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    flex-wrap: wrap;
    justify-content: var(--text-align);
    vertical-align: middle;
    gap: var(--wd-swatch-v-sp) var(--wd-swatch-h-sp);
}

.wd-reset-var > a{
	background: rgb(0, 77, 113);
  font-size: 14px;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
	border: 1px solid rgb(0, 77, 113);
}

.wd-reset-var > a:hover{
	background:white;
	border: 1px solid rgb(0, 77, 113);
	color: #004d71;
	font-weight: 600;
}


.wd-reset-side-lg .reset_variations{
	  position: absolute;
    top: -7vh;
    left: 15vw;
}

#variations-popup > div.variations-popup-content > div.variations-colors.col-md-5 > div.color-section.image-section{
	width: 40vw;
	max-height: 42vh; !important;
  padding: 6%;
  background: white;
  -webkit-box-shadow: 0px 0px 12px 0px 			rgba(184,184,184,1);
	 -moz-box-shadow: 0px 0px 12px 0px 			rgba(184,184,184,1);
   box-shadow: 0px 0px 9px 0px rgb(223 		223 223);
   border-radius: 10px;
   position: relative;
   left: 0%;
   z-index: 999;
	background: rgba( 255, 255, 255, 		0.5 );
	backdrop-filter: blur( 6px );
	-webkit-backdrop-filter: blur( 		6px );
	border-radius: 10px;
	border: 1px solid white;
	overflow-x: hidden;
	overflow-y: scroll;
	margin-bottom: 6%;
}

#variations-popup > div.variations-popup-content > div.variations-colors.col-md-5 > div.product-price > p{
	font-size: 20px;
    font-family: 'Roboto';
    color: #005080;
    font-weight: bold;
}

/*Estilos carrusel de imagenes*/

.wrapper{
  position: relative;
  width: 700px;
  height: 400px;
}
.wrapper .img{
  position: absolute;
  width: 100%;
  height: 100%;
}
.wrapper .img img{
  height: 100%;
  width: 100%;
  object-fit: cover;
  clip-path: circle(0% at 0% 100%);
  transition: all 0.7s;
}
#one:checked ~ .img-1 img{
  clip-path: circle(150% at 0% 100%);
}
#two:checked ~ .img-2 img{
  clip-path: circle(150% at 0% 100%);
}
#three:checked ~ .img-3 img{
  clip-path: circle(150% at 0% 100%);
}

.wrapper .sliders{
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  display: flex;
}
.wrapper .sliders label{
  border: 2px solid white;
  width: 13px;
  height: 13px;
  margin: 0 3px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}
#one:checked ~ .sliders label.one,
#two:checked ~ .sliders label.two,
#three:checked ~ .sliders label.three,
#four:checked ~ .sliders label.four,
#five:checked ~ .sliders label.five{
  width: 45px;
  border-radius: 14px;
  background: white;
}
.sliders label:hover{
  background:white;
}
input[type="radio"]{
  display: none;
}
.img img{
	border-radius: 10px !important;
}

/*Responsive*/

/* For desktop: */
.col-1 {width: 8.33%;}
.col-2 {width: 16.66%;}
.col-3 {width: 25%;}
.col-4 {width: 33.33%;}
.col-5 {width: 41.66%;}
.col-6 {width: 50%;}
.col-7 {width: 58.33%;}
.col-8 {width: 66.66%;}
.col-9 {width: 75%;}
.col-10 {width: 83.33%;}
.col-11 {width: 91.66%;}
.col-12 {width: 100%;}

@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class*="col-"] {
    width: 100%;
}
	
	#variations-popup > div.close-popup > span{
		position: absolute;
    top: 2%;
    left: 42%;
    color: #004d71;
    float: right;
    font-weight: bolder;
    background: white;
    padding: 3px 15px;
    border-radius: 50px;
    font-size: 15px;
    font-family: 'Roboto';
	}
	
	
	#variations-popup > div.variations-popup-content{
		display:grid;
}
	
#variations-popup > div{
		margin-top:15% !important;
}
	
#variations-popup > div.variations-popup-content > div.variations-image.col-md-7.color-popup.slider.wrapper{
		max-height: 28vh !important;
    max-width: 80vw;
}
	
#variations-popup > div.variations-popup-content > div.variations-colors.col-md-5 > div.color-section.image-section{
		width: 74vw;
    max-height: 42vh;
}
	
#variations-popup > div.variations-popup-content > div.variations-colors.col-md-5 > img{
		display: none;
}
	
.wd-reset-side-lg .reset_variations{
	position: relative !important;
	top: 0;
  left: 0;
}
	
.wd-swatches-product{
 display: inline-grid;
 align-items: center;
  grid-template-columns: 1fr 1fr 1fr;
	}
	
[class*="wd-swatches"]{
		--wd-swatch-w: 7.5vh;
    --wd-swatch-h: 7.5vh;
	}
	
	table.variations tr:last-child .cell{
		padding-bottom: 5%;
	}
	
	#variations-popup > div.variations-popup-content > div.variations-colors.col-md-5 > div.color-section.image-section > table > tbody > tr > th > span{
    font-family: 'Roboto';
    color: #246685;
    font-weight: bold;
    font-size: 16px;
	}
}


/* END ESTILO POOPUP VARIACIONES*