.sg-calc {
    margin: 25px 0 35px;
    color: #273142;
    font-family: "Museo Sans Cyrl", "Open Sans", Arial, sans-serif;
}

.sg-calc *,
.sg-calc *:before,
.sg-calc *:after {
    box-sizing: border-box;
}

.sg-calc__main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    border: 1px solid #d9e3ee;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.sg-calc__form {
    padding: 28px 32px;
}

.sg-calc__heading h2,
.sg-table-head h3,
.sg-modal h2 {
    margin: 0 0 8px;
    color: #24292f;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
}

.sg-calc__heading p,
.sg-modal__copy {
    margin: 0 0 24px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.45;
}

.sg-calc__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 24px 30px;
}

.sg-field__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 10px;
}

.sg-field__top label,
.sg-select span,
.sg-summary__label,
.sg-modal-form label > span {
    color: #2f3742;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.sg-field__top span,
.sg-table-head span {
    color: #7b8794;
    font-size: 13px;
    white-space: nowrap;
}

.sg-range-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 90px;
    align-items: center;
    gap: 16px;
}

.sg-range-row input[type="range"] {
    width: 100%;
    height: 5px;
    border-radius: 999px;
    appearance: none;
    background: linear-gradient(90deg, #1976d2 var(--fill, 0%), #d8dee7 var(--fill, 0%));
}

.sg-range-row input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    border: 4px solid #fff;
    border-radius: 50%;
    appearance: none;
    background: #1976d2;
    box-shadow: 0 1px 7px rgba(25, 118, 210, .45);
    cursor: pointer;
}

.sg-range-row input[type="range"]::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border: 4px solid #fff;
    border-radius: 50%;
    background: #1976d2;
    box-shadow: 0 1px 7px rgba(25, 118, 210, .45);
    cursor: pointer;
}

.sg-range-row input[type="number"],
.sg-select select,
.sg-custom-color,
.sg-wicket-size input,
.sg-measure-details input,
.sg-modal-form input[type="text"] {
    width: 100%;
    min-height: 46px;
    border: 1px solid #d7e0ea;
    border-radius: 5px;
    background: #fff;
    color: #1f2937;
    font: inherit;
    font-size: 15px;
    outline: none;
}

.sg-range-row input[type="number"] {
    padding: 0 12px;
}

.sg-select {
    display: grid;
    gap: 10px;
}

.sg-select select {
    padding: 0 12px;
}

.sg-options {
    display: grid;
    grid-template-columns: repeat(4, minmax(130px, 1fr));
    gap: 12px;
    margin: 28px 0 14px;
}

.sg-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 58px;
    padding: 14px 16px;
    border: 1px solid #dbe4ef;
    border-radius: 5px;
    background: #fff;
    color: #2f3742;
    font-weight: 700;
    cursor: pointer;
}

.sg-option input {
    order: 2;
    width: 18px;
    height: 18px;
    accent-color: #1976d2;
}

.sg-option.is-checked {
    border-color: #65b245;
    background: #eef9e9;
    box-shadow: inset 0 0 0 1px #65b245;
}

.sg-distance {
    display: none;
    max-width: 570px;
    margin-top: 14px;
    padding: 18px;
    border: 1px solid #b7d99f;
    border-radius: 8px;
    background: #f8fcf3;
}

.sg-distance.is-active {
    display: block;
}

.sg-note {
    margin: 24px 0 0;
    color: #7b8794;
    font-size: 13px;
}

.sg-summary {
    padding: 32px 30px;
    background: linear-gradient(145deg, #173c56 0%, #0f3149 100%);
    color: #fff;
}

.sg-summary__label {
    color: #d7e7f5;
}

.sg-summary__price {
    margin: 12px 0 24px;
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
}

.sg-summary__meta {
    display: grid;
    gap: 14px;
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .22);
}

.sg-summary__meta div {
    display: grid;
    gap: 4px;
}

.sg-summary__meta span {
    color: #a9c1d3;
    font-size: 13px;
}

.sg-summary__meta strong {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.sg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px;
    border: 1px solid transparent;
    border-radius: 4px;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.sg-button--primary {
    background: #1976d2;
    color: #fff;
}

.sg-button--primary:hover {
    background: #0f66c0;
}

.sg-button--light {
    margin-top: 12px;
    background: #fff;
    color: #16405c;
}

.sg-table-wrap {
    margin-top: 22px;
    padding: 22px;
    border: 1px solid #d9e3ee;
    border-radius: 4px;
    background: #fff;
}

.sg-table-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 16px;
}

.sg-table-head h3 {
    font-size: 20px;
}

.sg-table-scroll {
    overflow-x: auto;
}

.sg-price-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
    font-size: 14px;
}

.sg-price-table th,
.sg-price-table td {
    padding: 13px 12px;
    border: 1px solid #e1e8f0;
    text-align: center;
    white-space: nowrap;
}

.sg-price-table th {
    background: #f5f7fa;
    color: #44505c;
    font-weight: 700;
}

.sg-price-table td.is-active {
    background: #1976d2;
    color: #fff;
    font-weight: 700;
}

.sg-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.sg-modal.is-active {
    display: flex;
}

.sg-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, .64);
}

.sg-modal__dialog {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 30px;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 20px 70px rgba(0, 0, 0, .35);
}

.sg-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.sg-order-summary {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 16px;
    border-radius: 6px;
    background: #f5f7fa;
    list-style: none;
}

.sg-order-summary li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: #44505c;
    font-size: 14px;
}

.sg-order-summary strong {
    color: #1f2937;
    text-align: right;
}

.sg-order-edit {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin: -4px 0 18px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #006bd6;
    font: inherit;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
}

.sg-order-edit:hover {
    color: #0f66c0;
    text-decoration: underline;
}

.sg-modal-form {
    display: grid;
    gap: 14px;
}

.sg-modal-form label {
    display: grid;
    gap: 7px;
}

.sg-modal-form input[type="text"] {
    padding: 0 14px;
}

.sg-consent {
    display: flex !important;
    grid-template-columns: none;
    align-items: flex-start;
    gap: 10px !important;
    color: #4b5563;
    font-size: 13px;
    line-height: 1.35;
}

.sg-consent input {
    width: 18px;
    height: 18px;
    margin-top: 0;
    accent-color: #1976d2;
}

.sg-consent span {
    font-weight: 400 !important;
}

