.vb-ai-builder {
    padding: 34px 0 54px;
    background:
        radial-gradient(
            circle at 8% 12%,
            rgba(182, 0, 0, 0.05),
            transparent 28%
        ),
        radial-gradient(
            circle at 92% 8%,
            rgba(15, 23, 42, 0.05),
            transparent 26%
        ),
        #f7f8fb;
}

.vb-ai-builder [hidden] {
    display: none !important;
}

.vb-ai-builder-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
    padding: 34px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    background: linear-gradient(
        135deg,
        #ffffff 0%,
        #fffafa 100%
    );
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.07);
}

.vb-ai-builder-hero::after {
    content: "";
    position: absolute;
    right: -110px;
    bottom: -150px;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(182, 0, 0, 0.045);
}

.vb-ai-builder-copy {
    position: relative;
    z-index: 1;
}

.vb-ai-builder-kicker,
.vb-ai-builder-side-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b60000;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.vb-ai-builder-copy h1 {
    max-width: 720px;
    margin: 12px 0 14px;
    color: #0f172a;
    font-size: clamp(28px, 2.4vw, 38px);
    line-height: 1.12;
    letter-spacing: -0.025em;
}

.vb-ai-builder-copy p {
    max-width: 760px;
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.7;
}

.vb-ai-builder-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-top: 20px;
}

.vb-ai-builder-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #334155;
    font-size: 11px;
    font-weight: 800;
}

.vb-ai-builder-trust i {
    color: #16a34a;
    font-size: 12px;
}

.vb-ai-builder-badge {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 180px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    border: 1px solid rgba(182, 0, 0, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    text-align: center;
    backdrop-filter: blur(8px);
}

.vb-ai-builder-badge-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    margin-bottom: 13px;
    border-radius: 18px;
    background: #b60000;
    color: #ffffff;
    font-size: 27px;
    box-shadow: 0 12px 26px rgba(182, 0, 0, 0.18);
}

.vb-ai-builder-badge strong {
    color: #0f172a;
    font-size: 16px;
}

.vb-ai-builder-badge span {
    max-width: 210px;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
    line-height: 1.55;
}

.vb-ai-builder-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 22px;
    margin-top: 22px;
}

.vb-ai-builder-panel,
.vb-ai-builder-side-card,
.vb-ai-builder-safe {
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.055);
}

.vb-ai-builder-panel {
    padding: 28px;
    border-radius: 22px;
}

.vb-ai-builder-panel-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.vb-ai-builder-panel-head span {
    color: #b60000;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.vb-ai-builder-panel-head h2 {
    margin: 6px 0 7px;
    color: #0f172a;
    font-size: 21px;
    line-height: 1.25;
    letter-spacing: -0.015em;
}

.vb-ai-builder-panel-head p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.vb-ai-builder-panel-head > i {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 15px;
    background: #fff1f2;
    color: #b60000;
    font-size: 20px;
}

.vb-ai-builder-input-wrap {
    margin-top: 22px;
    overflow: hidden;
    border: 1px solid #dbe2ea;
    border-radius: 17px;
    background: #ffffff;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.vb-ai-builder-input-wrap:focus-within {
    border-color: rgba(182, 0, 0, 0.5);
    box-shadow: 0 0 0 4px rgba(182, 0, 0, 0.07);
}

.vb-ai-builder-input {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    border: 0;
    outline: 0;
    padding: 18px;
    background: transparent;
    color: #0f172a;
    font: inherit;
    font-size: 13px;
    line-height: 1.65;
}

.vb-ai-builder-input::placeholder {
    color: #94a3b8;
}

.vb-ai-builder-input-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 15px;
    border-top: 1px solid #eef2f7;
    background: #f8fafc;
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.vb-ai-builder-input-footer span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vb-ai-builder-examples {
    margin-top: 18px;
}

.vb-ai-builder-examples-title {
    display: block;
    margin-bottom: 9px;
    color: #475569;
    font-size: 10px;
    font-weight: 900;
}

.vb-ai-builder-example-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vb-ai-builder-example {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 800;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.vb-ai-builder-example:hover {
    border-color: #b60000;
    color: #b60000;
    transform: translateY(-1px);
}

.vb-ai-builder-submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 18px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(
        135deg,
        #b60000,
        #d71928
    );
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(182, 0, 0, 0.18);
    transition:
        transform 0.18s ease,
        filter 0.18s ease,
        opacity 0.18s ease;
}

.vb-ai-builder-submit span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vb-ai-builder-submit:hover {
    filter: brightness(1.03);
    transform: translateY(-1px);
}

.vb-ai-builder-submit:disabled {
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
}

.vb-ai-builder-side {
    display: grid;
    align-content: start;
    gap: 16px;
}

.vb-ai-builder-side-card {
    padding: 22px;
    border-radius: 20px;
}

.vb-ai-builder-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 11px;
    margin-top: 18px;
}

.vb-ai-builder-step em {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.vb-ai-builder-step.is-active em {
    background: #b60000;
    color: #ffffff;
}

.vb-ai-builder-step strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
}

.vb-ai-builder-step span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.5;
}

.vb-ai-builder-safe {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 17px;
    border-radius: 18px;
}

.vb-ai-builder-safe > i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 13px;
    background: #ecfdf5;
    color: #16a34a;
    font-size: 19px;
}

.vb-ai-builder-safe strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
}

.vb-ai-builder-safe span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.5;
}

.vb-ai-analysis {
    width: 100%;
    margin-top: 22px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.08);
}

.vb-ai-analysis-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf1f5;
}

.vb-ai-analysis-head > div {
    min-width: 0;
}

.vb-ai-analysis-head span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #16a34a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.vb-ai-analysis-head h2 {
    margin: 8px 0 7px;
    color: #0f172a;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.vb-ai-analysis-head p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.vb-ai-analysis-edit {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 800;
}

.vb-ai-analysis-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.vb-ai-analysis-card {
    min-width: 0;
    min-height: 114px;
    padding: 17px;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f8fafc 100%
    );
}

.vb-ai-analysis-card > i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 11px;
    background: #fff1f2;
    color: #b60000;
    font-size: 15px;
}

.vb-ai-analysis-card span {
    display: block;
    margin-bottom: 4px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vb-ai-analysis-card strong {
    display: block;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 12px;
    line-height: 1.45;
}

.vb-ai-analysis-notes {
    margin-top: 18px;
    padding: 17px;
    border: 1px solid #fde68a;
    border-radius: 15px;
    background: #fffbeb;
}

.vb-ai-analysis-notes-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #92400e;
    font-size: 12px;
}

.vb-ai-analysis-notes ul {
    margin: 11px 0 0;
    padding-left: 18px;
    color: #78350f;
    font-size: 11px;
    line-height: 1.65;
}

