.woolayouts-add-to-cart-variation-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    transition: opacity 0.18s;
    opacity: 0;
}

.woolayouts-add-to-cart-variation-popup.variation_popup_active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.woolayouts-add-to-cart-variation-popup-content {
    background: #f1f0f5;
    padding: 25px 15px 15px 15px;
    border-radius: 12px;
    position: relative;
    width: 80%;
    max-width: 400px;
    max-height: 80vh;
    box-shadow: 0 8px 40px rgba(0,0,0,0.13);
}

.woolayouts-product-variation-quantity-controls {
    display: flex;
    align-items: center;
    background: #f1f0f5;
    border-radius: 8px;
    padding: 3px 5px;
    gap: 3px;
}
.woolayouts-product-variation-quantity-controls button {
    background: #fff;
    border: 1px solid #e0e1e5;
    border-radius: 5px;
    color: #12b76a;
    font-size: 12px;
    min-height: 25px;
    padding: 2px 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.13s;
}
.woolayouts-product-variation-quantity-controls button:active {
    background: #ececec;
}
.oolayouts-product-variation-quantity-value {
    font-size: 1rem;
    font-weight: 500;
    color: #262626;
    min-width: 20px;
    text-align: center;
    display: inline-block;
}

.woolayouts-add-to-cart-variation-popup-close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 1.7rem;
    color: #999;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

