
        /* ── Compact product card ── */
        .pc {
            background: #fff;
            border: 1px solid var(--border);
            border-radius: var(--radius-md);
            overflow: hidden;
            cursor: pointer;
            transition: var(--t);
            display: flex;
            flex-direction: column;
            position: relative
        }

        .pc:hover {
            border-color: var(--red);
            box-shadow: 0 6px 28px rgba(192, 57, 43, .13);
            transform: translateY(-3px)
        }

        .pc-img {
            height: 150px;
            background: var(--off-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 52px;
            position: relative;
            overflow: hidden
        }

        .pc-img img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1
        }

        .pc-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            font-size: .6rem;
            font-weight: 800;
            letter-spacing: .06em;
            text-transform: uppercase;
            padding: 3px 8px;
            border-radius: 4px;
            z-index: 1
        }

        .badge-best {
            background: #F59E0B;
            color: #fff
        }

        .badge-new {
            background: #10B981;
            color: #fff
        }

        .badge-fac {
            background: var(--red);
            color: #fff
        }

        .pc-body {
            padding: 10px 12px;
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px
        }

        .pc-name {
            font-size: .83rem;
            font-weight: 700;
            color: var(--text-dark);
            line-height: 1.3
        }

        .pc-cat {
            font-size: .65rem;
            color: var(--mid-grey);
            margin-top: 2px;
        }

        .pc-origin {
            font-size: .65rem;
            color: var(--green);
            font-weight: 600
        }

        .pc-price {
            font-size: 1.05rem;
            font-weight: 900;
            color: var(--red);
            margin-top: 2px
        }

        .pc-moq {
            font-size: .65rem;
            color: var(--mid-grey)
        }

        .pc-footer {
            padding: 8px 12px;
            border-top: 1px solid var(--border);
            display: flex;
            gap: 7px
        }

        .pc-enquire {
            flex: 1;
            padding: 7px 0;
            background: var(--red);
            color: #fff;
            border: none;
            border-radius: 5px;
            font-size: .75rem;
            font-weight: 700;
            font-family: var(--font);
            cursor: pointer;
            transition: var(--t);
            text-decoration: none;
            text-align: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 4px
        }

        .pc-enquire:hover {
            background: var(--red-dark)
        }

        .pc-detail {
            padding: 7px 10px;
            border: 1.5px solid var(--border);
            border-radius: 5px;
            font-size: .75rem;
            font-weight: 600;
            font-family: var(--font);
            cursor: pointer;
            color: var(--dark-grey);
            background: #fff;
            transition: var(--t);
            white-space: nowrap
        }

        .pc-detail:hover {
            border-color: var(--red);
            color: var(--red)
        }

        /* Grid */
        .pg {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
            gap: 14px
        }

        @media(max-width:480px) {
            .pg {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px
            }

            .pc-img {
                height: 120px;
                font-size: 40px
            }
        }

        /* Filter bar */
        .filter-wrap {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 28px
        }

        .fb {
            padding: 7px 15px;
            background: #fff;
            border: 1.5px solid var(--border);
            border-radius: 50px;
            font-size: .78rem;
            font-weight: 600;
            color: var(--dark-grey);
            cursor: pointer;
            transition: var(--t);
            font-family: var(--font)
        }

        .fb:hover {
            border-color: var(--red);
            color: var(--red)
        }

        .fb.active {
            background: var(--red);
            border-color: var(--red);
            color: #fff;
            box-shadow: 0 4px 16px rgba(192, 57, 43, .3)
        }

        /* Results count */
        .results-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 8px
        }

        .results-count {
            font-size: .82rem;
            color: var(--mid-grey);
            font-weight: 500
        }

        .results-count strong {
            color: var(--text-dark)
        }

        /* Modal */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(11, 23, 40, .6);
            backdrop-filter: blur(6px);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            opacity: 0;
            pointer-events: none;
            transition: opacity .3s ease
        }

        .modal-overlay.open {
            opacity: 1;
            pointer-events: all
        }

        .modal-box {
            background: #fff;
            border-radius: var(--radius-lg);
            max-width: 560px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 32px 80px rgba(0, 0, 0, .25);
            transform: translateY(24px) scale(.97);
            transition: transform .35s cubic-bezier(.4, 0, .2, 1), opacity .3s;
            opacity: 0;
            scrollbar-width: thin
        }

        .modal-overlay.open .modal-box {
            transform: translateY(0) scale(1);
            opacity: 1
        }

        .modal-header {
            padding: 22px 24px 0;
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 12px
        }

        .modal-header h3 {
            font-size: 1.15rem;
            font-weight: 800;
            color: var(--text-dark);
            line-height: 1.25;
            margin: 0
        }

        .modal-close {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1.5px solid var(--border);
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            color: var(--mid-grey);
            transition: var(--t);
            flex-shrink: 0;
            line-height: 1
        }

        .modal-close:hover {
            border-color: var(--red);
            color: var(--red);
            background: rgba(192, 57, 43, .05)
        }

        .modal-img {
            height: 200px;
            background: var(--off-white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 80px;
            margin: 16px 24px;
            border-radius: var(--radius-md);
            position: relative;
            overflow: hidden
        }

        .modal-img img {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            opacity: 1
        }

        .modal-body {
            padding: 0 24px 24px
        }

        .modal-badges {
            display: flex;
            gap: 6px;
            margin-bottom: 12px;
            flex-wrap: wrap
        }
        /* badges inside modal should flow normally rather than be absolute */
        .modal-badges .pc-badge {
            position: static;
            top: auto;
            left: auto;
        }

        .modal-price-row {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 6px
        }

        .modal-price {
            font-size: 1.6rem;
            font-weight: 900;
            color: var(--red)
        }

        .modal-unit {
            font-size: .82rem;
            color: var(--mid-grey)
        }

        .modal-moq {
            display: inline-block;
            background: var(--off-white);
            border: 1px solid var(--border);
            border-radius: 50px;
            padding: 4px 12px;
            font-size: .72rem;
            font-weight: 600;
            color: var(--dark-grey);
            margin-bottom: 16px
        }

        .modal-desc {
            font-size: .85rem;
            color: var(--text-body);
            line-height: 1.65;
            margin-bottom: 16px
        }

        .modal-specs {
            width: 100%;
            border-collapse: collapse;
            margin-bottom: 20px
        }

        .modal-specs tr {
            border-bottom: 1px solid var(--border)
        }

        .modal-specs tr:last-child {
            border-bottom: none
        }

        .modal-specs td {
            padding: 7px 0;
            font-size: .83rem;
            vertical-align: top
        }

        .modal-specs td:first-child {
            font-weight: 700;
            color: var(--dark-grey);
            width: 38%;
            padding-right: 12px
        }

        .modal-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap
        }

        .modal-wa {
            flex: 1;
            padding: 12px 18px;
            background: #25D366;
            color: #fff;
            border: none;
            border-radius: 50px;
            font-size: .88rem;
            font-weight: 700;
            font-family: var(--font);
            cursor: pointer;
            transition: var(--t);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            text-decoration: none
        }

        .modal-wa:hover {
            background: #1DA851;
            transform: translateY(-1px)
        }

        .modal-enquire {
            flex: 1;
            padding: 12px 18px;
            background: var(--red);
            color: #fff;
            border: none;
            border-radius: 50px;
            font-size: .88rem;
            font-weight: 700;
            font-family: var(--font);
            cursor: pointer;
            transition: var(--t);
            text-align: center;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            justify-content: center
        }

        .modal-enquire:hover {
            background: var(--red-dark);
            transform: translateY(-1px)
        }

        /* No results */
        .no-results {
            grid-column: 1/-1;
            text-align: center;
            padding: 60px 20px
        }

        .no-results-emoji {
            font-size: 48px;
            margin-bottom: 12px
        }

        .no-results p {
            color: var(--mid-grey);
            font-size: .9rem
        }