.char-select-checkbox button.product-base-help {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    margin: 0 0 0 5px;
    position: relative;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #102a5e;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    vertical-align: middle;
    cursor: help;
}
.char-select-checkbox button.product-base-help:focus-visible {
    outline: 2px solid #102a5e;
    outline-offset: 3px;
}
.product-base-help-panel {
    position: fixed;
    z-index: 2147483000;
    box-sizing: border-box;
    width: 360px;
    padding: 16px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid #d7dde5;
    border-radius: 8px;
    background: #fff;
    color: #242a33;
    box-shadow: 0 6px 24px rgb(16 42 94 / 18%);
    font-family: inherit;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
}
.product-base-help-panel[hidden] { display: none !important; }
.product-base-help-panel strong { display: block; margin: 0 0 10px; font-weight: 600; }
.product-base-help-panel p { margin: 0 0 10px; font: inherit; color: inherit; }
.product-base-help-panel p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
    .product-page.new-page .char-select-checkbox[data-product-option="amount"] > .product-option-label,
    .product-page.new-page .char-select-checkbox[data-product-option="base"] > .product-option-label {
        display: flex;
        align-items: center;
        min-height: 44px;
        margin: 0 0 4px;
        color: #242a33;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.3;
    }
    .char-select-checkbox button.product-base-help {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        margin-left: 0;
        cursor: pointer;
    }
}

/* Compact labels only in the new product template; 50px controls stay unchanged. */
@media (max-width: 767px) {
    .product-wrap .main-params-block .params-block {
        padding-top: 7px;
    }
    .product-wrap .main-params-block .params-block .char-select-checkbox > .product-option-label {
        min-height: 0;
        height: 15px;
        margin: 0 0 6px;
        font-size: 11px;
        line-height: 15px;
    }
    .product-wrap .main-params-block .params-block .product-base-help {
        flex: 0 0 12px;
        width: 12px;
        height: 15px;
        margin-left: 4px;
    }
    .product-wrap .main-params-block .params-block .product-base-help::after {
        content: "";
        position: absolute;
        width: 44px;
        height: 44px;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
}

/* Each mobile popup is anchored to its own control, without moving the price. */
@media (max-width: 767px) {
    .product-wrap .main-params-block .params-block {
        margin-bottom: 8px;
    }
    .product-wrap .main-params-block .params-block .char-select-checkbox[data-product-option] {
        position: relative;
        overflow: visible;
        min-width: 0;
    }
    .product-wrap .main-params-block .params-block .checkbox-list.mobile-list {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-height: 240px;
        max-height: min(240px, 45vh);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 100;
        margin-top: 0;
    }
}
