.bbc-diaper-abo {
	max-width: 1220px;
	margin: 0 auto;
	padding: 28px 20px;
	color: #1f1f1f;
	--bbc-diaper-abo-pack-size: 6;
}

.bbc-diaper-abo * {
	box-sizing: border-box;
}

.bbc-diaper-abo__step {
	margin-top: 34px;
}

.bbc-diaper-abo__step h2 {
	margin: 0 0 18px;
	font-size: 26px;
	line-height: 1.15;
	font-weight: 900;
	text-transform: uppercase;
	color: #9695c8;
}

.bbc-diaper-abo__selected-box {
	display: inline-block;
	width: auto;
	max-width: 100%;
	padding: 14px 14px 18px;
	border: 2px solid #d3d3d3;
	border-radius: 5px;
	background: #fff;
}

.bbc-diaper-abo__selected-title {
	margin: 0 0 18px;
	font-size: 17px;
	color: #1f1f1f;
}

.bbc-diaper-abo__slots {
	display: grid;
	grid-template-columns: repeat(var(--bbc-diaper-abo-pack-size, 6), 72px);
	gap: 10px;
	width: fit-content;
}

.bbc-diaper-abo__slot {
	min-height: 70px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	padding: 6px;
	border-radius: 6px;
	background: #fbfbfb;
	font-size: 12px;
	line-height: 1.05;
	font-weight: 800;
	text-align: center;
}

.bbc-diaper-abo__diaper-icon {
	width: 44px;
	height: 32px;
	display: block;
}

.bbc-diaper-abo__diaper-icon path {
	fill: #f8f8f8;
	stroke: #7b7b7b;
	stroke-dasharray: 3 3;
}

.bbc-diaper-abo__slot.is-filled .bbc-diaper-abo__diaper-icon path {
	fill: #dfcee0;
	stroke-dasharray: 0;
}

.bbc-diaper-abo__products {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 11px;
}

.bbc-diaper-abo__product {
	min-height: 238px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 27px 16px 10px;
	border: 2px solid #d8d8d8;
	border-radius: 8px;
	background: #fff;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, opacity 0.2s ease;
}

.bbc-diaper-abo__product:hover,
.bbc-diaper-abo__product.has-quantity {
	border-color: #9695c8;
}

.bbc-diaper-abo__product.is-out {
	opacity: 0.38;
	pointer-events: none;
	filter: grayscale(1);
}

.bbc-diaper-abo__product-title {
	margin: 0 0 12px;
	font-size: 25px;
	line-height: 1.05;
	font-weight: 900;
	text-transform: uppercase;
	color: #9695c8;
}

.bbc-diaper-abo__product-weight,
.bbc-diaper-abo__product-diapers {
	margin: 0 0 12px;
	font-size: 17px;
	color: #222;
}

.bbc-diaper-abo__product-divider {
	height: 5px;
	margin: 15px -16px 16px;
	background: #9695c8;
}

.bbc-diaper-abo__qty {
	width: 122px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 0 auto;
	border: 1px solid #9695c8;
	border-radius: 999px;
	background: #fafafa;
}

.bbc-diaper-abo__qty-btn {
	width: 28px;
	height: 28px;
	border: 0;
	background: transparent;
	color: #444;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
}

.bbc-diaper-abo__qty-btn:disabled {
	color: #ccc;
	cursor: not-allowed;
}

.bbc-diaper-abo__qty-value {
	min-width: 22px;
	font-size: 16px;
	color: #111;
}

.bbc-diaper-abo__interval-step {
	transition: opacity 0.2s ease, filter 0.2s ease;
}

.bbc-diaper-abo__interval-step.is-disabled {
	opacity: 0.35;
	pointer-events: none;
	filter: grayscale(1);
}

.bbc-diaper-abo__interval-step h2 {
	color: #9695c8;
}

.bbc-diaper-abo__interval-step.is-disabled h2 {
	color: #cfcfcf;
}

.bbc-diaper-abo__intervals {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 14px;
}

.bbc-diaper-abo__interval {
	min-height: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border: 2px solid #d8d8d8 !important;
	border-radius: 6px;
	background: #fff;
	color: #111;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.bbc-diaper-abo__interval:hover,
.bbc-diaper-abo__interval.is-selected {
	border-color: #9695c8 !important;
}

.bbc-diaper-abo__interval-badge {
	width: 100%;
	margin: -18px 0 14px;
	padding: 4px 8px;
	background: #9695c8;
	color: #fff;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
}

.bbc-diaper-abo__interval-title {
	font-size: 18px;
	line-height: 1.1;
}

.bbc-diaper-abo__interval-subtitle {
	margin-top: 4px;
	font-size: 14px;
	color: #777;
}

.bbc-diaper-abo__summary {
	margin-top: 34px;
	text-align: center;
}

.bbc-diaper-abo__cart-button {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 260px;
	min-height: 44px;
	padding: 13px 24px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: #9695c8 !important;
	color: #fff !important;
	font-size: 15px;
	font-weight: 800;
	text-transform: uppercase;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.bbc-diaper-abo__cart-button:hover:not(:disabled) {
	background: #8584b8 !important;
}

.bbc-diaper-abo__cart-button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
	pointer-events: none;
}

.bbc-diaper-abo__summary-price {
	display: inline-flex;
	gap: 8px;
	color: #fff !important;
	font-weight: 600;
}

.bbc-diaper-abo__old-price {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: line-through;
}

.bbc-diaper-abo__new-price {
	color: #fff !important;
	font-weight: 900;
}

@media (max-width: 900px) {
	.bbc-diaper-abo__products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bbc-diaper-abo__intervals {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.bbc-diaper-abo__selected-box {
		display: block;
		width: 100%;
	}

	.bbc-diaper-abo__slots {
		width: 100%;
		grid-template-columns: repeat(2, 1fr);
	}

	.bbc-diaper-abo__products,
	.bbc-diaper-abo__intervals {
		grid-template-columns: 1fr;
	}

	.bbc-diaper-abo__cart-button {
		width: 100%;
		min-width: 0;
	}
}