/* --- Tapeluche Variant Styling (Inline AliExpress Style) --- */

/* Remove the big white block background */
.tapeluche-variants-wrapper {
  margin: 20px 0;
  padding: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* Each variant section (ex: Couleur:) */
.variant-section {
  margin-bottom: 15px;
}

.variant-label {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 8px;
  color: #111;
}

/* Make variants inline and centered */
.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

/* Variant item: small rounded image only */
.variant-option {
  position: relative;
  cursor: pointer;
  width: 65px;
  height: 65px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all 0.25s ease-in-out;
}

.variant-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  transition: all 0.25s ease-in-out;
}

/* Hover + selection */
.variant-option:hover {
  transform: scale(1.05);
  border-color: #9ed3ce;
}

.variant-option.selected {
  border-color: #000;
  transform: scale(1.07);
}

.variant-option.selected::after {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Optional: hide small text below images */
.variant-price {
  display: none;
}

/* Size variants (text chips) */
.size-option {
  min-width: 60px;
padding: 6px 0px;
height: 36px;  border-radius: 8px;
  background: #fafafa;
  border: 2px solid #ddd;
  font-size: 13px;
  font-weight: 600;
  color: #333;
  text-align: center;
  transition: all 0.2s ease;
}

.size-option:hover {
  border-color: #9ed3ce;
}

.size-option.selected {
  background: #fff;
  border-color: #000;
  color: #000;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .variant-option {
    width: 55px;
    height: 55px;
  }
}
