/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #6699CC;
    overflow-x: hidden;
}

.container {
    display: grid;
    grid-template-columns: 250px 1fr;
    min-height: 100vh;
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    position: relative;
}

.catalog-section a,
.catalog-section h2,
.catalog-section h3,
.catalog-section p {
    text-decoration: none !important;
}

/* Боковая панель */
.sidebar {
    background: linear-gradient(to bottom, 
        #ffffff 0%, 
        #ffffff 90px,
        #ffefe6 100px,
        #ff8243 140px,
        #ff8243 100%
    );
    padding: 20px 0;
    color: white;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

/* Навигация */
.nav-list {
    list-style: none;
    width: 100%;
}

.nav-list li {
    margin-bottom: 0;
    width: 100%;
}

.nav-list a {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
    background: #ff8243;
    border-radius: 0px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-list a:hover {
    background: #000000;
    padding: 10px 25px;
}

/* Основной контент */
.content {
    padding: 20px;
    min-height: 100vh;
}

/* Шапка */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 2px solid #ff8243;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.header-contacts {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-label {
    color: #ff8243;
    font-weight: bold;
    white-space: nowrap;
}

.contact-details {
    color: #000000;
    font-weight: 500;
}

.callback-btn {
    background: #ff8243;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    white-space: nowrap;
}

.callback-btn:hover {
    background: #e6733c;
}

/* Карта */
.map-category {
    margin: 40px 0;
    text-align: center;
}

.map-category img {
    width: 100%;
    max-width: 700px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    margin: 0 auto 15px auto;
    display: block;
    border-radius: 6px;
    transition: transform 0.3s ease;
}

.map-category img:hover {
    transform: scale(1.15);
}

/* Сетка товаров */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.product-category {
    background: white;
    border: 2px solid #ff8243;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-category:hover {
    transform: translateY(-5px);
}

.product-category a {
    text-decoration: none;
    color: inherit;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
    background: transparent;
    padding: 10px;
    border-radius: 4px;
}

.product-category h3 {
    color: #ff8243;
    margin-bottom: 10px;
    font-size: 1.2rem;
    flex: 1;
}

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 1001;
    background: #ff8243;
    border-radius: 4px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Модальное окно обратного звонка */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.callback-form h3 {
    margin-bottom: 20px;
    text-align: center;
    color: #333;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s;
    font-family: Arial, sans-serif;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
}

/* Чекбокс согласия */
.consent-group {
    margin: 25px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
    width: 100%;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #007bff;
    border-radius: 4px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    background: white;
    transition: all 0.3s;
    margin-top: 2px;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #007bff;
    border-color: #007bff;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.checkbox-label a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

/* Кнопка закрыть */
.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    z-index: 1001;
    transition: all 0.3s;
    padding: 0;
}

.close-modal:hover {
    background: #c82333;
    transform: scale(1.1);
}

/* Кнопка отправки */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.submit-btn {
    background: #007bff;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    min-height: 50px;
    text-align: center;
}

.submit-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

/* Стили для каталога продукции */
.catalog-section {
    margin: 40px 0;
}

.catalog-section h2 {
    text-align: center;
    color: #ff8243;
    margin-bottom: 30px;
    font-size: 28px;
}

/* Футер */
.footer {
    background: #ffffff;
    color: #000000;
    padding: 10px 0 20px 0;
    margin-top: 40px;
    border-top: 2px solid #ff8243;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #555555;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    font-weight: normal;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff8243;
    text-decoration: underline;
}

.footer-info {
    text-align: center;
    font-size: 13px;
    line-height: 1.3;
    color: #000000;
}

.footer-info p {
    margin-bottom: 6px;
}

.footer-info a {
    color: #cccccc;
    text-decoration: none;
}

.footer-info a:hover {
    color: #ff8243;
    text-decoration: underline;
}

/* Cookie уведомление */
#cookie_note {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 50%;
    max-width: 90%;
    transform: translateX(-50%);
    padding: 20px;
    background-color: white;
    border-radius: 4px;
    box-shadow: 2px 3px 10px rgba(0, 0, 0, 0.4);
    z-index: 3000;
}

#cookie_note p {
    margin: 0;
    font-size: 0.7rem;
    text-align: left;
    color: black;
    flex: 1;
}

.cookie_accept {
    background: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    white-space: nowrap;
    min-width: 120px;
    margin-left: 15px;
}

