/* =====================
   Category Sidebar
   ===================== */
.thermo-cat-sidebar {
    font-family: 'ThermoFont', sans-serif;
    margin-top: 20px;
}

/* Hide duplicate header inside widget */
.thermo-cat-sidebar .thermo-cat-header {
    display: none;
}

.thermo-cat-header {
    font-weight: 700;
    font-size: 15px;
    color: var(--thermo-dark);
    padding: 14px 16px;
    margin-bottom: 4px;
}

.thermo-cat-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 16px !important;
}

.thermo-cat-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}

.thermo-cat-row:hover {
    background: #f5f5f5;
}

.thermo-cat-item.is-active > .thermo-cat-row {
    background: var(--thermo-dark);
    border-radius: 100px;
}

.thermo-cat-item.is-active > .thermo-cat-row a {
    color: #fff !important;
}

.thermo-cat-row a {
    font-weight: 700;
    font-size: 14px;
    color: var(--thermo-dark);
    text-decoration: none;
    flex: 1;
}

/* Arrow — right side */
.thermo-cat-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: auto;
    transition: transform 0.2s ease;
}

.thermo-cat-item.is-open > .thermo-cat-row .thermo-cat-arrow {
    transform: rotate(90deg);
}

.thermo-cat-item.is-active > .thermo-cat-row .thermo-cat-arrow img {
    filter: brightness(0) invert(1);
}

/* Children list */
.thermo-cat-children {
    list-style: none !important;
    padding: 4px 0 10px !important;
    margin: 0 !important;
    display: none;
}

.thermo-cat-children.is-open {
    display: block;
}

.thermo-cat-child-item {
    list-style: none !important;
}

.thermo-cat-child-label {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 10px 11px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
    color: var(--thermo-near-black);
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}

.thermo-cat-child-label:hover {
    background: #f5f5f5;
}

.thermo-cat-child-item.is-active .thermo-cat-child-label {
    font-weight: 600;
    color: var(--thermo-dark);
}

/* =====================
   Custom Checkbox
   ===================== */
.thermo-cat-cb,
.thermo-brand-cb {
    display: none !important;
}

.thermo-cb-box {
    width: 18px;
    height: 18px;
    border: 2px solid #B4B7BB;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s;
    background: #fff;
}

.thermo-cat-cb:checked + .thermo-cb-box,
.thermo-brand-cb:checked + .thermo-cb-box {
    background: var(--thermo-dark);
    border-color: var(--thermo-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5l2.5 2.5 4.5-4.5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* =====================
   Filters Section — outer wrapper
   ===================== */
.thermo-filters {
    padding: 16px;
    margin-top: 8px;
}

.thermo-filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 4px 12px;
    font-weight: 700;
    font-size: 14px;
    color: var(--thermo-dark);
}

.thermo-filters-header img {
    width: 24px;
    height: 24px;
    opacity: 0.5;
}

/* =====================
   Filter Block — shared wrapper for every filter group
   ===================== */
.thermo-filter-block {
    margin-bottom: 10px;
}

/* Pill-style section title */
.thermo-filter-title {
    display: inline-flex;
    align-items: center;
    width: 100%;
    font-weight: 600;
    font-size: 14px;
    color: var(--thermo-dark);
    background: #E6E6E6;
    border-radius: 100px;
    padding: 10px 16px;
    margin-bottom: 14px;
    margin-top: 20px;
}

/* Generic content area inside a filter block */
.thermo-filter-content {
    padding: 0 4px;
}

/* =====================
   Price Block
   ===================== */
.thermo-filter-block--price {
    /* block-level overrides if needed */
}

/*
 * Inner container that wraps the slider track + price inputs.
 * Use this for padding/spacing tweaks independent of the title.
 */
.thermo-price-body {
    padding: 8px 12px 12px;
}

/* Price slider horizontal padding */
.thermo-price-slider {
    padding-left: 20px;
    padding-right: 20px;
}

/* Slider track */
.thermo-slider-track {
    position: relative;
    height: 7px;
    background: #E5E5E5;
    border-radius: 2px;
    margin: 12px 8px;
}

/* Filled range between the two thumbs */
.thermo-slider-fill {
    position: absolute;
    height: 100%;
    background: var(--thermo-teal);
    border-radius: 2px;
}

/* Thumb handles */
.thermo-thumb-min,
.thermo-thumb-max {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    background: #fff;
    border: 4px solid var(--thermo-teal);
    border-radius: 50%;
    cursor: grab;
    z-index: 2;
    transition: box-shadow 0.15s;
}

.thermo-thumb-min:active,
.thermo-thumb-max:active {
    cursor: grabbing;
    box-shadow: 0 0 0 4px rgba(var(--thermo-teal-rgb), 0.2);
}

/* Price input row */
.thermo-price-inputs {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 30px 20px;
}

/* Single input pill */
.thermo-price-input-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 6px 10px;
    flex: 1;
}

