        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #f8f9fa;
            color: #2c3e50;
            line-height: 1.6;
        }

        .header {
            background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
            color: white;
            padding: 2rem 0;
            text-align: center;
            box-shadow: 0 2px 10px rgba(74, 144, 226, 0.3);
        }

        .header h1 {
            font-size: 2.5rem;
            font-weight: 300;
            margin-bottom: 0.5rem;
        }

        .header p {
            opacity: 0.9;
            font-size: 1.1rem;
        }

        .header .version-badge {
            background: rgba(255,255,255,0.2);
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            margin-top: 0.5rem;
            display: inline-block;
        }

        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        .filters {
            background: white;
            padding: 1.5rem;
            margin: 2rem auto;
            border-radius: 12px;
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .filter-row {
            display: flex;
            gap: 1rem;
            align-items: flex-end;
            flex-wrap: wrap;
        }

        .filter-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            flex: 1;
            min-width: 200px;
            max-width: 300px;
        }

        .filter-group.full-width {
            flex: 1 1 100%;
            max-width: none;
        }

        .filter-group.auto-width {
            flex: 0 1 auto;
            min-width: auto;
        }

        .filter-label {
            font-size: 0.85rem;
            font-weight: 500;
            color: #6c757d;
            margin-bottom: 0.25rem;
        }

        .layout-toggle {
            display: flex;
            background: #f8f9fa;
            border-radius: 8px;
            padding: 4px;
            align-self: flex-end;
        }

        .layout-btn {
            padding: 0.5rem 1rem;
            border: none;
            background: transparent;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .layout-btn.active {
            background: #4A90E2;
            color: white;
            box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
        }

        .layout-btn:not(.active):hover {
            background: #e9ecef;
        }

        .search-input, .filter-select {
            padding: 0.75rem 1rem;
            border: 2px solid #e9ecef;
            border-radius: 8px;
            font-size: 0.95rem;
            transition: all 0.3s ease;
            outline: none;
        }

        .search-input {
            width: 100%;
        }

        .search-input:focus, .filter-select:focus {
            border-color: #4A90E2;
            box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
        }

        .filter-select {
            width: 100%;
            background: white;
            cursor: pointer;
        }

        .filter-select[multiple] {
            min-height: 80px;
            padding: 0.5rem;
        }

        .filter-select[multiple] option {
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            margin-bottom: 2px;
        }

        .filter-select[multiple] option:checked {
            background: #4A90E2;
            color: white;
        }

        .selected-filters {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-top: 0.5rem;
            min-height: 1.5rem;
        }

        .filter-tag {
            background: #e3f2fd;
            color: #0d47a1;
            padding: 0.25rem 0.5rem;
            border-radius: 12px;
            font-size: 0.8rem;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }

        .filter-tag .remove {
            cursor: pointer;
            font-weight: bold;
            padding: 0 0.25rem;
            border-radius: 50%;
            background: rgba(13, 71, 161, 0.2);
        }

        .filter-tag .remove:hover {
            background: rgba(13, 71, 161, 0.4);
        }

        .filter-toggle {
            background: #e3f2fd;
            border: 2px solid #4A90E2;
            color: #4A90E2;
            padding: 0.75rem 1rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
        }

        .filter-toggle.active {
            background: #4A90E2;
            color: white;
        }

        .filter-toggle:hover:not(.active) {
            background: #bbdefb;
        }

        .stats {
            text-align: center;
            margin: 1rem 0;
            color: #6c757d;
            font-size: 0.9rem;
        }

        .stats .stat-badge {
            background: #e9ecef;
            padding: 0.3rem 0.6rem;
            border-radius: 15px;
            margin: 0 0.25rem;
            font-size: 0.8rem;
        }

        .stat-badge.new { background: #d4edda; color: #155724; }
        .stat-badge.updated { background: #fff3cd; color: #856404; }
        .stat-badge.multi-image { background: #e3f2fd; color: #0d47a1; }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.25rem;
            margin: 2rem 0;
        }

        .products-table {
            display: none;
            margin: 2rem 0;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        }

        .table-container {
            overflow-x: auto;
            max-height: 70vh;
        }

        .products-table table {
            width: 100%;
            border-collapse: collapse;
            font-size: 14px;
        }

        .products-table thead {
            position: sticky;
            top: 0;
            z-index: 10;
        }

        .products-table th {
            background: linear-gradient(135deg, #4A90E2, #357ABD);
            color: white;
            padding: 1rem 0.75rem;
            text-align: left;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            font-size: 0.8rem;
            white-space: nowrap;
            cursor: pointer;
            transition: background 0.2s ease;
            user-select: none;
            position: relative;
        }

        .products-table th:hover {
            background: linear-gradient(135deg, #357ABD, #2c5aa0);
        }

        .products-table th::after {
            content: ' ↕️';
            font-size: 0.7rem;
            opacity: 0.7;
        }

        .products-table th.sort-asc::after {
            content: ' ↑';
            opacity: 1;
        }

        .products-table th.sort-desc::after {
            content: ' ↓';
            opacity: 1;
        }

        .products-table tbody tr {
            transition: all 0.2s ease;
            border-bottom: 1px solid #e9ecef;
        }

        .products-table tbody tr:hover {
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
            transform: scale(1.001);
        }

        .products-table td {
            padding: 0.75rem;
            vertical-align: middle;
            border-bottom: 1px solid #f1f3f4;
        }

        .table-grd {
            font-family: 'Courier New', monospace;
            font-weight: 700;
            color: #4A90E2;
            background: #e3f2fd;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            display: inline-block;
            font-size: 0.85rem;
        }

        .table-base-code {
            font-family: 'Courier New', monospace;
            font-weight: 600;
            color: #4A90E2;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            display: inline-block;
            font-size: 0.85rem;
        }

        .table-ean {
            font-family: 'Courier New', monospace;
            color: #6c757d;
            font-size: 0.8rem;
            word-break: break-all;
        }

        .table-product-name {
            font-weight: 500;
            color: #2c3e50;
            max-width: 250px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

        .table-image-container {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.2s ease;
            position: relative;
        }

        .table-image-container:hover {
            transform: scale(1.1);
        }

        .table-product-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            background: white;
            padding: 2px;
        }

        .table-image-count {
            position: absolute;
            bottom: 2px;
            right: 2px;
            background: rgba(74, 144, 226, 0.9);
            color: white;
            font-size: 0.65rem;
            padding: 1px 4px;
            border-radius: 3px;
            font-weight: 600;
        }

        .table-image-placeholder {
            width: 100%;
            height: 100%;
            background: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
            color: #6c757d;
            text-align: center;
        }

        .table-date {
            color: #6c757d;
            font-size: 0.8rem;
            white-space: nowrap;
        }

        .product-card {
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            cursor: pointer;
            position: relative;
            user-select: text; /* Allow text selection */
        }

        .product-card.deleted {
            opacity: 0.6;
            position: relative;
        }

        .product-card.deleted::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(128, 128, 128, 0.3);
            z-index: 1;
            border-radius: 12px;
            pointer-events: none;
        }

        .product-card:hover:not(.deleted) {
            transform: translateY(-4px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        }

        .products-table tbody tr.deleted {
            opacity: 0.6;
            background: rgba(128, 128, 128, 0.1);
        }

        .products-table tbody tr.deleted:hover {
            background: rgba(128, 128, 128, 0.2);
        }

        .product-image-container {
            position: relative;
            width: 100%;
            height: 200px;
            background: white;
            overflow: hidden;
            border-bottom: 1px solid #f0f0f0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Preview wrapper must fill the container so the img's height:100% resolves correctly */
        .product-image-preview {
            display: flex;
            width: 100%;
            height: 100%;
            align-items: center;
            justify-content: center;
        }

        .image-carousel {
            position: relative;
            width: 100%;
            height: 100%;
        }

        .carousel-track {
            display: flex;
            transition: transform 0.3s ease;
            height: 100%;
        }

        .carousel-slide {
            min-width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            padding: 12px;
            box-sizing: border-box;
        }

        .product-image, .table-product-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center center;
            transition: opacity 0.4s ease, transform 0.4s ease;
            opacity: 0;
            transform: scale(0.95);
            border-radius: 4px;
        }

        .product-image.loaded, .table-product-image.loaded {
            opacity: 1;
            transform: scale(1);
            animation: fadeInScale 0.4s ease-out;
        }

        @keyframes fadeInScale {
            from {
                opacity: 0;
                transform: scale(0.95);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .carousel-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.55);
            color: white;
            border: none;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            line-height: 1;
            z-index: 10;
            opacity: 0;
            transition: opacity 0.18s ease, background 0.18s ease, transform 0.18s ease;
        }

        /* Reveal arrows when the card is hovered */
        .product-card:hover .carousel-nav {
            opacity: 1;
        }

        .carousel-nav:hover {
            background: rgba(0,0,0,0.85);
            transform: translateY(-50%) scale(1.12);
        }

        .carousel-nav.prev {
            left: 6px;
        }

        .carousel-nav.next {
            right: 6px;
        }

        .carousel-dots {
            position: absolute;
            bottom: 8px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 4px;
        }

        .carousel-dot {
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: rgba(255,255,255,0.5);
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .carousel-dot.active {
            background: white;
            transform: scale(1.3);
        }

        .image-count-badge {
            position: absolute;
            top: 8px;
            right: 8px;
            background: rgba(74, 144, 226, 0.9);
            color: white;
            padding: 0.2rem 0.5rem;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            backdrop-filter: blur(4px);
        }

        .product-image-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6c757d;
            font-size: 0.9rem;
            background: linear-gradient(135deg, #f8f9fa, #e9ecef);
        }

        .product-info {
            padding: 1.25rem;
            position: relative;
        }

        .product-tags {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
            flex-wrap: wrap;
        }

        .product-grd, .product-base-code {
            display: inline-block;
            padding: 0.4rem 0.8rem;
            border-radius: 6px;
            font-family: 'Courier New', monospace;
            font-size: 0.85rem;
            font-weight: 600;
        }

        .product-grd {
            background: linear-gradient(135deg, #4A90E2, #357ABD);
            color: white;
        }

        .product-base-code {
            background: linear-gradient(135deg, #0277bd, #01579b);
            color: white;
        }

        .product-base-info {
            color: #6c757d;
            font-size: 0.8rem;
            margin-bottom: 0.5rem;
        }

        .product-base-info .base-label {
            font-weight: 500;
            color: #4A90E2;
        }

        .change-badge {
            display: inline-block;
            padding: 0.2rem 0.6rem;
            border-radius: 10px;
            font-size: 0.7rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .change-badge.new {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .change-badge.updated {
            background: #fff3cd;
            color: #856404;
            border: 1px solid #ffeaa7;
        }

        .product-name-ru {
            font-size: 1.1rem;
            font-weight: 600;
            color: #2c3e50;
            margin-bottom: 0.25rem;
            line-height: 1.4;
        }

        .product-name-en {
            font-size: 0.95rem;
            font-weight: 500;
            color: #6c757d;
            margin-bottom: 0.5rem;
            line-height: 1.3;
            font-style: italic;
        }

        .product-ean {
            font-family: 'Courier New', monospace;
            color: #6c757d;
            font-size: 0.85rem;
            margin-bottom: 0.5rem;
        }

        .product-dates {
            color: #95a5a6;
            font-size: 0.8rem;
        }

        .product-dates .date-label {
            font-weight: 500;
            color: #6c757d;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.9);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90vw;
            max-height: 90vh;
            border-radius: 12px;
            overflow: hidden;
            background: white;
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.8);
            backdrop-filter: blur(8px);
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 900px;
            width: 90vw;
            max-height: 90vh;
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(0,0,0,0.3);
            display: flex;
            flex-direction: column;
        }

        .modal-header {
            background: linear-gradient(135deg, #4A90E2, #357ABD);
            color: white;
            padding: 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-shrink: 0;
        }

        .modal-title {
            font-size: 1.3rem;
            font-weight: 600;
        }

        .modal-body {
            display: flex;
            flex: 1;
            min-height: 0;
        }

        .modal-images {
            flex: 1;
            background: #f8f9fa;
            position: relative;
            min-height: 400px;
        }

        .modal-carousel {
            width: 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
        }

        .modal-carousel img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            padding: 20px;
            border-radius: 8px;
            cursor: zoom-in;
            transition: all 0.2s ease;
        }

        .modal-carousel img:hover {
            opacity: 0.9;
        }

        .modal-info {
            flex: 1;
            padding: 2rem;
            background: white;
            overflow-y: auto;
            border-left: 1px solid #e9ecef;
        }

        .info-section {
            margin-bottom: 1.5rem;
        }

        .info-section h3 {
            color: #2c3e50;
            font-size: 1rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            border-bottom: 2px solid #e3f2fd;
            padding-bottom: 0.5rem;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid #f8f9fa;
            position: relative;
        }

        .info-row:last-child {
            border-bottom: none;
        }

        .info-label {
            font-weight: 500;
            color: #6c757d;
            min-width: 100px;
            font-size: 0.9rem;
        }

        .info-value {
            font-family: 'Courier New', monospace;
            background: #f8f9fa;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            font-size: 0.9rem;
            flex: 1;
            margin-left: 1rem;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
        }

        .info-value:hover {
            background: #e9ecef;
            transform: scale(1.02);
        }

        .info-value.bold {
            font-weight: 700;
            background: #e8f4f8;
        }

        .info-value.grd {
            font-weight: 700;
            background: #e8f4f8;
        }

        .info-value.base-code {
            font-weight: 700;
            background: #e8f4f8;
        }

        .copy-feedback {
            position: absolute;
            top: -30px;
            right: 0;
            background: #4caf50;
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 4px;
            font-size: 0.75rem;
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
            z-index: 100;
        }

        .copy-feedback.show {
            opacity: 1;
        }

        .status-badge {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            border-radius: 15px;
            font-size: 0.8rem;
            font-weight: 600;
            text-transform: uppercase;
        }

        .status-badge.new {
            background: linear-gradient(135deg, #4caf50, #388e3c);
            color: white;
        }

        .status-badge.updated {
            background: linear-gradient(135deg, #ff9800, #f57c00);
            color: white;
        }

        .status-badge.deleted {
            background: linear-gradient(135deg, #f44336, #d32f2f);
            color: white;
        }

        .status-badge.error {
            background: linear-gradient(135deg, #9e9e9e, #616161);
            color: white;
        }

        .change-badge.deleted {
            background: #ffebee;
            color: #c62828;
            border: 1px solid #ffcdd2;
        }

        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(74, 144, 226, 0.9);
            color: white;
            border: none;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
            font-size: 1.2rem;
            font-weight: bold;
        }

        .modal-nav:hover {
            background: rgba(74, 144, 226, 1);
            transform: translateY(-50%) scale(1.1);
        }

        .modal-nav.prev { left: 15px; }
        .modal-nav.next { right: 15px; }

        .modal-nav:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        .image-counter {
            position: absolute;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(74, 144, 226, 0.9);
            color: white;
            padding: 0.4rem 1rem;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .close-modal {
            background: none;
            border: none;
            color: white;
            font-size: 24px;
            cursor: pointer;
            padding: 0.5rem;
            border-radius: 4px;
            transition: background 0.2s ease;
        }

        .close-modal:hover {
            background: rgba(255,255,255,0.1);
        }

        .loading {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 200px;
        }

        .spinner {
            width: 40px;
            height: 40px;
            border: 4px solid #e9ecef;
            border-top: 4px solid #4A90E2;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .error-message {
            text-align: center;
            color: #e74c3c;
            padding: 2rem;
            background: white;
            border-radius: 12px;
            margin: 2rem 0;
        }

        .no-results {
            text-align: center;
            color: #6c757d;
            padding: 3rem;
            background: white;
            border-radius: 12px;
            margin: 2rem 0;
        }

        .no-results h3 {
            margin-bottom: 1rem;
            color: #2c3e50;
        }

        .help-text {
            font-size: 0.8rem;
            color: #6c757d;
            margin-top: 0.5rem;
            font-style: italic;
        }

        /* Country filter buttons */
        .country-filters {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .country-flag {
            width: 20px;
            height: 15px;
            border-radius: 2px;
            display: inline-block;
        }

        .flag-by {
            background: linear-gradient(to bottom, #C8313E 0%, #C8313E 66.67%, #007C30 66.67%, #007C30 100%);
        }

        .flag-ru {
            background: linear-gradient(to bottom, white 0%, white 33.33%, #0033A0 33.33%, #0033A0 66.66%, #DA291C 66.66%, #DA291C 100%);
        }

        .country-badge {
            display: inline-block;
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.75rem;
            font-weight: 600;
            margin-left: 0.5rem;
        }

        .filter-row {
            margin-bottom: 1rem;
        }

        .filter-row:not(:last-child) {
            padding-bottom: 1rem;
            border-bottom: 1px solid #f0f0f0;
        }

        .filter-select[multiple] {
            min-height: 60px;
            max-height: 80px;
        }

        .selected-filters {
            min-height: 24px;
        }

        .badge-by {
            background: #00B4A6;
            color: white;
        }

        .badge-ru {
            background: #00159e;
            color: white;
        }

        @media (max-width: 768px) {
            .header h1 {
                font-size: 2rem;
            }

            .filters {
                flex-direction: column;
                align-items: stretch;
                gap: 0.75rem;
            }

            .filter-group {
                min-width: auto;
            }

            .layout-toggle {
                margin-left: 0;
                align-self: center;
                margin-top: 0.5rem;
            }

            .search-input, .filter-select {
                width: 100%;
                min-width: auto;
            }

            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 0.75rem;
            }

            .product-info {
                padding: 1rem;
            }

            .products-table {
                font-size: 0.8rem;
            }

            .products-table th,
            .products-table td {
                padding: 0.5rem 0.3rem;
            }

            .table-product-name {
                max-width: 150px;
                font-size: 0.85rem;
            }

            .table-image-container {
                width: 40px;
                height: 40px;
            }

            .modal-content {
                max-width: 95vw;
                max-height: 95vh;
                flex-direction: column;
            }

            .modal-body {
                flex-direction: column;
            }

            .modal-images {
                height: 300px;
                flex-shrink: 0;
            }

            .modal-info {
                border-left: none;
                border-top: 1px solid #e9ecef;
                max-height: 300px;
                padding: 1rem;
            }

            .modal-nav {
                width: 35px;
                height: 35px;
                font-size: 1rem;
            }

            .modal-nav.prev { left: 10px; }
            .modal-nav.next { right: 10px; }

        }

/* ========================================
   Zoom Modal
   ======================================== */
.zoom-modal-overlay {
    background: rgba(0, 0, 0, 0.95);
}

.zoom-modal-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-image {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    cursor: move;
    transition: transform 0.2s ease;
}

.zoom-close-btn {
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-nav-prev {
    position: fixed;
    left: 30px;
}

.zoom-nav-next {
    position: fixed;
    right: 30px;
}

.zoom-counter {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

/* ========================================
   Table: English product name sub-line
   ======================================== */
.table-product-name-en {
    font-size: 0.8rem;
    color: #6c757d;
    font-style: italic;
}
