@import '../../../styles/definitions/breakpoints';
@import '../../../styles/mixins';
@import '../../../styles/definitions/typography';

.volumeDiscountCard {
    &_wrapper {
        margin-bottom: 30px;
        flex-wrap: wrap;
        padding: 16px 27px 20px 28px;
        border: 1px solid #EAEAEA;
        border-radius: 4px;
        background-color: white;
        cursor: pointer;

        @include media-md-down {
            padding: 16px 16px 16px 16px;
        }
    }

    &_info {
        max-width: 70%;

        @include media-md-down {
            max-width: 100%;
        }
    }

    &_contentWrapper {
        display: flex;

        @include media-md-down {
            display: block;
        }
    }

    &_title {
        font-size: $headingFontSize2;
        font-weight: bold;
        line-height: 24px;
        padding-bottom: 3px;

        @include media-md-down {
            line-height: 27px;
            padding-bottom: 6px;
        }
    }

    &_content {
        font-size: $bodyFontSize4;
        letter-spacing: 0;
        line-height: 22px;

        @include media-md-down {
            line-height: 17px;
            padding-bottom: 8px;
        }
    }

    &_subcontent {
        font-size: $bodyFontSize5;
        letter-spacing: 0;
        line-height: 22px;
        flex: 65%;

        @include media-md-down {
            flex: 100%;
            line-height: 18px;
        }
    }

    &_link {
        font-size: $headingFontSize3;
        height: fit-content;
        flex: 35%;
        text-align: end;
        color: #0071C7;
        font-weight: bold;
        letter-spacing: 0;
        line-height: 20px;
        
        @include media-md-down {
            padding-top: 18px;
            flex: 100%
        }
    }
}