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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
            background: #f6f5f2;
            color: #1e1e1e;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        .main-content {
            flex: 1;
            display: flex;
            justify-content: center;
            padding: 30px 20px 20px;
        }

        .buckle-section {
            width: 100%;
            background: #ffffff;
            padding: 40px 40px 48px;
        }

        /* ===== Header ===== */
        .section-header {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 32px;
            border-bottom: 2px solid #f0ede8;
            padding-bottom: 20px;
            gap: 16px;
        }

        .header-left {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .header-left h1 {
            font-size: 32px;
            font-weight: 700;
            letter-spacing: -0.5px;
            color: #1e1e1e;
            margin-top: 4px;
        }

        .header-left h1 span {
            background: linear-gradient(135deg, #c9b396, #a68b72);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .header-left .subtitle {
            font-size: 16px;
            font-weight: 400;
            color: #7a6f64;
            margin-top: 2px;
            letter-spacing: 0.3px;
        }

        .header-left .subtitle i {
            font-style: normal;
            margin: 0 6px;
            color: #d4c8bc;
        }

        .header-right {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-top: 12px;
        }

        .header-right .count-badge {
            font-size: 14px;
            color: #7a6f64;
            background: #f6f4f0;
            padding: 6px 18px;
            border-radius: 100px;
            font-weight: 500;
        }

        .search-wrapper {
            display: flex;
            align-items: center;
            background: #f6f4f0;
            border-radius: 100px;
            padding: 0 16px;
            border: 1px solid #e8e2da;
            transition: 0.25s;
        }

        .search-wrapper:focus-within {
            border-color: #b0a59a;
            background: #ffffff;
            box-shadow: 0 0 0 4px rgba(176, 165, 154, 0.10);
        }

        .search-wrapper svg {
            width: 18px;
            height: 18px;
            fill: none;
            stroke: #9a8f84;
            stroke-width: 2.2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex-shrink: 0;
        }

        .search-wrapper input {
            border: none;
            background: transparent;
            padding: 8px 10px;
            font-size: 14px;
            font-family: inherit;
            outline: none;
            color: #1e1e1e;
            width: 160px;
            transition: width 0.3s;
        }

        .search-wrapper input::placeholder {
            color: #b0a59a;
        }

        .search-wrapper input:focus {
            width: 200px;
        }

        @media (max-width: 768px) {
            .search-wrapper input {
                width: 120px;
            }
            .search-wrapper input:focus {
                width: 150px;
            }
        }
        @media (max-width: 480px) {
            .search-wrapper input {
                width: 90px;
                font-size: 13px;
            }
            .search-wrapper input:focus {
                width: 120px;
            }
        }

        /* ===== Product Grid ===== */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 24px 20px;
            margin-top: 4px;
        }

        .product-card {
            background: #fbfaf8;
            border-radius: 20px;
            padding: 20px 16px 18px;
            transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
            border: 1px solid #f0ede8;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            cursor: default;
        }

        .product-card:hover {
            transform: translateY(-6px);
            border-color: #e0d8ce;
            box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
            background: #ffffff;
        }

        /* ===== Buckle Visual (image container) ===== */
        .buckle-visual {
            width: 100%;
            aspect-ratio: 1 / 1;
            max-width: 140px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 14px;
            background: #f6f4f0;
            transition: 0.3s;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .product-card:hover .buckle-visual {
            background: #f0ede8;
        }

        .buckle-visual img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            padding: 8px;
            transition: transform 0.3s;
        }

        .buckle-visual img:hover {
            transform: scale(1.04);
        }

        /* fallback SVG buckle (when no image) */
        .buckle {
            position: relative;
            width: 64%;
            height: 64%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .buckle-body {
            position: relative;
            width: 100%;
            height: 100%;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
        }

        .buckle-pin {
            position: absolute;
            width: 6%;
            height: 72%;
            background: rgba(255, 255, 255, 0.35);
            border-radius: 4px;
            top: 14%;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 0 6px rgba(0, 0, 0, 0.06);
            transition: 0.3s;
        }

        .buckle-shine {
            position: absolute;
            top: 10%;
            left: 12%;
            width: 30%;
            height: 16%;
            background: rgba(255, 255, 255, 0.25);
            border-radius: 40px;
            filter: blur(2px);
            pointer-events: none;
        }

        /* ===== Buckle style variants (only those used in data) ===== */
        .style-business {
            background: linear-gradient(145deg, #e8d5b0, #c9a87c);
            border-radius: 8px;
            box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.08), 0 6px 18px rgba(201, 168, 124, 0.30);
            border: 2px solid rgba(255, 215, 140, 0.5);
        }
        .style-business .buckle-pin {
            background: rgba(255, 215, 140, 0.55);
            box-shadow: 0 0 8px rgba(201, 168, 124, 0.2);
        }

        .style-casual {
            background: linear-gradient(145deg, #e8e6e4, #c8c4be);
            border-radius: 50%;
            box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.06), 0 6px 18px rgba(0, 0, 0, 0.08);
            border: 2px solid rgba(255, 255, 255, 0.5);
        }
        .style-casual .buckle-pin {
            background: rgba(160, 156, 150, 0.5);
            border-radius: 6px;
            width: 5%;
            height: 68%;
        }

        .style-fashion {
            background: linear-gradient(145deg, #3a3a3a, #1e1e1e);
            border-radius: 4px;
            box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.3), 0 6px 18px rgba(0, 0, 0, 0.20);
            border: 1px solid rgba(255, 255, 255, 0.08);
        }
        .style-fashion .buckle-pin {
            background: rgba(255, 255, 255, 0.12);
            width: 4%;
            height: 70%;
        }
        .style-fashion .buckle-shine {
            background: rgba(255, 255, 255, 0.06);
        }

        .style-gunmetal-matte {
            background: linear-gradient(145deg, #7e8a96, #54606b);
            border-radius: 10px;
            box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.15), 0 6px 18px rgba(84, 96, 107, 0.25);
            border: 1px solid rgba(160, 175, 190, 0.15);
        }
        .style-gunmetal-matte .buckle-pin {
            background: rgba(200, 215, 225, 0.2);
            width: 5%;
            height: 66%;
        }
        .style-gunmetal-matte .buckle-shine {
            background: rgba(200, 215, 225, 0.08);
            filter: blur(4px);
        }

        /* ===== Product info ===== */
        .product-name {
            font-size: 15px;
            font-weight: 600;
            color: #1e1e1e;
            letter-spacing: 0.2px;
            line-height: 1.3;
            margin-top: 2px;
        }

        .product-sku {
            font-size: 18px;
            font-weight: 500;
            color: #7a6f64;
            letter-spacing: 0.3px;
            margin-top: 2px;
        }

        .color-tag {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 12px;
            font-weight: 500;
            color: #3a3a3a;
            background: #f6f4f0;
            padding: 4px 12px 4px 8px;
            border-radius: 100px;
            margin-top: 6px;
            border: 1px solid #e8e2da;
        }

        .color-swatch {
            display: inline-block;
            width: 14px;
            height: 14px;
            border-radius: 50%;
            border: 1px solid rgba(0, 0, 0, 0.08);
            flex-shrink: 0;
        }

        /* ===== Empty state ===== */
        .empty-state {
            grid-column: 1 / -1;
            text-align: center;
            padding: 60px 20px;
            color: #b0a59a;
            font-size: 16px;
            background: #fbfaf8;
            border-radius: 24px;
            border: 2px dashed #e8e2da;
        }
        .empty-state strong {
            color: #7a6f64;
        }

        /* ===== Footer ===== */
        .footer {
            text-align: center;
            padding: 24px 20px 20px;
            font-size: 13px;
            color: #9a8f84;
            border-top: 1px solid #f0ede8;
            background: #ffffff;
            margin-top: 0;
        }

        /* ================================================================
                   LIGHTBOX / MODAL
                   ================================================================ */
        .lightbox-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.80);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 9999;
            padding: 30px;
            opacity: 0;
            transition: opacity 0.35s ease;
        }

        .lightbox-overlay.active {
            display: flex;
            opacity: 1;
        }

        .lightbox-content {
            max-width: 720px;
            width: 100%;
            max-height: 90vh;
            background: #ffffff;
            border-radius: 28px;
            padding: 24px 24px 28px;
            box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
            display: flex;
            flex-direction: column;
            align-items: center;
            transform: scale(0.94) translateY(12px);
            transition: transform 0.35s cubic-bezier(0.2, 0, 0, 1);
            position: relative;
        }

        .lightbox-overlay.active .lightbox-content {
            transform: scale(1) translateY(0);
        }

        .lightbox-close {
            position: absolute;
            top: 14px;
            right: 18px;
            background: #f0ede8;
            border: none;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            font-size: 22px;
            line-height: 1;
            cursor: pointer;
            color: #3a3a3a;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.25s;
            z-index: 10;
        }

        .lightbox-close:hover {
            background: #e0d8ce;
            transform: rotate(90deg);
        }

        .lightbox-image-wrap {
            width: 100%;
            aspect-ratio: 1 / 1;
            max-height: 60vh;
            border-radius: 16px;
            overflow: hidden;
            background: #f6f4f0;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 16px;
        }

        .lightbox-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
            padding: 12px;
        }

        .lightbox-info {
            width: 100%;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 8px 16px;
            padding: 0 4px;
        }

        .lightbox-info .lb-name {
            font-size: 20px;
            font-weight: 700;
            color: #1e1e1e;
        }

        .lightbox-info .lb-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
        }

        .lightbox-info .lb-sku {
            font-size: 14px;
            color: #7a6f64;
            background: #f0ede8;
            padding: 4px 14px;
            border-radius: 100px;
        }

        .lightbox-info .lb-color {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            font-size: 14px;
            font-weight: 500;
            color: #3a3a3a;
            background: #f6f4f0;
            padding: 4px 14px 4px 10px;
            border-radius: 100px;
            border: 1px solid #e8e2da;
        }

        .lightbox-info .lb-color .cs {
            width: 18px;
            height: 18px;
            border-radius: 50%;
            border: 1px solid rgba(0, 0, 0, 0.08);
            flex-shrink: 0;
        }

        /* ================================================================
                   RESPONSIVE
                   ================================================================ */
        @media (max-width: 1024px) {
            .product-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 20px 16px;
            }
            .buckle-section {
                padding: 30px 24px 36px;
            }
        }

        @media (max-width: 768px) {
            .buckle-section {
                padding: 24px 16px 32px;
            }
            .section-header {
                flex-direction: column;
                align-items: flex-start;
                gap: 12px;
                padding-bottom: 18px;
            }
            .header-left h1 {
                font-size: 24px;
            }
            .header-left .subtitle {
                font-size: 14px;
            }
            .header-right {
                width: 100%;
                justify-content: flex-start;
                flex-wrap: wrap;
                gap: 8px;
            }
            .product-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 16px 12px;
            }
            .product-card {
                padding: 14px 10px 14px;
                border-radius: 16px;
            }
            .buckle-visual {
                max-width: 100px;
            }
            .product-name {
                font-size: 13px;
            }
            .main-content {
                padding: 16px 12px 12px;
            }
        }

        /* ===== Mobile: image left, info right, vertical centered ===== */
        @media (max-width: 480px) {
            .product-grid {
                grid-template-columns: 1fr;
                gap: 14px;
            }

            .product-card {
                padding: 12px 16px 12px 12px;
                border-radius: 16px;
                flex-direction: row;
                flex-wrap: nowrap;
                align-items: stretch;
                text-align: left;
                gap: 14px;
                min-height: 120px;
            }

            .product-card .buckle-visual {
                flex: 0 0 120px;
                max-width: 120px;
                aspect-ratio: 1 / 1;
                margin-bottom: 0;
                border-radius: 14px;
                align-self: center;
            }

            .product-card .buckle-visual img {
                padding: 6px;
            }

            .product-card .product-info {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: flex-start;
                flex: 1;
                min-width: 0;
                gap: 2px;
                padding: 2px 0;
            }

            .product-card .product-name {
                font-size: 16px;
                font-weight: 600;
                text-align: left;
                width: 100%;
                margin-top: 0;
                line-height: 1.3;
            }

            .product-card .product-sku {
                font-size: 13px;
                font-weight: 500;
                color: #7a6f64;
                text-align: left;
                width: 100%;
                margin-top: 0;
                letter-spacing: 0.2px;
            }

            .product-card .color-tag {
                font-size: 12px;
                margin-top: 4px;
                padding: 3px 12px 3px 8px;
                align-self: flex-start;
            }

            .product-card .color-tag .color-swatch {
                width: 14px;
                height: 14px;
            }

            .header-left h1 {
                font-size: 20px;
            }
            .main-content {
                padding: 10px 8px 8px;
            }
            .buckle-section {
                padding: 16px 10px 24px;
            }

            .lightbox-content {
                padding: 16px 16px 20px;
                border-radius: 20px;
                max-width: 100%;
                margin: 10px;
            }
            .lightbox-info .lb-name {
                font-size: 17px;
            }
            .lightbox-info .lb-sku {
                font-size: 12px;
                padding: 3px 12px;
            }
            .lightbox-info .lb-color {
                font-size: 12px;
                padding: 3px 12px 3px 8px;
            }
            .lightbox-close {
                top: 10px;
                right: 12px;
                width: 34px;
                height: 34px;
                font-size: 18px;
            }
        }

        /* extra-small phones */
        @media (max-width: 380px) {
            .product-card {
                padding: 10px 12px 10px 10px;
                gap: 10px;
                min-height: 100px;
            }
            .product-card .buckle-visual {
                flex: 0 0 96px;
                max-width: 96px;
            }
            .product-card .product-name {
                font-size: 14px;
            }
            .product-card .product-sku {
                font-size: 11px;
            }
            .product-card .color-tag {
                font-size: 10px;
                padding: 2px 10px 2px 6px;
                margin-top: 2px;
            }
            .product-card .color-tag .color-swatch {
                width: 12px;
                height: 12px;
            }
        }
    