/* Independent, zero-build KapliSota gift catalog. */

.order-status-page { overflow-wrap: anywhere; }
.order-timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; padding: 0; margin: 2rem 0; list-style: none; counter-reset: stage; }
.order-timeline li { border-top: 3px solid var(--line); padding: 1rem 0; counter-increment: stage; }
.order-timeline li::before { content: counter(stage, decimal-leading-zero); display: block; color: var(--muted); }
.order-timeline .is-complete { border-color: var(--accent-text); }
.order-timeline [aria-current] strong { color: var(--accent-text); }
.order-timeline strong, .order-timeline time, .order-timeline li > span { display: block; }
.order-timeline time, .order-timeline li > span { font-size: .85rem; color: var(--muted); }
.order-private-details address { font-style: normal; }
.order-status-page .panel { min-width: 0; }
@media (max-width: 600px) {
    .order-timeline { grid-template-columns: 1fr; gap: .25rem; }
    .order-timeline li { border-top: 0; border-left: 3px solid var(--line); padding: .5rem 1rem; }
    .order-timeline li.is-complete { border-color: var(--accent-text); }
}

:root {
    --ivory: #faf8f2;
    --paper: #fffdf8;
    --ink: #3e3e40;
    --muted: #66615b;
    --yellow: #fff500;
    --honey: #ffbf3f;
    --orange: #e98532;
    --accent-text: #9a4b12;
    --honey-light: #fff1cc;
    --line: #ded7ca;
    --error: #913d2b;
    --serif: 'PT Serif', Georgia, serif;
    --sans: 'Golos Text', system-ui, sans-serif;
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 28px;
}

body {
    margin: 0;
    background: var(--ivory);
    color: var(--ink);
    font: 15px/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}

body,
input,
button,
select,
textarea {
    font-family: var(--sans);
}

[hidden] {
    display: none !important;
}

a {
    color: inherit;
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

a:hover {
    color: var(--accent-text);
}

button,
input,
textarea,
select {
    font-size: inherit;
}

button {
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
    opacity: .55;
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
}

:focus-visible {
    outline: 3px solid var(--accent-text);
    outline-offset: 4px;
}

input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline-offset: 2px;
}

::selection {
    background: var(--yellow);
    color: var(--ink);
}

h1,
h2,
h3,
p,
figure {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.15;
    font-weight: 400;
}

h1,
h2 {
    font-family: var(--serif);
    letter-spacing: -.035em;
}

h1 {
    font-size: clamp(42px, 5.5vw, 76px);
}

h2 {
    font-size: clamp(30px, 3.2vw, 44px);
}

h3 {
    font-family: var(--serif);
    font-size: 25px;
    letter-spacing: -.02em;
}

em {
    color: var(--accent-text);
    font-weight: 400;
}

img {
    display: block;
    max-width: 100%;
}

fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.container {
    width: min(1240px, calc(100% - 80px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 12px 20px;
    transform: translateY(-180%);
    background: var(--paper);
    border: 2px solid var(--ink);
    border-radius: 8px;
}

.skip-link:focus {
    transform: none;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 22px;
    min-height: 52px;
    padding: 13px 25px;
    border: 1px solid var(--ink);
    border-radius: 100px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: none;
    transition: background .18s, box-shadow .18s;
}

.button:hover:not(:disabled) {
    background: var(--honey);
    color: var(--ink);
    box-shadow: 0 4px 16px #3e3e401a;
}

.button-outline {
    color: var(--ink);
    background: transparent;
}

.button-outline:hover:not(:disabled) {
    background: var(--honey-light);
    color: var(--ink);
}

.button-small {
    min-height: 44px;
    padding: 10px 18px;
    font-size: 13px;
    gap: 14px;
}

.full-width {
    width: 100%;
}

.eyebrow {
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.muted,
.form-note,
.field-help {
    color: var(--muted);
}

.form-note,
.field-help {
    font-size: 12px;
    line-height: 1.65;
}

.site-header {
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.header-inner {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    font: 25px/1.2 var(--serif);
    text-decoration: none;
    white-space: nowrap;
}

.brand small {
    display: block;
    margin-top: 6px;
    font: 9px/1.4 var(--sans);
    letter-spacing: .12em;
    text-transform: uppercase;
}

.brand-symbol {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.header-nav {
    display: flex;
    gap: 28px;
    align-items: center;
    font-size: 13px;
}

.header-nav a {
    text-decoration: none;
}

.header-contact {
    color: var(--muted);
}

.hero {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: 80px;
    padding-block: 72px 80px;
}

.hero-copy .eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hero-copy .eyebrow span {
    font-size: 22px;
    color: var(--accent-text);
}

.hero h1 {
    margin-bottom: 24px;
}

.hero-lede {
    max-width: 490px;
    margin-bottom: 30px;
    font-size: 17px;
    color: var(--muted);
}

.hero-note {
    max-width: 380px;
    margin: 18px 0 0;
    font-size: 12px;
    color: var(--muted);
}

.hero-note-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 70px 38px 25px;
    min-height: 420px;
    border: 1px solid #e2bb68;
    border-radius: 32px;
    background: linear-gradient(145deg, var(--honey-light), #ffe1a0);
    text-align: center;
}

/* Replace the legacy leaf decoration without changing the catalog template. */
.botanical {
    display: none;
}

.hero-note-card::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: .16;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='208' viewBox='0 0 120 208'%3E%3Cg fill='none' stroke='%239a4b12' stroke-width='1.5'%3E%3Cpath d='M30 0 60 17.3V52L30 69.3 0 52V17.3ZM90 0 120 17.3V52L90 69.3 60 52V17.3ZM60 52 90 69.3V104L60 121.3 30 104V69.3ZM0 52 30 69.3V104L0 121.3-30 104V69.3ZM120 52 150 69.3V104L120 121.3 90 104V69.3ZM30 104 60 121.3V156L30 173.3 0 156V121.3ZM90 104 120 121.3V156L90 173.3 60 156V121.3ZM60 156 90 173.3V208L60 225.3 30 208V173.3ZM0 156 30 173.3V208L0 225.3-30 208V173.3ZM120 156 150 173.3V208L120 225.3 90 208V173.3Z'/%3E%3C/g%3E%3C/svg%3E") center / 120px 208px;
}

.hero-note-card .eyebrow {
    position: relative;
    max-width: 215px;
    margin: 0 auto 32px;
    color: var(--ink);
    line-height: 1.8;
}

.hero-note-card blockquote {
    margin: 0 0 16px;
    font: italic clamp(30px, 3.3vw, 45px)/1.3 var(--serif);
    letter-spacing: -.03em;
}

.verse-reference {
    margin: 0 0 38px;
    color: var(--ink);
    font-size: 12px;
}

.note-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 22px;
    border-top: 1px solid #c99742;
    font-size: 10px;
}

.note-card-bottom>span:nth-child(2) {
    font-size: 21px;
}

.how-band {
    background: #f2ede3;
    border-block: 1px solid var(--line);
}

.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    padding-block: 27px;
}

.how-grid>div {
    display: flex;
    gap: 17px;
    align-items: center;
}

.step-number {
    display: grid;
    width: 42px;
    height: 46px;
    flex-shrink: 0;
    place-items: center;
    background: var(--honey);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    color: var(--ink);
    font: 17px var(--serif);
}

.how-grid p {
    margin: 0;
}

.how-grid strong,
.how-grid p span {
    display: block;
}

.how-grid strong {
    font-size: 13px;
    font-weight: 500;
}

.how-grid p span {
    font-size: 11px;
    color: var(--muted);
    margin-top: 4px;
}

.catalog-body {
    padding-block: 65px 90px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 30px;
}

.section-heading .eyebrow {
    margin-bottom: 12px;
    color: var(--muted);
}

.section-heading h2 {
    margin-bottom: 0;
}

.section-heading>p {
    margin: 0 0 4px;
    color: var(--muted);
    font-size: 12px;
}

.catalog-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 18px;
    margin-bottom: 26px;
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 1 260px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 50px;
    background: var(--paper);
}

.search-field>span {
    font-size: 24px;
    line-height: 1;
}

.search-field input {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 13px;
}

.filter-chips {
    display: flex;
    flex: 1;
    flex-wrap: wrap;
    gap: 7px;
}

.filter-chip {
    min-height: 44px;
    padding: 10px 15px;
    border: 1px solid var(--line);
    border-radius: 100px;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}

.filter-chip:hover {
    background: var(--honey-light);
}

.filter-chip[aria-pressed='true'] {
    background: var(--yellow);
    border-color: var(--ink);
    color: var(--ink);
    font-weight: 600;
}

.filter-status {
    width: 100%;
    margin: -8px 0 0;
    font-size: 11px;
    color: var(--muted);
}

.resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.resource-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
    transition: box-shadow .2s;
}

