/* ============================================
   WooCommerce Product Archive / Shop Page
   ============================================ */

/* Archive Header */
.pw-shop-header {
    background-color: var(--paperwise-dark-green);
    padding: 80px 0 60px;
    text-align: center;
}

.pw-shop-header .pw-shop-title {
    font-family: 'Impact', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 72px;
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--paperwise-off-white);
    margin: 0 0 20px 0;
}

.pw-shop-header .pw-shop-title span {
    color: var(--paperwise-accent);
}

.pw-shop-header .pw-shop-description {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.57;
    letter-spacing: 0.029em;
    color: var(--paperwise-off-white);
    margin: 0 auto;
    max-width: 700px;
    opacity: 0.85;
}

/* ============================================
   Shop Layout: Sidebar Left + Products Right
   ============================================ */
.pw-shop-content {
    background-color: var(--paperwise-off-white);
    padding: 40px 0 80px;
}

.pw-shop-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   Sidebar / Filters
   ============================================ */
.pw-shop-sidebar {
    position: sticky;
    top: 140px;
}

.pw-sidebar-inner {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 2px 8px rgba(21, 70, 62, 0.06);
}

.pw-sidebar-title {
    font-family: 'Impact', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--paperwise-dark-green);
    margin: 0 0 24px 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(21, 70, 62, 0.1);
}

.pw-filter-group {
    margin-bottom: 24px;
}

.pw-filter-group:last-of-type {
    margin-bottom: 0;
}

.pw-filter-group-label {
    font-family: 'Impact', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--paperwise-dark-green);
    margin: 0 0 10px 0;
}

/* Filter select (placeholder & FacetWP) */
.pw-filter-select,
.pw-filter-group .facetwp-dropdown,
.pw-filter-group .facetwp-facet select {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: var(--paperwise-dark-green);
    background-color: var(--paperwise-off-white);
    border: 1px solid rgba(21, 70, 62, 0.15);
    border-radius: 12px;
    padding: 10px 14px;
    width: 100%;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2315463E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}
