.pointer {
    cursor: pointer;
}
.douyee-shop-page {
    position: relative;
}
.products.douyee-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2em;
}
.loop-product-image.douyee-product-image {
    height: 0;
    padding-bottom: 80%;
    border: 1em solid #f8f8f8;
    background-size: cover;
    background-position: center;
    box-shadow: 0px 5px 15px -8px #333;
    border-radius: 15px;
    margin-bottom: 1em;
}
.douyee-product-card {
    display: flex;
    flex-direction: column;
    color: inherit;
}
.douyee-product-card button {
    border: none;
}
.douyee-product-info h2 {
    font-size: 16px;
    font-weight: 600;
}
.douyee-product-pagination {
    margin-top: 2em;
    display: flex;
    gap: .5em;
    justify-content: end;
}
.douyee-pagination-button {
    width: 36px;
    height: 36px;
    border-radius: 5px;
    border: none;
    background-color: #ccc;
}
.douyee-pagination-button.active {
    background-color: #29a09d;
    color: white;
}
.douyee-product-permalink-button {
    color: white;
    background-color: #bfbdc1;
    margin-top: 1em;
    padding: .5em 1.5em;
    border-radius: 5px;
    transition: .3s;
}
.douyee-product-action {
    margin-top: auto;
    padding: 1em 0;
}
.woocommerce-loop-product__short_description {
    font-size: 12px;
}
.douyee-product-permalink-button:hover {
    background: linear-gradient(45deg, #29a09d, #82bab1);
}
.product-title-divider {
    background: linear-gradient(45deg, #29a09d, #82bab1);
    width: 300px;
    height: 4px;
}
.et_pb_module.et_pb_code.et_pb_code_0_tb_body {
    margin-top: -40px;
    margin-bottom: 0!important;
}
.douyee-main-category {
    padding: 0;
    font-size: 16px!important;
    color: #525252;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.douyee-main-category .icon {
    transition: .3s all ease-out;
}
.douyee-divider {
    margin: 1em 0;
}

.douyee-subcategory-list {
    padding: .5em 0 0!important;
}
h3.douyee-main-category:not(:first-child) {
    margin-top: 1em;
    border-top: 1px solid #333;
    padding-top: 1em;
}
.douyee-subcategory-list li {
    list-style: none;
}

.douyee-subcategory-list li a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #858585;
}
ul.douyee-product-of-subcat {
    padding: .5em!important;
    background-color: white;
    min-width: 40vw;
    max-width: 70vw;
    max-height: 375px;
    border-radius: 5px;
    box-shadow: 0px 5px 15px -8px #333;
    overflow-y: auto;
}
ul.douyee-product-of-subcat.has-top {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: .5em 2em;
}
.douyee-product-of-subcat.has-top li a{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.douyee-subcategory-link .link-text {
    text-wrap: wrap;
}
.douyee-subcategory-link .link-icon {
    font-size: 24px;
}
a.douyee-subcategory-link .link-text {text-decoration: underline;}
.douyee-category-list-container {
    position: absolute;
    top: 0;
    left: 0;
    background-color: white;
    z-index: 9999;
    height: 100%;
    padding: 2em 2em;
    width: 350px;
    max-width: calc(100% - 60px);
    transform: translateX(-100%);
    transition: .5s all ease-out;
}
.douyee-category-list-container.show {
    transform: translateX(0);
}
.douyee-offcanvas-content {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 90%;
    max-height: 90%;
}
.douyee-offcanvas-toggle-button {
    display: flex;
    width: 50px;
    height: 50px;
    background-color: gray;
    justify-content: center;
    align-items: center;
    color: white;
    margin-left: auto;
    margin-right: -6em;
    margin-bottom: -150px;
    margin-top: 100px;
}
.douyee-offcanvas-toggle-button:has(.douyee-open.active) {
    height: fit-content;
}
.douyee-offcanvas-toggle-button > * {
    margin-bottom: -5px;
}
.douyee-offcanvas-toggle-button > *:not(.active){
    display:none;
}
.subcat-list {
    position: relative;
}
.douyee-overlay-screen {
    width: 100%;
    height: 100%;
    background-color: #333;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 9998;
    opacity: 0.75;
}
.douyee-offcanvas-toggle-button > * {
    font-size: 28px;
    margin-top: -5px;
}
.douyee-open {
    font-size: 10px;
    text-wrap: wrap;
    padding: 0.15em 0.25em!important;
    line-height: 1.5em;
}
.douyee-open {
    padding: 1em!important;
}
.douyee-offcanvas-toggle-button:has(.douyee-open.active){
    border-radius: 0 1em 1em 0!important;
    margin-right: -5em;
}
.douyee-open-text {
    transform: rotate(90deg);
    text-wrap: nowrap;
    height: 150px;
    margin-left: -8em;
    margin-bottom: -2em;
    font-size: 16px;
}
.douyee-open-icon {
    font-size: 24px!important;
    margin-top: 5px;
}
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: .5em .25em;
    flex-direction: column;
}
.douyee-pill {
    background-color: #ccc;
    padding: 3px 10px;
    border-radius: 150px;
    width: fit-content;
}
.douyee-filter-section {
    margin-bottom: 2em;
    margin-top: 7em;
}
.douyee-accordion-chevron.active {
    transform: rotate(180deg);
}
.applied-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.reset-filter {
    font-size: 14px;
}
.filter-search {
    display: flex;
    gap: 10px;
    border: 1px solid #ccc;
    padding: 10px 0;
    border-radius: 150px;
    align-items: center;
    padding-right: 1em;
    margin: 1em 0;
}
.filter-search > div {
    margin-bottom: -.1em;
    margin-left: .5em;
}
.filter-search input{
    width: 100%;
    border: none;
    text-align: center;
    padding-right: 2em;
}
@media (max-width: 820px) {
    .products.douyee-product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 482px) {
    .products.douyee-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 410px) {
    .products.douyee-product-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}