.yg-donate-page {
    --yg-blue: #062760;
    --yg-bright-blue: #1E70E0;
    --yg-sky: #56B7E8;
    --yg-ink: #10243D;
    --yg-text: #5C6B7F;
    --yg-muted: #8290A2;
    --yg-line: #E3ECF5;
    --yg-soft: #F6FAFE;
    background: #fff;
    color: var(--yg-ink);
}

.yg-donate-page,
.yg-donate-page * {
    box-sizing: border-box;
}

.yg-donate-page a {
    text-decoration: none;
}

.yg-donate-page img {
    display: block;
    max-width: 100%;
}

.yg-donate-hero {
    padding: 28px 0 34px;
    background:
        radial-gradient(circle at 12% 0%, rgba(86, 183, 232, 0.12), transparent 28%),
        linear-gradient(180deg, #F8FCFF 0%, #fff 100%);
    border-bottom: 1px solid var(--yg-line);
}

.yg-donate-hero .container,
.yg-donate-catalog .container {
    max-width: 1220px;
}

.yg-donate-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 30px;
    color: var(--yg-muted);
    font-size: 13px;
    font-weight: 500;
}

.yg-donate-breadcrumb a {
    color: var(--yg-muted);
}

.yg-donate-breadcrumb a:hover,
.yg-donate-breadcrumb span {
    color: var(--yg-blue);
}

.yg-donate-breadcrumb i {
    color: #A8B5C4;
    font-size: 16px;
}

.yg-donate-eyebrow {
    display: block;
    margin-bottom: 8px;
    color: var(--yg-blue);
    font-size: 13px;
    font-weight: 700;
}

.yg-donate-hero h1 {
    margin: 0;
    color: var(--yg-ink);
    font-size: clamp(30px, 3.5vw, 46px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: 0;
}

.yg-donate-catalog {
    padding: 28px 0 96px;
}

.yg-donate-tabs-shell {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 34px;
    padding: 12px;
    overflow: hidden;
    background: linear-gradient(120deg, #edf5ff 0%, #f8fbff 55%, #eef6ff 100%);
    border-radius: 20px;
}

.yg-donate-tabs-shell::after {
    position: absolute;
    top: -52px;
    right: -34px;
    width: 150px;
    height: 150px;
    background: rgba(30, 112, 224, .08);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

.yg-donate-tabs-slider {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0 46px;
    height: auto;
}

.yg-donate-tabs-slider .splide__track {
    height: auto !important;
    margin: 0 !important;
    overflow: hidden;
}

.yg-donate-tabs-slider .splide__list {
    align-items: center;
}

.yg-donate-tabs-slider .splide__slide {
    width: auto !important;
}

.yg-donate-tab {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 17px;
    color: #40526a;
    background: rgba(255, 255, 255, .9);
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: color .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.yg-donate-tab:hover {
    color: var(--yg-blue);
    border-color: rgba(30, 112, 224, .2);
}

.yg-donate-tab:focus-visible {
    outline: 3px solid rgba(30, 112, 224, .22);
    outline-offset: 2px;
}

.yg-donate-tab strong {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    color: var(--yg-blue);
    background: #edf5ff;
    border: 0;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.yg-donate-tab.is-active {
    color: #fff;
    background: var(--yg-blue);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(6, 39, 96, .18);
}

.yg-donate-tab.is-active strong {
    color: var(--yg-blue);
    background: #fff;
}

.yg-donate-tabs-slider .splide__arrow {
    top: 50%;
    z-index: 3;
    width: 34px;
    height: 34px;
    background: var(--yg-blue);
    border: 0;
    box-shadow: 0 7px 16px rgba(6, 39, 96, .18);
    opacity: 1;
    transform: translateY(-50%);
}

.yg-donate-tabs-slider .splide__arrow svg {
    width: 15px;
    height: 15px;
    fill: #fff;
}

.yg-donate-tabs-slider .splide__arrow--prev {
    left: 0;
}

.yg-donate-tabs-slider .splide__arrow--next {
    right: 0;
}

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

.yg-donate-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 8px;
    background: #fff;
    border: 1px solid #dce8f4;
    border-radius: 20px;
    box-shadow: 0 12px 34px rgba(6, 39, 96, .055);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.yg-donate-card:hover {
    border-color: rgba(30, 112, 224, .3);
    box-shadow: 0 18px 44px rgba(6, 39, 96, .1);
    transform: translateY(-4px);
}

.yg-donate-card[hidden] {
    display: none;
}

.yg-donate-card.is-completed {
    opacity: 0.78;
}

.yg-donate-card-media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--yg-soft);
    border-radius: 14px;
}

.yg-donate-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.24s ease;
}

.yg-donate-card:hover .yg-donate-card-media img {
    transform: scale(1.035);
}

.yg-donate-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 18px 12px 12px;
}

.yg-donate-card-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--yg-muted);
    font-size: 12px;
    font-weight: 600;
}

