/*
 * HaMaagaliya: styles for the pieces the new site adds
 * (footer newsletter form, checkout and thank-you pages). Values match the original design.
 */

/* ---------- footer newsletter: same look as the original Klaviyo form ---------- */
.nform-native { display: flex; gap: 6px; width: 100%; margin: 0; padding: 0; }
.nform-native input[type="text"],
.nform-native input[type="email"] {
	flex: 1 1 0; min-width: 0; height: 50px; margin: 0; padding: 0 0 0 16px;
	background: #fff; color: #000; border: 1px solid rgb(148, 149, 150); border-radius: 999px;
	font: 400 16px Arial, "Helvetica Neue", Helvetica, sans-serif; box-shadow: none; outline-offset: 2px;
}
.nform-native input::placeholder { color: rgb(118, 118, 118); opacity: 1; }
.nform-native button {
	flex: 0 0 auto; height: 50px; margin: 0; padding: 0 20px; border: 0; border-radius: 999px; cursor: pointer;
	background: oklch(0.788 0.139 82); color: oklch(0.231 0.056 250.3);
	font: 700 16px/1 "Hanken Grotesk", system-ui, sans-serif;
}
.nform-native button:hover { background: oklch(83% 0.125 84); }
/* On the article pages the original theme made these fields 2px taller. */
.hcph-ft .nform-native input[type="text"],
.hcph-ft .nform-native input[type="email"],
.hcph-ft .nform-native button { height: 52px; }
.nform-native button:disabled { opacity: 0.6; cursor: wait; }
.nform-native .nform-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.nform-msg { margin: 8px 0 0; font: 400 14px/1.6 "Hanken Grotesk", system-ui, sans-serif; color: oklch(0.82 0.025 252); }
.nform-msg.is-error { color: oklch(80% 0.12 40); }
@media (max-width: 600px) {
	.nform-native { flex-wrap: wrap; }
	.nform-native input[type="text"], .nform-native input[type="email"] { flex: 1 1 100%; }
	.nform-native button { flex: 1 1 100%; }
}

/* ---------- logo: the one-line name is wider than the old stacked one ---------- */
@media (max-width: 600px) {
	.mast .logo img, .hcph-hd .mast .logo img { height: 27px; }
}
@media (max-width: 380px) {
	.mast .logo img, .hcph-hd .mast .logo img { height: 23px; }
}

