/* Kamala Studio – welcome sale: banner above the header + sign-up dialog. */

.stk-sale {
	--sale-ink: var(--wp--preset--color--ink, #1c1318);
	--sale-accent: var(--wp--preset--color--accent, #d9a38f);
	position: relative;
	z-index: 60;
	background: var(--sale-ink);
	border-top: 1px solid rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 14px;
	line-height: 1.35;
}
.stk-sale[hidden] { display: none; }
.stk-sale-in { display: flex; align-items: center; gap: 12px; max-width: 1280px; margin: 0 auto; padding: 9px 48px 9px clamp(16px, 3vw, 32px); }
.stk-sale-badge { flex: none; padding: 4px 9px; border-radius: 999px; background: var(--sale-accent); color: var(--sale-ink); font-weight: 800; font-size: 13px; letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.stk-sale-txt { flex: 1 1 auto; min-width: 0; margin: 0; }
.stk-sale-txt b { font-weight: 700; margin-right: 6px; }
.stk-sale-txt span { color: rgba(255, 255, 255, .78); }
.stk-sale-code { font-family: ui-monospace, Menlo, Consolas, monospace; letter-spacing: .06em; color: #fff !important; }
.stk-sale-btn { flex: none; padding: 7px 16px; border: 0; border-radius: 999px; background: #fff; color: var(--sale-ink); font: inherit; font-weight: 700; font-size: 13.5px; cursor: pointer; transition: transform .15s; white-space: nowrap; }
.stk-sale-btn:hover { transform: translateY(-1px); }
.stk-sale-btn:focus-visible, .stk-sale-x:focus-visible { outline: 2px solid var(--sale-accent); outline-offset: 2px; }
.stk-sale-x { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: rgba(255, 255, 255, .7); cursor: pointer; }
.stk-sale-x:hover { color: #fff; background: rgba(255, 255, 255, .08); }
@media (max-width: 720px) {
	.stk-sale-in { gap: 10px; padding: 8px 44px 8px 14px; }
	.stk-sale-txt span { display: none; }
	.stk-sale-txt b { margin: 0; }
	.stk-sale-btn { padding: 6px 12px; font-size: 13px; }
}

/* dialog */
.stk-sale-dlg { width: min(460px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: #1c1318; box-shadow: 0 30px 80px -30px rgba(28, 19, 24, .55); overflow: auto; }
.stk-sale-dlg::backdrop { background: rgba(28, 19, 24, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.stk-sale-dlg[open] { animation: stk-sale-in .22s cubic-bezier(.2, .8, .2, 1); }
@keyframes stk-sale-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
.stk-sale-form { position: relative; padding: 28px 26px 24px; }
.stk-sale-dlg-x { position: absolute; right: 14px; top: 14px; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #eadfd9; border-radius: 50%; background: #fff; color: #1c1318; cursor: pointer; }
.stk-sale-eyebrow { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #b77a6c; }
.stk-sale-form h2 { margin: 0 44px 8px 0; font-family: var(--wp--preset--font-family--serif, "Cormorant Garamond", Georgia, serif); font-size: 30px; font-weight: 600; line-height: 1.08; }
.stk-sale-lead { margin: 0 0 14px; color: #5f5157; font-size: 15px; line-height: 1.5; }
.stk-sale-steps { display: flex; gap: 6px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: s; font-size: 12.5px; font-weight: 700; color: #6b5e64; }
.stk-sale-steps li { flex: 1; display: flex; align-items: center; gap: 6px; padding: 8px 8px; border-radius: 12px; background: #f6efeb; counter-increment: s; }
.stk-sale-steps li::before { content: counter(s); display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; background: #1c1318; color: #fff; font-size: 11px; }
.stk-sale-fields { display: grid; gap: 12px; }
.stk-sale-fields[hidden], .stk-sale-done[hidden] { display: none; }
.stk-sale-fields > label:not(.stk-sale-check) { display: grid; gap: 5px; font-size: 13px; font-weight: 700; color: #5f5157; }
.stk-sale-fields input[type="text"], .stk-sale-fields input[type="email"] { width: 100%; box-sizing: border-box; min-height: 48px; padding: 0 14px; border: 1px solid #dfd3cd; border-radius: 14px; background: #fff; font: inherit; font-size: 16px; color: #1c1318; }
.stk-sale-fields input:focus { outline: 2px solid #1c1318; outline-offset: 1px; border-color: transparent; }
.stk-sale-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.45; color: #4b3f44; cursor: pointer; }
.stk-sale-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: #1c1318; }
.stk-sale-check a { color: inherit; }
.stk-sale-hp { position: absolute; left: -9999px; }
.stk-sale-err { margin: 0; padding: 10px 12px; border-radius: 12px; background: #fbeaea; color: #a3243a; font-size: 14px; font-weight: 600; }
.stk-sale-err[hidden] { display: none; }
.stk-sale-submit { width: 100%; min-height: 52px; border: 0; border-radius: 999px; background: #1c1318; color: #fff; font: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
.stk-sale-submit:disabled { opacity: .6; cursor: wait; }
.stk-sale-submit:focus-visible { outline: 2px solid #d9a38f; outline-offset: 3px; }
.stk-sale-small { margin: -2px 0 0; font-size: 12.5px; color: #8a7c82; text-align: center; }
.stk-sale-done { text-align: center; padding: 8px 0 0; }
.stk-sale-done svg { color: #b77a6c; }
.stk-sale-done h3 { margin: 8px 0 6px; font-family: var(--wp--preset--font-family--serif, "Cormorant Garamond", Georgia, serif); font-size: 28px; font-weight: 600; }
.stk-sale-done p { margin: 0 0 18px; color: #5f5157; font-size: 15px; line-height: 1.5; }
@media (max-width: 480px) {
	.stk-sale-form { padding: 24px 18px 20px; }
	.stk-sale-form h2 { font-size: 26px; }
	.stk-sale-steps li { font-size: 11.5px; padding: 7px 6px; }
}
.stk-sale-fields .stk-bday { border: 0; margin: 0; padding: 0; display: grid; gap: 5px; }
.stk-sale-fields .stk-bday legend { padding: 0; margin-bottom: 5px; font-size: 13px; font-weight: 700; color: #5f5157; }
.stk-sale-fields .stk-bday legend span { font-weight: 500; color: #8a7c83; }
.stk-sale-fields .stk-bday-row { display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; }
.stk-sale-fields .stk-bday select { width: 100%; min-height: 48px; padding: 0 12px; border: 1px solid #dfd3cd; border-radius: 14px; background: #fff; font: inherit; font-size: 16px; color: #1c1318; }
.stk-sale-fields .stk-bday small { font-size: 12.5px; color: #8a7c83; }
.stk-sale-fields .stk-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