.yg-donate-card-location i {
    color: #9CAABC;
    font-size: 14px;
}

.yg-donate-card h2 {
    margin: 9px 0 0;
    color: var(--yg-ink);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.25;
}

.yg-donate-card h2 a {
    color: inherit;
    text-decoration: none;
}

.yg-donate-card p {
    display: -webkit-box;
    min-height: 45px;
    margin: 10px 0 0;
    overflow: hidden;
    color: var(--yg-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.yg-donate-progress {
    height: 5px;
    margin-top: 18px;
    overflow: hidden;
    background: #EDF3F9;
    border-radius: 999px;
}

.yg-donate-progress span {
    display: block;
    height: 100%;
    background: var(--yg-blue);
    border-radius: inherit;
}

.yg-donate-progress-meta {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 7px;
    color: #6F7F93;
    font-size: 12px;
    font-weight: 600;
}

.yg-donate-progress-meta strong {
    color: var(--yg-blue);
    font-size: 13px;
}

.yg-donate-amount {
    position: relative;
    display: block;
    flex: 1;
    max-width: 145px;
}

.yg-donate-amount .visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.yg-donate-amount input {
    width: 100%;
    height: 44px;
    padding: 0 38px 0 14px;
    color: var(--yg-ink);
    background: #f5f9fe;
    border: 1px solid #cfdeed;
    border-radius: 11px;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.yg-donate-amount input:focus {
    background: #fff;
    border-color: var(--yg-bright-blue);
    box-shadow: 0 0 0 3px rgba(30, 112, 224, .12);
}

.yg-donate-amount b {
    position: absolute;
    top: 50%;
    right: 14px;
    color: var(--yg-blue);
    font-size: 14px;
    transform: translateY(-50%);
    pointer-events: none;
}

.yg-donate-card-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 16px;
}

.yg-donate-fixed-price {
    color: var(--yg-ink);
    font-size: 17px;
    font-weight: 800;
    white-space: nowrap;
}

.yg-donate-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 17px;
    color: #fff;
    background: var(--yg-blue);
    border: 1px solid var(--yg-blue);
    border-radius: 11px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(6, 39, 96, .14);
    transition: background .18s ease, border-color .18s ease, opacity .18s ease, transform .18s ease;
}

.yg-donate-add:hover {
    color: #fff;
    background: var(--yg-bright-blue);
    border-color: var(--yg-bright-blue);
    transform: translateY(-1px);
}

.yg-donate-add:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

.yg-donate-empty {
    display: grid;
    justify-items: center;
    gap: 12px;
    padding: 70px 20px;
    color: var(--yg-muted);
    background: var(--yg-soft);
    border: 1px solid var(--yg-line);
    border-radius: 16px;
    text-align: center;
}

.yg-donate-empty[hidden] {
    display: none;
}

.yg-donate-empty i {
    color: var(--yg-blue);
    font-size: 36px;
}

.yg-donate-empty h2 {
    margin: 0;
    color: var(--yg-ink);
    font-size: 22px;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .yg-donate-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .yg-donate-hero {
        padding: 24px 0 30px;
    }

    .yg-donate-hero h1 {
        font-size: 32px;
    }

    .yg-donate-catalog {
        padding: 24px 0 72px;
    }

    .yg-donate-tabs-shell {
        margin-right: -12px;
        margin-bottom: 24px;
        padding: 8px 0 8px 8px;
        border-radius: 16px 0 0 16px;
    }

    .yg-donate-tabs-slider {
        padding: 0;
    }

    .yg-donate-tabs-slider .splide__track {
        padding-right: 12px;
    }

    .yg-donate-tabs-slider .splide__arrow {
        display: none;
    }

    .yg-donate-tab {
        min-height: 44px;
        padding: 0 15px;
        border-radius: 10px;
    }

    .yg-donate-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .yg-donate-card:hover {
        transform: none;
    }
}