/* ---------- checkout and thank-you (inside the legal page layout) ---------- */
.lgbody-in.hco-wrap { display: block; }
.hco { max-width: 720px; margin: 0 auto; }
.hco-card {
	background: var(--color-surface, #fffdf9); border-radius: var(--radius-inner, 4px);
	box-shadow: var(--shadow-print, 0 22px 44px -22px rgba(20, 33, 61, .45));
	padding: var(--space-2xl, 64px) var(--space-2xl, 64px) var(--space-xl, 40px);
	color: var(--color-ink, #1b2333); font-size: var(--text-body, 1.0625rem); line-height: 1.6;
}
.hco-card h2 {
	font-family: var(--font-display, "Cormorant Garamond", Georgia, serif); font-weight: 500;
	font-size: var(--text-title, 1.75rem); line-height: 1.2; margin: 0 0 var(--space-md, 16px); color: var(--color-ink, #1b2333);
}
.hco-prayer {
	margin: 0 0 var(--space-md, 16px); padding: var(--space-md, 16px) var(--space-lg, 24px);
	border-left: 2px solid var(--color-accent, #d6a542); background: var(--color-accent-wash, #fbf3e3);
	font-family: var(--font-display, "Cormorant Garamond", Georgia, serif); font-style: italic; font-size: var(--text-lg, 1.25rem);
}
.hco-for { margin: 0 0 var(--space-xs, 8px); }
.hco-for span { display: inline-block; min-width: 4.5em; color: var(--color-muted, #5d6577); font-size: var(--text-sm, .875rem); text-transform: uppercase; letter-spacing: .06em; }
.hco-lines { list-style: none; margin: var(--space-lg, 24px) 0 0; padding: 0; border-top: 1px solid var(--color-rule, #e6dccb); }
.hco-lines li { display: flex; justify-content: space-between; gap: var(--space-md, 16px); padding: var(--space-sm, 12px) 0; border-bottom: 1px solid var(--color-rule, #e6dccb); }
.hco-lines b, .hco-total b { font-weight: 600; white-space: nowrap; }
.hco-total { display: flex; justify-content: space-between; align-items: baseline; margin: var(--space-md, 16px) 0 var(--space-xl, 40px); font-size: var(--text-lg, 1.25rem); }
.hco-total b { font-family: var(--font-display, "Cormorant Garamond", Georgia, serif); font-size: var(--text-xl, 1.5625rem); }
#hcp-paypal-buttons { max-width: 460px; margin: 0 auto; min-height: 50px; }
.hco-err { margin: var(--space-md, 16px) 0 0; color: var(--color-error, #a3361f); text-align: center; }
.hco-busy { margin: var(--space-md, 16px) 0 0; color: var(--color-muted, #5d6577); text-align: center; }
.hco-note { margin: var(--space-md, 16px) 0 0; color: var(--color-muted, #5d6577); font-size: var(--text-sm, .875rem); text-align: center; }
.hco-warn { color: var(--color-error, #a3361f); font-size: var(--text-body, 1.0625rem); }
.hco-back { display: inline-block; margin-top: var(--space-lg, 24px); color: var(--color-accent-deep, #8a6420); }
.hco-actions { display: flex; flex-wrap: wrap; gap: var(--space-sm, 12px); margin-top: var(--space-xl, 40px); }
@media (max-width: 700px) {
	.hco-card { padding: var(--space-xl, 40px) var(--space-lg, 24px) var(--space-lg, 24px); }
}

/* ---------- holy sites: the long text, hidden until "Discover more" ---------- */
.sdisc { margin: var(--space-sm, 12px) 0 var(--space-lg, 24px); }
.sdisc > summary {
	display: inline-flex; align-items: center; gap: 6px; padding: 4px 0; cursor: pointer; list-style: none;
	border-bottom: 1px solid currentColor; color: var(--color-accent-deep, #8a6420);
	font-size: var(--text-sm, .875rem); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.sdisc > summary::-webkit-details-marker { display: none; }
.sdisc > summary:hover { color: var(--color-ink, #1b2333); }
.sdisc > summary:focus-visible { outline: 2px solid var(--color-accent, #d6a542); outline-offset: 4px; }
.sdisc > summary svg { transition: transform var(--dur-short, .2s) var(--ease-out, ease-out); }
.sdisc[open] > summary svg { transform: rotate(180deg); }
.sdisc .sdisc-less, .sdisc[open] .sdisc-more { display: none; }
.sdisc[open] .sdisc-less { display: inline; }
.sdisc-body {
	margin-top: var(--space-md, 16px); padding-left: var(--space-md, 16px);
	border-left: 2px solid var(--color-accent, #d6a542); max-width: 62ch;
}
.sdisc-body p, .srow .more .sdisc-body p { margin: 0 0 var(--space-sm, 12px); line-height: 1.65; max-width: none; }
.sdisc-body .sdisc-h, .srow .more .sdisc-body .sdisc-h {
	font-family: var(--font-display, "Cormorant Garamond", Georgia, serif); font-weight: 500;
	font-size: var(--text-xl, 1.5rem); line-height: 1.2; color: var(--color-ink, #1b2333);
}
.sdisc-body .sdisc-best { font-size: var(--text-sm, .875rem); }
.sdisc-best b { color: var(--color-accent-deep, #8a6420); }
.sdisc-verse { margin: var(--space-md, 16px) 0; padding: 0; }
.sdisc-verse p, .srow .more .sdisc-verse p {
	margin: 0 0 4px; color: var(--color-ink, #1b2333);
	font-family: var(--font-display, "Cormorant Garamond", Georgia, serif); font-style: italic; font-size: var(--text-lg, 1.25rem);
}
.sdisc-verse cite { font-style: normal; font-size: var(--text-sm, .875rem); color: var(--color-accent-deep, #8a6420); }
.sdisc-body .sdisc-cta { font-weight: 600; color: var(--color-ink, #1b2333); }
.sdisc .sdisc-btn, .srow .more .sdisc .sdisc-btn { margin: var(--space-xs, 8px) 0 0; }
