/* Products header */
.products-header {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem 0;
    max-width: 1200px;
    margin: 0 auto;
}

.products-title {
    font-size: 1.2rem;
    color: var(--gold);
}

.products-count {
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.5);
}

/* NLP Filter Bar */
.product-filter-bar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.4rem 0.75rem;
}

.filter-input-wrapper {
    position: relative;
}

.filter-input-wrapper input {
    width: 100%;
    padding: 0.5rem 1rem;
    background: rgba(245, 240, 232, 0.06);
    border: 1px solid rgba(197, 164, 78, 0.3);
    border-radius: 100px;
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.filter-input-wrapper input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(197, 164, 78, 0.15);
}

.filter-input-wrapper input::placeholder {
    color: rgba(245, 240, 232, 0.35);
}

/* Filter Chips */
.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.85rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid;
    background: rgba(245, 240, 232, 0.06);
}

.filter-chip-price { border-color: var(--gold); color: var(--gold); }
.filter-chip-material { border-color: var(--emerald); color: #4CAF50; }
.filter-chip-color { border-color: var(--amethyst); color: #AB47BC; }
.filter-chip-size { border-color: var(--sapphire); color: #5C6BC0; }
.filter-chip-saint { border-color: var(--ruby); color: #E57373; }
.filter-chip-text { border-color: rgba(245, 240, 232, 0.3); color: var(--cream); }

.chip-remove {
    background: none;
    border: none;
    color: inherit;
    font-size: 1rem;
    cursor: pointer;
    opacity: 0.6;
    padding: 0;
    line-height: 1;
}

.chip-remove:hover { opacity: 1; }

/* Filter Suggestions */
.filter-suggestions {
    display: flex;
    gap: 0.4rem;
    margin-top: 0.5rem;
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.filter-suggestion {
    padding: 0.3rem 0.75rem;
    border: 1px solid rgba(197, 164, 78, 0.15);
    border-radius: 100px;
    background: transparent;
    color: rgba(245, 240, 232, 0.5);
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
}

.filter-suggestion:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* Loading & Load More */
.products-loading {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.products-load-more {
    display: block;
    margin: 1rem auto;
    padding: 0.5rem 2rem;
    background: transparent;
    border: 1px solid var(--gold);
    border-radius: 100px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.products-load-more:hover {
    background: var(--gold);
    color: var(--dark);
}

.products-end {
    text-align: center;
    padding: 1.5rem;
    color: rgba(245, 240, 232, 0.3);
    font-size: 0.85rem;
}

.products-sentinel {
    height: 1px;
    width: 100%;
}

/* Saint browse button */
.saint-browse-btn {
    display: inline-block;
    margin-top: 0.5rem;
    padding: 0.4rem 1rem;
    border: 1px solid var(--gold);
    border-radius: 100px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
    background: transparent;
}

.saint-browse-btn:hover {
    background: var(--gold);
    color: var(--dark);
}

/* Calendar browse link */
.feast-browse-link {
    color: var(--gold);
    cursor: pointer;
    font-size: 0.85rem;
}

.feast-browse-link:hover {
    color: var(--gold-light);
}

/* Desktop overrides */
@media (min-width: 1024px) {
    .products-header {
        padding: 0.75rem 2rem 0;
    }

    .products-title {
        font-size: 1.4rem;
    }

    .product-filter-bar {
        padding: 0.5rem 2rem;
    }

    .filter-suggestions {
        flex-wrap: wrap;
        overflow-x: visible;
    }
}