.sg-form-status {
    min-height: 18px;
    color: #c2410c;
    font-size: 13px;
    line-height: 1.35;
}

.sg-form-status.is-success {
    color: #15803d;
}

.sg-modal-form .is-error {
    border-color: #ef4444 !important;
}

body.sg-modal-open {
    overflow: hidden;
}

@media (max-width: 980px) {
    .sg-calc__main {
        grid-template-columns: 1fr;
    }

    .sg-options {
        grid-template-columns: repeat(2, minmax(130px, 1fr));
    }
}

@media (max-width: 640px) {
    .sg-calc {
        margin-top: 18px;
    }

    .sg-calc__form,
    .sg-summary,
    .sg-table-wrap,
    .sg-modal__dialog {
        padding: 20px;
    }

    .sg-calc__grid,
    .sg-range-row {
        grid-template-columns: 1fr;
    }

    .sg-options {
        grid-template-columns: 1fr;
    }

    .sg-field__top,
    .sg-table-head {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .sg-summary__price {
        font-size: 26px;
    }

    .sg-modal {
        padding: 12px;
    }

    .sg-modal.sg-modal--mobile .sg-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        padding: 22px 18px 18px;
    }

    .sg-modal.sg-modal--mobile .sg-modal__close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 34px;
    }

    .sg-modal.sg-modal--mobile h2 {
        margin: 0 46px 8px 0;
        font-size: 26px;
        line-height: 1.12;
    }

    .sg-modal.sg-modal--mobile .sg-modal__copy {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.3;
    }

    .sg-modal.sg-modal--mobile .sg-order-summary {
        gap: 8px;
        margin-bottom: 16px;
        padding: 14px;
    }

    .sg-modal.sg-modal--mobile .sg-order-summary li {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 10px;
        font-size: 15px;
        line-height: 1.25;
    }

    .sg-modal.sg-modal--mobile .sg-order-summary strong {
        min-width: 0;
        text-align: right;
    }

    .sg-modal.sg-modal--mobile .sg-order-edit {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        margin: 0 0 16px;
        padding: 0;
        border: 0;
        appearance: none;
        background: transparent;
        color: #006bd6;
        font-family: "Museo Sans Cyrl", "Open Sans", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.35;
        font-weight: 800;
        text-align: center;
        cursor: pointer;
    }

    .sg-modal.sg-modal--mobile .sg-modal-form {
        gap: 12px;
        grid-template-columns: 1fr;
    }

    .sg-modal.sg-modal--mobile .sg-modal-form label {
        display: grid;
        gap: 6px;
        color: #2f3742;
        font-family: "Museo Sans Cyrl", "Open Sans", Arial, sans-serif;
        font-size: 16px;
        line-height: 1.25;
        font-weight: 800;
    }

    .sg-modal.sg-modal--mobile .sg-modal-form input[type="text"] {
        box-sizing: border-box;
        width: 100%;
        min-height: 48px;
        padding: 0 14px;
        border: 1px solid #d7e0ea;
        border-radius: 7px;
        appearance: none;
        background: #fff;
        color: #1f2937;
        font-family: "Museo Sans Cyrl", "Open Sans", Arial, sans-serif;
        font-size: 16px;
        line-height: 48px;
        outline: none;
    }

    .sg-modal.sg-modal--mobile .sg-consent {
        display: flex !important;
        align-items: flex-start;
        gap: 10px !important;
        font-size: 14px;
        line-height: 1.35;
    }

    .sg-modal.sg-modal--mobile .sg-consent input {
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
        margin: 1px 0 0;
        appearance: auto;
    }

    .sg-modal.sg-modal--mobile .sg-consent span {
        color: #4b5563;
        font-weight: 400 !important;
    }

    .sg-modal.sg-modal--mobile [data-sg-submit-lead] {
        display: inline-flex;
        align-items: center;
        width: 100%;
        justify-content: center;
        min-height: 50px;
        border: 1px solid transparent;
        border-radius: 7px;
        appearance: none;
        background: #1976d2;
        color: #fff;
        font-family: "Museo Sans Cyrl", "Open Sans", Arial, sans-serif;
        font-size: 17px;
        line-height: 1.2;
        font-weight: 800;
        text-align: center;
        box-shadow: none;
        cursor: pointer;
    }

    .sg-modal.sg-modal--mobile [data-sg-submit-lead]:hover,
    .sg-modal.sg-modal--mobile [data-sg-submit-lead]:focus {
        background: #0f66c0;
        color: #fff;
    }
}

/* Isolate calculator controls from legacy category theme styles. */
.categorypage--sliding-gates {
    position: relative;
    isolation: isolate;
}

.categorypage--sliding-gates:before {
    content: "";
    position: absolute;
    z-index: 0;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 820px;
    transform: translateX(-50%);
    pointer-events: none;
    background: url("../img/back-otkat-vorota.png") center top / cover no-repeat;
}

.categorypage--sliding-gates > .container {
    z-index: 1;
}

.categorypage--sliding-gates .categorypage-mainblock-table > .cell:last-child {
    padding-left: 0;
}

.sg-calc .sg-option {
    position: relative;
    overflow: visible;
    height: auto;
    text-decoration: none;
}

.sg-calc .sg-option span {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: #2f3742 !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
}

.sg-calc .sg-option input[type="checkbox"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 0 12px !important;
}

.sg-calc .sg-select .select {
    display: none !important;
}

.sg-calc .sg-select .select-block {
    display: block !important;
}

.sg-calc .sg-select select {
    display: block !important;
}

.sg-calc .sg-color-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none;
}

.sg-calc .sg-button,
.sg-calc .sg-button:visited,
.sg-calc .sg-button:hover,
.sg-calc .sg-button:focus {
    text-indent: 0 !important;
    letter-spacing: 0 !important;
    text-decoration: none !important;
    background-image: none !important;
    font-size: 16px !important;
    line-height: 1.25 !important;
}

.sg-calc .sg-button--primary,
.sg-calc .sg-button--primary:hover,
.sg-calc .sg-button--primary:focus {
    color: #fff !important;
}

.sg-calc .sg-button--light,
.sg-calc .sg-button--light:hover,
.sg-calc .sg-button--light:focus {
    color: #16405c !important;
}

