@charset "utf-8";
/* CSS Document */

.color-swap-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Open Sans', sans-serif!important;
}

.media {
/*  position: relative;*/
  background-color: rgba(0, 0, 0, 0.03);
  border-radius: 8px;
  overflow: hidden;  
  padding: 10px 0 0 0;
}

.media p {
/*  font-family: 'Open Sans', sans-serif;*/
  margin: 0 auto;
  font-size: 1rem;
  text-align: center;
  padding: 0;
  color: rgba(122,118,118,1.00);
}

.product-name { font-weight: normal; }

.color-name { font-weight: bold; }

.img-main {
  max-width: 100%;
/*  max-width: 30vw;*/
  height: auto;
  max-height: 300px;
  display: block;
  transition: opacity 0.3s ease;
}

.img-main.fade-out {
  opacity: 0;
}

/* variantes */

.variantes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 5px 0 0 0;
}

.variantes p { 
  font-size: 1rem;
  font-weight: 400;
  color: rgba(122,118,118,1.00);
  line-height: 18px;
}

.color-option {
  cursor: pointer;
}

.color-option input {
  display: none;
}

.color-option span {
  display: block;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  border: 1px solid #CCC;
  transition: .2s;
}

.color-option input:checked + span {
  transform: scale(1.3);
  border: 1.7px solid #CCC;
}

