/* Left sidebar filters on /products, /categories/{slug} and search results.
   Same situation as blog-enhanced.css: the existing frontend.css wasn't
   included in the codebase handoff, so these are additive rules rather than
   edits to a file I can't see. Uses the same design tokens (Maven Pro
   inherited, #15803d green, cream/gray neutrals). */

.gr-shop-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
}

@media (max-width: 900px) {
    .gr-shop-grid {
        grid-template-columns: 1fr;
    }
}

.gr-shop-filters__form {
    background: #fafaf9;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    position: sticky;
    top: 90px;
}

.gr-shop-filters__box {
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e5e7eb;
}

.gr-shop-filters__box:last-of-type {
    border-bottom: none;
    margin-bottom: 16px;
}

.gr-shop-filters__box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #15803d;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.gr-shop-filters__scroll {
    max-height: 260px;
    overflow-y: auto;
    padding-right: 4px;
}

.gr-shop-filters__option {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #374151;
    padding: 5px 0;
    cursor: pointer;
}

.gr-shop-filters__option input[type="checkbox"] {
    accent-color: #15803d;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

.gr-shop-filters__option--child {
    padding-left: 20px;
    font-size: 13px;
    color: #6b7280;
}

.gr-shop-filters__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gr-shop-filters__price-row input {
    width: 0;
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 14px;
}

.gr-shop-filters__price-row span {
    color: #9ca3af;
}

.gr-shop-filters__clear {
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: underline;
}

.gr-shop-filters__clear:hover {
    color: #15803d;
}

.gr-empty-state {
    background: #fafaf9;
    border: 1px dashed #d1d5db;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center;
    color: #6b7280;
}

.gr-empty-state a {
    color: #15803d;
    font-weight: 600;
}

.gr-btn-whatsapp-enquiry {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: #166534;
    color: #fff !important;
    border: none;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    box-sizing: border-box;
    width: auto;
    min-height: 0;
    max-width: max-content;
}

.gr-btn-whatsapp-enquiry:hover,
.gr-btn-whatsapp-enquiry:visited,
.gr-btn-whatsapp-enquiry:active {
    background: #14532d;
    color: #fff !important;
}

.gr-btn-whatsapp-enquiry i {
    font-size: 15px;
}

.gr-auth-msg--error {
    color: #b91c1c;
    font-weight: 600;
    font-size: 14px;
    margin: 4px 0 12px;
}

.gr-auth-msg:empty {
    display: none;
}

#gr-shop-results {
    transition: opacity 0.15s ease;
}

.gr-shop-results--loading {
    opacity: 0.4;
    pointer-events: none;
}
