/* =====================================================================
   kf-donate-v3.css

   The v3 design for the animal/sponsorship pages: layout and styling only.
   Scoped to #detailPage.kf-v3, .kf-sheet (payment sheets) and
   #gotoDonation.kf-v3-bar, so the site header and footer are untouched.

   Light and flat: warm off-white surfaces, thin borders, solid brand red
   for actions. No dark panels, shadows or gradients on the page (the
   payment sheets keep their own elevation). Headings use Fraunces, a warm
   editorial serif; text uses the phone's UI font - so a page linking this
   must also link the Fraunces stylesheet from Google Fonts.

   Moved verbatim out of AnimalProfile.aspx so VirtualAdoption.aspx can use
   the same design rather than a second copy of it. Any page that wants this
   look links this file and puts class="kf-v3" on its #detailPage.
   ===================================================================== */

#detailPage.kf-v3,
.kf-sheet,
#gotoDonation.kf-v3-bar {
    --kf-red: #cc1515;
    --kf-red-deep: #a30f12;
    --kf-red-soft: #fdeceb;
    --kf-ink: #1c1714;
    --kf-muted: #6f665d;
    --kf-faint: #9b9189;
    --kf-line: #ebe2d6;
    --kf-cream: #fbf6ee;
    --kf-paper: #ffffff;
    --kf-night: #1e1915;
    --kf-gold: #f2b440;
    --kf-green: #2f7d3a;
    --kf-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --kf-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --kf-r: 20px;
    --kf-shadow: none;
    --kf-sand: #f3ece2;
    --kf-photo: #f1e9de;
    font-family: var(--kf-sans);
}

/* Sticky bar steps aside while the real donate section is on screen, so the
   donor never sees two "donate" buttons at once. Fades rather than
   display:none so it works whatever the theme's positioning.

   Moved here from AnimalProfile.aspx so VirtualAdoption.aspx gets the same
   behaviour from the same definition.

   NOTE: a standalone rule, deliberately placed AFTER the token block above.
   That block is a GROUPED selector (#detailPage.kf-v3, .kf-sheet,
   #gotoDonation.kf-v3-bar) and anything inserted between its lines joins the
   selector list instead of following it - which is exactly how every
   var(--kf-*) on the page got knocked out once already. */
#gotoDonation { transition: opacity .2s ease, visibility .2s ease; }
#gotoDonation.kf-offscreen {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#detailPage.kf-v3 { background: var(--kf-cream); color: var(--kf-ink); padding: 0; }
#detailPage.kf-v3 [hidden],
.kf-sheet [hidden] { display: none !important; }
#detailPage.kf-v3 .kf-vh {
    position: absolute !important;
    opacity: 0;
    pointer-events: none;
    width: 1px; height: 1px;
    margin: 0;
}
#detailPage.kf-v3 h1, #detailPage.kf-v3 h2, #detailPage.kf-v3 h3,
#detailPage.kf-v3 h5 { font-family: var(--kf-serif); letter-spacing: -.01em; }
/* The theme capitalises headings, names and tab labels; this page uses
   normal sentence case throughout. */
#detailPage.kf-v3 h1, #detailPage.kf-v3 h2, #detailPage.kf-v3 h3,
#detailPage.kf-v3 h4, #detailPage.kf-v3 h5, #detailPage.kf-v3 h6,
#detailPage.kf-v3 .nav-link,
#detailPage.kf-v3 .donor-card_backerName { text-transform: none !important; }

/* ════ HERO ══════════════════════════════════════════════════════════ */
#detailPage.kf-v3 .kf-hero {
    background-color: #fdf1ea;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23cc1515' fill-opacity='0.06'%3E%3Cg transform='translate(36 40) rotate(-18)'%3E%3Cellipse cx='0' cy='9' rx='10' ry='8.5'/%3E%3Cellipse cx='-10' cy='-4' rx='4' ry='5.2'/%3E%3Cellipse cx='-3.5' cy='-10' rx='4' ry='5.2'/%3E%3Cellipse cx='4' cy='-10' rx='4' ry='5.2'/%3E%3Cellipse cx='11' cy='-4' rx='4' ry='5.2'/%3E%3C/g%3E%3Cg transform='translate(116 118) rotate(22)'%3E%3Cellipse cx='0' cy='9' rx='10' ry='8.5'/%3E%3Cellipse cx='-10' cy='-4' rx='4' ry='5.2'/%3E%3Cellipse cx='-3.5' cy='-10' rx='4' ry='5.2'/%3E%3Cellipse cx='4' cy='-10' rx='4' ry='5.2'/%3E%3Cellipse cx='11' cy='-4' rx='4' ry='5.2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 160px 160px;
    color: var(--kf-ink);
    padding: 36px 0 40px;
    border-bottom: 1px solid var(--kf-line);
}
#detailPage.kf-v3 .kf-gallery {
    position: relative;
    border-radius: var(--kf-r);
    overflow: hidden;
    background: var(--kf-photo);
    border: 1px solid var(--kf-line);
}
/* Photos sit whole on a plain light ground: never cropped, never darkened. */
#detailPage.kf-v3 #big .item { position: relative; overflow: hidden; background: var(--kf-photo); }
#detailPage.kf-v3 #big .item img,
#detailPage.kf-v3 #big .item video {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
}
/* The slider's own dots are replaced by the counter and arrows below
   (the theme stacked them into a white bar down the side). */
#detailPage.kf-v3 #big .owl-dots,
#detailPage.kf-v3 #big .owl-nav { display: none !important; }