.thermo-currency {
    font-size: 12px;
    color: #6e6e73;
    flex-shrink: 0;
}

.thermo-price-input-wrap input {
    border: none;
    outline: none;
    font-size: 13px;
    font-family: 'ThermoFont', sans-serif;
    color: var(--thermo-dark);
    font-weight: 500;
    width: 100%;
    background: transparent;
}

/* =====================
   Color Block
   ===================== */

/* Top divider separating Color from the Price block above */
.thermo-filter-block--color {
    border-top: 1px solid #F2F2F2;
    padding-top: 10px;
}

/* Dot + label pill grid */
.thermo-color-dots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
}

.thermo-color-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 15px;
    border-radius: 100px;
    border: 1.5px solid #E6E6E6;
    background: #E6E6E6;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 12px;
    font-weight: 500;
    color: var(--thermo-near-black);
    font-family: 'ThermoFont', sans-serif;
}

.thermo-color-dot:hover {
    border-color: var(--thermo-gray-light);
}

.thermo-color-dot.is-active {
    border-color: var(--thermo-dark);
    background: #f0f2f4;
}

/* Colored circle inside the pill */
.thermo-color-dot-circle {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.08);
}

/* =====================
   Brand Block
   ===================== */

/* Top divider separating Brand from Color block above */
.thermo-filter-block--brand {
    border-top: 1px solid #F2F2F2;
    padding-top: 10px;
}

/*
 * Column layout so each pill sits on its own row,
 * but align-items: flex-start keeps width at fit-content —
 * pills don't stretch to fill the container.
 */
.thermo-brand-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

/*
 * Brand pill — inline-flex so width hugs the content.
 * .thermo-cb-box (checkbox) sits on the left, brand name on the right.
 */
.thermo-brand-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--thermo-dark);
    cursor: pointer;
    border-radius: 100px;
    border: 1.5px solid #E5E5E5;
    background: #fff;
    transition: all 0.15s;
}

.thermo-brand-label:hover {
    border-color: var(--thermo-gray-light);
}

.thermo-brand-label.is-checked {
    border-color: var(--thermo-dark);
    background: #f0f2f4;
}

/* Checked state — fill the checkbox box when label has .is-checked */
.thermo-brand-label.is-checked .thermo-cb-box {
    background: var(--thermo-dark);
    border-color: var(--thermo-dark);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath d='M1.5 5l2.5 2.5 4.5-4.5' stroke='white' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Brand "show more" collapse */
.thermo-brand-extra {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.25s ease, padding 0.4s ease;
}

.thermo-brand-extra.is-open {
    opacity: 1;
    padding-bottom: 4px;
}

.thermo-brand-show-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--thermo-teal, #2F9B8B);
    cursor: pointer;
    transition: opacity 0.15s;
}

.thermo-brand-show-more:hover {
    opacity: 0.75;
}

/* =====================
   Archive Page Layout
   ===================== */
.thermo-archive-page {
    --thermo-sidebar-width: 300px;
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    position: relative;
    border: 1px solid #E6E6E6;
    border-top: none;
    box-sizing: border-box;
    overflow-x: clip;
}

/*
 * Vertical divider — spans full height of the page content.
 * Positioned on .thermo-archive-page so it covers both
 * the header row and the content grid below.
 * left: 300px matches the sidebar column width.
 */
.thermo-archive-page::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--thermo-sidebar-width);
    width: 1px;
    background: #F2F2F2;
    pointer-events: none;
    z-index: 0;
}

/* =====================
   Header Row
   ===================== */
.thermo-archive-header-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #F2F2F2;
    position: relative;
    z-index: 1;
}

