.owcpv-catalog-list {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
}

.owcpv-products-list {
    width: 100%;
    margin: 0 auto;
    flex: 1;
}

.owcpv-top-header {
    background-color: #7000FE;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}


.owcpv-top-header .toggle-tree {
    display: flex;
    color: #fff;
    gap: 5px;
    align-items: center;
    display: none;
}

.owcpv-top-header .toggle-tree svg {
    width: 17px;
    height: auto;
}

.owcpv-top-header .toggle-tree svg path {
    fill: #fff !important;
}

#owcpv-product-livesearch {
    width: 400px;
    max-width: 100%;
    border-radius: 10px;
}

.owcpv-products-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    background-color: #7000FE;
    padding: 15px;
    border-radius: 10px;
}

label.header-label {
    color: #fff;
    font-size: 25px;
    font-weight: 600;
}

.owcpv-products-category-select {
    width: 240px !important;
    border-radius: 10px !important;
    padding: 12px 14px;
    border: 1px solid #d7d7d7;
    font-size: 0.98rem;
}

.owcpv-products-list-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 768px) {
    label.header-label {
        font-size: 20px;
    }

    .owcpv-products-category-select {
        width: 100% !important;
    }

    .owcpv-products-list-header {
        gap: 10px;
        flex-wrap: wrap;
    }

    .owcpv-card-header {
        gap: 10px;
        flex-wrap: wrap;
    }

    .owcpv-product-card-button {
        width: 100%;
    }
}

@media (max-width: 560px) {}

.owcpv-product-card {
    margin-bottom: 0;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background-color: #ffffff;
    border-radius: 10px;
}

.owcpv-card-header {
    display: flex;
    justify-content: space-between;
    border: 1px solid #ebebeb;
    border-bottom: none;
    align-items: center;
    padding: 15px;
    gap: 20px;
    border-radius: 10px 10px 0 0;
    background-color: #ffffff;
}

.owcpv-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 28px rgba(16, 24, 40, 0.08);
}

.owcpv-product-card-image {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.owcpv-product-card-image .product-image {
    display: block;
    width: 100px;
    aspect-ratio: 1;
}

.owcpv-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.owcpv-product-card-content {
    padding: 18px 18px 22px;
    display: flex;
    flex-direction: column;
    min-height: 150px;
}

.owcpv-product-card-title {
    font-size: 1rem;
    line-height: 1.4;
    color: #d60b87;
}

.owcpv-product-card-title a {
    color: inherit;
    text-decoration: none;
}

.owcpv-card-header {
    flex-wrap: wrap;
}

.owcpv-product-actions {
    display: inline-flex;
    gap: 10px;
    flex-wrap: wrap;
}

.owcpv-product-card-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    color: #7000FE;
    transition: all 0.2s ease;
    border: 1px solid #7000FE;
}

.owcpv-product-card-button:hover {
    background-color: #7000FE;
    color: #fff;
    border: 1px solid transparent;
}

.owcpv-card-body table {
    margin-bottom: 0;
    min-width: 1200px;
}

.owcpv-card-body th {
    padding: 15px 10px;
    color: #fff;
}

.owcpv-card-body td {
    padding: 10px;
}

.owcpv-card-body thead {
    background-color: #7000FE;
}

.owcpv-products-list-loader {
    width: 40px;
    height: 40px;
    margin: 24px auto 0;
    border-radius: 50%;
    border: 4px solid rgba(30, 115, 190, 0.15);
    border-top-color: #1e73be;
    animation: owcpv-loader-spin 0.8s linear infinite;
    display: none;
}

@keyframes owcpv-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

.owcpv-products-list-empty {
    margin-top: 18px;
    color: #52606d;
    font-size: 1.2rem;
    text-align: center;
    background-color: #ebebebeb;
    padding: 40px 15px;
    border-radius: 10px;
}

.ons-hidden {
    display: none;
}

/* Expand */
.cfs_content_toggle {
    position: relative;
    overflow-x: auto;
    overflow-y: hidden;
}

.cfs_content_toggle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 70px;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-image: linear-gradient(to bottom, #5d66f300, #7b7b7b);
    opacity: 0.6;
    display: none;
}

/* .cfs_content_seemore.content_hidden .cfs_content_toggle::after {
    display: block;
} */

.cfs_content_seemore.content_hidden .cfs_content_toggle {
    max-height: 500px;
}