#detailPage.kf-v3 .kf-big-wrap { position: relative; }
#detailPage.kf-v3 .kf-gal-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: 42px; height: 42px;
    margin-top: -21px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--kf-line);
    border-radius: 50%;
    background: rgba(255,255,255,.94);
    color: var(--kf-ink);
    font-size: 15px;
    cursor: pointer;
    transition: opacity .15s, border-color .15s;
}
#detailPage.kf-v3 .kf-gal-btn:hover { border-color: var(--kf-red); color: var(--kf-red); }
#detailPage.kf-v3 .kf-gal-btn[disabled] { opacity: .35; cursor: default; }
#detailPage.kf-v3 .kf-gal-prev { left: 12px; }
#detailPage.kf-v3 .kf-gal-next { right: 12px; }
#detailPage.kf-v3 .kf-gal-count {
    position: absolute;
    top: 12px; right: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 11px;
    border: 1px solid var(--kf-line);
    border-radius: 99px;
    background: rgba(255,255,255,.94);
    color: var(--kf-ink);
    font-size: 13px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}
#detailPage.kf-v3 .kf-gal-count .fa { color: var(--kf-red); }

/* YouTube slide: a still from the video with a play button. The player
   itself loads only when tapped, so the page is no slower for a video. */
#detailPage.kf-v3 #big .kf-yt-poster {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    cursor: pointer;
}
#detailPage.kf-v3 #big .kf-yt-play {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    pointer-events: none;
}
#detailPage.kf-v3 #big .kf-yt-play i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px; height: 72px;
    padding-left: 6px;
    border-radius: 50%;
    background: var(--kf-red);
    color: #fff;
    font-size: 28px;
    transition: transform .15s;
}
#detailPage.kf-v3 #big .kf-yt-poster:hover .kf-yt-play i,
#detailPage.kf-v3 #big .kf-yt-poster:focus-visible .kf-yt-play i { transform: scale(1.08); }
#detailPage.kf-v3 #big .kf-yt-play b {
    padding: 5px 12px;
    border: 1px solid var(--kf-line);
    border-radius: 99px;
    background: rgba(255,255,255,.94);
    color: var(--kf-ink);
    font-size: 13px;
    font-weight: 600;
}
#detailPage.kf-v3 #big .kf-yt-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: var(--kf-photo);
}
#detailPage.kf-v3 #big .kf-yt-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
#detailPage.kf-v3 #thumbs .kf-yt-thumb { position: relative; }
#detailPage.kf-v3 #thumbs .kf-yt-thumb .kf-yt-badge {
    position: absolute;
    left: 50%; top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    margin: -14px 0 0 -14px;
    padding-left: 2px;
    border-radius: 50%;
    background: var(--kf-red);
    color: #fff;
    font-size: 11px;
    pointer-events: none;
}
#detailPage.kf-v3 #thumbs { padding: 10px; background: #fff; border-top: 1px solid var(--kf-line); }
#detailPage.kf-v3 #thumbs .item img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 10px; opacity: .65; transition: opacity .15s; }
#detailPage.kf-v3 #thumbs .owl-item.synced img { opacity: 1; outline: 2px solid var(--kf-red); outline-offset: -2px; }
#detailPage.kf-v3 #thumbs .owl-nav button { color: var(--kf-ink) !important; }

#detailPage.kf-v3 .kf-hero-info { padding: 8px 0 0 12px; }
#detailPage.kf-v3 .kf-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
#detailPage.kf-v3 .kf-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
    background: #fff;
    border: 1px solid #f2ddd2;
    color: var(--kf-muted);
}
#detailPage.kf-v3 .kf-chip .fa { color: var(--kf-red); }
#detailPage.kf-v3 .kf-chip-gold { background: #fff1cf; color: #7a5a12; }
#detailPage.kf-v3 .kf-chip-gold .fa { color: #d99a1a; }

#detailPage.kf-v3 .kf-headline {
    font-family: var(--kf-serif);
    font-size: 44px;
    line-height: 1.08;
    font-weight: 700;
    color: var(--kf-ink);
    text-align: left;
    margin: 0 0 14px;
}
#detailPage.kf-v3 .kf-lede {
    font-size: 17px;
    line-height: 1.55;
    color: var(--kf-muted);
    text-align: left;
    margin: 0 0 22px;
}

#detailPage.kf-v3 .kf-stats {
    margin: 0 0 18px;
    padding: 16px 18px 14px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--kf-line);
}
#detailPage.kf-v3 .kf-stats-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 12px;
}
#detailPage.kf-v3 .kf-pct {
    font-family: var(--kf-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    color: var(--kf-red);
}
#detailPage.kf-v3 .kf-donors { font-size: 14px; color: var(--kf-muted); }
#detailPage.kf-v3 .kf-donors b { color: var(--kf-ink); }
#detailPage.kf-v3 .percentage { width: 100%; margin: 0; }
#detailPage.kf-v3 .percentageBar {
    position: relative;
    width: 100%;
    height: 8px;
    margin: 0;
    border-radius: 99px;
    overflow: hidden;
    background: #efe5d9;
}
#detailPage.kf-v3 .percentageBar span {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    max-width: 100%;
    border-radius: 99px;
    background: var(--kf-red);
}
#detailPage.kf-v3 .kf-stats-meta { margin-top: 10px; font-size: 14px; color: var(--kf-muted); }
#detailPage.kf-v3 .kf-stats-meta .leftTimes { margin: 0; padding: 0; background: none; color: inherit; font-size: inherit; }
#detailPage.kf-v3 .kf-days .fa { margin-right: 4px; }

