/** Shopify CDN: Minification failed

Line 511:0 Unexpected "}"

**/
/* ============================================================================
   Kerygma Ventures — Brand polish layer (loaded after base.css)
   Display: Fraunces  ·  Body/UI: Poppins  ·  Brand green #497439
   This file refines Dawn's defaults; it does not fight the theme's structure.
   ========================================================================== */

/* ----- Optima (brand typeface, self-hosted) ---------------------------- */
@font-face { font-family: 'Optima'; font-style: normal; font-weight: 400; font-display: swap; src: url('optima-regular.ttf') format('truetype'); }
@font-face { font-family: 'Optima'; font-style: normal; font-weight: 500; font-display: swap; src: url('optima-medium.ttf') format('truetype'); }
@font-face { font-family: 'Optima'; font-style: normal; font-weight: 600 700; font-display: swap; src: url('optima-bold.ttf') format('truetype'); }
@font-face { font-family: 'Optima'; font-style: italic; font-weight: 400; font-display: swap; src: url('optima-italic.ttf') format('truetype'); }

:root {
  /* Brand typeface — Optima across the board (matches kerygmaventures.com) */
  --font-heading-family: 'Optima', Candara, 'Gill Sans', 'Gill Sans MT', 'Segoe UI', 'Trebuchet MS', sans-serif;
  --font-body-family: 'Optima', Candara, 'Gill Sans', 'Gill Sans MT', 'Segoe UI', 'Trebuchet MS', sans-serif;

  /* Brand tokens (mirrors theme color schemes for use in custom sections) */
  --kv-green: #497439;
  --kv-green-deep: #3a5c2e;
  --kv-green-soft: #8fae6f;
  --kv-charcoal: #394240;
  --kv-ink: #2b302e;
  --kv-cream: #f7f4f0;
  --kv-sage: #ebf0e6;

  /* Motion */
  --kv-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----- Global feel ----------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  letter-spacing: 0.005em;
}

::selection { background: var(--kv-green); color: #fff; }

/* ----- Headings: Fraunces, tighter and more expressive ----------------- */
h1, h2, h3, h4, h5, h6,
.h0, .h1, .h2, .h3, .h4, .h5,
.title,
.banner__heading,
.section-heading,
.rich-text__heading {
  font-family: var(--font-heading-family);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.08;
  font-optical-sizing: auto;
}

/* Fluid hero / display sizing for real impact on large screens */
.banner__heading,
.h0 {
  font-size: clamp(3.2rem, 1.6rem + 5vw, 7rem);
  font-weight: 600;
  line-height: 1.02;
}

h1, .h1 { font-size: clamp(2.8rem, 1.8rem + 3vw, 5rem); }
h2, .h2 { font-size: clamp(2.4rem, 1.6rem + 1.8vw, 3.6rem); }

/* Body copy: comfortable measure & rhythm */
.rich-text__text,
.banner__text,
p { line-height: 1.6; }

/* ----- Buttons: smooth, confident, gently lifting ---------------------- */
.button,
.shopify-payment-button__button--unbranded,
button.button {
  font-family: var(--font-body-family);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: none;
  transition: transform 0.28s var(--kv-ease), box-shadow 0.28s var(--kv-ease),
              background-color 0.2s ease, color 0.2s ease;
  min-height: 4.6rem;
  padding: 0 2.6rem;
}

.button:not([disabled]):hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(43, 48, 46, 0.18);
}

.button:not([disabled]):active { transform: translateY(0); }

/* Primary CTA gets a touch more presence */
.button--primary,
.banner__buttons .button:first-child {
  letter-spacing: 0.02em;
}

/* ----- Links: animated underline (in rich text / nav body) ------------- */
.rich-text__text a:not(.button),
.banner__text a:not(.button) {
  color: var(--kv-green);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s var(--kv-ease);
  padding-bottom: 1px;
}
.rich-text__text a:not(.button):hover,
.banner__text a:not(.button):hover { background-size: 100% 2px; }

