/**
 * WooCommerce varyasyon seçilmeden sepete ekleme uyarısı — tarayıcı alert() yerine tema modalı.
 */
.toptanmum-wc-variation-modal {
	position: fixed;
	inset: 0;
	z-index: 200200;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
}

.toptanmum-wc-variation-modal[hidden] {
	display: none !important;
}

.toptanmum-wc-variation-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 22, 0.55);
	backdrop-filter: blur(2px);
}

.toptanmum-wc-variation-modal__panel {
	position: relative;
	width: 100%;
	max-width: 380px;
	margin: auto;
	padding: 24px 22px 20px;
	border-radius: 16px;
	background: #faf9f5;
	box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.06);
	text-align: center;
}

.toptanmum-wc-variation-modal__message {
	margin: 0 0 20px;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #2a2a24;
	font-weight: 500;
}

.toptanmum-wc-variation-modal__ok {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 120px;
	padding: 12px 24px;
	border: none;
	border-radius: 10px;
	background: #6a6e49;
	color: #fff;
	font-size: 0.95rem;
	font-weight: 600;
	font-family: inherit;
	cursor: pointer;
	transition: background 0.15s, transform 0.05s;
	-webkit-tap-highlight-color: transparent;
}

.toptanmum-wc-variation-modal__ok:hover {
	background: #5a5e3d;
}

.toptanmum-wc-variation-modal__ok:active {
	transform: scale(0.98);
}

body.toptanmum-wc-variation-modal-open {
	overflow: hidden !important;
}