#detailPage.kf-v3 .kf-share { display: flex; flex-wrap: wrap; gap: 8px; }
#detailPage.kf-v3 .kf-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 99px;
    border: 1px solid var(--kf-line);
    background: #fff;
    color: var(--kf-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: background .15s, border-color .15s;
}
#detailPage.kf-v3 .kf-share-btn:hover { background: #faf6f0; color: var(--kf-ink); text-decoration: none; }
#detailPage.kf-v3 .kf-share-btn .fa { font-size: 17px; }
#detailPage.kf-v3 .kf-share-btn[data-share="whatsapp"] .fa { color: #25d366; }
#detailPage.kf-v3 .kf-share-main { display: none; }      /* phones with a native share sheet only */
#detailPage.kf-v3 .kf-share-btn.kf-done { border-color: var(--kf-green); color: var(--kf-green); }

/* ════ BODY ══════════════════════════════════════════════════════════ */
#detailPage.kf-v3 .kf-body { padding: 36px 0 56px; }

/* Shared card surface */
#detailPage.kf-v3 .kf-donate,
#detailPage.kf-v3 .campaign-section,
#detailPage.kf-v3 .kf-storycard,
#detailPage.kf-v3 .donorList .supportBox {
    background: var(--kf-paper);
    border: 1px solid var(--kf-line);
    border-radius: var(--kf-r);
    box-shadow: var(--kf-shadow);
}

/* ── Donate panel ──────────────────────────────────────────────────── */
#detailPage.kf-v3 .kf-side { position: sticky; top: 110px; }
#detailPage.kf-v3 .kf-donate { overflow: hidden; margin: 0 0 20px; }

#detailPage.kf-v3 .kf-donate-head {
    padding: 18px 22px 16px;
    background: #fdf1ef;
    border-bottom: 1px solid var(--kf-line);
    text-align: left;
}
#detailPage.kf-v3 .kf-dh-label {
    display: block;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--kf-red);
    margin: 0 0 4px;
}
#detailPage.kf-v3 .kf-dh-name {
    font-family: var(--kf-serif);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--kf-ink);
    margin: 0 0 12px;
}
#detailPage.kf-v3 .kf-dh-desc { display: none; }
#detailPage.kf-v3 .kf-donate-head .percentageBar { background: rgba(204,21,21,.12); height: 6px; }
#detailPage.kf-v3 .kf-dh-meta {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--kf-muted);
}
#detailPage.kf-v3 .kf-dh-meta .leftTimes { margin: 0; padding: 0; background: none; font-size: inherit; color: inherit; }
#detailPage.kf-v3 #PercentRaised2 { color: var(--kf-red); }

#detailPage.kf-v3 .kf-donate-body { padding: 20px 22px 22px; }
#detailPage.kf-v3 .kf-donate-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--kf-ink);
    text-align: left;
    margin: 0 0 16px;
}
#detailPage.kf-v3 .kf-donate .supportBox { padding: 0; margin: 0; border: 0; background: none; box-shadow: none; }

/* Where are you giving from? */
#detailPage.kf-v3 .kf-cur {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    border: 0 !important;
    margin: 0 0 18px;
}
#detailPage.kf-v3 .kf-cur .nav-item { margin: 0 !important; width: auto; }
#detailPage.kf-v3 .kf-cur .nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 60px;
    margin: 0 !important;
    padding: 10px 12px !important;
    text-align: left;
    border: 1.5px solid var(--kf-line) !important;
    border-radius: 14px !important;
    background: #fff !important;
    color: var(--kf-ink) !important;
    transition: border-color .15s, box-shadow .15s;
}
#detailPage.kf-v3 .kf-cur .nav-link::before,
#detailPage.kf-v3 .kf-cur .nav-link::after { display: none !important; }
#detailPage.kf-v3 .kf-cur-ic {
    flex: 0 0 34px;
    width: 34px; height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3ece2;
    color: var(--kf-muted);
    font-size: 17px;
    font-weight: 700;
}
#detailPage.kf-v3 .kf-cur-txt { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
#detailPage.kf-v3 .kf-cur-txt strong { font-size: 14.5px; font-weight: 700; }
#detailPage.kf-v3 .kf-cur-txt small { font-size: 11.5px; color: var(--kf-muted); margin-top: 2px; }
#detailPage.kf-v3 .kf-cur .nav-link.active {
    border-color: var(--kf-red) !important;
    background: #fffafa !important;
}
#detailPage.kf-v3 .kf-cur .nav-link.active .kf-cur-ic { background: var(--kf-red); color: #fff; }

/* One-time / Monthly */
#detailPage.kf-v3 .kf-freq {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4px;
    margin: 0 0 14px;
    border-radius: 99px;
    background: #f3ece2;
}
#detailPage.kf-v3 .kf-freq button {
    min-height: 40px;
    border: 0;
    border-radius: 99px;
    background: transparent;
    color: var(--kf-muted);
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s, box-shadow .15s;
}
#detailPage.kf-v3 .kf-freq button.on { background: #fff; color: var(--kf-ink); box-shadow: inset 0 0 0 1.5px var(--kf-line); }
#detailPage.kf-v3 .kf-freq button[data-freq="monthly"].on { color: var(--kf-red); }
#detailPage.kf-v3 .kf-note {
    margin: -4px 0 14px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #fff8ea;
    font-size: 13px;
    line-height: 1.45;
    color: #6b5a3a;
    text-align: left;
}

/* Preset amounts. Selected = solid red with white text, so the amount
   is always readable (the theme's red background used to hide it). */