.resource-card:hover {
    box-shadow: 0 12px 30px #3e3e4010;
}

.card-media {
    position: relative;
    background: #f2eee6;
}

.gallery {
    position: relative;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: #a3998a transparent;
}

.gallery-slide {
    flex: 0 0 100%;
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}

.gallery-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
    background: #f2eee6;
}

.photo-link {
    display: block;
}

.photo-link:focus-visible {
    outline-offset: -5px;
}

.gallery-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 8px 12px;
    background: #f2eee6;
}

.icon-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fffdf8cc;
    color: var(--ink);
    font-size: 18px;
}

.icon-button:hover {
    background: var(--yellow);
}

.gallery-counter {
    min-width: 36px;
    text-align: center;
    color: var(--muted);
    font-size: 11px;
}

.badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 12px;
    border: 1px solid var(--honey);
    border-radius: 100px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 10px;
    font-weight: 600;
}

.badge-inline {
    display: inline-block;
    position: static;
    margin-bottom: 20px;
}

.image-fallback {
    flex: 0 0 100%;
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 36px;
    text-align: center;
    background: linear-gradient(145deg, var(--honey-light), #f5eee0);
}

.fallback-emblem {
    display: grid;
    place-items: center;
    width: 66px;
    height: 76px;
    background: var(--honey);
    clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
    color: var(--ink);
    font: 23px var(--serif);
}

.image-fallback>span:not(.fallback-emblem) {
    font-size: 10px;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.image-fallback strong {
    font: 27px/1.2 var(--serif);
}

.image-fallback small {
    color: var(--muted);
    font-size: 11px;
}

.card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 22px;
}

.card-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-bottom: 11px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.card-content h3 {
    margin-bottom: 10px;
    font-size: 25px;
}

.card-content h3 a {
    text-decoration: none;
}

.card-content h3 a:hover {
    text-decoration: underline;
}

.card-subtitle {
    color: var(--accent-text);
    font-size: 12px;
    margin-bottom: 10px;
}

.card-description {
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 12px;
}

.card-donation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 12px;
    padding-bottom: 20px;
    margin-top: auto;
}

.card-donation>strong {
    font: 25px var(--serif);
}

.card-donation>span {
    font-size: 9px;
    line-height: 1.5;
    color: var(--muted);
}

.card-donation>a {
    margin-left: auto;
    font-size: 10px;
}

.variant-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 13px 0;
    border-top: 1px solid var(--line);
}

.variant-row:last-child {
    padding-bottom: 0;
}

.variant-row>div:first-child {
    min-width: 0;
}

.variant-row label {
    display: block;
    font-size: 12px;
    line-height: 1.4;
}

.variant-row small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 10px;
}

.variant-unavailable label {
    color: var(--muted);
}

.quantity-control {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    border: 1px solid var(--line);
    border-radius: 100px;
    overflow: hidden;
}

.quantity-control input {
    width: 58px;
    min-height: 44px;
    padding: 5px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    text-align: center;
    font-size: 13px;
}

.quantity-control.is-enhanced input {
    width: 36px;
    appearance: textfield;
    -moz-appearance: textfield;
}

.quantity-control.is-enhanced input::-webkit-inner-spin-button,
.quantity-control.is-enhanced input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-button {
    width: 38px;
    min-height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    font-size: 18px;
}