/* Reference-style calculator layout. */
.sg-category-tabs {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    margin: 0 0 24px;
    border: 1px solid #dbe4ef;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.sg-category-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 10px 16px;
    border-right: 1px solid #e5edf5;
    color: #343a40 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
}

.sg-category-tab:last-child {
    border-right: 0;
}

.sg-category-tab.is-active {
    color: #343a40 !important;
    background: #fff;
}

.sg-calc__main {
    grid-template-columns: minmax(0, 1fr) 360px;
    border-color: #d9e3ee;
    box-shadow: 0 12px 34px rgba(16, 38, 72, .06);
}

.sg-calc__form {
    padding: 30px 34px 28px;
}

.sg-calc__heading h2 {
    font-size: 22px;
}

.sg-calc__grid {
    grid-template-columns: minmax(280px, 1.18fr) minmax(190px, .78fr) minmax(210px, .84fr);
    gap: 24px 34px;
}

.sg-options-title {
    margin: 30px 0 14px;
    color: #24292f;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 700;
}

.sg-options {
    grid-template-columns: repeat(4, minmax(145px, 1fr));
    margin: 0 0 14px;
}

.sg-option {
    min-height: 66px;
    padding: 14px 14px 14px 16px;
    gap: 12px;
}

.sg-option__text {
    flex: 1 1 auto;
}

.sg-option__icon {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    fill: #aab3bd;
}

.sg-option__mark {
    flex: 0 0 auto;
    min-width: 16px;
    color: #1976d2 !important;
    font-size: 20px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-align: center;
}

.sg-option input[type="checkbox"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none;
}

.sg-option.is-checked .sg-option__icon {
    fill: #9fa8b2;
}

.sg-option.is-checked .sg-option__mark {
    color: #1976d2 !important;
}

.sg-color-select {
    position: relative;
    display: block;
}

.sg-select--custom-color {
    position: relative;
}

.sg-color-select__button {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 46px;
    padding: 0 38px 0 16px;
    border: 1px solid #d7e0ea;
    border-radius: 5px;
    background: #fff;
    color: #1f2937;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.sg-color-select__button:after {
    content: "";
    position: absolute;
    right: 17px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #1f2937;
    border-bottom: 2px solid #1f2937;
    transform: translateY(-65%) rotate(45deg);
}