#detailPage.kf-v3 .kf-donate .amount-btns {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin: 0 0 8px !important;
}
#detailPage.kf-v3 .kf-donate .amount-btns.hidden { display: none !important; }
#detailPage.kf-v3 .kf-donate .amount-btns .btn {
    margin: 0 !important;
    min-height: 48px;
    padding: 6px 2px !important;
    border: 1.5px solid var(--kf-line) !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: var(--kf-ink) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    white-space: nowrap;
    box-shadow: none !important;
    font-variant-numeric: tabular-nums;
    transition: border-color .12s, background .12s, color .12s, transform .1s;
}
#detailPage.kf-v3 .kf-donate .amount-btns .btn c { color: inherit !important; font-weight: 600; margin-right: 1px; }
#detailPage.kf-v3 .kf-donate .amount-btns .btn.active {
    background: var(--kf-red) !important;
    border-color: var(--kf-red) !important;
    color: #fff !important;
}
#detailPage.kf-v3 .kf-donate .amount-btns .btn:active { transform: scale(.97); }
@media (hover: hover) {
    #detailPage.kf-v3 .kf-donate .amount-btns .btn:not(.active):hover { border-color: #e4aaa4 !important; }
}

/* Own amount: big serif number */
#detailPage.kf-v3 .kf-amount { position: relative; margin: 14px 0 16px; text-align: left; }
#detailPage.kf-v3 .kf-amount-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--kf-muted);
    margin: 0 0 6px;
}
#detailPage.kf-v3 .kf-amount-field { position: relative; }
#detailPage.kf-v3 .kf-amount .kf-amount-sym {
    position: absolute;
    left: 16px;
    top: 30px;               /* half the 60px input, measured from the field
                                itself; stays put if a message appears below */
    transform: translateY(-50%);
    max-width: 50px;
    overflow: hidden;
    white-space: nowrap;
    font-family: var(--kf-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--kf-faint);
    pointer-events: none;
    z-index: 2;
}
#detailPage.kf-v3 .kf-amount .form-control {
    height: 60px;
    padding: 0 16px 0 44px;
    font-family: var(--kf-serif);
    font-size: 28px !important;
    font-weight: 700;
    color: var(--kf-ink);
    text-align: left;
    border: 1.5px solid var(--kf-line);
    border-radius: 14px;
    background: #fffdfa;
    box-shadow: none;
    font-variant-numeric: tabular-nums;
}
#detailPage.kf-v3 .kf-amount-intl .form-control { padding-left: 66px; }
#detailPage.kf-v3 .kf-amount-intl .kf-amount-sym { font-size: 18px; }
#detailPage.kf-v3 .kf-amount .form-control:focus { border-color: var(--kf-red); box-shadow: 0 0 0 3px rgba(204,21,21,.12); background: #fff; }
#detailPage.kf-v3 .kf-amount .alert { margin-top: 10px; font-size: 14px; border-radius: 12px; }
/* Product pages: the items set the amount, so the field is a read-only
   total. Drop the "enter your own amount" hint and keep the symbol aligned. */
#detailPage.kf-v3 .kf-amount:has(input[readonly]) .kf-amount-label { display: none; }
#detailPage.kf-v3 .kf-amount input[readonly] { background: #f7f1e8 !important; }

/* Main button. #btn1 is excluded: it must stay display:none. */
#detailPage.kf-v3 .kf-donate .btnOrg:not(#btn1) {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100% !important;
    max-width: none !important;
    min-height: 58px;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--kf-red) !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: none;
    box-shadow: none !important;
    transition: background .15s, transform .1s;
}
#detailPage.kf-v3 .kf-donate .btnOrg span { color: #fff !important; font-size: inherit; }
#detailPage.kf-v3 .kf-donate .btnOrg::before,
#detailPage.kf-v3 .kf-donate .btnOrg::after { display: none !important; }
#detailPage.kf-v3 .kf-donate .btnOrg:active { transform: translateY(1px); }
@media (hover: hover) {
    #detailPage.kf-v3 .kf-donate .btnOrg:not(#btn1):hover { background: var(--kf-red-deep) !important; }
}

#detailPage.kf-v3 .kf-assure {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    font-size: 12.5px;
    color: var(--kf-muted);
}
#detailPage.kf-v3 .kf-assure .fa { color: var(--kf-green); margin-right: 4px; }

/* ── Product pages ─────────────────────────────────────────────────── */
#detailPage.kf-v3 .campaign-section { padding: 20px 22px; margin: 0 0 18px; }
#detailPage.kf-v3 .total-section1 {
    font-family: var(--kf-serif);
    background: none;
    padding: 0;
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 700;
    color: var(--kf-ink);
}
#detailPage.kf-v3 .campaign-section .table { margin: 0 0 10px; font-size: 14px; }
#detailPage.kf-v3 .campaign-section .table th {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--kf-faint);
    padding: 6px 4px;
}
#detailPage.kf-v3 .campaign-section .table td { padding: 8px 4px; border-top: 1px solid var(--kf-line); }
#detailPage.kf-v3 .total-section {
    background: #fff4dc;
    border-radius: 12px;
    padding: 12px 14px;
    font-weight: 800;
}

