/** Shopify CDN: Minification failed

Line 46:12 Expected identifier but found whitespace
Line 46:13 Unexpected "105px"
Line 66:2 Unexpected "{"
Line 80:2 Unexpected "{"
Line 93:15 Expected identifier but found "#D4AF37"
Line 93:22 Unexpected ";"
Line 122:10 Expected identifier but found "\"✓\""

**/
.terramar-variant-image-picker {
  margin: 2rem 0;
}

.terramar-variant-title {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.terramar-variant-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.terramar-variant-card {
  position: relative;
  min-width: 110px;
  background: #ffffff;
  border: 2px solid #ececec;
  border-radius: 16px;
  padding: 12px;
  cursor: pointer;
  transition: all .25s ease;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
}

.terramar-variant-card:hover{
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(0,0,0,.12);
}
  min-width: 105px;
  border: 1px solid #d4af37;
  border-radius: 14px;
  background: #fff;
  padding: 0.75rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.terramar-variant-card__image{
  display:flex;
  justify-content:center;
  align-items:center;
  margin-bottom:10px;
}

.terramar-variant-card__image img{
  width:80px;
  height:80px;
  object-fit:contain;
} {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.terramar-variant-card__name{
  display:block;
  text-align:center;
  font-size:.82rem;
  font-weight:600;
  color:#222;
} {
  display: block;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}
.terramar-variant-card.is-selected {
  border-color: #c9a227;
  box-shadow:
    0 0 0 3px rgba(201, 162, 39, 0.18),
    0 14px 32px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px) scale(1.02);
}

  border-color:#D4AF37;

  box-shadow:
      0 0 0 3px rgba(212,175,55,.20),
      0 12px 30px rgba(0,0,0,.12);

  transform:translateY(-2px);

}

.terramar-variant-card.is-selected::after {
  content: "✓";
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #c9a227;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(201, 162, 39, 0.35);
  z-index: 3;
}

  content:"✓";

  position:absolute;

  top:8px;

  right:8px;

  width:24px;

  height:24px;

  border-radius:50%;

  background:#D4AF37;

  color:white;

  display:flex;

  align-items:center;

  justify-content:center;

  font-size:14px;

  font-weight:bold;

}
/* Oculta el selector original de Dawn, pero lo deja funcionando por detrás */
variant-selects > .product-form__input,
variant-selects fieldset,
variant-selects legend,
variant-selects input[type="radio"] + label {
  display: none !important;
}
.terramar-variant-card.is-sold-out {
  opacity: .68;
  cursor: not-allowed;
}

.terramar-variant-card.is-sold-out img {
  filter: grayscale(1);
}

.terramar-variant-card.is-sold-out::before {
  content: "Agotado";
  position: absolute;
 top: 10px;
right: 10px;
font-family: inherit;
  background: #c9a227;
color: #fff;
font-size: 0.55rem;
padding: 3px 6px;
border-radius: 999px;
box-shadow: 0 2px 6px rgba(0,0,0,.15);
  border-radius: 999px;
  z-index: 2;
}
/* Mobile: carrusel compacto para pocas variantes */
.terramar-variant-image-picker.is-carousel .terramar-variant-card {
  min-width: 88px;
}

/* Cuando hay muchas variantes, cambia a cuadrícula */
.terramar-variant-image-picker.is-grid .terramar-variant-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  overflow-x: visible;
}

.terramar-variant-image-picker.is-grid .terramar-variant-card {
  min-width: 0;
  width: 100%;
}

/* Ajuste para pantallas pequeñas */
@media screen and (max-width: 749px) {
  .terramar-variant-image-picker.is-grid .terramar-variant-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .terramar-variant-card {
    padding: 10px;
  }

  .terramar-variant-card__image img {
    width: 70px;
    height: 70px;
  }

  .terramar-variant-card__name {
    font-size: 0.75rem;
  }
}
.terramar-hidden-native-variants {
  display: none !important;
}