/* Sooq Wise — Product Number Display 1.0.0 */
.sqwpnd-number-host {
    position: relative !important;
}

.sqwpnd-product-number {
    position: absolute !important;
    top: 6px !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) !important;
    z-index: 40 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: calc(100% - 18px) !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 5px 10px !important;
    box-sizing: border-box !important;
    background: #ffffff !important;
    color: #126bd3 !important;
    border: 1px solid rgba(18, 107, 211, 0.24) !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(16, 48, 82, 0.10) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: nowrap !important;
    direction: rtl !important;
    unicode-bidi: plaintext !important;
    pointer-events: none !important;
    user-select: none !important;
    opacity: 1 !important;
}

/* VCF: the existing image box is the safest exact overlay host. */
.sqwv-owned-image-box.sqwpnd-number-host {
    position: relative !important;
}

/* Single product gallery: keep the label over the image area, not the summary. */
.woocommerce-product-gallery.sqwpnd-number-host,
.woocommerce-product-gallery__wrapper.sqwpnd-number-host {
    position: relative !important;
}

@media (max-width: 782px) {
    .sqwpnd-product-number {
        top: 5px !important;
        max-width: calc(100% - 14px) !important;
        padding: 4px 8px !important;
        border-radius: 7px !important;
        font-size: 12px !important;
    }
}