#detailPage.kf-v3 #productContainer { margin: 0 -6px 6px; }
/* Non-product pages: nothing to show here, so take no space. */
#detailPage.kf-v3 #productContainer:not(:has(.card)) { display: none; }
#detailPage.kf-v3 .ProdAdi > p:empty { display: none; }
#detailPage.kf-v3 #productContainer > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 0 6px;
    margin: 0 0 12px;
}
@media (min-width: 992px) {
    #detailPage.kf-v3 #productContainer > [class*="col-"] { flex: 0 0 50%; max-width: 50%; }
}
#detailPage.kf-v3 #productContainer .card {
    display: grid;
    grid-template-columns: 96px 1fr;
    column-gap: 14px;
    row-gap: 3px;
    align-items: center;
    height: 100%;
    max-width: none;
    margin: 0 !important;
    padding: 12px !important;
    text-align: left;
    font-family: var(--kf-sans);
    background: #fff;
    border: 1px solid var(--kf-line);
    border-radius: 18px;
    box-shadow: var(--kf-shadow);
}
#detailPage.kf-v3 #productContainer .card > .d-flex {
    grid-column: 1;
    grid-row: 1 / span 5;
    height: 96px;
    border-radius: 14px;
    background: #f7f1e8;
    overflow: hidden;
    justify-content: center;
}
#detailPage.kf-v3 #productContainer .card > .d-flex img { height: 96px !important; width: 96px; object-fit: contain; }
#detailPage.kf-v3 #productContainer .card > :not(.d-flex) { grid-column: 2; }
#detailPage.kf-v3 #productContainer .card h5 { font-family: var(--kf-serif); font-size: 17px; font-weight: 700; margin: 0; color: var(--kf-ink); }
#detailPage.kf-v3 #productContainer .card .AnimalfontS { font-size: 12px; color: var(--kf-muted); margin: 0; }
#detailPage.kf-v3 #productContainer .card .progress { height: 5px !important; margin: 2px 0 !important; border-radius: 99px; background: #f1e8de; }
#detailPage.kf-v3 #productContainer .card h6 { font-size: 15px; font-weight: 800; color: var(--kf-red); margin: 0; }
#detailPage.kf-v3 #productContainer .quantitySection { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
/* Overrides the page's leftover ".card button" rule (black, full width). */
#detailPage.kf-v3 #productContainer .quantitySection .btn {
    width: 38px !important;
    height: 38px;
    padding: 0 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1;
    color: var(--kf-red) !important;
    background: #fff !important;
    border: 1.5px solid #ecc9c5 !important;
    border-radius: 50% !important;
    box-shadow: none;
}
#detailPage.kf-v3 #productContainer .quantitySection .btn-success {
    background: var(--kf-red) !important;
    border-color: var(--kf-red) !important;
    color: #fff !important;
}
#detailPage.kf-v3 #productContainer .quantitySection .quantity {
    width: 54px !important;
    height: 38px;
    padding: 0;
    text-align: center;
    font-size: 17px;
    font-weight: 800;
    border: 0;
    background: transparent;
}

/* ── Story ─────────────────────────────────────────────────────────── */
#detailPage.kf-v3 .kf-storycard { padding: 26px 28px 14px; margin: 0 0 20px; }
/* The theme pads/indents .descTabs' tab bar, which pushed "The story"
   to the right of the text below it. */
#detailPage.kf-v3 .kf-storycard .nav-tabs {
    display: block !important;
    border: 0 !important;
    margin: 0 0 14px !important;
    padding: 0 !important;
}
#detailPage.kf-v3 .kf-storycard .nav-item {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}
#detailPage.kf-v3 .kf-storycard .nav-link {
    display: block;
    width: auto !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
    font-family: var(--kf-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--kf-ink) !important;
}
#detailPage.kf-v3 .kf-storycard .nav-link::before,
#detailPage.kf-v3 .kf-storycard .nav-link::after { display: none !important; }
#detailPage.kf-v3 .detailDesc {
    font-size: 17px;
    line-height: 1.75;
    color: #37302a;
    text-align: left;
    padding: 0;
}
#detailPage.kf-v3 .detailDesc p { margin: 0 0 16px; }
#detailPage.kf-v3 .detailDesc img { border-radius: 14px; height: auto; margin: 6px 0 16px; }
/* Editorial drop cap on the first paragraph */
#detailPage.kf-v3 #description > p:first-child::first-letter {
    float: left;
    font-family: var(--kf-serif);
    font-size: 58px;
    line-height: .9;
    font-weight: 700;
    color: var(--kf-red);
    margin: 6px 10px 0 0;
}
#detailPage.kf-v3 .kf-readmore {
    display: block;
    width: 100%;
    min-height: 48px;
    margin: 6px 0 12px;
    border: 0;
    border-radius: 14px;
    background: var(--kf-sand);
    color: var(--kf-ink);
    font-size: 15px;
    font-weight: 700;
}

/* ── Supporters ────────────────────────────────────────────────────── */
#detailPage.kf-v3 .donorList { margin: 0 0 20px; }
#detailPage.kf-v3 .donorList .supportBox { padding: 22px 24px; margin: 0; }
#detailPage.kf-v3 .kf-donors-head { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; }
#detailPage.kf-v3 .kf-donors-head h3 { font-size: 26px; font-weight: 700; color: var(--kf-ink); margin: 0; text-align: left; }
#detailPage.kf-v3 .kf-count {
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: var(--kf-red);
    border-radius: 99px;
    padding: 3px 10px;
}
/* Most generous / Recent: pill switch. !important because the theme
   forces these tabs to full width, which stacked them one above the other. */
#detailPage.kf-v3 .kf-pills {
    display: inline-flex !important;
    flex-wrap: nowrap !important;
    gap: 0;
    width: auto !important;
    padding: 4px;
    margin: 4px 0 14px;
    border: 0 !important;
    border-radius: 99px;
    background: var(--kf-sand);
}
#detailPage.kf-v3 .kf-pills .nav-item {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}
#detailPage.kf-v3 .kf-pills .nav-link {
    display: block;
    width: auto !important;
    min-height: 0;
    padding: 8px 18px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 99px !important;
    background: transparent !important;
    color: var(--kf-muted) !important;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0;
    white-space: nowrap;
    text-align: center;
}
#detailPage.kf-v3 .kf-pills .nav-link.active {
    background: #fff !important;
    color: var(--kf-ink) !important;
    box-shadow: inset 0 0 0 1.5px var(--kf-line);
}
#detailPage.kf-v3 .kf-pills .nav-link::before,
#detailPage.kf-v3 .kf-pills .nav-link::after { display: none !important; }