.thermo-archive-cat-header {
    width: var(--thermo-sidebar-width);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/*
 * Inline SVG icon — fixed size, no stretching.
 * Color is controlled via path/shape fill rules below.
 */
.thermo-archive-cat-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

/* Teal fill for all SVG shapes inside the inline icon */
.thermo-archive-cat-icon path,
.thermo-archive-cat-icon rect,
.thermo-archive-cat-icon circle,
.thermo-archive-cat-icon polygon,
.thermo-archive-cat-icon polyline,
.thermo-archive-cat-icon line,
.thermo-archive-cat-icon ellipse {
    fill: var(--thermo-teal) !important;
    stroke: none !important;
}

/* If icon uses stroke instead of fill (outline-style SVGs) */
.thermo-archive-cat-icon path[stroke],
.thermo-archive-cat-icon circle[stroke],
.thermo-archive-cat-icon rect[stroke],
.thermo-archive-cat-icon line[stroke],
.thermo-archive-cat-icon polyline[stroke],
.thermo-archive-cat-icon ellipse[stroke] {
    stroke: var(--thermo-teal) !important;
    fill: none !important;
}

/* Category name — dark color next to the icon */
.thermo-archive-cat-name {
    font-family: 'ThermoFont', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: var(--thermo-dark);
}

.thermo-archive-topbar {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 30px 20px 30px;
    gap: 16px;
}

@media ( min-width: 1025px ) {
.thermo-archive-topbar {
	flex-wrap:nowrap !important;
	}}
	
	
	
	
	
	
	
	
	
	

/* Breadcrumb — "Home › Category › Subcategory" */
.thermo-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-family: 'ThermoFont', sans-serif;
    font-size: 13px;
    color: var(--thermo-dark);
}

.thermo-breadcrumb a {
    color: var(--thermo-dark);
    text-decoration: none;
}

.thermo-breadcrumb a:hover {
    color: var(--thermo-teal);
}

.thermo-bc-sep {
    opacity: 0.5;
}

.thermo-bc-current {
    font-weight: 600;
}

.thermo-topbar-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    flex-shrink: 0;
}

.thermo-result-count {
    font-family: 'ThermoFont', sans-serif;
    font-size: 14px;
    color: var(--thermo-dark);
}

.thermo-result-count strong {
    color: var(--thermo-dark) !important;
    font-weight: 400;
}

.thermo-result-count p {
    font-family: 'ThermoFont', sans-serif;
    font-size: 14px;
    color: var(--thermo-dark) !important;
    margin: 0;
}

/* =====================
   Content Grid
   ===================== */
.thermo-archive-grid {
    display: grid;
    grid-template-columns: var(--thermo-sidebar-width) minmax(0, 1fr);
    column-gap: 0;
    row-gap: 0;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left column — sidebar */
.thermo-archive-left {
    display: flex;
    flex-direction: column;
}

.thermo-archive-filter {
    position: sticky;
    top: 100px;
    padding-top: 24px;
}

/* Right column — products */
.thermo-archive-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
    width: 100%;
    padding: 30px;
    box-sizing: border-box;
}

/* =====================
   No Results Block
   Shown both when category is empty and when filters return nothing.
   ===================== */
.thermo-no-results {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    padding: 60px 20px;
    font-family: 'ThermoFont', sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: var(--thermo-dark);
    text-align: center;
}

/* =====================
   Sort Buttons
   ===================== */
.thermo-sort-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.thermo-filter-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 38px;
    padding: 8px 14px;
    border: 1px solid #E5E5E5;
    border-radius: 100px;
    background: #fff;
    font-family: 'ThermoFont', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--thermo-dark);
    cursor: pointer;
    transition: border-color .15s, background .15s, color .15s;
}

.thermo-filter-toggle:hover,
.thermo-filter-toggle[aria-expanded="true"] {
    background: var(--thermo-dark);
    border-color: var(--thermo-dark);
    color: #fff;
}

.thermo-filter-toggle svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.thermo-filter-backdrop {
    display: none;
}

.thermo-sort-label {
    font-family: 'ThermoFont', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--thermo-dark);
    margin-right: 4px;
}

.thermo-sort-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid #E5E5E5;
    border-radius: 100px;
    background: #fff;
    font-family: 'ThermoFont', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--thermo-dark);
    cursor: pointer;
    transition: all 0.15s;
}

.thermo-sort-btn:hover {
    background: var(--thermo-dark);
    border-color: var(--thermo-dark);
    color: #fff;
}

.thermo-sort-btn.is-active {
    background: var(--thermo-dark);
    border-color: var(--thermo-dark);
    color: #fff;
}

/* Sort direction icon */
.thermo-sort-icon {
    display: block;
    width: 6px;
    height: 6px;
    flex-shrink: 0;
    transition: transform 0.2s ease, filter 0.15s ease;
}

