/* Product-Page: Description */
ul#oneboxshop-description-tabs {
    list-style: none;
    margin-left: 0;
}

ul#oneboxshop-description-tabs h4 {
    margin-bottom: 0;
}

.obs-product-description div.nav-link {
    cursor: pointer;
}

@media (max-width: 991px) {
    .obs-bootstrap5 .tab-content > .tab-pane {
        display: block;
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .obs-bootstrap5 .accordion-item {
        border-top: none;
        border-bottom: none;
    }
}

.obs-product-description {
    margin-bottom: 20px;
}

.obs-product-description ul {
    margin-top: 0;
}

.obs-bootstrap5 .accordion-item {
    border-left: none;
    border-right: none;
}

.obs-bootstrap5 .accordion-button:not(.collapsed) {
    color: unset;
    background-color: #f2f2f2;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.obs-bootstrap5 .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212529'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.obs-bootstrap5 .accordion-body {
    padding-left: 0;
    padding-right: 0;
}

.obs-product-description .description-paragraph-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.obs-product-description .description-paragraph {
    margin-bottom: 10px;
}

/* Truncate the description by limiting the height of the container. */
.obs-product-description .description-paragraph {
    height: 150px;
    overflow: hidden;
    position: relative;
}

/* Blur overlay for the truncated description. */
.obs-product-description .description-paragraph .blur-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 35px 0;
    background-image: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.8));
}

/* Make button full width at bootstrap sm breakpoint. */
@media (max-width: 575px) {
    .obs-product-description .description-paragraph-toggle {
        width: 100%;
    }
}