#seasonal-products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
}
.seasonal-product-item {
    position: relative;
    padding: 15px;
    background-image: url(/wp-content/uploads/2025/06/Rectangle-25.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;
    background-color: transparent !important;
    position: relative;
}

.seasonal-product-item .product-element-top.wd-quick-shop {
    background-color: transparent;
    background-image: url(/wp-content/uploads/2025/08/bg-product-item.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    min-height: 293px;
    position: relative;
}

.seasonal-product-item .product-element-top.wd-quick-shop img {
    max-height: 293px;
    object-fit: contain;
}

.seasonal-product-item h3 {
    margin-bottom: 10px;
    margin-top: 14px;
}

.seasonal-product-item h3 a {
    color: #000;
    font-family: 'GT Walsheim Condensed Black Trial';
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 20px;
    text-transform: uppercase;
    display: block;
}

.seasonal-product-item span.onsale.product-label {
    display: none;
}

.filter-group h4 { font-weight: bold; }
.seasonal-pagination a {
    margin: 0 5px;
    padding: 5px 10px;
    border: 1px solid #000;
    text-decoration: none;
}

/* Category Filter Bar */

.seasonal-category-filters .filter-btn {
    background: #F1EEE3;
    border: none;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    text-transform: uppercase;
    backdrop-filter: blur(2px);
}

.seasonal-category-filters .filter-btn:hover {
    background: #e6e4dd;
}

.seasonal-category-filters .filter-btn.active {
    background: #000;
    color: #fff;
}

/* ===============================
   Toolbar
   =============================== */
.seasonal-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 44px;
}

/* Category filter bar */
.seasonal-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.seasonal-category-filters .filter-btn:hover {
    background: #e6e4dd;
}

.seasonal-category-filters .filter-btn.active {
    background: #000;
    color: #fff;
}

/* Search box */
.seasonal-products-search {
    position: relative;
}

#seasonal-search {
    padding: 8px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
    border-radius: 3px;
    min-width: 220px;
    background: #fff;
}

/* More Filters button */
#open-filters {
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: #000;
    font-family: "Azeret Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    text-transform: uppercase;
}

#open-filters:hover {
    background: #f2f2f2;
}

/* Sort dropdown */
.seasonal-sort select {
    padding: 6px 10px;
    border: 1px solid #ccc;
    font-size: 13px;
    border-radius: 3px;
}

/* ===============================
   Filters Panel (slide in from right)
   =============================== */
#filters-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 478px;
    height: 100%;
    background: url(/wp-content/uploads/2025/09/bg-filter.png) no-repeat center;
    overflow-y: auto;
    transition: right 0.4s ease-in-out;
    z-index: 9999;
    padding: 24px 18px 74px 30px;
    background-position: 100% 100%;
    background-size: cover;
}

#filters-panel.active {
    right: 0;
}

/* Overlay background */
#filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9998;
}

#filters-overlay.active {
    display: block;
}

/* Panel Header */
#filters-panel h3 {
    display: flex
;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #000;
    font-family: 'GT Walsheim Condensed Black Trial';
    font-size: 24px;
    font-style: normal;
    font-weight: 800;
    line-height: 22px;
    text-transform: uppercase;
}

#close-filters {
    cursor: pointer;
    transition: background 0.2s ease;
    font-size: 0;
    background: transparent;
    width: 32px;
    height: 32px;
}

/* Filter groups */
.filter-group {
    margin-bottom: 0px;
    border: 1px solid rgba(212, 212, 212, 0.34);
    height: 174px;
    padding: 11px 28px 17px 18px;
    overflow-y: auto;
}

/* Chrome/Edge/Safari (WebKit) */
.filter-group::-webkit-scrollbar {
    width: 10px;
}
.filter-group::-webkit-scrollbar-track {
    background: #eee;
    border-radius: 999px;
}
.filter-group::-webkit-scrollbar-thumb {
    background: #68C300;
    border-radius: 999px;
    min-height: 30px;
}
.filter-group::-webkit-scrollbar-thumb:hover {
    filter: brightness(0.95);
}

.filter-group h4 {
    color: #000;
    font-family: "Azeret Mono", sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 26px;
    text-transform: uppercase;
    margin-bottom: 0;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    cursor: pointer;
    color: #000;
    font-family: "Azeret Mono", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    text-transform: uppercase;
}

button#apply-filters {
    background: #ffb700;
}

div#filters-panel .btn-primary {
    margin-top: 20px;
}

/* Product card */
.seasonal-product-card {
    border: 1px solid #eee;
    padding: 12px;
    text-align: center;
    transition: box-shadow 0.2s ease;
    background: #fff;
    border-radius: 6px;
}

