/* SS #270 – "עדכנו אותי כשחוזר למלאי" (עמוד מוצר שאזל). הקוד ב-ss-t270-back-in-stock.php */

.ss-bis { margin-top: 16px; }
.ss-bis [hidden] { display: none !important; }

/* הכפתור הראשי, בסגנון "הוספה לסל" */
.ss-bis .ss-bis-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 55px;
	padding: 10px;
	font-size: 19px;
	font-weight: 500;
	letter-spacing: .65px;
	color: #fff;
	background: #CF3B3A;
	border: 0;
	border-radius: 3px;
	cursor: pointer;
}

.ss-bis .ss-bis-form { margin-top: 12px; }

/* קפסולה: מייל מימין, כפתור שליחה משמאל */
.ss-bis .ss-bis-capsule {
	display: flex;
	direction: rtl;
	width: 100%;
	min-height: 48px;
	box-sizing: border-box;
	overflow: hidden;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 999px;
}
.ss-bis .ss-bis-capsule input[type=email] {
	flex: 0 0 72%;
	width: 72%;
	min-width: 0;
	margin: 0;
	padding: 10px 16px;
	box-sizing: border-box;
	background: transparent;
	border: 0;
	border-radius: 0;
	outline: 0;
	box-shadow: none;
}
.ss-bis .ss-bis-submit {
	flex: 1 1 28%;
	min-width: 0;
	margin: 0;
	padding: 10px 8px;
	box-sizing: border-box;
	font-size: 16px;
	white-space: nowrap;
	color: #fff;
	background: #31434F;
	border: 0;
	border-radius: 0;
	cursor: pointer;
}
.ss-bis .ss-bis-submit:hover,
.ss-bis .ss-bis-submit:focus-visible { background: #24323b; }
.ss-bis .ss-bis-submit:disabled { opacity: .7; cursor: default; }

/* שדה שגוי */
.ss-bis .ss-bis-capsule.is-invalid { border-color: #c62828; }
.ss-bis .ss-bis-consent.is-invalid { color: #c62828; }

/* מלכודת ספאם, מוסתרת */
.ss-bis .ss-bis-hp { position: absolute; left: -9999px; width: 0; height: 0; opacity: 0; }

.ss-bis .ss-bis-consent {
	display: block;
	margin: 8px 0;
	font-size: 13px;
	line-height: 1.4;
}

/* הודעות: שגיאה / הצלחה / שולח */
.ss-bis .ss-bis-msg {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 10px 0 0;
	padding: 10px 14px;
	font-size: 14px;
	line-height: 1.4;
	border: 1px solid transparent;
	border-radius: 4px;
}
.ss-bis .ss-bis-msg::before {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	color: #fff;
	border-radius: 50%;
}
.ss-bis .ss-bis-msg.is-error {
	color: #b71c1c;
	background: #fdecea;
	border-color: #f5c2c0;
}
.ss-bis .ss-bis-msg.is-error::before { content: "!"; background: #c62828; }
.ss-bis .ss-bis-msg.is-success {
	color: #1b5e20;
	background: #e8f5e9;
	border-color: #b9dfbb;
}
.ss-bis .ss-bis-msg.is-success::before { content: "✓"; background: #2e7d32; }
.ss-bis .ss-bis-msg.is-pending {
	color: #555;
	background: #f4f4f4;
	border-color: #e2e2e2;
}

@media (max-width: 480px) {
	.ss-bis .ss-bis-capsule input[type=email] { flex: 1 1 auto; width: auto; }
	.ss-bis .ss-bis-submit { flex: 0 0 auto; padding: 10px 14px; }
}