/* Filter button styling */
.pw-shop-content .pw-sidebar-inner .facetwp-type-reset{
    margin-bottom: 25px;
}
.pw-shop-content .pw-sidebar-inner .facetwp-reset{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--paperwise-dark-green);
    color: var(--paperwise-accent);
    border-radius: 100px;
    padding: 8px 20px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5714285714;
    letter-spacing: 0.0286em;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.pw-shop-content .pw-sidebar-inner .facetwp-reset:hover{
    background-color: var(--paperwise-dark-green-hover, #0f3329);
    color: var(--paperwise-accent);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(21, 70, 62, 0.3);
}
.pw-shop-content .pw-sidebar-inner .facetwp-reset:focus {
    outline: 2px solid var(--paperwise-accent);
    outline-offset: 2px;
}
.pw-filter-select:hover,
.pw-filter-group .facetwp-dropdown:hover,
.pw-filter-group .facetwp-facet select:hover {
    border-color: var(--paperwise-dark-green);
}

.pw-filter-select:focus,
.pw-filter-group .facetwp-dropdown:focus,
.pw-filter-group .facetwp-facet select:focus {
    outline: 2px solid var(--paperwise-accent);
    outline-offset: 2px;
}

/* FacetWP specific overrides */
.pw-filter-group .facetwp-facet {
    margin-bottom: 0;
}

/* FacetWP checkbox style */
.pw-filter-group .facetwp-checkbox {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    color: var(--paperwise-dark-green);
    padding: 6px 0;
    padding-left: 25px;
    transition: color 0.2s ease;
    margin-left: 0;
    background-size: 23px 21px;
    background-position: left center;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Ik0yMjQuNjE1LTE2MFExOTctMTYwIDE3OC41LTE3OC41IDE2MC0xOTcgMTYwLTIyNC42MTV2LTUxMC43N1ExNjAtNzYzIDE3OC41LTc4MS41IDE5Ny04MDAgMjI0LjYxNS04MDBoNTEwLjc3UTc2My04MDAgNzgxLjUtNzgxLjUgODAwLTc2MyA4MDAtNzM1LjM4NXY1MTAuNzdRODAwLTE5NyA3ODEuNS0xNzguNSA3NjMtMTYwIDczNS4zODUtMTYwaC01MTAuNzdabTAtNDBoNTEwLjc3cTkuMjMgMCAxNi45MjMtNy42OTJRNzYwLTIxNS4zODUgNzYwLTIyNC42MTV2LTUxMC43N3EwLTkuMjMtNy42OTItMTYuOTIzUTc0NC42MTUtNzYwIDczNS4zODUtNzYwaC01MTAuNzdxLTkuMjMgMC0xNi45MjMgNy42OTJRMjAwLTc0NC42MTUgMjAwLTczNS4zODV2NTEwLjc3cTAgOS4yMyA3LjY5MiAxNi45MjNRMjE1LjM4NS0yMDAgMjI0LjYxNS0yMDBaIi8+PC9zdmc+);
}
.pw-filter-group .facetwp-checkbox.checked{
    background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgLTk2MCA5NjAgOTYwIiB3aWR0aD0iMjQiPjxwYXRoIGQ9Im00MjQtMzM5LjY5MiAyNTUuODQ2LTI1NS44NDYtMjguMzA4LTI4LjMwOEw0MjQtMzk2LjMwOGwtMTE0LTExNEwyODEuNjkyLTQ4MiA0MjQtMzM5LjY5MlpNMjI0LjYxNS0xNjBRMTk3LTE2MCAxNzguNS0xNzguNSAxNjAtMTk3IDE2MC0yMjQuNjE1di01MTAuNzdRMTYwLTc2MyAxNzguNS03ODEuNSAxOTctODAwIDIyNC42MTUtODAwaDUxMC43N1E3NjMtODAwIDc4MS41LTc4MS41IDgwMC03NjMgODAwLTczNS4zODV2NTEwLjc3UTgwMC0xOTcgNzgxLjUtMTc4LjUgNzYzLTE2MCA3MzUuMzg1LTE2MGgtNTEwLjc3Wm0wLTQwaDUxMC43N3E5LjIzIDAgMTYuOTIzLTcuNjkyUTc2MC0yMTUuMzg1IDc2MC0yMjQuNjE1di01MTAuNzdxMC05LjIzLTcuNjkyLTE2LjkyM1E3NDQuNjE1LTc2MCA3MzUuMzg1LTc2MGgtNTEwLjc3cS05LjIzIDAtMTYuOTIzIDcuNjkyUTIwMC03NDQuNjE1IDIwMC03MzUuMzg1djUxMC43N3EwIDkuMjMgNy42OTIgMTYuOTIzUTIxNS4zODUtMjAwIDIyNC42MTUtMjAwWk0yMDAtNzYwdjU2MC01NjBaIi8+PC9zdmc+);
}
.pw-filter-group .facetwp-checkbox:hover {
    color: var(--paperwise-teal);
}

.pw-filter-group .facetwp-checkbox.checked {
    font-weight: 500;
    color: var(--paperwise-dark-green);
}

/* Active filter selections */
.pw-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 16px 0 0;
    margin-top: 24px;
}

.pw-active-filters:empty {
    display: none;
}

/* ============================================
   Products Area (Right Side)
   ============================================ */

/* Result Count & Ordering Bar */
.pw-shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(21, 70, 62, 0.08);
}

.pw-shop-toolbar .woocommerce-result-count {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--paperwise-dark-green);
    margin: 0;
}
.pw-shop-toolbar .facetwp-type-sort{
    margin-bottom: 0;
}
/* FacetWP sorting dropdown in toolbar */
.pw-shop-toolbar .facetwp-facet select,
.pw-shop-toolbar .facetwp-facet .facetwp-dropdown{
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--paperwise-dark-green);
    background-color: #ffffff;
    border: 1px solid rgba(21, 70, 62, 0.2);
    border-radius: 100px;
    padding: 8px 36px 8px 16px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2315463E' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pw-shop-toolbar .facetwp-facet select:hover,
.pw-shop-toolbar .facetwp-facet .facetwp-dropdown:hover {
    border-color: var(--paperwise-dark-green);
}

.pw-shop-toolbar .facetwp-facet select:focus,
.pw-shop-toolbar .facetwp-facet .facetwp-dropdown:focus {
    outline: 2px solid var(--paperwise-accent);
    outline-offset: 2px;
    border-color: var(--paperwise-dark-green);
}

/* ============================================
   Product Grid
   ============================================ */
.pw-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

/* Product Card */
.pw-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: transparent;
}

.pw-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(21, 70, 62, 0.12);
}

.pw-product-card a.pw-product-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Card Image */
.pw-product-card-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background-color: #ffffff;
    border-radius: 20px 20px 0 0;
}

.pw-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.pw-product-card:hover .pw-product-card-image img {
    transform: scale(1.05);
}

