        /* Основные стили формы */
        .order-form-container {
            font-family: 'Poppins', sans-serif;
            max-width: 1600px;
            margin: 0 auto;
            padding: 10px;
            position: relative;
        }

        /* Кнопка "Назад" - абсолютно позиционируется слева от пагинации */
        .steps-navigation .back-button {
            background: #0073e6 !important;
            color: white !important;
            border: none;
            border-radius: 50%;
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(0, 115, 230, 0.3);
            position: absolute;
            left: 10px;
            flex-shrink: 0;
        }

        .steps-navigation .back-button:hover {
            background: #005bb5;
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(0, 115, 230, 0.4);
        }

        .steps-navigation .back-button:active {
            transform: scale(0.95);
        }

        .steps-navigation .back-button .back-arrow {
            color: white !important;
            font-size: 24px;
            font-weight: bold;
            line-height: 1;
            transition: transform 0.2s ease;
            pointer-events: none;
            display: inline-block;
            transform: translateX(-1px);
        }

        .steps-navigation .back-button:hover .back-arrow {
            transform: translateX(-2px);
        }
        
        .order-form-container * {
            font-family: 'Poppins', sans-serif;
            box-sizing: border-box;
        }
        
        /* Навигация по шагам */
        .steps-navigation {
            display: flex;
            justify-content: center;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: nowrap;
            width: 100%;
            position: relative;
            text-align: center;
        }
        
        /* Контейнер для шагов */
        .steps-navigation .steps-container {
            display: flex;
            gap: 10px;
            align-items: center;
        }
        
        .step-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            padding: 10px;
            min-width: 100px;
            position: relative;
        }
        
        .step-nav-item:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 25px;
            right: -35px;
            width: 60px;
            height: 2px;
            background-color: #ccc;
            transition: background-color 0.5s ease;
        }
        
        .step-nav-item.active:not(:last-child)::after {
            background-color: #0073e6;
        }
        
        .step-number {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            margin-bottom: 5px;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            border: 2px solid transparent;
        }
        
        .step-nav-item.active .step-number {
            background-color: #e9f3ff;
            color: #0073e6;
            border-color: #0073e6;
            animation: bounce 0.6s ease-out;
        }
        
        .step-label {
            font-size: 14px;
            color: #666;
            transition: all 0.3s ease;
        }
        
        .step-nav-item.active .step-label {
            color: #0073e6;
            font-weight: bold;
        }
        
        .step-nav-item.completed .step-number {
            background-color: #0073e6;
            color: white;
        }
        
        /* Анимации */
        @keyframes pulse {
            0% { transform: scale(1); box-shadow: 0 0 0 rgba(0, 115, 230, 0); }
            50% { transform: scale(1.1); box-shadow: 0 0 30px rgba(0, 115, 230, 0.8); }
            100% { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 115, 230, 0.6); }
        }
        
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        /* Стили для шагов формы */
        .form-step {
            display: none;
            opacity: 0;
            transition: opacity 0.5s ease-in-out, transform 0.5s ease-out;
            transform: translateY(20px);
        }
        
        .form-step.active-step {
            display: block;
            opacity: 1;
            transform: translateY(0);
        }
        
        .step-title {
            text-align: center;
            margin-bottom: 30px;
            font-size: 60px;
            font-weight: 600;
            color: #174982;
        }
        
        .text-center {
            text-align: center;
        }
        
        /* Стили для контейнера выбора типа продукта */
        .product-type-container {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin: 0 auto;
            max-width: 1600px;
            flex-wrap: wrap;
        }
        
        /* Стили для элементов выбора типа продукта */
        .product-type-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
            transform-origin: center;
            padding: 20px;
            border-radius: 20px;
            background-color: #E9F3FF;
            width: 300px;
        }
        
        .product-type-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 8px 20px rgba(0, 115, 230, 0.3);
            opacity: 0.9;
        }
        
        .product-image-container {
            width: 240px;
            height: 240px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 5px;
            border-radius: 8px;
            overflow: hidden;
            max-width: 100%;
        }
        
        .product-type-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        .product-type-title {
            font-size: 24px;
            font-weight: 600;
            color: #174982;
            text-align: center;
        }
        
        /* Стили для выбранного типа продукта */
        .product-type-item.selected {
            animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1);
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(0, 115, 230, 0.6);
            border: 3px solid #0073e6;
            background-color: #E9F3FF;
        }
        
        /* Контейнер сетки FEFCO */
        #fefco-grid-container {
            margin: 30px 0;
        }
        
        /* Сетка элементов FEFCO */
        .fefco-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin: 0 auto;
            max-width: 1600px;
        }
        
        .fefco-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
            transform-origin: center;
            border-radius: 20px;
            background-color: #E9F3FF;
            padding: 20px;
            height: 100%;
        }
        
        .fefco-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 8px 20px rgba(0, 115, 230, 0.3);
            opacity: 0.9;
        }
        
        .fefco-image {
            width: 250px;
            height: 250px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            border-radius: 8px;
            overflow: hidden;
        }
        
        .fefco-icon {
            max-width: 90%;
            max-height: 90%;
            object-fit: contain;
            width: auto;
            height: auto;
        }
        
        .fefco-code {
            font-size: 35px;
            font-weight: bold;
            color: #174982;
            margin-top: 5px;
        }
        
        .fefco-title {
            font-size: 18px;
            color: #174982;
            margin-top: 5px;
            text-align: center;
            min-height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .fefco-description {
            font-size: 14px;
            margin-top: 5px;
            text-align: center;
            font-style: italic;
            min-height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .fefco-description.no-izcirsanas-forma {
            color: #2ecc71; /* Зеленый цвет */
        }
        
        .fefco-description.izcirsanas-forma {
            color: #e74c3c; /* Красный цвет */
        }
        
        .fefco-item.selected {
            animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1);
            transform: scale(1.05);
            box-shadow: 0 0 25px rgba(0, 115, 230, 0.6);
            border: 3px solid #0073e6;
            background-color: #E9F3FF;
        }
        
        /* Стили для формы ввода размеров на шаге 3 */
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            font-size: 18px;
            margin-bottom: 5px;
            color: #174982;
            font-weight: 600;
        }
        
        .form-group input[type="text"] {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 10px;
        }
        
        /* Стили для переключателя размеров */
        .dimensions-toggle-container {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
            justify-content: center;
        }
        
        .toggle-text {
            font-size: 18px;
            color: #174982;
            font-weight: 600;
            font-family: 'Poppins', sans-serif;
        }
        
        .toggle-before {
            margin-right: 10px;
        }
        
        .toggle-after {
            margin-left: 10px;
        }
        
        /* Стили для контейнера размеров */
        .dimensions-container {
            display: flex;
            gap: 30px;
            margin-top: 20px;
        }
        
        .dimensions-form-column {
            flex: 1;
            min-width: 300px;
            max-width: 600px;
        }
        
        .dimensions-image-column {
            flex: 1;
            min-width: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .fefco-schema-container {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            background-color: #E9F3FF;
            padding: 30px;
            box-shadow: 0 4px 15px rgba(0, 115, 230, 0.2);
            min-height: 400px;
            max-height: 500px;
        }
        
        /* Увеличиваем специфичность селектора */
        .order-form-container .fefco-schema-container .fefco-schema-image,
        .elementor .order-form-container .fefco-schema-container .fefco-schema-image {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            max-height: 440px !important;
        }
        
        /* Стили для кнопки */
		.form-actions {
			margin-top: 30px;
			text-align: center;
			clear: both;
			display: flex;
			justify-content: center;
			flex-wrap: wrap;
			gap: 15px;
		}
        
        .submit-btn {
            background-color: #0073e6;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .submit-btn:hover {
            background-color: #0058b3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
        }
        
        /* Стили для переключателя */
        .toggle-switch {
            position: relative;
            display: flex;
            align-items: center;
            cursor: pointer;
        }
        
        .toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .toggle-switch .slider {
            position: relative;
            display: inline-block;
            width: 60px;
            height: 30px;
            background-color: #ccc;
            border-radius: 30px;
            transition: .4s;
        }
        
        .toggle-switch .slider:before {
            position: absolute;
            content: "";
            height: 22px;
            width: 22px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            border-radius: 50%;
            transition: .4s;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        .toggle-switch input:checked + .slider:before {
            transform: translateX(30px);
        }
		
		.toggle-switch input:checked + .slider {
			background-color: #0073e6;
		}
        
        .toggle-switch:hover .slider:before {
            box-shadow: 0 0 3px #2196F3;
        }
        
        /* Попап с ошибками */
        .error-popup {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s ease-in-out;
        }
        
        .error-popup.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .error-popup-content {
            background-color: #fff;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
            animation: slideIn 0.4s ease-out;
            overflow: hidden;
        }
        
        .error-popup-header {
            background-color: #ffebee;
            color: #e74c3c;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid #f5d5d5;
        }
        
        .error-popup-header h3 {
            margin: 0;
            font-size: 18px;
            font-weight: 600;
            color: #e74c3c;
        }
        
        .error-popup-close {
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #e74c3c;
        }
        
        .error-popup-body {
            padding: 20px;
            max-height: 300px;
            overflow-y: auto;
        }
        
        .error-popup-body ul {
            margin: 0;
            padding-left: 20px;
            color: #333;
        }
        
        .error-popup-body li {
            margin-bottom: 8px;
        }
        
        .error-popup-footer {
            padding: 15px 20px;
            text-align: right;
            border-top: 1px solid #eee;
        }
        
        .error-popup-button {
            background-color: #0073e6;
            color: white;
            padding: 8px 16px;
            border: none;
            border-radius: 5px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .error-popup-button:hover {
            background-color: #0058b3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
        }
        
        /* Стили для Шага 4: Материал и цвет */
        .material-color-container {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            max-width: 1600px;
            margin: 0 auto;
        }
        
        /* Стили для секций */
        .material-section {
            flex: 2;
            min-width: 300px;
        }
        
        .color-section {
            flex: 1;
            min-width: 200px;
        }
        
        .preview-section {
            flex: 1;
            min-width: 250px;
        }
        
        /* Подзаголовки колонок */
        .column-subtitle {
            font-size: 24px;
            font-weight: 600;
            color: #174982;
            text-align: center;
            margin-bottom: 20px;
        }
        
        /* Сетка для материалов */
        .material-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            width: 100%;
        }
        
        /* Стили для опций материала */
        .material-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 15px;
            border-radius: 15px;
            background-color: #E9F3FF;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
            height: 100%;
            width: 100%;
            max-width: 300px;
            margin: 0 auto;
        }
        
        .material-option:hover {
            transform: translateY(-4px) scale(1.01);
            box-shadow: 0 8px 20px rgba(0, 115, 230, 0.3);
            opacity: 0.9;
        }
        
        /* Контейнеры для изображений материала */
        .material-image-container {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
            overflow: hidden;
            border-radius: 8px;
            max-width: 280px;
        }
        
        /* Стили для изображений */
        .material-image {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }
        
        /* Стили для названий */
        .material-title {
            font-size: 18px;
            font-weight: 600;
            color: #174982;
            text-align: center;
        }
        
        /* Контейнер опций цвета */
        .color-options {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        /* Стили для опций цвета */
        .color-option {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 15px;
            border-radius: 15px;
            background-color: #E9F3FF;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
            height: 60px;
            position: relative; /* Для абсолютного позиционирования внутренних элементов */
        }
        
        .color-option:hover {
            transform: translateY(-4px) scale(1.01);
            box-shadow: 0 8px 20px rgba(0, 115, 230, 0.3);
            opacity: 0.9;
        }
        
        /* Стили для выбранных опций */
        .material-option.selected, .color-option.selected {
            animation: pulse 0.5s cubic-bezier(0.4, 0, 0.6, 1);
            transform: scale(1.02);
            box-shadow: 0 0 25px rgba(0, 115, 230, 0.6);
            border: 3px solid #0073e6;
            background-color: #E9F3FF;
        }
        
        /* Стили для цветовых вариантов */
        .color-option[data-color="brūns/brūns"] {
            background-color: #E9D3B3;
        }
        
        .color-option[data-color="balts/brūns"] {
            background: linear-gradient(135deg, #FFFFFF 49%, #E9D3B3 51%);
            border: 2px solid #E0E0E0;
        }
        
        .color-option[data-color="balts/balts"] {
            background-color: #FFFFFF;
            border: 2px solid #E0E0E0;
        }
        
        /* Стили для названий цветов */
        .color-title {
            font-size: 18px;
            font-weight: 600;
            color: #174982;
            text-align: center;
        }
        
        /* Контейнер для превью коробки */
        .box-preview-container {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
            background-color: #E9F3FF;
            border-radius: 15px;
            box-shadow: 0 4px 15px rgba(0, 115, 230, 0.2);
            min-height: 250px;
        }
        
        /* Изображение превью коробки */
        .box-preview-image {
            max-width: 100%;
            max-height: 250px;
            object-fit: contain;
        }
        
        /* Информация о минимальном заказе */
        .min-order-info {
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            text-align: center;
            font-size: 12px;
            color: #e74c3c;
            padding: 0 10px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        /* Стили для отключенных опций цвета */
        .color-option.disabled {
            opacity: 0.7 !important;
            pointer-events: none !important;
            cursor: not-allowed !important;
        }
        
        /* Стили для шага с печатью */
        .print-toggle-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            margin: 30px 0;
        }
        
        .print-toggle-options {
            display: flex;
            align-items: center;
            position: relative;
        }
        
        .print-option {
            font-size: 24px;
            font-weight: 600;
            color: #174982;
            margin: 0 20px;
        }
        
        .print-toggle-switch {
            position: relative;
            display: inline-block;
            width: 80px;
            height: 40px;
        }
        
        .print-toggle-switch input {
            opacity: 0;
            width: 0;
            height: 0;
        }
        
        .print-slider {
            position: absolute;
            cursor: pointer;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: #ccc;
            transition: .4s;
            border-radius: 40px;
        }
        
        .print-slider:before {
            position: absolute;
            content: "";
            height: 32px;
            width: 32px;
            left: 4px;
            bottom: 4px;
            background-color: white;
            transition: .4s;
            border-radius: 50%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }
        
        input:checked + .print-slider {
            background-color: #0073e6;
        }
        
        input:checked + .print-slider:before {
            transform: translateX(40px);
        }
        
        .min-print-info {
            position: absolute;
            right: -200px;
            color: #e74c3c;
            font-size: 16px;
            font-weight: 600;
            visibility: hidden;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .min-print-info.show {
            visibility: visible;
            opacity: 1;
        }
        
        /* Инфо-иконка и тултип */
        .info-tooltip {
            position: relative;
            display: inline-block;
            margin-left: 10px;
            vertical-align: middle;
        }
        
        .info-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: #0073e6;
            color: white;
            font-size: 14px;
            font-weight: bold;
            cursor: help;
        }
        
        .tooltip-text {
            visibility: hidden;
            width: 300px;
            background-color: #174982;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 10px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            transform: translateX(-50%);
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 14px;
            font-weight: normal;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        }
        
        .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #174982 transparent transparent transparent;
        }
        
        .info-tooltip:hover .tooltip-text {
            visibility: visible;
            opacity: 1;
        }
        
        /* Стили для загрузки файла */
        .upload-section {
            max-width: 600px;
            margin: 30px auto;
        }
        
        .upload-area {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 30px;
            border: 2px dashed #0073e6;
            border-radius: 10px;
            background-color: #E9F3FF;
            margin-top: 20px;
        }
        
        .upload-btn {
            background-color: #0073e6;
            color: white;
            padding: 12px 24px;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-bottom: 15px;
        }
        
        .upload-btn:hover {
            background-color: #0058b3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
        }
        
        .upload-file-name {
            font-size: 16px;
            color: #174982;
            margin-top: 10px;
            text-align: center;
        }
        
        /* Стили для комментариев */
        .comments-section {
            max-width: 800px;
            margin: 30px auto;
        }
        
        #order-comments {
            width: 100%;
            min-height: 120px;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 10px;
            font-size: 16px;
            resize: vertical;
            font-family: 'Poppins', sans-serif;
        }
        
        /* Дополнительная кнопка */
        .secondary-btn {
            background-color: #E9F3FF;
            color: #174982;
            padding: 12px 24px;
            border: 2px solid #0073e6;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            margin-left: 15px;
        }
        
		.secondary-btn:hover {
					background-color: #d0e6ff;
					transform: translateY(-2px);
					box-shadow: 0 4px 8px rgba(0, 115, 230, 0.2);
				}
				
				/* Боковая панель продуктов */
				.products-sidebar {
					position: fixed;
					top: 150px;
					right: 20px;
					width: 300px;
					background-color: #F8F9FA;
					border-radius: 10px;
					box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
					z-index: 100;
					transition: all 0.3s ease;
					max-height: 70vh;
					overflow-y: auto;
					display: none;
				}
				
				.products-sidebar.show {
					display: block;
				}
				
				.sidebar-header {
					padding: 15px;
					background-color: #E9F3FF;
					border-top-left-radius: 10px;
					border-top-right-radius: 10px;
					border-bottom: 1px solid #e0e0e0;
				}
				
				.sidebar-header h3 {
					margin: 0;
					font-size: 18px;
					color: #174982;
					font-weight: 600;
				}
				
				.products-list {
					padding: 10px;
				}
				
				.product-item {
					padding: 10px;
					margin-bottom: 10px;
					background-color: white;
					border-radius: 8px;
					box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
					position: relative;
				}
				
				.product-title {
					font-weight: 600;
					color: #174982;
					margin-bottom: 5px;
				}
				
				.product-details {
					font-size: 14px;
					color: #666;
				}
				
				.product-remove {
					position: absolute;
					right: 10px;
					top: 10px;
					color: #e74c3c;
					cursor: pointer;
					font-weight: bold;
				}
				
				.product-edit {
					position: absolute;
					right: 40px;
					top: 10px;
					color: #0073e6;
					cursor: pointer;
					font-weight: bold;
				}
				
				/* Контейнер для блока печати */
				.print-container {
					display: flex;
					flex-wrap: wrap;
					gap: 30px;
					max-width: 1600px;
					margin: 0 auto;
				}
				
				.print-options-column {
					flex: 2;
					min-width: 300px;
				}
				
				.print-preview-column {
					flex: 1;
					min-width: 250px;
				}
				
				.fefco-preview-container {
					width: 100%;
					height: 100%;
					display: flex;
					justify-content: center;
					align-items: center;
					padding: 20px;
					background-color: #E9F3FF;
					border-radius: 15px;
					box-shadow: 0 4px 15px rgba(0, 115, 230, 0.2);
					min-height: 250px;
				}
				
				.fefco-preview-image {
					max-width: 100%;
					max-height: 250px;
					object-fit: contain;
				}
				
				/* Информация о минимальном заказе для печати */
				.min-print-info.always-visible {
					display: block;
					color: #e74c3c;
					font-size: 16px;
					font-weight: 600;
					text-align: center;
					margin-top: 15px;
				}
				
				/* Медиа-запросы */
				@media (max-width: 1300px) {
					.fefco-grid {
						grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
					}
				}
				
				@media (max-width: 991px) {
					.steps-navigation {
						flex-wrap: nowrap;
						justify-content: center;
						overflow-x: visible;
					}
					
					.step-nav-item:not(:last-child)::after {
						width: 30px;
						right: -20px;
					}
					
					.product-type-item {
						width: 280px;
						padding: 15px;
					}
					
					.product-image-container {
						width: 180px;
						height: 180px;
					}
					
					.product-type-title {
						font-size: 20px;
					}
					
					.step-title {
						font-size: 40px;
					}
					
					.fefco-grid {
						grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
						gap: 20px;
					}
					
					.fefco-image {
						width: 250px;
						height: 200px;
					}
					
					.dimensions-container {
						flex-direction: column;
						align-items: center;
					}
					
					.dimensions-form-column, 
					.dimensions-image-column {
						width: 100%;
						max-width: 100%;
					}
					
					.fefco-schema-container {
						max-width: 100%;
					}
					
					.material-color-container {
						flex-direction: column;
					}
					
					.material-section, .color-section, .preview-section {
						width: 100%;
					}
					
					.print-container {
						flex-direction: column;
					}
					
					.print-options-column,
					.print-preview-column {
						width: 100%;
					}
					
					.products-sidebar {
						position: static;
						width: 100%;
						max-width: 600px;
						margin: 20px auto;
					}
				}
				
				@media (max-width: 768px) {
					.steps-navigation .back-button {
						width: 36px;
						height: 36px;
						left: 8px;
					}
					
					.steps-navigation .back-button .back-arrow {
						font-size: 20px;
					}
					
					.steps-navigation {
						overflow-x: auto;
						padding-bottom: 10px;
						justify-content: center;
					}
					
					.steps-navigation .steps-container {
						gap: 8px;
					}
					
					.fefco-image {
						width: 250px;
						height: 200px;
					}
					
					.fefco-grid {
						grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
					}
					
					.material-grid {
						grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
					}
					
					.material-option {
						padding: 10px;
					}
					
					.step-nav-item {
						min-width: 70px;
						padding: 8px 5px;
					}
					
					.step-number {
						width: 32px;
						height: 32px;
						font-size: 14px;
					}
					
					.step-label {
						font-size: 12px;
						text-align: center;
					}
					
					.step-nav-item:not(:last-child)::after {
						width: 40px;
						right: -25px;
						top: 20px;
					}
					
					.step-title {
						font-size: 30px;
					}
					
					.product-type-container {
						flex-wrap: wrap;
					}
					
					.product-type-item {
						width: 45%;
						min-width: 150px;
						max-width: 280px;
					}
					
					.column-subtitle {
						font-size: 20px;
					}
					
					.material-title, .color-title {
						font-size: 16px;
					}
					
					.print-toggle-options {
						flex-direction: column;
					}
					
					.print-option {
						margin: 10px 0;
					}
					
					.min-print-info {
						position: static;
						margin-top: 10px;
						text-align: center;
					}
					
					.form-actions {
						flex-direction: column;
					}
					
					.secondary-btn {
						margin-left: 0;
						margin-top: 15px;
					}
				}
				
				@media (max-width: 550px) {
					.fefco-image {
						width: 180px;
						height: 200px;
					}
					
					.fefco-grid {
						grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
					}
				}
				
				@media (max-width: 480px) {
					.steps-navigation .back-button {
						width: 32px;
						height: 32px;
						left: 6px;
					}
					
					.steps-navigation .back-button .back-arrow {
						font-size: 18px;
					}
					
					.steps-navigation {
						justify-content: center;
					}
					
					.steps-navigation .steps-container {
						gap: 5px;
					}
					
					.fefco-image {
						width: 160px;
						height: 200px;
					}
					
					.fefco-grid {
						grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
					}    
					
					.material-grid {
						grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
						gap: 10px;
					}
					
					.material-title {
						font-size: 14px;
					}
					
					.step-nav-item {
						min-width: 60px;
						padding: 5px 3px;
					}
					
					.step-number {
						width: 28px;
						height: 28px;
						font-size: 12px;
					}
					
					.step-label {
						font-size: 10px;
						line-height: 1.2;
					}
					
					.step-nav-item:not(:last-child)::after {
						width: 30px;
						right: -20px;
						top: 18px;
					}
					
					.step-label {
						font-size: 12px;
					}
					
					.fefco-title {
						font-size: 14px;
					}
					
					.step-title {
						font-size: 24px;
					}
					
					.column-subtitle {
						font-size: 18px;
					}
				}
				
				@media (max-width: 320px) {
					.steps-navigation .back-button {
						left: 4px;
						width: 26px;
						height: 26px;
					}
					
					.steps-navigation .back-button .back-arrow {
						font-size: 14px;
					}
				}
				
				@media (max-width: 360px) {
					.steps-navigation .back-button {
						width: 28px;
						height: 28px;
						left: 5px;
					}
					
					.steps-navigation .back-button .back-arrow {
						font-size: 16px;
					}
					
					.steps-navigation {
						justify-content: center;
					}
					
					.steps-navigation .steps-container {
						gap: 3px;
					}
					
					.step-nav-item {
						min-width: 50px;
						padding: 3px 2px;
					}
					
					.step-number {
						width: 24px;
						height: 24px;
						font-size: 11px;
					}
					
					.step-label {
						font-size: 9px;
						line-height: 1.1;
					}
					
					.step-nav-item:not(:last-child)::after {
						width: 20px;
						right: -15px;
						top: 15px;
					}
				}
				
					.sidebar-submit-btn {
						background-color: #0073e6;
						color: white;
						padding: 10px 15px;
						border: none;
						border-radius: 8px;
						font-size: 16px;
						font-weight: 600;
						cursor: pointer;
						transition: all 0.3s ease;
						margin: 10px auto;
						display: block;
						width: 100%;
						max-width: 280px;
					}

				.sidebar-submit-btn:hover {
						background-color: #0058b3;
						transform: translateY(-2px);
						box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
				}
				
				.sidebar-submit-container {
				position: sticky;
				bottom: 0;
				background-color: #F8F9FA;
				padding: 15px;
				border-top: 1px solid #e0e0e0;
				width: 100%;
				}
				
				/* Стили для попапа с контактной формой */
				.contact-popup {
					display: none;
					position: fixed;
					z-index: 1000;
					left: 0;
					top: 0;
					width: 100%;
					height: 100%;
					background-color: rgba(0, 0, 0, 0.6);
					backdrop-filter: blur(5px);
					animation: fadeIn 0.3s ease-in-out;
				}

				.contact-popup.show {
					display: flex;
					align-items: center;
					justify-content: center;
				}

				.contact-popup-content {
					background: linear-gradient(135deg, #ffffff 0%, #f5f8fd 100%);
					border-radius: 20px;
					width: 90%;
					max-width: 800px;
					box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
					animation: slideIn 0.4s ease-out;
					overflow: hidden;
					border: 1px solid rgba(0, 115, 230, 0.1);
				}

				.contact-popup-header {
					background: linear-gradient(135deg, #E9F3FF 0%, #d0e6ff 100%);
					color: #174982;
					padding: 20px 25px;
					display: flex;
					justify-content: space-between;
					align-items: center;
					border-bottom: 1px solid rgba(0, 115, 230, 0.1);
				}

				.contact-popup-header h3 {
					margin: 0;
					font-size: 24px;
					font-weight: 600;
					color: #174982;
					letter-spacing: -0.5px;
				}

				.contact-popup-close {
					font-size: 24px;
					font-weight: bold;
					cursor: pointer;
					color: #174982;
					width: 36px;
					height: 36px;
					display: flex;
					align-items: center;
					justify-content: center;
					border-radius: 50%;
					transition: all 0.3s ease;
					background: rgba(255, 255, 255, 0.5);
					border: none;
					padding: 0;
					line-height: 1;
					position: relative;
				}

				.contact-popup-close::before {
					content: "×";
					position: absolute;
					top: 50%;
					left: 50%;
					transform: translate(-50%, -50%);
					line-height: 1;
					font-size: 28px;
				}

				.contact-popup-close:hover {
					background: rgba(255, 255, 255, 0.8);
					transform: rotate(90deg);
				}

				.contact-popup-body {
					padding: 30px;
				}

				.contact-columns {
					display: flex;
					flex-wrap: wrap;
					gap: 40px;
				}

				.contact-form-column {
					flex: 1;
					min-width: 300px;
				}

				.contact-form-column .form-group {
					margin-bottom: 25px;
				}

				.contact-form-column input {
					width: 100%;
					padding: 12px 15px;
					border: 2px solid #E9F3FF;
					border-radius: 10px;
					font-size: 16px;
					transition: all 0.3s ease;
					background: rgba(255, 255, 255, 0.9);
				}

				.contact-form-column input:focus {
					border-color: #0073e6;
					box-shadow: 0 0 0 3px rgba(0, 115, 230, 0.1);
					transform: translateY(-2px);
				}

				.contact-form-column input:hover {
					border-color: #0073e6;
				}

				/* Стили для отображения ошибок валидации */
				.contact-form-column input.invalid-input {
					border-color: #dc3545;
					background-color: rgba(220, 53, 69, 0.05);
				}

				.contact-form-column .error-message {
					color: #dc3545;
					font-size: 14px;
					margin-top: 5px;
					display: block;
				}

				.contact-image-column {
					flex: 1;
					min-width: 300px;
					display: flex;
					align-items: center;
					justify-content: center;
					position: relative;
				}

				/* Удаляем старые стили .contact-image и оставляем только специфичные */
				.contact-popup .contact-image-column img[class="contact-image"] {
					max-width: 100%;
					height: auto;
					border-radius: 20px;
					box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
					transition: transform 0.3s ease;
					overflow: hidden;
				}

				.contact-popup .contact-image-column img[class="contact-image"]:hover {
					transform: scale(1.02);
				}

				/* Удаляем все старые стили */
				.order-form-container .contact-popup .contact-image-column .contact-image,
				.order-form-container .contact-popup .contact-image-column img.contact-image,
				.order-form-container .contact-popup .contact-image-column .contact-image:hover,
				.order-form-container .contact-popup .contact-image-column .contact-image img {
					display: none;
				}

				.contact-popup-footer {
					padding: 20px 25px;
					text-align: right;
					border-top: 1px solid rgba(0, 115, 230, 0.1);
					display: flex;
					justify-content: flex-end;
					gap: 15px;
					background: rgba(233, 243, 255, 0.3);
				}

				@media (max-width: 768px) {
					.contact-columns {
						flex-direction: column;
						gap: 25px;
					}
					
					.contact-image-column {
						order: -1;
					}
					
					.contact-popup-content {
						margin: 20px;
						max-height: 90vh;
						overflow-y: auto;
					}
					
					.contact-popup-header h3 {
						font-size: 20px;
					}
					
					.contact-popup-body {
						padding: 20px;
					}
				}
				
				@keyframes slideIn {
					from {
						opacity: 0;
						transform: translateY(-30px);
					}
					to {
						opacity: 1;
						transform: translateY(0);
					}
				}
				
				/* Стили для отладочного окна */
				.debug-panel {
					position: fixed;
					bottom: 0;
					right: 0;
					width: 450px;
					max-height: 500px;
					background-color: rgba(0, 0, 0, 0.85);
					color: #00ff00;
					font-family: monospace;
					border-top-left-radius: 5px;
					box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.3);
					z-index: 9999;
					transition: all 0.3s ease;
					opacity: 0.9;
				}

				.debug-header {
					display: flex;
					justify-content: space-between;
					align-items: center;
					padding: 5px 10px;
					background-color: #333;
					border-top-left-radius: 5px;
					cursor: move;
				}

				.debug-header h3 {
					margin: 0;
					font-size: 14px;
					color: #fff;
				}

				.debug-toggle {
					background: none;
					border: none;
					color: #fff;
					font-size: 18px;
					cursor: pointer;
					width: 24px;
					height: 24px;
					line-height: 20px;
				}

				.debug-content {
					padding: 10px;
					overflow-y: auto;
					max-height: 450px;
				}

				.debug-output {
					font-size: 12px;
					line-height: 1.4;
				}

				.debug-output p {
					margin: 2px 0;
					padding: 2px 0;
					border-bottom: 1px solid rgba(255, 255, 255, 0.1);
				}

				.debug-output .section {
					margin-top: 10px;
					padding-left: 10px;
					border-left: 2px solid #00aa00;
				}

				.debug-output .title {
					color: #00aaff;
					font-weight: bold;
				}

				.debug-output .value {
					color: #ffaa00;
				}

				.debug-output .unit {
					color: #aaffaa;
				}

				.debug-footer {
					display: flex;
					justify-content: space-between;
					margin-top: 10px;
				}

				.debug-btn {
					background-color: #444;
					border: none;
					color: #fff;
					padding: 5px 10px;
					font-size: 12px;
					border-radius: 3px;
					cursor: pointer;
				}

				.debug-btn:hover {
					background-color: #555;
				}

				.collapsed .debug-content {
					display: none;
				}
        
        /* Стили для ячеистых решеток (FEFCO 0933) */
        .grid-controls {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .grid-controls .form-group {
            flex: 1;
            min-width: 200px;
        }
        
        .quantity-control {
            display: flex;
            align-items: center;
            margin-top: 5px;
        }
        
        .quantity-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background-color: #0073e6;
            color: white;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border: none;
            transition: all 0.3s ease;
        }
        
        .quantity-btn:hover {
            background-color: #0058b3;
            transform: scale(1.1);
        }
        
        .quantity-btn:active {
            background-color: #004999;
            transform: scale(0.95);
        }
        
        #grid-cells-x, #grid-cells-y {
            width: 50px;
            height: 40px;
            text-align: center;
            margin: 0 10px;
            border: 1px solid #ccc;
            border-radius: 5px;
            font-size: 18px;
            font-weight: bold;
        }
        
        .grid-cell-dimensions {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            margin-bottom: 20px;
        }
        
        .grid-cell-dimensions .form-group {
            flex: 1;
            min-width: 180px;
        }
        
        .grid-info {
            margin-top: 20px;
            padding: 15px;
            background-color: #e9f3ff;
            border-radius: 10px;
        }
        
        .info-box {
            padding: 10px;
        }
        
        .info-text p {
            margin: 5px 0;
            font-size: 14px;
            color: #174982;
        }
        
        #grid-horizontal-count, #grid-vertical-count {
            font-weight: bold;
            color: #0073e6;
        }
        
        /* Стили для полей Citi FEFCO */
        #citi-fefco-fields {
            margin-bottom: 30px;
            padding: 20px;
            background-color: #f8f9fa;
            border-radius: 10px;
            border: 1px solid #e9ecef;
        }
        
        #citi-fefco-fields .form-group {
            margin-bottom: 15px;
        }
        
        #citi-fefco-fields input[type="file"] {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ccc;
            border-radius: 10px;
            background-color: white;
        }
        
        .file-upload-info {
            margin-top: 10px;
            font-size: 14px;
            color: #6c757d;
        }
        
        /* Стили для попапа успешной отправки */
        .success-popup {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            animation: fadeIn 0.3s ease-in-out;
            font-family: 'Poppins', sans-serif;
        }

        .success-popup.show {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .success-popup .popup-content {
            background: linear-gradient(135deg, #ffffff 0%, #f5f8fd 100%);
            border-radius: 20px;
            width: 90%;
            max-width: 500px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            animation: slideIn 0.4s ease-out;
            overflow: hidden;
            border: 1px solid rgba(0, 115, 230, 0.1);
        }

        .success-popup .popup-header {
            background: linear-gradient(135deg, #E9F3FF 0%, #d0e6ff 100%);
            color: #174982;
            padding: 20px 25px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(0, 115, 230, 0.1);
        }

        .success-popup .popup-header h3 {
            margin: 0;
            font-size: 24px;
            font-weight: 600;
            color: #174982;
            letter-spacing: -0.5px;
            font-family: 'Poppins', sans-serif;
        }

        .success-popup .popup-close {
            font-size: 24px;
            font-weight: bold;
            cursor: pointer;
            color: #174982;
            width: 36px;
            height: 36px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.5);
            border: none;
            padding: 0;
            line-height: 1;
            position: relative;
        }

        .success-popup .popup-close::before {
            content: "×";
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            line-height: 1;
            font-size: 28px;
        }

        .success-popup .popup-close:hover {
            background: rgba(255, 255, 255, 0.8);
            transform: rotate(90deg);
        }

        .success-popup .popup-body {
            padding: 30px;
            text-align: center;
        }

        .success-popup .popup-body p {
            margin: 10px 0;
            font-size: 18px;
            color: #174982;
            line-height: 1.5;
            font-family: 'Poppins', sans-serif;
            font-weight: 500;
        }

        .success-popup .popup-footer {
            padding: 20px 25px;
            text-align: center;
            border-top: 1px solid rgba(0, 115, 230, 0.1);
            background: rgba(233, 243, 255, 0.3);
        }

        .success-popup .success-button {
            background-color: #0073e6;
            color: white;
            padding: 12px 30px;
            border: none;
            border-radius: 10px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-family: 'Poppins', sans-serif;
        }

        .success-popup .success-button:hover {
            background-color: #0058b3;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0, 115, 230, 0.3);
        }

        @media (max-width: 768px) {
            .success-popup .popup-content {
                margin: 20px;
                max-height: 90vh;
            }
            
            .success-popup .popup-header h3 {
                font-size: 20px;
            }
            
            .success-popup .popup-body {
                padding: 20px;
            }
            
            .success-popup .popup-body p {
                font-size: 16px;
            }
        }


				
				