/* ----- Header: cleaner, more premium spacing --------------------------- */
.header {
  padding-top: 1.4rem;
  padding-bottom: 1.4rem;
}
.header__menu-item {
  font-family: var(--font-body-family);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.header__menu-item span { transition: color 0.2s ease; }
.header__active-menu-item { color: var(--kv-green); }

/* ----- Cards: smooth media zoom + lift -------------------------------- */
.card-wrapper,
.card {
  transition: transform 0.35s var(--kv-ease), box-shadow 0.35s var(--kv-ease);
}
.card__media .media img {
  transition: transform 0.7s var(--kv-ease);
}
.card-wrapper:hover .card__media .media img {
  transform: scale(1.045);
}

/* ----- Focus visibility (accessibility) -------------------------------- */
a:focus-visible,
button:focus-visible,
.button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--kv-green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ----- Collapsible / accordion (used by "The Gospel" section) ---------- */
.accordion summary,
.collapsible-content summary {
  font-family: var(--font-heading-family);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* ----- Section reveal: a slightly richer entrance ---------------------- */
@media (prefers-reduced-motion: no-preference) {
  .scroll-trigger.animate--slide-in {
    --animation-duration: 0.9s;
  }
}

/* ----- Header logo + CTA ---------------------------------------------- */
.kv-logo-img { height: 4.6rem; width: auto; display: block; }
@media screen and (min-width: 990px) { .kv-logo-img { height: 5.4rem; } }

/* CTA sits at the right of the header, just before the search/account/cart icons */
.header__icons .kv-header-cta.button {
  min-height: 0;
  padding: 1.1rem 2.4rem;
  margin-right: 0.8rem;
  font-size: 1.4rem;
  white-space: nowrap;
  align-self: center;
  order: -1;
}
@media screen and (max-width: 989px) {
  .header__icons .kv-header-cta.button { padding: 0.9rem 1.6rem; font-size: 1.3rem; margin-right: 0.4rem; }
}

/* ----- Quotes / blockquote polish for teaching content ----------------- */
blockquote {
  font-family: var(--font-heading-family);
  font-style: italic;
  font-size: 1.5em;
  line-height: 1.35;
  color: var(--kv-charcoal);
  border-left: 3px solid var(--kv-green);
  padding-left: 2rem;
}

/* ============================================================
   Product cards — uniform, clean catalog tiles
   ============================================================ */
/* Force one consistent media box for every card (overrides 'adapt'/portrait/square) */
.card.ratio,
.card .card__inner.ratio { --ratio-percent: 125% !important; }
/* Show full cover art on white, no cropping, evenly sized */
.card .card__media .media { background: #ffffff; border-radius: 12px; overflow: hidden; }
.card .card__media .media img {
  object-fit: contain !important;
  padding: 1.4rem;
  box-sizing: border-box;
  background: #ffffff;
}
.card--standard .card__media { border-radius: 12px; }
/* Branded placeholder for products with no image */
.card .card__media .media .placeholder-svg {
  background: var(--kv-sage);
  padding: 22%;
  width: 100%; height: 100%;
  color: rgba(73,116,57,.45);
}
/* Tidy card text */
.card__information { padding-top: 1.4rem; }
.card__heading { letter-spacing: -0.01em; }

/* ============================================================
   Product page — premium redesign (CSS over Dawn main-product)
   ============================================================ */
.product { gap: clamp(3rem, 4vw, 6rem); align-items: flex-start; }
@media screen and (min-width: 990px) {
  .product__info-wrapper { padding-left: clamp(2rem, 4vw, 6rem); }
}
/* Media: soft rounded frame */
.product__media-wrapper .media,
.product__media-wrapper .product__media img,
.product-media-container,
.product__media-item .media {
  border-radius: 18px;
  overflow: hidden;
}
.product__media-wrapper .media img { object-fit: contain; background: #fff; }
.product-media-container { box-shadow: 0 26px 60px -24px rgba(43,48,46,.4); background: #fff; }
.thumbnail { border-radius: 10px; }
.thumbnail-list__item .thumbnail.thumbnail--selected,
.thumbnail.global-media-settings--no-shadow.thumbnail--selected { box-shadow: 0 0 0 2px var(--kv-green); }

/* Title + meta */
.product__title h1,
.product__title h2,
.product__title { font-family: var(--font-heading-family); line-height: 1.05; letter-spacing: -0.02em; }
.product__title h1 { font-size: clamp(2.8rem, 1.8rem + 2.4vw, 4.2rem); }
.product__text.subtitle, .product__text { color: var(--kv-green); letter-spacing: .06em; }

/* Price */
.product .price { margin-top: 0.4rem; }
.product .price .price-item--regular { font-family: var(--font-body-family); font-weight: 600; font-size: 2.2rem; color: var(--kv-ink); }
.product .price--on-sale .price-item--sale { color: var(--kv-green); }

/* Buy buttons — green pill, generous */
.product-form__submit,
.shopify-payment-button__button--unbranded {
  border-radius: 999px !important;
  min-height: 5.4rem;
  font-family: var(--font-body-family);
  font-weight: 600;
  letter-spacing: .01em;
}
.shopify-payment-button__button--unbranded { background: var(--kv-ink); }
.shopify-payment-button__button--unbranded:hover { background: #1f2421 !important; }
.product-form__buttons { display: flex; flex-direction: column; gap: 1.2rem; max-width: 46rem; }

/* Quantity selector */
.quantity { border-radius: 999px; overflow: hidden; }

/* Description: readable column */
.product__description { font-size: 1.7rem; line-height: 1.75; }
.product__description p { margin-bottom: 1.4rem; }
.product__info-container > * + * { margin-top: 1.8rem; }

/* Accordions (details, shipping) */
.product .accordion { border-radius: 12px; }

/* SKU / inventory subtle */
.product__sku, .product__inventory { opacity: .7; font-size: 1.35rem; }

/* ============================================================
   MODERN POLISH v2 — catalog tiles + product page
   ============================================================ */
/* --- Catalog: elevated panel cards --- */
.card-wrapper {
  background: #fff;
  border: 1px solid rgba(57,66,64,.07);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(43,48,46,.04);
  transition: transform .4s var(--kv-ease), box-shadow .4s var(--kv-ease), border-color .4s var(--kv-ease);
}
.card-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px -18px rgba(43,48,46,.22);
  border-color: rgba(73,116,57,.18);
}
/* Image sits on a soft tint so covers feel intentional, not floating */
.card .card__media .media,
.card .card__media .media img { background: #f6f3ee; border-radius: 0; }
.card .card__media .media img { padding: 1.8rem; }
.card__inner { border-radius: 0; }
/* Text block: roomy, modern hierarchy */
.card__content { padding: 1.6rem 1.8rem 2rem; }
.card__information { padding: 0; }
.card-information__wrapper > *, .card__information > * { margin: 0; }
.card__heading { font-size: 1.7rem; line-height: 1.25; letter-spacing: -0.01em; margin-bottom: .8rem; }
.card__heading a { text-decoration: none; }
.card-information .price,
.card__information .price { font-family: var(--font-body-family); font-weight: 600; }
.card .price__regular .price-item--regular { font-size: 1.6rem; color: var(--kv-ink); }
.card .price--on-sale .price-item--sale { color: var(--kv-green); }
.card .price__badge-sale,
.card__badge .badge { border-radius: 999px; font-weight: 600; letter-spacing: .03em; }
.card__badge.bottom.left, .card__badge.top.left { margin: 1.2rem; }
/* Sold-out / sale badge brand colors */
.badge { background: var(--kv-green); color: #fff; border: 0; }

/* Collection page: header + grid breathing room */
.collection .title-wrapper--no-top-margin,
.collection-hero { text-align: center; }
.facets__heading, .facets-container { font-family: var(--font-body-family); }
.collection .loading-overlay { border-radius: 18px; }

/* --- Product page: more whitespace + premium media panel --- */
.product { gap: clamp(3rem, 5vw, 7rem); }
.product__media-wrapper .media,
.product-media-container,
.product__media-item .media { background: #f6f3ee !important; }
.product__media-wrapper .media img { padding: clamp(1.6rem, 3vw, 3.4rem); object-fit: contain; }
.product-media-container { box-shadow: 0 30px 70px -28px rgba(43,48,46,.4); border-radius: 22px; }
.product__media-item .media { border-radius: 16px; }
/* Price divider for clearer hierarchy */
.product__info-container .price { padding-bottom: 2.2rem; margin-bottom: .4rem; border-bottom: 1px solid rgba(57,66,64,.1); }
.product__info-container .product-form { margin-top: 2.4rem; }
/* Accordions: clean, borderless with hairline */
.product .accordion,
.product .accordion .accordion__title { border: 0; }
.product .accordion { border-top: 1px solid rgba(57,66,64,.12); border-radius: 0; padding: .6rem 0; }
.product .accordion__title { font-family: var(--font-heading-family); font-size: 1.7rem; }
/* Share / view-details links subtle */
.product__view-details, .share-button__button { color: var(--kv-green); }
/* Quantity input modern */
.product-form__quantity .quantity { border: 1px solid rgba(57,66,64,.2); border-radius: 999px; }
.quantity__button, .quantity__input { background: transparent; }

/* --- Catalog cards: center the title/price under the image --- */
.card__content { text-align: center; }
.card__information,
.card-information { text-align: center; }
.card__heading,
.card-information__text { text-align: center; }
.card .price,
.card .price__container { justify-content: center; text-align: center; }
.card .price__regular,
.card .price__sale { justify-content: center; }
/* Sale/sold-out badge: pin neatly inside the top-left corner */
.card__badge { z-index: 2; transform: none !important; }
.card__badge.top.left,
.card__badge.bottom.left {
  left: 0 !important;
  right: auto !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  top: 0; bottom: auto;
  margin: 1.2rem !important;
}

/* ============================================================
   MODERNIZATION — motion + global polish
   ============================================================ */
/* Scroll-reveal for custom (kv) sections */
.kv-reveal { opacity: 0; transform: translateY(26px); will-change: opacity, transform; }
.kv-reveal.kv-in { opacity: 1; transform: none;
  transition: opacity .75s var(--kv-ease), transform .75s var(--kv-ease); }
@media (prefers-reduced-motion: reduce) {
  .kv-reveal { opacity: 1 !important; transform: none !important; }
}

/* Unified imagery rounding for content media */
.rich-text img, .banner__media img, .multicolumn-card img { border-radius: 14px; }

/* Button system polish — consistent pill, lift, active */
.button, button.button, .shopify-payment-button__button--unbranded {
  border-radius: 999px;
  letter-spacing: .01em;
}
.button:not([disabled]):hover { transform: translateY(-2px); }

/* Links: subtle animated underline on body copy */
.rte a:not(.button) {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1.5px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .3s var(--kv-ease);
  text-decoration: none;
}
.rte a:not(.button):hover { background-size: 100% 1.5px; }

/* Consistent section rhythm helper for kv sections on small screens */
@media screen and (max-width: 749px) {
  .kv-section .page-width { padding-left: 2rem; padding-right: 2rem; }
}

/* Footer: tidy GuideStar seal + spacing */
.footer .kv-seal { margin-top: 1.6rem; display: inline-block; }
.footer .kv-seal img { display: block; }

/* ============================================================
   CART PAGE & DRAWER — modern
   ============================================================ */
.cart { max-width: 116rem; margin: 0 auto; }
.cart .title--primary { font-family: var(--font-heading-family); font-size: clamp(2.8rem, 2rem + 2vw, 4.4rem); letter-spacing: -0.02em; margin-bottom: 1.6rem; }
.cart-items__heading, .cart-items thead th { font-family: var(--font-body-family); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 1.2rem; opacity: .55; }

/* Line items as clean rows */
.cart-item { padding: 2.4rem 0; border-bottom: 1px solid rgba(57,66,64,.1); vertical-align: middle; }
.cart-items thead { border-bottom: 1px solid rgba(57,66,64,.12); }
.cart-item__image-container { border-radius: 14px; overflow: hidden; background: #f6f3ee; }
.cart-item__image { border-radius: 14px; object-fit: contain !important; background: #fff; padding: .8rem; box-sizing: border-box; }
.cart-item__name { font-family: var(--font-heading-family); font-weight: 600; font-size: 1.9rem; line-height: 1.2; text-decoration: none; letter-spacing: -0.01em; }
.cart-item__name:hover { color: var(--kv-green); }
.cart-item__details .product-option { font-size: 1.35rem; opacity: .7; }
.cart-item .price, .cart-item__totals .price { font-family: var(--font-body-family); font-weight: 600; }
.cart-item__final-price { color: var(--kv-ink); }

/* Quantity selector as a pill */
.cart .quantity.cart-quantity, .cart-drawer .quantity { border: 1px solid rgba(57,66,64,.2); border-radius: 999px; overflow: hidden; box-shadow: none; }
.cart .quantity__button:hover, .cart-drawer .quantity__button:hover { color: var(--kv-green); }
cart-remove-button .button, .button.cart-item__remove, .cart-item__remove a { color: var(--kv-green); opacity: .85; }
cart-remove-button .button:hover { opacity: 1; }

/* Footer / order summary — right-aligned card on desktop */
.cart__footer { padding-top: 2.4rem; }
.cart__blocks { margin-left: auto; }
@media screen and (min-width: 750px) {
  .cart__footer .cart__blocks { max-width: 46rem; margin-left: auto; background: var(--kv-cream);
    border: 1px solid rgba(57,66,64,.08); border-radius: 18px; padding: 2.8rem; }
}
.totals { align-items: baseline; }
.totals__total { font-family: var(--font-heading-family); font-size: 1.9rem; }
.totals__total-value { font-family: var(--font-body-family); font-weight: 700; font-size: 2.4rem; color: var(--kv-ink); }
.tax-note { opacity: .65; font-size: 1.3rem; margin-top: .6rem; }
.cart__checkout-button { border-radius: 999px !important; min-height: 5.6rem; font-weight: 600; font-size: 1.6rem; width: 100%; }
.cart__ctas { margin-top: 1.6rem; }
.cart__dynamic-checkout-buttons { margin-top: 1.2rem; }
.cart__note label { font-weight: 600; font-size: 1.35rem; }
.cart__note .text-area, .cart__note textarea { border: 1px solid rgba(57,66,64,.2); border-radius: 12px; background: #fff; }

/* Empty cart state */
.cart.is-empty .cart__warnings { text-align: center; padding: 4rem 2rem; }
.cart__empty-text { font-family: var(--font-heading-family); font-size: clamp(2.6rem, 1.8rem + 2vw, 3.6rem); letter-spacing: -0.02em; margin-bottom: 2rem; }
.cart.is-empty .button { border-radius: 999px; }

/* Cart drawer polish */
.cart-drawer .drawer__inner { border-radius: 0; }
.cart-drawer__footer .cart__checkout-button, .drawer__footer .cart__checkout-button { border-radius: 999px !important; }
.cart-drawer .cart-item { padding: 1.8rem 0; }

/* ===== Cart: two-column sticky layout (desktop) ===== */
@media screen and (min-width: 990px) {
  /* Only engage when the cart actually has items (empty state stays full width) */
  #MainContent:has(.cart-item) {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(34rem, 0.9fr);
    gap: 4rem;
    align-items: start;
    width: 100%;
    /* Keep MainContent full-width (so its cream bg covers the fixed footer);
       center the content with fluid side padding instead of max-width. */
    padding-inline: clamp(2rem, calc((100% - 122rem) / 2), 24rem);
    padding-block: 6rem 9rem;
    box-sizing: border-box;
    background: var(--kv-cream);
  }
  /* Neutralize each section's own inner gutters so they fill their grid column */
  #MainContent:has(.cart-item) .cart,
  #MainContent:has(.cart-item) .cart__footer,
  #MainContent:has(.cart-item) .page-width {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
  }
  /* Zero the sections' own vertical padding — spacing now comes from the grid */
  #MainContent:has(.cart-item) > .shopify-section { padding-top: 0; padding-bottom: 0; }
  /* The footer/summary section becomes the sticky right column, offset below header */
  #MainContent:has(.cart-item) > .shopify-section:has(.cart__footer) {
    position: sticky;
    top: 11rem;
  }
  /* Summary card fills the right column */
  #MainContent:has(.cart-item) .cart__footer .cart__blocks {
    max-width: none;
    margin-left: 0;
    background: var(--kv-cream);
    border: 1px solid rgba(57,66,64,.08);
    border-radius: 18px;
    padding: 3rem;
    box-shadow: 0 18px 44px -20px rgba(43,48,46,.22);
  }
  #MainContent:has(.cart-item) .cart__footer { padding-top: 0; }
}
}

/* ===== Cart line-item fine-tuning ===== */
/* Vertically center every cell in the row */
.cart-item > td, .cart-item th, .cart-item__media, .cart-item__details,
.cart-item__quantity, .cart-item__quantity-wrapper, .cart-item__totals { vertical-align: middle; }
/* Larger, centered product thumbnail */
.cart-item__image-container { width: 9.5rem; }
.cart-item__image { width: 100%; }
/* Quantity selector: tidy pill, no stray separators */
.cart .quantity.cart-quantity { display: inline-flex; align-items: center; width: auto; min-width: 12rem; }
.cart .quantity.cart-quantity::before, .cart .quantity.cart-quantity::after { display: none !important; }
.cart .quantity__button { border: 0; background: transparent; }
.cart .quantity__input { border: 0; background: transparent; text-align: center; }
.cart-item__quantity .cart-quantity { margin-left: 0; }
/* Give the row a touch more breathing room */
.cart-item__details { padding-left: 1.8rem; }

/* ============================================================
   HEADER / NAV — modernization
   ============================================================ */
/* Smooth transitions for condense-on-scroll */
.header, .header__heading-logo, .kv-logo-img {
  transition: padding .3s var(--kv-ease), height .3s var(--kv-ease);
}
.header-wrapper { transition: box-shadow .3s var(--kv-ease), background-color .3s var(--kv-ease); }

/* When stuck: tighter header + soft shadow + smaller logo */
.shopify-section-header-sticky .header { padding-top: .9rem; padding-bottom: .9rem; }
.shopify-section-header-sticky.header-wrapper,
.shopify-section-header-sticky .header-wrapper { box-shadow: 0 6px 28px rgba(43,48,46,.10); }
.shopify-section-header-sticky .kv-logo-img { height: 4rem; }
@media screen and (min-width: 990px) { .shopify-section-header-sticky .kv-logo-img { height: 4.4rem; } }

/* Desktop nav: rely on Dawn's native underline (avoid doubling) */

/* Dropdown submenu as a premium floating card */
.header__submenu.list-menu {
  border-radius: 14px;
  border: 1px solid rgba(57,66,64,.07);
  box-shadow: 0 24px 54px -18px rgba(43,48,46,.30);
  padding: 1rem;
  margin-top: .4rem;
  background: rgb(var(--color-background));
}
.header__submenu .header__menu-item {
  border-radius: 9px; padding: 1rem 1.4rem;
  transition: background .2s ease, color .2s ease;
}
.header__submenu .header__menu-item:hover { background: var(--kv-sage); color: var(--kv-green); }
.header__submenu .header__menu-item::after { display: none; }

/* Announcement bar: refined */
.announcement-bar__message { letter-spacing: .04em; font-weight: 500; }

/* Search modal overlay: rounded bottom */
.search-modal__content { border-bottom-left-radius: 18px; border-bottom-right-radius: 18px; }

/* ============================================================
   STICKY REVEAL FOOTER (desktop only) — content lifts to unveil footer
   ============================================================ */
@media screen and (min-width: 990px) {
  .shopify-section:has(> .footer) {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    width: 100%;
    z-index: 0;
  }
  #MainContent {
    position: relative;
    z-index: 1;
    background: var(--kv-cream);
    margin-bottom: var(--kv-footer-h, 0px);
  }
  /* Disable the reveal on the cart page (utility page) — use a normal footer below */
  body:has(.cart-item) .shopify-section:has(> .footer) { position: static; width: auto; }
  body:has(.cart-item) #MainContent { margin-bottom: 0; background: transparent; }
}

/* ============================================================
   RESPONSIVE HARDENING — embeds & overflow safety
   ============================================================ */
/* Never let media/embeds push the layout wider than the screen */
.kv-section img, .kv-section iframe, .kv-section video,
.shopify-section img, .rte iframe { max-width: 100%; }

/* Qgiv donation embeds render a fixed-width (630px) iframe — make it fluid */
.qgiv-embed-container { max-width: 100%; margin-inline: auto; }
.qgiv-embed-container iframe,
.qgiv-embed-container > div,
[data-qgiv-embed] iframe { max-width: 100% !important; width: 100% !important; }

/* Responsive embeds inside custom-liquid (Spotify/Apple/Issuu/YouTube) */
.custom-liquid iframe, .shopify-section--custom-liquid iframe { max-width: 100%; }

/* Guard against accidental horizontal scroll on small screens */
@media screen and (max-width: 749px) {
  html, body { overflow-x: clip; }
  .kv-quote__mark { font-size: 16rem; left: -.5rem; }
}

/* Tables (cart) scroll instead of overflowing on very small screens */
@media screen and (max-width: 480px) {
  .cart-items { display: block; overflow-x: auto; }
}

/* ===== Cart: modern organization touches ===== */
/* "Order Summary" heading inside the totals card */
.cart__footer .cart__blocks::before {
  content: "Order Summary";
  display: block;
  font-family: var(--font-heading-family);
  font-weight: 600;
  font-size: 2rem;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(57,66,64,.14);
}
/* Title row: cleaner alignment + divider under the header */
.cart .title-wrapper-with-link { align-items: baseline; margin-bottom: 0; }
#MainContent:has(.cart-item) .cart__items,
.cart__items { border-top: 1px solid rgba(57,66,64,.14); margin-top: 2.4rem; }
.cart__items thead th { padding-top: 2rem; }
/* A touch more room per line item */
.cart-item { padding: 2.6rem 0; }
.cart-item__details { padding-left: 2rem; }

/* ============================================================
   Brand button colors (client spec)
   Static #61cf70  ·  Hover #0a9540  ·  white label
   Excludes outline/tertiary/icon + disabled (sold-out) buttons.
   ============================================================ */
.button:not(.button--secondary):not(.button--tertiary):not([disabled]),
button.button:not(.button--secondary):not(.button--tertiary):not([disabled]),
.product-form__submit:not([disabled]) {
  --color-button: 97, 207, 112;
  --color-button-text: 255, 255, 255;
  background-color: #61cf70 !important;
  border-color: #61cf70 !important;
  color: #ffffff !important;
}
.button:not(.button--secondary):not(.button--tertiary):not([disabled]):hover,
button.button:not(.button--secondary):not(.button--tertiary):not([disabled]):hover,
.product-form__submit:not([disabled]):hover {
  background-color: #0a9540 !important;
  border-color: #0a9540 !important;
  color: #ffffff !important;
}

/* ============================================================
   Header nav — WP-style hamburger popup
   Logo left · hamburger right · vertical panel, all categories open
   ============================================================ */
/* Logo a touch larger */
.kv-logo-img { height: 5.4rem; }
@media screen and (min-width: 990px) { .kv-logo-img { height: 6.6rem; } }

/* Logo to the left, hamburger to the far right */
.header.drawer-menu {
  grid-template-areas: 'heading icons navigation' !important;
  grid-template-columns: 1fr auto auto !important;
  column-gap: 1rem;
}
.header.drawer-menu .header__heading { justify-self: start; }
.header.drawer-menu header-drawer { justify-self: end !important; margin-left: 0.4rem !important; }

/* ---- Popup: centered modal on click (not a left slider) ---- */
/* dim backdrop behind the popup */
.menu-drawer-container[open]::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(20, 24, 22, 0.55);
  z-index: 100;
  animation: kv-fade 0.2s ease;
}
@keyframes kv-fade { from { opacity: 0; } to { opacity: 1; } }

#menu-drawer.menu-drawer {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(92vw, 58rem) !important;
  max-width: 58rem !important;
  height: auto !important;
  max-height: 86vh !important;
  overflow-y: auto !important;
  background: #ffffff !important;
  border: 0 !important;
  border-radius: 16px !important;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.35) !important;
  z-index: 101 !important;
  animation: kv-pop 0.22s var(--kv-ease);
}
@keyframes kv-pop { from { opacity: 0; transform: translate(-50%, -48%) scale(0.98); } to { opacity: 1; transform: translate(-50%, -50%) scale(1); } }

/* close button inside the popup (top-right) */
.kv-menu-close {
  position: absolute;
  top: 1.6rem;
  right: 1.8rem;
  z-index: 5;
  width: 3.6rem;
  height: 3.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--kv-ink);
  border-radius: 50%;
  transition: background 0.2s ease;
}
.kv-menu-close:hover { background: rgba(57, 66, 64, 0.08); }
.menu-drawer__inner-container { max-width: 100% !important; margin: 0 !important; height: auto !important; overflow: visible !important; }
.menu-drawer__navigation-container { height: auto !important; overflow: visible !important; }
.menu-drawer__navigation { padding: 3.2rem 3.2rem 4rem !important; }

/* top-level list: simple vertical stack with space between categories */
nav.menu-drawer__navigation > ul.menu-drawer__menu { display: block !important; }
nav.menu-drawer__navigation > ul.menu-drawer__menu > li { margin-bottom: 2.6rem; }

/* Force EVERY submenu (and its inner list) open, inline and visible */
#menu-drawer .menu-drawer__submenu,
#menu-drawer .menu-drawer__inner-submenu,
#menu-drawer .menu-drawer__submenu .menu-drawer__menu,
#menu-drawer .menu-drawer__submenu li {
  position: static !important;
  transform: none !important;
  visibility: visible !important;
  opacity: 1 !important;
  display: block !important;
  height: auto !important;
  max-height: none !important;
  width: auto !important;
  padding: 0 !important;
  background: transparent !important;
  overflow: visible !important;
  pointer-events: auto !important;
}

