/* --- 11. Shop Page Layout & Filtering --- */
.shop-grid-wrapper {
    display: flex;
    gap: 40px;
}

.page-title {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar {
    width: 250px;
    flex-shrink: 0;
    padding-top: 20px;
}

.filter-group {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #CCC;
}

.filter-group h4 {
    font-family: var(--font-body);
    font-size: 1em;
    font-weight: 700;
    color: var(--color-dark);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-list li a {
    display: block;
    padding: 5px 0;
    font-size: 0.9em;
    color: var(--color-dark);
}

.price-slider {
    width: 100%;
}

.product-catalog {
    flex-grow: 1;
}

/* --- 12. Catalog Header --- */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
}

.sort-dropdown {
    padding: 8px 15px;
    border: 1px solid var(--color-primary);
    background-color: var(--color-light);
    font-family: var(--font-body);
}

/* --- 13. Product Grid and Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--color-light);
    border: 1px solid #E0E0E0;
    transition: box-shadow 0.3s;
    text-align: center;
}

.product-card:hover {
    box-shadow: 0 4px 10px rgba(56, 94, 79, 0.15); /* Soft shadow with primary color tint */
}

.product-image-placeholder {
    height: 300px;
    background-color: #F8F8F8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Placeholder text for missing image */
    color: #AAA; 
    font-family: var(--font-heading);
}

.product-details {
    padding: 15px 10px 10px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 1.1em;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.product-price {
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.2em;
}

.add-to-cart-button {
    width: 100%;
    border-radius: 0;
    padding: 10px;
    font-size: 0.9em;
}

/* --- Badges for Vintage/Recycled --- */
.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--color-secondary);
    color: var(--color-dark);
    padding: 5px 10px;
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
}

.badge.recycled {
    background-color: var(--color-primary);
    color: var(--color-light);
}

/* --- Pagination --- */
.pagination {
    text-align: center;
    margin-top: 50px;
}

.pagination a {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
}

.pagination a.active {
    background-color: var(--color-primary);
    color: var(--color-light);
}

.pagination a:hover:not(.active) {
    background-color: var(--color-accent);
}