.pw-product-card-image .pw-product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: 100px;
    background-color: var(--paperwise-accent);
    color: var(--paperwise-dark-green);
    z-index: 2;
}

/* Card Content */
.pw-product-card-content {
    flex: 1;
    background-color: var(--paperwise-teal);
    border-radius: 0 0 20px 20px;
    padding: 20px 22px 22px;
    display: flex;
    flex-direction: column;
}

.pw-product-card-category {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 11px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--paperwise-accent);
    opacity: 0.8;
    margin: 0 0 8px 0;
}

.pw-product-card-title {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.02em;
    color: var(--paperwise-off-white);
    margin: 0 0 12px 0;
}

.pw-product-card-excerpt {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 300;
    line-height: 1.57;
    letter-spacing: 0.029em;
    color: var(--paperwise-off-white);
    opacity: 0.85;
    margin: 0 0 16px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pw-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 16px;
    border-top: 1px solid rgba(244, 243, 234, 0.15);
}

.pw-product-card-price {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--paperwise-accent);
    line-height: 1;
}

.pw-product-card-price del {
    font-size: 14px;
    font-weight: 400;
    opacity: 0.6;
    margin-right: 6px;
}

.pw-product-card-price ins {
    text-decoration: none;
}

.pw-product-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 13px;
    font-weight: 400;
    color: var(--paperwise-off-white);
    transition: gap 0.3s ease;
}

.pw-product-card:hover .pw-product-card-cta {
    gap: 10px;
}