/* hide caret toggles + in-panel back/close buttons (keep the category arrow) */
#menu-drawer .icon-caret,
#menu-drawer .menu-drawer__close-button { display: none !important; }
#menu-drawer summary { list-style: none; cursor: pointer; padding: 0 !important; }
#menu-drawer summary::-webkit-details-marker { display: none; }

/* category heading = a link to its page, with an arrow */
#menu-drawer .kv-cat-link,
#menu-drawer .menu-drawer__navigation > ul > li > a.menu-drawer__menu-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--font-heading-family) !important;
  font-weight: 600 !important;
  font-size: 2rem !important;
  letter-spacing: -0.01em;
  color: var(--kv-ink) !important;
  text-decoration: none !important;
  padding: 0 0 0.6rem !important;
  min-height: 0 !important;
}
#menu-drawer .kv-cat-link:hover,
#menu-drawer .menu-drawer__navigation > ul > li > a.menu-drawer__menu-item:hover { color: var(--kv-green) !important; }
#menu-drawer .kv-cat-arrow { display: inline-flex; align-items: center; }
#menu-drawer .kv-cat-arrow svg { width: 1.5rem; height: 1.5rem; }
#menu-drawer .kv-cat-link:hover .kv-cat-arrow { transform: translateX(3px); transition: transform 0.2s var(--kv-ease); }

