.peony-shop-specials {
	clear: both;
	display: flow-root;
	width: 100%;
	margin: 0 0 42px;
	padding: 0 0 28px;
	border-bottom: 1px solid rgba(0, 0, 0, .08);
}

.peony-shop-specials .peony-shop-specials-loop,
.peony-shop-specials-products,
.peony-popup-specials-products {
	clear: both;
	width: 100%;
}

.peony-shop-specials-products,
.peony-popup-specials-products {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	column-gap: 20px;
	row-gap: 32px;
	margin: 0 0 1em;
	padding: 0;
	list-style: none outside;
}

.peony-popup-specials-products.columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.peony-popup-specials-products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.peony-popup-specials-products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.peony-popup-specials-products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.peony-popup-specials-products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.peony-popup-specials-products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

.peony-shop-specials-products li.peony-special-card,
.peony-popup-specials-products li.peony-special-card {
	display: flex;
	flex-direction: column;
	position: relative;
	float: none !important;
	width: auto !important;
	margin: 0 !important;
	padding: 0 0 1.2em;
	text-align: left;
	list-style: none outside;
	background-color: var(--ast-global-color-5);
	box-shadow: 0 0 0 0 rgba(0, 0, 0, .1);
	transition: all .3s ease-in-out;
}

.peony-shop-specials-products li.peony-special-card > :last-child,
.peony-popup-specials-products li.peony-special-card > :last-child {
	margin-bottom: 0;
}

.peony-shop-specials-products li.peony-special-card a,
.peony-popup-specials-products li.peony-special-card a {
	text-decoration: none;
}

.peony-shop-specials-products li.peony-special-card .peony-special-card-image-link,
.peony-popup-specials-products li.peony-special-card .peony-special-card-image-link {
	position: relative;
	display: block;
	overflow: hidden;
}

.peony-shop-specials-products li.peony-special-card a.ast-loop-product__link,
.peony-popup-specials-products li.peony-special-card a.ast-loop-product__link {
	display: inline-block;
	width: 100%;
}

.peony-shop-specials-products li.peony-special-card a.woocommerce-loop-product__link,
.peony-popup-specials-products li.peony-special-card a.woocommerce-loop-product__link {
	position: relative;
	display: block;
	overflow: hidden;
}

.peony-shop-specials-products li.peony-special-card a img,
.peony-popup-specials-products li.peony-special-card a img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 .8em;
	box-shadow: none;
}

.peony-shop-specials-products li.peony-special-card .peony-special-card-image-link img,
.peony-popup-specials-products li.peony-special-card .peony-special-card-image-link img {
	margin-bottom: 0;
	backface-visibility: hidden;
	transition: filter .6s, opacity .6s, transform .6s;
}

.peony-shop-specials-products li.peony-special-card .woocommerce-loop-product__link img,
.peony-popup-specials-products li.peony-special-card .woocommerce-loop-product__link img {
	margin-bottom: 0;
	backface-visibility: hidden;
	transition: filter .6s, opacity .6s, transform .6s;
}

.peony-shop-specials-products li.peony-special-card .astra-shop-thumbnail-wrap,
.peony-popup-specials-products li.peony-special-card .astra-shop-thumbnail-wrap {
	position: relative;
	margin-bottom: .8em;
}

.peony-shop-specials-products li.peony-special-card .astra-shop-summary-wrap,
.peony-popup-specials-products li.peony-special-card .astra-shop-summary-wrap {
	padding: 0 1.2em;
}

.peony-shop-specials-products li.peony-special-card .peony-special-card-summary,
.peony-popup-specials-products li.peony-special-card .peony-special-card-summary {
	padding: 0 1.2em;
}

.peony-shop-specials-products li.peony-special-card .woocommerce-loop-product__title,
.peony-shop-specials-products li.peony-special-card h2,
.peony-popup-specials-products li.peony-special-card .woocommerce-loop-product__title,
.peony-popup-specials-products li.peony-special-card h2 {
	margin: 0 0 .5em;
	padding: 0;
	font-size: 1em;
	line-height: inherit;
}

.peony-shop-specials-products li.peony-special-card .price,
.peony-popup-specials-products li.peony-special-card .price {
	display: block;
	color: var(--ast-global-color-3);
	line-height: 1.3;
	margin-bottom: .5em;
	font-size: .9em;
	font-weight: 700;
}

.peony-shop-specials-products li.peony-special-card .price del,
.peony-popup-specials-products li.peony-special-card .price del {
	color: inherit;
	opacity: .5;
	display: initial;
}

