.generated_discount { width: 100%; display: inline-block; vertical-align: top; &:before { top: 246px; left: -8px; } &:after { top: 246px; right: -8px; left: inherit; } &.generated_discount_procent { &:before { top: 177px; } &:after { top: 177px; } } } .generated_discount_icon { background: #F6FBFF url(/assets/cabinet/discount_repeat_mobile.png) repeat; background-size: cover; display: none; width: 100%; height: 70px; img { margin-top: 10px; } } .generated_discount_info { display: inline-block; vertical-align: top; width: 100%; + .generated_discount_icon { border-top: #DFE4FA 1px dashed; border-right: none; display: block; } } .generated_discount_content_info { width: calc(100% - 10px); margin: 5px; &:before { display: none; } span { text-align: center; } } .generated_discount_section { margin-top: 0; + .generated_discount_section { margin-bottom: 30px; } } .generated_discount_description { width: calc(100% - 16px); margin: 0 8px; } .generated_discount_code_item { border-right: none; width: 100%; text-align: center; margin-top: 0; &:nth-child(1) { width: 100%; } &:nth-child(2) { width: 100%; margin-bottom: 5px; } &:nth-child(3) { width: 100%; } span { font-size: 13px; line-height: 15px; } p { font-size: 13px; line-height: 15px; } .button { height: 33px; line-height: 33px; } } .generated_discount_content_info { .generated_discount_content_frame { &:before { display: none; } } }