.quantity-button:hover:not(:disabled) {
    background: var(--honey-light);
}

.quantity-control:focus-within {
    outline: 2px solid var(--accent-text);
    outline-offset: 3px;
}

.empty-state {
    grid-column: 1 / -1;
    padding: 55px 24px;
    border: 1px dashed #b9a885;
    border-radius: var(--radius);
    text-align: center;
    background: #f5efe2;
}

.empty-state>span {
    display: block;
    font-size: 30px;
    margin-bottom: 10px;
}

.empty-state h3 {
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--muted);
    max-width: 520px;
    margin-inline: auto;
}

.checkout-section {
    padding-top: 85px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 30px;
    align-items: start;
}

.panel {
    padding: 32px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--paper);
}

.checkout-form>.muted,
.donation-section>.muted {
    font-size: 12px;
}

.checkout-form h3 {
    margin-bottom: 12px;
}

.fields-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 24px;
}

.form-field {
    min-width: 0;
}

.form-field>label {
    display: block;
    margin-bottom: 7px;
    font-size: 12px;
    font-weight: 500;
}

.field-wide {
    grid-column: 1 / -1;
}

.form-field input:not([type='radio']):not([type='checkbox']),
.form-field select,
.form-field textarea {
    display: block;
    width: 100%;
    min-height: 48px;
    padding: 11px 13px;
    border: 1px solid #b9b0a2;
    border-radius: 10px;
    background: var(--paper);
    color: var(--ink);
}

.form-field textarea {
    min-height: 105px;
    resize: vertical;
}

.form-field .field-help {
    margin-top: 6px;
}

.form-field [role='radiogroup'],
.form-field ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.form-field input[type='radio'],
.consent-field input[type='checkbox'] {
    accent-color: var(--ink);
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.form-field label:has(input[type='radio']) {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 14px 8px 0;
}

.required-mark {
    color: var(--accent-text);
}

.donation-section {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.donation-section .form-field {
    margin-top: 18px;
}

.text-button {
    padding: 8px 0;
    min-height: 44px;
    border: 0;
    background: transparent;
    color: var(--accent-text);
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 12px;
    text-align: left;
}

.payment-notes {
    font-size: 12px;
    color: var(--muted);
    margin-top: 12px;
}

.payment-notes p {
    margin-bottom: 8px;
}

.consent-field {
    display: flex;
    align-items: start;
    flex-wrap: wrap;
    gap: 10px;
    margin-block: 28px 18px;
    font-size: 12px;
}

.consent-field input {
    margin: 3px 0 0;
}

.consent-field>label {
    flex: 1;
}

.consent-field>.field-errors {
    width: 100%;
}

.order-summary {
    position: sticky;
    top: 24px;
    background: #fff3d6;
}

.summary-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 20px;
}

.summary-heading>span {
    font-size: 25px;
    color: var(--accent-text);
    line-height: 1;
}

.summary-heading h3 {
    max-width: 280px;
}

.order-summary>.muted {
    font-size: 13px;
}

.summary-lines {
    padding: 0;
    margin: 0 0 18px;
    list-style: none;
}

.summary-lines>li {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 18px;
    padding-block: 14px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.summary-lines strong {
    font-weight: 500;
}

.summary-lines small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
}

.summary-lines>li>span {
    white-space: nowrap;
}

.summary-totals {
    margin: 0 0 18px;
}

.summary-totals>div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-block: 6px;
    font-size: 13px;
}

.summary-totals dd {
    margin: 0;
    white-space: nowrap;
}

.summary-totals .recommended-total {
    align-items: center;
    margin-top: 14px;
    padding-block: 18px 8px;
    border-top: 1px solid #d8bf8d;
    font-weight: 500;
}

.recommended-total dt {
    max-width: 160px;
    line-height: 1.4;
}

.recommended-total dd {
    font: 30px var(--serif);
}

.shipping-progress {
    margin-block: 0 22px;
    padding: 13px 15px;
    border: 1px solid #d8b45e;
    border-radius: 12px;
    background: var(--honey-light);
    font-size: 11px;
}

.order-summary .button {
    margin-bottom: 12px;
}