/* Supporters as tiles: two columns on desktop, one on phones */
#detailPage.kf-v3 .scrollList {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-height: 340px;
    overflow-y: auto;
    padding: 0 4px 0 0;
}
#detailPage.kf-v3 .scrollList > p { grid-column: 1 / -1; margin: 6px 0; color: var(--kf-muted); }
#detailPage.kf-v3 .donor-card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px;
    margin: 0;
    border: 1px solid var(--kf-line);
    border-radius: 16px;
    background: #fcfaf6;
    box-shadow: none;
}
#detailPage.kf-v3 .kf-avatar {
    flex: 0 0 42px;
    width: 42px; height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
}
#detailPage.kf-v3 .donor-card img { width: 42px; height: 42px; border-radius: 50%; flex: 0 0 42px; margin: 0; }
#detailPage.kf-v3 .donor-card_detail {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
}
#detailPage.kf-v3 .donor-card_backerName {
    display: block;
    font-family: var(--kf-sans);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    color: var(--kf-ink);
    margin: 0 0 2px !important;
    padding: 0 !important;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
#detailPage.kf-v3 .donor-card_backedInfo {
    display: inline-block;
    margin: 0 8px 0 0 !important;
    padding: 0;
    background: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 800;
    color: var(--kf-red);
    white-space: nowrap;
}
#detailPage.kf-v3 .donor-card_backedInfo span { font-weight: 800; color: inherit; }
#detailPage.kf-v3 .donor-card_backedTime {
    display: inline-block;
    margin: 0 !important;
    font-size: 12.5px;
    color: var(--kf-faint);
}

#detailPage.kf-v3 .thanksDesc {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 22px 24px;
    border-radius: var(--kf-r);
    background: #fff7e6;
    border: 1px solid #f1e0bd;
    color: #5c4a2e;
}
#detailPage.kf-v3 .thanksDesc .fa { font-size: 22px; color: #d99a1a; margin-top: 4px; }
#detailPage.kf-v3 .thanksDesc p {
    margin: 0;
    font-family: var(--kf-serif);
    font-size: 17px;
    line-height: 1.55;
    font-weight: 600;
    color: inherit;
    text-align: left;
}

/* ════ PHONES ════════════════════════════════════════════════════════ */
@media (max-width: 767.98px) {
    body { overflow-x: hidden; padding-bottom: 86px; }

    #detailPage.kf-v3 .kf-hero { padding: 0; background: var(--kf-cream); color: var(--kf-ink); }
    #detailPage.kf-v3 .kf-gallery {
        width: 100vw;
        margin-left: calc(50% - 50vw);
        border-radius: 0;
        box-shadow: none;
    }
    #detailPage.kf-v3 #thumbs { display: none; }
    #detailPage.kf-v3 .kf-gal-btn { width: 36px; height: 36px; margin-top: -30px; font-size: 13px; }   /* centred on the visible photo, above the panel overlap */
    #detailPage.kf-v3 .kf-gal-prev { left: 10px; }
    #detailPage.kf-v3 .kf-gal-next { right: 10px; }

    /* Cream panel overlapping the bottom of the photo */
    #detailPage.kf-v3 .kf-hero-info {
        position: relative;
        z-index: 4;
        width: 100vw;
        margin: -24px 0 0 calc(50% - 50vw);
        padding: 22px 18px 4px;
        border-radius: 24px 24px 0 0;
        background: var(--kf-cream);
    }
    #detailPage.kf-v3 .kf-chip { font-size: 12px; }
    #detailPage.kf-v3 .kf-chips { margin-bottom: 12px; }
    #detailPage.kf-v3 .kf-headline { font-size: 30px; margin-bottom: 8px; }
    #detailPage.kf-v3 .kf-lede { font-size: 15.5px; margin-bottom: 18px; }

    #detailPage.kf-v3 .kf-stats { padding: 16px 16px 14px; margin: 0 0 14px; }
    #detailPage.kf-v3 .kf-pct { font-size: 28px; }

    #detailPage.kf-v3 .kf-share { gap: 8px; margin: 0 0 4px; }
    #detailPage.kf-v3 .kf-share-btn { min-height: 44px; padding: 0 14px; }
    #detailPage.kf-v3 .kf-share-btn span { display: none; }       /* icons only beside the big Share */
    #detailPage.kf-v3 .kf-has-native .kf-share-main {
        display: inline-flex;
        flex: 1;
        justify-content: center;
        background: var(--kf-red-soft);
        border-color: #f3c9c5;
        color: var(--kf-red);
    }
    #detailPage.kf-v3 .kf-share-main span { display: inline; }

    #detailPage.kf-v3 .kf-body { padding: 12px 0 28px; }

    /* Desktop-only header of the donate panel (the hero shows it on phones) */
    #detailPage.kf-v3 .kf-donate-head { display: none; }
    #detailPage.kf-v3 .kf-donate-body { padding: 20px 16px 18px; }
    #detailPage.kf-v3 .kf-donate-title { font-size: 24px; }
    #detailPage.kf-v3 #kfMobileDonateSlot { margin: 0 0 18px; }
    #detailPage.kf-v3 .kf-side { position: static; }
    #detailPage.kf-v3 .kf-cur .nav-link { padding: 10px !important; gap: 8px; }
    #detailPage.kf-v3 .kf-cur-ic { flex-basis: 30px; width: 30px; height: 30px; font-size: 15px; }

    #detailPage.kf-v3 .campaign-section { padding: 18px 16px; }
    #detailPage.kf-v3 .kf-storycard { padding: 22px 18px 10px; }
    #detailPage.kf-v3 .kf-storycard .nav-link { font-size: 24px; }
    #detailPage.kf-v3 .detailDesc { font-size: 16.5px; }
    #detailPage.kf-v3 .donorList .supportBox { padding: 20px 16px; }
    #detailPage.kf-v3 .scrollList { grid-template-columns: 1fr; max-height: 380px; }
    #detailPage.kf-v3 .kf-donors-head h3 { font-size: 24px; }
    #detailPage.kf-v3 .thanksDesc { padding: 20px 18px; }

    /* Long stories are clamped behind "Read full story" */
    #detailPage.kf-v3 .kf-story.kf-clamped:not(.kf-open) { max-height: 460px; overflow: hidden; position: relative; }
    #detailPage.kf-v3 .kf-story.kf-clamped:not(.kf-open) { border-bottom: 1px dashed var(--kf-line); }

    /* Sticky bottom bar */
    #gotoDonation.kf-v3-bar {
        position: fixed;
        left: 0; right: 0; bottom: 0; top: auto;
        z-index: 1030;
        display: flex;
        align-items: center;
        gap: 14px;
        margin: 0;
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        background: #fff;
        border-top: 1px solid var(--kf-line);
        box-shadow: none;
    }
    #gotoDonation.kf-v3-bar .kf-bar-info { display: flex; flex-direction: column; line-height: 1.15; color: var(--kf-ink); flex: 0 0 auto; }
    #gotoDonation.kf-v3-bar .kf-bar-info b { font-family: var(--kf-serif); font-size: 18px; font-weight: 700; color: var(--kf-red); }
    #gotoDonation.kf-v3-bar .kf-bar-info small { font-size: 12px; color: var(--kf-muted); }
    #gotoDonation.kf-v3-bar #txtAmount_mob:not(.hidden) ~ .kf-bar-info { display: none; }
    #gotoDonation.kf-v3-bar .container { flex: 1; width: auto; max-width: none; margin: 0; padding: 0; }
    #gotoDonation.kf-v3-bar #txtAmount_mob {
        flex: 0 0 auto;
        width: 100px;
        padding: 0;
        border: 0;
        background: transparent;
        font-family: var(--kf-serif);
        font-size: 20px;
        font-weight: 700;
        color: var(--kf-ink);
    }
    #gotoDonation.kf-v3-bar #txtAmount_mob.hidden { display: none !important; }
    #gotoDonation.kf-v3-bar .btndonate {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 4px 12px;
        border-radius: 14px;
        background: var(--kf-red);
        color: #fff;
        text-decoration: none;
        line-height: 1.15;
    }
    /* Colours, lettering and the paw icon come from the site theme (its
       yellow matches the logo); only size and layout are set here. */
    #gotoDonation.kf-v3-bar .btndonate span { font-size: 17px; font-weight: 700; color: #fff; }
    #gotoDonation.kf-v3-bar .btndonate small { font-size: 11px; color: rgba(255,255,255,.85); }
}