.sg-color-select__button i,
.sg-color-option__swatch {
    width: 18px;
    height: 18px;
    border: 1px solid rgba(15, 23, 42, .18);
    border-radius: 3px;
    background: var(--sg-color-swatch, #fff);
}

.sg-color-select__button em {
    overflow: hidden;
    font-style: normal;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sg-color-select.is-custom-active .sg-color-select__button em {
    visibility: hidden;
}

.sg-color-select__list {
    position: absolute;
    z-index: 40;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    display: none;
    max-height: 260px;
    overflow: auto;
    padding: 6px;
    border: 1px solid #d7e0ea;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(26, 44, 64, .14);
}

.sg-color-select.is-open .sg-color-select__list {
    display: grid;
    gap: 2px;
}

.sg-color-option {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #1f2937;
    font: inherit;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.sg-color-option:hover,
.sg-color-option.is-selected {
    background: #eef6ff;
}

.sg-color-select__button i.sg-color-option__swatch--none,
.sg-color-option__swatch--none {
    background:
        linear-gradient(135deg, transparent 45%, #d33 47%, #d33 53%, transparent 55%),
        #fff;
}

.sg-color-select__button i.sg-color-option__swatch--custom,
.sg-color-option__swatch--custom {
    border-radius: 50%;
    background:
        radial-gradient(circle at 32% 32%, #f43f5e 0 20%, transparent 22%),
        radial-gradient(circle at 68% 34%, #facc15 0 18%, transparent 20%),
        radial-gradient(circle at 38% 70%, #22c55e 0 18%, transparent 20%),
        radial-gradient(circle at 72% 70%, #3b82f6 0 18%, transparent 20%),
        #fff;
}

.sg-custom-color {
    position: absolute;
    z-index: 35;
    top: 30px;
    left: 49px;
    right: 44px;
    display: none;
    width: auto;
    height: 46px;
    min-height: 46px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1f2937;
    font-size: 16px;
    line-height: 46px;
    font-weight: 400;
    box-shadow: none;
    outline: none;
}

.sg-custom-color.is-active {
    display: block;
}

.sg-foundation {
    display: none;
    align-items: center;
    grid-template-columns: 210px 118px 118px minmax(0, 1fr);
    gap: 0;
    margin: 0 0 12px;
    padding: 12px 16px;
    border: 1px solid #b7d99f;
    border-radius: 8px;
    background: #f8fcf3;
    color: #2f3742;
    font-size: 14px;
    line-height: 1.3;
}

.sg-foundation.is-active {
    display: grid;
}

.sg-foundation > span,
.sg-extra-check,
.sg-measure-grid label > span {
    color: #2f3742;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}

.sg-foundation > span {
    margin-right: 14px;
}

.sg-foundation label {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #dbe4ef;
    border-radius: 5px;
    background: #fff;
    color: #2f3742;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
    cursor: pointer;
}

.sg-foundation label:first-of-type {
    border-radius: 6px 0 0 6px;
}

.sg-foundation label:last-of-type {
    margin-left: -1px;
    border-radius: 0 6px 6px 0;
}

.sg-foundation input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sg-foundation label:has(input:checked) {
    border-color: #6dbb4d;
    background: #76bd4a;
    color: #fff;
    box-shadow: inset 0 0 0 1px #6dbb4d;
}

.sg-extra-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 12px;
}

.sg-distance {
    max-width: none;
    margin-top: 0;
    padding: 12px 16px;
    border-color: #b7d99f;
    background: #f8fcf3;
}

.sg-extra-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sg-extra-check {
    margin-bottom: 0;
}

.sg-extra-check input {
    width: 16px;
    height: 16px;
    accent-color: #1976d2;
}

.sg-wicket-details,
.sg-measure-details {
    display: none;
    padding: 12px 16px;
    border: 1px solid #b7d99f;
    border-radius: 8px;
    background: #f8fcf3;
}

.sg-wicket-details.is-active {
    display: grid;
    grid-template-columns: 190px repeat(2, minmax(0, 1fr));
    align-items: center;
    gap: 12px 16px;
}

.sg-wicket-type-hidden {
    display: none !important;
}

.sg-wicket-size {
    display: contents;
}

.sg-wicket-size label {
    display: grid;
    gap: 7px;
}

.sg-wicket-size span {
    color: #2f3742;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
}

.sg-wicket-size input {
    padding: 0 12px;
}

.sg-measure-details.is-active {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.sg-distance.is-active {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.sg-distance .sg-extra-check input {
    display: none;
}

.sg-distance .sg-field__top {
    display: none;
}

.sg-distance .sg-range-row {
    position: relative;
    grid-template-columns: minmax(0, 1fr) 96px;
    gap: 12px;
}

.sg-distance .sg-range-row:after {
    content: "км";
    position: absolute;
    right: 12px;
    top: 50%;
    color: #6b7280;
    font-size: 14px;
    line-height: 1;
    font-weight: 700;
    transform: translateY(-50%);
    pointer-events: none;
}

.sg-distance .sg-range-row input[type="number"],
.sg-measure-details input {
    min-height: 40px;
    padding: 0 14px;
}

.sg-distance .sg-range-row input[type="number"] {
    padding-right: 38px;
}

.sg-segmented {
    display: inline-grid;
    grid-template-columns: repeat(2, minmax(118px, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid #d7e0ea;
    border-radius: 6px;
    background: #fff;
}

.sg-segmented label {
    position: relative;
    display: block;
    cursor: pointer;
}

.sg-segmented input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sg-segmented span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-right: 1px solid #d7e0ea;
    color: #2f3742;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 700;
}

.sg-segmented label:last-child span {
    border-right: 0;
}

.sg-segmented input:checked + span {
    background: #76bd4a;
    color: #fff;
    box-shadow: inset 0 0 0 1px #6dbb4d;
}

.sg-measure-grid {
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 170px 150px;
    gap: 10px;
}

.sg-measure-grid label {
    display: grid;
    gap: 6px;
}

.sg-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 24px;
}

.sg-note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #9fc7ef;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.sg-summary {
    padding: 32px 30px;
    background: linear-gradient(145deg, #1d4b68 0%, #0e344f 100%);
}

.sg-summary__included {
    margin: 0 0 24px;
}

.sg-summary__included > span,
.sg-summary__subtitle,
.sg-summary__total > span {
    display: block;
    margin-bottom: 10px;
    color: #d7e7f5;
    font-size: 15px;
    font-weight: 700;
}

.sg-summary__included ul {
    display: grid;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sg-summary__included li {
    position: relative;
    padding-left: 28px;
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

.sg-summary__included li:before {
    content: "✓";
    position: absolute;
    left: 2px;
    top: 0;
    color: #77bd3f;
    font-weight: 700;
}

.sg-summary__additional {
    display: none;
    margin: 0 0 24px;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,.23);
}

.sg-summary__additional.is-active {
    display: block;
}

.sg-summary__row {
    display: none;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    font-size: 14px;
}

.sg-summary__row.is-active {
    display: flex;
}

.sg-summary__row.is-active + .sg-summary__row.is-active {
    margin-top: 10px;
}

.sg-summary__row strong {
    white-space: nowrap;
}

.sg-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    border: 1px solid rgba(255,255,255,.52);
    border-radius: 50%;
    background: transparent;
    color: #dbeafe;
    font: inherit;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    cursor: help;
}

.sg-tooltip:after {
    content: attr(aria-label);
    position: absolute;
    z-index: 20;
    right: 50%;
    bottom: calc(100% + 8px);
    display: none;
    width: 230px;
    padding: 9px 10px;
    border-radius: 5px;
    background: #fff;
    color: #1f2937;
    box-shadow: 0 12px 28px rgba(0,0,0,.18);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 400;
    text-align: left;
}

.sg-tooltip:hover:after,
.sg-tooltip:focus-visible:after {
    display: block;
}

.sg-summary__total {
    margin: 0 0 24px;
}

.sg-summary__total strong {
    display: block;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    font-weight: 700;
}

@media (max-width: 1180px) {
    .sg-category-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-category-tab.is-active {
        grid-column: 1 / -1;
    }

    .sg-calc__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-extra-row {
        grid-template-columns: 1fr;
    }

    .sg-measure-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .sg-category-tabs,
    .sg-calc__grid,
    .sg-options {
        grid-template-columns: 1fr;
    }
}

.sg-ral {
    margin-top: 30px;
}

.sg-ral__head {
    max-width: 880px;
    margin-bottom: 22px;
}

.sg-ral__head h2 {
    margin: 0 0 12px;
    color: #25282d;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.sg-ral__head p {
    margin: 0;
    color: #5c6470;
    font-size: 16px;
    line-height: 1.55;
}

.sg-ral__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 16px 18px;
}

.sg-ral-card {
    min-width: 0;
    padding: 10px 10px 14px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(22, 35, 48, 0.03);
}

.sg-ral-card__swatch {
    height: 112px;
    margin-bottom: 12px;
    border-radius: 4px;
    background:
        radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0) 44%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.16)),
        var(--ral-color);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.sg-ral-card__swatch--light {
    box-shadow: inset 0 0 0 1px #cfd8e3;
}

.sg-ral-card h3 {
    margin: 0 0 8px;
    color: #101820;
    font-size: 18px;
    line-height: 1.15;
    font-weight: 800;
}

.sg-ral-card p {
    margin: 0;
    color: #4e5662;
    font-size: 15px;
    line-height: 1.35;
}

.sg-ral__note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 20px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f9fbfe;
    color: #6a7380;
    font-size: 15px;
    line-height: 1.4;
}

.sg-ral__note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    border-radius: 50%;
    background: #8fc4f2;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: Georgia, serif;
}

.sg-ral__note p {
    margin: 0;
}

@media (max-width: 1280px) {
    .sg-ral__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .sg-ral__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .sg-ral__head h2 {
        font-size: 26px;
    }
}

@media (max-width: 640px) {
    .sg-ral__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sg-ral-card__swatch {
        height: 98px;
    }

    .sg-ral-card h3 {
        font-size: 17px;
    }

    .sg-ral-card p,
    .sg-ral__head p,
    .sg-ral__note {
        font-size: 15px;
    }
}

@media (max-width: 420px) {
    .sg-ral__grid {
        grid-template-columns: 1fr;
    }
}

.sg-projects {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.sg-projects__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 26px;
}

.sg-projects__top h2 {
    margin: 0 0 14px;
    color: #25282d;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.sg-projects__top p {
    max-width: 640px;
    margin: 0;
    color: #607080;
    font-size: 15px;
    line-height: 1.55;
}

.sg-projects__all {
    display: none;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 24px;
    border: 1px solid #1d7ee8;
    border-radius: 4px;
    color: #006bd6;
    background: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.sg-projects__all:hover {
    background: #1d7ee8;
    color: #fff;
    text-decoration: none;
}

.sg-projects__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px 20px;
}

.sg-project-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.sg-project-card:hover,
.sg-project-card:focus {
    border-color: #8bbbe8;
    box-shadow: 0 14px 34px rgba(24, 48, 72, .1);
    outline: none;
    transform: translateY(-2px);
}

.sg-project-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.52;
    object-fit: cover;
    background: #eef3f7;
}

.sg-project-card__body {
    padding: 16px 16px 14px;
}

.sg-project-card h3 {
    margin: 0 0 10px;
    color: #1f2833;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.sg-project-card__place {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 14px;
    color: #6e7d8e;
    font-size: 14px;
    line-height: 1.35;
}

.sg-project-card__place span {
    color: #708195;
    font-size: 16px;
    line-height: 1;
}

.sg-project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    padding-top: 14px;
    border-top: 1px solid #e3e9f0;
    color: #2e3946;
    font-size: 13px;
    line-height: 1.35;
}

.sg-project-card__meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.sg-project-card__meta i {
    color: #6d7f93;
    font-style: normal;
    font-size: 15px;
    line-height: 1;
}

.sg-project-modal__dialog {
    width: min(860px, 100%);
    max-width: 860px;
    max-height: calc(100vh - 40px);
    padding: 0;
    overflow-y: auto;
}

.sg-project-modal__media {
    padding: 18px 18px 0;
    background: #f3f6f9;
    text-align: center;
}

.sg-project-modal__media img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 260px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 6px;
    background: #eef3f7;
}

.sg-project-modal__body {
    padding: 18px 30px 22px;
}

.sg-project-modal__place {
    margin: 0 0 10px;
    color: #6e7d8e;
    font-size: 15px;
    line-height: 1.35;
}

.sg-project-modal h2 {
    margin: 0 0 10px;
    color: #1f2833;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.sg-project-modal__text {
    margin: 0 0 14px;
    color: #546273;
    font-size: 16px;
    line-height: 1.55;
}

.sg-project-modal__specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-bottom: 18px;
    padding-top: 14px;
    border-top: 1px solid #e3e9f0;
    color: #2e3946;
    font-size: 15px;
    line-height: 1.35;
}

.sg-project-modal__specs span {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.sg-project-modal__specs strong {
    color: #1f2833;
}

.sg-project-modal__nav {
    position: fixed;
    top: 50%;
    z-index: 10001;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid #dbe3ec;
    border-radius: 50%;
    background: #fff;
    color: #1f2833;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(20, 35, 50, .18);
    transform: translateY(-50%);
}

.sg-project-modal__nav--prev {
    left: max(24px, calc(50% - 500px));
}

.sg-project-modal__nav--next {
    right: max(24px, calc(50% - 500px));
}

.sg-project-modal__nav:hover {
    border-color: #1d7ee8;
    color: #006bd6;
}

@media (max-width: 1100px) {
    .sg-projects__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .sg-projects__top {
        display: block;
    }

    .sg-projects__all {
        margin-top: 18px;
    }

    .sg-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {

    .sg-projects__top h2 {
        font-size: 25px;
    }

    .sg-projects__top p,
    .sg-projects__all {
        font-size: 15px;
    }

    .sg-projects__grid {
        grid-template-columns: 1fr;
    }

    .sg-project-modal__dialog {
        max-height: calc(100vh - 28px);
        overflow-y: auto;
    }

    .sg-project-modal__body {
        padding: 22px 18px;
    }

    .sg-project-modal h2 {
        font-size: 24px;
    }

    .sg-project-modal__specs {
        grid-template-columns: 1fr;
    }

    .sg-project-modal__nav {
        width: 40px;
        height: 40px;
        font-size: 30px;
    }

    .sg-project-modal__nav--prev {
        left: 12px;
    }

    .sg-project-modal__nav--next {
        right: 12px;
    }

    .sg-wicket-size {
        grid-template-columns: 1fr;
    }
}

.sg-promos {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.sg-promos__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.sg-promos__top h2 {
    margin: 0 0 14px;
    color: #25282d;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.sg-promos__top p {
    max-width: 720px;
    margin: 0;
    color: #607080;
    font-size: 16px;
    line-height: 1.55;
}

.sg-promos__all {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid #1d7ee8;
    border-radius: 4px;
    color: #006bd6;
    background: #fff;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.sg-promos__all:hover {
    background: #1d7ee8;
    color: #fff;
    text-decoration: none;
}

.sg-promos__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sg-promo-card {
    overflow: hidden;
    min-width: 0;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
}

.sg-promo-card__media {
    position: relative;
    overflow: hidden;
    background: #edf2f6;
}

.sg-promo-card__media img {
    display: block;
    width: 100%;
    aspect-ratio: 1.45;
    object-fit: cover;
}

.sg-promo-card__badge {
    position: absolute;
    top: 18px;
    left: 18px;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 13px;
    border-radius: 5px;
    background: linear-gradient(180deg, #1fe13b 0%, #08ad22 100%);
    color: #fff;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    box-shadow: 0 8px 16px rgba(13, 152, 35, 0.22);
}

.sg-promo-card__body {
    padding: 18px 18px 16px;
}

.sg-promo-card h3 {
    margin: 0 0 12px;
    color: #1f2833;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
}

.sg-promo-card__body > p {
    min-height: 48px;
    margin: 0 0 18px;
    color: #536273;
    font-size: 14px;
    line-height: 1.55;
}

.sg-promo-card ul {
    display: grid;
    gap: 12px;
    min-height: 104px;
    margin: 0 0 16px;
    padding: 18px 0 18px;
    border-top: 1px solid #e3e9f0;
    border-bottom: 1px solid #e3e9f0;
    list-style: none;
}

.sg-promo-card li {
    position: relative;
    padding-left: 26px;
    color: #5d6c7c;
    font-size: 14px;
    line-height: 1.35;
}

.sg-promo-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    color: #23ad3d;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.sg-promo-card__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    color: #5d6c7c;
    font-size: 14px;
    line-height: 1.35;
}

.sg-promo-card__foot span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.sg-promo-card__foot i {
    color: #6d7f93;
    font-style: normal;
}

.sg-promo-card__foot button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #006bd6;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.sg-promo-card__foot button:hover {
    color: #0053ac;
}

.sg-promos__note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 15px 22px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f6f8fb;
    color: #6a7380;
    font-size: 15px;
    line-height: 1.4;
}

.sg-promos__note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #8fc4f2;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: Georgia, serif;
}

.sg-promos__note p {
    margin: 0;
}

.sg-promos__note button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #006bd6;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.sg-promo-modal__dialog {
    max-width: 560px;
}

