/* KitaDonasi store pages, on top of the Edutech theme (tokens: --navy, --sky, --paper, --line, --muted, --radius, --font). */

.kds-hero--slim { padding-block: clamp(40px, 6vw, 72px); }
.kds-hero--slim .h-hero { margin-top: 12px; }
.kds-band { padding-block: clamp(40px, 6vw, 80px); }

.kds-note { margin-top: 20px; font-size: 0.92rem; color: var(--muted, #5b6372); }
.band--dark .kds-note { color: var(--muted-dark, #9aa3b2); }
.kds-checks { border-top-color: var(--line, #dde2ea); }
.kds-checks li { border-bottom-color: var(--line, #dde2ea); }
.kds-checks li span { color: var(--muted, #5b6372); }
.kds-checks svg { color: var(--blue, #31619b); }

/* Checkout */
.kds-checkout { display: grid; gap: clamp(24px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 960px) { .kds-checkout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.kds-narrow { max-width: 760px; }

.kds-form, .kds-card, .kds-aside { background: var(--white, #fff); border: 1px solid var(--line, #dde2ea); border-radius: calc(var(--radius, 6px) * 2); padding: clamp(20px, 3vw, 32px); }
.kds-aside { position: sticky; top: 96px; }
.kds-form fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.kds-form legend { font-weight: 600; font-size: 1.05rem; margin-bottom: 14px; }
.kds-field { display: block; margin-bottom: 16px; }
.kds-field > span { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 6px; }
.kds-field input, .kds-field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line, #dde2ea); border-radius: var(--radius, 6px); font: inherit; background: var(--white, #fff); color: var(--ink, #0b0d12); }
.kds-field input:focus { outline: 2px solid var(--blue, #31619b); outline-offset: 1px; border-color: transparent; }
.kds-field small { display: block; margin-top: 6px; color: var(--muted, #5b6372); font-size: 0.85rem; }
.kds-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.kds-plans { display: grid; gap: 10px; }
.kds-plan { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line, #dde2ea); border-radius: var(--radius, 6px); cursor: pointer; transition: border-color .15s, background .15s; }
.kds-plan:has(input:checked) { border-color: var(--blue, #31619b); background: var(--paper, #f5f7fa); box-shadow: inset 0 0 0 1px var(--blue, #31619b); }
.kds-plan strong { display: block; }
.kds-plan small { display: block; color: var(--muted, #5b6372); font-size: 0.85rem; }
.kds-plan b { white-space: nowrap; }
.kds-plan b small { display: inline; font-weight: 400; }
.kds-plan input, .kds-check input { accent-color: var(--blue, #31619b); width: 18px; height: 18px; }
.kds-check { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border: 1px solid var(--line, #dde2ea); border-radius: var(--radius, 6px); margin-bottom: 10px; cursor: pointer; }
.kds-check:has(input:checked) { border-color: var(--blue, #31619b); background: var(--paper, #f5f7fa); }
.kds-methods { display: grid; gap: 0 10px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.kds-list { list-style: none; padding: 0; margin: 16px 0 0; }
.kds-list li { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line, #dde2ea); }
.kds-list svg { width: 18px; height: 18px; flex: none; margin-top: 3px; color: var(--blue, #31619b); }

.kds-alert { padding: 14px 16px; border-radius: var(--radius, 6px); background: #fdecec; color: #8a1c13; margin-bottom: 20px; }
.kds-alert--info { background: var(--sky, #d5e4f7); color: var(--ink, #0b0d12); }
.kds-info { padding: 14px 16px; border-radius: var(--radius, 6px); background: var(--paper, #f5f7fa); border: 1px solid var(--line, #dde2ea); margin: 0 0 22px; }

/* Order & account */
.kds-card + .kds-card { margin-top: 20px; }
.kds-card__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.kds-dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px 24px; margin: 0 0 24px; }
.kds-dl dt { font-size: 0.82rem; color: var(--muted, #5b6372); }
.kds-dl dd { margin: 2px 0 0; font-weight: 600; overflow-wrap: anywhere; }
.kds-key code { display: inline-block; font-family: var(--mono, monospace); font-size: clamp(1rem, 3.6vw, 1.35rem); font-weight: 700; letter-spacing: .04em; background: var(--paper-2, #eaeef4); padding: 10px 14px; border-radius: var(--radius, 6px); overflow-wrap: anywhere; }
.kds-badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; background: var(--paper-2, #eaeef4); }
.kds-badge--paid, .kds-badge--active { background: #e3f4ea; color: #146c3a; }
.kds-badge--unpaid { background: #fff4df; color: #8a5300; }
.kds-badge--expired, .kds-badge--revoked { background: #fdecec; color: #8a1c13; }
.kds-steps { padding-left: 1.2em; }
.kds-steps li { margin-bottom: 8px; }
.kds-gap { margin-top: 28px; }
.kds-sites { list-style: none; padding: 0; margin: 0 0 20px; border-top: 1px solid var(--line, #dde2ea); }
.kds-sites li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line, #dde2ea); }
.kds-sites small { display: block; color: var(--muted, #5b6372); font-size: 0.85rem; }
.kds-who { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 0 0 20px; }
.kds-inline { display: inline; margin: 0; }
.kds-link { background: none; border: 0; padding: 0; font: inherit; color: var(--blue, #31619b); text-decoration: underline; cursor: pointer; }
.kds-card .btn-row { margin-top: 8px; }

/* Landing: hero screenshot, feature showcase, gallery */
.kds-hero__shot { margin: clamp(32px, 5vw, 56px) 0 0; }
.kds-hero__shot img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius, 6px) * 2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6); }
.kds-hero__shot figcaption { margin-top: 12px; font-size: 0.82rem; color: var(--muted-dark, #9aa3b2); text-align: center; }

.kds-show { display: grid; gap: clamp(48px, 8vw, 104px); }
.kds-show__row { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) {
	.kds-show__row { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
	.kds-show__row.is-flip .kds-show__media { order: 2; }
}
.kds-show__media { margin: 0; }
.kds-show__media img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius, 6px) * 3); border: 1px solid var(--line, #dde2ea); background: var(--white, #fff); }
.kds-show__num { display: inline-block; color: var(--blue, #31619b); font-size: 0.85rem; margin-bottom: 10px; }
.kds-show__text h3 { margin-bottom: 12px; }
.kds-show__text p { color: var(--muted, #5b6372); margin-bottom: 8px; }

.kds-gallery { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.kds-gallery figure { margin: 0; }
.kds-gallery img { display: block; width: 100%; height: auto; border-radius: calc(var(--radius, 6px) * 2); border: 1px solid var(--line, #dde2ea); }
.kds-gallery figcaption { margin-top: 10px; font-size: 0.92rem; color: var(--muted, #5b6372); }

/* Hero on phones: let the column shrink, wrap long buttons, smaller headline. */
.kds-hero .hero__grid > * { min-width: 0; }
.kds-hero .btn-row { flex-wrap: wrap; }
.kds-hero .btn { max-width: 100%; white-space: normal; }
@media (max-width: 640px) {
	.kds-hide-sm { display: none; }
	.kds-hero .h-hero { font-size: clamp(2rem, 9.6vw, 2.6rem); overflow-wrap: anywhere; }
	.kds-hero .btn-row .btn { flex: 1 1 100%; justify-content: space-between; }
	.kds-hero__shot img { border-radius: var(--radius, 6px); }
}

/* Struck-through regular price */
.kds-was { display: flex; gap: 10px; align-items: center; margin: 4px 0 -6px; font-size: 0.95rem; color: var(--muted, #5b6372); }
.kds-was s { text-decoration-thickness: 1.5px; }
.kds-was span { font-size: 0.75rem; font-weight: 700; letter-spacing: .02em; padding: 3px 8px; border-radius: 999px; background: #e3f4ea; color: #146c3a; }
.price--featured .kds-was { color: inherit; opacity: .85; }
.kds-was-inline { display: block; font-weight: 400; font-size: 0.8rem; color: var(--muted, #5b6372); text-align: right; }
@media (max-width: 560px) {
	.kds-plan { grid-template-columns: auto minmax(0, 1fr); row-gap: 6px; }
	.kds-plan > b { grid-column: 2; text-align: left; }
	.kds-was-inline { display: inline; margin-right: 8px; text-align: left; }
}