.vb-ai-analysis-original {
    margin-top: 18px;
    padding: 17px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.vb-ai-analysis-original span {
    display: block;
    margin-bottom: 7px;
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.vb-ai-analysis-original p {
    margin: 0;
    color: #334155;
    font-size: 12px;
    line-height: 1.65;
}

.vb-ai-analysis-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}

.vb-ai-analysis-secondary,
.vb-ai-analysis-primary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 13px;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
}

.vb-ai-analysis-secondary {
    border: 1px solid #dbe2ea;
    background: #ffffff;
    color: #334155;
}

.vb-ai-analysis-primary {
    border: 0;
    background: linear-gradient(
        135deg,
        #b60000,
        #d71928
    );
    color: #ffffff;
    box-shadow: 0 12px 26px rgba(182, 0, 0, 0.18);
}

.vb-ai-analysis-primary span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.vb-ai-analysis-info {
    margin: 12px 0 0;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.5;
    text-align: right;
}

.vb-ai-builder-loading {
    position: fixed;
    z-index: 99999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 6, 23, 0.72);
    backdrop-filter: blur(8px);
}

.vb-ai-loading-modal {
    position: relative;
    display: grid;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    grid-template-columns: 230px minmax(0, 1fr);
    overflow: auto;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 28px;
    background: #ffffff;
    box-shadow:
        0 40px 120px rgba(2, 6, 23, 0.42),
        0 0 0 1px rgba(255, 255, 255, 0.22);
    animation: vb-ai-modal-show 0.28s ease-out;
}

.vb-ai-loading-visual {
    position: relative;
    display: flex;
    min-height: 100%;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(
            circle at center,
            rgba(239, 68, 68, 0.22),
            transparent 45%
        ),
        linear-gradient(
            155deg,
            #7f0000 0%,
            #b60000 52%,
            #dc2626 100%
        );
}

.vb-ai-loading-visual::before,
.vb-ai-loading-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.vb-ai-loading-visual::before {
    top: -55px;
    left: -45px;
    width: 180px;
    height: 180px;
}

.vb-ai-loading-visual::after {
    right: -65px;
    bottom: -70px;
    width: 220px;
    height: 220px;
}

.vb-ai-loading-core {
    position: relative;
    z-index: 4;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 37px;
    box-shadow:
        0 18px 45px rgba(55, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px);
}

.vb-ai-loading-core i {
    animation: vb-ai-core-pulse 1.8s ease-in-out infinite;
}

.vb-ai-loading-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
}

.vb-ai-loading-orbit::before {
    content: "";
    position: absolute;
    top: -4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ffffff;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.9);
}

.vb-ai-loading-orbit-one {
    width: 135px;
    height: 135px;
    animation: vb-ai-orbit 3.2s linear infinite;
}

.vb-ai-loading-orbit-two {
    width: 178px;
    height: 178px;
    border-style: dashed;
    animation: vb-ai-orbit-reverse 5.5s linear infinite;
}

.vb-ai-loading-pulse {
    position: absolute;
    z-index: 1;
    width: 110px;
    height: 110px;
    border: 2px solid rgba(255, 255, 255, 0.34);
    border-radius: 50%;
    animation: vb-ai-pulse-ring 1.9s ease-out infinite;
}

.vb-ai-loading-content {
    padding: 32px;
}

.vb-ai-loading-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #b60000;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.vb-ai-loading-content h3 {
    margin: 10px 0 7px;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.vb-ai-loading-content > p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.65;
}

.vb-ai-loading-progress {
    margin-top: 22px;
}

.vb-ai-loading-progress-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.vb-ai-loading-progress-bar {
    display: block;
    width: 10%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #b60000,
        #ef4444
    );
    box-shadow: 0 0 16px rgba(182, 0, 0, 0.28);
    transition: width 0.45s ease;
}

.vb-ai-loading-progress-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 8px;
}

.vb-ai-loading-progress-info span {
    color: #64748b;
    font-size: 10px;
    font-weight: 700;
}

.vb-ai-loading-progress-info strong {
    color: #b60000;
    font-size: 11px;
}

.vb-ai-loading-steps {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.vb-ai-loading-step {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr) 22px;
    gap: 11px;
    align-items: center;
    padding: 10px 11px;
    border: 1px solid #edf1f5;
    border-radius: 13px;
    background: #ffffff;
    opacity: 0.58;
    transition:
        border-color 0.25s ease,
        background 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.vb-ai-loading-step > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 11px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 15px;
    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.vb-ai-loading-step strong {
    display: block;
    color: #0f172a;
    font-size: 11px;
}

.vb-ai-loading-step small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.4;
}

.vb-ai-loading-step > i {
    justify-self: end;
    color: #cbd5e1;
    font-size: 14px;
}

.vb-ai-loading-step.is-active {
    border-color: rgba(182, 0, 0, 0.24);
    background: #fff8f8;
    opacity: 1;
    transform: translateX(2px);
}

.vb-ai-loading-step.is-active > span {
    background: #b60000;
    color: #ffffff;
}

.vb-ai-loading-step.is-active > i {
    color: #b60000;
    animation: vb-ai-spin 0.9s linear infinite;
}

.vb-ai-loading-step.is-complete {
    border-color: #bbf7d0;
    background: #f0fdf4;
    opacity: 1;
}

.vb-ai-loading-step.is-complete > span {
    background: #dcfce7;
    color: #16a34a;
}

.vb-ai-loading-step.is-complete > i {
    color: #16a34a;
}

.vb-ai-loading-security {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    padding: 11px 12px;
    border: 1px solid #dbeafe;
    border-radius: 12px;
    background: #eff6ff;
    color: #475569;
}

.vb-ai-loading-security i {
    flex: 0 0 auto;
    color: #2563eb;
    font-size: 14px;
}

.vb-ai-loading-security span {
    font-size: 9px;
    line-height: 1.5;
}

.vb-ai-builder-features {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.vb-ai-builder-features article {
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 17px;
    background: #ffffff;
}

.vb-ai-builder-features i {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    margin-bottom: 11px;
    border-radius: 12px;
    background: #fff1f2;
    color: #b60000;
    font-size: 17px;
}

.vb-ai-builder-features strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
}

.vb-ai-builder-features span {
    display: block;
    margin-top: 5px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.5;
}

