.vmb-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	grid-auto-flow: row;
	gap: 20px;
	margin: 32px 0;
	max-width: 100%;
	width: 100%;
}

.vmb-toolbar {
	display: block;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	width: 100%;
}

.vmb-products {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.vmb-form {
	display: grid;
	gap: 16px;
}

.vmb-form label {
	display: grid;
	gap: 8px;
	font-weight: 600;
}

.vmb-form input {
	padding: 12px 14px;
	border: 1px solid #cbd5e1;
	border-radius: 12px;
	background: #fff;
}

.vmb-trigger,
.vmb-form button,
.vmb-product-card__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 16px;
	border: 0;
	border-radius: 12px;
	background: #0f766e;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
	cursor: pointer;
}

.vmb-notice {
	display: block;
	min-height: 24px;
	margin-top: 12px;
	color: #0f172a;
}

.vmb-notice--warning {
	color: #b45309;
}

.vmb-notice--success {
	color: #15803d;
}

.vmb-product-list {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
}

.vmb-modal[hidden] {
	display: none;
}

.vmb-modal {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.vmb-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 23, 42, 0.55);
}

.vmb-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 460px);
	padding: 24px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
}

.vmb-modal__dialog h3 {
	margin: 0 0 20px;
}

.vmb-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 999px;
	background: #e2e8f0;
	color: #0f172a;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.vmb-product-card {
	display: grid;
	gap: 10px;
	padding: 20px;
	border-radius: 20px;
	background:
		radial-gradient(circle at top right, rgba(15, 118, 110, 0.1), transparent 30%),
		linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
	border: 1px solid #dbeafe;
	min-height: 190px;
}

.vmb-product-card__label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0f766e;
}

.vmb-product-card__title {
	margin: 0;
	font-size: 24px;
	line-height: 1.1;
}

.vmb-product-card__price {
	font-size: 22px;
	font-weight: 700;
	color: #0f172a;
}

.vmb-product-card__link {
	justify-self: start;
}

@media (max-width: 1100px) {
	.vmb-product-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 800px) {
	.vmb-product-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 520px) {
	.vmb-product-list {
		grid-template-columns: 1fr;
	}

	.vmb-trigger {
		width: auto;
	}
}