.seasonal-product-card:hover {
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.seasonal-product-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.seasonal-product-card h4 {
    font-size: 14px;
    font-weight: bold;
    margin: 8px 0;
}

.seasonal-product-card .price {
    font-size: 13px;
    margin-bottom: 10px;
}

.seasonal-product-card .add-to-cart {
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    border-radius: 3px;
}

.seasonal-product-card .add-to-cart:hover {
    background: #333;
}

/* ===============================
   Pagination
   =============================== */
.seasonal-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.seasonal-pagination a {
    text-decoration: none;
    padding: 0px;
    transition: color 0.2s;
    border: 0;
    color: rgba(0, 0, 0, 0.20);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
}

.seasonal-pagination a.active {
    color: #000;
    font-weight: 700;
}

.seasonal-page-link.active:before {
    content: '';
    display: block;
    width: 35px;
    height: 9px;
    background-image: url(/wp-content/uploads/2025/07/Vector-line.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
}

.seasonal-pagination a:hover {
    color: #000;
}

.seasonal-pagination .prev-page,
.seasonal-pagination .next-page {
    display: flex;
    align-items: center;
}

.seasonal-pagination .dots {
    font-size: 16px;
    color: #999;
    padding: 0 6px;
}

.seasonal-products-header h2 {
    color: #000;
    font-family: 'GT Walsheim Condensed Black Trial';
    font-size: 40px;
    font-style: normal;
    font-weight: 800;
    line-height: 40px;
    text-transform: uppercase;
    max-width: 376px;
    margin: 0;
}

.seasonal-products-search input {
    width: 287px;
    height: 55px;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #ffffff;
    font-family: 'Azeret Mono';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.seasonal-products-search {
    position: relative;
    display: inline-flex;
}

.seasonal-products-search svg {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.seasonal-products-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

select#sort-by {
    background: transparent;
    padding: 6px 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    border-radius: 2px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    color: #000;
    font-family: "Azeret Mono";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    text-transform: uppercase;
}

.group-filter {
    display: flex;
    gap: 20px;
}

/* Product badges */
.product-flags {
    position: absolute;
    top: 25px;
    left: 25px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 5;
}

.product-badge {
    text-transform: uppercase;
    color: #000;
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 26px;
    display: inline-flex;
    transform: rotate(-2deg);
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-family: 'GT Walsheim Condensed Black Trial';
    letter-spacing: -0.5px;
}

/* Badge colors */
.badge-new {
    background: #68C300; /* green */
}
.badge-soon {
    background: #90C9F6; /* blue */
}
.badge-sale {
    background: #FF7B47;
    display: inline-flex;
    height: 73px;
    width: 73px;
    padding: 4px 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    border-radius: 100px;
}
.badge-stock {
    background: #AC6DFF; /* purple */
}

/* Make sure product card is relative */
.seasonal-product-card {
    position: relative;
}

.seasonal-product-item a.add_to_cart_button {
    display: flex;
    width: 74px;
    height: 30px;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background: #000000;
    gap: 10px;
    color: #ffffff;
    font-family: 'GT Walsheim Condensed Black Trial';
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    line-height: 26px;
    text-transform: uppercase;
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: transparent !important;
    background-image: url(/wp-content/uploads/2025/08/bg-btn-add-to-cart.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.seasonal-product-item span.price .amount {
    color: #2B4211;
    font-family: "Azeret Mono", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    transform: rotate(1deg);
}

/*
* Build a box
*/

.seasonal-build-box {
    position: relative;
}

.seasonal-build-box h3.babox-title {
    color: #fff;
    text-align: center;
    font-family: 'GT Walsheim Condensed Black Trial';
    font-size: 150px;
    font-style: normal;
    font-weight: 800;
    line-height: 140px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(3.02deg);
    width: 100%;
    margin: 0;
}

#seasonal-products-grid .seasonal-build-box {
    grid-column: 1 / 3;
    grid-row: 3 / 5;
}

.seasonal-build-box .babox-btn a {
    color: #ffffff;
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: block;
}

.seasonal-build-box .babox-btn {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
}

.seasonal-build-box .babox-btn a:before {
    content: '';
    position: absolute;
    background: url(/wp-content/uploads/2025/09/Line-1.svg) no-repeat center;
    height: 15px;
    bottom: -19px;
    left: 0;
    width: 100%;
}

.seasonal-build-box .babox-card {
    width: 100%;
    height: 100%;
}

.seasonal-build-box img.babox-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.babox-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 56.81%, rgba(0, 0, 0, 0.5) 100%);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.filters-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.10);
    backdrop-filter: blur(20px);
    opacity: 0;
    z-index: -1;
    transition:
            opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),
            z-index 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s,
            top 0s cubic-bezier(0.19, 1, 0.22, 1) 0.5s;
}

/* when active */
.filters-overlay.active {
    opacity: 1;
    z-index: 999; /* below filters-panel but above page */
    transition:
            opacity 0.5s cubic-bezier(0.19, 1, 0.22, 1),
            z-index 0s,
            top 0s;
}