/* sub-link list, inline beneath each category heading */
#menu-drawer .kv-submenu { list-style: none; margin: 0.4rem 0 0; padding: 0; }
#menu-drawer .kv-submenu li { margin: 0; }
#menu-drawer .kv-submenu--nested { padding-left: 1.4rem; margin-top: 0.2rem; }

/* child links, indented under each heading */
#menu-drawer .kv-submenu .menu-drawer__menu-item {
  font-family: var(--font-body-family) !important;
  font-weight: 400 !important;
  font-size: 1.6rem !important;
  color: var(--kv-ink) !important;
  opacity: 0.82;
  padding: 0.5rem 0 0.5rem 1.6rem !important;
  min-height: 0 !important;
  border: 0 !important;
}
#menu-drawer .kv-submenu .menu-drawer__menu-item:hover { opacity: 1; color: var(--kv-green) !important; }

/* ============================================================
   Header logo — larger + inset from the edge
   ============================================================ */
.kv-logo-img { height: 6rem; }
@media screen and (min-width: 990px) { .kv-logo-img { height: 7.6rem; } }
.header.drawer-menu .header__heading { padding-left: clamp(1rem, 2.4vw, 3.4rem); }

/* ============================================================
   Nav popup v2 — refined modal + click-to-expand accordion
   ============================================================ */
