/* Adidas-style site feedback tab + panel */
.sf-widget {
    position: fixed;
    z-index: 1190;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.sf-widget--bottom-left {
    left: 0;
    bottom: 24px;
}

.sf-widget--bottom-right {
    right: 0;
    bottom: 24px;
}

/* Adidas.co.uk: FEEDBACK tab vertically centred on the right edge */
.sf-widget--middle-right {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.sf-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 12px 10px;
    border: none;
    background: #000;
    color: #fff;
    cursor: pointer;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: background 0.15s ease, opacity 0.15s ease;
}

.sf-widget--bottom-right .sf-tab,
.sf-widget--middle-right .sf-tab {
    transform: none;
}

.sf-tab:hover,
.sf-tab:focus-visible {
    background: #111;
    outline: none;
}

.sf-widget.is-open .sf-tab {
    background: #111;
}

.sf-panel {
    position: absolute;
    bottom: 0;
    width: min(320px, calc(100vw - 24px));
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.18);
    padding: 16px 16px 18px;
}

.sf-widget--bottom-left .sf-panel {
    left: 52px;
}

.sf-widget--bottom-right .sf-panel {
    right: 52px;
}

.sf-widget--middle-right .sf-panel {
    right: 52px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}

.sf-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.sf-panel__eyebrow {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #64748b;
}

.sf-panel__close {
    all: unset;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #94a3b8;
    padding: 0 4px;
}

.sf-panel__close:hover {
    color: #0f172a;
}

.sf-panel__question {
    margin: 0 0 14px;
    font-size: 14px;
    font-weight: 600;
    color: #0f172a;
    letter-spacing: 0.01em;
}

.sf-vote-row {
    display: flex;
    gap: 8px;
}

.sf-vote {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #0f172a;
    background: #fff;
    color: #0f172a;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.sf-vote:hover,
.sf-vote:focus-visible,
.sf-vote.is-selected {
    background: #0f172a;
    color: #fff;
    outline: none;
}

.sf-comment-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-bottom: 6px;
}

.sf-comment {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    font-family: inherit;
    resize: vertical;
    min-height: 72px;
}

.sf-comment:focus {
    outline: none;
    border-color: #0f172a;
}

.sf-submit {
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 10px 12px;
    border: none;
    background: #000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
}

.sf-submit:hover {
    background: #111;
}

.sf-skip {
    display: block;
    width: 100%;
    margin-top: 8px;
    padding: 6px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 11px;
    text-decoration: underline;
    cursor: pointer;
}

.sf-thanks {
    margin: 8px 0 0;
    font-size: 13px;
    color: #0f172a;
}

.sf-widget.is-hidden {
    display: none;
}

@media (max-width: 479.98px) {
    .sf-widget--bottom-left .sf-panel,
    .sf-widget--bottom-right .sf-panel,
    .sf-widget--middle-right .sf-panel {
        width: min(320px, calc(100vw - 16px));
    }

    .sf-widget--bottom-left .sf-panel {
        left: 48px;
        right: auto;
    }

    .sf-widget--bottom-right .sf-panel {
        right: 48px;
        left: auto;
    }

    .sf-widget--middle-right .sf-panel {
        right: 48px;
        left: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
}

@media (prefers-reduced-motion: reduce) {
    .sf-tab,
    .sf-vote {
        transition: none;
    }
}