.cfs_btn_seemore {
    background-color: var(--primary);
    padding: 10px 30px;
    display: block;
    margin: 20px auto 20px;
    width: 200px;
    text-align: center;
    border-radius: 5px;
    color: #fff;
    transition: all 0.2s linear;
}

.cfs_btn_seemore:hover {
    background-color: var(--primary_hover);
    color: #fff;
}

.cfs_btn_seemore i {
    margin-left: 7px;
}

.owcpv-products-list-grid {
    position: relative;
}

.owcpv-products-list-grid::before {
    content: "";
    position: absolute;
    z-index: 999;
    animation-duration: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderFiltering;
    animation-timing-function: linear;
    background: #f6f7f8;
    background: linear-gradient(to right, #eeeeeed6 8%, #dddc 18%, #eeeeeec2 33%);
    background-size: auto;
    background-size: 800px 104px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    opacity: 0;
    visibility: hidden;
    transition: all .3s linear;
}

.owcpv-products-list.show-placeholder .owcpv-products-list-grid::before {
    opacity: 1;
    visibility: visible;
}

@keyframes placeHolderFiltering {
    0% {
        background-position: -468px 0
    }

    100% {
        background-position: 468px 0
    }
}

/* Category Tree View Styles */
.owcpv-categories-tree {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 10px 15px;
    width: 290px;
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
}

.owcpv-categories-tree-header {
    margin-bottom: 10px;
}

.owcpv-categories-tree-header {
    padding-right: 40px;
}

.close-tree {
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    position: absolute;
    right: 0;
    top: 0;
    background-color: #c0001a;
    color: #fff;
    border-radius: 5px;
    display: none;
}

.close-tree span {
    transform: rotate(45deg);
    display: inline-block;
    font-size: 20px;
}

.owcpv-categories-tree-header .header-label {
    color: var(--e-global-color-primary);
}

.owcpv-tree-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.owcpv-tree-item {
    margin: 0;
    padding: 0;
    margin-bottom: 5px;
}

.owcpv-tree-item.owcpv-tree-all-products>.owcpv-tree-link {
    font-weight: 600;
    color: #7000FE;
}

.owcpv-tree-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    background-color: #fff;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    transition: all 0.2s ease;
    user-select: none;
}

.owcpv-tree-toggle:hover {
    background-color: #7000FE;
    color: #fff;
    border-color: #7000FE;
}

.owcpv-tree-item.owcpv-tree-parent.owcpv-tree-collapsed .owcpv-tree-toggle {
    transform: rotate(-90deg);
}

.owcpv-tree-toggle::before {
    content: '-';
}

.owcpv-tree-toggle::after {
    content: '+';
    display: none;
}

.owcpv-tree-item.owcpv-tree-parent.owcpv-tree-collapsed .owcpv-tree-toggle::before {
    display: none;
}

.owcpv-tree-item.owcpv-tree-parent.owcpv-tree-collapsed .owcpv-tree-toggle::after {
    display: inline-block;
}

.owcpv-tree-link {
    padding: 5px;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.2s ease;
    cursor: pointer;
    font-size: 14px;
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.owcpv-tree-link:hover {
    background-color: #f0e6ff;
    color: #7000FE;
}

.owcpv-tree-link.owcpv-active {
    background-color: #7000FE;
    color: #fff !important;
}

.owcpv-tree-children {
    margin-left: 24px;
    padding-left: 0;
}

.owcpv-tree-item.owcpv-tree-parent.owcpv-tree-collapsed .owcpv-tree-children {
    display: none;
}

.owcpv-categories-tree .count {
    display: inline-block;
    margin-left: 7px;
}

@media (max-width: 1079px) {
    .owcpv-categories-tree {
        position: fixed;
        height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
        z-index: 9999;
        left: 0;
        overflow: auto;
        border-radius: 0 5px 5px 0;
        transition: all 0.3s linear;
        transform: translateX(-500px);
    }

    .owcpv-categories-tree.opened {
        transform: translateX(0px);
    }

    .close-tree {
        display: block;
    }

    .owcpv-top-header .toggle-tree {
        display: flex;
    }
}

@media (max-width: 768px) {
    .owcpv-categories-tree {
        padding: 12px;
    }

    .owcpv-tree-link {
        font-size: 13px;
        padding: 6px 10px;
    }

    .owcpv-tree-children {
        margin-left: 20px;
    }

    #owcpv-product-livesearch {
        padding: 10px;
    }
}

body.site-sticky {
    overflow-x: clip;
}

body.site-sticky #page {
    overflow-x: clip;
}