/* Modal base */
#oaza-gift-modal {
	align-items: flex-start;
	bottom: 0;
	display: flex;
	justify-content: center;
	left: 0;
	opacity: 0;
	overflow: auto;
	padding: 1rem;
	position: fixed;
	right: 0;
	top: 0;
	transition: all .3s ease;
	transition-property: opacity, visibility, transform;
	visibility: hidden;
	z-index: 30;
	background: rgba(0, 0, 0, 0.7);
}

@media (min-width: 768px) {
	#oaza-gift-modal {
		padding: 2rem;
	}
}

#oaza-gift-modal.is-open {
	opacity: 1;
	transform: translateY(0);
	visibility: visible;
}

body.gift-modal-is-open {
	overflow: hidden;
}

.oaza-gift-modal__backdrop {
	position: absolute;
	inset: 0;
}

.oaza-gift-modal__dialog {
	position: relative;
	max-width: 50rem;
	width: 100%;
	background: var(--e-global-color-accent);
	display: flex;
	flex-direction: column;
}

.oaza-gift-modal__header, .oaza-gift-modal__footer {
	padding: 20px;
	border-bottom: 1px solid #110e0e;
}

.elementor .oaza-gift-modal__header #oaza-gift-modal-title {
	font-size: 2rem;
	margin: 0;
	text-align: center;
}

.elementor .oaza-gift-modal__header .oaza-gift-modal__close {
	width: 40px;
	height: 40px;
	line-height: 40px;
	font-size: 0;
	background-image: url(../images/close.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
	text-align: center;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 9;
	cursor: pointer;
	padding: 0;
	border: none;
}

.oaza-gift-modal__header {
	padding-top: 3rem;
}

.oaza-gift-modal__footer {
	border-top: 1px solid #110e0e;
	border-bottom: none;
	display: flex;
	gap: 8px;
	justify-content: space-between;
}

.oaza-gift-modal__content {
	padding: 0;
}

.oaza-gift-modal__close {
	background: transparent;
	border: 0;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

/* Controls */
.oaza-gift-cart-controls {
	background: #110e0e;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin: 40px 0;
	padding: 40px 20px;
}

.oaza-gift-cart-controls h2.oaza-gift-cart-controls__heading {
	font-size: 24px;
	margin-bottom: 10px;
	text-align: center;
}

/* Content */
.elementor .oaza-gift-item {
	position: relative;
	margin: 20px;
	padding: 20px;
	background-color: #110e0e;
	border: none;
	border-radius: 0;
}

.elementor .oaza-gift-item h3 {
	font-size: 20px;
}

.oaza-gift-unit {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, .4);
	margin-top: 0.5rem;
}

.oaza-gift-unit:first-child {
	border-top: none;
	margin-top: 0;
}

.oaza-gift-unit__index {
	font-weight: bold;
	color: rgba(255, 255, 255, .4);
	padding-top: 0;
}

.oaza-gift-unit__fields {
	display: grid;
	gap: 8px;
}

.oaza-field {
	display: grid;
	gap: .5rem;
}

@media (min-width: 768px) {
	.oaza-field {
		grid-template-columns: 12.5rem 1fr;
		align-items: center;
	}
}

.oaza-field__label {
	font-size: 14px;
	font-weight: 600;
	color: #fff;
}

.oaza-field__input {
	width: 100%;
}

.oaza-field--wish .oaza-field__input {
	min-height: 60px;
}

/* Quick View hiding fallback (scoped) */
.woosq-product .product.product_cat-voucher .ywapo_options_container,
.woosq-product .product.product_cat-voucher .yith-wapo-block {
	display: none !important;
}