#menu-drawer.menu-drawer {
  width: min(92vw, 45rem) !important;
  max-width: 45rem !important;
  border-radius: 20px !important;
}
#menu-drawer .menu-drawer__inner-container { padding: 2.8rem clamp(2.4rem, 4vw, 3.6rem) 3rem !important; }
#menu-drawer .menu-drawer__navigation { padding: 0 !important; }
.kv-menu-close { top: 2rem; right: 2.2rem; }

/* brand head */
.kvh-pop__head { padding-bottom: 1.8rem; margin-bottom: 0.6rem; border-bottom: 1px solid rgba(57,66,64,0.1); }
.kvh-pop__logo { height: 4.8rem; width: auto; display: block; }

/* top-level rows: rely on dividers, not big margins */
#menu-drawer nav.menu-drawer__navigation > ul.menu-drawer__menu > li { margin-bottom: 0 !important; }

/* accordion category */
#menu-drawer .kvh-acc,
#menu-drawer nav.menu-drawer__navigation > ul > li > .kvh-acc__cat--solo { border-bottom: 1px solid rgba(57,66,64,0.09); }
#menu-drawer .kvh-acc__cat {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  cursor: pointer; list-style: none; text-decoration: none; color: var(--kv-ink);
  font-family: var(--font-heading-family); font-weight: 600; font-size: 1.95rem; letter-spacing: -0.01em;
  padding: 1.55rem 0; transition: color 0.2s ease;
}
#menu-drawer .kvh-acc__cat::-webkit-details-marker { display: none; }
#menu-drawer .kvh-acc__cat:hover { color: var(--kv-green); }
#menu-drawer .kvh-acc__chev { color: var(--kv-green); flex: none; transition: transform 0.32s var(--kv-ease); }
#menu-drawer .kvh-acc[open] > .kvh-acc__cat .kvh-acc__chev { transform: rotate(180deg); }

