/**
 * WooCommerce Smart Coupons
 */

/**
 * Imports
 */
@import 'node_modules/susy/sass/susy';
@import '../../../../assets/sass/variables';
@import '../../../../assets/sass/vendors/modular-scale';

.woocommerce,
.woocommerce-page {
	.coupon-container {
		margin: 0;
		box-shadow: none;

		&.medium {
			line-height: inherit;
			padding: ms(-2);
		}
	}

	.generated_coupon_summary {
		margin: 0;
	}

	.coupon-content {
		&.small {
			padding: ms(-2) ms(2);
		}

		.coupon-expire,
		.discount-info {
			font-family: inherit;
		}
	}

	#coupons_list {
		margin-bottom: ms(3);
	}
}

.sd-buttons-transparent {
	&.woocommerce,
	&.woocommerce-page {
		.coupon-container {
			background: transparent !important;
			padding: 0;
		}
	}
}

@include susy-media($desktop) {
	.sc_info_box {
		@include span(last 4 of 9);
		@include gutters(inside);
	}

	.page-template-template-fullwidth-php {
		.sc_info_box {
			@include span(last 5 of 12);
			margin-left: 0;
		}
	}
}