.summary-help {
    margin-top: 16px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    font-size: 12px;
}

.summary-help p {
    margin-bottom: 4px;
    color: var(--muted);
}

.notice {
    padding: 22px 25px;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: #f5efe2;
    font-size: 13px;
}

.notice p {
    margin: 6px 0 12px;
}

.notice p:last-child {
    margin-bottom: 0;
}

.notice h2 {
    font: 23px var(--serif);
    margin-bottom: 14px;
}

.notice-warning {
    background: var(--honey-light);
    border-color: #d8b45e;
    color: var(--ink);
}

.notice-error {
    background: #f9ede7;
    border-color: #dab6a6;
    color: var(--error);
}

.notice-error ul {
    padding-left: 20px;
    margin-bottom: 0;
}

.field-errors {
    color: var(--error);
    font-size: 12px;
}

.field-errors p {
    margin: 6px 0 0;
}

.has-error input,
.has-error select,
.has-error textarea,
[aria-invalid='true'] {
    border-color: var(--error) !important;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
}

.site-footer {
    border-top: 3px solid var(--honey);
    background: var(--ink);
    color: var(--paper);
}

.site-footer a:hover {
    color: var(--yellow);
}

.site-footer :focus-visible {
    outline-color: var(--yellow);
}

.site-footer .brand {
    color: var(--yellow);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 55px;
    padding-block: 48px 35px;
}

.footer-grid p {
    margin: 16px 0 0;
    font-size: 12px;
    color: #ded7ca;
}

.footer-grid h2 {
    margin-bottom: 15px;
    font: 11px var(--sans);
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-grid>div>a:not(.brand) {
    display: block;
    width: fit-content;
    margin-bottom: 9px;
    font-size: 12px;
    text-decoration: none;
}

.footer-grid>div>a:not(.brand):hover {
    text-decoration: underline;
}

.footer-grid .recharge-link {
    color: #c9c3b9;
    font-size: 11px;
    margin-top: 22px;
}

.footer-grid .recharge-link:hover {
    color: var(--yellow);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid #64615c;
    padding-block: 19px 24px;
    color: #c9c3b9;
    font-size: 10px;
}

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 12px;
}

.detail-page {
    padding-block: 40px 80px;
}

.detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 65px;
    align-items: start;
}

.detail-grid>* {
    min-width: 0;
}

.gallery-detail {
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.detail-copy h1 {
    font-size: clamp(34px, 4vw, 54px);
    margin-bottom: 18px;
}

.detail-copy .eyebrow {
    font-size: 10px;
}

.detail-subtitle {
    color: var(--muted);
    font-size: 17px;
}

.detail-donation {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-block: 28px;
}

.detail-donation strong {
    font: 34px var(--serif);
}

.detail-donation span {
    max-width: 190px;
    color: var(--muted);
    font-size: 12px;
}

.small-heading {
    font: 24px/1.25 var(--serif);
    letter-spacing: -.02em;
}

.detail-variants {
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

.detail-variants li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding-block: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 12px;
}

.detail-variants strong {
    font-weight: 500;
}

.detail-variants span {
    color: var(--muted);
    text-align: right;
}

.source-link {
    display: block;
    width: fit-content;
    font-size: 12px;
    margin-block: 20px;
}

.product-purchase {
    margin-block: 28px;
    padding: 28px;
    border: 1px solid #d8bf8d;
    border-top: 4px solid var(--honey);
    border-radius: var(--radius);
    background: #fff3d6;
}

.product-purchase h2,
.product-purchase h3 {
    margin-bottom: 16px;
}

.product-purchase .detail-donation {
    flex-wrap: wrap;
    margin-top: 0;
}

.product-purchase .variant-row {
    flex-wrap: wrap;
}

.product-purchase .button {
    margin-top: 20px;
    width: 100%;
}

.detail-page .detail-sections {
    max-width: 78ch;
    margin: 48px auto 0;
    overflow-wrap: anywhere;
}

.detail-sections>section {
    padding-block: 28px;
    border-top: 1px solid var(--line);
}

.detail-sections h2 {
    margin-bottom: 20px;
    font-size: clamp(28px, 3vw, 36px);
}

.detail-sections p,
.detail-sections li {
    max-width: 68ch;
    line-height: 1.85;
}

.detail-sections ul,
.detail-sections ol {
    padding-left: 24px;
}

.detail-sections li+li {
    margin-top: 8px;
}

.product-video {
    max-width: 100%;
    margin-block: 28px;
}

.product-video video {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--ink);
}

