.saas-batches-product-summary {
	margin: 1.5rem 0;
}

.saas-batches-product-summary > h2 {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

.saas-batches-product-summary__items {
	display: grid;
	gap: 0.75rem;
}

.saas-batches-product-summary__selection {
	margin: 0;
	border: 0;
	padding: 0;
}

.saas-batches-product-summary__selection > legend {
	margin: 0 0 0.75rem;
	font-weight: 700;
}

.saas-batches-product-summary__item {
	border: 1px solid currentColor;
	border-left-width: 0.35rem;
	border-radius: 6px;
	padding: 1rem;
	background: Canvas;
	color: CanvasText;
}

.saas-batches-product-summary__item.is-not-selectable {
	opacity: 0.78;
}

.saas-batches-product-summary__item-header {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin: 0 0 0.75rem;
}

.saas-batches-product-summary__label {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0;
	font-size: 1rem;
	line-height: 1.3;
}

.saas-batches-product-summary__label label {
	cursor: pointer;
}

.saas-batches-product-summary__control {
	flex: 0 0 auto;
	margin-top: 0.15rem;
}

.saas-batches-product-summary__control:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.saas-batches-product-summary__item.is-selectable:focus-within {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.saas-batches-product-summary__status {
	display: inline-flex;
	align-items: center;
	border: 1px solid currentColor;
	border-radius: 999px;
	padding: 0.2rem 0.55rem;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.saas-batches-product-summary__details {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
	gap: 0.75rem 1rem;
	margin: 0;
}

.saas-batches-product-summary__detail {
	margin: 0;
}

.saas-batches-product-summary__detail dt {
	margin: 0 0 0.15rem;
	font-size: 0.8125rem;
	font-weight: 700;
}

.saas-batches-product-summary__detail dd {
	margin: 0;
}

.saas-batches-product-summary__item.is-coming-soon {
	border-left-color: #8a6d1d;
}

.saas-batches-product-summary__item.is-active {
	border-left-color: #1f7a3a;
}

.saas-batches-product-summary__item.is-sold-out {
	border-left-color: #7a1f1f;
}

.saas-batches-product-summary__item.is-coming-soon .saas-batches-product-summary__status::before,
.saas-batches-product-summary__item.is-active .saas-batches-product-summary__status::before,
.saas-batches-product-summary__item.is-sold-out .saas-batches-product-summary__status::before {
	content: "";
	display: inline-block;
	width: 0.45rem;
	height: 0.45rem;
	margin-right: 0.35rem;
	border-radius: 50%;
	background: currentColor;
}

.saas-batches {
	margin: 1.5rem 0;
}

.saas-batches__title {
	margin: 0 0 0.75rem;
	font-size: 1.25rem;
	line-height: 1.25;
}

.saas-batches__items {
	display: grid;
	gap: 0.75rem;
}

.saas-batch {
	border: 1px solid currentColor;
	padding: 1rem;
}

.saas-batch__heading {
	display: grid;
	gap: 0.35rem;
}

.saas-batch__title,
.saas-batch__limit,
.saas-batch__stock,
.saas-batch__date {
	margin: 0;
}

.saas-batch__title {
	font-size: 1rem;
	line-height: 1.3;
}

.saas-batch__cart {
	margin-top: 1rem;
}

.saas-batch__date {
	margin-top: 0.75rem;
}

.saas-batch__summary {
	cursor: pointer;
	font-weight: 700;
}

.saas-batch__subscribe {
	display: block;
	margin-top: 0.25rem;
	font-weight: 400;
}

.saas-batch__notify {
	margin-top: 0.75rem;
}

.saas-batch__notify-form {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.75rem;
}

.saas-batch__notify-field {
	display: grid;
	gap: 0.35rem;
	margin: 0;
}

.saas-batch__notify-field input[type="email"] {
	max-width: 24rem;
	background-color: #fff !important;
	color: #222 !important;
	-webkit-text-fill-color: #222 !important;
	caret-color: #222;
	color-scheme: light;
}

.saas-batch__notify-trap {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.saas-batch__notify-feedback {
	margin: 0.75rem 0 0;
	font-weight: 700;
}

.saas-batch__notify-feedback.is-error {
	color: #7a1f1f;
}

.saas-batch__notify-feedback.is-success {
	color: #1f7a3a;
}

@media (max-width: 480px) {
	.saas-batches-product-summary__item,
	.saas-batch {
		padding: 0.875rem;
	}

	.saas-batches-product-summary__details {
		grid-template-columns: 1fr;
	}
}