/* Адаптивность */
@media (min-width: 577px) {
    #cookie_note.show {
        display: flex;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 280px;
        transition: left 0.3s ease;
        z-index: 1000;
    }
    
    .sidebar.active {
        left: 0;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .top-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-contacts {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .callback-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .map-category img {
        max-height: 300px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    /* Cookie для мобильных */
    #cookie_note.show {
        display: block;
        text-align: left;
    }
    
    .cookie_accept {
        width: 100%;
        margin: 15px 0 0 0;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 15px;
    }
    
    .product-category {
        padding: 15px;
    }
    
    .product-category img {
        height: 150px;
    }
}

.sidebar-contacts {
    margin-top: 10px;
    padding: 0 10px;
    color: black;
}

.contact-item {
    margin-bottom: 20px;
    padding: 0;
}

.contact-item p {
    margin: 5px 0;
    line-height: 1.4;
    text-indent: 0 !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.contact-item strong {
    display: block;
    margin-bottom: 5px;
    color: #fff;
    font-size: 16px;
}

.contact-item a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
    padding: 2px 0;
}

.contact-item a:hover {
    color: #000;
    text-decoration: underline;
}

/* Мобильная версия контактов */
@media (max-width: 768px) {
    .sidebar-contacts {
        margin: 20px;
        padding: 15px;
        background: rgba(0, 0, 0, 0.15);
        border-radius: 8px;
    }
    
    .contact-item {
        text-align: center;
    }
}

/* ============================ */
/* СТИЛИ ДЛЯ СТРАНИЦЫ РУЛОНОПОДЪЁМНИКОВ */
/* ============================ */

/* Вступление */
.page-intro {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0 30px 0;
    border-left: 4px solid #ff8243;
}

.page-intro p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin: 0;
}

/* Большая сетка продуктов */
.products-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.product-item-large {
    background: white;
    border: 2px solid #ff8243;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.product-item-large:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 130, 67, 0.15);
}

.product-image-large {
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 15px;
}

.product-image-large img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.product-info-large {
    padding: 20px;
    text-align: center;
}

.product-info-large h3 {
    color: #ff8243;
    margin-bottom: 10px;
    font-size: 1.3rem;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-info-large p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
}

/* Секция преимуществ */
.features-section {
    background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 100%);
    padding: 40px;
    border-radius: 10px;
    margin: 40px 0;
    border: 2px solid #ffefe6;
}

.features-section h2 {
    text-align: center;
    color: #ff8243;
    margin-bottom: 30px;
    font-size: 28px;
    position: relative;
    padding-bottom: 15px;
}

.features-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: #ff8243;
}

.features-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: center;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 12px 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ff8243;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature-icon {
    background: #ff8243;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-text {
    flex: 1;
    line-height: 1.5;
}

/* Дополнительная информация */
.additional-info {
    margin: 40px 0;
}

.info-block {
    background: white;
    padding: 30px;
    border-radius: 10px;
    border: 2px solid #ffefe6;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.info-block h3 {
    color: #ff8243;
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.download-block {
    background: #e9f7fe;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    border-left: 4px solid #007bff;
}

.download-block a {
    color: #0056b3;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.download-block a:hover {
    color: #003d82;
    text-decoration: underline;
}

.notice-block {
    background: #fff3cd;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    border: 1px solid #ffeaa7;
}

.notice-block h3 {
    color: #856404;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.order-info {
    text-align: center;
    padding: 0px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 25px 0;
    border: 2px dashed #ff8243;
}

.order-info p {
    font-size: 18px;
    color: #333;
    margin: 0;
}

.options-list {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 25px 0;
}

.options-list h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.options-list ul {
    list-style-type: none;
    padding-left: 0;
}

.options-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.5;
}

.options-list li::before {
    content: "•";
    color: #ff8243;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 6px;
}

.options-list p {
    margin-top: 15px;
    font-style: italic;
    color: #666;
}

