/* ============================================================
   SHOP LAYOUT
   ============================================================ */
.wr-shop-wrapper {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.wr-products-wrap {
    flex: 1;
    min-width: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.wr-filter-sidebar {
    width: 260px;
    min-width: 260px;
    position: sticky;
    top: 100px;
}

.wr-filter-sidebar-inner {
    background: #111;
    border: 1px solid #2a2a2a;
    border-radius: 4px;
    padding: 24px 20px;
}

/* ============================================================
   FILTER HEADER — desktop only
   ============================================================ */
.wr-filter-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #2a2a2a;
}

.wr-filter-header h3 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #c9a84c;
    margin: 0;
    flex: 1;
}

.wr-filter-icon {
    color: #c9a84c;
    font-size: 14px;
}

.wr-filter-reset {
    background: none;
    border: 1px solid #333;
    color: #888;
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.2s;
}

.wr-filter-reset:hover {
    border-color: #c9a84c;
    color: #c9a84c;
}

/* Mobile reset button — hidden on desktop */
.wr-reset-mobile {
    display: none;
    width: 100%;
    margin-top: 8px;
    padding: 10px;
    text-align: center;
    justify-content: center;
}

/* ============================================================
   FILTER GROUPS
   ============================================================ */
.wr-filter-group {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1e1e1e;
}

.wr-filter-group:last-of-type {
    border-bottom: none;
    margin-bottom: 16px;
}

.wr-filter-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 12px;
}

.wr-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.wr-filter-list li {
    margin-bottom: 8px;
}

/* Radio */
.wr-radio {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.wr-radio:hover { color: #c9a84c; }

.wr-radio input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #444;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.wr-radio input[type="radio"]:checked {
    border-color: #c9a84c;
    background: #c9a84c;
    box-shadow: inset 0 0 0 3px #111;
}

/* Checkbox */
.wr-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    font-size: 13px;
    cursor: pointer;
    transition: color 0.2s;
}

.wr-checkbox:hover { color: #c9a84c; }

.wr-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    border: 1px solid #444;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    position: relative;
}

.wr-checkbox input[type="checkbox"]:checked {
    border-color: #c9a84c;
    background: #c9a84c;
}

.wr-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    color: #111;
    font-size: 10px;
    top: -1px;
    left: 2px;
}

.wr-count {
    color: #555;
    font-size: 11px;
    margin-left: auto;
}

/* ============================================================
   PRICE RANGE
   ============================================================ */
.wr-price-display {
    display: flex;
    justify-content: space-between;
    color: #c9a84c;
    font-size: 12px;
    margin-bottom: 12px;
}

.wr-range-wrap {
    position: relative;
    height: 20px;
}

.wr-range {
    position: absolute;
    width: 100%;
    height: 3px;
    background: transparent;
    appearance: none;
    -webkit-appearance: none;
    pointer-events: none;
    outline: none;
}

.wr-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #c9a84c;
    cursor: pointer;
    pointer-events: all;
    border: 2px solid #111;
    box-shadow: 0 0 4px rgba(201,168,76,0.5);
}

.wr-range::-webkit-slider-runnable-track {
    background: #2a2a2a;
    height: 3px;
    border-radius: 2px;
}

/* ============================================================
   LOAD MORE BUTTON
   ============================================================ */
.wr-load-more-wrap {
    text-align: center;
    margin: 40px 0 20px;
    width: 100%;
}

.wr-load-more-btn {
    background: #111;
    color: #c9a84c;
    border: 1px solid #c9a84c;
    padding: 14px 48px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s;
}

.wr-load-more-btn:hover:not(:disabled) {
    background: #c9a84c;
    color: #111;
}

.wr-load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.wr-load-more-btn.wr-no-more {
    border-color: #333;
    color: #555;
}

/* ============================================================
   NO PRODUCTS
   ============================================================ */
.wr-no-products {
    color: #888;
    text-align: center;
    padding: 60px 20px;
    font-size: 14px;
    letter-spacing: 1px;
    list-style: none;
    width: 100%;
}

/* ============================================================
   MOBILE TOGGLE BUTTON
   ============================================================ */
.wr-mobile-filter-toggle {
    display: none;
    width: 100%;
    padding: 12px 20px;
    background: #111;
    color: #c9a84c;
    border: 1px solid #c9a84c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 4px;
    align-items: center;
    justify-content: space-between;
}

.wr-mobile-filter-toggle.is-open {
    border-radius: 4px 4px 0 0;
    border-bottom-color: #2a2a2a;
}

.wr-toggle-icon {
    transition: transform 0.3s ease;
    font-size: 14px;
}

.wr-mobile-filter-toggle.is-open .wr-toggle-icon {
    transform: rotate(180deg);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .wr-shop-wrapper {
        flex-direction: column;
        gap: 0;
    }

    .wr-filter-sidebar {
        width: 100%;
        min-width: unset;
        position: static;
    }

    /* Show mobile toggle */
    .wr-mobile-filter-toggle {
        display: flex;
    }

    /* Hide desktop filter header */
    .wr-filter-header {
        display: none;
    }

    /* Hide sidebar inner by default on mobile */
    .wr-filter-sidebar-inner {
        display: none;
        border-top: none;
        border-radius: 0 0 4px 4px;
    }

    /* Show mobile reset, hide desktop reset */
    .wr-reset-mobile {
        display: flex;
    }

    .wr-filter-header .wr-filter-reset {
        display: none;
    }
}