@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@250;300;500&family=Manrope:wght@600&display=swap');

.sp-calculator {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 80px;
}
.sp-parameter-text .description ul, li {
    text-align: left;
}

.sp-calculator-header {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
    background: transparent;
    display: flex;
    justify-content: flex-end;
    box-shadow: none;
}

.sp-calculator-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: #333;
}

.sp-calculator-header .description {
    margin: 0;
    color: #666;
}

.sp-calculator-header.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    max-width: 1200px;
    width: calc(100% - 40px);
    background: transparent;
    box-shadow: none;
}

.sp-calculator-summary {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 15px;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

.sp-calculator-summary-inner {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.sp-total-wrapper {
    width: 376px;
    display: flex;
    background: #FFD600;
}

.sp-total {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    border-right: 1px dashed #000;
}

.sp-total-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 28px;
    line-height: 48px;
    color: #000;
}

.sp-total-amount {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    font-size: 51px;
    color: #000;
    display: flex;
    align-items: center;
}

.sp-total-amount:before {
    content: '$';
    font-family: 'Poppins', sans-serif;
    font-weight: 250;
    font-size: 46px;
    margin-right: 5px;
}

.sp-show-details {
    flex: 1;
    background: #FFD600;
    color: #000;
    border: none;
    padding: 15px;
    cursor: pointer;
    white-space: normal;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-width: 120px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.sp-show-details:after {
    content: '→';
    font-size: 50px;
    margin-top: 0px;
    font-weight: 200;
}

.sp-show-details:hover {
    background: #FFE44D;
}

.sp-parameters {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    margin: 0;
    align-items: stretch;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #FFD600 #f1f1f1;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

.sp-parameters-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ffd60000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sp-parameters-arrow .arrow-icon {
    width: 20px;
    height: 20px;
    fill: #000;
}

.sp-parameters-prev .arrow-icon {
    transform: rotate(180deg);
}

.sp-parameters-arrow:hover {
    background: #ffe44d00;
    transform: translateY(-50%) scale(1.1);
}

.sp-parameters-prev {
    left: 10px;
}

.sp-parameters-next {
    right: 10px;
}

/* Стилизация скроллбара для Webkit браузеров */
.sp-parameters::-webkit-scrollbar {
    height: 8px;
}

.sp-parameters::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.sp-parameters::-webkit-scrollbar-thumb {
    background: #FFD600;
    border-radius: 4px;
}

.sp-parameters::-webkit-scrollbar-thumb:hover {
    background: #FFE44D;
}

/* Стили для первой секции */
.sp-section[data-section-id="1"] .sp-parameters {
    justify-content: flex-start; /* Восстанавливаем дефолтные стили для десктопа */
    /* Удаляем грид-стили отсюда */
}

.sp-section[data-section-id="1"] .sp-parameters::-webkit-scrollbar {
    /* Удаляем стили скроллбара отсюда */
    height: 8px; /* Восстанавливаем дефолтное значение */
}

/* Удаляем явное позиционирование для каждого параметра отсюда */
/* .sp-section[data-section-id="1"] .sp-parameter-4, ... */

.sp-parameter {
    cursor: pointer;
    padding: 0;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    background: transparent;
    height: 100%;
    margin-bottom: 15px;
    flex: 1;
    min-width: 200px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* Стили для случая, когда параметров меньше 3 (кроме первой секции) */
.sp-section:not([data-section-id="1"]) .sp-parameters:has(.sp-parameter:nth-child(1):nth-last-child(1)),
.sp-section:not([data-section-id="1"]) .sp-parameters:has(.sp-parameter:nth-child(1):nth-last-child(2)) {
    .sp-parameter {
        flex: 0 0 calc(33.333% - 14px);
    }
}

.sp-parameter:hover {
    background: transparent;
}

.sp-parameter.selected {
    border: 1px solid #000;
    box-shadow: none;
}

.sp-parameter-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    width: 100%;
    padding: 15px;
    overflow: hidden;
}

.sp-parameter-image {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-shrink: 0;
    margin-top: -15px;
    margin-left: -15px;
    margin-right: -15px;
    overflow: hidden;
    padding: 0 15px;
}

.sp-parameter-image img {
    width: 100% !important;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    border-radius: 5px 5px 0 0;
}

/* Специальные стили для секции с размерами столов */
.sp-section[data-section-id="1"] .sp-parameter-image {
    align-items: flex-start;
    justify-content: center;
    min-height: 0px;
    padding: 0 0px;
}

.sp-section[data-section-id="1"] .sp-parameter-image img {
    object-position: bottom;
    height: 400px;
    object-fit: contain;
}

.sp-section[data-section-id="2"] .sp-parameter-image {
    padding: 0 1px!important;
}

/* Стили для остальных секций */
.sp-section:not([data-section-id="1"]) .sp-parameter-image {
    align-items: flex-start;
    padding: 0 5px;
}

.sp-section:not([data-section-id="1"]) .sp-parameter-image img {
    object-position: top;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Удаляем эффект при наведении */
.sp-parameter:hover .sp-parameter-image img {
    transform: none;
}

.sp-parameter-text {
    text-align: center;
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-grow: 1;
    min-height: 100px;
}

.sp-parameter-text h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
}

.sp-parameter-text h4.italic {
    font-style: italic;
    color: #666;
    margin: 0;
    font-size: 18px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
}

.sp-parameter-text .description {
    margin: 10px 0 0 0;
    color: #666;
    font-size: 14px;
    text-align: left;
    width: 100%;
    flex-grow: 1;
    overflow: visible;
    text-overflow: clip;
}

.sp-parameter-text .description ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: left;
    width: 100%;
}

.sp-parameter-text .description ul li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
    line-height: 1.4;
    text-align: left;
    width: 100%;
}

.sp-parameter-text .description ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

.sp-parameter-link {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

.sp-parameter-link:hover {
    text-decoration: underline;
}

.sp-details-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sp-details-content {
    position: relative;
    background: white;
    width: 90%;
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.sp-details-content h3 {
    margin: 0 0 20px;
    font-size: 20px;
    color: #333;
}

.sp-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.sp-details-table th,
.sp-details-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.sp-details-table th {
    font-weight: bold;
    color: #333;
    background-color: #f8f9fa;
}

.sp-details-table td:last-child {
    text-align: right;
}

.sp-details-table tfoot td {
    border-top: 2px solid #ddd;
    font-weight: bold;
    background-color: #f8f9fa;
}

.sp-details-table tfoot td:last-child {
    text-align: right;
}

.sp-close-details {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.sp-close-details:hover {
    color: #333;
}

.sp-section {
    margin-bottom: 40px;
    padding: 20px;
    background: #F4F5F5;
    display: flex;
    flex-direction: column;
}

.sp-section h3 {
    margin-top: 0;
    color: #333;
}

.sp-section p {
    color: #666;
    margin-bottom: 20px;
}

/* Стили для шаблона 1 */
.sp-parameter.template1 {
    border: none;
}

.sp-parameter.template1:hover {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sp-parameter.template1.selected {
    border: 1px solid #000;
    box-shadow: none;
}

/* Стили для шаблона 2 */
.sp-parameter.template2 {
    background-color: transparent;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.sp-parameter.template2 .sp-parameter-content {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    display: flex;
}

.sp-parameter.template2:hover {
    background-color: transparent;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.sp-parameter.template2 .sp-parameter-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.sp-parameter.template2 .sp-parameter-text h4 {
    color: #333;
    margin-bottom: 10px;
}

.sp-parameter.template2 .sp-parameter-text p {
    color: #666;
}

@media (max-width: 768px) {

    .sp-parameter-text h4 {
        margin: 0;
        font-size: 14px!important;
        color: #333;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 10px!important;
    }
.sp-popup-button[data-popup-id="1009"] {
    margin-top: 0px!important;
}
h4.customtitle-27 {
    padding-bottom: 0px!important;
}
    h4.customtitle-10 {
        font-size: 10px !important;
    }
    h4.customtitle-14 {
        font-size: 9px !important;
    }
    h4.customtitle-15 {
        font-size: 10px !important;
    }
    .sp-parameter-text h4 {
        margin-top: -10px!important;
    }
    .sp-parameter-text .description {
        margin: 0px!important;
    }

    .sp-section[data-section-id="2"] .sp-parameter-text {
        padding: 3px !important;
    }
    .sp-section[data-section-id="2"] .sp-parameter-text h4.italic {
        font-size: 11px !important;
    }
    .sp-parameter.template1.selected {
        border: 1px solid #0000002b;
        
    }
    
    .sp-parameter-text h4.italic {
        font-style: italic;
        color: #666;
        margin: 0;
        font-size: 12px !important;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        min-height: 10px!important;
    }

    .sp-parameter-text .description ul {
        font-family: 'Poppins', sans-serif;
        font-weight: 400;
        font-size: 9px!important;
        line-height: 28px;
        color: #282938;
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .sp-calculator-header {
        display: none;
    }

    .sp-total-wrapper {
        width: 100%;
        margin-top: 0px;
    }

    .sp-total {
        flex-wrap: wrap;
        justify-content: center;
    }

    .sp-parameters {
        display: flex;
        flex-wrap: nowrap;
        gap: 20px;
        overflow-x: auto;
        padding-bottom: 10px;
        scrollbar-width: thin;
        -ms-overflow-style: scrollbar;
    }

    .sp-parameters::-webkit-scrollbar {
        height: 8px;
        display: block;
    }

    /* Стили для первой секции */
    .sp-section[data-section-id="1"] .sp-parameters {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: repeat(2, 100px); /* Обе строки по 100px */
        gap: 15px;
        margin: 0 -15px;
        padding: 10px 15px;
        flex-wrap: wrap;
        overflow-x: visible;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sp-section[data-section-id="1"] .sp-parameters::-webkit-scrollbar {
        display: none;
    }

    /* Явное позиционирование для каждого параметра в первом блоке */
    .sp-section[data-section-id="1"] .sp-parameter-4 {
        grid-column: 1;
        grid-row: 1;
    }

    .sp-section[data-section-id="1"] .sp-parameter-5 {
        grid-column: 1;
        grid-row: 2;
    }

    .sp-section[data-section-id="1"] .sp-parameter-6 {
        grid-column: 2;
        grid-row: 1 / span 2; /* Занимает две строки */
    }

    .sp-section[data-section-id="1"] .sp-parameter-7 {
        grid-column: 3;
        grid-row: 1 / span 2; /* Занимает две строки */
    }

    .sp-parameter {
        /* flex: 0 0 calc(33% - 10px) !important; */ /* Удаляем или комментируем */
        /* min-width: 180px !important; */ /* Удаляем или комментируем */
        width: auto !important;
    }

    .sp-section-title h2 {
        font-size: 25px;
        line-height: 12px!important;
    }

    .sp-show-details:after {
        content: '→';
        font-size: 52px;
        margin-top: 0px;
        font-weight: 200;
    }

    /* Стили для элементов внутри параметров первого блока */
    .sp-section[data-section-id="1"] .sp-parameter {
        flex: none !important;
        min-width: auto !important; 
        width: auto !important;
        height: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .sp-section[data-section-id="1"] .sp-parameters-next {
        display: none;
    }

    .sp-section[data-section-id="2"] .sp-parameter {
        min-width: 105px!important;
    }


    

    .sp-section[data-section-id="1"] .sp-parameter-content {
        height: 100% !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0;
    }

    .sp-section[data-section-id="1"] .sp-parameter-image-wrapper {
        flex-grow: 1;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100% !important; /* Занимаем всю высоту */
        max-height: 100% !important; /* Ограничиваем максимальную высоту */
    }

     .sp-section[data-section-id="1"] .sp-parameter-image {
        flex-grow: 1;
        flex-shrink: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0;
        padding: 0;
        width: 100%;
        height: 100% !important; /* Занимаем всю высоту */
        max-height: 100% !important; /* Ограничиваем максимальную высоту */
     }

    .sp-section[data-section-id="1"] .sp-parameter-image img {
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        object-fit: contain;
        border-radius: 5px 5px 0 0;
    }

    .sp-section[data-section-id="1"] .sp-parameter-text {
        flex-grow: 0;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        text-align: center;
        height: auto;
    }

    /* Стили для второй секции на мобильной версии */
    .sp-section[data-section-id="2"] .sp-parameters {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Три колонки равной ширины */
        gap: 15px; /* Промежутки между элементами */
        flex-wrap: wrap; /* Разрешаем перенос */
        overflow-x: visible; /* Отключаем горизонтальную прокрутку */
        padding-bottom: 0; /* Убираем padding */
        scrollbar-width: none; /* Скрываем скроллбар */
        -ms-overflow-style: none;  /* Скрываем скроллбар */
    }

    .sp-section[data-section-id="2"] .sp-parameters::-webkit-scrollbar {
        display: none; /* Скрываем скроллбар для Webkit */
    }

    /* Стили для изображений во второй секции на мобильной версии */
    .sp-section[data-section-id="2"] .sp-parameter-image img {
        width: 100%; /* Занимаем всю ширину контейнера */
        height: auto; /* Высота автоматическая для сохранения пропорций */
        /* Удаляем max-width и max-height */
        object-fit: contain; /* Сохраняем пропорции */
    }

    /* Корректируем padding для контейнеров внутри параметров на мобильной версии */
    .sp-parameter-content {
        padding: 10px; /* Уменьшаем или корректируем padding */
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 0;
    }

    .sp-parameter-image {
        padding: 0; /* Убираем padding у контейнера изображения */
        margin: 0;
        width: 100%;
        height: auto; /* Или 100% если нужно чтобы контейнер занимал всю высоту */
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* Стили для сворачиваемого описания во второй секции */
    .sp-section[data-section-id="2"] .sp-description-collapsible {
        max-height: 40px !important; /* Изменяем с 0 на небольшое значение */
        overflow: hidden !important;
        transition: max-height 0.3s ease;
        position: relative;
    }

    .sp-section[data-section-id="2"] .sp-description-collapsible.active {
        max-height: 1000px !important; /* Увеличиваем или подбираем значение, достаточное для всего контента */
    }

    /* Градиент для скрытого описания */
    .sp-section[data-section-id="2"] .sp-description-collapsible:not(.active)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px; /* Высота градиента */
        background: linear-gradient(to top, #FFFFFF, transparent); 
        pointer-events: none; /* Не блокируем взаимодействие с текстом под градиентом */
    }
}

.sp-parameter.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background-color: #f5f5f5;
}

.sp-parameter.disabled:hover {
    transform: none;
    box-shadow: none;
}

.sp-parameter.disabled::after {
    content: 'Unavailable';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 14px;
    pointer-events: none;
}

.sp-parameter.restricted {
    border-color: #ff6b6b;
}

.sp-parameter.restricted::after {
    background-color: rgba(255, 107, 107, 0.9);
}

/* Добавляем стили для тултипа */
.sp-parameter[title] {
    position: relative;
}

.sp-parameter[title]:hover::before {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

.sp-calculator-footer {
    margin-top: 20px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sp-show-details {
    padding: 8px 15px;
    background-color: #FFD600;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 23px;
    line-height: 34px;
    color: #000;
}

.sp-show-details:hover {
    background-color: #231f20;
}

.sp-details-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
    z-index: 1000;
    max-width: 100%;
    max-height: 100%;
    overflow-y: auto;
}

.sp-details-content {
    position: relative;
}

.sp-details-content h3 {
    margin-top: 0;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.sp-details-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.sp-details-table th,
.sp-details-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.sp-details-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

.sp-details-table tfoot {
    font-weight: bold;
}

.sp-close-details {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
}

.sp-close-details:hover {
    color: #333;
}

@media (max-width: 768px) {
    .sp-calculator-footer {
        flex-direction: column;
        gap: 15px;
    }
    
    .sp-total {
        flex-direction: column;
        align-items: center;
    }
    
    .sp-details-popup {
        width: 95%;
        padding: 15px;
    }
}

.sp-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sp-section-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    width: 60%;
}

.sp-section-video {
    display: flex;
    justify-content: flex-end;
    width: 40%;
}

/* Стили когда есть кнопка видео */
.sp-section-header.has-video .sp-section-left {
    width: 70%;
}

.sp-section-header.has-video .sp-section-video {
    width: 30%;
}

.sp-section-number {
    flex-shrink: 0;
    margin-top: 0;
}

.sp-section-title {
    flex-grow: 1;
    padding-top: 0;
}

.sp-section-title h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.sp-section-description {
    margin: 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.sp-video-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 5px;
    background: #FFD600;
    border: none;
    border-radius: 40px!important;
    color: #000;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0px!important;
    font-size: 8px!important;
    white-space: nowrap;
}

.sp-video-button:hover {
    background: #231f20;
    color: #fff;
}

.sp-video-button:hover i {
    color: #fff;
}
h4.customtitle-27 {
    padding-top: 8px;
    padding-bottom: 6px;
}
.sp-popup-button[data-popup-id="1009"] {
    margin-top: 23px;
}

@media (max-width: 768px) {
    .sp-section-header {
        flex-direction: row;
        align-items: center;
        gap: 10px;
        padding: 10px;
    }

    

    .sp-section[data-section-id="7"] + .sp-navigation{
        padding-top: 73px!important;
    }
    .sp-section[data-section-id="6"] + .sp-navigation{
        padding-top: 0px!important;
    }
    .sp-section[data-section-id="5"] + .sp-navigation{
        padding-top: 48px!important;
    }
    .sp-section[data-section-id="4"] + .sp-navigation{
        padding-top: 59px!important;
    }
    .sp-section[data-section-id="3"] + .sp-navigation{
        padding-top: 6px!important;
    }
    .sp-section[data-section-id="2"] + .sp-navigation{
        padding-bottom: 30px!important;
        padding-top: 56px!important;
    }

    .sp-section-header .sp-section-left {
        width: 90%!important;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }

    .sp-section-header .sp-section-number {
        width: 15%;
        flex-shrink: 0;
    }

    .sp-section-header .sp-section-title {
        width: 55%;
        flex-grow: 1;
    }

    .sp-section-header .sp-section-video {
        width: 10%!important;
        display: flex;
        justify-content: flex-end;
    }

    .sp-section-title h2 {
        font-size: 15px!important;
        margin: 0;
        line-height: 1.2;
    }

    .sp-section-description {
        font-size: 10px!important;
        margin: 5px 0 0 0;
        line-height: 18px!important;
    }

    .sp-video-button {
        padding: 5px 5px;
        font-size: 12px;
        white-space: nowrap;
    }

    .sp-video-button i {
        font-size: 14px;
        width: 14px;
        height: 14px;
    }
}

.sp-parameter-text .description ul, 
.sp-parameter-text .description ul li {
    text-align: left !important;
}

.sp-parameter-text .description ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #666;
}

.sp-parameter-popup-btn {
    margin-top: 15px;
    text-align: center;
    width: 100%;
    flex-shrink: 0;
}

.elementor-popup-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.elementor-popup-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

.sp-popup-button {
    background: #FFD600;
    border: none;
    padding: 9px 24px;
    border-radius: 23px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    color: #000;
}

.sp-popup-button:hover {
    background-color: #231f20;
}

.sp-popup-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 214, 0, 0.5);
}

.sp-video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1001;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.sp-video-popup-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    margin: 50px auto;
    padding: 35px;
    border-radius: 8px;
}

.sp-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin: 8px;
}

.sp-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sp-close-video {
    position: absolute;
    top: 3px!important;
    right: 3px!important;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #ffffff;
}

.sp-close-video:hover {
    color: #969696;
    background: #ffffff00;
}

@media (max-width: 768px) {
    .sp-video-popup-content {
        width: 95%;
        margin: 20px auto;
    }
}

/* Общие стили для изображений параметров */
.sp-parameter:hover .sp-parameter-image img {
    transform: none;
}

@media (max-width: 768px) {
    .sp-parameter {
        min-width: 100%;
    }
    
    .sp-parameter-image {
        padding: 0 15px;
    }
    
    .sp-parameter-image img {
        max-height: 300px;
    }


    .sp-section[data-section-id="1"] .sp-parameter-image {
        align-items: flex-end;
        min-height: 200px!important;
        padding: 0 0px!important;
    }

    .sp-section[data-section-id="1"] .sp-parameter-image img {
        width: 100% !important;
        height: 100% !important; /* Устанавливаем высоту 100% */
        max-height: 100% !important;
        object-fit: contain;
        object-position: center; /* Центрируем изображение */
        border-radius: 5px 5px 0 0;
    }

    .sp-section:not([data-section-id="1"]) .sp-parameter-image img {
        max-height: 300px;
    }
}

@media (max-width: 768px) {
    
    .sp-section-description {
        font-size: 11px;
        line-height: 27px;
    }
    
    .sp-total-label {
        font-size: 20px;
        line-height: 8px;
    }
    
    .sp-show-details {
        font-size: 20px;
        line-height: 24px;
    }
    
    .sp-total {
        padding: 15px 0px 0px 0px;
    }
    
    .sp-calculator {
        padding: 20px 0px;
    }
    
    .sp-calculator-header.fixed {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: white;
        padding: 10px;
        box-shadow: 0 -2px 4px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    .sp-total-wrapper {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .sp-total {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .sp-total-label {
        font-size: 14px;
        color: #666;
        line-height: 1;
    }

    .sp-total-amount {
        font-size: 24px;
        font-weight: 600;
        color: #000;
        margin-top: 4px;
    }

    .sp-total-amount:before {
        content: '$';
        font-size: 20px;
        margin-right: 2px;
    }
}

/* Popup styles */
.sp-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.sp-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.sp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Мобильная версия */
@media (max-width: 768px) {

    [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
        color: #000!important;
        background-color: #ffde17!important;
    }

    .sp-calculator {
        display: flex;
        flex-direction: column;
        padding-bottom: 20px;
    }

    button.sp-check-stock-button {
        color: #000 !important;
        background-color: #ffde17 !important;
        border-radius: 40px;
        border: 1px solid #1e1e1e;
    }
    
    .sp-navigation-container {
        margin-bottom: 20px;
        padding: 10px;
        background: white;
        order: -1; /* Перемещаем навигацию в начало */
    }

    .sp-section {
        display: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .sp-section.active {
        display: block;
    }

    .sp-navigation {
        display: flex;
        justify-content: flex-end;
        margin-top: 20px;
        padding: 0 10px;
    }

    .sp-nav-button {
        background: #FFDE17;
        border: none;
        color: #000;
        font-size: 16px;
        cursor: pointer;
        padding: 8px 15px;
        display: flex;
        align-items: center;
        gap: 8px;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        position: relative;
        border-radius: 4px;
        transition: all 0.3s ease;
    }

    #sp-prev {
        padding-left: 30px;
        background: #FFF5D1;
        margin-right: 10px;
        border-radius: 40px;
    }

    #sp-next {
        padding-right: 30px;
        border-radius: 40px;
    }

    #sp-prev:before {
        content: '←';
        position: absolute;
        left: 8px;
        font-size: 20px;
    }

    #sp-next:after {
        content: '→';
        position: absolute;
        right: 8px;
        font-size: 20px;
    }

    /* Специальные стили для первой секции */
    .sp-section[data-section-id="1"] + .sp-navigation {
        justify-content: flex-end;
        padding-bottom: 35px;
    }

    .sp-section:not([data-section-id="1"]) + .sp-navigation {
        justify-content: space-between;
        padding-bottom: 50px;
        padding-top: 20px;
    }

    .sp-parameter-content {
        padding: 15px 0px 15px 0px;
    }

    .sp-progress {
        display: flex;
        align-items: center;
        overflow-x: auto;
        white-space: nowrap;
        padding: 5px 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .sp-progress::-webkit-scrollbar {
        display: none;
    }

    .sp-progress-item {
        display: inline-block;
        padding: 5px 10px;
        color: #666;
        font-size: 12px;
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .sp-progress-item.active {
        color: #000000;
        text-decoration: underline;
    }

    .sp-progress-bar {
        height: 3px;
        background: #eee;
        margin-top: 5px;
        position: relative;
    }

    .sp-progress-bar-fill {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        background: #FFDE17;
        transition: width 0.3s ease;
    }
}

@media (max-width: 768px) {
    .sp-mobile-price {
        position: sticky;
        bottom: 0;
        width: 100%;
        background: white;
        z-index: 100;
        margin-top: auto;
        padding: 0px 0px 10px 0px;
    }

    .sp-mobile-price-box {
        display: flex;
        align-items: center;
        padding: 0px;
        border-top: 1px solid #d3d3d3;
        background: white;
    }

    .sp-mobile-price-left {
        width: 30%;
        padding-right: 15px;
        border-right: 1px dashed #000;
    }

    .sp-mobile-price-text {
        font-family: 'Poppins', sans-serif;
        font-size: 14px;
        line-height: 1.4;
        color: #3f3f3f;
        padding-top: 15px;
        padding-left: 10px;
        padding-bottom: 10px;
    }

    .sp-mobile-price-right {
        width: 70%;
        padding-left: 15px;
    }

    .sp-mobile-price-amount {
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 24px;
        color: #000;
    }
}

.sp-section-number svg {
    width: 36px;
    height: 36px;
}

.sp-section-number svg circle {
    fill: #FFD600;
}

.sp-section-number svg text {
    fill: #000;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: bold;
    dominant-baseline: middle;
    text-anchor: middle;
}

@media (max-width: 768px) {
    .sp-section-number svg {
        width: 30px;
        height: 30px;
    }

    .sp-section-number svg text {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .sp-section:last-child .sp-navigation {
        justify-content: center;
    }

    .sp-section:last-child #sp-next {
        display: none !important;
    }

    .sp-section:last-child .sp-check-stock-button {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        padding: 12px 24px;
        background: #FFD600;
        color: #000;
        border: none;
        border-radius: 40px;
        font-family: 'Poppins', sans-serif;
        font-weight: 500;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
        margin: 0 auto;
    }

    .sp-section:last-child .sp-check-stock-button:hover {
        background: #231f20;
        color: #fff;
    }
}

.sp-nav-button.hidden {
    display: none !important;
}

.sp-nav-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sp-nav-button {
    background: #FFDE17;
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    position: relative;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.sp-nav-button:disabled {
    background: #F5F5F5!important;
    color: #999;
    cursor: not-allowed;
    opacity: 1;
}

#sp-next {
    padding-right: 30px;
    border-radius: 40px;
}

#sp-next:after {
    content: '→';
    position: absolute;
    right: 8px;
    font-size: 20px;
}

.sp-navigation-container {
    position: relative;
    margin-bottom: 20px;
    padding: 10px 50px;
    background: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sp-navigation-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #ffd600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.sp-navigation-arrow:hover {
    background: #ffe44d;
    transform: translateY(-50%) scale(1.1);
}

.sp-navigation-prev {
    left: 0;
}

.sp-navigation-next {
    right: 0;
}

.sp-navigation-arrow .arrow-icon {
    width: 10px;
    height: 10px;
    fill: #000;
}

.sp-navigation-prev .arrow-icon {
    transform: rotate(180deg);
}

.sp-progress {
    width: 100%;
    display: flex;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    margin: 0 10px;
}

.sp-progress::-webkit-scrollbar {
    display: none;
}

.sp-progress-item {
    display: inline-block;
    padding: 5px 10px;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.sp-progress-item.active {
    color: #000000;
    text-decoration: underline;
}

.sp-progress-bar {
    width: 100%;
    height: 3px;
    background: #eee;
    margin-top: 5px;
    position: relative;
}

.sp-progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #FFDE17;
    transition: width 0.3s ease;
}

.sp-section[data-section-id="1"] .sp-parameter-content {
    height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 10px;
}

.sp-section[data-section-id="1"] .sp-parameter-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: center;
}

.sp-description-toggle {
    width: 20px;
    height: 20px;
    background: #ffd60000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    margin: 10px;
    position: absolute;
    left: 0;
    top: 85%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sp-section[data-section-id="2"] {
    position: relative;
    padding-left: 40px;
}

.sp-section[data-section-id="2"] .sp-description-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.sp-section[data-section-id="2"] .sp-description-collapsible.active {
    max-height: 1000px;
}

/* Стили для SVG стрелки */
.sp-description-toggle .arrow-icon {
    width: 10px; /* Размер SVG */
    height: 10px; /* Размер SVG */
    fill: #000; /* Цвет стрелки */
    transform: rotate(90deg); /* Поворот для стрелки вниз */
    transition: transform 0.3s ease; /* Плавный переход при повороте */
}

.sp-description-toggle.active .arrow-icon {
    transform: rotate(-90deg); /* Поворот для стрелки вверх */
}

/* Стили для третьей секции */
.sp-section[data-section-id="3"] {
    position: relative;
    padding-left: 40px;
}

.sp-section[data-section-id="3"] .sp-description-collapsible {
    max-height: 80px !important; /* Уменьшаем начальную высоту */
    overflow: hidden !important;
    transition: max-height 0.3s ease;
    position: relative;
}

.sp-section[data-section-id="3"] .sp-description-collapsible.active {
    max-height: 1000px !important;
}

/* Градиент для скрытого описания */
.sp-section[data-section-id="3"] .sp-description-collapsible:not(.active)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(to top, #FFFFFF, transparent);
    pointer-events: none;
}

.sp-section[data-section-id="3"] .sp-parameters {
    display: flex;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #FFD600 #f1f1f1;
}

.sp-section[data-section-id="3"] .sp-parameter {
    flex: 0 0 calc(40% - 10px); /* Два с половиной параметра */
    min-width: calc(40% - 10px);
    max-width: calc(40% - 10px);
}

@media (max-width: 768px) {
    .sp-section[data-section-id="3"] .sp-parameter {
        flex: 0 0 calc(40% - 10px);
        min-width: calc(40% - 10px);
        max-width: calc(40% - 10px);
    }
    .sp-section {
        background: #f4f5f500!important;
    }
    
    .sp-section[data-section-id="3"] .sp-description-collapsible {
        max-height: 40px !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease;
        position: relative;
    }

    .sp-section[data-section-id="3"] .sp-description-collapsible.active {
        max-height: 1000px !important;
    }

    /* Градиент для скрытого описания */
    .sp-section[data-section-id="3"] .sp-description-collapsible:not(.active)::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 50px;
        background: linear-gradient(to top, #FFFFFF, transparent);
        pointer-events: none;
    }
}

/* Стили для десктопной версии */
@media (min-width: 769px) {
    .sp-description-toggle {
        display: none !important;
    }

    .sp-section[data-section-id="2"] .sp-description-collapsible,
    .sp-section[data-section-id="3"] .sp-description-collapsible {
        max-height: none !important;
        overflow: visible !important;
    }

    .sp-section[data-section-id="2"] .sp-description-collapsible::after,
    .sp-section[data-section-id="3"] .sp-description-collapsible::after {
        display: none !important;
    }
}

/* Стили для мобильной версии */
@media (max-width: 768px) {
    .sp-description-toggle {
        display: flex;
    }

    .sp-section[data-section-id="2"] .sp-description-collapsible,
    .sp-section[data-section-id="3"] .sp-description-collapsible {
        max-height: 40px !important;
        overflow: hidden !important;
    }
}

/* Стили для четвертой секции на мобильных устройствах */
@media (max-width: 768px) {
    .sp-section[data-section-id="4"] .sp-parameters {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        flex-wrap: nowrap;
    }

    .sp-section[data-section-id="4"] .sp-parameter {
        width: 50%;
        flex: 0 0 50%;
        margin: 0;
        padding: 0;
        min-width: 50%;
        max-width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="4"] .sp-parameter-content {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="4"] .sp-parameter-image-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="4"] .sp-parameter-image {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="4"] .sp-parameter-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }
}

/* Стили для пятой секции на мобильных устройствах */
@media (max-width: 768px) {
    .sp-section[data-section-id="5"] .sp-parameters {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        flex-wrap: nowrap;
    }

    .sp-section[data-section-id="5"] .sp-parameter {
        width: 50%;
        flex: 0 0 50%;
        margin: 0;
        padding: 0;
        min-width: 50%;
        max-width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="5"] .sp-parameter-content {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="5"] .sp-parameter-image-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="5"] .sp-parameter-image {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="5"] .sp-parameter-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .sp-section[data-section-id="5"] .sp-parameter-text {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .sp-section[data-section-id="5"] .sp-parameter-text h4 {
        margin: 0;
        font-size: 14px;
        line-height: 1.2;
    }

    .sp-section[data-section-id="5"] .sp-parameter-text .description {
        margin: 5px 0 0 0;
        font-size: 12px;
    }

    .sp-section[data-section-id="5"] .sp-parameter-text .description ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sp-section[data-section-id="5"] .sp-parameter-text .description ul li {
        padding: 0;
        margin: 0;
        line-height: 1.2;
    }
}

/* Стили для шестой секции на мобильных устройствах */
@media (max-width: 768px) {
    .sp-section[data-section-id="6"] .sp-parameters {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 0;
        padding: 0;
        margin: 0;
        overflow-x: hidden;
        flex-wrap: nowrap;
    }

    .sp-section[data-section-id="6"] .sp-parameter {
        width: 50%;
        flex: 0 0 50%;
        margin: 0;
        padding: 0;
        min-width: 50%;
        max-width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="6"] .sp-parameter-content {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="6"] .sp-parameter-image-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="6"] .sp-parameter-image {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="6"] .sp-parameter-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .sp-section[data-section-id="6"] .sp-parameter-text {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .sp-section[data-section-id="6"] .sp-parameter-text h4 {
        margin: 0;
        font-size: 14px;
        line-height: 1.2;
    }
}

/* Стили для седьмой секции на мобильных устройствах */
@media (max-width: 768px) {
    .sp-section[data-section-id="7"] .sp-parameters {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 15px;
        padding: 0;
        margin: 0;
        overflow-x: auto;
        flex-wrap: nowrap;
        scrollbar-width: thin;
        scrollbar-color: #FFD600 #f1f1f1;
        position: relative;
    }

    .sp-section[data-section-id="7"] .sp-parameters-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        background: #ffd60000;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        transition: all 0.3s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    .sp-section[data-section-id="7"] .sp-parameters-arrow .arrow-icon {
        width: 20px;
        height: 20px;
        fill: #000;
    }

    .sp-section[data-section-id="7"] .sp-parameters-prev .arrow-icon {
        transform: rotate(180deg);
    }

    .sp-section[data-section-id="7"] .sp-parameters-arrow:hover {
        background: #ffe44d00;
        transform: translateY(-50%) scale(1.1);
    }

    .sp-section[data-section-id="7"] .sp-parameters-prev {
        left: 10px;
    }

    .sp-section[data-section-id="7"] .sp-parameters-next {
        right: 10px;
    }

    .sp-section[data-section-id="7"] .sp-parameters::-webkit-scrollbar {
        height: 8px;
    }

    .sp-section[data-section-id="7"] .sp-parameters::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .sp-section[data-section-id="7"] .sp-parameters::-webkit-scrollbar-thumb {
        background: #FFD600;
        border-radius: 4px;
    }

    .sp-section[data-section-id="7"] .sp-parameter {
        width: 66.666%;
        flex: 0 0 66.666%;
        margin: 0;
        padding: 0;
        min-width: 66.666%;
        max-width: 66.666%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="7"] .sp-parameter-content {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="7"] .sp-parameter-image-wrapper {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="7"] .sp-parameter-image {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sp-section[data-section-id="7"] .sp-parameter-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        display: block;
    }

    .sp-section[data-section-id="7"] .sp-parameter-text {
        width: 100%;
        padding: 10px;
        text-align: center;
    }

    .sp-section[data-section-id="7"] .sp-parameter-text h4 {
        margin: 0;
        font-size: 14px;
        line-height: 1.2;
    }

    .sp-section[data-section-id="7"] .sp-parameter-text .description {
        margin: 5px 0 0 0;
        font-size: 12px;
    }

    .sp-section[data-section-id="7"] .sp-parameter-text .description ul {
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .sp-section[data-section-id="7"] .sp-parameter-text .description ul li {
        padding: 0;
        margin: 0;
        line-height: 1.2;
    }

    .sp-section[data-section-id="7"] .sp-popup-button-wrapper {
        margin-top: 10px;
    }

    .sp-section[data-section-id="7"] .sp-popup-button {
        padding: 8px 16px;
        font-size: 12px;
        border-radius: 20px;
    }
} 

.sp-parameter-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

.sp-parameter-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    margin-left: auto;
    margin-right: auto;
}

.sp-section[data-section-id="1"] .sp-parameter-image {
    align-items: flex-end;
    min-height: 300px;
    padding: 0 15px;
}

.sp-section[data-section-id="1"] .sp-parameter-image img {
    object-position: bottom;
    height: 100%;
    object-fit: contain;
}

.sp-section:not([data-section-id="1"]) .sp-parameter-image {
    align-items: flex-start;
    padding: 0 15px;
}

.sp-section:not([data-section-id="1"]) .sp-parameter-image img {
    object-position: top;
    height: auto;
    max-height: 400px;
    object-fit: contain;
}

/* Стили для заголовков и подзаголовков */
.sp-section-title h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 48px;
    color: #282938;
}

.sp-section-description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #282938;
}

/* Стили для заголовков и описаний параметров */
.sp-parameter-text h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    color: #282938;
    text-align: left;
    &.custom-align {
        text-align: inherit;
    }
}

.sp-parameter-text h4.italic {
    font-style: italic;
}

.sp-parameter-text .description {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #282938;
}

.sp-parameter-text .description ul {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 28px;
    color: #282938;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.sp-parameter-text .description ul li {
    margin-bottom: 5px;
}

.sp-popup-button-wrapper {
    margin-top: 15px;
    text-align: center;
}

.sp-popup-button {
    background: #FFD600;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s ease;
    color: #000;
}

.sp-popup-button:hover {
    background: #FFC000;
    color: #000;
}

.sp-popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.sp-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.sp-popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}