@import "~scss/variables";

.sw-cms-el-product-description-reviews {
    display: grid;
    align-content: flex-start;
    color: $color-darkgray-200;
    width: 100%;

    &__tabs {
        display: flex;
        margin: 0 0 30px;
    }

    &__description-tab,
    &__reviews-tab {
        font-size: $font-size-xs;
        color: $color-gray-500;
        margin: auto 10px auto 0;
        border-bottom: 1px solid $color-gray-500;
        padding: 0 0 5px;
    }

    &__description-tab {
        color: $color-darkgray-200;
        border-bottom: 1px solid $color-darkgray-200;
    }

    &__placeholder > div {
        border-radius: 100px;
        background-color: $color-gray-100;
    }

    &__placeholder-title {
        width: 35%;
        height: 30px;
        margin: 15px 0;
    }

    &__placeholder-description {
        height: 10px;
        margin: 10px 0;
    }

    &__placeholder-listing,
    &__detail-listing {
        width: 100%;
        max-width: 500px;
        list-style: none;
        margin: 35px 0 0;
    }

    &__placeholder-item,
    &__detail-item {
        display: flex;
        justify-content: space-between;
        padding: 10px 30px;
        margin: 15px 0;
        border-radius: 4px;

        &:nth-child(odd) {
            background-color: $color-gray-50;
        }

        &:last-child {
            margin: 15px 0 0;
        }
    }

    &__placeholder-left,
    &__placeholder-right {
        background-color: $color-gray-100;
        height: 10px;
        border-radius: 100px;
    }

    &__placeholder-left {
        width: 30%;
    }

    &__placeholder-right {
        width: 50%;
    }

    &__detail-item-label,
    &__detail-item-value {
        font-size: $font-size-xs;
        width: 50%;
    }

    &__detail-item-label {
        font-weight: $font-weight-semi-bold;
    }
}
