.beonweb-extras-modal-open {
	overflow: hidden;
}

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

.beonweb-extras-modal {
	align-items: center;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	padding: 18px;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.beonweb-extras-modal__backdrop {
	background: rgba(0, 0, 0, 0.62);
	bottom: 0;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.beonweb-extras-modal__dialog {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
	max-height: calc(100vh - 36px);
	max-width: 760px;
	overflow: auto;
	padding: 24px;
	position: relative;
	width: min(100%, 760px);
	z-index: 1;
}

.beonweb-extras-modal h2 {
	color: #111;
	font-size: 20px;
	line-height: 1.25;
	margin: 0 0 18px;
}

.beonweb-extras-modal__items {
	display: grid;
	gap: 18px;
}

.beonweb-extras-modal__item {
	align-items: flex-start;
	display: grid;
	gap: 18px;
	grid-template-columns: 160px 1fr;
}

.beonweb-extras-modal__image img {
	display: block;
	height: auto;
	max-width: 100%;
}

.beonweb-extras-modal__content h3 {
	color: #111;
	font-size: 20px;
	line-height: 1.3;
	margin: 0 0 8px;
}

.beonweb-extras-modal__description {
	color: #444;
	font-size: 15px;
	line-height: 1.45;
	margin-bottom: 10px;
}

.beonweb-extras-modal__description p {
	margin: 0;
}

.beonweb-extras-modal__price {
	color: #111;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 16px;
}

.beonweb-extras-modal__actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.beonweb-extras-modal__skip {
	color: #333;
	cursor: pointer;
	text-decoration: underline;
}

.beonweb-extras-modal__skip:hover,
.beonweb-extras-modal__skip:focus {
	color: #111;
	text-decoration: none;
}

.beonweb-extras-modal__add {
	border-radius: 6px;
	min-height: 42px;
	padding: 10px 20px;
}

.beonweb-extras-modal__add.loading {
	opacity: 0.65;
}

.woodmart-title-container.title {
	text-transform: none;
}

@media (max-width: 640px) {
	.beonweb-extras-modal {
		align-items: flex-end;
		padding: 10px;
	}

	.beonweb-extras-modal__dialog {
		border-radius: 8px 8px 0 0;
		max-height: calc(100vh - 20px);
		padding: 18px;
		width: 100%;
	}

	.beonweb-extras-modal h2 {
		font-size: 18px;
		margin-bottom: 14px;
	}

	.beonweb-extras-modal__item {
		gap: 12px;
		grid-template-columns: 1fr;
	}

	.beonweb-extras-modal__image {
		max-width: 140px;
	}

	.beonweb-extras-modal__content h3 {
		font-size: 17px;
	}

	.beonweb-extras-modal__description {
		font-size: 14px;
	}

	.beonweb-extras-modal__price {
		font-size: 16px;
		margin-bottom: 12px;
	}

	.beonweb-extras-modal__actions {
		align-items: stretch;
		flex-direction: column-reverse;
		gap: 10px;
	}

	.beonweb-extras-modal__skip {
		text-align: center;
	}
}
