   :root {
            --donate-bg: #fbf7fa;
            --donate-white: #ffffff;
            --donate-pink-50: #fff7fb;
            --donate-pink-100: #fbeaf2;
            --donate-pink-200: #f4cddd;
            --donate-pink-300: #ec95b8;
            --donate-pink-400: #e96398;
            --donate-pink-500: #d84b85;
            --donate-pink-600: #c43f78;
            --donate-purple-700: #6d0e66;
            --donate-purple-800: #4c0951;
            --donate-text: #2e1f29;
            --donate-text-soft: #7b6d78;
            --donate-border: #efd9e5;
            --donate-shadow: 0 10px 28px rgba(122, 47, 93, 0.10);
            --radius-xl: 28px;
            --radius-lg: 22px;
            --radius-md: 18px;
            --radius-sm: 14px;
        }

        * {
            box-sizing: border-box;
        }

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

         /* a:hover {
    color: #ffffff !important;
} */

        .donate-page-v2 {
            background: var(--donate-bg);
            color: var(--donate-text);
            min-height: 100vh;
            /* เผื่อพื้นที่ให้พ้น navbar fixed-top พอดี */
            padding-top: 50px;
            /* overflow-x: hidden; */
        }

        .donate-qr,
        .donate-step1,
        .donate-step2,
        .donate-step3 {
            padding-top: 50px;
        }

        @media (max-width: 768px) {
            .donate-page-v2,
            .donate-qr,
            .donate-step1,
            .donate-step2,
            .donate-step3 {
                padding-top: 55px;
            }
        }

        .donate-container {
            width: 100%;
            /* max-width: 1320px; */
            margin: 0 auto;
            /* padding: 0 20px; */
        }

        .donate-hero {
            position: relative;
            min-height: 210px;
            margin-top: 8px;
            /* border-radius: 0 0 34px 34px; */
            overflow: hidden;
            /* background-image: url(../image/banner-donate.png); */
            background: linear-gradient(rgb(253 253 253 / 0%), rgb(253 253 253 / 0%)), url(../image/banner-donate.png) center / cover no-repeat;
            box-shadow: var(--donate-shadow);
        }

        .donate-hero::before {
            content: "";
            position: absolute;
            left: -80px;
            bottom: -80px;
            width: 420px;
            height: 180px;
            border-radius: 999px;
            /* background: linear-gradient(90deg, rgba(92, 7, 93, .95), rgba(224, 102, 154, .9)); */
            transform: rotate(-8deg);
            opacity: .85;
        }

        .donate-hero::after {
            content: "";
            position: absolute;
            left: -10px;
            bottom: -65px;
            width: 420px;
            height: 110px;
            border-radius: 999px;
            /* background: rgba(255, 255, 255, .92); */
            transform: rotate(-8deg);
        }

        .donate-hero-inner {
            position: relative;
            z-index: 2;
            min-height: 210px;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 34px 20px 30px;
        }

        .donate-hero-title {
            font-family: 'CHULALONGKORN';
            font-size: clamp(1.65rem, 2vw + 1rem, 2.15rem);
            line-height: 1.15;
            font-weight: 800;
            color: #000000;
            margin-bottom: 10px;
        }

        .donate-hero-subtitle {
            max-width: 880px;
            margin: 0 auto;
            font-size: clamp(.88rem, 1vw + .35rem, 2.95rem);
            color: #6d5d67;
            line-height: 1.8;
        }

        .donate-stats {
            margin-top: 0;
            background: linear-gradient(90deg, #3f014e 0%, #7a0f68 38%, #ec5d96 100%);
            box-shadow: var(--donate-shadow);
        }

        .donate-stats-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }

        .donate-stat {
            position: relative;
            text-align: center;
            color: #fff;
            padding: 22px 14px 20px;
        }

        .donate-stat:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 24%;
            right: 0;
            width: 1px;
            height: 52%;
            background: rgba(255, 255, 255, .18);
        }

        .donate-stat-icon {
           width: 47px;
    height: 47px;
    margin: 0 auto 10px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .14);
    font-size: 1.95rem;
        }

        .donate-stat-value {
            font-size: clamp(1rem, 1vw + .7rem, 1.35rem);
            font-weight: 800;
            line-height: 1;
            margin-bottom: 6px;
        }

        .donate-stat-label {
            font-size: 1rem;
            opacity: .95;
            line-height: 1.45;
        }

        .donate-section {
            /* padding: 42px 0 18px; */
             padding: 0px 0 0px;
        }

        .donate-grid-hero {
            display: grid;
            grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
            /* gap: 28px; */
            gap: 0px;
            align-items: stretch;
        }

        .donate-feature-card {
            min-height: 470px;
            border-radius: 0;
            overflow: hidden;
            box-shadow: var(--donate-shadow);
           background: linear-gradient(4deg, rgb(105 8 104 / 60%), rgb(29 3 17 / 34%)), url(../image/d-1.png) center / cover no-repeat;
            display: flex;
            align-items: end;
        }

        .donate-feature-content {
            width: 100%;
            padding: 46px 42px;
            color: #fff;
            background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(17, 6, 18, .26) 100%);
        }

        .donate-kicker {
            font-size: .9rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 14px;
            opacity: .9;
            flex-wrap: wrap;
        }

        .donate-kicker::before {
            content: "";
            width: 46px;
            height: 2px;
            background: currentColor;
            opacity: .7;
            flex: 0 0 auto;
        }

        .donate-feature-title {
            font-size: clamp(2rem, 3vw + .8rem, 3rem);
            line-height: 1.08;
            font-weight: 800;
            margin-bottom: 14px;
        }

        .donate-feature-desc {
            max-width: 520px;
            color: rgba(255, 255, 255, .88);
            font-size: .95rem;
            line-height: 1.8;
            margin-bottom: 24px;
        }

        .donate-feature-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 28px;
            padding-top: 18px;
            border-top: 1px solid rgba(255, 255, 255, .18);
        }

        .donate-feature-meta strong {
            display: block;
            font-size: 1.2rem;
            font-weight: 800;
        }

        .donate-feature-meta span {
            display: block;
            font-size: .86rem;
            color: rgba(255, 255, 255, .84);
            margin-top: 4px;
        }

        .donate-method-card {
            background: #fff;
            box-shadow: var(--donate-shadow);
            padding: 42px 34px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .donate-method-kicker {
            color: #cf5b8d;
            font-size: .92rem;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 16px;
            flex-wrap: wrap;
        }

        .donate-method-kicker::after {
            content: "";
            width: 120px;
            height: 2px;
            background: #e6b9cb;
            flex: 0 0 auto;
        }

        .donate-method-title {
            font-size: clamp(1.45rem, 1.2vw + 1rem, 1.85rem);
            font-weight: 800;
            margin-bottom: 8px;
            line-height: 1.25;
        }

        .donate-method-desc {
            color: var(--donate-text-soft);
            line-height: 1.7;
            margin-bottom: 20px;
        }

        .btn-donate-main,
        .btn-copy,
        .btn-card-donate {
            cursor: pointer;
            transition: .2s ease;
            font-size: 18px;
        }

        .btn-donate-main:hover,
        .btn-copy:hover,
        .btn-card-donate:hover {
            transform: translateY(-1px);
            filter: brightness(1.02);
            color: #ffff;
        }

        .btn-donate-main {
            border: 0;
            border-radius: 999px;
            background: linear-gradient(90deg, #650969 0%, #e35390 100%);
            color: #fff;
            font-weight: 700;
            padding: 14px 20px;
            width: 100%;
            margin-bottom: 14px;
            box-shadow: 0 10px 20px rgba(165, 52, 111, 0.22);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            text-align: center;
        }

        .donate-section-split {
            display: grid;
            grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
            /* gap: 28px; */
            gap: 83px;
            align-items: center;
        }

        .donate-soft-area .donate-section-split {
   grid-template-columns: minmax(0, 2fr) minmax(260px, 320px);
}

        .copy-side {
            padding: 12px 2px;
        }

        .copy-side.right {
            order: 2;
        }

        .copy-title {
            font-size: clamp(1.9rem, 3vw + .8rem, 3.2rem);
            line-height: 1.17;
            font-weight: 800;
            margin-bottom: 16px;
            word-break: break-word;
        }

        .copy-title .accent {
            color: var(--donate-pink-600);
        }

        .copy-desc {
            color: var(--donate-text-soft);
            line-height: 1.8;
            font-size: .94rem;
            margin-bottom: 18px;
        }

        .btn-copy {
            border: 0;
            border-radius: 999px;
            color: #fff;
            background: linear-gradient(90deg, #690968 0%, #d94d88 100%);
            padding: 11px 18px;
            display: inline-flex;
            font-weight: 700;
            box-shadow: 0 8px 18px rgba(152, 44, 100, .18);
            max-width: 100%;
        }

        .slider-shell {
            position: relative;
            min-height: 460px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-width: 0;
        }

        .slider-track {
            position: relative;
            width: 100%;
            height: 460px;
        }

        .slider-card {
            width: min(330px, calc(100% - 40px));
            background: #fff;
            border-radius: 24px;
            border: 1px solid var(--donate-border);
            overflow: hidden;
            box-shadow: var(--donate-shadow);
            position: absolute;
            top: 50%;
            left: 50%;
            transform-origin: center center;
            transition: transform .45s ease, opacity .35s ease, filter .35s ease, box-shadow .35s ease;
            will-change: transform, opacity;
        }

        .slider-card.is-hidden {
            opacity: 0;
            pointer-events: none;
        }

        .slider-card.is-side {
            opacity: .36;
            filter: blur(.2px);
        }

        .slider-card.is-center {
            opacity: 1;
            z-index: 3;
            box-shadow: 0 18px 38px rgba(117, 44, 93, .16);
        }

        .slider-card-inner-img {
            height: 200px;
            background-size: cover;
            background-position: center;
        }

        .slider-card-body {
            padding: 18px 18px 20px;
        }

        .slider-card-title , .qr-card-title {
            font-size: clamp(1.2rem, 1vw + .95rem, 1.48rem);
            font-weight: 800;
            color: #5c1646;
            text-align: center;
            margin-bottom: 8px;
            line-height: 1.2;
        }


        .slider-card-text , .qr-card-desc  {
            color: var(--donate-text-soft);
            font-size: .9rem;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .qr-box {
            border: 1px solid var(--donate-border);
            border-radius: 16px;
            padding: 14px;
            text-align: center;
            background: #fff;
        }

        .qr-box small {
            display: block;
            line-height: 1.5;
            color: var(--donate-text-soft);
        }

        .fake-qr {
           /* width: 120px; */
           width: 220px;
    height: 120px;
    background-image: url(../image/qr-placeholder.png);
    background-size: cover;
    background-position: center;
    border-radius: 12px;
    background-color: #fff;
    padding: 8px;
        }

        .slider-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 54px;
            height: 54px;
            border: 0;
            border-radius: 18px;
            background: #f6dbe7;
            color: #a35779;
            box-shadow: var(--donate-shadow);
            z-index: 5;
            font-size: 1.1rem;
            cursor: pointer;
        }

        .slider-arrow.prev {
            left: 36px;
        }

        .slider-arrow.next {
            right: 36px;
        }

        .heart-mini {
            color: #d76596;
            font-size: .84rem;
            margin-bottom: 8px;
            display: inline-flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
        }

        .amount-pills {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 10px;
        }

        .amount-pill {
            min-width: 58px;
            border-radius: 999px;
            border: 1px solid var(--donate-border);
            background: #faf2f7;
            color: #6c5b67;
            font-size: .82rem;
            text-align: center;
            padding: 7px 10px;
            white-space: nowrap;
        }

        .amount-input {
            width: 100%;
            border-radius: 999px;
            border: 1px solid var(--donate-border);
            background: #fff;
            padding: 10px 14px;
            margin-bottom: 12px;
            outline: none;
            min-height: 42px;
        }

        .amount-input:focus {
            border-color: #e789b2;
            box-shadow: 0 0 0 4px rgba(223, 93, 150, 0.08);
        }

        .btn-card-donate {
            width: 100%;
            border: 0;
            border-radius: 999px;
            color: #fff;
            background: linear-gradient(90deg, #690968 0%, #e45f95 100%);
            padding: 12px 18px;
            font-weight: 700;
            text-align: center;
        }

        .donate-soft-area {
            position: relative;
            /* margin-top: 16px; */
            /* padding: 40px 0 48px; */
            padding: 60px 38px 18px;
            /* background: #fdf5f8; */
            background: linear-gradient(180deg, rgb(255 237 244) 0%, rgb(255 255 255) 100%);
        }

        .donate-soft-area::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 260px;
            height: 220px;
            background: radial-gradient(circle, rgba(235, 148, 187, .24) 0%, rgba(235, 148, 187, 0) 72%);
            pointer-events: none;
        }

        .donate-section-2{
             padding: 42px 38px 18px;
    background: #fff;
        }



         /* ===== donate qr ===== */

         .donate-qr .section-banner-api {
   position: relative;
    min-height: 210px;
    margin-top: 8px;
    /* border-radius: 0 0 34px 34px; */
    overflow: hidden;
    background-image: url(../image/banner-donate.png);
    background: linear-gradient(rgb(253 253 253 / 0%), rgb(253 253 253 / 0%)), url(../image/banner-donate.png) center / cover no-repeat;
    box-shadow: var(--donate-shadow);
}

 .donate-qr .section-5 .header-curve ,
 .donate-step1 .section-5 .header-curve ,
 .donate-step2 .section-5 .header-curve,
  .donate-step3 .section-5 .header-curve {
    top: -82px;
    box-shadow: var(--shadow-soft);
}

.donate-qr .section-5 .page-tab-before ,
.donate-step1 .section-5 .page-tab-before,
.donate-step2 .section-5 .page-tab-before,
.donate-step3 .section-5 .page-tab-before
{
    width: 212px;
}

 .main-body {
            background: linear-gradient(180deg, rgba(255, 255, 255, 1) 21%, rgb(255 255 255) 76%);
        }

  .donation-container {
            max-width: 1320px;
            margin: 0 auto;
            padding: 0 16px;
        }


.donation-card-shell {
    background: #ffffff;
    border-radius: 30px;
    position: relative;
    top: 46px;
    padding: 24px;
    margin: 20px 0 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.donate-qr .qr-card-title ,
.fund-title {
            font-size: 24px;
        }

   .channel-row {
            border: 1px solid #e3e3e3;
    background: #f6f6f6;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 14px;
    padding: 10px;
        }

        .channel-btn {
            min-height: 62px;
            border: 1px solid #ead9e1;
            border-radius: 16px;
            background: #efe8eb;
            color: #857783;
            font-weight: 700;
            font-size: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            box-shadow: 0 10px 20px rgb(142 119 131 / 21%);
        }

        .channel-btn.active {
            background: linear-gradient(90deg, #650969 0%, #e35390 100%);
    color: #fff;
            /* background: #fffafd;
    color: #a3013e; */
    border-color: #e28aac;
    font-size: 20px;
    box-shadow: 0 10px 20px rgb(142 119 131 / 21%);
        }

        .note-box {
            border: 1px solid #e899b6;
    border-left: 8px solid #d2558b;
    background: #fffafb;
    border-radius: 16px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 18px;
        }

        .note-icon {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #fde7ef;
            color: #d85a91;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .note-title {
           font-size: 18px;
            font-weight: 800;
            margin-bottom: 4px;
        }

        .note-desc {
            font-size: 16px;
            line-height: 1.75;
            color: #61545d;
        }

        .qr-steps {
            display: flex;
            justify-content: center;
            gap: 90px;
            margin: 20px 0 24px;
            flex-wrap: wrap;
        }

        .qr-step {
            text-align: center;
            position: relative;
        }

        .qr-step-no {
            position: absolute;
            top: -10px;
            right: -10px;
            width: 30px;
    height: 30px;
            border-radius: 50%;
            background: #db3c7a;
            color: #fff;
            font-size: 22px;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .qr-step-icon {
            width: 83px;
    height: 68px;
            border-radius: 12px;
            background: #fdeef4;
            color: #d45b91;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 8px;
            font-size: 46px;
        }

        .qr-step-text {
            font-size: 19px;
            color: #433842;
            font-weight: 600;
        }

        .qr-card-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .qr-card {
            background: #fff;
           border: 1px solid var(--donate-border);
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(126, 71, 101, .08);
        }

        .qr-card-image {
            height: 185px;
            background-size: cover;
            background-position: center;
            position: relative;
        }

        .qr-card-image::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(255, 255, 255, 0) 42%, rgba(255, 255, 255, .92) 100%);
        }

        .qr-card-body {
            padding: 16px 16px 18px;
        }

        .qr-card-title {
            font-size: 18px;
            line-height: 1.25;
            font-weight: 800;
            text-align: center;
            min-height: 52px;
            margin-bottom: 8px;
        }

        .qr-card-desc {
            text-align: center;
            color: #6d616a;
            font-size: 18px;
            line-height: 1.7;
            min-height: 54px;
            margin-bottom: 10px;
        }

        .qr-label {
            color: #cf4d86;
            font-size: 16px;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .qr-box {
            max-width: 220px;
            margin: 0 auto;
            background: #fff;
            border: 1px solid #ecd6df;
            border-radius: 14px;
            padding: 10px;
            text-align: center;
        }

        .qr-box img {
            width: 100%;
            max-width: 200px;
            aspect-ratio: 1/1;
            object-fit: contain;
            display: block;
            /* margin: 0 auto 8px;
            border-radius: 6px; */
        }

        .qr-caption {
            font-size: 11px;
            color: #4b4348;
            line-height: 1.5;
        }


          /* ===== donate step1===== */

         .step-tabs {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0;
            border-radius: 16px;
            overflow: hidden;
            margin-bottom: 22px;
        }

        .step-tab {
            background: #ece5e8;
            color: #766972;
            text-align: center;
            padding: 14px 10px;
            font-weight: 700;
            position: relative;
            font-size: 23px;
        }

        .step-tab.active {
            background: linear-gradient(90deg, #e86a9a 0%, #c72468 100%);
            color: #fff;
        }

        .step-number {
            width: 41px;
            height: 41px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: rgba(255, 255, 255, .85);
           color: #c9276a;
            font-size: 23px;
            font-weight: 800;
            margin-right: 8px;
        }

        .step-tab:not(.active) .step-number {
            background: #d8ccd2;
            color: #7f6b78;
        }

        .section-step-title {
            font-size: 24px;
            font-weight: 800;
            color: #d22b67;
            margin-bottom: 16px;
        }

         .fund-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 18px;
        }

        .fund-card {
            background: #fff;
            border: 1px solid var(--donate-border);
            border-radius: 22px;
            overflow: hidden;
            box-shadow: 0 4px 14px rgba(126, 71, 101, .08);
            display: flex;
            flex-direction: column;
            transition: .2s ease;
        }

        .fund-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 24px rgba(126, 71, 101, .12);
        }

        .fund-card.selected {
            border-color: #d8568e;
            box-shadow: 0 0 0 2px rgba(216, 86, 142, 0.12), 0 10px 24px rgba(126, 71, 101, .14);
        }

        .fund-image {
            position: relative;
            height: 190px;
            background-size: cover;
            background-position: center;
        }

        .fund-image::after {
            content: "";
            position: absolute;
            inset: 0;
            background: linear-gradient(180deg, rgba(255, 255, 255, .0) 42%, rgba(255, 255, 255, .92) 100%);
        }

        .fund-body {
            padding: 16px 16px 18px;
            position: relative;
        }

        .fund-title {
            font-size: 24px;
            color: #5c1646;
            line-height: 1.25;
            font-weight: 800;
            text-align: center;
            min-height: 48px;
            margin-bottom: 10px;
        }

        .fund-desc {
            font-size: 18px;
            color: #6b5d68;
            text-align: center;
            line-height: 1.65;
            min-height: 60px;
            margin-bottom: 12px;
        }

        .fund-fav {
            font-size: 16px;
            color: #d65b8f;
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .amount-list {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin-bottom: 10px;
        }

        .amount-pill {
            min-width: 58px;
            padding: 7px 10px;
            border-radius: 999px;
            border: 1px solid #ead6df;
            background: #f8f4f6;
           font-size: 18px;
            text-align: center;
            cursor: pointer;
            transition: .2s ease;
        }

        .amount-pill.active {
            background: linear-gradient(90deg, #6e0b68 0%, #d66093 100%);
            color: #fff;
            border-color: transparent;
        }

        .other-amount {
            width: 100%;
            min-height: 40px;
            border-radius: 999px;
            border: 1px solid #ead6df;
            background: #fff;
            padding: 8px 14px;
            text-align: end;
           font-size: 18px;
            margin-bottom: 12px;
            outline: none;
        }

        .other-amount:focus {
            border-color: #e48cb1;
            box-shadow: 0 0 0 3px rgba(216, 90, 145, 0.10);
        }

        .fund-action {
            width: 100%;
            border: 0;
            min-height: 42px;
            border-radius: 999px;
            background: linear-gradient(90deg, #6a0668 0%, #df6598 100%);
            color: #fff;
            font-weight: 700;
            font-size: 18px;
            box-shadow: 0 8px 16px rgba(156, 51, 108, .18);
        }

        .summary-box {
            margin-top: 18px;
            border: 1px solid #eadfe5;
            border-radius: 22px;
            overflow: hidden;
            background: #fff;
            display: grid;
            grid-template-columns: 280px 1fr;
            min-height: 62px;
            box-shadow: 0 4px 12px rgba(120, 67, 98, .06);
        }

        .summary-label {
            background: linear-gradient(180deg, #7d0b6c 0%, #d85a91 100%);
            color: #fff;
            font-weight: 800;
            font-size: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 10px 18px;
        }

        .summary-value {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            gap: 18px;
            padding: 10px 18px;
            background: #fff;
        }

        .summary-price {
            min-width: 260px;
            border-radius: 999px;
            background: #e7dff0;
            color: #1f1a1f;
            font-size: 23px;
            font-weight: 800;
            line-height: 1;
            padding: 14px 26px;
            text-align: center;
        }

        .summary-currency {
            font-size: 23px;
            font-weight: 800;
            color: #402d3b;
        }

        .step-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 18px;
            margin-top: 24px;
        }

        .step-indicator {
            color: #777;
            font-size: 14px;
        }

        .step-buttons {
            display: flex;
            align-items: center;
            gap: 14px;
            background: #ececec;
            padding: 12px;
            border-radius: 18px;
        }

        .btn-step-back,
        .btn-step-next {
            border: 0;
            border-radius: 999px;
            min-width: 160px;
            min-height: 48px;
            font-weight: 800;
            font-size: 18px;
        }

        .btn-confirm-sweetalert,
        .btn-cancel-sweetalert{
            padding: .625em 1.1em;
            border-radius: 25px !important;
        }

        .btn-step-back {
            background: #9a9a9a;
            color: #fff;
        }

        .btn-step-next {
            background: linear-gradient(90deg, var(--pink2), var(--pink));
            color: #fff;
        }

        div:where(.swal2-container) h2:where(.swal2-title) {
    font-size: 27px !important;
}

div:where(.swal2-container) .swal2-html-container {
    font-size: 18px !important;
}

 /* ===== donate-step2 ===== */
 .section-step-desc {
            font-size: 18px;
        }

        .donor-option-box {
            border: 1px solid #e597b6;
            background: #fff9fb;
            border-radius: 18px;
            padding: 14px 16px;
            margin-bottom: 20px;
        }

        .donor-option-box .form-check {
            margin-bottom: 6px;
        }

        .donor-option-box .form-check:last-child {
            margin-bottom: 0;
        }

        .donor-option-box .form-check-label {
            font-size: 18px;
            color: #51444c;
        }

        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1.25fr;
            gap: 18px;
            background: #f8e8ee;
    border-radius: 28px;
    padding: 16px;
        }

        .info-card {
            background: #fff;
            border: 1px solid var(--pink-border);
            border-radius: 22px;
            padding: 18px;
            box-shadow: 0 4px 12px rgb(255 178 220 / 30%);
        }

        .info-card-title {
            color: #810735;
            font-family: 'CHULALONGKORN';
            font-size: 20px;
            font-weight: 800;
            padding-bottom: 10px;
            border-bottom: 1px dashed #e9bfd0;
            margin-bottom: 14px;
        }

        .step-tab-disabled {
            cursor: pointer;
        }



        .donate-form-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 12px;
        }

        .donate-form-grid-2 {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px 14px;
        }

        /* ===== donate-step3 ===== */

          .payment-wrap {
            background: #f8e8ee;
            border-radius: 28px;
            padding: 16px;
            box-shadow: var(--shadow-soft);
        }

        .payment-card {
            background: #fff;
            border: 1px solid #ead7df;
            border-radius: 18px;
            box-shadow: 0 6px 14px rgba(134, 77, 103, 0.08);
            margin-bottom: 14px;
            overflow: hidden;
        }

        .payment-option-head {
            padding: 14px 18px;
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 18px;
            font-weight: 700;
            color: #3b2c36;
            cursor: pointer;
        }

        .payment-option-head input[type="radio"] {
            accent-color: #e54b8a;
            width: 18px;
            height: 18px;
        }

        .payment-option-body {
            padding: 0 18px 18px;
            display: none;
        }

        .payment-card.active .payment-option-body {
            display: block;
        }

        .ibank-grid {
            display: grid;
            /* grid-template-columns: 1fr 320px; */
            gap: 22px;
            padding-top: 8px;
            border-top: 1px solid #eee1e7;
        }

        .ibank-left {
            /* border-right: 1px solid #e7dde3; */
            padding-right: 22px;
        }

        .ibank-title,
        .preview-title {
            font-size: 18px;
            font-weight: 700;
            color: #4d3947;
            margin-bottom: 12px;
        }

        .preview-title {
            color: var(--purple-main);
            padding-bottom: 8px;
            border-bottom: 1px dashed #e6bfd0;
        }

        .form-label-pay {
            display: block;
            font-size: 18px;
            font-weight: 700;
            color: #4f4149;
            margin-bottom: 6px;
        }


        .form-control-pay {
            width: 100%;
            min-height: 46px;
            border: 1px solid #e2d7de;
            border-radius: 999px;
            padding: 10px 14px;
            background: #fff;
            font-size: 18px;
            outline: none;
        }

        .form-control-pay:focus {
            border-color: #e38aac;
            box-shadow: 0 0 0 3px rgba(229, 75, 138, 0.10);
        }

        #proofFileName {
            cursor: pointer;
        }

        .upload-row {
            display: flex;
            gap: 10px;
            align-items: center;
        }

        .upload-row .form-control-pay {
            flex: 1;
            background: #f8f8f8;
        }

        .btn-upload-proof {
            min-width: 90px;
            min-height: 44px;
            border: 0;
            border-radius: 999px;
            background: linear-gradient(90deg, #7a1f7c 0%, #d34886 100%);
            color: #fff;
            font-weight: 700;
            box-shadow: 0 8px 16px rgba(170, 72, 121, 0.18);
        }

        .amount-inline {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .amount-inline .form-control-pay {
            flex: 1;
        }

        .amount-unit {
            font-size: 18px;
            font-weight: 700;
            color: #443940;
            min-width: 34px;
        }

        .preview-frame {
            width: 100%;
            aspect-ratio: 1 / 1;
            border-radius: 22px;
            background: #fff;
            border: 1px solid #e7dee4;
            box-shadow: 0 8px 16px rgba(126, 77, 103, 0.08);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .preview-frame img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .preview-placeholder {
            width: 72%;
            max-width: 200px;
            opacity: .8;
        }

        .credit-note {
            font-size: 18px;
            color: #635761;
            line-height: 1.7;
            padding-top: 6px;
        }


        .summary-table {
            width: 100%;
            border-collapse: collapse;
            font-size: 13px;
        }

        .summary-table th,
        .summary-table td {
            padding: 10px 8px;
            border-bottom: 1px solid #f0d9e3;
        }

        .summary-table th {
            font-weight: 700;
            background: #f9eef4;
            color: #41373d;
        }

        .summary-table td:last-child,
        .summary-table th:last-child {
            text-align: right;
        }

        .summary-total-bar {
            display: grid;
            grid-template-columns: 1.2fr 1fr;
            border-radius: 999px;
            overflow: hidden;
            margin-top: 14px;
            border: 1px solid #ecd9e2;
        }

        .summary-total-label {
            background: linear-gradient(90deg, #7e0f72 0%, #d25c8c 100%);
            color: #fff;
            font-size: 18px;
            font-weight: 700;
            padding: 10px 18px;
            text-align: center;
        }

        .summary-total-value {
            background: #efe5f2;
            color: #3f3640;
            font-size: 18px;
            font-weight: 800;
            padding: 10px 18px;
            display: flex;
            justify-content: center;
            gap: 10px;
        }

        .summary-confirm-wrap {
            margin-top: 16px;
            background: #efefef;
            border-radius: 20px;
            padding: 14px;
            text-align: center;
        }

        .btn-confirm-donate {
            min-width: 210px;
            min-height: 48px;
            border: 0;
            border-radius: 14px;
            background: #ea5b97;
            color: #fff;
            font-weight: 800;
        }

        .proof-upload-zone {
            border: 2px dashed #e59ab8;
            border-radius: 22px;
            background: #fff8fb;
            padding: 28px;
            text-align: center;
            cursor: pointer;
            transition: .2s ease;
        }

        .proof-upload-zone.dragover {
            background: #ffeaf3;
            border-color: #d42d73;
            transform: scale(1.01);
        }

        .proof-upload-zone i {
            font-size: 48px;
            color: #d85a91;
            margin-bottom: 10px;
        }

        .proof-preview-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
            gap: 14px;
        }

        .proof-preview-card {
            position: relative;
            border-radius: 18px;
            overflow: hidden;
            background: #fff;
            border: 1px solid #ead7df;
            box-shadow: 0 8px 18px rgba(120, 60, 95, .12);
        }

        .proof-preview-card img {
            width: 100%;
            aspect-ratio: 1 / 1;
            object-fit: cover;
            cursor: zoom-in;
        }

        .proof-preview-actions {
            display: flex;
            gap: 6px;
            padding: 8px;
            justify-content: center;
        }

        .proof-preview-actions button {
            border: 0;
            border-radius: 999px;
            padding: 6px 10px;
            font-size: 18px;
        }



        /* ===== FIX Cropper Modal ไม่ให้ล้นกรอบ ===== */

        #proofCropModal .modal-dialog {

            max-width: 1100px;

        }

        #proofCropModal .modal-body {

            max-height: 70vh;

            overflow: hidden;

            padding: 16px;

        }

        #proofCropModal .cropper-wrap {

            width: 100%;

            height: 65vh;

            max-height: 65vh;

            overflow: hidden;

            background: #f8f8f8;

            border-radius: 14px;

        }

        #cropImage {

            display: block;

            max-width: 100%;

            max-height: 65vh;

        }


        /* ===== Large tablet / small desktop ===== */
        @media (max-width: 1199.98px) {
            .donate-container {
                /* padding: 0 18px; */
                padding: 0 0px;
            }

            .copy-title {
                font-size: 2.6rem;
            }

            .slider-arrow.prev {
                left: 10px;
            }

            .slider-arrow.next {
                right: 10px;
            }

            .donate-feature-card {
                min-height: 430px;
            }

            .donate-feature-content,
            .donate-method-card {
                padding: 34px 28px;
            }

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

            .summary-box {
                grid-template-columns: 240px 1fr;
            }

            .summary-price {
                min-width: 220px;
                font-size: 24px;
            }
        }

        /* ===== Tablet ===== */
        @media (max-width: 991.98px) {

            .donate-stats-grid,
            .donate-grid-hero,
            .donate-section-split,
            .donate-soft-area .donate-section-split {
                grid-template-columns: 1fr;
            }


            .donate-section-split,
            .donate-soft-area .donate-section-split {
                gap: 92px;
            }

            .donate-section {
                /* padding: 34px 0 14px; */
                 padding: 0px 0 14px;
            }

            .donate-section-2 {
        padding: 48px 21px 18px;
    }

            .donate-feature-title {
                font-size: 2.2rem;
            }

            .copy-title {
                font-size: 2.2rem;
            }

            .copy-side,
            .copy-side.right {
                order: initial;
                padding: 0;
            }

            .donate-method-card,
            .copy-side,
            .copy-side.right {
                text-align: left;
            }

            .slider-shell {
                min-height: 380px;
            }

            .slider-track {
                height: 380px;
            }

            .slider-card {
                width: min(330px, calc(100% - 40px));
            }

            .slider-arrow {
                display: none;
            }

              .channel-row,
            .qr-card-grid {
                grid-template-columns: 1fr;
            }

            .qr-steps {
                gap: 23px;
            }


            .fund-grid,
            .donation-channel-row {
                grid-template-columns: 1fr;
            }

            .step-tabs {
                grid-template-columns: 1fr;
                gap: 8px;
                background: transparent;
            }

            .step-tab {
                border-radius: 14px;
            }

            .summary-box {
                grid-template-columns: 1fr;
            }

            .summary-label {
                justify-content: center;
            }

            .summary-value {
                flex-direction: column;
                justify-content: center;
                align-items: stretch;
                gap: 10px;
            }

            .summary-price {
                min-width: 100%;
            }

            .step-footer {
                flex-direction: column;
                align-items: stretch;
            }

            .step-buttons {
                width: 100%;
                justify-content: stretch;
            }

            .btn-step-back,
            .btn-step-next {
                width: 100%;
            }

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

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

            .ibank-left {
                border-right: 0;
                padding-right: 0;
                border-bottom: 1px solid #e7dde3;
                padding-bottom: 18px;
            }

        }

        /* ===== Mobile landscape / big phone ===== */
        @media (max-width: 767.98px) {
            .donate-container {
                /* padding: 0 14px; */
                padding: 0 0px;
            }

            .donate-hero {
                min-height: 170px;
                /* border-radius: 0 0 24px 24px; */
            }

            .donate-hero::before {
                width: 280px;
                height: 120px;
                left: -70px;
                bottom: -55px;
            }

            .donate-hero::after {
                width: 250px;
                height: 78px;
                left: -16px;
                bottom: -46px;
            }

            .donate-hero-inner {
                min-height: 170px;
                padding: 22px 14px 20px;
            }

            .donate-hero-subtitle {
                line-height: 1.65;
            }

            .donate-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }

            .donate-stat:nth-child(2)::after,
            .donate-stat:nth-child(4)::after {
                display: none;
            }

            .donate-stat {
                padding: 18px 10px;
            }

            .donate-stat:not(:last-child)::after {
                top: 20%;
                height: 60%;
            }

            .donate-feature-card {
                min-height: 360px;
            }

            .donate-feature-content {
                padding: 26px 20px;
            }

            .donate-feature-title {
                font-size: 1.9rem;
            }

            .donate-feature-desc,
            .donate-method-desc,
            .copy-desc {
                font-size: .9rem;
                line-height: 1.7;
            }

            .donate-feature-meta {
                gap: 16px;
            }

            .donate-method-card {
                padding: 24px 20px;
            }

            .donate-method-kicker::after {
                width: 80px;
            }

            .copy-title {
                font-size: 1.95rem;
            }

            .slider-shell {
                min-height: 350px;
            }

            .slider-track {
                height: 350px;
            }

            .slider-card-inner-img {
                height: 170px;
            }

            .slider-card-body {
                padding: 16px;
            }

            /* .fake-qr {
                width: 120px;
                height: 120px;
                background-size: 14px 14px;
            } */

            .donate-soft-area {
                /* padding: 32px 0 38px; */
                padding: 60px 21px 18px;
            }

             .donation-container {
                padding: 0 12px;
            }

            .donation-card-shell {
                padding: 16px;
            }

            .note-box {
                flex-direction: column;
            }

            .qr-steps {
                justify-content: center;
            }

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

            .donation-note-box {
                flex-direction: column;
            }

            .fund-title {
                font-size: 16px;
            }

            .step-buttons {
                flex-direction: column;
            }


        }

        /* ===== Small phone ===== */
        @media (max-width: 575.98px) {
            .donate-container {
                /* padding: 0 12px; */
                padding: 0 0px;
            }

            .donate-hero {
                min-height: 155px;
            }

            .donate-hero-inner {
                min-height: 155px;
                padding: 20px 12px 18px;
            }

            .donate-hero-title {
                font-size: 1.55rem;
                margin-bottom: 8px;
            }

            .donate-hero-subtitle {
                font-size: .83rem;
                line-height: 1.6;
            }

            .donate-stats-grid {
                grid-template-columns: 1fr 1fr;
            }

            .donate-stat-icon {
                width: 30px;
                height: 30px;
                font-size: .85rem;
            }

            .donate-stat-value {
                font-size: .98rem;
            }

            .donate-stat-label {
                font-size: .76rem;
            }

            .donate-feature-card {
                min-height: 320px;
            }

            .donate-feature-content {
                padding: 22px 16px;
            }

            .donate-feature-title {
                font-size: 1.7rem;
            }

            .donate-kicker,
            .donate-method-kicker {
                font-size: .82rem;
                gap: 8px;
            }

            .donate-kicker::before,
            .donate-method-kicker::after {
                width: 42px;
            }

            .donate-method-title {
                font-size: 1.35rem;
            }

            .btn-donate-main,
            .btn-copy,
            .btn-card-donate {
                padding: 11px 14px;
                font-size: .9rem;
            }

            .copy-title {
                font-size: 1.72rem;
                line-height: 1.08;
            }

            .slider-shell {
                min-height: 330px;
            }

            .slider-track {
                height: 330px;
            }

            .slider-card {
                width: calc(100% - 20px);
                border-radius: 18px;
            }

            .slider-card-inner-img {
                height: 155px;
            }

            .slider-card-title {
                font-size: 1.08rem;
            }

            .slider-card-text {
                font-size: .84rem;
                line-height: 1.6;
            }

            .qr-box {
                padding: 10px;
                border-radius: 12px;
            }

            /* .fake-qr {
                width: 100px;
                height: 100px;
                background-size: 12px 12px;
            } */

            .heart-mini {
                font-size: .8rem;
            }

            .amount-pills {
                gap: 6px;
            }

            .amount-pill {
                min-width: auto;
                padding: 6px 10px;
                font-size: .76rem;
            }

            .amount-input {
                font-size: .88rem;
                padding: 9px 12px;
            }




        }

        /* ===== Extra small phone ===== */
        @media (max-width: 389.98px) {
            .donate-hero-title {
                font-size: 1.38rem;
            }

            .donate-hero-subtitle {
                font-size: .78rem;
            }

            .copy-title {
                font-size: 1.52rem;
            }

            .donate-feature-title {
                font-size: 1.5rem;
            }

            .donate-method-title {
                font-size: 1.2rem;
            }

            .slider-card {
                width: calc(100% - 12px);
            }

            .slider-card-inner-img {
                height: 145px;
            }

            .slider-card-body {
                padding: 14px;
            }

            .btn-donate-main,
            .btn-copy,
            .btn-card-donate {
                font-size: .84rem;
            }
        }
