/* =========================================
   Elysian Shop Archive Custom Styles
   ========================================= */

.elysian-shop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    max-width: 100% !important;
    padding: 0 !important;
}

.woocommerce .woocommerce-breadcrumb {
    display: none;
}

/* Header */
.elysian-shop-header {
    text-align: center;
    background-color: #f4f1eb;
    padding: 100px 20px;
}

.elysian-shop-subtitle {
    font-size: 11px;
    color: #ce982b;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.elysian-shop-result-count p.woocommerce-result-count {
    margin: 0;
}

.elysian-shop-ordering .woocommerce-ordering {
    margin: 0;
}

.elysian-shop-title {
    font-family: 'Playfair Display', serif;
    font-size: 56px;
    color: #1a1a1a;
    font-weight: 400;
    margin: 0 0 15px 0;
    line-height: 1.2;
}

.elysian-shop-desc {
    font-size: 15px;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: 'Inter', sans-serif;
}

/* Base Layout */
.elysian-shop-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    padding: 100px 0 50px;
}

/* Sidebar */
.elysian-shop-sidebar {
    flex: 0 0 220px;
    position: sticky;
    top: 100px;
    /* Optional sticky behavior */
}

.elysian-filter-widget {
    margin-bottom: 45px;
}

.elysian-filter-title {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #1a1a1a;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #eaeaea;
}

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

.elysian-filter-list li {
    margin-bottom: 12px;
}

.elysian-filter-list a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: capitalize;
}

.elysian-filter-list a:hover {
    color: #ce982b;
    transform: translateX(4px);
}

.elysian-filter-list a.active-filter {
    color: #1a1a1a;
    font-weight: 600;
}

/* ────── WooCommerce Layered Nav (Attribute Filters) ────── */
.widget_layered_nav .woocommerce-widget-layered-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.widget_layered_nav .woocommerce-widget-layered-nav-list li {
    margin-bottom: 12px;
}

.widget_layered_nav .woocommerce-widget-layered-nav-list li a {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.widget_layered_nav .woocommerce-widget-layered-nav-list li a:hover {
    color: #ce982b;
    transform: translateX(4px);
}

.widget_layered_nav .woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a {
    color: #1a1a1a;
    font-weight: 600;
}

.widget_layered_nav .woocommerce-widget-layered-nav-list li .count {
    color: #aaa;
    font-size: 11px;
}

/* ────── WooCommerce Price Filter Widget ────── */
.widget_price_filter .price_slider_wrapper {
    padding-top: 10px;
}

.widget_price_filter .price_slider {
    margin-bottom: 1.5em !important;
    height: 4px !important;
    background: #eaeaea !important;
    border-radius: 0 !important;
    margin: 0 !important;
}

.widget_price_filter .price_slider .ui-slider-range {
    background: #1a1a1a !important;
}

.widget_price_filter .price_slider .ui-slider-handle {
    width: 14px !important;
    height: 14px !important;
    background: #1a1a1a !important;
    border: none !important;
    border-radius: 50% !important;
    top: -5px !important;
    cursor: pointer;
    outline: none;
}

.widget_price_filter .price_slider_amount {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    text-align: left !important;
}

.widget_price_filter .price_slider_amount .price_label {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #1a1a1a;
    font-weight: 500;
    order: 1;
    width: 100%;
    margin-top: 10px;
}

.widget_price_filter .price_slider_amount button {
    order: 2;
    background: #1a1a1a !important;
    color: #fff !important;
    border: none !important;
    font-family: 'Inter', sans-serif;
    font-size: 11px !important;
    border-radius: 0 !important;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 9px 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.widget_price_filter .price_slider_amount button:hover {
    background: #333;
}

.widget_price_filter .price_slider_amount .clear {
    order: 3;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    color: #ce982b;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}


/* Products Grid */
.elysian-shop-products {
    flex: 1;
    min-width: 0;
}

.elysian-shop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.elysian-shop-result-count {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    color: #1a1a1a;
    margin: 0;
}

.elysian-shop-ordering form {
    margin: 0;
}

.elysian-shop-ordering select {
    border: none;
    background: transparent;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1a1a1a;
    font-weight: 600;
    cursor: pointer;
    outline: none;
    padding-right: 20px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-top: 0;
    padding-bottom: 0;
}

/* Custom dropdown icon via pseudo-element wrapper */
.elysian-shop-ordering {
    position: relative;
}

.elysian-shop-ordering::after {
    content: "▼";
    font-size: 8px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #1a1a1a;
}

/* Overriding WooCommerce Default ul.products */
.elysian-shop-products .products {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elysian-shop-products .products::before,
.elysian-shop-products .products::after {
    display: none !important;
}

.elysian-shop-products .products li.product {
    width: 100% !important;
    margin: 0 !important;
    clear: none !important;
    float: none !important;
}

/* WooCommerce Pagination */
.elysian-shop-products .woocommerce-pagination {
    margin-top: 50px;
    text-align: center;
}

.elysian-shop-products .woocommerce-pagination ul {
    border: none;
    padding: 0;
}

.elysian-shop-products .woocommerce-pagination ul li {
    border: none;
    margin: 0 5px;
}

.elysian-shop-products .woocommerce-pagination ul li span.current,
.elysian-shop-products .woocommerce-pagination ul li a:hover {
    background: transparent;
    color: #ce982b;
}

.elysian-shop-products .woocommerce-pagination ul li a,
.elysian-shop-products .woocommerce-pagination ul li span {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    border-radius: 0;
    min-width: 30px;
    padding: 5px;
}

/* Responsive */
@media screen and (max-width: 1024px) {
    .elysian-shop-products .products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media screen and (max-width: 768px) {
    .elysian-shop-layout {
        flex-direction: column;
        gap: 30px;
    }

    .elysian-shop-sidebar {
        flex: none;
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .elysian-filter-widget {
        margin-bottom: 20px;
    }

    .elysian-shop-header {
        padding: 70px 20px;
    }

    .elysian-shop-title {
        font-size: 40px;
    }
}

@media screen and (max-width: 480px) {
    .elysian-shop-products .products {
        gap: 15px !important;
    }

    .elysian-shop-sidebar {
        grid-template-columns: 1fr;
    }

    .elysian-shop-header {
        padding: 50px 20px;
    }
}