.product-video figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.prose {
    font-size: 15px;
    line-height: 1.85;
}

.prose h2 {
    margin-block: 35px 16px;
    font-size: 29px;
}

.prose p {
    color: var(--muted);
}

.prose .lead {
    font-size: 18px;
}

.privacy-page {
    max-width: 820px;
    padding-block: 40px 80px;
}

.privacy-page h1 {
    font-size: clamp(35px, 4.8vw, 59px);
}

.back-link {
    display: inline-block;
    margin-bottom: 40px;
    font-size: 12px;
}

.resource-description {
    font-size: 14px;
}

.confirmation-page {
    max-width: 1040px;
    padding-block: 60px 85px;
}

.confirmation-heading {
    max-width: 770px;
    margin: 0 auto 45px;
    text-align: center;
}

.confirmation-heading h1 {
    font-size: clamp(37px, 5vw, 62px);
    margin-bottom: 22px;
}

.confirmation-heading>p:not(.eyebrow) {
    max-width: 590px;
    margin-inline: auto;
    color: var(--muted);
}

.confirmation-mark {
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    margin: 0 auto 25px;
    border: 1px solid var(--honey);
    border-radius: 50%;
    background: var(--yellow);
    color: var(--ink);
    font-size: 29px;
}

.confirmation-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 25px;
    align-items: start;
}

.reference {
    overflow-wrap: anywhere;
    font-size: 11px;
    color: var(--muted);
}

.reference strong {
    display: block;
    font-weight: 500;
    color: var(--ink);
    margin-top: 4px;
}

.payment-panel {
    background: #fff3d6;
}

.payment-panel h2 {
    font-size: 32px;
}

.payment-panel p {
    font-size: 13px;
}

.confirmation-return {
    text-align: center;
    margin-top: 35px;
}

@media (min-width: 1400px) {
    .hero {
        gap: 120px;
    }
}

@media (max-width: 1100px) {
    .container {
        width: calc(100% - 48px);
    }

    .header-nav {
        gap: 20px;
    }

    .header-contact {
        display: none;
    }

    .hero {
        gap: 40px;
    }

    .resource-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
        gap: 22px;
    }

    .panel {
        padding: 24px;
    }

    .how-grid {
        gap: 20px;
    }

    .detail-grid {
        gap: 35px;
    }
}

