.kv-offer-sync-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.kv-offer-sync-controls__title {
    display: block;
    width: 100%;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.5;
}

.kv-offer-sync-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border: 1px solid rgba(22, 101, 52, 0.24);
    border-radius: 999px;
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.kv-offer-sync-badge--paused {
    border-color: rgba(180, 83, 9, 0.28);
    background: rgba(245, 158, 11, 0.12);
    color: #92400e;
}

.kv-offer-sync-controls .button,
.kv-offer-sync-controls button.button {
    position: relative;
    z-index: 1;
    min-height: 32px;
    padding: 5px 10px;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px !important;
    background: #fff !important;
    background-image: none !important;
    color: #334155 !important;
    box-shadow: none !important;
    filter: none !important;
    opacity: 1;
    transform: none !important;
    animation: none !important;
    transition: border-color .15s ease, color .15s ease, background-color .15s ease !important;
    white-space: normal;
    line-height: 1.4;
    cursor: pointer;
}

.kv-offer-sync-controls .button::before,
.kv-offer-sync-controls .button::after,
.kv-offer-sync-controls button.button::before,
.kv-offer-sync-controls button.button::after {
    display: none !important;
    content: none !important;
    animation: none !important;
}

.kv-offer-sync-controls .button:hover,
.kv-offer-sync-controls .button:focus,
.kv-offer-sync-controls .button:focus-visible,
.kv-offer-sync-controls .button:active,
.kv-offer-sync-controls button.button:hover,
.kv-offer-sync-controls button.button:focus,
.kv-offer-sync-controls button.button:focus-visible,
.kv-offer-sync-controls button.button:active {
    background: #f8fafc !important;
    background-image: none !important;
    box-shadow: 0 0 0 2px rgba(148, 163, 184, 0.2) !important;
    filter: none !important;
    transform: none !important;
    animation: none !important;
}

.kv-offer-sync-controls .button:disabled,
.kv-offer-sync-controls button.button:disabled {
    cursor: wait;
    opacity: .65;
}

.kv-offer-sync-now {
    border-color: rgba(30, 64, 175, 0.35) !important;
    color: #1e40af !important;
}

.kv-offer-sync-now:hover,
.kv-offer-sync-now:focus,
.kv-offer-sync-now:active {
    background: #eff6ff !important;
    border-color: rgba(30, 64, 175, 0.55) !important;
    color: #1e3a8a !important;
}

.kv-offer-sync-toggle--pause {
    border-color: rgba(180, 83, 9, 0.45) !important;
    color: #92400e !important;
}

.kv-offer-sync-toggle--pause:hover,
.kv-offer-sync-toggle--pause:focus,
.kv-offer-sync-toggle--pause:active {
    background: #fffbeb !important;
    border-color: rgba(180, 83, 9, 0.65) !important;
    color: #78350f !important;
}

.kv-offer-sync-toggle--resume {
    border-color: rgba(21, 128, 61, 0.45) !important;
    color: #166534 !important;
}

.kv-offer-sync-toggle--resume:hover,
.kv-offer-sync-toggle--resume:focus,
.kv-offer-sync-toggle--resume:active {
    background: #f0fdf4 !important;
    border-color: rgba(21, 128, 61, 0.65) !important;
    color: #14532d !important;
}

.kv-offer-sync-status {
    width: 100%;
    min-height: 18px;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
}

.kv-offer-sync-status.is-loading,
.kv-offer-sync-status.is-info {
    color: #475569;
}

.kv-offer-sync-status.is-success {
    color: #166534;
}

.kv-offer-sync-status.is-error {
    color: #991b1b;
}

.kv-offer-sync-is-paused[data-kv-price-row],
.kv-offer-sync-is-paused .kv-vendor-variants__offer-body {
    box-shadow: inset 3px 0 0 rgba(245, 158, 11, 0.9);
}

.kv-offer-sync-is-busy {
    opacity: 0.72;
}

.kv-offer-sync-is-busy [data-kv-offer-sync-controls] {
    pointer-events: none;
}

.kv-sync-controls-notice {
    display: block;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.kv-sync-controls-notice--success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
}

.kv-sync-controls-notice--error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

.kv-sync-controls-notice--info {
    background: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

.kv-vendor-variants--compact .kv-offer-sync-controls {
    flex-direction: column;
    align-items: stretch;
}

.kv-vendor-variants--compact .kv-offer-sync-controls .button,
.kv-vendor-variants--compact .kv-offer-sync-badge {
    width: 100%;
    justify-content: center;
    text-align: center;
}

@media (max-width: 782px) {
    .kv-offer-sync-controls {
        align-items: stretch;
        flex-direction: column;
    }

    .kv-offer-sync-controls .button,
    .kv-offer-sync-badge {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
