.sh-sg-offers,
.sh-sg-promo-list {
	margin: 24px 0;
}

.sh-sg-offer,
.sh-sg-promo {
	border: 1px solid color-mix(in srgb, var(--sh-sg-primary, #111827) 18%, transparent);
	border-radius: 8px;
	padding: 18px;
	margin-bottom: 18px;
	background: #fff;
}

.sh-sg-offer__header {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: flex-start;
}

.sh-sg-offer__title {
	margin: 0 0 6px;
	font-size: 1.125rem;
	color: var(--sh-sg-primary, #111827);
}

.sh-sg-offer__description p {
	margin: 0 0 8px;
}

.sh-sg-offer__pill,
.sh-sg-cart-badge {
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	padding: 5px 10px;
	background: color-mix(in srgb, var(--sh-sg-accent, #0f766e) 12%, #fff);
	color: var(--sh-sg-accent, #0f766e);
	font-size: .8rem;
	font-weight: 700;
	white-space: nowrap;
}

.sh-sg-offer__meta {
	margin: 8px 0 14px;
	color: #4b5563;
	font-size: .95rem;
}

.sh-sg-products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
	gap: 14px;
}

.sh-sg-product {
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	background: #fff;
	display: grid;
	grid-template-rows: auto 1fr;
	min-width: 0;
}

.sh-sg-product__image {
	display: block;
	aspect-ratio: 1;
	background: #f8fafc;
	overflow: hidden;
}

.sh-sg-product__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sh-sg-product__body {
	padding: 12px;
	display: grid;
	gap: 10px;
	align-content: start;
}

.sh-sg-product__name {
	margin: 0;
	font-size: .95rem;
	line-height: 1.25;
}

.sh-sg-product__name a {
	color: inherit;
	text-decoration: none;
}

.sh-sg-product__price {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: baseline;
}

.sh-sg-product__price del {
	color: #6b7280;
}

.sh-sg-product__price strong {
	color: var(--sh-sg-accent, #0f766e);
}

.sh-sg-product__button {
	width: 100%;
	text-align: center;
	justify-content: center;
}

.sh-sg-popup[hidden] {
	display: none;
}

.sh-sg-modal-open {
	overflow: hidden;
}

.sh-sg-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: grid;
	place-items: center;
	padding: 20px;
}

.sh-sg-popup__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 24, 39, .58);
}

.sh-sg-popup__panel {
	position: relative;
	width: min(920px, 100%);
	max-height: min(760px, 92vh);
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	padding: 22px;
	box-shadow: 0 24px 80px rgba(0, 0, 0, .24);
}

.sh-sg-popup__close {
	position: sticky;
	top: 0;
	margin-left: auto;
	display: block;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #111827;
	color: #fff;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	z-index: 2;
}

@media (max-width: 640px) {
	.sh-sg-offer__header {
		display: grid;
	}

	.sh-sg-products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sh-sg-popup {
		padding: 10px;
	}

	.sh-sg-popup__panel {
		padding: 14px;
	}
}
