/* Stok Haberi: tema renklerini ve yazı tipini miras alır. */
:root {
	--sh-accent: var(--wp--preset--color--primary, var(--ast-global-color-0, var(--e-global-color-primary, #c2410c)));
	--sh-border: rgba(128, 128, 128, .28);
	--sh-soft: rgba(128, 128, 128, .07);
}
.sh-box {
	margin: 1rem 0; padding: 1rem 1.1rem;
	border: 1px solid var(--sh-border); border-radius: 8px; background: var(--sh-soft);
}
.sh-box[hidden], .sh-fallback[hidden] { display: none; }
.sh-title { font-weight: 700; font-size: 1.05em; margin-bottom: .25rem; }
.sh-lead { margin: 0 0 .75rem; font-size: .93em; opacity: .85; }
.sh-fields { display: flex; flex-direction: column; gap: .6rem; }
.sh-input { width: 100%; box-sizing: border-box; }
.sh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sh-consent { display: flex; gap: .5rem; align-items: flex-start; font-size: .85em; line-height: 1.4; cursor: pointer; }
.sh-consent input { margin-top: .2rem; flex: 0 0 auto; }
.sh-consent a { text-decoration: underline; }
.sh-btn { width: 100%; margin: 0; }
.sh-btn:disabled { opacity: .6; cursor: wait; }
.sh-msg { margin-top: .6rem; font-size: .9em; min-height: 1.2em; }
.sh-msg:empty { display: none; }
.sh-msg.is-error { color: #b91c1c; }
.sh-msg.is-ok { color: #15803d; font-weight: 600; }
.sh-box.is-done .sh-fields, .sh-box.is-done .sh-lead { display: none; }
.sh-fallback { margin: 1rem 0; }

/* Ürün listesi düğmesi ve açılır pencere */
.sh-notify { cursor: pointer; }
html.sh-lock { overflow: hidden; }
.sh-modal { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; padding: 1rem; }
.sh-modal[hidden] { display: none; }
.sh-modal__back { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.sh-modal__card.sh-box {
	position: relative; width: 100%; max-width: 420px; max-height: 92vh; overflow: auto;
	margin: 0; padding: 1.25rem; background: #fff; color: #1f2937;
	border: 0; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
}
.sh-modal__x {
	position: absolute; top: .4rem; right: .5rem; width: 2.2rem; height: 2.2rem; padding: 0;
	background: transparent; border: 0; box-shadow: none; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer;
}
.sh-modal__product { margin: 0 0 .5rem; font-weight: 600; font-size: .95em; }
.sh-modal__product:empty { display: none; }
.sh-modal .sh-title { padding-right: 2rem; }