.sg-promo-modal__badge {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-bottom: 16px;
    padding: 0 12px;
    border-radius: 5px;
    background: linear-gradient(180deg, #1fe13b 0%, #08ad22 100%);
    color: #fff;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.sg-promo-modal h2 {
    margin: 0 0 12px;
    color: #202932;
    font-size: 24px;
    line-height: 1.22;
    font-weight: 800;
}

.sg-promo-modal__lead {
    margin: 0 0 18px;
    color: #5d6c7c;
    font-size: 15px;
    line-height: 1.55;
}

.sg-promo-modal__list {
    display: grid;
    gap: 10px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.sg-promo-modal__list li {
    position: relative;
    padding-left: 25px;
    color: #3a4654;
    font-size: 14px;
    line-height: 1.42;
}

.sg-promo-modal__list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    color: #23ad3d;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
}

.sg-promo-modal__conditions {
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f7f9fc;
}

.sg-promo-modal__conditions h3 {
    margin: 0 0 8px;
    color: #202932;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.sg-promo-modal__conditions p {
    margin: 0;
    color: #5d6c7c;
    font-size: 14px;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .sg-promos__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {

    .sg-promos__top {
        display: block;
    }

    .sg-promos__all {
        margin-top: 18px;
    }

    .sg-promos__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .sg-promos__top h2 {
        font-size: 24px;
    }

    .sg-promos__top p,
    .sg-promos__all,
    .sg-promos__note {
        font-size: 14px;
    }

    .sg-promo-card__foot {
        align-items: flex-start;
        flex-direction: column;
    }
}

.sg-promo-modal .sg-button {
    min-height: 46px;
    width: 100%;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.sg-faq {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #dbe3ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: none;
}

.sg-faq__head {
    margin-bottom: 30px;
}

.sg-faq__head h2 {
    margin: 0 0 12px;
    color: #0f1726;
    font-size: 32px;
    line-height: 1.18;
    font-weight: 900;
}

.sg-faq__head p {
    margin: 0;
    color: #6b7588;
    font-size: 17px;
    line-height: 1.45;
}

.sg-faq__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 28px;
    align-items: start;
}

.sg-faq__list {
    min-width: 0;
}

.sg-faq-item {
    margin-bottom: 18px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #fff;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sg-faq-item.is-open {
    border-color: #2582ef;
    box-shadow: 0 12px 28px rgba(29, 126, 232, 0.08);
}

.sg-faq-item__question {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto 22px;
    gap: 16px;
    align-items: center;
    width: 100%;
    min-height: 72px;
    padding: 0 28px 0 24px;
    box-sizing: border-box;
    cursor: pointer;
}

.sg-faq-item__question:focus {
    outline: 2px solid rgba(37, 130, 239, 0.28);
    outline-offset: -2px;
}

.sg-faq-item__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f0f3f7;
    color: #0f1726;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
}

.sg-faq-item.is-open .sg-faq-item__num {
    background: #0d74e8;
    color: #fff;
}

.sg-faq-item__title {
    color: #121826;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 800;
}

.sg-faq-item.is-open .sg-faq-item__title {
    color: #006bd6;
}

.sg-faq-item__rating {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #647086;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
}

.sg-faq-item__rating button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #69758a;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.sg-faq-item__rating button:hover {
    color: #0d74e8;
    transform: translateY(-1px);
}