/* ════ PAYMENT SHEETS ════════════════════════════════════════════════ */
.modal-backdrop { opacity: 0 !important; }              /* the sheet draws its own dim */
.kf-sheet.show { background: rgba(24,18,14,.55); }
.kf-sheet .modal-dialog { max-width: 460px; }
.kf-sheet .modal-content {
    border: 0;
    border-radius: 24px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    color: var(--kf-ink);
    text-align: left;
}
.kf-sheet .kf-sheet-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 12px;
}
.kf-sheet .modal-title {
    font-family: var(--kf-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--kf-ink);
    margin: 0;
    text-align: left;
}
.kf-sheet .close {
    width: 38px; height: 38px;
    margin: 0; padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: #f3ece2;
    color: var(--kf-ink);
    font-size: 24px;
    line-height: 1;
    opacity: 1;
    text-shadow: none;
    float: none;
}

.kf-sheet .kf-sum {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 20px;
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #fff1e8, #fde6e4);
}
.kf-sheet .kf-sum-label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kf-red); }
.kf-sheet .kf-sum-amt {
    display: block;
    font-family: var(--kf-serif);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--kf-ink);
    margin: 2px 0;
    font-variant-numeric: tabular-nums;
}
.kf-sheet .kf-sum-to { display: block; font-size: 13px; color: var(--kf-muted); }
.kf-sheet .kf-sum-to b { color: var(--kf-ink); }
.kf-sheet .kf-sum-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.kf-sheet .kf-sum-freq {
    font-size: 12px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 99px;
    background: #fff;
    color: var(--kf-ink);
    white-space: nowrap;
}
.kf-sheet .kf-sum-freq.kf-sum-monthly { background: var(--kf-red); color: #fff; }
.kf-sheet .kf-sum-edit { font-size: 13px; font-weight: 700; color: var(--kf-red); text-decoration: underline; }

.kf-sheet .kf-sum-intl { display: block; }
.kf-sheet .kf-sum-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.kf-sheet .kf-sum-top .kf-sum-label b { text-transform: none; letter-spacing: 0; color: var(--kf-ink); }
.kf-sheet .kf-sum-fields { display: grid; grid-template-columns: 2fr 3fr; gap: 10px; }
.kf-sheet .kf-sum-fields .kf-f { margin: 0; }
.kf-sheet .kf-f-amount .form-control { font-family: var(--kf-serif); font-size: 22px !important; font-weight: 700; }

.kf-sheet .modal-body { padding: 18px 20px 22px; }
.kf-sheet .kf-sec {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--kf-faint);
    margin: 0 0 10px;
}