/* Flip icon upward for ASC */
.thermo-sort-icon.is-asc {
    transform: rotate(180deg);
}

.thermo-sort-btn:hover .thermo-sort-icon,
.thermo-sort-btn.is-active .thermo-sort-icon {
    filter: brightness(0) invert(1);
}

.thermo-sort-btn:not(.is-active):not(:hover) .thermo-sort-icon {
    filter: none;
}

/* Products area */
.thermo-archive-products {
    width: 100%;
    min-height: 300px;
}

/* =====================
   Pagination
   Astra overrides via high-specificity selectors + !important
   ===================== */
.thermo-archive-pagination {
    margin-top: 40px;
}

/* Reset Astra's ul wrapper */
.thermo-archive-pagination .woocommerce-pagination ul,
.thermo-archive-pagination nav.woocommerce-pagination ul,
.thermo-archive-pagination .ast-pagination-wrap ul {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    justify-content: flex-end !important;
    flex-wrap: wrap !important;
    border: none !important;
    background: none !important;
}

/* Reset li — gap via margin-right so no phantom space at edges */
.thermo-archive-pagination .woocommerce-pagination ul li,
.thermo-archive-pagination nav.woocommerce-pagination ul li,
.thermo-archive-pagination .ast-pagination-wrap ul li {
    margin: 0 6px 0 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    list-style: none !important;
}

.thermo-archive-pagination .woocommerce-pagination ul li:last-child,
.thermo-archive-pagination nav.woocommerce-pagination ul li:last-child,
.thermo-archive-pagination .ast-pagination-wrap ul li:last-child {
    margin-right: 0 !important;
}

/*
 * Base pill styles for every page item.
 * High specificity to override both WooCommerce and Astra defaults.
 */
.thermo-archive-pagination .woocommerce-pagination ul li a,
.thermo-archive-pagination .woocommerce-pagination ul li span,
.thermo-archive-pagination nav.woocommerce-pagination ul li a,
.thermo-archive-pagination nav.woocommerce-pagination ul li span,
.thermo-archive-pagination .ast-pagination-wrap ul li a,
.thermo-archive-pagination .ast-pagination-wrap ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px !important;
    border-radius: 8px !important;
    border: 1px solid #E5E5E5 !important;
    font-family: 'ThermoFont', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--thermo-dark) !important;
    text-decoration: none !important;
    background: #fff !important;
    transition: all 0.15s !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Hover */
.thermo-archive-pagination .woocommerce-pagination ul li a:hover,
.thermo-archive-pagination nav.woocommerce-pagination ul li a:hover,
.thermo-archive-pagination .ast-pagination-wrap ul li a:hover {
    border-color: var(--thermo-dark) !important;
    background: #f5f5f5 !important;
    color: var(--thermo-dark) !important;
}

/* Active / current page */
.thermo-archive-pagination .woocommerce-pagination ul li span.current,
.thermo-archive-pagination nav.woocommerce-pagination ul li span.current,
.thermo-archive-pagination .ast-pagination-wrap ul li span.current {
    background: var(--thermo-dark) !important;
    border-color: var(--thermo-dark) !important;
    color: #fff !important;
    font-weight: 700 !important;
}

/* Prev / Next — wider pill */
.thermo-archive-pagination .woocommerce-pagination ul li a.prev,
.thermo-archive-pagination .woocommerce-pagination ul li a.next,
.thermo-archive-pagination nav.woocommerce-pagination ul li a.prev,
.thermo-archive-pagination nav.woocommerce-pagination ul li a.next {
    padding: 10px !important;
}

/* =====================
   Responsive
   ===================== */
@media ( max-width: 1280px ) {
    .thermo-archive-page {
        max-width: 1180px;
    }

    .thermo-archive-right {
        padding: 24px;
    }
}

@media ( max-width: 1100px ) and ( min-width: 1025px ) {
    .thermo-archive-page {
        --thermo-sidebar-width: 260px;
    }

    .thermo-archive-topbar {
        padding: 12px 20px 18px;
    }

    .thermo-archive-right {
        padding: 18px;
    }

    .thermo-archive-filter {
        padding-top: 18px;
    }
}