.sg-faq-item__rating button.is-voted {
    color: #0d74e8;
}

.sg-faq-item__vote-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sg-faq-item__rating strong {
    min-width: 10px;
    color: #47546a;
    font-size: 14px;
    font-weight: 700;
}

.sg-faq-item__chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid #0d74e8;
    border-bottom: 2px solid #0d74e8;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
}

.sg-faq-item.is-open .sg-faq-item__chevron {
    transform: rotate(225deg);
}

.sg-faq-item__answer {
    display: none;
    padding: 0 72px 22px 68px;
    color: #263245;
    font-size: 16px;
    line-height: 1.75;
}

.sg-faq-item.is-open .sg-faq-item__answer {
    display: block;
}

.sg-faq-item__answer p {
    margin: 0 0 7px;
}

.sg-faq-item__answer p:last-child {
    margin-bottom: 0;
}

.sg-faq__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 46px;
    margin: 6px 0 18px;
    padding: 0 26px;
    border: 1px solid #0d74e8;
    border-radius: 5px;
    background: #fff;
    color: #0d74e8;
    font-size: 15px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
}

.sg-faq__more:hover {
    background: #eef6ff;
}

.sg-faq__more[hidden] {
    display: none;
}

.sg-faq__note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    padding: 14px 22px;
    border-radius: 7px;
    background: #f0f5fd;
    color: #5f6d82;
    font-size: 16px;
    line-height: 1.45;
}

.sg-faq__note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    border-radius: 50%;
    background: #0d74e8;
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    font-family: Georgia, serif;
}

.sg-faq__note p {
    margin: 0;
}

.sg-faq-form {
    padding: 26px 26px 28px;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(23, 39, 62, 0.09);
}

.sg-faq-form__head {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    margin-bottom: 30px;
}

.sg-faq-form__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border: 6px solid #dceafe;
    border-radius: 50%;
    background: #eef5ff;
    color: #0d74e8;
    font-size: 34px;
    line-height: 1;
    font-weight: 800;
    box-sizing: border-box;
}

.sg-faq-form__head h3 {
    margin: 0 0 8px;
    color: #121826;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 900;
}

.sg-faq-form__head p,
.sg-faq-form__time p,
.sg-faq-form__privacy p {
    margin: 0;
    color: #6b7588;
    font-size: 15px;
    line-height: 1.55;
}

