/* Stereopsis — Купівля в 1 клік
   Namespace: .soc-*  (does not collide with .dg-* dual-eye styles) */

.soc-wrap {
	margin-top: 12px;
}

.soc-trigger {
display: inline-block;
    width: 100%;
    padding: 13px 20px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    border: 2px solid #8067bd;
    border-radius: 999px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
    background: #8067bd;
    color: #fff;
    height: 52px;
}
.soc-trigger:hover {
	background: #1e306e;
	color: #fff;
}

/* ---------- Modal ---------- */
.soc-modal[hidden] { display: none; }

.soc-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.soc-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .55);
}

.soc-modal__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 400px;
	background: #fff;
	border-radius: 12px;
	padding: 30px 28px 26px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
	animation: soc-pop .18s ease;
}

@keyframes soc-pop {
	from { transform: translateY(10px); opacity: 0; }
	to   { transform: translateY(0);    opacity: 1; }
}

.soc-modal__close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: 0;
	font-size: 28px;
	line-height: 1;
	color: #888;
	cursor: pointer;
}
.soc-modal__close:hover { color: #1a1a1a; }

.soc-modal__title {
	margin: 0 0 8px;
	font-size: 20px;
}

.soc-modal__text {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
}

.soc-field { margin-bottom: 12px; }

.soc-input {
	width: 100%;
	padding: 12px 14px;
	font-size: 15px;
	border: 1px solid #d9d9d9;
	border-radius: 8px;
	box-sizing: border-box;
}
.soc-input:focus {
	outline: none;
	border-color: #1a1a1a;
}

.soc-submit {
	width: 100%;
	margin-top: 6px;
	padding: 13px 20px;
	font-size: 15px;
	font-weight: 600;
	color: #fff;
	background: #1a1a1a;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: opacity .15s ease;
}
.soc-submit:hover:not(:disabled) { opacity: .88; }
.soc-submit:disabled { opacity: .6; cursor: default; }

.soc-notice {
	margin-top: 12px;
	font-size: 14px;
	line-height: 1.4;
	min-height: 18px;
}
.soc-notice.is-success { color: #2a7f2a; }
.soc-notice.is-error   { color: #c0392b; }

/* lock background scroll when modal is open */
body.soc-open { overflow: hidden; }