@media ( max-width: 1024px ) {
    .thermo-archive-page {
        width: calc(100vw - 24px);
        border-left: none;
        border-right: none;
        overflow-x: visible;
    }

    .thermo-archive-page::before {
        display: none;
    }

    .thermo-archive-header-row {
        flex-direction: column;
    }

    .thermo-archive-cat-header {
        width: 100%;
        min-height: 72px;
        padding: 0 16px;
        justify-content: flex-start;
        border-bottom: 1px solid #F2F2F2;
        box-sizing: border-box;
		padding: 10px;
    }

    .thermo-archive-topbar {
        align-items: center;
        justify-content: space-between;
        padding: 14px 16px;
    }

    .thermo-topbar-right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .thermo-filter-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .thermo-result-count {
        white-space: nowrap;
    }

    .thermo-sort-wrap {
        justify-content: flex-end;
    }

    .thermo-archive-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .thermo-archive-left {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: min(360px, calc(100vw - 44px));
        max-width: 100%;
        background: #fff;
        z-index: 99991;
        transform: translateX(-105%);
        transition: transform .28s cubic-bezier(.4,0,.2,1);
        box-shadow: 14px 0 40px rgba(var(--thermo-dark-rgb), .14);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0px;
        box-sizing: border-box;
    }

    .thermo-archive-page.filter-open .thermo-archive-left {
        transform: translateX(0);
    }

    .thermo-archive-filter {
        position: static;
        padding-top: 0;
    }

    .thermo-filter-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(var(--thermo-dark-rgb), .36);
        z-index: 99990;
    }

    .thermo-archive-page.filter-open .thermo-filter-backdrop {
        display: block;
    }

    body.thermo-filter-lock {
        overflow: hidden;
    }

    .thermo-archive-right {
        padding: 22px 16px 28px;
    }
}

@media ( max-width: 900px ) {

    /* Hide vertical divider on mobile */
    .thermo-archive-page::before {
        display: none;
    }

    /* Stack header row vertically */
    .thermo-archive-header-row {
        flex-direction: column;
    }

    .thermo-archive-cat-header {
        width: 100%;
    }

    .thermo-archive-topbar {
        border-bottom: 1px solid #F2F2F2;
    }

    /* Single column grid */
    .thermo-archive-grid {
        grid-template-columns: 1fr;
    }

    .thermo-archive-left {
        padding-right: 0;
    }

    .thermo-archive-right {
        padding-top: 22px;
    }

    .thermo-archive-filter {
        position: static;
    }

    /* Pagination centers on mobile */
    .thermo-archive-pagination .woocommerce-pagination ul,
    .thermo-archive-pagination nav.woocommerce-pagination ul,
    .thermo-archive-pagination .ast-pagination-wrap ul {
        justify-content: center !important;
    }
}

@media ( max-width: 640px ) {
    .thermo-archive-page {
        width: 100%;
    }

    .thermo-archive-topbar {
        padding: 12px;
    }

    .thermo-topbar-right {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .thermo-result-count {
        width: 100%;
        white-space: normal;
        font-size: 13px;
    }

    .thermo-sort-wrap {
        width: 100%;
        justify-content: flex-start;
    }

    .thermo-sort-label {
        width: 100%;
        margin-right: 0;
    }

    .thermo-sort-btn,
    .thermo-filter-toggle {
        min-height: 36px;
        padding: 8px 12px;
    }

    .thermo-archive-right {
        padding: 18px 12px 24px;
    }
}



/* Product grid fade-in on load and after AJAX */
@keyframes thermo-fade-up {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.products li.product {
    animation: thermo-fade-up 0.35s ease both;
}

/* Stagger delay for each card */
.products li.product:nth-child(1)  { animation-delay: 0.03s; }
.products li.product:nth-child(2)  { animation-delay: 0.07s; }
.products li.product:nth-child(3)  { animation-delay: 0.11s; }
.products li.product:nth-child(4)  { animation-delay: 0.15s; }
.products li.product:nth-child(5)  { animation-delay: 0.19s; }
.products li.product:nth-child(6)  { animation-delay: 0.23s; }
.products li.product:nth-child(7)  { animation-delay: 0.27s; }
.products li.product:nth-child(8)  { animation-delay: 0.31s; }
.products li.product:nth-child(9)  { animation-delay: 0.35s; }
.products li.product:nth-child(10) { animation-delay: 0.39s; }
.products li.product:nth-child(11) { animation-delay: 0.43s; }
.products li.product:nth-child(12) { animation-delay: 0.47s; }




.thermo-grid-banner {
    width: 100%;
    margin: 20px 0;
}

.thermo-grid-banner > * {
    width: 100% !important;
}