@media (max-width: 768px) {

    .woolayouts-add-to-cart-variation-popup-content {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        min-width: 100%;
        border-radius: 24px 24px 0 0;
        transform: translateY(100%);
        transition: transform 0.33s cubic-bezier(.47,1.64,.41,.8);
        will-change: transform;
    }
    
    .variation_popup_active .woolayouts-add-to-cart-variation-popup-content {
        transform: translateY(0);
    }
    
    .woolayouts-add-to-cart-variation-popup-close-btn {
        position: absolute;
        top: -45px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.woolayout-child-category-thumbnails {
    display: grid;
    grid-template-columns: repeat(var(--columns, 2), minmax(0, 1fr));
}

.woolayout-category-block {
    text-align: center;
}

.woolayout-products {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woolayout-grid-layout {
    display: grid;
}

.woolayout-grid-layout {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
}

.woolayout-list-layout {
    display: flex;
    flex-direction: column;
}

.woolayout-list-layout .woolayout-product-content {
    flex-direction: row;
}

.woolayout-list-layout .woolayouts-product-top-content {
    flex: 0 0 150px;
}

.woolayout-list-layout .woolayout-product-bottom-content {
    flex: 1;
}

.woolayout-product-categories-grid-layout {
    display: grid;
}

.woolayout-product-categories-grid-layout {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
}

.woolayout-product-category-thumbnail-container {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s cubic-bezier(0, 0, 0.44, 1.18);
}

.woolayout-product-category-thumbnail-container:hover {
    transform: scale(1.05);
}

.woolayout-images-gallery-grid-layout {
    display: grid;
}

.woolayout-images-gallery-grid-layout {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
}

.woolayout-information-box-grid-layout {
    display: grid;
}

.woolayout-information-box-grid-layout {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
}

.woolayout-information-box-image-text,
.woolayout-information-box-subtitle {
    display: inline-block;
}

.woolayout-information-box-description>*:last-child {
    margin-bottom: 0;
}

.woolayout-archive-products {
    display: grid;
    gap: var(--gap-between, 20px);
    padding: 0;
    list-style: none;
    margin: 0;
}

.woolayout-archive-grid-layout {
    grid-template-columns: repeat(var(--columns, 4), minmax(0, 1fr));
}

.woolayout-archive-list-layout {
    display: flex;
    flex-direction: column;
    gap: var(--gap-between, 20px);
}

.woolayout-archive-list-layout .woolayout-product-content {
    flex-direction: row;
}

.woolayout-archive-list-layout .woolayouts-product-top-content {
    flex: 0 0 150px;
}

.woolayout-archive-list-layout .woolayout-product-bottom-content {
    flex: 1;
}

.woolayout-archive-pagination {
    text-align: center;
}

.woolayout-archive-pagination .woolayout-archive-load-more {
    padding: 10px 20px;
    margin: 20px auto;
    background: #0073aa;
    color: white;
    border: none;
    cursor: pointer;
}

.woolayouts-upsell-products-container {
    width: 100%;
    grid-column: 1 / -1;
    background-color: #ffeee5;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.3s ease;
    box-sizing: border-box;
}

.woolayouts-upsell-products-container.show {
    opacity: 1;
    transform: translateY(0);
}

.woolayout-archive-products > .woolayouts-upsell-products-container {
    display: block;
    width: 100%;
}

.woolayouts-upsell-products-list {
    padding: 0;
    margin: 0;
    display: flex;
    list-style: none;
    position: relative;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
    width: 100%;
}

.woolayouts-upsell-products-list::-webkit-scrollbar {
    display: none;
}

.woolayouts-upsell-products-list {
    scrollbar-width: none;
}

.woolayouts-upsell-products-list .woolayouts-upsell-product:last-child {
    margin-right: 15px;
}

.woolayouts-upsell-product {
    max-width: 96px;
    margin: 12px 10px;
    flex-shrink: 0;
    position: relative;
}

.woolayouts-upsell-product-top-content {
    max-height: 94px;
    max-width: 94px;
    border-radius: 8px;
    border: 1px solid #f2f3f3;
    overflow: hidden;
    position: relative;
    margin-bottom: 8px;
}

.woolayouts-upsell-product-sale-badge-container {
    position: absolute;
    top: -2px;
    left: -2px;
    width: 35px;
    height: 42px;
}

.woolayouts-upsell-product-sale-badge {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.woolayouts-upsell-product-sale-badge-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.woolayouts-upsell-product-sale-badge-percentage {
    position: relative;
    z-index: 1;
    line-height: normal;
    margin: 5px 0 1px;
}

.woolayouts-upsell-product-sale-badge-text {
    position: relative;
    z-index: 1;
    line-height: normal;
    margin: 0 0 8px;
}

.woolayout-upsell-product-image-wrapper img {
    height: 100%;
    width: 100%;
}

.woolayouts-upsell-products-container-title-close-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 15px 5px;
    color: #111;
}

.woolayouts-upsell-products-container-title-close-btn {
    font-size: 16px;
    font-weight: 600;
}

.woolayout-upsell-product-title {
    font-size: 13px;
    font-weight: bold;
    line-height: 17px;
    color: rgba(2, 6, 12, 0.75);
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    overflow-wrap: break-word;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: calc(28px);
    margin-bottom: 8px;
}

.woolayouts-upsell-product-weight {
    font-size: 13px;
    line-height: 13px;
    font-weight: bold;
    color: rgba(2, 6, 12, 0.6);
}

.woolayouts-upsell-product-sale-price, 
.woolayouts-upsell-product-regular-price-without-sale-price {
    color: rgba(2, 6, 12, 0.75);
    font-weight: bold;
    font-size: 13px;
}

.woolayouts-upsell-product-price-with-sale-price {
    font-size: 12px;
    color: #676a6d;
    font-weight: bold;
}

.woolayout-upsell-product-cart-actions-container {
    width: fit-content;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 5;
}

.woolayout-upsell-product-cart-actions-container .woolayouts-upsell-product-add-to-cart-btn {
    background-color: #fff;
    box-shadow: 0 3px 8px rgba(40,44,63,.08);
    border-radius: 8px;
    color: #1ba672;
    min-height: 32px;
    width: 32px;
    padding: 0;
    border: 1px solid rgba(2,6,12,.15);
}

.woolayouts-upsell-simple-product-quantity-controls,
.woolayouts-upsell-variable-product-quantity-controls {
    display: flex;
    box-shadow: 0 3px 8px rgba(40,44,63,.08);
    border: 1px solid rgba(2,6,12,.15);
    border-radius: 8px;
}

.woolayout-upsell-product-cart-actions .woolayouts-upsell-simple-product-decrease-quantity-button {
    background-color: #fff;
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    color: #1ba672;
    min-height: 32px;
    width: 32px;
    padding: 0;
}

.woolayouts-upsell-simple-product-quantity-value {
    width: 32px;
    height: 32px;
    color: #fff;
    background-color: #1ba672;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woolayout-upsell-product-cart-actions .woolayouts-upsell-simple-product-increase-quantity-button {
    background-color: #fff;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    color: #1ba672;
    min-height: 32px;
    width: 32px;
    padding: 0;
}

.woolayout-filter-category-tab-content ul li a,
.woolayout-more-category-tab-content ul li a {
    position: relative;
    color: rgba(2, 6, 12, 0.6);
    pointer-events: none;
}

.woolayout-filter-category-tab-content ul li.chosen a,
.woolayout-more-category-tab-content ul li.chosen a {
    color: rgba(2, 6, 12, 0.75);
    font-weight: 600;
}

.woolayout-filter-category-tab-content ul li a:before,
.woolayout-more-category-tab-content ul li a:before {
    content: "";
    display: inline-block;
    margin-inline-end: 8px;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    border: 2px solid var(--brdcolor-gray-300);
    vertical-align: middle;
    transition: all .2s ease;
    pointer-events: auto;
    border-radius: 4px;
}

.woolayout-filter-category-tab-content ul li a:after,
.woolayout-more-category-tab-content ul li a:after {
    position: absolute;
    top: calc(50% + 1px);
    transform: translateY(-50%);
    inset-inline-start: .2em;
    color: #fff;
    font-size: .7em;
    line-height: normal;
    opacity: 0;
    content: "\f107";
    font-family: "woodmart-font";
    pointer-events: none
}

.woolayout-filter-category-tab-content ul .chosen a:before,
.woolayout-more-category-tab-content ul .chosen a:before {
    background-color: rgb(255, 82, 0);
    border-color: rgb(255, 82, 0);
}

.woolayout-filter-category-tab-content ul .chosen a:after,
.woolayout-more-category-tab-content ul .chosen a:after {
    opacity: 1;
}


.woolayout-filter-category-tab-content ul .selected a,
.woolayout-more-category-tab-content ul .selected a{
    color: rgba(2, 6, 12, 0.75);
    font-weight: 600;
}

.woolayout-filter-category-tab-content ul .selected a:before,
.woolayout-more-category-tab-content ul .selected a:before {
    background-color: rgb(255, 82, 0);
    border-color: rgb(255, 82, 0);
}

.woolayout-filter-category-tab-content ul .selected a:after,
.woolayout-more-category-tab-content ul .selected a:after {
    opacity: 1;
}

.woolayout-short-popup,
.woolayout-filter-category-popup,
.woolayout-more-category-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 99999;
    transition: opacity 0.18s;
    opacity: 0;
}

.woolayout-short-popup.active,
.woolayout-filter-category-popup.active,
.woolayout-more-category-popup.active {
    display: block;
    opacity: 1;
}

.woolayout-short-popup-modal,
.woolayout-filter-category-modal,
.woolayout-more-category-modal {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    padding: 15px 15px 0;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.33s cubic-bezier(.47,1.64,.41,.8);
    will-change: transform;
}

.woolayout-filter-category-modal,
.woolayout-more-category-modal {
    height: 80%;
}

.woolayout-short-popup.active .woolayout-short-popup-modal,
.woolayout-filter-category-popup.active .woolayout-filter-category-modal,
.woolayout-more-category-popup.active .woolayout-more-category-modal{
    transform: translateY(0);
}

.woolayout-short-popup-close {
    position: absolute;
    right: 16px;
    top: 16px;
    height: 28px;
    width: 28px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 2px 6px;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50px;
}

.radio-container {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.radio-container input[type="radio"] {
    display: none;
}

.radio-container .checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 50%;
    margin-right: 10px;
    cursor: pointer;
}

.radio-container input[type="radio"]:checked + .checkmark {
    background-color: #28a745;
    border: none;
}

.radio-container input[type="radio"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.radio-container label {
    cursor: pointer;
    font-size: 16px;
}

.woolayout-page-title-count-image-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.woolayout-page-title-category-image-container {
    height: 35px;
    width: 35px;
    border-radius: 4px;
    background: rgb(240, 240, 245);
}

.woolayout-page-title {
    color: rgba(2, 6, 12, 0.75);
    font-weight: 600;
}

.woolayout-category-product-count {
    font-weight: 400;
    line-height: normal;
    font-size: 13px;
    color: rgba(2, 6, 12, 0.6);
}

.woolayout-back-button-container {
    width: 100%;
}

.woolayout-back-button {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    cursor: pointer;
}

.woolayout-back-icon i {
    cursor: pointer;
    font-size: 20px;
    color: #333;
}

.woolayout-filter-category-btn i {
    font-size: 12px;
    line-height: normal;
}

.woolayout-more-category-btn i {
    font-size: 16px;
    line-height: normal;
}

.woolayout-filter-category-header, .woolayout-more-category-header {
    display: flex;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
}

.woolayout-filter-category-modal-title {
    font-size: 16px;
    font-weight: bold;
    color: #212121;
}

.woolayout-filter-category-popup-close, .woolayout-more-category-popup-close {
    cursor: pointer;
    font-size: 20px;
    color: #212121;
    line-height: normal;
}

.woolayout-filter-category-tab, .woolayout-more-category-tab {
    cursor: pointer;
    font-weight: bold;
    color: rgba(2, 6, 12, 0.75);
    padding: 10px 15px;
}

.woolayout-filter-category-tab.active, .woolayout-more-category-tab.active {
    border-left: 4px solid rgb(255, 82, 0);
    color: rgb(255, 82, 0);
}

.woolayout-filter-category-tabs div, .woolayout-more-category-tab div {
    flex: 1;
    text-align: center;
    cursor: pointer;
    padding: 10px;
}

.woolayout-filter-category-tab.has-chosen::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: rgb(255, 82, 0);
    border-radius: 50%;
    margin-right: 8px;
    vertical-align: middle;
}

.woolayout-filter-category-tab-content, .woolayout-more-category-tab-content {
    display: none;
}

.woolayout-filter-category-tab-content.active,
.woolayout-more-category-tab-content.active {
    display: block;
}

.woolayout-filter-category-tab-content ul,
.woolayout-more-category-tab-content ul {
    list-style: none;
    padding: 0;
}

.woolayout-filter-category-tab-content ul li,
.woolayout-more-category-tab-content ul li {
    padding: 8px 15px;
    margin: 0;
}

.woolayout-filter-category-tab-content ul li .count,
.woolayout-more-category-tab-content ul li .count {
    display: none;
}

.woolayout-filter-category-modal-content, .woolayout-more-category-modal-content {
    display: flex;
    height: 100%;
}

.woolayout-widget-left-section {
    width: 30%;
}

.woolayout-widget-right-section {
    flex: 1;
    border-left: 1px solid #eee;
}

.woolayout-filter-category-modal-footer,
.woolayout-more-category-modal-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    display: flex;
    width: 100%;
    background-color: #fff;
    padding: 10px;
    gap: 12px;
    box-shadow: 0 -4px 8px 0 rgba(27,30,36,.08);
}

.woolayout-filter-clear-btn-container,
.woolayout-more-clear-btn-container {
    width: 50%;
}

.woolayout-filter-apply-btn-container,
.woolayout-more-apply-btn-container {
    width: 50%;
}

.woolayout-filter-clear-btn-container .button,
.woolayout-more-clear-btn-container .button {
    background-color: #fff;
    border: 1px solid rgb(255, 82, 0);
    border-radius: 12px;
    color: rgb(255, 82, 0);
}

.woolayout-filter-clear-btn, .woolayout-filter-apply-btn,
.woolayout-more-clear-btn, .woolayout-more-apply-btn {
    width: 100%;
}

.woolayout-filter-apply-btn-container .button,
.woolayout-more-apply-btn-container .button {
    background-color: rgb(255, 82, 0);
    border-radius: 12px;
    color: #fff;
}

.woo-layouts .row {
    display: block;
}

.woolayout-category-banner-container {
    width: 100%;
    overflow: hidden;
}

.woolayout-category-banner-wrapper {
    transition: transform 0.3s ease-in-out;
}

.woolayout-category-banner-image {
    width: 100%;
    border-radius: 8px;
}

.woolayout-product-category-title-one-line {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.woolayout-product-category-title-two-lines {
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.woolayout-category-banner-container .swiper-pagination-bullet {
    width: 5px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 50%;
    margin: 0 2px !important;
    transition: all 0.3s ease;
}

.woolayout-category-banner-container .swiper-pagination-bullet-active {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.95);
}

.woolayout-current-category-products-count-container {
    background-color: #fff;
    padding: 12px;
    border-radius: 8px 0px 0px 0px;
}

.woolayout-current-category-products-count {
    color: rgba(0,0,0,.75);
    font-weight: bold;
}

.woolayout-current-products-category {
    color: rgba(2, 6, 12, 0.75);
    font-weight: 500;
}

.woolayout-horizontal-archive-categories {
    padding: 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.woolayout-vertical-archive-categories {
    padding: 15px 0;
    margin: 0;
    list-style: none;
    display: flex;
}

.woolayout-archive-categories li {
    margin: 0;
}

.woolayout-horizontal-archive-categories-container {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.woolayout-horizontal-archive-categories-container::-webkit-scrollbar {
    display: none;
}

.woolayout-horizontal-archive-categories li {
    margin-bottom: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.woolayout-vertical-archive-categories {
    flex-direction: column;
    position: relative;
}

.woolayout-vertical-archive-category-item {
    position: relative;
}

.woolayout-vertical-archive-category-item.active-category:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%; /* Full height of the item */
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    background: #1ca672;
    transition: background 0.3s, height 0.3s;
    z-index: 1;
}

.woolayout-vertical-archive-category-item.active-category a {
    color: #1ca672;
}

.woolayout-vertical-archive-category-item.active-category .woolayout-archive-category-thumbnail-image-container {
    background: linear-gradient(90deg, #1ca672 0%, #92edcb 100%);
    position: relative;
    z-index: 1;
}

.woolayout-vertical-archive-category-item.active-category 
.woolayout-archive-category-thumbnail-image-container img {
    transform: scale(1.4) translateY(0);
    transform-origin: bottom center;
}

.woolayout-archive-category-container .button,
.woolayout-archive-category-container .button {
    background-color: transparent;
    min-height: unset;
    padding: 0;
}

.woolayout-category-item {
    display: flex;
    align-items: center;
    justify-content: center;
}