.sg-faq-form__body input,
.sg-faq-form__body textarea {
    display: block;
    width: 100%;
    border: 1px solid #d2dbe7;
    border-radius: 6px;
    background: #fff;
    color: #182235;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.sg-faq-form__body input {
    height: 60px;
    margin-bottom: 18px;
    padding: 0 18px;
}

.sg-faq-form__body label {
    position: relative;
    display: block;
    margin: 0 0 20px;
}

.sg-faq-form__body textarea {
    min-height: 260px;
    padding: 18px 18px 42px;
    resize: vertical;
}

.sg-faq-form__body input:focus,
.sg-faq-form__body textarea:focus {
    border-color: #2582ef;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 130, 239, 0.12);
}

.sg-faq-form__body .is-error {
    border-color: #de3943;
}

.sg-faq-form__body label > span {
    position: absolute;
    right: 14px;
    bottom: 13px;
    color: #6b7588;
    font-size: 13px;
    line-height: 1;
}

.sg-faq-form__privacy {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    margin-bottom: 28px;
    padding: 16px;
    border: 1px solid #d8e6fb;
    border-radius: 6px;
    background: #f3f7ff;
}

.sg-faq-form__privacy span {
    color: #0d74e8;
    font-size: 30px;
    line-height: 1;
}

.sg-faq-form__body button[type="submit"] {
    width: 100%;
    min-height: 62px;
    border: 0;
    border-radius: 6px;
    background: #0d74e8;
    color: #fff;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(13, 116, 232, 0.28);
}

.sg-faq-form__body button[type="submit"]:hover {
    background: #1d7ee8;
}

.sg-faq-form__status {
    min-height: 20px;
    margin: 12px 0 0;
    color: #de3943;
    font-size: 14px;
    line-height: 1.4;
}

.sg-faq-form__status.is-success {
    color: #1e8e4a;
}

.sg-faq-form__time {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.sg-faq-form__time span {
    color: #6b7588;
    font-size: 20px;
}

.sg-reviews {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.sg-reviews__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 28px;
}

.sg-reviews__top h2 {
    margin: 0 0 12px;
    color: #141b26;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.sg-reviews__top p {
    margin: 0;
    color: #607080;
    font-size: 16px;
    line-height: 1.5;
}

.sg-reviews__submit,
.sg-reviews__note button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #1d7ee8;
    border-radius: 4px;
    background: #fff;
    color: #006bd6;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    cursor: pointer;
    white-space: nowrap;
}

.sg-reviews__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.sg-review-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
}

.sg-review-card__head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.sg-review-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border-radius: 50%;
    background: #dbe7f5;
    color: #1b4f8c;
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
}

.sg-review-avatar--blue { background: #d9ecff; color: #175b9f; }
.sg-review-avatar--rose { background: #ffe0df; color: #9b3634; }
.sg-review-avatar--green { background: #dff2e6; color: #1d6d3a; }
.sg-review-avatar--dark { background: #283746; color: #fff; }

.sg-review-card__head strong {
    display: block;
    color: #1f2833;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
}

.sg-review-card__head span:not(.sg-review-avatar) {
    display: block;
    color: #6b7a8b;
    font-size: 13px;
    line-height: 1.3;
}

.sg-review-card__rating {
    text-align: right;
}

.sg-review-card__rating span {
    display: block;
    color: #0b73dc;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
}

.sg-review-card__rating small {
    display: block;
    margin-top: 7px;
    color: #778698;
    font-size: 12px;
    line-height: 1.2;
}

.sg-review-card > p {
    min-height: 108px;
    margin: 0 0 16px;
    color: #445366;
    font-size: 15px;
    line-height: 1.55;
}

.sg-review-card__image,
.sg-review-video img {
    display: block;
    width: 100%;
    aspect-ratio: 1.62;
    border-radius: 4px;
    object-fit: cover;
    background: #edf2f6;
}

.sg-review-card__thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.sg-review-card__thumbs img,
.sg-review-card__thumbs span {
    width: 100%;
    aspect-ratio: 1.22;
    border-radius: 4px;
    object-fit: cover;
    background: #e8eef5;
}

.sg-review-card__thumbs span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(15, 29, 45, 0.62), rgba(15, 29, 45, 0.62)), url('/IMG/vorota-mini.jpg') center/cover;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}

.sg-review-video {
    position: relative;
}

.sg-review-video span {
    position: absolute;
    left: 50%;
    top: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    background: rgba(15, 29, 45, 0.28);
    font-size: 24px;
    transform: translate(-50%, -50%);
}

.sg-review-video small {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 3px 7px;
    border-radius: 4px;
    background: rgba(15, 29, 45, 0.72);
    color: #fff;
    font-size: 12px;
}

.sg-review-video__link {
    display: block;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #006bd6;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
    cursor: pointer;
}

.sg-review-card__foot {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
    color: #617184;
    font-size: 14px;
}

.sg-review-card__foot button {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #006bd6;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.sg-reviews__summary {
    display: grid;
    grid-template-columns: 260px repeat(3, minmax(0, 1fr));
    gap: 28px;
    align-items: center;
    margin-top: 24px;
    padding: 24px 28px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
}

.sg-reviews__score {
    padding-right: 28px;
    border-right: 1px solid #dbe3ec;
}

.sg-reviews__score strong {
    display: block;
    color: #0b73dc;
    font-size: 42px;
    line-height: 1;
    font-weight: 800;
}

.sg-reviews__score span {
    display: block;
    margin-top: 7px;
    color: #0b73dc;
    font-size: 22px;
    line-height: 1;
}

.sg-reviews__score small {
    display: block;
    margin-top: 9px;
    color: #617184;
    font-size: 13px;
}

.sg-reviews__feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sg-reviews__feature i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 2px solid #7e8ca0;
    border-radius: 50%;
    color: #526276;
    font-style: normal;
    font-size: 20px;
}

.sg-reviews__feature strong {
    display: block;
    margin-bottom: 7px;
    color: #202932;
    font-size: 15px;
    line-height: 1.25;
    font-weight: 800;
}

.sg-reviews__feature p {
    margin: 0;
    color: #667586;
    font-size: 14px;
    line-height: 1.45;
}

.sg-reviews__note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 24px;
    padding: 14px 18px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f6f8fb;
    color: #6a7380;
    font-size: 15px;
    line-height: 1.4;
}