/* Floating-label fields */
.kf-sheet .kf-f { position: relative; margin: 0 0 12px; text-align: left; }
.kf-sheet .kf-f .form-control {
    height: 58px;
    padding: 24px 14px 6px;
    font-size: 16px;
    color: var(--kf-ink);
    background: #fff;
    border: 1.5px solid var(--kf-line);
    border-radius: 14px;
    box-shadow: none;
}
.kf-sheet .kf-f select.form-control { padding-top: 20px; -webkit-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236f665d' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; }
.kf-sheet .kf-f .form-control:focus { border-color: var(--kf-red); box-shadow: 0 0 0 3px rgba(204,21,21,.12); }
.kf-sheet .kf-f > label {
    position: absolute;
    left: 15px;
    top: 18px;
    margin: 0;
    font-size: 15.5px;
    font-weight: 500;
    color: var(--kf-faint);
    pointer-events: none;
    transform-origin: left top;
    transition: top .15s, font-size .15s, color .15s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: calc(100% - 30px);
}
.kf-sheet .kf-f .form-control:focus ~ label,
.kf-sheet .kf-f .form-control:not(:placeholder-shown) ~ label,
.kf-sheet .kf-f select.form-control ~ label {
    top: 8px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .02em;
}
.kf-sheet .kf-f .form-control:focus ~ label { color: var(--kf-red); }
/* Bootstrap 4 sizes selects with a more specific rule; match it. */
.kf-sheet .kf-f select.form-control {
    height: 58px;
    padding: 22px 34px 4px 14px;
    line-height: 1.3;
    font-size: 16px;
}
.kf-sheet .form-control-feedback { display: none !important; }   /* glyphicons are not loaded */

/* Validation, styled here too so the sheets do not depend on the master */
.kf-sheet .has-error .form-control { border-color: #dc3545 !important; box-shadow: 0 0 0 3px rgba(220,53,69,.12) !important; }
.kf-sheet .has-error > label { color: #dc3545 !important; }
.kf-sheet .help-block {
    display: block;
    padding: 6px 4px 0;
    font-size: 13px;
    font-weight: 600;
    color: #dc3545;
    text-align: left;
}
.kf-sheet .kf-form-error {
    margin: 0 0 14px;
    padding: 10px 12px;
    border-left: 4px solid #dc3545;
    border-radius: 10px;
    background: #fdecea;
    color: #a71d2a;
    font-size: 14px;
    font-weight: 600;
}
/* The old 320px cap on the card button belongs to the previous layout */
.kf-sheet #amount_bd1 { max-width: none; }

/* 80G fold */
.kf-sheet .kf-80g {
    margin: 4px 0 16px;
    padding: 0 14px;
    border: 1.5px dashed #e2cfb6;
    border-radius: 16px;
    background: #fffbf4;
}
.kf-sheet .kf-80g summary {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    list-style: none;
    cursor: pointer;
}
.kf-sheet .kf-80g summary::-webkit-details-marker { display: none; }
.kf-sheet .kf-80g summary > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.kf-sheet .kf-80g summary b { font-size: 15px; color: var(--kf-ink); }
.kf-sheet .kf-80g summary small { font-size: 12.5px; color: var(--kf-muted); }
.kf-sheet .kf-80g-ic {
    flex: 0 0 auto;
    padding: 6px 8px;
    border-radius: 10px;
    background: #fff1cf;
    color: #7a5a12;
    font-size: 12px;
    font-weight: 800;
}
.kf-sheet .kf-80g summary .fa { color: var(--kf-muted); transition: transform .2s; }
.kf-sheet .kf-80g[open] summary .fa { transform: rotate(180deg); }
.kf-sheet .kf-80g[open] { padding-bottom: 2px; }

.kf-sheet .kf-pay-blurb { font-size: 13px; line-height: 1.45; color: var(--kf-muted); margin: 0 0 16px; }
.kf-sheet .kf-pay-blurb a { color: var(--kf-red); font-weight: 700; }

.kf-sheet .kf-pay-actions { display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.kf-sheet .kf-pay-actions .btn-success {
    width: 100%;
    max-width: none;
    min-height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(180deg, #dc2020, var(--kf-red));
    color: #fff;
    font-size: 17.5px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(204,21,21,.30);
}
.kf-sheet .kf-pay-actions .btn-success:focus { box-shadow: 0 0 0 3px rgba(204,21,21,.25); }
.kf-sheet .kf-secure { font-size: 12.5px; color: var(--kf-muted); margin: 10px 0 0; text-align: center; }
.kf-sheet .kf-secure .fa { color: var(--kf-green); margin-right: 4px; }
.kf-sheet #cardMethods { margin-top: 8px; }
.kf-sheet #paypal-buttons, .kf-sheet #paypal-or, .kf-sheet #paypal-note { max-width: none; }
.kf-sheet .kf-gw-logo { display: block; width: 100%; max-width: 230px; height: auto; margin: 14px auto 0; opacity: .9; }

/* Phones: bottom sheet that slides up */
@media (max-width: 575.98px) {
    .kf-sheet .modal-dialog {
        display: flex;
        align-items: flex-end;
        width: 100%;
        max-width: none;
        min-height: 100%;
        margin: 0;
    }
    .kf-sheet .modal-content {
        border-radius: 26px 26px 0 0;
        padding-bottom: env(safe-area-inset-bottom);
    }
    .kf-sheet.fade .modal-dialog { transform: translateY(70px); transition: transform .25s ease-out; }
    .kf-sheet.show .modal-dialog { transform: none; }
    .kf-sheet .kf-sheet-head { padding-top: 26px; }
    .kf-sheet .kf-sheet-head::before {
        content: '';
        position: absolute;
        top: 9px; left: 50%;
        width: 42px; height: 5px;
        margin-left: -21px;
        border-radius: 3px;
        background: #ddd3c6;
    }
    .kf-sheet .kf-sum { margin: 0 16px; }
    .kf-sheet .modal-body { padding: 16px 16px 20px; }
    .kf-sheet .kf-sum-amt { font-size: 30px; }
}

@media (prefers-reduced-motion: reduce) {
    #detailPage.kf-v3 *, .kf-sheet *, #gotoDonation.kf-v3-bar * { transition: none !important; }
}
