/* =========================
   SHOP HERO
========================= */
.sago-shop-hero {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    padding: 60px 0 50px;
    text-align: center;
    border-bottom: 1px solid var(--sago-border);
    position: relative;
    overflow: hidden;
}
.sago-shop-hero h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 700;
    margin-bottom: 8px;
}
.sago-shop-hero p {
    font-size: 14px;
    color: #6b7280;
}

/* =========================
   FILTER BAR – one row, scrollable
========================= */
.sago-filter-bar-new {
    background: rgba(255,255,255,0.98);
    padding: 8px 0;
    border-bottom: 1px solid var(--sago-border);
    position: sticky;
    top: 0;
    z-index: 99;
    backdrop-filter: blur(8px);
}
.sago-filter-bar-new .ast-container {
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    padding: 4px 12px;
}
.sago-filter-bar-new select,
.sago-filter-bar-new .filter-btn-drawer,
.sago-filter-bar-new .clear-filters-btn {
    display: inline-flex;
    flex: 0 0 auto;
    min-width: auto;
    padding: 8px 14px;
    font-size: 0.8rem;
    border-radius: 40px;
    background: var(--sago-white);
    border: 1px solid var(--sago-border);
    cursor: pointer;
    transition: all 0.2s;
}
.sago-filter-bar-new select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 28px;
}
@media (max-width: 480px) {
    .filter-btn-drawer span,
    .clear-filters-btn span {
        display: none;
    }
    .filter-btn-drawer i,
    .clear-filters-btn i {
        margin: 0;
        font-size: 1rem;
    }
    .filter-btn-drawer,
    .clear-filters-btn {
        padding: 8px 12px;
    }
}

/* =========================
   PRODUCT GRID – responsive (2 to 8 columns)
========================= */
.woocommerce ul.products {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 480px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (min-width: 768px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (min-width: 1024px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(5, 1fr);
    }
}
@media (min-width: 1280px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(6, 1fr);
    }
}
@media (min-width: 1600px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(8, 1fr);
    }
}
.sago-product-card {
    margin: 0 !important;
    transition: transform 0.3s, box-shadow 0.3s;
}
.sago-product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--sago-shadow-hover);
}
.sago-empty {
    text-align: center;
    padding: 60px 20px;
    font-size: 1.1rem;
    color: #6b7280;
    background: var(--sago-light-bg);
    border-radius: var(--sago-radius);
}

/* =========================
   PAGINATION
========================= */
.sago-pagination {
    margin-top: 50px;
    text-align: center;
}
.sago-pagination .page-numbers {
    display: inline-flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    padding: 0;
}
.sago-pagination .page-numbers a,
.sago-pagination .page-numbers span {
    display: inline-block;
    padding: 10px 16px;
    min-width: 42px;
    border: 1px solid var(--sago-border);
    border-radius: 40px;
    text-decoration: none;
    color: var(--sago-text);
    background: var(--sago-white);
    transition: all 0.2s;
}
.sago-pagination .page-numbers a:hover {
    background: var(--sago-primary);
    color: #fff;
    border-color: var(--sago-primary);
}
.sago-pagination .page-numbers span.current {
    background: var(--sago-primary);
    color: #fff;
    border-color: var(--sago-primary);
}