.sg-reviews__note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #8fc4f2;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: Georgia, serif;
}

.sg-reviews__note p {
    flex: 1 1 auto;
    margin: 0;
}

.sg-review-modal__dialog {
    max-width: 600px;
}

.sg-review-modal__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.sg-review-modal h2 {
    margin: 0 0 4px;
    color: #202932;
    font-size: 24px;
    line-height: 1.22;
    font-weight: 800;
}

.sg-review-modal__head p {
    margin: 0;
    color: #687789;
    font-size: 14px;
}

.sg-review-modal__stars {
    margin-bottom: 16px;
    color: #0b73dc;
    font-size: 20px;
    line-height: 1;
}

.sg-review-modal__text {
    margin: 0 0 18px;
    color: #3e4c5c;
    font-size: 15px;
    line-height: 1.58;
}

.sg-review-modal__details {
    padding: 16px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f7f9fc;
    color: #536273;
    font-size: 14px;
    line-height: 1.5;
}

.sg-components {
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    box-shadow: none;
}

.sg-components__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
}

.sg-components__top h2 {
    margin: 0 0 14px;
    color: #141b26;
    font-size: 28px;
    line-height: 1.18;
    font-weight: 800;
}

.sg-components__top p {
    max-width: 600px;
    margin: 0;
    color: #607080;
    font-size: 16px;
    line-height: 1.55;
}

.sg-components__all,
.sg-components__note button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 22px;
    border: 1px solid #1d7ee8;
    border-radius: 4px;
    background: #fff;
    color: #006bd6;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.sg-components__all {
    gap: 8px;
}

.sg-components__all:hover,
.sg-components__note button:hover {
    background: #1d7ee8;
    color: #fff;
    text-decoration: none;
}

.sg-components__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.sg-component-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 274px;
    flex-direction: column;
    padding: 12px 12px 42px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.sg-component-card:hover {
    border-color: #b8d4f1;
    box-shadow: 0 14px 28px rgba(20, 50, 82, 0.08);
    transform: translateY(-1px);
}

.sg-component-card img {
    display: block;
    width: 100%;
    aspect-ratio: 1.57;
    margin-bottom: 14px;
    border-radius: 4px;
    object-fit: contain;
    background: #fff;
}

.sg-component-card h3 {
    margin: 0 0 12px;
    color: #006bd6;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 800;
}

.sg-component-card p {
    margin: 0;
    color: #405168;
    font-size: 14px;
    line-height: 1.55;
}

.sg-component-card__arrow {
    position: absolute;
    right: 16px;
    bottom: 14px;
    color: #006bd6;
    font-size: 25px;
    line-height: 1;
}

.sg-components__note {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 28px;
    padding: 14px 18px;
    border: 1px solid #dbe3ec;
    border-radius: 6px;
    background: #f6f8fb;
    color: #6a7380;
    font-size: 15px;
    line-height: 1.4;
}

.sg-components__note > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 50%;
    background: #8fc4f2;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    font-family: Georgia, serif;
}

.sg-components__note p {
    flex: 1 1 auto;
    margin: 0;
}

@media (max-width: 1180px) {
    .sg-faq__layout {
        grid-template-columns: 1fr;
    }

    .sg-faq-form {
        max-width: 520px;
    }

    .sg-components__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {

    .sg-faq-item__question {
        grid-template-columns: 30px minmax(0, 1fr) 22px;
        min-height: auto;
        padding: 18px;
    }

    .sg-faq-item__rating {
        grid-column: 2 / 3;
        justify-content: flex-start;
    }

    .sg-faq-item__chevron {
        grid-column: 3;
        grid-row: 1;
    }

    .sg-faq-item__answer {
        padding: 0 18px 20px 64px;
    }


    .sg-components__top,
    .sg-components__note {
        display: block;
    }

    .sg-components__all,
    .sg-components__note button {
        margin-top: 16px;
    }

    .sg-components__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {

    .sg-faq__head h2 {
        font-size: 24px;
    }

    .sg-faq__head p,
    .sg-faq-item__answer,
    .sg-faq__note,
    .sg-faq-form__head p,
    .sg-faq-form__time p,
    .sg-faq-form__privacy p {
        font-size: 14px;
    }

    .sg-faq-item__question {
        grid-template-columns: 30px minmax(0, 1fr) 18px;
        gap: 12px;
        padding: 16px;
    }

    .sg-faq-item__title {
        font-size: 16px;
    }

    .sg-faq-item__rating {
        gap: 7px;
        font-size: 13px;
    }

    .sg-faq-item__rating button {
        width: 20px;
        height: 20px;
        font-size: 20px;
    }

    .sg-faq-item__answer {
        padding: 0 16px 18px;
    }

    .sg-faq__note {
        align-items: flex-start;
        padding: 14px;
    }

    .sg-faq-form {
        padding: 18px;
    }

    .sg-faq-form__head {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 14px;
        margin-bottom: 22px;
    }

    .sg-faq-form__icon {
        width: 52px;
        height: 52px;
        font-size: 28px;
    }

    .sg-faq-form__head h3 {
        font-size: 22px;
    }

    .sg-faq-form__body textarea {
        min-height: 190px;
    }


    .sg-components__top h2 {
        font-size: 24px;
    }

    .sg-components__top p,
    .sg-components__all,
    .sg-components__note {
        font-size: 14px;
    }

    .sg-components__grid {
        grid-template-columns: 1fr;
    }

    .sg-component-card {
        min-height: 0;
    }
}

@media (max-width: 900px) {
    .sg-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sg-reviews__summary {
        grid-template-columns: 1fr 1fr;
    }

    .sg-reviews__score {
        border-right: 0;
        padding-right: 0;
    }
}

@media (max-width: 760px) {

    .sg-reviews__top,
    .sg-reviews__note {
        display: block;
    }

    .sg-reviews__submit,
    .sg-reviews__note button {
        margin-top: 16px;
    }

    .sg-reviews__grid,
    .sg-reviews__summary {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {

    .sg-reviews__top h2 {
        font-size: 24px;
    }

    .sg-review-card__head {
        grid-template-columns: 44px minmax(0, 1fr);
    }

    .sg-review-card__rating {
        grid-column: 1 / -1;
        text-align: left;
    }
}