.pw-product-card-cta svg {
    width: 14px;
    height: 12px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.pw-product-card:hover .pw-product-card-cta svg {
    transform: translateX(4px);
}

/* No Products Found */
.pw-no-products {
    text-align: center;
    padding: 80px 20px;
}

.pw-no-products p {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 18px;
    color: var(--paperwise-dark-green);
    margin: 0 0 24px 0;
}

/* ============================================
   Pagination
   ============================================ */
.pw-shop-pagination {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pw-shop-pagination .page-numbers {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 100px;
    background-color: transparent;
    color: var(--paperwise-dark-green);
    border: 1px solid var(--paperwise-dark-green);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.pw-shop-pagination .page-numbers:hover,
.pw-shop-pagination .page-numbers.current {
    background-color: var(--paperwise-dark-green);
    color: var(--paperwise-accent);
    border-color: var(--paperwise-dark-green);
}

.pw-shop-pagination .page-numbers.dots {
    border: none;
    background: none;
    cursor: default;
}

.pw-shop-pagination .page-numbers.prev,
.pw-shop-pagination .page-numbers.next {
    font-weight: 500;
}

/* FacetWP Pager */
.pw-shop-pagination .facetwp-pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.pw-shop-pagination .facetwp-page {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    padding: 8px 16px;
    border-radius: 100px;
    background-color: transparent;
    color: var(--paperwise-dark-green);
    border: 1px solid var(--paperwise-dark-green);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
}

.pw-shop-pagination .facetwp-page:hover,
.pw-shop-pagination .facetwp-page.active {
    background-color: var(--paperwise-dark-green);
    color: var(--paperwise-accent);
    border-color: var(--paperwise-dark-green);
}

.pw-shop-pagination .facetwp-page.dots {
    border: none;
    background: none;
    cursor: default;
}

.pw-shop-pagination .facetwp-page.prev,
.pw-shop-pagination .facetwp-page.next {
    font-weight: 500;
}

/* FacetWP Counts */
.pw-shop-toolbar .facetwp-counts {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: var(--paperwise-dark-green);
    opacity: 0.7;
}

/* ============================================
   Responsive - Tablet (sidebar collapses above)
   ============================================ */
@media (max-width: 1220px) {
    .pw-product-grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .pw-shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    align-items: start;
}
}
@media (max-width: 991px) {
    .pw-shop-header {
        padding: 60px 0 48px;
    }
    .pw-shop-content .pw-sidebar-inner .facetwp-type-reset {
        margin: 15px 0px 5px;
    }
    .pw-shop-header .pw-shop-title {
        font-size: 56px;
        margin-bottom: 16px;
    }

    .pw-shop-header .pw-shop-description {
        font-size: 15px;
    }

    .pw-shop-layout {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .pw-shop-sidebar {
        position: static;
        margin-bottom: 32px;
    }

    .pw-sidebar-inner {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 24px;
    }

    /* Top-level sidebar accordion */
    .pw-sidebar-title {
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 16px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        user-select: none;
        -webkit-user-select: none;
    }

    .pw-sidebar-title::after {
        content: '';
        width: 12px;
        height: 12px;
        border-right: 2.5px solid var(--paperwise-dark-green);
        border-bottom: 2.5px solid var(--paperwise-dark-green);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        opacity: 0.4;
    }

    .pw-sidebar-inner.pw-sidebar-open .pw-sidebar-title::after {
        transform: rotate(-135deg);
    }

    /* Hide everything except the title when sidebar is collapsed */
    .pw-sidebar-inner > *:not(.pw-sidebar-title) {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, margin 0.35s ease, padding 0.35s ease;
        margin-top: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }

    .pw-sidebar-inner.pw-sidebar-open > *:not(.pw-sidebar-title) {
        max-height: 2000px;
    }

    .pw-sidebar-inner.pw-sidebar-open > .pw-active-filters {
        margin-top: 8px;
        padding-top: 12px;
    }

    /* Individual filter group accordions */
    .pw-filter-group {
        min-width: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .pw-filter-group:last-of-type {
        border-bottom: none;
    }

    .pw-filter-group-label {
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 14px 0;
        margin: 0;
        user-select: none;
        -webkit-user-select: none;
    }

    .pw-filter-group-label::after {
        content: '';
        width: 9px;
        margin-right: 6px;
        height: 10px;
        border-right: 2px solid var(--paperwise-dark-green);
        border-bottom: 2px solid var(--paperwise-dark-green);
        transform: rotate(45deg);
        transition: transform 0.3s ease;
        flex-shrink: 0;
        opacity: 0.5;
    }

    .pw-filter-group.pw-filter-open .pw-filter-group-label::after {
        transform: rotate(-135deg);
    }

    .pw-filter-group .facetwp-facet {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        padding-bottom: 0;
    }

    .pw-filter-group.pw-filter-open .facetwp-facet {
        max-height: 500px;
        padding-bottom: 14px;
    }

    .pw-active-filters {
        width: 100%;
    }

    .pw-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .pw-product-card-image {
        height: 220px;
    }

    .pw-product-card-content {
        padding: 20px 24px 24px;
    }

    .pw-product-card-title {
        font-size: 20px;
    }

    .pw-shop-content {
        padding: 32px 0 60px;
    }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 768px) {
    .pw-shop-header {
        padding: 40px 0 32px;
    }

    .pw-shop-header .pw-shop-title {
        font-size: 42px;
        letter-spacing: 0.12em;
        margin-bottom: 14px;
    }

    .pw-shop-header .pw-shop-description {
        font-size: 14px;
    }

    .pw-sidebar-inner {
        padding: 20px;
    }

    .pw-shop-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding-bottom: 16px;
    }

    .pw-product-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .pw-product-card-image {
        height: 220px;
    }

    .pw-product-card-content {
        padding: 20px 20px 24px;
    }

    .pw-product-card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .pw-product-card-excerpt {
        font-size: 13px;
        margin-bottom: 14px;
    }

    .pw-product-card-price {
        font-size: 18px;
    }

    .pw-shop-content {
        padding: 24px 0 48px;
    }

    .pw-shop-pagination {
        margin-top: 40px;
        flex-wrap: wrap;
    }

    .pw-shop-pagination .page-numbers {
        font-size: 13px;
        padding: 6px 14px;
    }
}

@media (max-width: 576px) {
    .pw-shop-header .pw-shop-title {
        font-size: 32px;
        letter-spacing: 0.1em;
    }

    .pw-product-card-image {
        height: 200px;
    }
}

/* ============================================
   Accessibility
   ============================================ */
.pw-product-card a:focus {
    outline: 2px solid var(--paperwise-accent);
    outline-offset: 4px;
    border-radius: 20px;
}

@media (prefers-reduced-motion: reduce) {
    .pw-product-card,
    .pw-product-card-image img,
    .pw-product-card-cta svg {
        transition: none;
    }

    .pw-product-card:hover {
        transform: none;
    }

    .pw-product-card:hover .pw-product-card-image img {
        transform: none;
    }

    .pw-product-card:hover .pw-product-card-cta svg {
        transform: none;
    }
}

/* ============================================
   Print
   ============================================ */
@media print {
    .pw-shop-sidebar {
        display: none;
    }

    .pw-shop-layout {
        grid-template-columns: 1fr;
    }

    .pw-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .pw-product-card {
        page-break-inside: avoid;
        box-shadow: none;
    }

    .pw-shop-pagination {
        display: none;
    }
}
