section:has(.fx-folder) {
    overflow: visible;
}

.fx-folder {
    display: flex;
    flex-direction: column;
}

.fx-folder > .fx-folder-title {
    align-self: flex-start;
}

.fx-folder__head {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
}

.fx-folder > .fx-folder-title,
.fx-folder__head > .fx-folder-title {
    position: relative;
    z-index: 2;
    display: inline-block;
    vertical-align: top;
    width: max-content;
    max-width: 80%;
    margin: 0 0 -3px;
    padding: 12px 8px 0 24px;
    background-color: #fff;
    background-image: linear-gradient(var(--fx-folder-bg, #f9f9f9), var(--fx-folder-bg, #f9f9f9));
    border-color: var(--fx-folder-border, #e7e9ec);
    border-style: solid;
    border-width: 2px 0 0 2px;
    border-radius: 8px 0 0 0;
}

.fx-folder__head > .fx-folder-title {
    margin-left: 0;
}

.fx-folder > .fx-folder-title::after,
.fx-folder__head > .fx-folder-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -3px;
    left: 0;
    z-index: 3;
    height: 6px;
    background-color: #fff;
    background-image: linear-gradient(var(--fx-folder-bg, #f9f9f9), var(--fx-folder-bg, #f9f9f9));
}

.fx-folder > .fx-folder-title .tp-section-title,
.fx-folder > .fx-folder-title .section-title,
.fx-folder__head > .fx-folder-title .tp-section-title,
.fx-folder__head > .fx-folder-title .section-title {
    margin: 0;
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.5;
}

.fx-folder > .fx-folder-title .tp-section-title-pre,
.fx-folder__head > .fx-folder-title .tp-section-title-pre {
    display: block;
    margin: 0 0 2px;
    font-size: 12px;
    line-height: 1.4;
}

.fx-folder > .fx-folder-title .tp-section-title svg,
.fx-folder > .fx-folder-title .section-title svg,
.fx-folder__head > .fx-folder-title .tp-section-title svg,
.fx-folder__head > .fx-folder-title .section-title svg {
    display: none;
}

.fx-folder-title__curve {
    position: absolute;
    top: -2px;
    left: 100%;
    z-index: 2;
    width: 52px;
    height: calc(100% + 2px);
    pointer-events: none;
}

.fx-folder-title__curve svg {
    display: block;
    width: 100%;
    height: 100%;
}

.fx-folder-title__curve-fill {
    fill: var(--fx-folder-bg, #f9f9f9);
}

.fx-folder-title__curve-line {
    fill: var(--fx-folder-border, #e7e9ec);
}

.fx-folder__head > .fx-folder__tools {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    margin: 0 8px 10px 0;
}

.fx-folder__head > .fx-folder__tools .tp-product-tab,
.fx-folder__head > .fx-folder__tools .fx-product-tabs {
    margin: 0;
}

.fx-folder .tp-product-offer-more-border {
    display: none;
}

.fx-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border: 1.5px solid var(--fx-action-bg, #010f1c);
    border-radius: 6px;
    background: var(--fx-action-bg, #010f1c);
    color: var(--fx-action-color, #fff);
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.fx-action-btn:hover {
    background: var(--fx-action-hover-bg, var(--fx-action-color, #fff));
    border-color: var(--fx-action-hover-bg, var(--fx-action-bg, #010f1c));
    color: var(--fx-action-hover-color, var(--fx-action-bg, #010f1c));
    text-decoration: none;
}

.fx-action-btn svg {
    width: 16px;
    height: 14px;
}

.fx-folder__box {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 24px 24px 24px;
    background-color: #fff;
    background-image: linear-gradient(var(--fx-folder-bg, #f9f9f9), var(--fx-folder-bg, #f9f9f9));
    border: 2px solid var(--fx-folder-border, #e7e9ec);
    border-radius: 0 var(--fx-folder-radius, 16px) var(--fx-folder-radius, 16px) var(--fx-folder-radius, 16px);
}

.fx-folder__box .row.mb-30 {
    margin-bottom: 0;
    row-gap: 20px;
}

.fx-folder__box .tp-product-item {
    margin-bottom: 0;
}

.fx-folder__box .tp-deals-slider-dot,
.fx-folder__box .tp-swiper-dot {
    margin-top: 12px;
}

.fx-folder__box .tp-product-gadget-sidebar {
    margin-bottom: 0;
}

.fx-folder__box .tp-product-offer-slider-active {
    padding-bottom: 0;
}

.container-fluid > .fx-folder > .fx-folder-title,
.container-fluid > .fx-folder > .fx-folder__head {
    margin-left: 0;
}

.container-fluid > .fx-folder > .fx-folder__head,
.container-fluid > .fx-folder > .fx-folder__box {
    margin-right: 0;
    margin-left: 0;
}

@media (max-width: 1199px) {
    .fx-folder__head > .fx-folder-title,
    .fx-folder > .fx-folder-title {
        padding: 12px 16px 0;
    }

    .fx-folder__box {
        padding: 16px;
    }
}

@media (max-width: 767px) {
    .fx-folder__head {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
    }

    .fx-folder > .fx-folder-title,
    .fx-folder__head > .fx-folder-title {
        width: 100%;
        max-width: 100%;
        margin: 0 0 -3px;
        padding: 12px 16px;
        border-right: 2px solid var(--fx-folder-border, #e7e9ec);
        border-radius: 8px 8px 0 0;
        text-align: center;
    }

    .fx-folder-title__curve {
        display: none;
    }

    .fx-folder__head > .fx-folder__tools {
        justify-content: center;
        margin: 0;
        padding: 10px 12px 12px;
        background: var(--fx-folder-bg, #f9f9f9);
        border-right: 2px solid var(--fx-folder-border, #e7e9ec);
        border-left: 2px solid var(--fx-folder-border, #e7e9ec);
    }

    .fx-folder__box {
        margin: 0;
        padding: 16px 16px 16px;
        border-radius: 0 0 var(--fx-folder-radius, 16px) var(--fx-folder-radius, 16px);
    }
}

.fx-skel,
.fx-pg-skeleton,
.shortcode-lazy-loading--skeleton {
    overflow: visible;
}

.fx-skel {
    padding: 30px 0;
}

.fx-folder-title .fx-skel-title,
.fx-folder-title .fx-pg-skeleton__title {
    margin-bottom: 10px;
}

.fx-skel-btn {
    width: 72px;
    height: 10px;
    border-radius: 999px;
    background: #e6e6e6;
}

.fx-skel-title {
    width: 180px;
    height: 10px;
    border-radius: 999px;
    background: #e6e6e6;
}

.fx-skel-subtitle {
    width: 72px;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #e6e6e6;
}

.fx-skel-head {
    margin-bottom: 24px;
}

.fx-skel-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.fx-skel-feature {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.fx-skel-feature__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: #f0f0f0;
}

.fx-skel-feature__copy {
    flex: 1;
    min-width: 0;
}

.fx-skel-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.fx-skel-cats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.fx-skel-cat {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 0;
    background: transparent;
}

.fx-skel-cat__copy {
    flex: 1;
    min-width: 0;
}

.fx-skel-line {
    width: 62%;
    height: 10px;
    margin-bottom: 10px;
    border-radius: 999px;
    background: #e6e6e6;
}

.fx-skel-line--sm {
    width: 28%;
    height: 10px;
}

.fx-skel-cat__thumb {
    width: 72px;
    height: 72px;
    flex: 0 0 auto;
    border-radius: 4px;
    background: #f0f0f0;
}

.fx-skel-banner {
    min-height: 280px;
    border-radius: 4px;
    background: #f0f0f0;
}

.fx-skel-products {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.fx-skel-side {
    min-height: 320px;
    border-radius: 4px;
    background: #f0f0f0;
}

@media (min-width: 576px) {
    .fx-skel-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .fx-skel-cats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .fx-skel-split {
        grid-template-columns: minmax(0, 2fr) minmax(220px, 1fr);
    }

    .fx-skel-banner {
        min-height: 100%;
    }

    .fx-skel-products--sidebar {
        grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr);
    }

    .fx-skel-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
