.vc-bf-pack-anchor {
    display: block;
    height: 0;
    scroll-margin-top: 24px;
    visibility: hidden;
}

.vc-bf-selector {
    --vc-bf-ink: #24363d;
    --vc-bf-muted: #52676b;
    --vc-bf-accent: #087aa0;
    --vc-bf-accent-dark: #075f7c;
    --vc-bf-soft: #eaf7fb;
    --vc-bf-surface: #f4f7f8;
    --vc-bf-line: #cddde1;
    --vc-bf-success: #23735e;
    color: var(--vc-bf-ink);
    font-family: Poppins, sans-serif;
    width: 100%;
}

.vc-bf-selector *,
.vc-bf-selector *::before,
.vc-bf-selector *::after {
    box-sizing: border-box;
}

.vc-bf-selector button {
    font: inherit;
}

.vc-bf-selector button:focus-visible {
    outline: 3px solid rgba(8, 122, 160, 0.38);
    outline-offset: 3px;
}

.vc-bf-selector ::selection {
    background: var(--vc-bf-accent);
    color: #fff;
}

.vc-bf-selector__intro {
    margin-bottom: 42px;
    max-width: 760px;
}

.vc-bf-selector__intro h2 {
    color: var(--vc-bf-ink);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0 0 16px;
}

.vc-bf-selector__intro p {
    color: var(--vc-bf-muted);
    font-size: 16px;
    line-height: 1.65;
    margin: 0;
    max-width: 66ch;
}

.vc-bf-selector__layout {
    align-items: start;
    display: grid;
    gap: 42px;
    grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.72fr);
}

.vc-bf-selector__choices {
    min-width: 0;
}

.vc-bf-selector__group {
    border: 0;
    margin: 0;
    padding: 0;
}

.vc-bf-selector__group + .vc-bf-selector__group {
    border-top: 1px solid var(--vc-bf-line);
    margin-top: 42px;
    padding-top: 42px;
}

.vc-bf-selector__group legend {
    align-items: center;
    color: var(--vc-bf-ink);
    display: flex;
    font-size: 20px;
    font-weight: 700;
    gap: 12px;
    line-height: 1.3;
    margin-bottom: 20px;
    padding: 0;
}

.vc-bf-selector__group legend span {
    align-items: center;
    background: var(--vc-bf-ink);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    flex: 0 0 32px;
    font-size: 14px;
    height: 32px;
    justify-content: center;
}