@media (max-width: 760px) {
    html {
        scroll-padding-top: 16px;
    }

    .container {
        width: calc(100% - 36px);
    }

    .header-inner {
        min-height: 80px;
        gap: 12px;
    }

    .brand {
        font-size: 21px;
        gap: 8px;
    }

    .brand-symbol {
        width: 38px;
        height: 38px;
    }

    .brand small {
        font-size: 7px;
        letter-spacing: .07em;
    }

    .header-nav {
        display: none;
    }

    .header-inner>.button {
        font-size: 11px;
        padding-inline: 13px;
        gap: 7px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 34px;
        padding-block: 38px 42px;
    }

    .hero h1 {
        font-size: clamp(46px, 9vw, 66px);
    }

    .hero-lede {
        font-size: 15px;
    }

    .hero-note-card {
        min-height: 300px;
        border-radius: 24px;
        padding: 40px 28px 20px;
    }

    .hero-note-card .eyebrow {
        max-width: none;
        margin-bottom: 20px;
        font-size: 10px;
    }

    .hero-note-card blockquote {
        font-size: 34px;
    }

    .verse-reference {
        margin-bottom: 24px;
    }

    .how-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding-block: 24px;
    }

    .how-grid strong {
        font-size: 13px;
    }

    .how-grid p span {
        font-size: 12px;
    }

    .catalog-body {
        padding-block: 40px 55px;
    }

    .section-heading {
        display: block;
    }

    .section-heading>p {
        margin-top: 15px;
    }

    .section-heading h2 {
        font-size: 33px;
    }

    .search-field {
        flex-basis: 100%;
    }

    .filter-chips {
        flex-basis: 100%;
    }

    .catalog-tools {
        gap: 12px;
    }

    .filter-status {
        margin-top: 0;
    }

    .filter-chip {
        padding-inline: 14px;
        font-size: 11px;
    }

    .resource-grid {
        gap: 16px;
    }

    .card-content {
        padding: 18px;
    }

    .card-content h3 {
        font-size: 24px;
    }

    .checkout-section {
        padding-top: 55px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .order-summary {
        position: static;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding-block: 35px;
    }

    .footer-grid>div:first-child {
        grid-column: 1 / -1;
    }

    .footer-grid>div:first-child p {
        margin-top: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 5px;
    }

    .mobile-cart {
        position: fixed;
        z-index: 20;
        bottom: 12px;
        bottom: max(12px, env(safe-area-inset-bottom));
        left: 18px;
        right: 18px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        max-width: 520px;
        margin-inline: auto;
        padding: 12px 15px;
        border: 1px solid #d8bf8d;
        border-radius: 18px;
        background: #fffdf8f5;
        box-shadow: 0 8px 30px #3e3e4026;
    }

    .mobile-cart>div {
        display: grid;
        grid-template-columns: auto auto;
        gap: 1px 12px;
        align-items: baseline;
    }

    .mobile-cart>div>span {
        font-size: 12px;
    }

    .mobile-cart strong {
        font: 25px var(--serif);
    }

    .mobile-cart small {
        grid-column: 2;
        font-size: 9px;
        color: var(--muted);
    }

    .has-mobile-cart .site-footer {
        padding-bottom: 110px;
    }

    .has-mobile-cart {
        scroll-padding-bottom: 115px;
    }

    .has-mobile-cart :focus {
        scroll-margin-bottom: 120px;
    }

    .detail-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .detail-copy h1 {
        font-size: 40px;
    }

    .detail-page {
        padding-block: 28px 55px;
    }

    .product-purchase {
        padding: 22px;
    }

    .detail-page .detail-sections {
        margin-top: 32px;
    }

    .confirmation-grid {
        grid-template-columns: 1fr;
    }

    .confirmation-page {
        padding-block: 40px 60px;
    }

    .privacy-page {
        padding-bottom: 55px;
    }
}

@media (max-width: 580px) {
    .resource-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .card-content {
        padding: 23px;
    }

    .card-description {
        font-size: 13px;
    }

    .card-donation>a {
        font-size: 12px;
    }

    .card-donation>span {
        font-size: 10px;
    }

    .variant-row label {
        font-size: 13px;
    }

    .variant-row small {
        font-size: 11px;
    }

    .fields-grid {
        grid-template-columns: 1fr;
    }

    .panel {
        padding: 23px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .summary-totals .recommended-total dd {
        font-size: 29px;
    }

    .notice {
        padding: 18px;
    }
}

@media (min-width: 761px) {
    .mobile-cart {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
        animation: none !important;
    }
}

.header-inner {
    flex-wrap: wrap;
}

.language-chooser {
    display: flex;
    align-items: center;
    gap: .4rem;
    margin: 0;
}

.language-chooser select,
.language-chooser button {
    font: inherit;
    padding: .4rem .55rem;
    border: 1px solid currentColor;
    border-radius: .5rem;
    background: transparent;
    color: inherit;
}

.language-chooser button {
    cursor: pointer;
}

.bulk-note {
    font-size: .875rem;
}

@media print {
    body {
        background: white;
    }

    .site-header,
    .site-footer,
    .mobile-cart,
    .catalog-tools,
    .gallery-controls,
    .quantity-button,
    .button {
        display: none !important;
    }

    .container {
        width: 100%;
    }

    .panel,
    .resource-card {
        break-inside: avoid;
    }

    .order-summary {
        position: static;
    }
}