
        /* Page Header */
        .page-header {
            background: linear-gradient(135deg, rgba(128, 0, 0, 0.9), rgba(92, 0, 0, 0.85)),
                        url('https://images.unsplash.com/photo-1610701596007-11502861dcfa?w=1920&q=80');
            background-size: cover;
            background-position: center;
            padding: 80px 0;
            color: var(--white);
            text-align: center;
        }

        .page-header h1 {
            font-size: 48px;
            margin-bottom: 15px;
        }

        .breadcrumb {
            display: flex;
            justify-content: center;
            gap: 10px;
            font-size: 16px;
        }

        .breadcrumb a {
            color: var(--accent-gold);
            text-decoration: none;
        }

        /* Filters */
        .filters-section {
            padding: 40px 0;
            background: var(--white);
            border-bottom: 1px solid var(--border-color);
        }

        .filters-container {
            display: flex;
            gap: 20px;
            align-items: center;
            flex-wrap: wrap;
            justify-content: space-between;
        }

        .filter-group {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }

        .filter-btn {
            padding: 10px 20px;
            border: 2px solid var(--border-color);
            background: var(--white);
            color: var(--text-dark);
            border-radius: 25px;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            font-size: 14px;
            text-decoration: none;
        }

        .filter-btn:hover,
        .filter-btn.active {
            background: var(--primary-maroon);
            color: var(--accent-gold);
            border-color: var(--primary-maroon);
        }

        .sort-select {
            padding: 10px 20px;
            border: 2px solid var(--border-color);
            border-radius: 25px;
            background: var(--white);
            color: var(--text-dark);
            font-weight: 600;
            cursor: pointer;
        }

        /* Products Grid */
        .products-section {
            padding: 80px 0;
            background: var(--light-bg);
        }

        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, 270px);
            gap: 20px;
            justify-content: center;
        }

        .product-card {
            width: 270px;
            height: 320px;
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 5px 20px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            border: 2px solid transparent;
            display: flex;
            flex-direction: column;
        }

        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 15px 40px var(--shadow);
            border-color: var(--accent-gold);
        }

        .product-image {
            width: 100%;
            height: 160px;
            flex-shrink: 0;
            position: relative;
            overflow: hidden;
            background-color: #fafafa;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            object-position: center;
            display: block;
            padding: 8px;
            transition: transform .3s ease;
        }

        .product-card:hover .product-image img {
            transform: scale(1.05);
        }

        .product-badge {
            position: absolute;
            top: 10px;
            left: 10px;
            background: var(--primary-maroon);
            color: var(--accent-gold);
            padding: 4px 10px;
            border-radius: 14px;
            font-size: 10px;
            font-weight: 700;
        }

        .product-wishlist {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 32px;
            height: 32px;
            background: rgba(255,255,255,0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
        }

        .product-wishlist:hover {
            background: var(--primary-maroon);
            color: var(--accent-gold);
        }

        .product-content {
            padding: 8px 14px 10px;
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 0;
            overflow: hidden;
        }

        .product-category {
            color: var(--primary-maroon);
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-card h3 {
            font-size: 14px;
            color: var(--text-dark);
            margin-bottom: 3px;
            line-height: 1.25;
            font-weight: 600;
        }

        .product-card h3 a {
            color: var(--text-dark);
            text-decoration: none;
            transition: all 0.3s ease;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            word-break: break-word;
        }

        .product-card h3 a:hover {
            color: var(--primary-maroon);
        }

        .product-description {
            color: var(--text-light);
            margin: 0 0 4px;
            font-size: 11px;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .product-rating {
            display: flex;
            align-items: center;
            gap: 5px;
            margin-bottom: 4px;
            font-size: 11px;
        }

        .product-stars {
            color: var(--accent-gold);
        }

        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 8px;
            border-top: 1px solid var(--border-color);
            margin-top: auto;
            gap: 8px;
        }

        .product-price {
            font-size: 18px;
            color: var(--primary-maroon);
            font-weight: 700;
            line-height: 1;
        }

        .product-old-price {
            font-size: 12px;
            color: var(--text-light);
            text-decoration: line-through;
            margin-left: 6px;
        }

        .product-actions {
            display: flex;
            gap: 6px;
        }

        .product-btn {
            padding: 7px 14px;
            border-radius: 20px;
            text-decoration: none;
            font-weight: 600;
            font-size: 12px;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .product-btn-primary {
            background: linear-gradient(135deg, var(--primary-maroon), var(--dark-maroon));
            color: var(--accent-gold);
        }

        .product-btn-primary:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(128, 0, 0, 0.3);
        }

        .product-btn-secondary {
            background: var(--success-green);
            color: var(--white);
        }

        .product-btn-secondary:hover {
            background: #20BA5A;
            transform: scale(1.05);
        }
/* ---------------------------------------------------------------------------
   Empty state and lightbox. products.php carried both as inline `style`
   attributes - the lightbox alone was eleven declarations on one div.
   --------------------------------------------------------------------------- */
.products-empty {
    text-align: center;
    padding: 60px 20px;
}

.products-empty > i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block;
}

.products-empty .product-btn {
    display: inline-block;
    margin-top: 20px;
}

.product-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .85);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.product-lightbox.is-open { display: flex; }

.product-lightbox__close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: #fff;
    font-size: 36px;
    cursor: pointer;
    z-index: 10000;
}

.product-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .5);
}
