        /* Hide content on first load if no cache */
        html.cms-first-load header,
        html.cms-first-load footer,
        html.cms-first-load main { display: none !important; }
        
        /* Loading Spinner Overlay */
        .loading-container {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(4px);
            z-index: 9999;
        }
        .spinner {
            width: 80px;
            height: 80px;
            border: 3px solid rgba(255, 119, 0, 0.1);
            border-top-color: #ff7700;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
        
        /* Additional CSS Variables for Products Page */
        :root {
            --color-primary: #e6e6e6;
            --color-secondary: #b0b0b0;
            --color-muted: #a0a0a0;
            --color-faded: #808080;
            --color-brand-primary: #ff7700;
            --color-brand-light: #ff9933;
            --color-surface-card: rgba(42, 42, 42, 0.5);
            --color-surface-primary: rgba(42, 42, 42, 0.3);
            --color-surface-subtle: rgba(255, 119, 0, 0.1);
            --color-surface-loading: rgba(42, 42, 42, 0.5);
            --color-surface-overlay: rgba(0, 0, 0, 0.5);
            --color-surface-modal: rgba(34, 34, 34, 0.95);
            --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
            --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.3);
            --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.4);
        }

        /* Hero Section - matching sluzby.html */
        .services-hero {
            padding: 140px 20px 80px;
            background: linear-gradient(135deg, var(--bg-dark) 0%, var(--panel-dark) 50%, var(--light-gray) 100%);
            text-align: center;
        }

        .services-hero h1 {
            font-size: clamp(1.75rem, 5vw, 4rem);
            font-weight: 700;
            margin-bottom: 24px;
            line-height: 1.2;
        }

        .services-hero p {
            font-size: clamp(0.9rem, 2vw, 1.25rem);
            color: var(--text-secondary);
            max-width: 1000px;
            margin: 0 auto 32px;
            line-height: 1.6;
            padding: 0 1rem;
        }

        /* Main Section */
        .services-main {
            padding: 60px 20px;
            max-width: 1920px;
            margin: 0 auto;
        }

        .products-page-container {
            max-width: 1920px;
            margin: 0 auto;
        }

        /* Header Controls */
        .header-card {
            background: var(--color-surface-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--color-surface-subtle);
            border-radius: 16px;
            padding: 1.5rem;
            margin-bottom: 2rem;
        }

        .header-controls {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        @media (min-width: 640px) {
            .header-controls {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        /* Category Picker */
        .category-picker {
            position: relative;
        }

        .category-select {
            padding: 0.75rem 2.5rem 0.75rem 1rem;
            border: 2px solid rgba(255, 119, 0, 0.2);
            border-radius: 0.75rem;
            background: linear-gradient(135deg, rgba(42, 42, 42, 0.6), rgba(42, 42, 42, 0.4));
            color: var(--text-primary);
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            appearance: none;
            min-width: 220px;
            width: 100%;
            transition: all 0.3s ease;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ff7700' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
        }

        @media (min-width: 640px) {
            .category-select {
                width: auto;
            }
        }

        .category-select:hover {
            border-color: var(--accent);
            background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(42, 42, 42, 0.6));
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 119, 0, 0.2);
        }

        .category-select:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.2), 0 0 12px rgba(255, 119, 0, 0.3);
        }

        .category-select option {
            background: var(--panel-dark);
            color: var(--text-primary);
            padding: 0.5rem;
        }

        /* Sort Dropdown */
        .sort-section {
            position: relative;
        }

        .sort-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 0.75rem;
        }

        .sort-label {
            color: var(--color-primary);
            font-weight: 600;
            font-size: 0.875rem;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .sort-dropdown {
            min-width: 200px;
            width: 100%;
            padding: 0.75rem 2.5rem 0.75rem 1rem;
            border: 2px solid rgba(255, 119, 0, 0.2);
            border-radius: 0.75rem;
            background: linear-gradient(135deg, rgba(42, 42, 42, 0.6), rgba(42, 42, 42, 0.4));
            color: var(--text-primary);
            font-size: 0.95rem;
            font-weight: 600;
            cursor: pointer;
            appearance: none;
            transition: all 0.3s ease;
            position: relative;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23ff7700' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
            background-repeat: no-repeat;
            background-position: right 0.75rem center;
        }

        @media (min-width: 640px) {
            .sort-dropdown {
                width: auto;
            }
        }

        .sort-dropdown:hover {
            border-color: var(--accent);
            background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(42, 42, 42, 0.6));
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 119, 0, 0.2);
        }

        .sort-dropdown:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.2), 0 0 12px rgba(255, 119, 0, 0.3);
        }

        .sort-dropdown option {
            background: var(--panel-dark);
            color: var(--text-primary);
            padding: 0.5rem;
        }

        /* Main Layout */
        .main-layout {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        @media (min-width: 992px) {
            .main-layout {
                flex-direction: row;
                align-items: flex-start;
                gap: 2rem;
            }
        }

        @media (min-width: 992px) {
            .filters-sidebar {
                flex: 0 0 260px;
            }

            .content-area {
                flex: 1 1 auto;
                min-width: 0;
            }
        }

        /* Filters Sidebar */
        .filters-sidebar {
            display: block;
        }

        .filters-sticky-wrapper {
            position: sticky;
            top: 1.5rem;
        }

        .filters-container {
            position: relative;
            background: var(--color-surface-card);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            padding: 1.5rem;
            border: 1px solid var(--color-surface-subtle);
        }

        .filters-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 2rem;
            padding-bottom: 1rem;
            border-bottom: 2px solid rgba(255, 119, 0, 0.2);
        }

        .filters-title {
            font-size: clamp(1.1rem, 3vw, 1.35rem);
            font-weight: 700;
            background: linear-gradient(135deg, var(--accent), #ffa500);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            flex: 1 1 auto;
            min-width: 0;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            overflow-wrap: normal;
            word-break: normal;
        }



        .filters-icon {
            width: 1.25rem;
            height: 1.25rem;
        }

        .filters-actions {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-clear-filters {
            padding: 0.5rem 1rem;
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.1), rgba(255, 119, 0, 0.05));
            color: var(--accent);
            border: 1px solid rgba(255, 119, 0, 0.3);
            border-radius: 8px;
            font-size: 0.8rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.05em;
        }

        .btn-clear-filters:hover:not(:disabled) {
            background: linear-gradient(135deg, var(--accent), #ff8c00);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 119, 0, 0.4);
        }

        .btn-clear-filters:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            transform: none;
        }

        .mobile-filter-toggle {
            display: none;
            color: var(--accent);
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.1), rgba(255, 119, 0, 0.05));
            border: 1px solid rgba(255, 119, 0, 0.3);
            border-radius: 8px;
            cursor: pointer;
            transition: all 0.3s;
            padding: 0.5rem;
        }

        .mobile-filter-toggle:hover {
            background: linear-gradient(135deg, var(--accent), #ff8c00);
            color: white;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(255, 119, 0, 0.4);
        }

        @media (max-width: 1023px) {
            .mobile-filter-toggle {
                display: flex;
                align-items: center;
                justify-content: center;
            }
        }

        .toggle-icon {
            width: 1.25rem;
            height: 1.25rem;
            transition: transform 0.2s;
        }

        .toggle-icon.expanded {
            transform: rotate(180deg);
        }

        .filters-content {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.4s ease-in-out;
        }

        .filters-content.expanded {
            max-height: 5000px;
            overflow: visible;
        }

        @media (min-width: 1024px) {
            .filters-content {
                max-height: none;
                overflow: visible;
            }
        }

        .filters-space {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .filter-group {
            margin-bottom: 2rem;
            padding: 1.25rem;
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.05), rgba(255, 119, 0, 0.02));
            border-radius: 12px;
            border: 1px solid rgba(255, 119, 0, 0.1);
            transition: all 0.3s ease;
        }

        .filter-group:hover {
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.08), rgba(255, 119, 0, 0.03));
            border-color: rgba(255, 119, 0, 0.2);
            transform: translateX(4px);
        }

        .filter-group-title {
            font-size: 0.95rem;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--accent);
        }

        .filter-group-title::before {
            content: '';
            width: 4px;
            height: 16px;
            background: linear-gradient(to bottom, var(--accent), transparent);
            border-radius: 2px;
        }

        .filter-option {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.75rem;
            padding: 0.5rem 0.75rem;
            border-radius: 8px;
            background: rgba(42, 42, 42, 0.3);
            transition: all 0.2s ease;
            cursor: pointer;
            min-height: 44px;
        }

        @media (max-width: 768px) {
            .filter-option {
                min-height: 48px;
                padding: 0.75rem 1rem;
            }
        }

        .filter-option:hover {
            background: rgba(255, 119, 0, 0.15);
            transform: translateX(4px);
        }

        .filter-option:has(.filter-checkbox:checked) {
            background: rgba(255, 119, 0, 0.2);
            border-left: 3px solid var(--accent);
            padding-left: calc(0.75rem - 3px);
        }

        .filter-checkbox {
            width: 18px;
            height: 18px;
            cursor: pointer;
            accent-color: var(--accent);
            position: relative;
        }

        .filter-checkbox:checked {
            filter: drop-shadow(0 0 4px var(--accent));
        }

        .filter-label {
            font-size: 0.9rem;
            color: var(--text-primary);
            cursor: pointer;
            user-select: none;
            display: flex;
            align-items: center;
            gap: 8px;
            flex: 1;
            font-weight: 500;
        }

        .filter-label:hover {
            color: var(--accent);
        }

        /* Filter Button Styles (for multi-filter) */
        .filter-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .filter-btn {
            padding: 0.5rem 0.75rem;
            border-radius: 0.375rem;
            font-size: 0.875rem;
            font-weight: 500;
            border: 1px solid var(--color-surface-subtle);
            background: var(--color-surface-card);
            color: var(--color-primary);
            cursor: pointer;
            transition: all 0.2s;
        }

        .filter-btn:hover {
            background: var(--color-surface-primary);
        }

        .filter-btn.active,
        .filter-btn[data-state="on"] {
            background: var(--color-brand-primary);
            color: white;
            border-color: var(--color-brand-primary);
        }

        /* Color Filter Styles */
        .filter-color-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .filter-color-btn {
            position: relative;
            width: 2rem;
            height: 2rem;
            border-radius: 50%;
            border: 1px solid var(--color-surface-subtle);
            cursor: pointer;
            transition: all 0.2s;
        }

        .filter-color-btn:hover {
            transform: scale(1.1);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        }

        .filter-color-btn.active,
        .filter-color-btn[data-state="on"] {
            border-width: 2px;
            border-color: var(--color-brand-primary);
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }

        /* Color button tooltip */
        .filter-color-btn::after {
            content: attr(aria-label);
            position: absolute;
            top: 100%;
            margin-top: 0.5rem;
            left: 50%;
            transform: translateX(-50%);
            white-space: nowrap;
            border-radius: 0.25rem;
            background: var(--color-surface-card);
            padding: 0.25rem 0.5rem;
            font-size: 0.75rem;
            color: var(--color-primary);
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.2s;
            z-index: 10;
            border: 1px solid var(--color-surface-subtle);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .filter-color-btn:hover::after {
            opacity: 1;
            visibility: visible;
        }

        /* Range Filter Styles */
        .filter-range {
            margin-top: 1rem;
        }

        .range-slider-container {
            position: relative;
            padding: 0;
            margin-bottom: 1.5rem;
        }

        .range-slider {
            position: relative;
            width: 100%;
            height: 2.5rem;
            display: flex;
            align-items: center;
        }

        .range-track {
            position: absolute;
            width: 100%;
            height: 0.625rem;
            background: linear-gradient(to right, rgba(42, 42, 42, 0.6), rgba(42, 42, 42, 0.4));
            border-radius: 9999px;
            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
            pointer-events: none;
        }

        .range-progress {
            position: absolute;
            height: 100%;
            background: linear-gradient(to right, var(--accent), #ffa500);
            border-radius: 9999px;
            box-shadow: 0 0 10px rgba(255, 119, 0, 0.5);
            pointer-events: none;
        }

        .range-input {
            position: absolute;
            width: 100%;
            height: 0.625rem;
            background: transparent;
            pointer-events: none;
            -webkit-appearance: none;
            appearance: none;
        }

        .range-input::-webkit-slider-thumb {
            -webkit-appearance: none;
            appearance: none;
            width: 1.25rem;
            height: 1.25rem;
            background: linear-gradient(135deg, var(--accent), #ff8c00);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(255, 119, 0, 0.2);
            border: none;
            border-radius: 50%;
            cursor: grab;
            pointer-events: auto;
            transition: all 0.2s ease;
        }

        .range-input::-webkit-slider-thumb:hover {
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4), 0 0 0 4px rgba(255, 119, 0, 0.3);
            transform: scale(1.2);
        }

        .range-input::-webkit-slider-thumb:active {
            cursor: grabbing;
            transform: scale(1.05);
        }

        .range-input::-moz-range-thumb {
            width: 1.25rem;
            height: 1.25rem;
            background: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            border: 2px solid var(--color-brand-primary);
            border-radius: 50%;
            cursor: grab;
            pointer-events: auto;
            transition: all 0.15s;
        }

        .range-input::-moz-range-thumb:hover {
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transform: scale(1.1);
        }

        .range-input::-moz-range-thumb:active {
            cursor: grabbing;
            transform: scale(1.05);
        }

        .range-input:focus {
            outline: none;
        }

        .range-input:focus::-webkit-slider-thumb {
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
        }

        .range-input:focus::-moz-range-thumb {
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
        }

        .range-labels {
            display: flex;
            justify-content: space-between;
            font-size: 0.95rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }

        .range-labels span {
            background: linear-gradient(135deg, var(--accent), #ffa500);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
            background-color: rgba(255, 119, 0, 0.1);
            border: 1px solid rgba(255, 119, 0, 0.2);
        }

        /* Price Input Fields */
        .price-inputs {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .price-input-group {
            flex: 1;
        }

        .price-input-label {
            display: block;
            font-size: 0.75rem;
            color: var(--color-muted);
            margin-bottom: 0.25rem;
        }

        .price-input {
            width: 100%;
            padding: 0.75rem;
            background: linear-gradient(135deg, rgba(42, 42, 42, 0.6), rgba(42, 42, 42, 0.4));
            color: var(--text-primary);
            border: 2px solid rgba(255, 119, 0, 0.2);
            border-radius: 8px;
            font-size: 0.9rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

        .price-input:focus {
            outline: none;
            border-color: var(--accent);
            box-shadow: 0 0 0 3px rgba(255, 119, 0, 0.2), 0 0 12px rgba(255, 119, 0, 0.3);
            background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(42, 42, 42, 0.6));
        }

        .price-input:hover {
            border-color: rgba(255, 119, 0, 0.4);
            transform: translateY(-2px);
        }

        /* Remove spinner buttons from number inputs */
        .price-input::-webkit-inner-spin-button,
        .price-input::-webkit-outer-spin-button {
            -webkit-appearance: none;
            appearance: none;
            margin: 0;
        }

        .price-input[type=number] {
            -moz-appearance: textfield;
            appearance: textfield;
        }

        /* Filter Status Bar */
        .filter-status-bar {
            background: var(--color-surface-card);
            border: 1px solid var(--color-surface-subtle);
            border-radius: 0.75rem;
            padding: 1rem;
            margin-bottom: 1.5rem;
            display: none;
            flex-direction: column;
            gap: 0.5rem;
        }

        .filter-status-bar.active {
            display: flex;
        }

        @media (min-width: 640px) {
            .filter-status-bar.active {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
        }

        .filter-status-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .filter-icon {
            width: 1.25rem;
            height: 1.25rem;
            color: var(--color-brand-primary);
        }

        .products-count {
            font-size: 0.95rem;
            color: var(--color-brand-light);
        }

        /* Main Content */
        .content-area {
            flex: 1;
            min-width: 0;
        }

        /* Products Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(1, minmax(0, 1fr));
            gap: 0.75rem;
            padding: 0;
            margin: 0;
            max-width: none;
        }

        .products-grid > .product-card {
            width: 100%;
            max-width: none;
        }

        @media (min-width: 576px) {
            .products-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
        }

        @media (max-width: 640px) {
            .action-buttons .btn.btn-secondary {
                white-space: nowrap;
                font-size: 0.9rem;
            }

            .action-buttons > * {
                width: 100%;
            }
        }

        @media (min-width: 1200px) {
            .products-grid {
                grid-template-columns: repeat(3, minmax(0, 1fr));
                gap: 1rem;
            }
        }

        /* Product Card */
        .product-card {
            background: var(--color-surface-card);
            backdrop-filter: blur(10px);
            border: 1px solid var(--color-surface-subtle);
            border-radius: 16px;
            overflow: hidden;
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-10px);
            border-color: rgba(255, 119, 0, 0.3);
            box-shadow: 0 12px 24px rgba(255, 119, 0, 0.2);
        }

        /* Product Ribbon */
        .product-ribbon {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.9rem;
            font-weight: 700;
            z-index: 10;
            display: none;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
            animation: pulse 2s ease-in-out infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.05); }
        }

        .product-ribbon.active {
            display: block;
        }

        /* Product Content */
        .product-content {
            padding: clamp(1rem, 2vw, 1.5rem);
            flex: 1;
            display: flex;
            flex-direction: column;
        }

        /* Product Image Gallery */
        .product-image-container {
            aspect-ratio: 1;
            background: var(--color-surface-primary);
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            overflow: hidden;
            position: relative;
        }

        .media-gallery {
            width: 100%;
            height: 100%;
            position: relative;
        }

        .media-viewport {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .media-viewport img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }

        .product-card:hover .media-viewport img {
            transform: scale(1.1);
        }

        .media-empty-state {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .media-empty-icon {
            width: 6rem;
            height: 6rem;
            color: var(--color-muted);
        }

        /* Media Gallery Navigation */
        .media-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(4px);
            padding: 0.5rem;
            border-radius: 50%;
            border: 1px solid var(--color-surface-subtle);
            cursor: pointer;
            transition: all 0.2s;
            z-index: 10;
        }

        .media-nav-btn:hover {
            background: white;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .media-nav-btn svg {
            width: 1rem;
            height: 1rem;
            color: var(--color-primary);
        }

        .media-nav-prev {
            left: 1rem;
        }

        .media-nav-next {
            right: 1rem;
        }

        .media-indicator {
            position: absolute;
            bottom: 1rem;
            right: 1rem;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            color: white;
            padding: 0.25rem 0.75rem;
            border-radius: 9999px;
            font-size: 0.875rem;
            z-index: 10;
        }

        /* Media Thumbnails */
        .media-thumbnails {
            margin-top: 1rem;
        }

        .media-thumbnail-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 0.5rem;
        }

        @media (min-width: 480px) {
            .media-thumbnail-grid {
                grid-template-columns: repeat(4, minmax(0, 1fr));
                gap: 0.75rem;
            }
        }

        .media-thumbnail {
            aspect-ratio: 1;
            background: var(--color-surface-primary);
            border-radius: 0.5rem;
            border: 2px solid var(--color-surface-subtle);
            cursor: pointer;
            transition: all 0.2s;
            overflow: hidden;
            position: relative;
        }

        .media-thumbnail:hover {
            border-color: var(--color-brand-primary);
        }

        .media-thumbnail.active {
            border-color: var(--color-brand-primary);
            box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
        }

        .media-thumbnail img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .media-thumbnail-empty {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .media-thumbnail-empty svg {
            width: 1.5rem;
            height: 1.5rem;
            color: var(--color-muted);
        }

        /* Product Title */
        .product-title {
            font-size: clamp(1.05rem, 0.6vw + 0.95rem, 1.35rem);
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--color-primary);
            text-decoration: none;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.4;
        }

        .product-title:hover {
            color: var(--color-brand-primary);
        }

        /* Product Variants */
        .product-variants {
            margin-bottom: 0.75rem;
        }

        .variant-option {
            margin-bottom: 0.75rem;
        }

        .variant-name {
            font-size: 0.85rem;
            font-weight: 500;
            text-transform: uppercase;
            color: var(--color-secondary);
            margin-bottom: 0.5rem;
            letter-spacing: 0.025em;
        }

        .variant-choices {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .variant-choice-color {
            width: clamp(2.25rem, 7vw, 2.75rem);
            height: clamp(2.25rem, 7vw, 2.75rem);
            border: 2px solid var(--color-surface-subtle);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.2s;
        }

        .variant-choice-color:hover,
        .variant-choice-color.selected {
            border-color: var(--color-brand-primary);
            transform: scale(1.1);
        }

        .variant-choice-text {
            padding: 0.4rem 0.85rem;
            border: 1px solid var(--color-surface-subtle);
            border-radius: 0.25rem;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .variant-choice-text:hover,
        .variant-choice-text.selected {
            border-color: var(--color-brand-primary);
            background: var(--color-brand-primary);
            color: white;
        }

        .variant-reset {
            font-size: 0.75rem;
            color: var(--color-brand-primary);
            text-decoration: underline;
            cursor: pointer;
            background: none;
            border: none;
            padding: 0;
            margin-bottom: 0.5rem;
            display: none;
        }

        .variant-reset.active {
            display: inline-block;
        }

        /* Product Description */
        .product-description {
            font-size: clamp(0.95rem, 0.35vw + 0.9rem, 1.05rem);
            color: var(--color-muted);
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.6;
        }

        /* Product Footer */
        .product-footer {
            padding: 0 clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.5rem);
            margin-top: auto;
        }

        /* Price and Stock */
        .price-stock-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 0.5rem;
            margin-bottom: 0.75rem;
        }

        .price-container {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .product-price {
            font-size: clamp(1.35rem, 0.6vw + 1.2rem, 1.75rem);
            font-weight: 700;
            color: var(--color-primary);
        }

        .product-compare-price {
            font-size: 1rem;
            font-weight: 500;
            color: var(--color-faded);
            text-decoration: line-through;
            opacity: 0.7;
        }
        
        /* Sale badge animation */
        @keyframes shine {
            0% { background-position: -200% center; }
            100% { background-position: 200% center; }
        }

        .product-stock {
            display: flex;
            align-items: center;
            gap: 0.25rem;
            font-size: 0.9rem;
            font-weight: 500;
        }

        .product-stock.in-stock {
            color: #10b981;
        }

        .product-stock.out-of-stock {
            color: #ef4444;
        }

        .stock-indicator {
            width: 0.5rem;
            height: 0.5rem;
            border-radius: 50%;
            background: currentColor;
        }

        /* Action Buttons */
        .action-buttons {
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .action-buttons > .btn,
        .action-buttons > .btn-quick-view {
            width: 100%;
        }

        .btn {
            padding: 0.9rem 1.1rem;
            border-radius: 0.5rem;
            font-size: 1rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            text-decoration: none;
            position: relative;
        }

        .btn-primary {
            background: var(--accent);
            color: white;
            box-shadow: 0 4px 12px rgba(255, 119, 0, 0.3);
        }

        .btn-primary:hover:not(:disabled) {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(255, 119, 0, 0.4);
        }

        .btn-primary:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .btn-secondary {
            border: 2px solid var(--accent);
            color: var(--accent);
            background: transparent;
        }

        .btn-secondary:hover {
            background: var(--accent);
            color: white;
        }

        .btn-icon {
            width: 1rem;
            height: 1rem;
        }

        /* Add to Cart Button Loading States */
        .btn-add-to-cart {
            position: relative;
        }

        .btn-add-to-cart .btn-text {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-add-to-cart .btn-loading {
            position: absolute;
            inset: 0;
            display: none;
            align-items: center;
            justify-content: center;
        }

        .btn-add-to-cart.loading .btn-text {
            opacity: 0;
        }

        .btn-add-to-cart.loading .btn-loading {
            display: flex;
        }

        .loading-spinner {
            width: 1.25rem;
            height: 1.25rem;
            animation: spin 0.6s linear infinite;
        }

        /* Buy Now Button */
        .btn-buy-now {
            background: #10b981;
            color: white;
        }

        .btn-buy-now:hover:not(:disabled) {
            background: #059669;
        }

        .btn-buy-now .btn-loading-text {
            display: none;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-buy-now.loading .btn-text {
            display: none;
        }

        .btn-buy-now.loading .btn-loading-text {
            display: flex;
        }

        /* Pre Order Button */
        .btn-pre-order {
            background: #f59e0b;
            color: white;
        }

        .btn-pre-order:hover:not(:disabled) {
            background: #d97706;
        }

        /* Load More Section */
        .load-more-section {
            text-align: center;
            margin-top: 3rem;
            margin-bottom: 2rem;
        }

        .load-more-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .btn-load-more {
            padding: 0.75rem 2rem;
            background: var(--color-brand-primary);
            color: white;
            border: none;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s;
        }

        .btn-load-more:hover {
            background: #2563eb;
        }

        .btn-load-more:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .loading-spinner {
            display: inline-block;
            width: 1.25rem;
            height: 1.25rem;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        @keyframes spin {
            to { transform: rotate(360deg); }
        }

        .total-products {
            font-size: 0.875rem;
            color: var(--color-muted);
            margin-top: 1rem;
        }

        /* Skeleton Loading */
        .skeleton {
            background: var(--color-surface-loading);
            border-radius: 0.5rem;
            position: relative;
            overflow: hidden;
        }





        .skeleton-image {
            aspect-ratio: 1;
            margin-bottom: 1rem;
        }

        .skeleton-text {
            height: 1rem;
            margin-bottom: 0.5rem;
        }

        .skeleton-text-short {
            height: 0.75rem;
            width: 66%;
        }

        .skeleton-button {
            height: 2.5rem;
            margin-top: 0.5rem;
        }

        /* Clear Filters Button */
        .btn-link {
            background: none;
            border: none;
            color: var(--color-brand-primary);
            text-decoration: underline;
            cursor: pointer;
            font-size: 0.875rem;
            padding: 0;
        }

        .btn-link:hover {
            color: #2563eb;
        }

        /* Quick View Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            z-index: 1000;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.3s ease-out;
        }

        .modal-overlay.active {
            display: flex;
        }

        .modal-backdrop {
            position: absolute;
            inset: 0;
            background: var(--color-surface-overlay);
            backdrop-filter: blur(4px);
        }

        /* Cart Modal Specific Styles */
        .cart-modal-container {
            max-width: 500px !important;
        }

        .cart-modal-content {
            padding: 2rem;
            max-height: 85vh;
            overflow-y: auto;
        }

        .cart-modal-header {
            text-align: center;
            margin-bottom: 1.5rem;
            padding-bottom: 1rem;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .cart-modal-title {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--color-primary);
            margin: 0 0 0.5rem 0;
        }

        .cart-modal-product-name {
            font-size: 1rem;
            color: #ff7700;
            font-weight: 600;
        }

        .cart-modal-price {
            font-size: 1.5rem;
            font-weight: 800;
            color: var(--color-primary);
            margin-top: 0.5rem;
        }

        .cart-modal-section {
            margin-bottom: 1.25rem;
        }

        .cart-modal-section-title {
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--color-secondary);
            margin-bottom: 0.75rem;
            letter-spacing: 0.05em;
        }

        .cart-modal-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .cart-modal-option {
            padding: 0.5rem 1rem;
            border: 2px solid var(--color-surface-subtle);
            border-radius: 8px;
            background: var(--color-surface-primary);
            color: var(--color-secondary);
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.2s ease;
        }

        .cart-modal-option:hover {
            border-color: rgba(255, 119, 0, 0.5);
            color: #ff7700;
        }

        .cart-modal-option.selected {
            border-color: #ff7700;
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.15), rgba(255, 119, 0, 0.08));
            color: #ff7700;
            font-weight: 600;
        }

        .cart-modal-color-option {
            width: 40px;
            height: 40px;
            padding: 0;
            border-radius: 50%;
            position: relative;
        }

        .cart-modal-color-option .color-swatch {
            width: 100%;
            height: 100%;
            border-radius: 50%;
        }

        .cart-modal-color-option.selected::after {
            content: '✓';
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            color: white;
            font-size: 1rem;
            font-weight: bold;
            text-shadow: 0 1px 3px rgba(0,0,0,0.5);
        }

        .cart-modal-quantity {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .cart-modal-qty-controls {
            display: flex;
            align-items: center;
            border: 2px solid var(--color-surface-subtle);
            border-radius: 8px;
            overflow: hidden;
        }

        .cart-modal-qty-btn {
            width: 40px;
            height: 40px;
            border: none;
            background: var(--color-surface-primary);
            color: var(--color-primary);
            font-size: 1.25rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .cart-modal-qty-btn:hover {
            background: rgba(255, 119, 0, 0.1);
            color: #ff7700;
        }

        .cart-modal-qty-input {
            width: 60px;
            height: 40px;
            border: none;
            border-left: 1px solid var(--color-surface-subtle);
            border-right: 1px solid var(--color-surface-subtle);
            background: var(--color-surface-primary);
            color: var(--color-primary);
            text-align: center;
            font-size: 1rem;
            font-weight: 600;
        }

        .cart-modal-qty-input:focus {
            outline: none;
        }

        .cart-modal-actions {
            margin-top: 1.5rem;
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .cart-modal-submit {
            width: 100%;
            padding: 1rem;
            border: none;
            border-radius: 10px;
            background: linear-gradient(135deg, #ff7700, #ff9500);
            color: white;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
        }

        .cart-modal-submit:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(255, 119, 0, 0.4);
        }

        .cart-modal-submit:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
            box-shadow: none;
        }

        .cart-modal-link {
            width: 100%;
            padding: 0.75rem;
            border: 2px solid var(--color-surface-subtle);
            border-radius: 10px;
            background: transparent;
            color: var(--color-secondary);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            text-align: center;
            text-decoration: none;
            display: block;
        }

        .cart-modal-link:hover {
            border-color: #ff7700;
            color: #ff7700;
        }

        .cart-modal-error {
            display: none;
            padding: 0.75rem;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 8px;
            color: #ef4444;
            font-size: 0.85rem;
            text-align: center;
            margin-bottom: 1rem;
        }

        .cart-modal-error.visible {
            display: block;
        }

        .modal-container {
            position: relative;
            width: 100%;
            max-width: 72rem;
            margin: 1rem;
            max-height: 90vh;
            background: var(--color-surface-modal);
            backdrop-filter: blur(10px);
            border-radius: 16px;
            border: 1px solid rgba(255, 119, 0, 0.2);
            box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
            animation: slideUp 0.3s ease-out;
            overflow: hidden;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .modal-close-btn {
            position: absolute;
            top: 1rem;
            right: 1rem;
            z-index: 10;
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--color-surface-primary);
            backdrop-filter: blur(4px);
            border-radius: 50%;
            border: 1px solid var(--color-surface-subtle);
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-close-btn:hover {
            background: var(--color-surface-subtle);
        }

        .modal-close-icon {
            width: 1.25rem;
            height: 1.25rem;
            color: var(--color-secondary);
        }

        .modal-close-btn:hover .modal-close-icon {
            color: var(--color-primary);
        }

        .modal-content {
            overflow-y: auto;
            max-height: 90vh;
            padding: 1.5rem;
        }

        .modal-product-layout {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        @media (min-width: 768px) {
            .modal-product-layout {
                flex-direction: row;
            }
        }

        .modal-product-layout > * {
            flex: 1 1 0;
            min-width: 0;
        }

        .modal-image-section {
            position: relative;
        }

        .modal-product-image {
            width: 100%;
            aspect-ratio: 1;
            object-fit: cover;
            border-radius: 0.75rem;
            background: var(--color-surface-primary);
        }

        .modal-details-section {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .modal-product-name {
            font-size: 1.875rem;
            font-weight: 700;
            color: var(--color-primary);
            line-height: 1.2;
        }

        .modal-price-section {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .modal-price {
            font-size: 2rem;
            font-weight: 700;
            color: var(--color-brand-primary);
        }

        .modal-compare-price {
            font-size: 1.25rem;
            color: var(--color-faded);
            text-decoration: line-through;
            opacity: 0.6;
        }
        
        /* Sale indicator in modal */
        .modal-sale-badge {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.9rem;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
            animation: pulse 2s ease-in-out infinite;
        }

        .modal-stock-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            font-size: 0.875rem;
            font-weight: 500;
        }

        .modal-stock-badge.in-stock {
            background: #d1fae5;
            color: #065f46;
        }

        .modal-stock-badge.out-of-stock {
            background: #fee2e2;
            color: #991b1b;
        }

        .modal-description {
            color: var(--color-secondary);
            line-height: 1.8;
            border-left: 3px solid #ff7700;
            padding-left: 1rem;
            margin-left: 0.25rem;
        }

        .modal-info-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 1rem;
            background: var(--color-surface-primary);
            border-radius: 0.5rem;
        }

        .modal-info-item {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            font-size: 0.875rem;
            gap: 1rem;
        }

        .modal-info-item.has-tags {
            flex-direction: column;
            gap: 0.5rem;
        }

        .modal-info-label {
            color: var(--color-muted);
            font-weight: 500;
            white-space: nowrap;
        }

        .modal-info-value {
            color: var(--color-primary);
            font-weight: 600;
        }

        .modal-info-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
        }

        .modal-info-tag {
            display: inline-flex;
            align-items: center;
            padding: 0.3rem 0.7rem;
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.15), rgba(255, 119, 0, 0.08));
            color: #ff7700;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 600;
            border: 1px solid rgba(255, 119, 0, 0.3);
            transition: all 0.2s ease;
        }

        .modal-info-tag:hover {
            background: linear-gradient(135deg, rgba(255, 119, 0, 0.25), rgba(255, 119, 0, 0.15));
            transform: translateY(-1px);
        }

        .modal-info-tag.material-tag {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.08));
            color: #3b82f6;
            border-color: rgba(59, 130, 246, 0.3);
        }

        .modal-info-tag.material-tag:hover {
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(59, 130, 246, 0.15));
        }

        .modal-variants-section {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .modal-variant-group {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .modal-variant-label {
            font-size: 0.875rem;
            font-weight: 600;
            text-transform: uppercase;
            color: var(--color-secondary);
        }

        .modal-variant-options {
            display: flex;
            flex-wrap: wrap;
            gap: 0.5rem;
        }

        .modal-variant-color {
            width: 2.5rem;
            height: 2.5rem;
            border: 2px solid var(--color-surface-subtle);
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-variant-color:hover,
        .modal-variant-color.selected {
            border-color: var(--color-brand-primary);
            transform: scale(1.15);
        }

        .modal-variant-text {
            padding: 0.5rem 1rem;
            border: 1px solid var(--color-surface-subtle);
            border-radius: 0.5rem;
            font-size: 0.875rem;
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-variant-text:hover,
        .modal-variant-text.selected {
            border-color: var(--color-brand-primary);
            background: var(--color-brand-primary);
            color: white;
        }

        .modal-actions {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
        }

        .modal-view-full-link {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--color-surface-subtle);
        }

        .btn-quick-view {
            width: 100%;
            box-sizing: border-box;
            background: var(--color-surface-primary);
            color: var(--color-primary);
            border: 2px solid var(--color-surface-subtle);
        }

        .btn-quick-view:hover {
            background: var(--color-brand-primary);
            color: white;
            border-color: var(--color-brand-primary);
        }

        .success-message {
            position: fixed;
            top: 1rem;
            right: 1rem;
            z-index: 1100;
            background: #d1fae5;
            color: #065f46;
            padding: 1rem 1.5rem;
            border-radius: 0.75rem;
            box-shadow: var(--shadow-lg);
            border: 1px solid #6ee7b7;
            display: none;
            animation: slideInRight 0.3s ease-out;
        }

        .success-message.active {
            display: flex;
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(100%);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .success-message-content {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .success-icon {
            width: 1.25rem;
            height: 1.25rem;
        }

        /* Products Page Responsive Styles */
        @media (min-width: 640px) {
            .product-content {
                padding: 1.5rem;
            }
            
            .product-footer {
                padding: 0 1.5rem 1.5rem;
            }

            .modal-content {
                padding: 2rem;
            }
        }

        /* Mobile Devices (max-width: 480px) */
        @media (max-width: 480px) {
            .services-hero {
                padding: 100px 16px 40px;
            }

            .services-hero h1 {
                font-size: 1.75rem;
            }

            .services-hero p {
                font-size: 0.9rem;
            }

            .services-main {
                padding: 30px 12px;
            }

            .header-card {
                padding: 0.75rem;
                flex-direction: column;
                gap: 0.75rem;
            }

            .category-picker,
            .sort-section {
                width: 100%;
            }

            .filter-group {
                padding: 1rem;
                margin-bottom: 1rem;
            }

            .filter-option {
                padding: 0.5rem;
                margin-bottom: 0.5rem;
            }

            .price-inputs {
                flex-direction: column;
                gap: 0.75rem;
            }

            .range-labels span {
                padding: 0.25rem 0.5rem;
                font-size: 0.85rem;
            }

            .product-card {
                border-radius: 12px;
            }

            .btn-add-to-cart {
                font-size: 0.85rem;
                padding: 0.6rem 1rem;
            }

            .modal-container {
                margin: 0.5rem;
                max-height: 95vh;
            }
        }

        /* Tablets and Small Laptops (481px - 768px) */
        @media (min-width: 576px) and (max-width: 767.98px) {
            .services-hero {
                padding: 120px 20px 60px;
            }

            .services-main {
                padding: 40px 16px;
            }

            .header-card {
                padding: 1rem;
            }

            .filter-group {
                padding: 1.1rem;
            }
        }

        /* Tablets and Medium Devices (max-width: 768px) */
        /* Mobile Specific (max-width: 480px) */
        @media (max-width: 575.98px) {
            .services-hero {
                padding: 100px 16px 40px;
            }

            .services-main {
                padding: 30px 12px;
            }

            .products-grid {
                display: grid;
                grid-template-columns: 1fr;
                gap: 0.9rem;
                justify-items: stretch;
            }

            .products-grid > .product-card {
                flex: 1 1 auto;
                width: 100%;
                max-width: none;
            }

            .header-card {
                padding: 1rem;
            }

            .filter-group {
                padding: 1rem;
                margin-bottom: 1rem;
            }

            .filter-option {
                padding: 0.75rem 1rem;
                min-height: 48px;
            }

            .price-inputs {
                flex-direction: column;
                gap: 0.75rem;
            }

            .btn-add-to-cart {
                font-size: 0.85rem;
                padding: 0.6rem 1rem;
            }

            .modal-container {
                margin: 0.5rem;
                max-height: 95vh;
            }

            .sort-dropdown {
                width: 100%;
            }
        }

        /* Tablet and Mobile (max-width: 768px) */
        @media (max-width: 767.98px) {
            .filters-sidebar {
                position: static;
                max-height: none;
            }

            .main-layout {
                flex-direction: column;
            }

            .mobile-filter-toggle {
                display: flex;
            }

            .filters-content {
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease;
            }

            .filters-content.expanded {
                max-height: 2000px;
            }

            .filter-status-bar {
                flex-direction: column;
                gap: 0.75rem;
                align-items: flex-start;
            }

            .header-card {
                padding: 1rem;
            }
        }

        /* Tablet (>=768px and <992px): allow wrapping; keep cards large */
        @media (min-width: 768px) and (max-width: 991.98px) {
            /* no products gap overrides */
        }

        /* Desktop (min-width: 1024px) */
        @media (min-width: 992px) {
            .filter-group:hover {
                transform: translateX(4px);
            }

            .product-card:hover {
                transform: translateY(-10px);
            }
        }

        /* Large Desktop (min-width: 1440px) */
        @media (min-width: 1400px) {
            .services-main {
                padding: 80px 40px;
            }

            .main-layout {
                gap: 2.5rem;
            }

        }

        /* Desktop Optimization (min-width: 1024px) */
        @media (min-width: 992px) {
            .filter-group:hover {
                transform: translateX(4px);
            }

            .product-card:hover {
                transform: translateY(-10px);
            }
        }

        /* Large Screens (min-width: 1440px) */
        @media (min-width: 1400px) {
            .services-main {
                padding: 80px 40px;
            }

            .main-layout {
                gap: 2.5rem;
            }

        }

        .loading-container {
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #1a1a1a;
        }
        .spinner {
            width: 80px;
            height: 80px;
            border: 3px solid rgba(255, 119, 0, 0.1);
            border-top-color: #ff7700;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        @keyframes spin {
            to { transform: rotate(360deg); }
        }
