/* Product description see-more — load immediately (not Perfmatters-delayed). */

.description-content-wrapper {
    position: relative;
    padding-bottom: 30px;
}

.description-content {
    transition: max-height 0.3s ease;
    overflow: hidden;
    line-height: 1.5em;
}

.description-content.collapsed {
    max-height: calc(1.5em * 6);
}

.description-content.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2em;
    background: linear-gradient(transparent, white);
    pointer-events: none;
}

.see-more-btn {
    background: none;
    border: 1px solid var(--ast-global-color-3);
    color: var(--ast-global-color-3);
    padding: 8px 16px;
    margin-top: 10px;
    cursor: pointer;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.see-more-btn:hover {
    background-color: var(--ast-global-color-6);
    border-color: var(--ast-global-color-6);
}

.see-more-btn:focus {
    outline: none;
    color: var(--ast-global-color-3);
    background-color: #ffffff;
    box-shadow: none !important;
}

@media (min-width: 992px) {
    #description-content,
    #description-content.collapsed {
        max-height: none !important;
        overflow: visible !important;
    }

    #description-content.collapsed::after {
        display: none !important;
    }

    #see-more-btn {
        display: none !important;
    }
}
