.yg-category-detail-page {
    --yg-green: #03482b;
    --yg-deep: #022f1d;
    --yg-gold: #e2a515;
    --yg-ink: #16382a;
    --yg-text: #64736c;
    --yg-soft: #f7f5ee;
    --yg-line: #e0e8e3;
    color: var(--yg-ink);
    background: #fff;
}

.yg-category-detail-page,
.yg-category-detail-page * { box-sizing: border-box; }
.yg-category-detail-page a { text-decoration: none !important; }

.yg-donations-hero { padding: 0 0 36px; }

.yg-donations-hero .container,
.yg-category-intro .container,
.yg-category-products .container {
    width: min(calc(100% - 40px), 1160px);
    max-width: 1160px;
    margin-inline: auto;
}

.yg-category-hero-copy { max-width: 760px; }

.yg-category-hero-copy h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(38px, 4.5vw, 56px);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.04em;
}

.yg-category-hero-copy p {
    margin: 12px 0 0;
    color: rgba(255, 255, 255, .7);
    font-size: 15px;
}

.yg-category-intro { padding: clamp(70px, 8vw, 112px) 0; }

.yg-category-intro-layout {
    display: grid;
    grid-template-columns: minmax(360px, .9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(54px, 8vw, 108px);
}

.yg-category-intro-media {
    width: 100%;
    max-width: 520px;
    margin: 0;
    overflow: hidden;
    background: var(--yg-soft);
    border-radius: 24px;
}

.yg-category-intro-media img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.yg-category-intro-copy { min-width: 0; }

.yg-category-label {
    display: block;
    color: #a77508;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.yg-category-intro-copy > h2,
.yg-category-products-head h2 {
    margin: 14px 0 0;
    color: var(--yg-green);
    font-size: clamp(35px, 4vw, 54px);
    font-weight: 820;
    line-height: 1.02;
    letter-spacing: -.05em;
}

.yg-category-description {
    margin-top: 25px;
    color: var(--yg-text);
    font-size: 15px;
    line-height: 1.8;
}

.yg-category-description :where(p, ul) { margin: 0 0 15px; }
.yg-category-description ul,
.yg-category-description ol {
    padding-left: 22px;
}
.yg-category-description ul { list-style: disc outside !important; }
.yg-category-description ol { list-style: decimal outside !important; }
.yg-category-description li { display: list-item !important; padding-left: 3px; }
.yg-category-description li + li { margin-top: 7px; }
.yg-category-description li::marker { color: var(--yg-gold); }
.yg-category-description :where(h1, h2, h3, h4, h5, h6) { display: none; }
.yg-category-description :where(strong, b) { color: var(--yg-ink); font-weight: 700; }
.yg-category-description .p2:empty { display: none; }

.yg-category-intro-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: 17px;
    padding: 0 18px;
    color: #fff;
    background: var(--yg-green);
    border-radius: 9px;
    font-size: 12px;
    font-weight: 800;
}

.yg-category-intro-action:hover { color: var(--yg-deep); background: var(--yg-gold); }

.yg-category-products {
    scroll-margin-top: 120px;
    padding: clamp(72px, 8vw, 108px) 0;
    overflow: hidden;
    background: var(--yg-soft);
}

.yg-category-products-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 42px;
}

.yg-category-products-head > div { min-width: 0; }

.yg-category-products-head h2 {
    max-width: 780px;
    font-size: clamp(34px, 4vw, 50px);
}

.yg-category-products-head > p {
    flex: 0 0 auto;
    margin: 0 0 5px;
    color: var(--yg-text);
    font-size: 12px;
    font-weight: 700;
}

.yg-category-product-slider { position: relative; }

.yg-category-product-slider .splide__track {
    overflow: hidden;
    padding: 1px !important;
}

.yg-category-product-slider .splide__slide,
.yg-donation-showcase .splide__slide {
    display: flex;
    height: auto;
}

.yg-category-product-slider .yg-donate-card,
.yg-donation-showcase .yg-donate-card {
    width: 100%;
}

.yg-category-product-slider .splide__arrows {
    position: absolute;
    top: -78px;
    right: 0;
    display: flex;
    gap: 8px;
}

.yg-category-product-slider .splide__arrow {
    position: static;
    width: 42px;
    height: 42px;
    color: var(--yg-green);
    background: #fff;
    border: 1px solid var(--yg-line);
    opacity: 1;
    transform: none;
}

.yg-category-product-slider .splide__arrow:hover {
    color: #fff;
    background: var(--yg-green);
}

.yg-category-product-slider .splide__pagination {
    position: static;
    gap: 5px;
    margin-top: 28px;
}

.yg-category-product-slider .splide__pagination__page {
    width: 6px;
    height: 6px;
    margin: 0;
    background: rgba(3, 72, 43, .22);
    opacity: 1;
}

.yg-category-product-slider .splide__pagination__page.is-active {
    width: 22px;
    background: var(--yg-green);
    border-radius: 999px;
    transform: none;
}

.yg-category-empty {
    max-width: 620px;
    padding: 38px 0;
}

.yg-category-empty h2 { margin: 0; color: var(--yg-green); font-size: 28px; }
.yg-category-empty a { display: inline-block; margin-top: 18px; color: var(--yg-green); font-weight: 750; }

@media (max-width: 991px) {
    .yg-category-intro-layout {
        grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .yg-donations-hero { padding-bottom: 28px; }

    .yg-donations-hero .container,
    .yg-category-intro .container,
    .yg-category-products .container {
        width: 100%;
        max-width: 100%;
        padding-right: 16px;
        padding-left: 16px;
    }

    .yg-category-hero-copy h1 { font-size: 34px; }
    .yg-category-hero-copy p { margin-top: 9px; font-size: 13.5px; }
    .yg-category-intro { padding: 52px 0 62px; }

    .yg-category-intro-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 37px;
    }

    .yg-category-intro-media {
        max-width: 100%;
        border-radius: 18px;
    }

    .yg-category-intro-copy > h2 { font-size: 36px; }
    .yg-category-description { margin-top: 20px; font-size: 14px; line-height: 1.75; }
    .yg-category-intro-action { width: 100%; margin-top: 11px; }
    .yg-category-products { padding: 59px 0 66px; }

    .yg-category-products-head {
        display: block;
        margin-bottom: 31px;
    }

    .yg-category-products-head h2 { font-size: 35px; }
    .yg-category-products-head > p { margin-top: 13px; }
    .yg-category-product-slider .splide__arrows { display: none; }
}