.peony-shop-specials-products li.peony-special-card .price ins,
.peony-popup-specials-products li.peony-special-card .price ins {
	background: 0 0;
	font-weight: 700;
	display: inline-block;
	text-decoration: inherit;
}

.peony-shop-specials-products li.peony-special-card .button,
.peony-popup-specials-products li.peony-special-card .button {
	display: inline-block;
	margin: .5em 0;
	white-space: normal;
}

.peony-shop-specials-products li.peony-special-card .ast-onsale-card,
.peony-popup-specials-products li.peony-special-card .ast-onsale-card {
	position: absolute;
	top: 1.5em;
	left: 1.5em;
	color: var(--ast-global-color-3);
	background-color: var(--ast-global-color-primary, var(--ast-global-color-5));
	width: fit-content;
	border-radius: 20px;
	padding: .4em .8em;
	font-size: .87em;
	font-weight: 500;
	line-height: normal;
	letter-spacing: normal;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .15);
	opacity: 1;
	visibility: visible;
	z-index: 4;
}

.peony-shop-specials-products li.peony-special-card .peony-special-card-badge,
.peony-popup-specials-products li.peony-special-card .peony-special-card-badge {
	position: absolute;
	top: 1.5em;
	left: 1.5em;
	color: var(--ast-global-color-3);
	background-color: var(--ast-global-color-primary, var(--ast-global-color-5));
	width: fit-content;
	border-radius: 20px;
	padding: .4em .8em;
	font-size: .87em;
	font-weight: 500;
	line-height: normal;
	letter-spacing: normal;
	box-shadow: 0 4px 4px rgba(0, 0, 0, .15);
	z-index: 4;
}

.peony-shop-specials-products li.peony-special-card .ast-on-card-button,
.peony-popup-specials-products li.peony-special-card .ast-on-card-button {
	position: absolute;
	right: 1em;
	visibility: hidden;
	opacity: 0;
	transition: all .2s;
	z-index: 5;
	cursor: pointer;
}

.peony-shop-specials-products li.peony-special-card .ast-on-card-button.ast-onsale-card,
.peony-popup-specials-products li.peony-special-card .ast-on-card-button.ast-onsale-card {
	opacity: 1;
	visibility: visible;
}

.peony-shop-specials-products li.peony-special-card .astra-shop-thumbnail-wrap:hover .ast-on-card-button:not(.ast-onsale-card),
.peony-popup-specials-products li.peony-special-card .astra-shop-thumbnail-wrap:hover .ast-on-card-button:not(.ast-onsale-card) {
	opacity: 1;
	visibility: visible;
}

.peony-shop-specials-products li.peony-special-card .ast-select-options-trigger,
.peony-popup-specials-products li.peony-special-card .ast-select-options-trigger {
	top: 1em;
}

.peony-shop-specials::after {
	content: "";
	display: block;
	clear: both;
}

.peony-shop-specials-break {
	clear: both;
	display: block;
	width: 100%;
	height: 1px;
	margin: 0 0 28px;
}

.peony-shop-specials-title {
	margin: 0 0 18px;
	font-size: 24px;
	line-height: 1.25;
}

body.woocommerce-shop .site-main ul.products li.product.peony-popup-special-product,
body.tax-product_cat .site-main ul.products li.product.peony-popup-special-product,
body.tax-product_tag .site-main ul.products li.product.peony-popup-special-product,
body.tax-product_brand .site-main ul.products li.product.peony-popup-special-product,
body[class*="tax-pa_"] .site-main ul.products li.product.peony-popup-special-product,
body[class*="tax-product_"] .site-main ul.products li.product.peony-popup-special-product {
	display: none !important;
}

@media (max-width: 767px) {
	.peony-shop-specials-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 24px;
	}

	.peony-shop-specials-products li.peony-special-card a.button,
	.peony-popup-specials-products li.peony-special-card a.button {
		padding: 10px;
	}

	.popup-collection .peony-popup-specials-products {
		display: flex !important;
		flex-wrap: nowrap !important;
		gap: 14px;
		margin: 0;
		padding: 0 4px 12px;
		overflow-x: auto;
		overflow-y: hidden;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
	}

	.popup-collection .peony-popup-specials-products li.peony-special-card {
		float: none !important;
		flex: 0 0 76% !important;
		width: 76% !important;
		max-width: 76% !important;
		margin: 0 !important;
		scroll-snap-align: start;
	}
}