.vc-bf-selector__models {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.vc-bf-model {
    align-items: center;
    appearance: none;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid var(--vc-bf-line);
    border-radius: 14px;
    color: var(--vc-bf-ink);
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-columns: 88px minmax(0, 1fr) 24px;
    min-height: 104px;
    padding: 12px 14px;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.vc-bf-model:hover {
    border-color: var(--vc-bf-accent);
    transform: translateY(-2px);
}

.vc-bf-model.is-selected {
    background-color: var(--vc-bf-soft) !important;
    border-color: var(--vc-bf-accent);
    box-shadow: inset 0 0 0 1px var(--vc-bf-accent);
}

.vc-bf-model__image {
    align-items: center;
    display: flex;
    height: 72px;
    justify-content: center;
}

.vc-bf-model__image img {
    display: block;
    height: 72px;
    max-width: 88px;
    object-fit: contain;
    width: 100%;
}

.vc-bf-model__copy {
    min-width: 0;
}

.vc-bf-model__copy strong,
.vc-bf-model__copy small {
    display: block;
}

.vc-bf-model__copy strong {
    color: var(--vc-bf-ink) !important;
    font-size: 14px;
    line-height: 1.35;
}

.vc-bf-model__copy small {
    color: var(--vc-bf-muted);
    font-size: 12px;
    line-height: 1.45;
    margin-top: 4px;
}

.vc-bf-model__check {
    align-items: center;
    border: 1px solid var(--vc-bf-line);
    border-radius: 999px;
    color: transparent;
    display: inline-flex;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.vc-bf-model.is-selected .vc-bf-model__check {
    background: var(--vc-bf-accent);
    border-color: var(--vc-bf-accent);
    color: #fff;
}

.vc-bf-selector__sizes {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vc-bf-size {
    appearance: none;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid var(--vc-bf-line);
    border-radius: 12px;
    color: var(--vc-bf-ink) !important;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    min-height: 54px;
    padding: 12px 16px;
}

.vc-bf-size:hover:not(:disabled) {
    border-color: var(--vc-bf-accent);
}

.vc-bf-size.is-selected {
    background-color: var(--vc-bf-ink) !important;
    background-image: none !important;
    border-color: var(--vc-bf-ink);
    color: #fff !important;
}

.vc-bf-size:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.vc-bf-selector__size-help,
.vc-bf-selector__rule {
    color: var(--vc-bf-muted);
    font-size: 13px;
    line-height: 1.55;
    margin: 12px 0 0;
}

.vc-bf-selector__size-help:empty {
    display: none;
}

.vc-bf-selector__tiers {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vc-bf-tier {
    appearance: none;
    background-color: #fff !important;
    background-image: none !important;
    border: 1px solid var(--vc-bf-line);
    border-radius: 14px;
    color: var(--vc-bf-ink) !important;
    cursor: pointer;
    display: grid;
    gap: 14px;
    grid-template-rows: 118px auto;
    min-height: 264px;
    padding: 16px;
    text-align: left;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.vc-bf-tier:hover {
    border-color: var(--vc-bf-accent);
    transform: translateY(-2px);
}

.vc-bf-tier.is-selected {
    background-color: var(--vc-bf-ink) !important;
    background-image: none !important;
    border-color: var(--vc-bf-ink);
    color: #fff !important;
}

.vc-bf-tier__visual {
    align-items: center;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.vc-bf-tier__visual img {
    display: block;
    height: 118px;
    max-width: 100%;
    object-fit: contain;
    width: 100%;
}

.vc-bf-tier__copy {
    align-content: start;
    display: grid;
    gap: 4px 10px;
    grid-template-columns: auto minmax(0, 1fr);
}

.vc-bf-tier__discount,
.vc-bf-tier__copy strong,
.vc-bf-tier__copy small {
    display: block;
}

.vc-bf-tier__discount {
    color: var(--vc-bf-accent);
    font-size: 25px;
    font-weight: 700;
    grid-column: 1;
    grid-row: 1 / span 2;
    line-height: 1;
    margin: 2px 0 0;
    white-space: nowrap;
}

.vc-bf-tier.is-selected .vc-bf-tier__discount {
    color: #8edcf2;
}

.vc-bf-tier__copy strong {
    font-size: 15px;
    grid-column: 2;
    grid-row: 1;
    line-height: 1.35;
}

.vc-bf-tier__copy small {
    color: var(--vc-bf-muted);
    font-size: 12px;
    grid-column: 2;
    grid-row: 2;
    line-height: 1.45;
    margin-top: 0;
}

.vc-bf-tier.is-selected small {
    color: #dcebed;
}

.vc-bf-summary {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 22px 65px rgba(26, 67, 82, 0.14);
    padding: 26px;
    position: sticky;
    top: 98px;
}

.vc-bf-summary__topline {
    align-items: start;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.vc-bf-summary__topline h3 {
    color: var(--vc-bf-ink);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
}

.vc-bf-summary__topline > span {
    background: var(--vc-bf-soft);
    border-radius: 999px;
    color: var(--vc-bf-accent-dark);
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 700;
    padding: 7px 10px;
}

.vc-bf-summary__product {
    align-items: center;
    border-bottom: 1px solid var(--vc-bf-line);
    display: grid;
    gap: 14px;
    grid-template-columns: 120px minmax(0, 1fr);
    margin-top: 24px;
    padding-bottom: 22px;
}

.vc-bf-summary__product img {
    display: block;
    height: 108px;
    object-fit: contain;
    width: 120px;
}

.vc-bf-summary__product strong,
.vc-bf-summary__product small {
    display: block;
}

.vc-bf-summary__product strong {
    font-size: 14px;
    line-height: 1.4;
}

.vc-bf-summary__product small {
    color: var(--vc-bf-muted);
    font-size: 12px;
    margin-top: 4px;
}

.vc-bf-summary__lines {
    list-style: none;
    margin: 0;
    padding: 18px 0;
}

.vc-bf-summary__lines li {
    align-items: start;
    display: grid;
    font-size: 12px;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    line-height: 1.45;
    padding: 6px 0;
}

.vc-bf-summary__lines li span small {
    color: var(--vc-bf-muted);
    display: block;
    font-size: 10px;
    margin-top: 2px;
}

.vc-bf-summary__lines li strong {
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vc-bf-summary__saving,
.vc-bf-summary__total {
    align-items: baseline;
    display: flex;
    gap: 18px;
    justify-content: space-between;
}

.vc-bf-summary__saving {
    border-top: 1px solid var(--vc-bf-line);
    color: var(--vc-bf-success);
    font-size: 12px;
    padding-top: 16px;
}

.vc-bf-summary__saving strong {
    font-size: 15px;
}

.vc-bf-summary__total {
    margin-top: 16px;
}

.vc-bf-summary__total span {
    font-size: 14px;
    font-weight: 600;
}

.vc-bf-summary__total strong {
    font-size: 28px;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
}

.vc-bf-summary__tax,
.vc-bf-summary__message,
.vc-bf-summary__finance {
    color: var(--vc-bf-muted);
    font-size: 11px;
    line-height: 1.5;
}

.vc-bf-summary__tax {
    margin: 8px 0 0;
}

.vc-bf-summary__submit {
    align-items: center;
    appearance: none;
    background-color: var(--vc-bf-accent) !important;
    background-image: none !important;
    border: 1px solid var(--vc-bf-accent);
    border-radius: 999px;
    color: #fff !important;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 12px;
    justify-content: center;
    margin-top: 22px;
    min-height: 52px;
    padding: 13px 22px;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
    width: 100%;
}

.vc-bf-summary__submit:hover:not(:disabled) {
    background-color: var(--vc-bf-accent-dark) !important;
    border-color: var(--vc-bf-accent-dark);
    transform: translateY(-1px);
}

.vc-bf-summary__submit:active:not(:disabled) {
    transform: translateY(1px) scale(0.99);
}

.vc-bf-summary__submit:disabled {
    cursor: not-allowed;
    opacity: 0.55;
}

.vc-bf-summary__submit.is-loading svg {
    animation: vc-bf-pulse 700ms ease-in-out infinite alternate;
}

.vc-bf-summary__message {
    margin: 12px 0 0;
    min-height: 17px;
    text-align: center;
}

.vc-bf-summary__finance {
    border-top: 1px solid var(--vc-bf-line);
    margin: 18px 0 0;
    padding-top: 16px;
    text-align: center;
}

.vc-bf-selector__error {
    background: #fff3f5;
    border: 1px solid #e8a8b7;
    border-radius: 12px;
    color: #78263d;
    padding: 16px;
}

.vc-bf-cart-label {
    color: #087aa0;
    display: block;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
}

@keyframes vc-bf-pulse {
    from { transform: translateX(0); }
    to { transform: translateX(4px); }
}

@media (max-width: 1024px) {
    .vc-bf-selector__layout {
        grid-template-columns: 1fr;
    }

    .vc-bf-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .vc-bf-selector__intro {
        margin-bottom: 32px;
    }

    .vc-bf-selector__layout {
        gap: 32px;
    }

    .vc-bf-selector__group + .vc-bf-selector__group {
        margin-top: 32px;
        padding-top: 32px;
    }

    .vc-bf-selector__models {
        grid-template-columns: 1fr;
    }

    .vc-bf-model {
        grid-template-columns: 82px minmax(0, 1fr) 24px;
        min-height: 96px;
    }

    .vc-bf-selector__sizes {
        gap: 8px;
    }

    .vc-bf-size {
        font-size: 13px;
        padding-inline: 8px;
    }

    .vc-bf-selector__tiers {
        grid-template-columns: 1fr;
    }

    .vc-bf-tier {
        align-items: center;
        gap: 16px;
        grid-template-columns: 112px minmax(0, 1fr);
        grid-template-rows: auto;
        min-height: 150px;
        padding: 18px;
    }

    .vc-bf-tier__visual img {
        height: 112px;
    }

    .vc-bf-summary {
        border-radius: 16px;
        padding: 22px 18px;
    }
}

@media (max-width: 430px) {
    .vc-bf-tier {
        gap: 12px;
        grid-template-columns: 96px minmax(0, 1fr);
        min-height: 132px;
        padding: 14px;
    }

    .vc-bf-tier__visual img {
        height: 96px;
    }

    .vc-bf-tier__discount {
        font-size: 22px;
    }

    .vc-bf-tier__copy strong {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vc-bf-selector *,
    .vc-bf-selector *::before,
    .vc-bf-selector *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}