/* submenu (hidden until open) */
#menu-drawer .kvh-acc__sub { list-style: none; margin: 0; padding: 0 0 1.6rem; }
#menu-drawer .kvh-acc[open] > .kvh-acc__sub { animation: kvh-acc-in 0.34s var(--kv-ease); }
#menu-drawer .kvh-acc__sub--nested { padding: 0.2rem 0 0.4rem 1.4rem; }
#menu-drawer .kvh-acc__link {
  display: block; text-decoration: none; color: var(--kv-ink); opacity: 0.78;
  font-family: var(--font-body-family); font-weight: 400; font-size: 1.6rem;
  padding: 0.65rem 0; transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}
#menu-drawer .kvh-acc__link:hover { opacity: 1; color: var(--kv-green); transform: translateX(4px); }
#menu-drawer .kvh-acc__link.is-current { color: var(--kv-green); opacity: 1; }

@keyframes kvh-acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  #menu-drawer .kvh-acc[open] > .kvh-acc__sub { animation: none; }
  #menu-drawer .kvh-acc__chev { transition: none; }
}

/* ============================================================
   Nav popup accordion v2 — button toggle (no native <details>)
   ============================================================ */
#menu-drawer .kvh-acc { border-bottom: 1px solid rgba(57,66,64,0.09); }
#menu-drawer .kvh-acc__cat {
  width: 100%; background: transparent; border: 0; -webkit-appearance: none; appearance: none;
  text-align: left;
}
/* smooth height reveal via grid rows */
#menu-drawer .kvh-acc__subwrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.34s var(--kv-ease); }
#menu-drawer .kvh-acc.is-open .kvh-acc__subwrap { grid-template-rows: 1fr; }
#menu-drawer .kvh-acc__sub { overflow: hidden; min-height: 0; }
/* chevron rotates on open */
#menu-drawer .kvh-acc.is-open > .kvh-acc__cat .kvh-acc__chev { transform: rotate(180deg); }
@media (prefers-reduced-motion: reduce) { #menu-drawer .kvh-acc__subwrap { transition: none; } }

/* accordion v3 — bulletproof collapse (max-height) + span toggle */
#menu-drawer .kvh-acc__cat { cursor: pointer; user-select: none; }
#menu-drawer .kvh-acc__subwrap { display: block; grid-template-rows: none; max-height: 0; overflow: hidden; transition: max-height 0.36s var(--kv-ease); }
#menu-drawer .kvh-acc.is-open .kvh-acc__subwrap { max-height: 48rem; }
@media (prefers-reduced-motion: reduce) { #menu-drawer .kvh-acc__subwrap { transition: none; } }

/* ============================================================
   Shopping pages — elevation pass (trust row, collection header, motion)
   ============================================================ */
/* Product trust / benefit row (under buy buttons) */
.kv-trust { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; margin-top: 2.4rem; padding-top: 2.2rem;
  border-top: 1px solid rgba(57,66,64,0.1); }
.kv-trust__item { display: inline-flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-body-family); font-size: 1.4rem; font-weight: 500; letter-spacing: 0.01em; color: var(--kv-ink); }
.kv-trust__item svg { width: 2.1rem; height: 2.1rem; color: var(--kv-green); flex: none; }

/* Collection / Shop header — editorial, centered */
.collection .title-wrapper--no-top-margin { margin-top: clamp(3rem, 2rem + 3vw, 6rem); }
.collection .title.title--primary,
.collection-hero__title { font-family: var(--font-heading-family); font-weight: 600;
  font-size: clamp(3.2rem, 2.2rem + 3vw, 5.4rem); letter-spacing: -0.025em; line-height: 1.02; }
.collection-hero__description,
.collection .banner__subtext { font-size: 1.7rem; line-height: 1.6; opacity: 0.82; max-width: 60rem; margin-inline: auto; }
/* facets / sort bar: lighter, modern */
.facets__summary, .facet-filters__label, .facets__label, .product-count__text {
  font-family: var(--font-body-family); }
.product-count__text { opacity: 0.6; font-size: 1.4rem; letter-spacing: 0.02em; }
.facets__price input, .select__select { border-radius: 999px; }

/* Scroll-reveal on product grids — progressive (no JS, modern browsers only) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .collection .product-grid > li,
    .related-products .grid > li,
    .featured-collection .grid > li {
      opacity: 0;
      animation: kv-rise both linear;
      animation-timeline: view();
      animation-range: entry 0% cover 18%;
    }
  }
}
@keyframes kv-rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* Related products heading to match section heads */
.related-products .title { font-family: var(--font-heading-family); font-weight: 600; letter-spacing: -0.02em; }

/* ============================================================
   Collection header — world-class branded band
   ============================================================ */
.collection-hero:not(.collection-hero--with-image) {
  background: var(--kv-sage);
  border-bottom: 1px solid rgba(57,66,64,0.08);
  text-align: center;
  padding: clamp(5rem, 4rem + 3vw, 8.5rem) 0 clamp(3.6rem, 3rem + 1.5vw, 5.5rem);
  margin-bottom: clamp(3rem, 2rem + 2vw, 5rem);
}
.collection-hero:not(.collection-hero--with-image) .collection-hero__inner { display: block; }
.collection-hero:not(.collection-hero--with-image) .collection-hero__text-wrapper { max-width: 72rem; margin-inline: auto; }
.collection-hero:not(.collection-hero--with-image) .collection-hero__text-wrapper::before {
  content: "The Kerygma Store";
  display: block;
  font-family: var(--font-body-family);
  text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600;
  font-size: 1.25rem; color: var(--kv-green); margin-bottom: 1.6rem;
}
.collection-hero:not(.collection-hero--with-image) .collection-hero__title {
  font-family: var(--font-heading-family); font-weight: 600; color: var(--kv-ink);
  font-size: clamp(3.4rem, 2.4rem + 3vw, 5.6rem); letter-spacing: -0.025em; line-height: 1.02; margin: 0;
}
.collection-hero:not(.collection-hero--with-image) .collection-hero__title::after {
  content: ""; display: block; width: 5.4rem; height: 2px; background: var(--kv-green-soft); margin: 2.2rem auto 0;
}
.collection-hero:not(.collection-hero--with-image) .collection-hero__description {
  font-size: 1.7rem; line-height: 1.6; opacity: 0.82; max-width: 56rem; margin: 2rem auto 0;
}

/* ============================================================
   Product page — related products as a branded band
   ============================================================ */
.related-products { text-align: center; border-top: 1px solid rgba(57,66,64,0.08); }
.related-products__heading {
  font-family: var(--font-heading-family); font-weight: 600; color: var(--kv-ink);
  font-size: clamp(2.6rem, 1.9rem + 1.8vw, 3.8rem); letter-spacing: -0.02em; margin: 0 auto 4rem;
}
.related-products__heading::before {
  content: "More from the shop"; display: block;
  font-family: var(--font-body-family); text-transform: uppercase; letter-spacing: 0.22em; font-weight: 600;
  font-size: 1.25rem; color: var(--kv-green); margin-bottom: 1.4rem;
}
.related-products .product-grid { text-align: left; }

/* ============================================================
   Customer / account pages (classic accounts) — branded
   ============================================================ */
.customer { font-family: var(--font-body-family); color: var(--kv-ink); }
.customer h1 { font-family: var(--font-heading-family); font-weight: 600; letter-spacing: -0.02em; color: var(--kv-ink); }

/* Auth pages — centered branded card */
.customer.login, .customer.register, .customer.reset-password, .customer.activate { max-width: 50rem; margin-inline: auto; }
.customer.login h1, .customer.register h1, .customer.reset-password h1, .customer.activate h1 {
  text-align: center; font-size: clamp(3rem, 2.2rem + 2vw, 4.4rem); margin-bottom: 3rem;
}
.customer.login form, .customer.register form, .customer.reset-password form, .customer.activate form {
  background: #fff; border: 1px solid rgba(57,66,64,0.08); border-radius: 18px;
  padding: clamp(2.6rem, 2rem + 2vw, 4rem); box-shadow: 0 24px 54px -26px rgba(43,48,46,0.2);
}
.customer .field { margin-bottom: 1.6rem; }
.customer input[type="email"], .customer input[type="password"], .customer input[type="text"], .customer .field__input {
  width: 100%; border: 1.5px solid rgba(57,66,64,0.2); border-radius: 10px; background: #fff;
  font-family: var(--font-body-family); font-size: 1.55rem; transition: border-color 0.2s ease;
}
.customer input:focus, .customer .field__input:focus { outline: none; border-color: var(--kv-green); }
.customer.login .button, .customer.register .button, .customer.reset-password .button, .customer.activate .button { width: 100%; margin-top: 0.6rem; }
.customer a { color: var(--kv-green); text-decoration: none; }
.customer a:hover { text-decoration: underline; text-underline-offset: 0.3rem; }

/* Account / addresses / order — roomy, branded */
.customer.account, .customer.addresses, .customer.order { max-width: 104rem; margin-inline: auto; }
.customer.account h1, .customer.addresses h1, .customer.order h1 { font-size: clamp(2.8rem, 2rem + 2vw, 4.2rem); }
.customer table thead th, .customer .order-table th { font-family: var(--font-body-family); text-transform: uppercase; letter-spacing: 0.08em; font-size: 1.2rem; opacity: 0.6; }

/* Header CTA — remove Dawn's button outline ring (no border) */
.header__icons .kv-header-cta.button::after,
.header__icons .kv-header-cta.button::before { box-shadow: none !important; border: 0 !important; content: none !important; }
.header__icons .kv-header-cta.button { border: 0 !important; box-shadow: none !important; }
.header__icons .kv-header-cta.button:hover { box-shadow: 0 10px 24px -8px rgba(10,149,64,0.5) !important; }
