.sw-weight {
        margin: var(--sc-sw-wrapper-margin, 22px 0 30px);
}

.sw-weight *,
.sw-weight *::before,
.sw-weight *::after {
        box-sizing: border-box;
}

.sw-weight__card {
        --sw-accent: var(--sc-sw-accent, #8db348);
        --sw-accent-2: var(--sc-sw-accent-alt, #f79b2d);
        --sw-accent-strong: var(--sc-sw-accent-strong, #57752b);
        --sw-ink: var(--sc-sw-ink, #3d3224);
        --sw-muted: var(--sc-sw-muted, #71695e);
        --sw-line: var(--sc-sw-line, #e7dfd1);

        padding: var(--sc-sw-card-padding, 22px);
        border: 1px solid var(--sc-sw-card-border, #ece4d6);
        border-radius: var(--sc-sw-card-radius, 20px);
        background: var(--sc-sw-card-bg, linear-gradient(180deg, #ffffff 0%, #faf8f2 100%));
        box-shadow: var(--sc-sw-card-shadow, 0 16px 32px rgba(87, 117, 43, 0.08));
        color: var(--sw-ink);
}

.sw-weight__top {
        text-align: center;
}

.sw-weight__display {
        font-size: clamp(2rem, 4vw, 3.3rem);
        line-height: 1;
        font-weight: 900;
}

.sw-weight__price {
        margin-top: 10px;
        font-size: 1.7rem;
        font-weight: 900;
        color: var(--sw-accent-strong);
}

.sw-weight__unit {
        margin-top: 6px;
        color: var(--sw-muted);
        font-size: 0.95rem;
        font-weight: 700;
}

.sw-weight__range {
        margin-top: 22px;
}

.sw-weight__slider {
        width: 100%;
        height: var(--sc-sw-slider-height, 12px);
        border-radius: 999px;
        outline: none;
        background: var(--sc-sw-slider-bg, linear-gradient(90deg, var(--sw-accent) 0%, var(--sw-accent-2) 100%));
        -webkit-appearance: none;
        appearance: none;
}

.sw-weight__slider::-webkit-slider-thumb {
        width: var(--sc-sw-thumb-size, 28px);
        height: var(--sc-sw-thumb-size, 28px);
        border: 4px solid #fff;
        border-radius: var(--sc-sw-thumb-radius, 10px);
        background: var(--sw-accent-strong);
        box-shadow: var(--sc-sw-thumb-shadow, 0 8px 18px rgba(87, 117, 43, 0.24));
        cursor: pointer;
        -webkit-appearance: none;
}

.sw-weight__slider::-moz-range-thumb {
        width: var(--sc-sw-thumb-size, 28px);
        height: var(--sc-sw-thumb-size, 28px);
        border: 4px solid #fff;
        border-radius: var(--sc-sw-thumb-radius, 10px);
        background: var(--sw-accent-strong);
        box-shadow: var(--sc-sw-thumb-shadow, 0 8px 18px rgba(87, 117, 43, 0.24));
        cursor: pointer;
}

.sw-weight__limits {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        margin-top: 10px;
        color: var(--sw-muted);
        font-size: 0.88rem;
        font-weight: 700;
}

.sw-weight__presets {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 18px;
        justify-content: center;
}

.sw-weight__preset {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 42px;
        padding: 10px 14px;
        border: 1px solid #e7dfd1;
        border-radius: var(--sc-sw-control-radius, 12px);
        background: var(--sc-sw-preset-bg, #fff);
        color: var(--sw-ink);
        font-size: 0.92rem;
        font-weight: 800;
        cursor: pointer;
        transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.sw-weight__preset:hover {
        transform: translateY(-1px);
        box-shadow: 0 10px 20px rgba(87, 117, 43, 0.1);
}

.sw-weight__preset.is-active {
        border-color: transparent;
        background: linear-gradient(135deg, var(--sw-accent-strong) 0%, var(--sw-accent) 100%);
        color: #fff;
}

.sw-weight__submit {
        width: 100%;
        min-height: 56px;
        margin-top: 18px;
        border: 0;
        border-radius: var(--sc-sw-button-radius, 14px);
        background: var(--sc-sw-button-bg, linear-gradient(135deg, var(--sw-accent-strong) 0%, var(--sw-accent) 100%));
        color: #fff;
        font-size: 1rem;
        font-weight: 900;
        cursor: pointer;
        box-shadow: var(--sc-sw-button-shadow, 0 14px 24px rgba(87, 117, 43, 0.18));
        transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.sw-weight__submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 28px rgba(87, 117, 43, 0.22);
}

.sw-weight__notice {
        margin: 18px 0 0;
        padding: 14px 16px;
        border-radius: 12px;
        background: var(--sc-sw-notice-bg, #fff4e8);
        color: var(--sc-sw-notice-text, #a3541d);
        font-size: 0.95rem;
        font-weight: 700;
        line-height: 1.5;
}

.sw-price-unit,
.sw-price-unit small {
        font-size: 0.82em;
        font-weight: 600;
        color: var(--sc-sw-muted, #71695e);
}

@media (max-width: 600px) {
        .sw-weight__card {
                padding: var(--sc-sw-card-padding-mobile, 18px);
                border-radius: var(--sc-sw-card-radius-mobile, 16px);
        }

        .sw-weight__display {
                font-size: 2.3rem;
        }

        .sw-weight__price {
                font-size: 1.45rem;
        }
}