@keyframes vb-ai-modal-show {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes vb-ai-spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes vb-ai-orbit {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes vb-ai-orbit-reverse {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes vb-ai-pulse-ring {
    0% {
        opacity: 0.7;
        transform: scale(0.8);
    }

    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

@keyframes vb-ai-core-pulse {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@media (max-width: 1200px) {
    .vb-ai-analysis-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .vb-ai-builder-hero,
    .vb-ai-builder-grid {
        grid-template-columns: 1fr;
    }

    .vb-ai-builder-badge {
        min-height: auto;
    }

    .vb-ai-builder-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .vb-ai-analysis-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vb-ai-analysis-head {
        flex-direction: column;
    }

    .vb-ai-analysis-edit {
        width: 100%;
    }

    .vb-ai-loading-modal {
        grid-template-columns: 1fr;
    }

    .vb-ai-loading-visual {
        min-height: 180px;
    }
}

@media (max-width: 700px) {
    .vb-ai-builder {
        padding: 22px 0 40px;
    }

    .vb-ai-builder-hero,
    .vb-ai-builder-panel,
    .vb-ai-builder-side-card,
    .vb-ai-analysis {
        padding: 20px;
        border-radius: 18px;
    }

    .vb-ai-builder-copy h1 {
        font-size: 25px;
        line-height: 1.16;
    }

    .vb-ai-builder-copy p {
        font-size: 13px;
    }

    .vb-ai-builder-panel-head {
        flex-direction: column;
        gap: 14px;
    }

    .vb-ai-builder-panel-head h2 {
        font-size: 19px;
    }

    .vb-ai-builder-input {
        min-height: 135px;
        font-size: 12px;
    }

    .vb-ai-builder-input-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .vb-ai-builder-example {
        width: 100%;
        justify-content: flex-start;
        border-radius: 12px;
    }

    .vb-ai-analysis-head h2 {
        font-size: 20px;
    }

    .vb-ai-analysis-grid {
        grid-template-columns: 1fr;
    }

    .vb-ai-analysis-card {
        min-height: auto;
    }

    .vb-ai-analysis-actions {
        flex-direction: column-reverse;
    }

    .vb-ai-analysis-secondary,
    .vb-ai-analysis-primary {
        width: 100%;
    }

    .vb-ai-analysis-info {
        text-align: center;
    }

    .vb-ai-builder-features {
        grid-template-columns: 1fr;
    }

    .vb-ai-builder-loading {
        padding: 12px;
    }

    .vb-ai-loading-modal {
        max-height: calc(100vh - 24px);
        border-radius: 21px;
    }

    .vb-ai-loading-visual {
        min-height: 145px;
    }

    .vb-ai-loading-orbit-one {
        width: 110px;
        height: 110px;
    }

    .vb-ai-loading-orbit-two {
        width: 145px;
        height: 145px;
    }

    .vb-ai-loading-core {
        width: 70px;
        height: 70px;
        border-radius: 21px;
        font-size: 31px;
    }

    .vb-ai-loading-content {
        padding: 22px;
    }

    .vb-ai-loading-content h3 {
        font-size: 19px;
    }

    .vb-ai-loading-step {
        grid-template-columns: 34px minmax(0, 1fr) 20px;
        gap: 9px;
        padding: 9px;
    }

    .vb-ai-loading-step > span {
        width: 34px;
        height: 34px;
    }
}
body.vb-ai-loading-open {
    overflow: hidden;
}

.vb-ai-system {
    width: 100%;
    margin-top: 22px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 20px 56px rgba(15, 23, 42, 0.08);
}

.vb-ai-system-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid #edf1f5;
}

.vb-ai-system-head > div:first-child {
    min-width: 0;
}

.vb-ai-system-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #16a34a;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.vb-ai-system-head h2 {
    margin: 8px 0 7px;
    color: #0f172a;
    font-size: 23px;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.vb-ai-system-head p {
    max-width: 720px;
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}

.vb-ai-system-score {
    display: grid;
    min-width: 112px;
    flex: 0 0 112px;
    place-items: center;
    padding: 14px 12px;
    border: 1px solid #dbe2ea;
    border-radius: 17px;
    background: #f8fafc;
    text-align: center;
}

.vb-ai-system-score span {
    display: block;
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.vb-ai-system-score strong {
    display: block;
    margin-top: 3px;
    color: #0f172a;
    font-size: 27px;
    line-height: 1;
}

.vb-ai-system-score small {
    display: block;
    margin-top: 2px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 800;
}

.vb-ai-system-score.is-compatible {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.vb-ai-system-score.is-compatible strong {
    color: #16a34a;
}

.vb-ai-system-score.is-incompatible {
    border-color: #fecaca;
    background: #fef2f2;
}

.vb-ai-system-score.is-incompatible strong {
    color: #dc2626;
}

.vb-ai-system-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.vb-ai-system-stats article {
    min-width: 0;
    padding: 17px;
    border: 1px solid #e5eaf0;
    border-radius: 16px;
    background: linear-gradient(
        145deg,
        #ffffff 0%,
        #f8fafc 100%
    );
}

.vb-ai-system-stats span {
    display: block;
    margin-bottom: 6px;
    color: #94a3b8;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vb-ai-system-stats strong {
    display: block;
    overflow-wrap: anywhere;
    color: #0f172a;
    font-size: 15px;
    line-height: 1.35;
}

.vb-ai-system-stats strong.is-positive {
    color: #16a34a;
}

.vb-ai-system-stats strong.is-negative {
    color: #dc2626;
}

.vb-ai-system-status {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
    align-items: center;
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: #eff6ff;
}

.vb-ai-system-status > i {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 14px;
    background: #dbeafe;
    color: #2563eb;
    font-size: 20px;
}

.vb-ai-system-status strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
}

.vb-ai-system-status span {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 10px;
    line-height: 1.55;
}

.vb-ai-system-status.is-compatible {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.vb-ai-system-status.is-compatible > i {
    background: #dcfce7;
    color: #16a34a;
}

.vb-ai-system-status.is-incompatible {
    border-color: #fecaca;
    background: #fef2f2;
}

.vb-ai-system-status.is-incompatible > i {
    background: #fee2e2;
    color: #dc2626;
}

.vb-ai-system-messages {
    margin-top: 16px;
    padding: 16px;
    border-radius: 15px;
}

.vb-ai-system-messages-error {
    border: 1px solid #fecaca;
    background: #fef2f2;
}

.vb-ai-system-messages-warning {
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.vb-ai-system-messages-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.vb-ai-system-messages-error .vb-ai-system-messages-head {
    color: #b91c1c;
}

.vb-ai-system-messages-warning .vb-ai-system-messages-head {
    color: #92400e;
}

.vb-ai-system-messages ul {
    margin: 10px 0 0;
    padding-left: 18px;
    font-size: 10px;
    line-height: 1.65;
}

.vb-ai-system-messages-error ul {
    color: #991b1b;
}

.vb-ai-system-messages-warning ul {
    color: #78350f;
}

.vb-ai-system-products-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-top: 26px;
    padding-bottom: 14px;
    border-bottom: 1px solid #edf1f5;
}

.vb-ai-system-products-head span,
.vb-ai-system-allocation-head span {
    display: block;
    color: #b60000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.vb-ai-system-products-head h3,
.vb-ai-system-allocation-head h3 {
    margin: 5px 0 0;
    color: #0f172a;
    font-size: 17px;
    line-height: 1.3;
}

.vb-ai-system-refresh {
    display: inline-flex;
    min-height: 40px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 14px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.vb-ai-system-refresh:hover {
    border-color: #b60000;
    color: #b60000;
    transform: translateY(-1px);
}

.vb-ai-system-refresh:disabled {
    cursor: not-allowed;
    opacity: 0.6;
    transform: none;
}

.vb-ai-system-products {
    display: grid;
    gap: 14px;
    margin-top: 16px;
}

.vb-ai-system-product {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.045);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.vb-ai-system-product:hover {
    border-color: rgba(182, 0, 0, 0.22);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.vb-ai-system-product-image {
    position: relative;
    display: flex;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-right: 1px solid #edf1f5;
    background: #ffffff;
}

.vb-ai-system-product-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 210px;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.25s ease;
}

.vb-ai-system-product:hover .vb-ai-system-product-image img {
    transform: scale(1.025);
}

.vb-ai-system-product-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 18px;
}

.vb-ai-system-product-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vb-ai-system-product-type {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff1f2;
    color: #b60000;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.vb-ai-system-product-stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
}

.vb-ai-system-product-stock::before {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border-radius: 50%;
    background: #94a3b8;
}

.vb-ai-system-product-stock.is-stock {
    color: #15803d;
}

.vb-ai-system-product-stock.is-stock::before {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.vb-ai-system-product-stock.is-out {
    color: #dc2626;
}

.vb-ai-system-product-stock.is-out::before {
    background: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.vb-ai-system-product-title {
    display: -webkit-box;
    margin-top: 11px;
    overflow: hidden;
    color: #0f172a;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
    text-decoration: none;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vb-ai-system-product-title:hover {
    color: #b60000;
}

.vb-ai-system-product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 8px;
}

.vb-ai-system-product-meta span {
    position: relative;
    color: #64748b;
    font-size: 9px;
    font-weight: 700;
}

.vb-ai-system-product-meta span + span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: -7px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5e1;
    transform: translateY(-50%);
}

.vb-ai-system-product-summary {
    display: -webkit-box;
    margin: 11px 0 0;
    overflow: hidden;
    color: #64748b;
    font-size: 10px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.vb-ai-system-product-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
    padding-top: 15px;
}

.vb-ai-system-product-price {
    min-width: 0;
}

.vb-ai-system-product-price strong {
    display: block;
    color: #b60000;
    font-size: 17px;
    line-height: 1.2;
}

.vb-ai-system-product-price small {
    display: block;
    margin-top: 4px;
    color: #16a34a;
    font-size: 9px;
    font-weight: 800;
}

.vb-ai-system-product-detail {
    display: inline-flex;
    min-height: 37px;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid #dbe2ea;
    border-radius: 11px;
    background: #ffffff;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}

.vb-ai-system-product-detail:hover {
    border-color: #b60000;
    background: #fff8f8;
    color: #b60000;
}

.vb-ai-system-empty {
    display: flex;
    min-height: 120px;
    align-items: center;
    justify-content: center;
    padding: 22px;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
    background: #f8fafc;
    color: #64748b;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
}

.vb-ai-system-allocation {
    margin-top: 26px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    background: #f8fafc;
}

.vb-ai-system-allocation-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.vb-ai-system-allocation-head p {
    max-width: 420px;
    margin: 0;
    color: #64748b;
    font-size: 9px;
    line-height: 1.55;
    text-align: right;
}

.vb-ai-system-allocation-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px 18px;
    margin-top: 18px;
}

.vb-ai-system-allocation-item {
    min-width: 0;
    padding: 13px;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #ffffff;
}

.vb-ai-system-allocation-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.vb-ai-system-allocation-item-top span {
    overflow: hidden;
    color: #334155;
    font-size: 10px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vb-ai-system-allocation-item-top strong {
    flex: 0 0 auto;
    color: #0f172a;
    font-size: 10px;
}

.vb-ai-system-allocation-track {
    height: 7px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #eef2f7;
}

.vb-ai-system-allocation-bar {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #b60000,
        #ef4444
    );
    transition: width 0.7s ease;
}

.vb-ai-system-allocation-item > small {
    display: block;
    margin-top: 6px;
    color: #94a3b8;
    font-size: 8px;
    font-weight: 900;
    text-align: right;
}

.vb-ai-system-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 22px;
    padding: 19px;
    border: 1px solid rgba(182, 0, 0, 0.14);
    border-radius: 17px;
    background: linear-gradient(
        135deg,
        #fff8f8 0%,
        #ffffff 100%
    );
}

.vb-ai-system-footer span {
    display: block;
    color: #64748b;
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vb-ai-system-footer strong {
    display: block;
    margin-top: 4px;
    color: #b60000;
    font-size: 22px;
    line-height: 1.2;
}

.vb-ai-system-cart {
    display: inline-flex;
    min-height: 48px;
    min-width: 240px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 0 17px;
    border: 0;
    border-radius: 13px;
    background: linear-gradient(
        135deg,
        #b60000,
        #d71928
    );
    color: #ffffff;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(182, 0, 0, 0.18);
}

.vb-ai-system-cart span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: inherit;
    font-size: inherit;
    letter-spacing: 0;
    text-transform: none;
}

.vb-ai-system-cart:disabled {
    cursor: not-allowed;
    background: #cbd5e1;
    box-shadow: none;
    opacity: 0.75;
}

.vb-ai-system-cart-note {
    margin: 9px 0 0;
    color: #94a3b8;
    font-size: 9px;
    line-height: 1.5;
    text-align: right;
}

@media (max-width: 1200px) {
    .vb-ai-system-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vb-ai-system-product {
        grid-template-columns: 150px minmax(0, 1fr);
    }

    .vb-ai-system-product-image {
        min-height: 170px;
    }

    .vb-ai-system-allocation-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 800px) {
    .vb-ai-system-head {
        flex-direction: column;
    }

    .vb-ai-system-score {
        width: 100%;
        min-width: 0;
        grid-template-columns: auto auto auto;
        justify-content: center;
        gap: 5px;
    }

    .vb-ai-system-score strong {
        margin-top: 0;
    }

    .vb-ai-system-score small {
        margin-top: 8px;
    }

    .vb-ai-system-products-head,
    .vb-ai-system-allocation-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .vb-ai-system-refresh {
        width: 100%;
    }

    .vb-ai-system-allocation-head p {
        max-width: none;
        text-align: left;
    }

    .vb-ai-system-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .vb-ai-system-cart {
        width: 100%;
        min-width: 0;
    }

    .vb-ai-system-cart-note {
        text-align: center;
    }
}

@media (max-width: 700px) {
    .vb-ai-system {
        padding: 20px;
        border-radius: 18px;
    }

    .vb-ai-system-head h2 {
        font-size: 20px;
    }

    .vb-ai-system-stats {
        grid-template-columns: 1fr;
    }

    .vb-ai-system-product {
        grid-template-columns: 1fr;
    }

    .vb-ai-system-product-image {
        min-height: 190px;
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .vb-ai-system-product-image img {
        max-height: 230px;
    }

    .vb-ai-system-product-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .vb-ai-system-product-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .vb-ai-system-product-detail {
        width: 100%;
    }

    .vb-ai-system-status {
        grid-template-columns: 38px minmax(0, 1fr);
    }

    .vb-ai-system-status > i {
        width: 38px;
        height: 38px;
        border-radius: 12px;
        font-size: 17px;
    }

    .vb-ai-system-allocation {
        padding: 16px;
    }

    .vb-ai-system-footer strong {
        font-size: 19px;
    }
}
.vb-ai-loading-security,
.vb-ai-system-cart-note {
    display: none !important;
}

.vb-ai-builder {
    padding: 42px 0 70px;
    background: #f5f7fa;
}

.vb-ai-builder-hero,
.vb-ai-builder-panel,
.vb-ai-builder-side-card,
.vb-ai-builder-safe,
.vb-ai-analysis,
.vb-ai-system {
    border-color: #dfe5ec;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.055);
}

.vb-ai-builder-hero {
    padding: 42px;
    border-radius: 22px;
    background: #ffffff;
}

.vb-ai-builder-hero::after {
    display: none;
}

.vb-ai-builder-copy h1 {
    max-width: 820px;
    margin-top: 14px;
    font-size: clamp(34px, 3vw, 48px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.vb-ai-builder-copy p {
    max-width: 820px;
    font-size: 16px;
    line-height: 1.75;
}

.vb-ai-builder-kicker,
.vb-ai-builder-side-kicker {
    font-size: 12px;
    letter-spacing: 0.07em;
}

.vb-ai-builder-trust {
    margin-top: 24px;
    gap: 12px 24px;
}

.vb-ai-builder-trust span {
    font-size: 13px;
}

.vb-ai-builder-trust i {
    font-size: 14px;
}

.vb-ai-builder-badge {
    min-height: 210px;
    padding: 28px;
    border-radius: 18px;
    background: #f8fafc;
    backdrop-filter: none;
}

.vb-ai-builder-badge-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    font-size: 30px;
}

.vb-ai-builder-badge strong {
    font-size: 18px;
}

.vb-ai-builder-badge span {
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.6;
}

.vb-ai-builder-grid {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 26px;
    margin-top: 26px;
}

.vb-ai-builder-panel {
    padding: 34px;
    border-radius: 20px;
}

.vb-ai-builder-panel-head span {
    font-size: 12px;
}

.vb-ai-builder-panel-head h2 {
    margin-top: 8px;
    font-size: 27px;
}

.vb-ai-builder-panel-head p {
    font-size: 15px;
    line-height: 1.7;
}

.vb-ai-builder-panel-head > i {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
    border-radius: 14px;
    font-size: 22px;
}

.vb-ai-builder-input-wrap {
    margin-top: 26px;
    border-radius: 15px;
}

.vb-ai-builder-input {
    min-height: 180px;
    padding: 22px;
    font-size: 16px;
    line-height: 1.75;
}

.vb-ai-builder-input-footer {
    padding: 13px 18px;
    font-size: 12px;
}

.vb-ai-builder-examples {
    margin-top: 22px;
}

.vb-ai-builder-examples-title {
    margin-bottom: 12px;
    font-size: 12px;
}

.vb-ai-builder-example-list {
    gap: 10px;
}

.vb-ai-builder-example {
    min-height: 42px;
    padding: 0 15px;
    font-size: 12px;
}

.vb-ai-builder-submit {
    min-height: 56px;
    margin-top: 24px;
    padding: 0 22px;
    border-radius: 13px;
    font-size: 15px;
}

.vb-ai-builder-side-card {
    padding: 26px;
    border-radius: 18px;
}

.vb-ai-builder-step {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    margin-top: 22px;
}

.vb-ai-builder-step em {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    font-size: 14px;
}

.vb-ai-builder-step strong {
    font-size: 14px;
}

.vb-ai-builder-step span {
    margin-top: 5px;
    font-size: 12px;
    line-height: 1.55;
}

.vb-ai-builder-safe {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    padding: 20px;
}

.vb-ai-builder-safe > i {
    width: 48px;
    height: 48px;
    font-size: 21px;
}

.vb-ai-builder-safe strong {
    font-size: 14px;
}

.vb-ai-builder-safe span {
    font-size: 12px;
    line-height: 1.6;
}

.vb-ai-analysis,
.vb-ai-system {
    margin-top: 28px;
    padding: 36px;
    border-radius: 20px;
}

.vb-ai-analysis-head,
.vb-ai-system-head {
    padding-bottom: 26px;
}

.vb-ai-analysis-head span,
.vb-ai-system-kicker {
    font-size: 12px;
}

.vb-ai-analysis-head h2,
.vb-ai-system-head h2 {
    margin-top: 10px;
    font-size: 30px;
}

.vb-ai-analysis-head p,
.vb-ai-system-head p {
    max-width: 850px;
    font-size: 15px;
    line-height: 1.7;
}

.vb-ai-analysis-edit,
.vb-ai-system-refresh {
    min-height: 44px;
    padding: 0 17px;
    font-size: 12px;
}

.vb-ai-analysis-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.vb-ai-analysis-card {
    min-height: 145px;
    padding: 21px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.035);
}

.vb-ai-analysis-card > i {
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 11px;
    font-size: 18px;
}

.vb-ai-analysis-card span {
    margin-bottom: 7px;
    font-size: 11px;
    letter-spacing: 0.045em;
}

.vb-ai-analysis-card strong {
    font-size: 15px;
    line-height: 1.45;
}

.vb-ai-analysis-notes {
    margin-top: 22px;
    padding: 20px;
}

.vb-ai-analysis-notes-head {
    font-size: 14px;
}

.vb-ai-analysis-notes ul {
    font-size: 13px;
    line-height: 1.7;
}

.vb-ai-analysis-original {
    margin-top: 22px;
    padding: 21px;
}

.vb-ai-analysis-original span {
    font-size: 11px;
}

.vb-ai-analysis-original p {
    font-size: 14px;
    line-height: 1.7;
}

.vb-ai-analysis-actions {
    margin-top: 24px;
}

.vb-ai-analysis-secondary,
.vb-ai-analysis-primary {
    min-height: 50px;
    padding: 0 20px;
    font-size: 13px;
}

.vb-ai-builder-loading {
    padding: 20px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(5px);
}

.vb-ai-loading-modal {
    width: min(900px, 100%);
    grid-template-columns: 270px minmax(0, 1fr);
    border-radius: 22px;
    box-shadow: 0 28px 85px rgba(2, 6, 23, 0.38);
}

.vb-ai-loading-visual {
    background: linear-gradient(
        160deg,
        #7f0000 0%,
        #b60000 55%,
        #d10b0b 100%
    );
}

.vb-ai-loading-core {
    width: 90px;
    height: 90px;
    border-radius: 22px;
    font-size: 38px;
}

.vb-ai-loading-orbit-one {
    width: 150px;
    height: 150px;
}

.vb-ai-loading-orbit-two {
    width: 195px;
    height: 195px;
}

.vb-ai-loading-content {
    padding: 42px;
}

.vb-ai-loading-kicker {
    font-size: 12px;
}

.vb-ai-loading-content h3 {
    margin: 12px 0 8px;
    font-size: 30px;
    line-height: 1.2;
}

.vb-ai-loading-content > p {
    font-size: 15px;
    line-height: 1.7;
}

.vb-ai-loading-progress {
    margin-top: 26px;
}

.vb-ai-loading-progress-track {
    height: 9px;
}

.vb-ai-loading-progress-info {
    margin-top: 10px;
}

.vb-ai-loading-progress-info span,
.vb-ai-loading-progress-info strong {
    font-size: 13px;
}

.vb-ai-loading-steps {
    gap: 10px;
    margin-top: 22px;
}

.vb-ai-loading-step {
    grid-template-columns: 44px minmax(0, 1fr) 24px;
    gap: 14px;
    padding: 14px 15px;
    border-radius: 13px;
}

.vb-ai-loading-step > span {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

.vb-ai-loading-step strong {
    font-size: 14px;
}

.vb-ai-loading-step small {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.5;
}

.vb-ai-system-score {
    min-width: 130px;
    flex-basis: 130px;
    padding: 18px 14px;
}

.vb-ai-system-score span {
    font-size: 11px;
}

.vb-ai-system-score strong {
    margin-top: 5px;
    font-size: 36px;
}

.vb-ai-system-score small {
    font-size: 11px;
}

.vb-ai-system-stats {
    gap: 16px;
    margin-top: 28px;
}

.vb-ai-system-stats article {
    padding: 22px;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.035);
}

.vb-ai-system-stats span {
    margin-bottom: 8px;
    font-size: 11px;
}

.vb-ai-system-stats strong {
    font-size: 18px;
}

.vb-ai-system-status {
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 16px;
    margin-top: 22px;
    padding: 20px;
}

.vb-ai-system-status > i {
    width: 52px;
    height: 52px;
    font-size: 23px;
}

.vb-ai-system-status strong {
    font-size: 15px;
}

.vb-ai-system-status span {
    margin-top: 5px;
    font-size: 13px;
    line-height: 1.6;
}

.vb-ai-system-products-head {
    margin-top: 32px;
    padding-bottom: 18px;
}

.vb-ai-system-products-head span,
.vb-ai-system-allocation-head span {
    font-size: 11px;
}

.vb-ai-system-products-head h3,
.vb-ai-system-allocation-head h3 {
    margin-top: 7px;
    font-size: 22px;
}

.vb-ai-system-products {
    gap: 18px;
    margin-top: 20px;
}

.vb-ai-system-product {
    grid-template-columns: 220px minmax(0, 1fr);
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
}

.vb-ai-system-product-image {
    min-height: 220px;
    background: #fafbfc;
}

.vb-ai-system-product-image img {
    max-height: 250px;
    padding: 22px;
}

.vb-ai-system-product-content {
    padding: 24px;
}

.vb-ai-system-product-type {
    min-height: 29px;
    padding: 0 12px;
    font-size: 11px;
}

.vb-ai-system-product-stock {
    font-size: 11px;
}

.vb-ai-system-product-title {
    margin-top: 14px;
    font-size: 17px;
    line-height: 1.5;
}

.vb-ai-system-product-meta {
    gap: 7px 14px;
    margin-top: 10px;
}

.vb-ai-system-product-meta span {
    font-size: 11px;
}

.vb-ai-system-product-summary {
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.65;
}

.vb-ai-system-product-bottom {
    padding-top: 20px;
}

.vb-ai-system-product-price strong {
    font-size: 22px;
}

.vb-ai-system-product-price small {
    margin-top: 6px;
    font-size: 11px;
}

.vb-ai-system-product-detail {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
}

.vb-ai-system-allocation {
    margin-top: 32px;
    padding: 28px;
    border-radius: 17px;
    background: #f6f8fb;
}

.vb-ai-system-allocation-head p {
    max-width: 520px;
    font-size: 12px;
    line-height: 1.65;
}

.vb-ai-system-allocation-list {
    gap: 16px 20px;
    margin-top: 22px;
}

.vb-ai-system-allocation-item {
    padding: 17px;
    border-radius: 13px;
}

.vb-ai-system-allocation-item-top span,
.vb-ai-system-allocation-item-top strong {
    font-size: 12px;
}

.vb-ai-system-allocation-track {
    height: 8px;
    margin-top: 13px;
}

.vb-ai-system-allocation-item > small {
    margin-top: 8px;
    font-size: 10px;
}

.vb-ai-system-footer {
    margin-top: 28px;
    padding: 24px;
    border-radius: 16px;
}

.vb-ai-system-footer span {
    font-size: 11px;
}

.vb-ai-system-footer strong {
    margin-top: 6px;
    font-size: 30px;
}

.vb-ai-system-cart {
    min-width: 280px;
    min-height: 54px;
    padding: 0 20px;
    font-size: 13px;
}

.vb-ai-builder-features {
    gap: 18px;
    margin-top: 28px;
}

.vb-ai-builder-features article {
    padding: 23px;
    border-radius: 16px;
}

.vb-ai-builder-features i {
    width: 44px;
    height: 44px;
    font-size: 19px;
}

.vb-ai-builder-features strong {
    font-size: 14px;
}

.vb-ai-builder-features span {
    margin-top: 7px;
    font-size: 12px;
    line-height: 1.6;
}

@media (max-width: 1200px) {
    .vb-ai-analysis-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 1100px) {
    .vb-ai-builder-grid {
        grid-template-columns: 1fr;
    }

    .vb-ai-builder-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .vb-ai-builder-hero {
        padding: 28px;
    }

    .vb-ai-builder-copy h1 {
        font-size: 34px;
    }

    .vb-ai-builder-grid,
    .vb-ai-builder-side {
        grid-template-columns: 1fr;
    }

    .vb-ai-loading-modal {
        grid-template-columns: 1fr;
    }

    .vb-ai-loading-visual {
        min-height: 190px;
    }

    .vb-ai-analysis-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .vb-ai-system-product {
        grid-template-columns: 180px minmax(0, 1fr);
    }
}

@media (max-width: 700px) {
    .vb-ai-builder {
        padding: 24px 0 42px;
    }

    .vb-ai-builder-hero,
    .vb-ai-builder-panel,
    .vb-ai-analysis,
    .vb-ai-system {
        padding: 22px;
    }

    .vb-ai-builder-copy h1 {
        font-size: 28px;
    }

    .vb-ai-builder-copy p,
    .vb-ai-builder-panel-head p,
    .vb-ai-analysis-head p,
    .vb-ai-system-head p {
        font-size: 14px;
    }

    .vb-ai-builder-panel-head h2,
    .vb-ai-analysis-head h2,
    .vb-ai-system-head h2 {
        font-size: 23px;
    }

    .vb-ai-builder-input {
        min-height: 150px;
        font-size: 15px;
    }

    .vb-ai-analysis-grid {
        grid-template-columns: 1fr;
    }

    .vb-ai-analysis-card {
        min-height: 125px;
    }

    .vb-ai-loading-content {
        padding: 25px;
    }

    .vb-ai-loading-content h3 {
        font-size: 23px;
    }

    .vb-ai-loading-step {
        grid-template-columns: 40px minmax(0, 1fr) 22px;
        padding: 12px;
    }

    .vb-ai-loading-step > span {
        width: 40px;
        height: 40px;
    }

    .vb-ai-system-stats,
    .vb-ai-system-product,
    .vb-ai-system-allocation-list {
        grid-template-columns: 1fr;
    }

    .vb-ai-system-product-image {
        min-height: 210px;
        border-right: 0;
        border-bottom: 1px solid #edf1f5;
    }

    .vb-ai-system-product-content {
        padding: 20px;
    }

    .vb-ai-system-product-title {
        font-size: 16px;
    }

    .vb-ai-system-allocation {
        padding: 20px;
    }
}
.vb-ai-builder-loading {
    padding: 24px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(6px);
}

.vb-ai-loading-modal {
    width: min(820px, calc(100vw - 48px));
    max-height: min(720px, calc(100dvh - 48px));
    grid-template-columns: 235px minmax(0, 1fr);
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 32px 90px rgba(2, 6, 23, 0.38);
}

.vb-ai-loading-visual {
    min-height: 100%;
    border: 0;
}

.vb-ai-loading-content {
    min-width: 0;
    overflow: hidden;
    padding: 30px 34px;
}

.vb-ai-loading-kicker {
    font-size: 11px;
}

.vb-ai-loading-content h3 {
    margin: 10px 0 7px;
    font-size: 26px;
    line-height: 1.2;
}

.vb-ai-loading-content > p {
    font-size: 14px;
    line-height: 1.6;
}

.vb-ai-loading-progress {
    margin-top: 20px;
}

.vb-ai-loading-progress-track {
    height: 8px;
}

.vb-ai-loading-progress-info {
    margin-top: 8px;
}

.vb-ai-loading-progress-info span,
.vb-ai-loading-progress-info strong {
    font-size: 12px;
}

.vb-ai-loading-steps {
    gap: 8px;
    margin-top: 17px;
}

.vb-ai-loading-step {
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    gap: 11px;
    min-height: 62px;
    padding: 10px 12px;
    border-radius: 12px;
}

.vb-ai-loading-step > span {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    font-size: 16px;
}

.vb-ai-loading-step strong {
    font-size: 13px;
    line-height: 1.3;
}

.vb-ai-loading-step small {
    margin-top: 2px;
    font-size: 11px;
    line-height: 1.4;
}

.vb-ai-loading-step > i {
    font-size: 13px;
}

.vb-ai-loading-core {
    width: 78px;
    height: 78px;
    border-radius: 20px;
    font-size: 33px;
}

.vb-ai-loading-orbit-one {
    width: 132px;
    height: 132px;
}

.vb-ai-loading-orbit-two {
    width: 168px;
    height: 168px;
}

.vb-ai-loading-pulse {
    width: 102px;
    height: 102px;
}

.vb-ai-loading-security {
    display: none !important;
}

@media (max-height: 780px) and (min-width: 801px) {
    .vb-ai-loading-modal {
        max-height: calc(100dvh - 28px);
        grid-template-columns: 210px minmax(0, 1fr);
    }

    .vb-ai-loading-content {
        padding: 22px 28px;
    }

    .vb-ai-loading-content h3 {
        font-size: 23px;
    }

    .vb-ai-loading-content > p {
        font-size: 13px;
    }

    .vb-ai-loading-progress {
        margin-top: 15px;
    }

    .vb-ai-loading-steps {
        gap: 6px;
        margin-top: 14px;
    }

    .vb-ai-loading-step {
        min-height: 54px;
        padding: 8px 10px;
    }

    .vb-ai-loading-step > span {
        width: 34px;
        height: 34px;
    }

    .vb-ai-loading-step small {
        font-size: 10px;
    }
}

@media (max-width: 800px) {
    .vb-ai-builder-loading {
        align-items: flex-end;
        padding: 0;
        background: rgba(15, 23, 42, 0.66);
    }

    .vb-ai-loading-modal {
        width: 100%;
        max-width: none;
        max-height: 92dvh;
        grid-template-columns: 1fr;
        overflow: hidden;
        border: 0;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -18px 55px rgba(2, 6, 23, 0.32);
        animation: vb-ai-mobile-sheet-show 0.28s ease-out;
    }

    .vb-ai-loading-visual {
        min-height: 108px;
        max-height: 108px;
        border: 0;
    }

    .vb-ai-loading-visual::before {
        top: -75px;
        left: -35px;
        width: 150px;
        height: 150px;
    }

    .vb-ai-loading-visual::after {
        right: -55px;
        bottom: -85px;
        width: 180px;
        height: 180px;
    }

    .vb-ai-loading-core {
        width: 58px;
        height: 58px;
        border-radius: 17px;
        font-size: 25px;
    }

    .vb-ai-loading-orbit-one {
        width: 88px;
        height: 88px;
    }

    .vb-ai-loading-orbit-two {
        width: 112px;
        height: 112px;
    }

    .vb-ai-loading-pulse {
        width: 76px;
        height: 76px;
    }

    .vb-ai-loading-content {
        max-height: calc(92dvh - 108px);
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 21px 18px calc(22px + env(safe-area-inset-bottom));
        scrollbar-width: thin;
    }

    .vb-ai-loading-kicker {
        font-size: 10px;
    }

    .vb-ai-loading-content h3 {
        margin: 8px 0 5px;
        font-size: 21px;
        line-height: 1.2;
    }

    .vb-ai-loading-content > p {
        font-size: 13px;
        line-height: 1.55;
    }

    .vb-ai-loading-progress {
        margin-top: 17px;
    }

    .vb-ai-loading-progress-info span,
    .vb-ai-loading-progress-info strong {
        font-size: 11px;
    }

    .vb-ai-loading-steps {
        gap: 7px;
        margin-top: 15px;
    }

    .vb-ai-loading-step {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
        gap: 10px;
        min-height: 56px;
        padding: 9px 10px;
        border-radius: 11px;
    }

    .vb-ai-loading-step > span {
        width: 36px;
        height: 36px;
        border-radius: 10px;
        font-size: 15px;
    }

    .vb-ai-loading-step strong {
        font-size: 12px;
    }

    .vb-ai-loading-step small {
        display: none;
    }

    .vb-ai-loading-step.is-active small {
        display: block;
        font-size: 10px;
        line-height: 1.35;
    }
}

@media (max-width: 480px) {
    .vb-ai-loading-modal {
        max-height: 94dvh;
        border-radius: 21px 21px 0 0;
    }

    .vb-ai-loading-visual {
        min-height: 92px;
        max-height: 92px;
    }

    .vb-ai-loading-content {
        max-height: calc(94dvh - 92px);
        padding: 18px 14px calc(18px + env(safe-area-inset-bottom));
    }

    .vb-ai-loading-content h3 {
        font-size: 19px;
    }

    .vb-ai-loading-content > p {
        font-size: 12px;
    }

    .vb-ai-loading-progress {
        margin-top: 14px;
    }

    .vb-ai-loading-step {
        min-height: 52px;
        padding: 8px 9px;
    }
}

@keyframes vb-ai-mobile-sheet-show {
    from {
        opacity: 0;
        transform: translateY(45px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
body.vb-ai-product-modal-open {
    overflow: hidden;
}

.vb-ai-product-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.vb-ai-product-modal[hidden] {
    display: none !important;
}

.vb-ai-product-modal-backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    background: rgba(15, 23, 42, 0.72);
    cursor: default;
    backdrop-filter: blur(6px);
}

.vb-ai-product-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(920px, 100%);
    max-height: calc(100dvh - 48px);
    overflow: hidden;
    border: 0;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.4);
    animation: vb-ai-product-modal-show 0.22s ease-out;
}

.vb-ai-product-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
    border-bottom: 1px solid #e8edf3;
    background: #ffffff;
}

.vb-ai-product-modal-head > div {
    min-width: 0;
}

.vb-ai-product-modal-head span {
    display: block;
    color: #b60000;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.vb-ai-product-modal-head h3 {
    margin: 6px 0 0;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.vb-ai-product-modal-close {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border: 1px solid #dfe5ec;
    border-radius: 12px;
    background: #ffffff;
    color: #475569;
    cursor: pointer;
    font-size: 17px;
    transition:
        border-color 0.18s ease,
        color 0.18s ease,
        background 0.18s ease;
}

.vb-ai-product-modal-close:hover {
    border-color: #b60000;
    background: #fff7f7;
    color: #b60000;
}

.vb-ai-product-modal-body {
    display: grid;
    grid-template-columns: 360px minmax(0, 1fr);
    max-height: calc(100dvh - 145px);
    overflow-y: auto;
}

.vb-ai-product-modal-image {
    display: flex;
    min-height: 420px;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-right: 1px solid #e8edf3;
    background: #f8fafc;
}

.vb-ai-product-modal-image img {
    display: block;
    width: 100%;
    max-width: 320px;
    max-height: 360px;
    object-fit: contain;
}

.vb-ai-product-modal-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px;
}

.vb-ai-product-modal-stock {
    display: flex;
    align-items: center;
    min-height: 28px;
}

.vb-ai-product-modal-stock span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
}

.vb-ai-product-modal-stock span::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #94a3b8;
}

.vb-ai-product-modal-stock span.is-stock {
    color: #15803d;
}

.vb-ai-product-modal-stock span.is-stock::before {
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.vb-ai-product-modal-stock span.is-out {
    color: #dc2626;
}

.vb-ai-product-modal-stock span.is-out::before {
    background: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12);
}

.vb-ai-product-modal-content h4 {
    margin: 14px 0 0;
    color: #0f172a;
    font-size: 22px;
    line-height: 1.45;
    letter-spacing: -0.015em;
}

.vb-ai-product-modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.vb-ai-product-modal-meta span {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    padding: 0 10px;
    border: 1px solid #e2e8f0;
    border-radius: 9px;
    background: #f8fafc;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
}

.vb-ai-product-modal-summary {
    margin: 20px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.75;
}

.vb-ai-product-modal-price {
    margin-top: 24px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #f8fafc;
}

.vb-ai-product-modal-price > span {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.vb-ai-product-modal-price strong {
    display: block;
    margin-top: 6px;
    color: #b60000;
    font-size: 26px;
    line-height: 1.2;
}

.vb-ai-product-modal-price small {
    display: block;
    margin-top: 7px;
    color: #15803d;
    font-size: 12px;
    font-weight: 800;
}

.vb-ai-product-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    margin-top: auto;
    padding-top: 26px;
}

.vb-ai-product-modal-secondary,
.vb-ai-product-modal-primary {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 17px;
    border-radius: 12px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.vb-ai-product-modal-secondary {
    border: 1px solid #dbe2ea;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}

.vb-ai-product-modal-primary {
    border: 0;
    background: #b60000;
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(182, 0, 0, 0.18);
}

.vb-ai-product-modal-primary:hover {
    background: #990000;
    color: #ffffff;
}

@keyframes vb-ai-product-modal-show {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 800px) {
    .vb-ai-product-modal {
        align-items: flex-end;
        padding: 0;
    }

    .vb-ai-product-modal-dialog {
        width: 100%;
        max-height: 92dvh;
        border-radius: 22px 22px 0 0;
        animation: vb-ai-product-modal-mobile-show 0.24s ease-out;
    }

    .vb-ai-product-modal-head {
        padding: 18px;
    }

    .vb-ai-product-modal-head h3 {
        font-size: 19px;
    }

    .vb-ai-product-modal-body {
        grid-template-columns: 1fr;
        max-height: calc(92dvh - 79px);
        overflow-y: auto;
    }

    .vb-ai-product-modal-image {
        min-height: 230px;
        padding: 22px;
        border-right: 0;
        border-bottom: 1px solid #e8edf3;
    }

    .vb-ai-product-modal-image img {
        max-height: 210px;
    }

    .vb-ai-product-modal-content {
        padding: 22px 18px calc(22px + env(safe-area-inset-bottom));
    }

    .vb-ai-product-modal-content h4 {
        font-size: 19px;
    }

    .vb-ai-product-modal-summary {
        font-size: 13px;
    }

    .vb-ai-product-modal-price strong {
        font-size: 23px;
    }

    .vb-ai-product-modal-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .vb-ai-product-modal-secondary,
    .vb-ai-product-modal-primary {
        width: 100%;
    }
}

@keyframes vb-ai-product-modal-mobile-show {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   AI PC Builder - Toplu Sepet Butonları
   Mevcut tasarımı değiştirmeden yalnızca yeni buton alanı
========================================================= */

.vb-ai-system-footer-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.vb-ai-system-cart-view {
    display: inline-flex;
    border: 1px solid #b60000;
    background: #ffffff;
    color: #b60000;
    box-shadow: none;
    text-decoration: none;
}

.vb-ai-system-cart-view:hover {
    border-color: #990000;
    background: #fff5f5;
    color: #990000;
}

.vb-ai-system-cart-view[hidden] {
    display: none !important;
}

.vb-ai-system-cart.is-added {
    background: #15803d;
    box-shadow: 0 12px 26px rgba(21, 128, 61, 0.18);
}

.vb-ai-system-cart.is-loading i:first-child {
    animation: vb-ai-spin 0.9s linear infinite;
}

@media (max-width: 800px) {
    .vb-ai-system-footer-actions {
        width: 100%;
        align-items: stretch;
        flex-direction: column;
    }

    .vb-ai-system-footer-actions .vb-ai-system-cart {
        width: 100%;
        min-width: 0;
    }
}
