/* === Estilos Base para Labels Personalizados === */
.wc-custom-label {
    position: absolute;
    padding: 3px 6px;
    border-radius: 4px;
    font-size: 0.661rem;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 2;
    line-height: 1.2;
    white-space: nowrap;
}

/* === Posiciones en Carruseles === */
.producto-imagen {
    position: relative;
}

.wc-label-top-left {
    top: 0;
    left: 0;
}

.wc-label-top-right {
    top: 0;
    right: 0;
}

.wc-label-bottom-left {
    bottom: 0;
    left: 0;
}

.wc-label-bottom-right {
    bottom: 0;
    right: 0;
}

/* === Posiciones en Página de Producto Single === */
.wc-label-top-left-single {
    top: 0;
    left: 0;
}

.wc-label-top-right-single {
    top: 30px;
    right: 0;
}

.wc-label-bottom-left-single {
    bottom: 0;
    left: 0;
}

.wc-label-bottom-right-single {
    bottom: 0;
    right: 0;
}

/* === Ajustes para múltiples labels en misma posición === */
.wc-label-top-left ~ .wc-label-top-left {
    top: 25px;
}

.wc-label-top-right ~ .wc-label-top-right {
    top: 25px;
}

.wc-label-top-right-single ~ .wc-label-top-right-single {
    top: 55px;
}

.wc-label-bottom-left ~ .wc-label-bottom-left {
    bottom: 25px;
}

.wc-label-bottom-right ~ .wc-label-bottom-right {
    bottom: 25px;
}

/* === Compatibilidad con página de producto === */
.main-image-wrapper {
    position: relative;
}

/* === Responsive === */
@media (max-width: 768px) {
    .wc-custom-label {
        font-size: 0.6rem;
        padding: 2px 5px;
    }
}