.atf-detail {
    padding: 37px 0px 70px;
}

.atf-detail .breadcrumb {
    position: static;
}

.atf-detail .image-wrapper {
    height: 400px;
    background: var(--grey);
    padding: 30px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    overflow: hidden;
}

.atf-detail .image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.atf-detail .image-wrapper .category {
    display: flex;
    padding: 10px;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--primary);
    font-size: 14px;
    font-weight: 700;
    color: white;
    line-height: 90%;
    text-transform: uppercase;
    position: absolute;
    left: 20px;
    top: 20px;
    z-index: 1;
    text-decoration: none;
}

.atf-detail .text-wrapper {
    padding: 40px 0px 0px 0px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.atf-detail .text-wrapper h1 {
    font-weight: 700;
    line-height: 80%;
    color: var(--primary);
    margin-bottom: 10px;
}

.atf-detail .text-wrapper p {
    margin: 0px;
    line-height: 110%;
}

.atf-detail .text-wrapper a {
    width: fit-content;
}

.atf-detail .accordions-wrapper {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.atf-detail .accordions-wrapper .product-accordion {
    background: #F7F8FA;
    border-radius: 12px;
    min-height: 73px;
    height: fit-content;
    flex-shrink: 0;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.atf-detail .accordions-wrapper .product-accordion .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 24px 12px 12px;
    width: 100%;
    gap: 24px;
    cursor: pointer;
    z-index: 1;
}

.atf-detail .accordions-wrapper .product-accordion .header .title-wrapper {
    display: flex;
    align-items: center;
    gap: 24px;
}

.atf-detail .accordions-wrapper .product-accordion .header .title {
    line-height: 80%;
    font-weight: 800;
    color: var(--primary);
    margin: 0px;
    text-transform: uppercase;
}

.atf-detail .accordions-wrapper .product-accordion .header .icon {
    height: 49px;
    width: 49px;
    padding: 12px;
    background: url("/assets/img/noise.svg") var(--dark-grey);
    background-blend-mode: soft-light;
    border-radius: 8px;
    object-fit: contain;
}

.atf-detail .accordions-wrapper .product-accordion .header .arrow {
    content: url("/assets/icons/arrow-down.svg");
    display: block;
    height: 10px;
    width: 20px;
    position: relative;
    top: 2px;
    transform: rotate(0deg);
    transition: all 0.2s ease-in-out;
}

.atf-detail .accordions-wrapper .product-accordion .content {
    height: 0px;
    overflow: hidden;
    padding: 0px 0px 0px 84px;
    transition: all 0.2s ease-in-out;
}

.atf-detail .accordions-wrapper .product-accordion .content .text {
    font-weight: 500;
    line-height: 100%;
}

.atf-detail .accordions-wrapper .product-accordion .content .text p,
.atf-detail .accordions-wrapper .product-accordion .content .text ul {
    margin: 0px;
}

.atf-detail .accordions-wrapper .product-accordion.open {
    transition: all 0.2s ease-in-out;
}

.atf-detail .accordions-wrapper .product-accordion.open .header .arrow {
    transform: rotate(180deg);
    transition: all 0.2s ease-in-out;
}

.atf-detail .accordions-wrapper .product-accordion.open .content {
    padding: 0px 12px 24px 84px;
    overflow: visible;
    transition: all 0.2s ease-in-out;
}

.section-related {
    padding: 70px 0px 39px;
}

.section-related .heading {
    justify-content: flex-start;
    text-align: left;
    margin-bottom: 24px;
}

.section-related h2 {
    font-size: 45px;
    font-weight: 400;
    line-height: 80%; 
}

.section-related .products-slider {
    margin-top: 56px;
}


@media screen and (min-width: 991px) {
    
    .atf-detail {
        padding: 37px 0px 100px;
    }

    .atf-detail .breadcrumb {
        position: static;
    }

    .atf-detail .image-wrapper {
        height: 651px;
        background: var(--grey);
        padding: 30px;
        width: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 20px;
        overflow: hidden;
    }

    .atf-detail .image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .atf-detail .image-wrapper .category {
        display: flex;
        padding: 10px;
        justify-content: center;
        align-items: center;
        text-align: center;
        flex-shrink: 0;
        border-radius: 8px;
        background: var(--primary);
        font-size: 14px;
        font-weight: 700;
        color: white;
        line-height: 90%;
        text-transform: uppercase;
        position: absolute;
        left: 20px;
        top: 20px;
        z-index: 1;
        text-decoration: none;
    }

    .atf-detail .text-wrapper {
        padding: 61px 0px 0px 38px;
        display: flex;
        flex-direction: column;
        gap: 32px;
    }

    .atf-detail .text-wrapper h1 {
        font-weight: 700;
        line-height: 80%;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .atf-detail .text-wrapper p {
        margin: 0px;
        line-height: 110%;
    }

    .atf-detail .text-wrapper a {
        width: fit-content;
    }

    .atf-detail .accordions-wrapper {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 47px;
    }

    .atf-detail .accordions-wrapper .product-accordion {
        background: #F7F8FA;
        border-radius: 12px;
        min-height: 73px;
        height: fit-content;
        flex-shrink: 0;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .atf-detail .accordions-wrapper .product-accordion .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 24px 12px 12px;
        width: 100%;
        gap: 24px;
        cursor: pointer;
        z-index: 1;
    }

    .atf-detail .accordions-wrapper .product-accordion .header .title-wrapper {
        display: flex;
        align-items: center;
        gap: 24px;
    }

    .atf-detail .accordions-wrapper .product-accordion .header .title {
        line-height: 80%;
        font-weight: 800;
        color: var(--primary);
        margin: 0px;
        text-transform: uppercase;
    }

    .atf-detail .accordions-wrapper .product-accordion .header .icon {
        height: 49px;
        width: 49px;
        padding: 12px;
        background: url("/assets/img/noise.svg") var(--dark-grey);
        background-blend-mode: soft-light;
        border-radius: 8px;
        object-fit: contain;
    }

    .atf-detail .accordions-wrapper .product-accordion .header .arrow {
        content: url("/assets/icons/arrow-down.svg");
        display: block;
        height: 10px;
        width: 20px;
        position: relative;
        top: 2px;
        transform: rotate(0deg);
        transition: all 0.2s ease-in-out;
    }

    .atf-detail .accordions-wrapper .product-accordion .content {
        height: 0px;
        overflow: hidden;
        padding: 0px 0px 0px 84px;
        transition: all 0.2s ease-in-out;
    }

    .atf-detail .accordions-wrapper .product-accordion .content .text {
        font-weight: 500;
        line-height: 100%;
    }

    .atf-detail .accordions-wrapper .product-accordion .content .text p,
    .atf-detail .accordions-wrapper .product-accordion .content .text ul {
        margin: 0px;
    }

    .atf-detail .accordions-wrapper .product-accordion.open {
        transition: all 0.2s ease-in-out;
    }

    .atf-detail .accordions-wrapper .product-accordion.open .header .arrow {
        transform: rotate(180deg);
        transition: all 0.2s ease-in-out;
    }

    .atf-detail .accordions-wrapper .product-accordion.open .content {
        padding: 0px 12px 24px 84px;
        overflow: visible;
        transition: all 0.2s ease-in-out;
    }

    .section-related {
        padding: 91px 0px 39px;
    }

    .section-related .heading {
        justify-content: flex-start;
        text-align: left;
        margin-bottom: 24px;
    }

    .section-related h2 {
        font-size: 55px;
        font-weight: 400;
        line-height: 80%; 
    }

    .section-related .products-slider {
        margin-top: 56px;
    }

}