/* Пауза онлайн-заказов: кнопка + выбор способа */

.et-order-pause-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0.5rem 0 0;
}

.et-order-pause-cta__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0.65rem 1.1rem;
	text-align: center;
	cursor: pointer;
	border: none;
}

.et-order-pause-cta--mini {
	flex-direction: column;
	width: 100%;
}

.et-order-pause-cta--mini .et-order-pause-cta__btn {
	width: 100%;
}

@media (max-width: 600px) {
	.et-order-pause-cta--cart .et-order-pause-cta__btn,
	.et-order-pause-cta--checkout .et-order-pause-cta__btn {
		width: 100%;
	}
}

.woocommerce-cart a.checkout-button[href*="checkout"],
.woocommerce-checkout button#place_order {
	display: none !important;
}

.et-order-pause-modal[hidden] {
	display: none !important;
}

.et-order-pause-modal {
	position: fixed;
	inset: 0;
	z-index: 2147483000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 1rem;
}

.et-order-pause-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.et-order-pause-modal__dialog {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 360px;
	padding: 1.5rem 1.25rem 1.25rem;
	border-radius: 6px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.et-order-pause-modal__close {
	position: absolute;
	top: 0.35rem;
	right: 0.5rem;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border: 0;
	background: transparent;
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
	color: #666;
}

.et-order-pause-modal__title {
	margin: 0 0 0.35rem;
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
}

.et-order-pause-modal__hint {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	color: #444;
}

.et-order-pause-modal__actions,
.et-order-pause-modal__phones {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
}

.et-order-pause-modal__action,
.et-order-pause-phone {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	text-align: center;
	text-decoration: none !important;
	cursor: pointer;
}

.et-order-pause-panel[hidden] {
	display: none !important;
}

.et-order-pause-back {
	display: inline-flex;
	margin-top: 1rem;
	padding: 0.35rem 0;
	border: 0;
	background: transparent;
	color: #444;
	font-size: 0.95rem;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 2px;
}

html.et-order-pause-modal-open,
body.et-order-pause-modal-open {
	overflow: hidden;
}
