/* ======================
   SHOP PAGE STYLES
   ====================== */

/* Shop Header */
.shop-header {
    padding: calc(var(--space-24) + 80px) 0 var(--space-12);
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    text-align: center;
}

.shop-title {
    font-family: var(--font-heading);
    font-size: var(--text-4xl);
    margin-bottom: var(--space-3);
}

.shop-subtitle {
    color: var(--color-charcoal-light);
    max-width: 500px;
    margin-inline: auto;
}

/* Shop Layout */
.shop-main {
    padding: var(--space-12) 0 var(--space-24);
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--space-8);
}

@media (max-width: 968px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
}

/* ======================
   FILTERS SIDEBAR
   ====================== */

.shop-filters {
    position: sticky;
    top: 100px;
    height: fit-content;
    padding: var(--space-6);
    background: var(--color-cream);
    border: 1px solid var(--color-cream-dark);
    border-radius: var(--radius-xl);
}

@media (max-width: 968px) {
    .shop-filters {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: var(--z-modal);
        border-radius: 0;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform var(--transition-base) var(--ease-out-expo);
    }

    .shop-filters.is-open {
        transform: translateX(0);
    }
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--color-cream-dark);
}

.filters-title {
    font-family: var(--font-heading);
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
}

.filters-close {
    display: none;
    padding: var(--space-2);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-charcoal-light);
}

@media (max-width: 968px) {
    .filters-close {
        display: block;
    }
}

/* Filter Groups */
.filter-group {
    margin-bottom: var(--space-6);
}

.filter-group-title {
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
    color: var(--color-charcoal-light);
    margin-bottom: var(--space-3);
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.filter-option {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.filter-option:hover {
    color: var(--color-honey-dark);
}

.filter-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Checkbox Style */
.filter-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-charcoal-lighter);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.filter-option input:checked+.filter-checkbox {
    background: var(--color-honey);
    border-color: var(--color-honey);
}

.filter-option input:checked+.filter-checkbox::after {
    content: '✓';
    color: var(--color-charcoal);
    font-size: 12px;
    font-weight: bold;
}

/* Radio Style */
.filter-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-charcoal-lighter);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.filter-option input:checked+.filter-radio {
    border-color: var(--color-honey);
}

.filter-option input:checked+.filter-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--color-honey);
    border-radius: var(--radius-full);
}

.filter-label {
    flex: 1;
    font-size: var(--text-sm);
}

.filter-count {
    font-size: var(--text-xs);
    color: var(--color-charcoal-lighter);
}

/* ======================
   SHOP CONTENT
   ====================== */

.shop-content {
    min-height: 500px;
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-4);
    margin-bottom: var(--space-6);
    background: var(--color-cream-dark);
    border-radius: var(--radius-lg);
}

.filter-toggle {
    display: none;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--color-cream);
    border: 1px solid var(--color-charcoal-lighter);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    transition: all var(--transition-fast);
}

.filter-toggle:hover {
    border-color: var(--color-honey);
}

@media (max-width: 968px) {
    .filter-toggle {
        display: flex;
    }
}

.shop-results {
    font-size: var(--text-sm);
    color: var(--color-charcoal-light);
}

.shop-sort {
    margin-left: auto;
}

.sort-select {
    padding: var(--space-2) var(--space-4);
    padding-right: var(--space-8);
    font-size: var(--text-sm);
    background: var(--color-cream);
    border: 1px solid var(--color-charcoal-lighter);
    border-radius: var(--radius-md);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232D2D2D' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

.sort-select:focus {
    outline: none;
    border-color: var(--color-honey);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Empty State */
.shop-empty {
    text-align: center;
    padding: var(--space-16) var(--space-4);
}

.shop-empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: var(--space-4);
}

.shop-empty h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.shop-empty p {
    color: var(--color-charcoal-light);
}

/* Load More */
.shop-load-more {
    text-align: center;
    margin-top: var(--space-12);
}

/* Screen Reader Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Active nav link */
.navbar-link.active {
    color: var(--color-honey-dark);
}

.navbar-link.active::after {
    width: 100%;
}