.datpq-choice-help {
    display: grid;
    gap: 0.28rem;
    margin: 0 0 1rem;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    background: rgba(34, 197, 94, 0.08);
    color: inherit;
}

.datpq-choice-help strong {
    font-size: 0.98rem;
}

.datpq-choice-help span {
    color: var(--ast-global-color-3, #475569);
    font-size: 0.9rem;
    line-height: 1.55;
}

.datpq-option-badge {
    display: inline-flex;
    width: fit-content;
    margin: 0.35rem 0 0;
    padding: 0.24rem 0.55rem;
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.12);
    color: #0369a1;
    font-size: 0.76rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Long consolidated option labels must not expand Astra's mobile product grid. */
body.single-product.datx-experience div.product,
body.single-product.datx-experience div.product > * {
    min-width: 0;
}

body.single-product.datx-experience .woocommerce-product-gallery {
    overflow: hidden !important;
}

body.single-product.datx-experience form.variations_form,
body.single-product.datx-experience form.variations_form table.variations,
body.single-product.datx-experience form.variations_form .value,
body.single-product.datx-experience form.variations_form .variable-items-wrapper {
    max-width: 100%;
}

body.single-product.datx-experience form.variations_form .variable-item,
body.single-product.datx-experience form.variations_form .variable-item-contents {
    min-width: 0;
    overflow-wrap: anywhere;
}

@media (max-width: 700px) {
    body.single-product.datx-experience .woocommerce-product-gallery__image {
        overflow: hidden !important;
    }

    body.single-product.datx-experience .woocommerce-product-gallery .zoomImg {
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    body.single-product.datx-experience form.variations_form table.variations,
    body.single-product.datx-experience form.variations_form table.variations tbody,
    body.single-product.datx-experience form.variations_form table.variations tr,
    body.single-product.datx-experience form.variations_form table.variations td.value,
    body.single-product.datx-experience form.variations_form .variable-items-wrapper {
        min-width: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.single-product.datx-experience form.variations_form .button-variable-items-wrapper {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr);
    }

    body.single-product.datx-experience form.variations_form .button-variable-item {
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        min-height: 44px;
        white-space: normal !important;
    }

    body.single-product.datx-experience form.variations_form .button-variable-item .variable-item-contents,
    body.single-product.datx-experience form.variations_form .button-variable-item .variable-item-span {
        max-width: 100%;
        white-space: normal !important;
        overflow-wrap: anywhere;
        text-align: left;
    }

    /* The swatch plugin's max-content tooltip can widen the page even while hidden. */
    body.single-product.datx-experience form.variations_form .variable-item[data-wvstooltip]::before,
    body.single-product.datx-experience form.variations_form .variable-item[data-wvstooltip]::after {
        display: none !important;
        content: none !important;
    }

    body.single-product.datx-experience div.product > div.images,
    body.single-product.datx-experience div.product > div.summary,
    body.single-product.datx-experience div.product > .datx-product-guide,
    body.single-product.datx-experience div.product > .woocommerce-tabs,
    body.single-product.datx-experience div.product > .related,
    body.single-product.datx-experience div.product > .upsells {
        box-sizing: border-box;
        width: 100% !important;
        max-width: 100%;
    }
}

@media (prefers-color-scheme: dark) {
    .datpq-option-badge {
        color: #7dd3fc;
    }
}
