        :root {
            --cat-color: #6B4C9A;
        }

        /* ── CATALOGUE LAYOUT ── */
        .catalogue-toolbar {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 1rem;
            margin-bottom: 2rem;
            padding: 1.25rem 1.5rem;
            background: var(--white);
            border-radius: var(--radius-md);
            box-shadow: var(--shadow-sm);
        }

        .catalogue-search {
            flex: 1;
            min-width: 220px;
            position: relative;
        }

        .catalogue-search input {
            width: 100%;
            padding: 0.75rem 1rem 0.75rem 2.75rem;
            border: 2px solid var(--gray-200);
            border-radius: var(--radius-sm);
            font-family: var(--font-primary);
            font-size: 0.9rem;
            transition: border-color 0.3s;
            background: var(--gray-50);
        }

        .catalogue-search input:focus {
            outline: none;
            border-color: var(--primary);
            background: var(--white);
        }

        .catalogue-search svg {
            position: absolute;
            left: 0.85rem;
            top: 50%;
            transform: translateY(-50%);
            color: var(--gray-400);
            pointer-events: none;
        }

        .catalogue-filters {
            display: flex;
            gap: 0.5rem;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 0.5rem 1rem;
            border: 2px solid var(--gray-200);
            border-radius: 999px;
            background: var(--white);
            font-family: var(--font-primary);
            font-size: 0.8rem;
            font-weight: 500;
            color: var(--gray-600);
            cursor: pointer;
            transition: all 0.3s;
        }

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

        .filter-btn.active {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--white);
        }

        .catalogue-count {
            font-size: 0.85rem;
            color: var(--gray-500);
            font-weight: 500;
        }

        /* ── PRODUCT GRID ── */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .product-card {
            background: var(--white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
            transition: transform 0.3s, box-shadow 0.3s;
            cursor: pointer;
        }

        .product-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-lg);
        }

        .product-card-image {
            position: relative;
            aspect-ratio: 3/4;
            background: #f5f5f5;
            overflow: hidden;
        }

        .product-card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: top center;
            transition: transform 0.4s;
        }

        .product-card:hover .product-card-image img {
            transform: scale(1.05);
        }

        .product-card-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 0.6rem 0.75rem;
            background: linear-gradient(transparent, rgba(0,0,0,0.5));
            display: flex;
            gap: 0.4rem;
            align-items: center;
            flex-wrap: wrap;
        }

        .overlay-badge {
            display: inline-flex;
            align-items: center;
            gap: 0.25rem;
            padding: 0.2rem 0.55rem;
            background: rgba(255,255,255,0.92);
            border-radius: 999px;
            font-size: 0.68rem;
            font-weight: 600;
            color: var(--dark);
            backdrop-filter: blur(4px);
        }

        .overlay-badge svg {
            width: 11px;
            height: 11px;
            flex-shrink: 0;
        }

        .product-card-stock {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            padding: 0.25rem 0.6rem;
            border-radius: 999px;
            font-size: 0.7rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .stock-high {
            background: rgba(46, 160, 67, 0.12);
            color: #1a7f37;
        }

        .stock-medium {
            background: rgba(227, 162, 26, 0.12);
            color: #9a6700;
        }

        .stock-low {
            background: rgba(207, 34, 46, 0.12);
            color: #cf222e;
        }

        .product-card-body {
            padding: 1rem 1.25rem 1.25rem;
        }

        .product-card-ref {
            font-size: 0.75rem;
            color: var(--gray-400);
            font-weight: 500;
            letter-spacing: 0.03em;
            text-transform: uppercase;
        }

        .product-card-name {
            font-size: 1rem;
            font-weight: 600;
            color: var(--dark);
            margin: 0.25rem 0 0.5rem;
            line-height: 1.3;
        }

        .product-card-desc {
            font-size: 0.82rem;
            color: var(--gray-500);
            line-height: 1.4;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-card-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .product-card-price {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--primary);
        }

        .product-card-price small {
            font-size: 0.7rem;
            font-weight: 400;
            color: var(--gray-400);
        }

        .product-card-cta {
            padding: 0.45rem 1rem;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: var(--radius-sm);
            font-family: var(--font-primary);
            font-size: 0.78rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            text-decoration: none;
        }

        .product-card-cta:hover {
            background: var(--primary-dark);
        }

        /* ── CARD SWATCHES ── */
        .card-swatches {
            display: flex;
            flex-wrap: wrap;
            gap: 4px;
            margin-bottom: 0.6rem;
            align-items: center;
        }
        .card-swatch {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1.5px solid rgba(0,0,0,0.1);
            cursor: pointer;
            overflow: hidden;
            transition: transform 0.2s, box-shadow 0.2s;
            flex-shrink: 0;
        }
        .card-swatch img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .card-swatch:hover {
            transform: scale(1.35);
            box-shadow: 0 2px 8px rgba(0,0,0,0.2);
            z-index: 2;
        }
        .card-swatch-more {
            font-size: 0.68rem;
            color: var(--gray-500);
            font-weight: 600;
            padding-left: 2px;
        }
        .card-sizes-label {
            display: block;
            font-size: 0.72rem;
            color: var(--gray-400);
            font-weight: 500;
            margin-top: 2px;
        }
        .product-card-footer > div {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }

        /* ── PRODUCT MODAL ── */
        .product-modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(10,30,45,0.55);
            backdrop-filter: blur(6px);
            z-index: 9999;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 1.5rem;
        }

        .product-modal-overlay.open {
            display: flex;
        }

        .product-modal {
            background: var(--white);
            border-radius: 16px;
            max-width: 1100px;
            width: 100%;
            max-height: 92vh;
            overflow: hidden;
            box-shadow: 0 25px 60px rgba(0,0,0,0.25);
            position: relative;
            display: flex;
            flex-direction: column;
        }

        .product-modal-close {
            position: absolute;
            top: 0.75rem;
            right: 0.75rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(4px);
            border: 1px solid rgba(0,0,0,0.08);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.4rem;
            color: var(--gray-600);
            z-index: 10;
            transition: all 0.2s;
        }

        .product-modal-close:hover {
            background: var(--white);
            box-shadow: 0 2px 8px rgba(0,0,0,0.12);
        }

        .product-modal-grid {
            display: grid;
            grid-template-columns: 55% 45%;
            min-height: 0;
            flex: 1;
            overflow: hidden;
        }

        .product-modal-image {
            background: #f8f8f8;
            display: flex;
            flex-direction: column;
            position: relative;
            overflow: hidden;
        }

        .product-modal-main-img {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 450px;
            padding: 2rem;
            position: relative;
        }

        .product-modal-main-img img {
            max-width: 100%;
            max-height: 580px;
            height: auto;
            object-fit: contain;
            cursor: zoom-in;
            transition: transform 0.4s ease;
        }

        .product-modal-main-img img:hover {
            transform: scale(1.05);
        }

        .modal-gallery-thumbs {
            display: flex;
            gap: 8px;
            padding: 12px 16px;
            background: #fff;
            border-top: 1px solid rgba(0,0,0,0.06);
            justify-content: center;
            overflow-x: auto;
        }

        .modal-gallery-thumbs:empty {
            display: none;
        }

        .gallery-thumb {
            width: 68px;
            height: 68px;
            border-radius: 8px;
            border: 2px solid transparent;
            overflow: hidden;
            cursor: pointer;
            flex-shrink: 0;
            background: #f5f5f5;
            transition: all 0.2s;
            padding: 4px;
        }

        .gallery-thumb.active {
            border-color: var(--primary);
            background: #fff;
            box-shadow: 0 2px 8px rgba(45, 133, 168, 0.2);
        }

        .gallery-thumb:hover:not(.active) {
            border-color: var(--gray-300);
            background: #fff;
        }

        .gallery-thumb img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .modal-selected-color-label {
            position: absolute;
            bottom: 80px;
            left: 16px;
            background: rgba(0,0,0,0.75);
            color: #fff;
            padding: 0.3rem 0.75rem;
            border-radius: 6px;
            font-size: 0.75rem;
            font-weight: 500;
            pointer-events: none;
            opacity: 0;
            transition: opacity 0.2s;
        }

        .modal-selected-color-label.visible {
            opacity: 1;
        }

        .product-modal-info {
            padding: 2rem 2.25rem;
            overflow-y: auto;
            max-height: 92vh;
        }

        .product-modal-ref {
            font-size: 0.78rem;
            color: var(--gray-400);
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.06em;
        }

        .product-modal-name {
            font-size: 1.6rem;
            font-weight: 700;
            color: var(--dark);
            margin: 0.3rem 0 0.6rem;
            line-height: 1.2;
        }

        .product-modal-desc {
            font-size: 0.88rem;
            color: var(--gray-600);
            line-height: 1.6;
            margin-bottom: 1.5rem;
        }

        .modal-section-title {
            font-size: 0.78rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.06em;
            color: var(--gray-400);
            margin-bottom: 0.5rem;
        }

        .modal-colors-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 1.25rem;
        }

        .modal-color-swatch {
            width: 32px;
            height: 32px;
            border-radius: 50%;
            border: 2px solid rgba(0,0,0,0.1);
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
            position: relative;
            overflow: hidden;
        }

        .modal-color-swatch img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .modal-color-swatch:hover {
            transform: scale(1.15);
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }

        .modal-color-swatch.selected {
            border-color: var(--primary);
            box-shadow: 0 0 0 2px var(--primary);
        }

        .modal-color-swatch[title]::after {
            content: attr(title);
            position: absolute;
            bottom: calc(100% + 6px);
            left: 50%;
            transform: translateX(-50%);
            background: var(--dark);
            color: var(--white);
            padding: 0.2rem 0.5rem;
            border-radius: 4px;
            font-size: 0.65rem;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.2s;
        }

        .modal-color-swatch:hover::after {
            opacity: 1;
        }

        .modal-sizes {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-bottom: 1.25rem;
        }

        .modal-size-chip {
            padding: 0.35rem 0.75rem;
            border: 2px solid var(--gray-200);
            border-radius: 6px;
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--gray-600);
            background: var(--white);
        }

        .modal-size-chip.in-stock {
            border-color: rgba(46, 160, 67, 0.3);
            color: #1a7f37;
            background: rgba(46, 160, 67, 0.05);
        }

        .modal-size-chip.low-stock {
            border-color: rgba(227, 162, 26, 0.3);
            color: #9a6700;
            background: rgba(227, 162, 26, 0.05);
        }

        .modal-size-chip.no-stock {
            border-color: var(--gray-100);
            color: var(--gray-300);
            background: var(--gray-50);
            text-decoration: line-through;
        }

        .modal-size-chip.selected {
            border-color: var(--primary);
            background: var(--primary);
            color: var(--white);
        }

        .modal-size-chip {
            cursor: pointer;
            transition: all 0.2s;
        }

        .modal-size-chip:hover:not(.no-stock) {
            border-color: var(--primary);
        }

        /* Stock sélection coloris+taille */
        .modal-selection-stock {
            display: none;
            align-items: center;
            gap: 0.5rem;
            padding: 0.6rem 0.9rem;
            border-radius: var(--radius-sm);
            font-size: 0.82rem;
            font-weight: 500;
            margin-bottom: 1rem;
            background: rgba(45, 133, 168, 0.06);
            border: 1px dashed rgba(45, 133, 168, 0.25);
        }

        .modal-selection-stock.visible {
            display: flex;
        }

        .modal-selection-stock .sel-color-dot {
            width: 14px;
            height: 14px;
            border-radius: 4px;
            border: 1px solid rgba(0,0,0,0.15);
            flex-shrink: 0;
        }

        .modal-selection-stock .sel-qty {
            font-weight: 700;
            color: var(--primary);
        }

        .modal-selection-stock .sel-qty.out {
            color: #cf222e;
        }

        .modal-details {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.5rem;
            margin-bottom: 1.25rem;
        }

        .modal-detail {
            font-size: 0.82rem;
            color: var(--gray-600);
        }

        .modal-detail strong {
            color: var(--dark);
        }

        /* ── STOCK DISPLAY ── */
        .modal-stock {
            margin-bottom: 1.25rem;
        }

        .stock-summary {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            border-radius: var(--radius-sm);
            margin-bottom: 0.75rem;
        }

        .stock-summary.stock-ok {
            background: rgba(46, 160, 67, 0.08);
        }

        .stock-summary.stock-limited {
            background: rgba(227, 162, 26, 0.08);
        }

        .stock-summary.stock-out {
            background: rgba(207, 34, 46, 0.08);
        }

        .stock-indicator {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            flex-shrink: 0;
        }

        .stock-ok .stock-indicator { background: #1a7f37; }
        .stock-limited .stock-indicator { background: #9a6700; }
        .stock-out .stock-indicator { background: #cf222e; }

        .stock-label {
            font-size: 0.85rem;
            font-weight: 600;
        }

        .stock-ok .stock-label { color: #1a7f37; }
        .stock-limited .stock-label { color: #9a6700; }
        .stock-out .stock-label { color: #cf222e; }

        .stock-detail {
            font-size: 0.8rem;
            color: var(--gray-500);
            margin-left: auto;
        }

        .restock-info {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.5rem 0.75rem;
            background: rgba(45, 133, 168, 0.06);
            border-radius: var(--radius-sm);
            font-size: 0.8rem;
            color: var(--primary);
        }

        .restock-info svg {
            flex-shrink: 0;
        }

        .stock-loading {
            font-size: 0.82rem;
            color: var(--gray-400);
            padding: 0.5rem 0;
        }

        /* Card stock badge */
        .card-stock-badge {
            position: absolute;
            top: 0.75rem;
            left: 0.75rem;
            padding: 0.2rem 0.55rem;
            border-radius: 999px;
            font-size: 0.65rem;
            font-weight: 600;
            letter-spacing: 0.02em;
        }

        .card-stock-badge.badge-ok {
            background: rgba(46, 160, 67, 0.12);
            color: #1a7f37;
        }

        .card-stock-badge.badge-limited {
            background: rgba(227, 162, 26, 0.12);
            color: #9a6700;
        }

        .card-stock-badge.badge-out {
            background: rgba(207, 34, 46, 0.12);
            color: #cf222e;
        }

        .modal-certifications {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
        }

        .modal-cert-badge {
            padding: 0.3rem 0.7rem;
            background: rgba(45, 133, 168, 0.08);
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 600;
            color: var(--primary);
        }

        .modal-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 0 1.25rem;
            margin-bottom: 1.25rem;
            border-bottom: 1px solid var(--gray-100);
        }

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

        .modal-price small {
            font-size: 0.75rem;
            font-weight: 400;
            color: var(--gray-400);
            display: block;
        }

        .modal-devis-btn {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            background: var(--primary);
            color: var(--white);
            border: none;
            border-radius: var(--radius-sm);
            font-family: var(--font-primary);
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.3s;
            text-decoration: none;
        }

        .modal-devis-btn:hover {
            background: var(--primary-dark);
        }

        /* ── SKELETON LOADING ── */
        .skeleton-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 1.5rem;
        }

        .skeleton-card {
            background: var(--white);
            border-radius: var(--radius-md);
            overflow: hidden;
            box-shadow: var(--shadow-sm);
        }

        .skeleton-img {
            aspect-ratio: 3/4;
            background: linear-gradient(110deg, #f0f0f0 8%, #e8e8e8 18%, #f0f0f0 33%);
            background-size: 200% 100%;
            animation: shimmer 1.5s linear infinite;
        }

        .skeleton-body {
            padding: 1rem 1.25rem 1.25rem;
        }

        .skeleton-line {
            height: 14px;
            border-radius: 4px;
            background: linear-gradient(110deg, #f0f0f0 8%, #e8e8e8 18%, #f0f0f0 33%);
            background-size: 200% 100%;
            animation: shimmer 1.5s linear infinite;
            margin-bottom: 0.6rem;
        }

        .skeleton-line.short { width: 40%; }
        .skeleton-line.medium { width: 65%; }

        @keyframes shimmer {
            to { background-position-x: -200%; }
        }

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

        .catalogue-loading {
            padding: 0;
        }

        .catalogue-empty {
            text-align: center;
            padding: 4rem 1rem;
            color: var(--gray-500);
        }

        .catalogue-empty svg {
            margin-bottom: 1rem;
            color: var(--gray-300);
        }

        .catalogue-error {
            text-align: center;
            padding: 3rem 1rem;
            background: rgba(207, 34, 46, 0.05);
            border-radius: var(--radius-md);
            color: #cf222e;
        }

        .catalogue-error button {
            margin-top: 1rem;
            padding: 0.5rem 1.5rem;
            background: #cf222e;
            color: white;
            border: none;
            border-radius: var(--radius-sm);
            font-family: var(--font-primary);
            font-weight: 600;
            cursor: pointer;
        }

        /* ── TECHNIQUES BADGES ── */
        .modal-techniques {
            display: flex;
            flex-wrap: wrap;
            gap: 0.4rem;
            margin-bottom: 1.25rem;
        }

        .technique-badge {
            padding: 0.25rem 0.6rem;
            background: rgba(107,76,154,0.08);
            border-radius: 999px;
            font-size: 0.72rem;
            font-weight: 600;
            color: #6B4C9A;
        }

        /* ── RESPONSIVE ── */
        @media (max-width: 768px) {
            .catalogue-toolbar {
                flex-direction: column;
                align-items: stretch;
            }

            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 1rem;
            }

            .product-modal {
                max-width: 100%;
                max-height: 100vh;
                border-radius: 0;
            }

            .product-modal-grid {
                grid-template-columns: 1fr;
            }

            .product-modal-image {
                max-height: 50vh;
            }

            .product-modal-main-img {
                min-height: 240px;
                padding: 1rem;
            }

            .product-modal-main-img img {
                max-height: 280px;
            }

            .gallery-thumb {
                width: 52px;
                height: 52px;
            }

            .product-modal-info {
                padding: 1.25rem;
                max-height: 50vh;
            }

            .product-modal-name {
                font-size: 1.2rem;
            }

            .modal-details {
                grid-template-columns: 1fr;
            }
        }
