/* Gehört ausschließlich zur nativen Größenhilfe-Platzierung. */
.single-product-content .summary-inner form.variations_form table.variations .affenhand-size-guide-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 4px 16px;
    width: 100%;
}
.single-product-content .summary-inner .variations .affenhand-size-guide-heading > label {
    margin: 0;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned {
    margin: 0;
    flex: 0 0 auto;
    font-weight: 400;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned > a {
    min-height: 32px;
    height: auto;
    padding: 2px 0;
    font-size: 14px;
    line-height: 1.4;
    text-transform: none;
    text-decoration: none;
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 400;
    border: 0;
    background: transparent;
    color: inherit;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned > a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
    border-radius: 2px;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned > a::before,
.single-product-content .summary-inner .affenhand-size-guide-positioned > a::after {
    display: none;
}
.single-product-content .summary-inner .affenhand-size-guide-fallback {
    width: 100%;
    flex-basis: 100%;
    margin-bottom: 12px;
    text-align: start;
}
.single-product-content .summary-inner .wd-sizeguide-btn[hidden] {
    display: none;
}

/* WoodMart ergänzt den gewählten Wert erst nach der Variantenwahl. */
.single-product-content .summary-inner .affenhand-size-guide-heading > .wd-attr-selected {
    order: 1;
    margin-inline-start: 0;
}
.single-product-content .summary-inner .affenhand-size-guide-heading > .affenhand-size-guide-positioned {
    order: 2;
    margin-inline-start: auto;
}

/* Originales WoodMart-Maßband, keine zusätzliche Bilddatei. */
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    --wd-action-icon-size: 16px;
}

/* Erste Größenachse: globale Reset-Reservierung darf die Hilfe nicht einrücken. */
.single-product .single-product-content .summary-inner form.variations_form table.variations:has(.reset_variations) tr:first-child > .affenhand-size-guide-heading {
    padding: 0 !important;
    min-height: 32px;
    align-items: center;
}
.single-product-content .summary-inner form.variations_form table.variations:has(tr:first-child > .affenhand-size-guide-heading) .reset_variations {
    position: static;
    width: 100%;
    max-width: none;
    min-height: 32px;
    margin: 8px 0 0;
}

/* Ein gemeinsamer Link wie im freigegebenen Nike-Vorbild, ohne getrennte Linien. */
.single-product-content .summary-inner .affenhand-size-guide-positioned > a:hover,
.single-product-content .summary-inner .affenhand-size-guide-positioned > a:focus,
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-text,
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-icon {
    text-decoration: none;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-text {
    font-weight: 400;
    font-size: inherit;
    line-height: inherit;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-text::before,
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-text::after {
    display: none;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned .wd-action-icon::before {
    color: inherit;
}
.single-product-content .summary-inner .affenhand-size-guide-positioned > a:hover {
    color: #17613e;
}
