/* Carol Open Box — botões e modal do produto */
.cob-reserve-wrap {
	clear: both;
	display: block;
	margin-top: 16px;
	width: 100%;
}

.cob-reserve-wrap .cob-reserve-button {
	display: block;
	margin: 0;
	width: 100%;
}

.cob-reserve-modal {
	align-items: center;
	background: rgba(21, 18, 35, 0.58);
	box-sizing: border-box;
	justify-content: center;
	inset: 0;
	padding: 20px;
	position: fixed;
	z-index: 99999;
}

.cob-reserve-modal.is-open {
	display: flex;
}

.cob-reserve-modal__content {
	background: #ffffff;
	border-radius: 16px;
	box-shadow: 0 18px 55px rgba(21, 18, 35, 0.24);
	box-sizing: border-box;
	max-width: 500px;
	padding: 30px;
	text-align: center;
	width: 100%;
}

.cob-reserve-modal__success {
	color: #5d2a87;
	font-size: 16px;
	font-weight: 700;
	margin: 0 0 14px;
}

.cob-reserve-modal__content h3 {
	color: #25212c;
	font-size: 21px;
	line-height: 1.3;
	margin: 0 0 24px;
}

.cob-reserve-modal__actions {
	display: flex;
	gap: 12px;
	justify-content: center;
}

.cob-reserve-modal__actions button {
	border-radius: 8px;
	cursor: pointer;
	font-size: 14px;
	font-weight: 700;
	min-height: 44px;
	padding: 10px 18px;
}

.cob-reserve-modal__yes {
	background: #6b2d91 !important;
	border-color: #6b2d91 !important;
	color: #ffffff !important;
}

.cob-reserve-modal__continue {
	background: #ffffff !important;
	border: 1px solid #6b2d91 !important;
	color: #6b2d91 !important;
}

.cob-reserve-modal__yes:hover,
.cob-reserve-modal__yes:focus {
	background: #52206f !important;
	border-color: #52206f !important;
	color: #ffffff !important;
}

.cob-reserve-modal__continue:hover,
.cob-reserve-modal__continue:focus {
	background: #f5eff9 !important;
	border-color: #52206f !important;
	color: #52206f !important;
}

@media (max-width: 767px) {
	.cob-reserve-wrap {
		margin-top: 12px;
	}

	.cob-reserve-wrap .cob-reserve-button {
		width: 100%;
	}

	.cob-reserve-modal {
		padding: 16px;
	}

	.cob-reserve-modal__content {
		border-radius: 14px;
		padding: 24px 18px;
	}

	.cob-reserve-modal__content h3 {
		font-size: 18px;
	}

	.cob-reserve-modal__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.cob-reserve-modal__actions button {
		width: 100%;
	}
}

@media (min-width: 768px) {
	.cob-reserve-wrap {
		margin-top: 18px;
	}
}

/* Indicador de carregamento do botão de reserva */
.cob-is-loading {
	align-items: center !important;
	cursor: wait !important;
	pointer-events: none;
}

.cob-loading-spinner {
	animation: cob-spinner-rotate 0.72s linear infinite;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;
	display: inline-block;
	flex: 0 0 auto;
	height: 15px;
	margin-right: 8px;
	vertical-align: -3px;
	width: 15px;
}

.cob-loading-label {
	display: inline-block;
	vertical-align: middle;
}

@keyframes cob-spinner-rotate {
	to {
		transform: rotate(360deg);
	}
}

@media (prefers-reduced-motion: reduce) {
	.cob-loading-spinner {
		animation-duration: 1.4s;
	}
}