.filter-group label span {
    position: relative;
    padding-left: 30px;
}

.filter-group label span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 20px;
    height: 20px;
    background: url(../images/Check-Box.png) no-repeat center center;
    background-size: cover;
}

.filter-group label input:checked + span::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 12.258px;
    height: 12px;
    background: url(../images/icon-check.svg) no-repeat center center;
    background-size: contain;
}

.filter-group label input:checked + span::before {
    background-image: url(../images/Check-Box-active.png);
}

.filter-group label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.seasonal-product-item a.add_to_cart_button.loading:after {
    content: '';
    --wd-anim-state: running;
    position: absolute;
    top: calc(50% - 9px);
    inset-inline-start: calc(50% - 9px);
    opacity: 1;
    transition: opacity .2s ease;
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 0, 0, 0);
    border-left-color: currentColor;
    border-radius: 50%;
    vertical-align: middle;
    animation: wd-rotate 450ms infinite linear var(--wd-anim-state, paused);
}

.seasonal-product-item a.add_to_cart_button.loading span.btn-text,
.seasonal-product-item a.add_to_cart_button.loading span.btn-icon {
    opacity: 0;
}

.seasonal-product-item a.added_to_cart.wc-forward {
    display: none;
}

.custom-sort {
    position: relative;
    font-family: "Courier New", monospace;
    font-size: 14px;
    font-weight: 600;
    width: 200px;
}

.sort-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 0px;
    border: 1px solid rgba(0, 0, 0, 0.10);
    background: #F9F7EE;
}

.toggle-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.custom-sort.active .toggle-arrow {
    transform: rotate(180deg);
}

/* Sort options dropdown */
.sort-options {
    display: none;
    position: absolute;
    top: 96%;
    left: 0;
    z-index: 1000;
    border: 1px solid rgba(0, 0, 0, 0.10);
    width: 100%;
    flex-direction: column;
    padding: 8px 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.08);
    background: #F9F7EE;
    border-top: 0;
}

.custom-sort.active .sort-options {
    display: flex;
    gap: 10px;
}

.sort-options label {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    text-transform: capitalize;
    color: #000;
    font-family: "Azeret Mono", sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
    margin-bottom: 0px;
}

.sort-options label:last-child {
    margin-bottom: 0;
}

/* Hide default radio */
.sort-options input[type="radio"] {
    display: none;
}

/* Custom radio box */
.sort-options label span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0px;
    width: 20px;
    height: 20px;
    background: url('../images/Check-Box.png') no-repeat center center;
    background-size: cover;
}

/* Checkmark */
.sort-options input[type="radio"]:checked + span::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: url('../images/icon-check.svg') no-repeat center center;
    background-size: contain;
}

/* Active box */
.sort-options input[type="radio"]:checked + span::before {
    background-image: url('../images/Check-Box-active.png');
}

#seasonal-products-grid {
    position: relative;
    transition: opacity 0.3s ease;
}

#seasonal-products-grid.is-loading {
    opacity: 0.5;
    pointer-events: none;
}

#seasonal-products-grid.is-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #ccc;
    border-top: 4px solid #FFD000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 5;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 1367px) {
    .seasonal-build-box h3.babox-title {
        font-size: 100px;
        line-height: 1.2;
    }
}

@media (max-width: 1200px) {
    #seasonal-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    #seasonal-products-grid .seasonal-build-box {
        grid-column: 1 / 3;
        grid-row: 3 / 4;
    }
}

@media (max-width: 1024px) {
    #seasonal-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    #seasonal-products-grid .seasonal-build-box {
        grid-column: 1 / 2;
    }

    .seasonal-build-box h3.babox-title {
        font-size: 60px;
        line-height: 1.2;
    }
}

@media (max-width: 767px) {
    .seasonal-category-filters {
        display: none;
    }

    #seasonal-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #seasonal-products-grid .seasonal-build-box {
        display: none;
    }

    .seasonal-products-header h2 {
        font-size: 20px;
        line-height: 1.2;
    }

    #seasonal-search {
        min-width: 169px;
    }

    .custom-sort {
        width: 160px;
    }

    .seasonal-toolbar {
        justify-content: center;
        margin-bottom: 18px;
    }
    .seasonal-products-header {
        margin-bottom: 18px;
    }

    .seasonal-product-item .product-element-top.wd-quick-shop {
        min-height: 161px;
    }

    .seasonal-product-item h3 a {
        font-size: 14px;
        line-height: 20px;
    }

    .product-badge {
        font-size: 12px;
    }

    .seasonal-pagination {
        margin-top: 20px;
        margin-bottom: 20px;
    }

}

@media (max-width: 500px) {
    #filters-panel {
        width: 100%;
        background-position: left center;
    }
}