/* Адаптивность для страницы рулоноподъемников */
@media (max-width: 1024px) {
    .products-grid-large {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .features-section {
        padding: 30px;
    }
    
    .info-block {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .products-grid-large {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .product-image-large {
        height: 200px;
    }
    
    .features-section {
        padding: 25px 20px;
    }
    
    .features-section h2 {
        font-size: 24px;
    }
    
    .features-content p {
        font-size: 16px;
    }
    
    .info-block {
        padding: 20px;
    }
}

@media (max-width: 576px) {
    .products-grid-large {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .page-intro {
        padding: 15px;
    }
    
    .page-intro p {
        font-size: 16px;
    }
    
    .features-list {
        gap: 10px;
    }
    
    .feature-item {
        padding: 10px;
        flex-direction: column;
        gap: 10px;
    }
    
    .feature-icon {
        align-self: flex-start;
    }
}

/* ============================ */
/* ВИДЕО КНОПКИ НА ВСЕХ СТРАНИЦАХ */
/* ============================ */

/* 1. Убираем затемнение и кнопку на фото ВЕЗДЕ */
.video-thumbnail .video-overlay {
    display: none !important;
}

.video-play-btn {
    display: none !important;
}

/* 2. Оставляем только кнопку "Смотреть видео" внизу блока */
.video-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff8243 0%, #e6733c 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    margin-top: 15px;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    margin-left: auto;
    margin-right: auto;
}

.video-link-btn:hover {
    background: linear-gradient(135deg, #e6733c 0%, #cc6635 100%);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 130, 67, 0.3);
}

.video-link-btn::before {
    content: '▶';
    font-size: 14px;
}

/* 3. Модальное окно для видео */
.video-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 4000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.video-modal {
    background: white;
    border-radius: 10px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    position: relative;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

.close-video-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #dc3545;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 4001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-video-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.video-container {
    width: 100%;
    padding-top: 56.25%;
    position: relative;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-caption {
    padding: 20px;
    text-align: center;
    background: white;
    border-top: 2px solid #ff8243;
}

.video-caption h3 {
    color: #333;
    margin: 0;
    font-size: 1.2rem;
}

/* Адаптивность для видео */
@media (max-width: 768px) {
    .video-modal {
        width: 95%;
    }
}

@media (max-width: 576px) {
    .video-caption {
        padding: 15px;
    }
    
    .video-caption h3 {
        font-size: 1rem;
    }
}

/* ============================ */
/* СТИЛИ ДЛЯ ОДИНОЧНОЙ КАРТОЧКИ ПРОДУКТА */
/* ============================ */

.single-product-container {
    max-width: 900px;
    margin: 40px auto;
}

.single-product-card {
    background: white;
    border: 3px solid #ff8243;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(255, 130, 67, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.single-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 130, 67, 0.25);
}

.single-product-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    position: relative;
}

.single-product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.single-product-content {
    padding: 40px;
}

.single-product-content h2 {
    color: #ff8243;
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid #ffefe6;
    padding-bottom: 15px;
}

.single-product-content h3 {
    color: #333;
    font-size: 1.5rem;
    margin: 25px 0 15px 0;
    border-left: 4px solid #ff8243;
    padding-left: 15px;
}

/* Характеристики */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.spec-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #ff8243;
}

.spec-label {
    font-weight: bold;
    color: #666;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.spec-value {
    font-weight: 600;
    color: #333;
    font-size: 1.1rem;
}

/* Особенности */
.features-list-single {
    margin: 25px 0;
}

.feature-item-single {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px;
    background: #fff8f3;
    border-radius: 8px;
}

.feature-icon-single {
    background: #ff8243;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Кнопки действий */
.product-actions {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 200px;
    padding: 15px 25px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.action-btn.primary {
    background: #ff8243;
    color: white;
}

.action-btn.primary:hover {
    background: #e6733c;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 130, 67, 0.3);
}

.action-btn.secondary {
    background: #f8f9fa;
    color: #333;
    border: 2px solid #ff8243;
}

.action-btn.secondary:hover {
    background: #fff0e6;
    transform: translateY(-3px);
}

/* Адаптивность для одиночной карточки */
@media (max-width: 768px) {
    .single-product-container {
        margin: 20px;
    }
    
    .single-product-image {
        height: 350px;
        padding: 20px;
    }
    
    .single-product-content {
        padding: 25px;
    }
    
    .single-product-content h2 {
        font-size: 1.8rem;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .product-actions {
        flex-direction: column;
    }
    
    .action-btn {
        min-width: 100%;
    }
}

@media (max-width: 576px) {
    .single-product-image {
        height: 250px;
    }
    
    .single-product-content h2 {
        font-size: 1.5rem;
    }
}

/* ============================ */
/* СТИЛИ ДЛЯ ГЛАВНОЙ СТРАНИЦЫ (INDEX) */
/* ============================ */

body.index-page .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

body.index-page .product-category img {
    height: 260px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 15px;
}

body.index-page .product-category {
    min-height: 360px;
    padding: 18px;
}

body.index-page .product-category h3 {
    font-size: 1.15rem;
    line-height: 1.3;
    min-height: 3em;
    word-break: break-word;
}

/* ============================ */
/* ПОЛНОЭКРАННОЕ УВЕЛИЧЕНИЕ ИЗОБРАЖЕНИЙ */
/* ============================ */

.fullscreen-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 5000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.fullscreen-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    animation: zoomIn 0.3s ease;
    cursor: default;
}

.close-fullscreen {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #dc3545;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    z-index: 5001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-fullscreen:hover {
    background: #c82333;
    transform: scale(1.1);
}

.fullscreen-caption {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    text-align: center;
    color: white;
    padding: 15px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 18px;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Делаем изображения кликабельными */
.product-image-large {
    cursor: zoom-in;
}

.product-image-large img {
    cursor: zoom-in;
}

/* Сохраняем hover-эффект */
.product-item-large:hover .product-image-large {
    transform: scale(1.05);
}


/* Пробую в нейросеть */
        
        /* Стили для страницы тележки-котлоподъемника */
        .page-intro {
            background: #f8f9fa;
            padding: 20px;
            border-radius: 8px;
            margin: 20px 0 30px 0;
            border-left: 4px solid #ff8243;
        }

        .page-intro p {
            font-size: 18px;
            line-height: 1.6;
            color: #333;
            margin: 0;
        }

        /* Основной контейнер */
        .single-product-container-mod {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Блок фото с характеристиками (как на странице 150) */
        .product-with-specs {
            display: flex;
            gap: 40px;
            margin: 30px 0;
            background: white;
            border: 3px solid #ff8243;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(255, 130, 67, 0.15);
        }

        /* Блок с фото (объединяем два фото) */
        .product-image-side {
            flex: 1;
            min-width: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 10px;
            padding: 20px;
            position: relative;
            overflow: hidden;
            border: 1px solid #e9ecef;
        }

        /* Контейнер для двух фото */
        .dual-photos-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
            width: 100%;
            height: 100%;
        }

        .dual-photo-item {
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 6px;
            padding: 10px;
            height: 100%;
        }

        .dual-photo-item img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            display: block;
            cursor: zoom-in;
            transition: transform 0.3s ease;
        }

        .dual-photo-item img:hover {
            transform: scale(1.02);
        }

        /* Индикатор увеличения (как на странице 150) */
        .zoom-indicator {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(255, 130, 67, 0.9);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 10;
        }

        .product-image-side:hover .zoom-indicator {
            opacity: 1;
        }

        /* Блок с характеристиками (как на странице 150 - чистый текст) */
        .specs-text-side {
            flex: 1;
            min-width: 300px;
            padding: 10px 0;
        }

        .model-title {
            color: #ff8243;
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ffefe6;
        }

        .specs-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .specs-list li {
            margin-bottom: 12px;
            line-height: 1.5;
            color: #333;
            font-size: 0.95rem;
            position: relative;
            padding-left: 0;
        }

        .specs-list li strong {
            color: #ff8243;
            font-weight: 600;
            display: inline-block;
            min-width: 50px;
        }

        /* Информационный блок под фото (как на странице 150) */
        .info-block-under-image {
            background: white;
            padding: 25px;
            border-radius: 10px;
            margin: 20px 0;
            border: 2px solid #ffefe6;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .info-block-under-image h3 {
            color: #ff8243;
            margin-bottom: 20px;
            font-size: 1.4rem;
            border-bottom: 2px solid #ffefe6;
            padding-bottom: 10px;
        }

        .options-list-compact {
            margin: 20px 0;
        }

        .options-list-compact ul {
            list-style-type: none;
            padding-left: 0;
            columns: 2;
            column-gap: 40px;
        }

        .options-list-compact li {
            padding: 8px 0 8px 25px;
            position: relative;
            line-height: 1.4;
            break-inside: avoid;
            margin-bottom: 5px;
        }

        .options-list-compact li::before {
            content: "•";
            color: #ff8243;
            font-size: 18px;
            position: absolute;
            left: 0;
            top: 7px;
        }

        .price-info {
            background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 100%);
            padding: 20px;
            border-radius: 8px;
            margin: 25px 0;
            border-left: 4px solid #ff8243;
            text-align: center;
        }

        .price-info p {
            margin: 8px 0;
            line-height: 1.5;
        }

        .price-info strong {
            color: #ff8243;
        }

        .warning-note {
            background: #fff3cd;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            border: 1px solid #ffeaa7;
            font-size: 0.95rem;
            color: #856404;
        }

        .warning-note strong {
            color: #856404;
        }
        
                /* Стили для страницы модели 150 */
        .product-with-specs {
            display: flex;
            gap: 40px;
            margin: 30px 0;
            background: white;
            border: 3px solid #ff8243;
            border-radius: 15px;
            padding: 30px;
            box-shadow: 0 10px 30px rgba(255, 130, 67, 0.15);
        }

        .product-image-side {
            flex: 1;
            min-width: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white; /* Изменено на белый фон */
            border-radius: 10px;
            padding: 20px;
            position: relative;
            overflow: hidden;
            border: 1px solid #e9ecef;
        }

        /* Делаем изображение кликабельным */
        .product-image-side img {
            max-width: 100%;
            max-height: 500px;
            object-fit: contain;
            display: block;
            cursor: zoom-in;
            transition: transform 0.3s ease;
        }

        .product-image-side img:hover {
            transform: scale(1.02);
        }

        /* Индикатор увеличения */
        .zoom-indicator {
            position: absolute;
            bottom: 15px;
            right: 15px;
            background: rgba(255, 130, 67, 0.9);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 10;
        }

        .product-image-side:hover .zoom-indicator {
            opacity: 1;
        }

        .specs-text-side {
            flex: 1;
            min-width: 300px;
            padding: 10px 0;
        }

        .model-title {
            color: #ff8243;
            font-size: 1.8rem;
            font-weight: bold;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ffefe6;
        }

        .specs-list {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .specs-list li {
            margin-bottom: 12px;
            line-height: 1.5;
            color: #333;
            font-size: 0.9rem;
            position: relative;
            padding-left: 0;
        }

        .specs-list li strong {
            color: #ff8243;
            font-weight: 600;
            display: inline-block;
            min-width: 50px;
        }

        .specs-list li::before {
            display: none;
        }

        /* Модифицированный single-product-container */
        .single-product-container-mod {
            max-width: 1200px;
            margin: 0 auto;
        }

        /* Информационный блок под фото */
        .info-block-under-image {
            background: white;
            padding: 25px;
            border-radius: 10px;
            margin: 20px 0;
            border: 2px solid #ffefe6;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .info-block-under-image h3 {
            color: #ff8243;
            margin-bottom: 20px;
            font-size: 1.4rem;
            border-bottom: 2px solid #ffefe6;
            padding-bottom: 10px;
        }

        .options-list-compact {
            margin: 20px 0;
        }

        .options-list-compact ul {
            list-style-type: none;
            padding-left: 0;
            columns: 2;
            column-gap: 40px;
        }

        .options-list-compact li {
            padding: 8px 0 8px 25px;
            position: relative;
            line-height: 1.4;
            break-inside: avoid;
            margin-bottom: 5px;
        }

        .options-list-compact li::before {
            content: "•";
            color: #ff8243;
            font-size: 18px;
            position: absolute;
            left: 0;
            top: 7px;
        }

        .price-info {
            background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 100%);
            padding: 20px;
            border-radius: 8px;
            margin: 25px 0;
            border-left: 4px solid #ff8243;
            text-align: center;
        }

        .price-info p {
            margin: 8px 0;
            line-height: 1.5;
        }

        .price-info strong {
            color: #ff8243;
        }

        .warning-note {
            background: #fff3cd;
            padding: 15px;
            border-radius: 8px;
            margin: 20px 0;
            border: 1px solid #ffeaa7;
            font-size: 0.95rem;
            color: #856404;
        }

        .warning-note strong {
            color: #856404;
        }

        /* Стили для второй модели */
        .second-model {
            margin-top: 40px;
            background: white;
            border: 2px solid #ff8243;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(255, 130, 67, 0.1);
            position: relative;
        }

        .second-model-image {
            width: 100%;
            height: 400px;
            background: white; /* Изменено на белый фон */
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            border-bottom: 1px solid #e9ecef;
        }

        .second-model-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            cursor: zoom-in;
            transition: transform 0.3s ease;
        }

        .second-model-image img:hover {
            transform: scale(1.02);
        }

        .second-model-caption {
            padding: 15px;
            text-align: center;
            background: white;
            border-top: 2px solid #ffefe6;
        }

        .second-model-caption p {
            margin: 0;
            color: #ff8243;
            font-weight: 600;
            font-size: 1.1rem;
        }
  /* ============================ */
/* АДАПТАЦИЯ ДЛЯ МОБИЛЬНЫХ УСТРОЙСТВ - СТРАНИЦЫ 150 и 150-4-1 */
/* ============================ */

/* Добавьте ЭТОТ НОВЫЙ БЛОК в самый НАЧАЛО адаптации */
/* Исправление смещения контента влево на мобильных устройствах */
@media (max-width: 768px) {
    /* Фиксим основной контейнер */
    .single-product-container-mod {
        width: 100%;
        max-width: 100%;
        margin: 0;
        padding: 0 15px !important; /* Принудительные отступы слева и справа */
        box-sizing: border-box;
    }
    
    /* Фиксим блок с фото и характеристиками */
    .product-with-specs {
        width: 100%;
        margin: 20px 0 !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
    }
    
    /* Фиксим информационный блок */
    .info-block-under-image {
        width: 100%;
        margin: 20px 0 !important;
        padding: 20px 15px !important;
        box-sizing: border-box;
    }
    
    /* Фиксим блок преимуществ */
    .features-section {
        width: 100%;
        margin: 30px 0 !important;
        padding: 25px 15px !important;
        box-sizing: border-box;
    }
    
    /* Фиксим карту */
    .map-category {
        width: 100%;
        margin: 30px 0 !important;
        padding: 0;
        box-sizing: border-box;
    }
    
    .map-category img {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin: 0 auto;
        display: block;
    }
    
    /* Фиксим вторую модель */
    .second-model {
        width: 100%;
        margin: 30px 0 !important;
        box-sizing: border-box;
    }
    
    /* Фиксим вступление */
    .page-intro {
        width: 100%;
        margin: 20px 0 !important;
        padding: 15px !important;
        box-sizing: border-box;
    }
    
    /* Фиксим заголовок */
    h1 {
        padding: 0 15px;
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Фиксим контент */
    .content {
        padding: 15px !important;
        overflow-x: hidden;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 576px) {
    .single-product-container-mod {
        padding: 0 12px !important;
    }
    
    .product-with-specs {
        padding: 15px 12px !important;
    }
    
    .info-block-under-image {
        padding: 15px 12px !important;
    }
    
    .features-section {
        padding: 20px 12px !important;
    }
    
    .page-intro {
        padding: 12px !important;
    }
    
    h1 {
        padding: 0 12px;
        font-size: 1.5rem;
    }
    
    .content {
        padding: 12px !important;
    }
}

/* Для крупных планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
    .single-product-container-mod {
        padding: 0 20px;
        max-width: 100%;
        box-sizing: border-box;
    }
}
/* Планшеты (1024px и меньше) */
@media (max-width: 1024px) {
    .product-with-specs {
        gap: 30px;
        padding: 25px;
    }
    
    .model-title {
        font-size: 1.8rem; /* Увеличен с 1.6rem */
    }
    
    .specs-list li {
        font-size: 1rem; /* Увеличен */
    }
}

/* Компактные планшеты (900px и меньше) */
@media (max-width: 900px) {
    .product-with-specs {
        flex-direction: column;
        gap: 25px;
    }
    
    .product-image-side {
        max-width: 100%;
    }
    
    /* УВЕЛИЧЕННОЕ ИЗОБРАЖЕНИЕ */
    .product-image-side img {
        max-height: 550px; /* Увеличено с 400px */
        width: 100%;
        object-fit: contain;
    }
    
    .dual-photos-container {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    /* УВЕЛИЧЕННЫЕ ИЗОБРАЖЕНИЯ В ДВОЙНОМ БЛОКЕ */
    .dual-photo-item img {
        max-height: 350px; /* Увеличено */
        width: 100%;
        object-fit: contain;
    }
    
    .model-title {
        font-size: 1.9rem; /* Увеличен */
    }
    
    .specs-list li {
        font-size: 1.05rem; /* Увеличен */
        margin-bottom: 14px;
    }
    
    .options-list-compact ul {
        columns: 1;
    }
}

/* Планшеты и крупные телефоны (768px и меньше) */
@media (max-width: 768px) {
    .single-product-container-mod {
        padding: 0 10px;
    }
    
    .product-with-specs {
        padding: 20px;
        margin: 20px 0;
    }
    
    .product-image-side {
        min-width: auto;
        padding: 15px;
    }
    
    /* УВЕЛИЧЕННОЕ ИЗОБРАЖЕНИЕ */
    .product-image-side img {
        max-height: 450px; /* Увеличено с 300px */
        width: 100%;
        object-fit: contain;
    }
    
    .model-title {
        font-size: 1.8rem; /* Увеличен с 1.4rem */
        margin-bottom: 20px;
    }
    
    .specs-list li {
        font-size: 1rem; /* Увеличен с 0.9rem */
        margin-bottom: 12px;
        line-height: 1.5;
    }
    
    .specs-list li strong {
        min-width: 60px; /* Увеличено для лучшей читаемости */
        font-size: 1.05rem;
    }
    
    /* Информационный блок под фото */
    .info-block-under-image {
        padding: 25px;
    }
    
    .info-block-under-image h3 {
        font-size: 1.4rem; /* Увеличен с 1.2rem */
        margin-bottom: 20px;
    }
    
    .download-block {
        padding: 18px;
    }
    
    .download-block p {
        font-size: 1rem; /* Увеличен с 0.9rem */
        margin-bottom: 12px;
    }
    
    .download-block a {
        font-size: 1.1rem; /* Увеличен */
    }
    
    .price-info {
        padding: 18px;
        margin: 25px 0;
    }
    
    .price-info p {
        font-size: 1.05rem; /* Увеличен с 0.95rem */
    }
    
    /* Список опций */
    .options-list-compact {
        margin: 20px 0;
    }
    
    .options-list-compact h4 {
        font-size: 1.2rem; /* Увеличен с 1.1rem */
        margin-bottom: 15px;
    }
    
    .options-list-compact li {
        font-size: 1rem; /* Увеличен с 0.9rem */
        padding: 8px 0 8px 25px;
    }
    
    .options-list-compact li::before {
        font-size: 18px;
        top: 7px;
    }
    
    /* Предупреждение */
    .warning-note {
        padding: 18px;
    }
    
    .warning-note p {
        font-size: 1rem; /* Увеличен с 0.9rem */
    }
    
    /* Вторая модель */
    .second-model {
        margin-top: 35px;
    }
    
    .second-model-image {
        min-height: 300px;
        padding: 20px;
        flex-direction: row; /* Держим изображения в ряд */
        gap: 15px;
    }
    
    /* УВЕЛИЧЕННЫЕ ИЗОБРАЖЕНИЯ ВТОРОЙ МОДЕЛИ */
    .second-model-image img {
        max-height: 280px; /* Увеличено с 200px */
        width: auto;
        max-width: 48%;
        object-fit: contain;
    }
    
    .second-model-caption {
        padding: 15px;
    }
    
    .second-model-caption p {
        font-size: 1.1rem; /* Увеличен с 1rem */
    }
    
    /* Преимущества */
    .features-section {
        padding: 30px 25px;
        margin: 35px 0;
    }
    
    .features-section h2 {
        font-size: 1.5rem; /* Увеличен с 1.3rem */
        margin-bottom: 25px;
    }
    
    .features-content p {
        font-size: 1.05rem; /* Увеличен с 0.95rem */
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-text {
        font-size: 1rem; /* Увеличен */
    }
    
    /* Карта */
    .map-category img {
        max-height: 300px; /* Увеличено с 250px */
    }
    
    /* Вступление */
    .page-intro {
        padding: 20px;
        margin: 20px 0 25px 0;
    }
    
    .page-intro p {
        font-size: 1.05rem; /* Увеличен с 0.95rem */
    }
    
    .page-intro ul {
        margin-top: 15px;
    }
    
    .page-intro li {
        font-size: 1rem; /* Увеличен с 0.9rem */
        margin-bottom: 8px;
    }
}

/* Смартфоны (576px и меньше) */
@media (max-width: 576px) {
    .product-with-specs {
        padding: 18px;
    }
    
    .product-image-side {
        padding: 15px;
    }
    
    /* УВЕЛИЧЕННОЕ ИЗОБРАЖЕНИЕ */
    .product-image-side img {
        max-height: 380px; /* Увеличено с 250px */
        width: 100%;
    }
    
    .zoom-indicator {
        font-size: 0.8rem; /* Увеличен с 0.7rem */
        padding: 6px 10px;
        bottom: 15px;
        right: 15px;
    }
    
    .model-title {
        font-size: 1.6rem; /* Увеличен с 1.2rem */
        margin-bottom: 18px;
    }
    
    .specs-list li {
        font-size: 1rem; /* Увеличен с 0.85rem */
        margin-bottom: 12px;
    }
    
    .specs-list li strong {
        min-width: 55px;
        font-size: 1.05rem;
    }
    
    .info-block-under-image {
        padding: 18px;
    }
    
    .info-block-under-image h3 {
        font-size: 1.3rem; /* Увеличен с 1.1rem */
    }
    
    .download-block {
        padding: 15px;
    }
    
    .download-block p {
        font-size: 0.95rem; /* Увеличен с 0.85rem */
    }
    
    .download-block a {
        font-size: 1rem;
    }
    
    .price-info {
        padding: 15px;
    }
    
    .price-info p {
        font-size: 0.95rem; /* Увеличен с 0.9rem */
    }
    
    .options-list-compact h4 {
        font-size: 1.1rem; /* Увеличен с 1rem */
    }
    
    .options-list-compact li {
        font-size: 0.95rem; /* Увеличен с 0.85rem */
        padding: 7px 0 7px 22px;
    }
    
    .warning-note {
        padding: 15px;
    }
    
    .warning-note p {
        font-size: 0.95rem; /* Увеличен с 0.85rem */
    }
    
    /* Вторая модель */
    .second-model-image {
        min-height: 250px;
        padding: 15px;
        flex-direction: column; /* На очень маленьких экранах ставим вертикально */
        gap: 15px;
    }
    
    /* УВЕЛИЧЕННЫЕ ИЗОБРАЖЕНИЯ ВТОРОЙ МОДЕЛИ */
    .second-model-image img {
        max-height: 220px; /* Увеличено с 150px */
        max-width: 90%;
    }
    
    .second-model-caption {
        padding: 12px;
    }
    
    .second-model-caption p {
        font-size: 1rem; /* Увеличен с 0.9rem */
    }
    
    /* Преимущества */
    .features-section {
        padding: 25px 18px;
    }
    
    .features-section h2 {
        font-size: 1.4rem; /* Увеличен с 1.2rem */
    }
    
    .features-content p {
        font-size: 1rem; /* Увеличен с 0.9rem */
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-text {
        font-size: 0.95rem; /* Увеличен с 0.9rem */
    }
    
    .feature-icon {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
    
    /* Карта */
    .map-category img {
        max-height: 250px; /* Увеличено с 200px */
    }
    
    /* Вступление */
    .page-intro {
        padding: 15px;
    }
    
    .page-intro p {
        font-size: 1rem; /* Увеличен с 0.9rem */
    }
    
    .page-intro li {
        font-size: 0.95rem; /* Увеличен с 0.85rem */
    }
}

/* Очень маленькие экраны (400px и меньше) */
@media (max-width: 400px) {
    .product-image-side img {
        max-height: 300px; /* Увеличено с 200px */
    }
    
    .model-title {
        font-size: 1.4rem; /* Увеличен с 1.1rem */
    }
    
    .specs-list li {
        font-size: 0.95rem; /* Увеличен с 0.8rem */
    }
    
    .second-model-image img {
        max-height: 180px; /* Увеличено с 120px */
    }
    
    .second-model-caption p {
        font-size: 0.95rem; /* Увеличен с 0.85rem */
    }
    
    .features-section h2 {
        font-size: 1.3rem; /* Увеличен с 1.1rem */
    }
    
    .feature-text {
        font-size: 0.9rem; /* Увеличен с 0.85rem */
    }
    
    .map-category img {
        max-height: 200px; /* Увеличено с 150px */
    }
}

/* Для двойного фото на модели 150-4-1 */
@media (max-width: 768px) {
    .dual-photos-container {
        grid-template-columns: 1fr; /* На планшетах тоже вертикально */
        gap: 20px;
    }
    
    .dual-photo-item {
        padding: 15px;
    }
    
    /* УВЕЛИЧЕННЫЕ ИЗОБРАЖЕНИЯ ДЛЯ 150-4-1 */
    .dual-photo-item img {
        max-height: 350px; /* Увеличено с 200px */
        width: 100%;
    }
}

@media (max-width: 576px) {
    .dual-photo-item img {
        max-height: 280px; /* Увеличено */
    }
}

/* Улучшение читаемости на мобильных устройствах */
@media (max-width: 768px) {
    .content {
        padding: 20px;
    }
    
    h1 {
        font-size: 1.8rem; /* Увеличен с 1.5rem */
        margin-bottom: 20px;
    }
    
    p, li {
        line-height: 1.6;
    }
}

/* Горизонтальная ориентация на мобильных */
@media (max-width: 900px) and (orientation: landscape) {
    .product-with-specs {
        flex-direction: row;
    }
    
    .product-image-side {
        flex: 1;
    }
    
    .specs-text-side {
        flex: 1;
    }
    
    .product-image-side img {
        max-height: 400px; /* Увеличено с 300px */
    }
    
    .second-model-image {
        flex-direction: row;
        min-height: 300px;
    }
    
    .second-model-image img {
        max-height: 280px; /* Увеличено с 200px */
    }
}
/* Быстрые переходы по грузоподъемности */
.quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 30px 0 20px;
    padding: 15px;
    background: linear-gradient(135deg, #fff8f3 0%, #fff0e6 100%);
    border-radius: 50px;
    border: 1px solid #ffefe6;
}

.quick-link-btn {
    display: inline-block;
    background: white;
    color: #ff8243;
    border: 2px solid #ff8243;
    padding: 10px 25px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-link-btn:hover {
    background: #ff8243;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 130, 67, 0.3);
}

.quick-link-btn:active {
    transform: translateY(0);
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Отступ для якоря (чтобы не перекрывалось меню) */
.section-anchor {
    scroll-margin-top: 100px;
}

@media (max-width: 768px) {
    .quick-links {
        border-radius: 20px;
        gap: 10px;
    }
    
    .quick-link-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .section-anchor {
        scroll-margin-top: 80px;
    }
}
/* Кнопка наверх в блоке */
.section-top-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ff8243;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: 20px;
    margin-bottom: 10px;
    float: right;
}

.section-top-btn:hover {
    background: #e6733c;
    transform: translateY(-2px);
    box-shadow: 0 3px 10px rgba(255, 130, 67, 0.3);
}

.section-top-btn:active {
    transform: translateY(0);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffefe6;
    padding-bottom: 15px;
}

.section-header h2 {
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

/* Очистка float */
.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .section-top-btn {
        float: none;
        align-self: flex-start;
    }
}