.ctc-coupon-header {
    display: flex;
    gap: 40px;
}

.ctc-coupon-image {
    max-width: 160px;
}

.ctc-coupon-headings {
    flex: 1;
}

.ctc-coupon .ctc-coupon-heading {
    margin: 0;
}

.ctc-coupon .ctc-coupon-heading + .ctc-coupon-description {
    margin-top: 10px;
}

.ctc-coupon .ctc-coupon-description p:last-child {
    margin-bottom: 0;
}

.ctc-coupon-details {
    margin: 0px 0 0 0;
    border: 1px solid #bed3e9;
    padding: 10px 20px;
    background: #d7e7f8;
    border-top: none;
}

.ctc-block.ctc-coupon .ctc-coupon-toggle-link {
    text-decoration: none;
    display: inline-block;
    margin: 0;
    font-size: 14px;
    line-height: normal;
}

.ctc-coupon-header {
    border: 1px solid #bed3e9;
    padding: 20px;
    background: #e4f1ff;
}

.ctc-details-content > ul:last-child,
.ctc-details-content > p:last-child {
    margin-bottom: 0;
}

.ctc-details-content {
    padding: 5px 0;
    font-size: 14px;
}

.ctc-toggle-details {
    display: none;
}

.ctc-block.ctc-coupon .ctc-coupon-link {
    text-decoration: none;
    background: #0170b9;
    color: white;
    padding: 10px 30px;
    display: inline-block;
}

.ctc-coupon-code {
    border: 2px dashed #0170b9;
    padding: 10px 20px;
    background: white;
    position: absolute;
    right: 0;
    bottom: 0;
    right: 0;
}

.ctc-coupon-cta .ctc-block-copy {
    display: none;
}

.ctc-coupon-cta {
    position: relative;
    display: inline-flex;
    align-self: flex-start;
}

.ctc-block.ctc-coupon .ctc-coupon-link {
    z-index: 999;
    position: relative;
    text-decoration: none;
    background: #0170b9;
    color: white;
    padding: 10px 30px;
    display: inline-block;
    border: 2px solid #0170b9;
    right: 30px;
}

.ctc-block.ctc-coupon .ctc-coupon-cta:hover .ctc-coupon-link {
    right: 50px;
}

/** On Click */
.ctc-coupon-clicked .ctc-coupon-cta .ctc-block-copy {
    display: flex;
}

.ctc-coupon-clicked .ctc-coupon-cta .ctc-coupon-link {
    display: none;
}

.ctc-coupon-clicked .ctc-coupon-code {
    position: relative;
}

.ctc-coupon-clicked .ctc-coupon-cta {
    gap: 15px;
}

.ctc-details-content  p {
    margin: 0 0 5px 0;
}

.ctc-details-content p:last-child {
    margin: 0;
}

.ctc-details-content  ul {
    margin: 0 0 10px 20px;
}

@media all and (max-width: 768px) {
    .ctc-coupon-header {
        flex-direction: column;
        gap: 20px;
    }

    .ctc-block.ctc-coupon .ctc-coupon-link {
        margin-left: 30px;
    }
}