.coupons .button-wrapper {
    margin: auto;
    justify-self: center;
    width: 100%;
    max-width: 100%;
}

.coupons .grid-container-2 {
    display: grid;
    grid-gap: 1.4rem 1.5rem;
    justify-items: stretch;
    margin-bottom: 1rem;
}

@media (width >= 768px) {
    .coupons .grid-container-2 {
        grid-template-columns: auto minmax(29rem, 33.5rem);
    }
}

.coupons .offer-button {
    padding: 1rem 2rem;
    margin: 0 auto;
}

.coupons .coupon-button-primary {
    flex-wrap: nowrap;
    justify-content: center;
    display: inline-flex;
    outline: 2px solid #a10d34;
    font-weight: 500;
    text-decoration: none;
    line-height: 1;
}

.coupons .coupon-button-primary .coupon-button-label.coupon-button-print-coupons {
    width: auto;
    border-right: 1px solid #fff;
    padding: 0.2rem 0;
    flex-grow: 1;
}

.coupons .coupon-button-primary .coupon-count {
    padding: 0.2rem 0 0.2rem 1rem;
}

.coupons .coupon-button-primary.coupon-button-inactive {
    color: #464646;
    background-color: #c2c2c2;
    cursor: default;
}

.coupons .coupon-button-primary.coupon-button-inactive:focus {
    outline: 2px solid #a10d34;
}

.coupons .coupon-button-primary.coupon-button-inactive .coupon-button-label {
    color: #464646;
}

.coupons .coupon-button-primary.coupon-button-inactive .coupon-button-label.coupon-button-print-coupons {
    border-right: 1px solid transparent;
}

.coupons .coupon-button-primary.coupon-button-inactive .coupon-count {
    color: #464646;
}

.print-div {
    display: none;
    position: absolute;
    left: 20%;
    padding: 10px;
    background-color: white;
    z-index: 1002;
    overflow: auto;
}

.black-bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index: 1001;
    opacity: 0.8;
}

.coupons .grid-container-grid {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fill, minmax(24rem, 1fr));
}

@media (width >= 768px) {
    .coupons .grid-container-grid {
        grid-gap: 20px;
    }
}

@media (width >= 1024px) {
    .coupons .grid-container-grid {
        grid-gap: 25px;
    }
}

@media (width >= 1440px) {
    .coupons .grid-container-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.coupons .coupon {
    border-radius: 1.5rem;
    border: 2px dotted #464646;
    display: grid;
    text-align: left;
    padding: 1rem 2rem 2rem;
    align-items: start;
    grid-template-rows: 0.5fr 1fr 0.25fr;
    grid-gap: 0.5rem;
}

.coupons .coupon h3 {
    line-height: 3.6rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
}

.coupons .coupon h4 {
    line-height: 2.6rem;
    margin: 0 0 0.5rem;
    color: #464646;
    font-weight: 700;
}

.coupons .coupon p {
    margin: 0;
    color: #464646;
}

.coupons .coupon.coupon-clipped .coupon-button button {
    background: #d31145;
    border: 0;
}

.coupons .coupon.coupon-clipped .coupon-button button:focus,
.coupons .coupon.coupon-clipped .coupon-button button:hover {
    background: #a10d34;
}

.coupons .coupon.coupon-clipped .coupon-button button:focus .coupon-button-label,
.coupons .coupon.coupon-clipped .coupon-button button:hover .coupon-button-label {
    color: #fff;
}

.coupons .coupon.coupon-clipped .coupon-button button .coupon-button-label {
    color: #fff;
}

.coupons .coupon .coupon-image {
    align-self: center;
}

.coupons .coupon .coupon-image img {
    max-width: 100%;
    max-height: 100%;
    min-height: 10rem;
    height: auto;
}

.coupons .coupon .coupon-image img:focus {
    outline: 2px solid #fff;
}

.coupons .coupon .coupon-button {
    width: 100%;
    display: flex;
    align-self: end;
}

.coupons .coupon .coupon-button button {
    margin-top: 1rem;
    background: transparent;
    border: 2px solid #464646;
}

.coupons .coupon .coupon-button button .coupon-button-label {
    color: #000;
    font-weight: 600;
}

.coupons .coupon .coupon-button button:focus .coupon-button-label,
.coupons .coupon .coupon-button button:hover .coupon-button-label {
    color: #a10d34;
}

.coupons .coupon .coupon-button button:focus {
    outline: 2px solid #a10d34;
}

.tip {
    margin: 3rem 0;
}

.tip a {
    text-decoration: underline;
}

@media (width >= 1024px) {
    .tip {
        margin-bottom: 5rem;
    }
}

.coupons-error-msg,
.coupons-limit-msg {
    color: #d31145;
    line-height: 2.4rem;
    letter-spacing: 0.15px;
    font-weight: 500;
    text-align: left;
    padding-left: 3.4rem !important;
    background: transparent url('') no-repeat top 0 left 0 !important;
    background-size: 2.4rem 2.4rem;
    margin-bottom: 2rem;
}

.offer-button {
    flex: 1;
    align-items: center;
    appearance: none;
    background-color: transparent;
    border: 0;
    border-radius: 24px;
    padding-block: 1rem;
    cursor: pointer;
    text-decoration: none;
}

.headline-sm {
    margin: 0.5rem 0;
}

.coupons .coupon-print-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.coupons .coupon-print-icon img {
  height: 1.4rem;
  display: block;
  padding-right:8px;
}