.ppeanut-global .pg-category {
    --pg-category-bg: #f7f3eb;
    --pg-category-surface: #ffffff;
    --pg-category-line: #e5ddd0;
    --pg-category-text: #1f1b17;
    --pg-category-muted: #7b7468;
    --pg-category-accent: #5f7650;
    background: var(--pg-category-bg);
    color: var(--pg-category-text);
    padding: 48px 0 96px;
}

.ppeanut-global .pg-category__container {
    width: min(calc(100% - 64px), 1440px);
    margin: 0 auto;
}

.ppeanut-global .pg-category__hero {
    padding: 24px 0 40px;
    text-align: center;
}

.ppeanut-global .pg-category__eyebrow {
    margin: 0 0 12px;
    color: var(--pg-category-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.ppeanut-global .pg-category__title {
    margin: 0;
    font-size: clamp(2.25rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 600;
    letter-spacing: -0.05em;
}

.ppeanut-global .pg-category__description {
    width: min(100%, 720px);
    margin: 18px auto 0;
    color: var(--pg-category-muted);
    font-size: 16px;
    line-height: 1.8;
}

.ppeanut-global .pg-category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    overflow-x: auto;
    margin: 0 auto 28px;
    padding: 0 0 8px;
    scrollbar-width: none;
}

.ppeanut-global .pg-category-filter::-webkit-scrollbar {
    display: none;
}

.ppeanut-global .pg-category-filter__button {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 108px;
    min-height: 46px;
    padding: 0 18px;
    border: 1px solid var(--pg-category-accent);
    border-radius: 999px;
    background: var(--pg-category-surface);
    color: var(--pg-category-accent);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.ppeanut-global .pg-category-filter__button:hover,
.ppeanut-global .pg-category-filter__button:focus-visible {
    border-color: var(--pg-category-text);
    color: var(--pg-category-text);
}

.ppeanut-global .pg-category-filter__button.is-active {
    background: var(--pg-category-accent);
    color: #fff;
}

.ppeanut-global .pg-category__tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 0 8px;
    scrollbar-width: none;
}

.ppeanut-global .pg-category__tabs::-webkit-scrollbar {
    display: none;
}

.ppeanut-global .pg-category__tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--pg-category-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--pg-category-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.ppeanut-global .pg-category__tab:hover,
.ppeanut-global .pg-category__tab:focus-visible,
.ppeanut-global .pg-category__tab.is-active {
    border-color: var(--pg-category-accent);
    background: var(--pg-category-surface);
    color: var(--pg-category-text);
}

.ppeanut-global .pg-category__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    padding: 18px 0 22px;
    border-bottom: 1px solid var(--pg-category-line);
}

.ppeanut-global .pg-category__count p {
    margin: 0;
    color: var(--pg-category-muted);
    font-size: 14px;
}

.ppeanut-global .pg-category__count strong {
    color: var(--pg-category-text);
    font-size: 18px;
    font-weight: 700;
}

.ppeanut-global .pg-category__sort {
    margin-left: auto;
}

.ppeanut-global .pg-category__sort select {
    min-width: 220px;
    height: 46px;
    padding: 0 44px 0 16px;
    border: 1px solid var(--pg-category-line);
    border-radius: 999px;
    background: var(--pg-category-surface);
    color: var(--pg-category-text);
    font-size: 14px;
    font-weight: 600;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #7b7468 50%),
        linear-gradient(135deg, #7b7468 50%, transparent 50%);
    background-position:
        calc(100% - 20px) 19px,
        calc(100% - 14px) 19px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.ppeanut-global .pg-category__results {
    margin-top: 32px;
}

.ppeanut-global .pg-product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 20px;
    margin: 0;
}

.ppeanut-global .pg-product-card {
    min-width: 0;
}

.ppeanut-global .pg-product-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.ppeanut-global .pg-product-card__media {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1.18;
    overflow: hidden;
    border-radius: 24px;
    background: #efe9dd;
}

.ppeanut-global .pg-product-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s ease;
}

.ppeanut-global .pg-product-card:hover .pg-product-card__media img,
.ppeanut-global .pg-product-card:focus-within .pg-product-card__media img {
    transform: scale(1.04);
}

.ppeanut-global .pg-product-card__badge {
    position: absolute;
    left: 16px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: rgba(31, 27, 23, 0.78);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ppeanut-global .pg-product-card__body {
    padding: 18px 4px 0;
}

.ppeanut-global .pg-product-card__title {
    color: var(--pg-category-text);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: -0.03em;
    text-decoration: none;
}

.ppeanut-global .pg-product-card__title:hover,
.ppeanut-global .pg-product-card__title:focus-visible {
    color: var(--pg-category-accent);
}

.ppeanut-global .pg-product-card__description {
    margin: 10px 0 0;
    color: var(--pg-category-muted);
    font-size: 14px;
    line-height: 1.7;
}

.ppeanut-global .pg-product-card__price {
    margin-top: 14px;
    color: var(--pg-category-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.ppeanut-global .pg-product-grid__empty {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    place-items: center;
    min-height: 320px;
    border: 1px dashed var(--pg-category-line);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.ppeanut-global .pg-product-grid__empty strong {
    font-size: 24px;
    line-height: 1.2;
    font-weight: 600;
}

.ppeanut-global .pg-product-grid__empty p {
    margin: 0;
    color: var(--pg-category-muted);
    font-size: 14px;
}

.ppeanut-global .pg-category__pagination {
    margin-top: 48px;
    text-align: center;
}

.ppeanut-global .pg-category__pagination .pg_page,
.ppeanut-global .pg-category__pagination .pg_current {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 4px;
    border: 1px solid var(--pg-category-line);
    border-radius: 999px;
    background: var(--pg-category-surface);
    color: var(--pg-category-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.ppeanut-global .pg-category__pagination .pg_current {
    border-color: var(--pg-category-accent);
    color: var(--pg-category-text);
}

.ppeanut-global .pg-category__tail-html {
    margin-top: 56px;
}

@media (max-width: 1200px) {
    .ppeanut-global .pg-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ppeanut-global .pg-category {
        padding: 36px 0 88px;
    }

    .ppeanut-global .pg-category__container {
        width: min(calc(100% - 32px), 1440px);
    }

    .ppeanut-global .pg-category__hero {
        padding: 12px 0 32px;
    }

    .ppeanut-global .pg-category__toolbar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .ppeanut-global .pg-category-filter {
        justify-content: flex-start;
        margin-bottom: 24px;
        padding-bottom: 12px;
    }

    .ppeanut-global .pg-category__sort {
        margin-left: 0;
        width: 100%;
    }

    .ppeanut-global .pg-category__sort select {
        width: 100%;
        min-width: 0;
    }

    .ppeanut-global .pg-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }

    .ppeanut-global .pg-product-card__title,
    .ppeanut-global .pg-product-card__price {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .ppeanut-global .pg-category__title {
        font-size: 2rem;
    }

    .ppeanut-global .pg-category__description {
        font-size: 14px;
    }

    .ppeanut-global .pg-category-filter__button {
        min-width: 96px;
        min-height: 44px;
        padding: 0 16px;
        font-size: 13px;
    }

    .ppeanut-global .pg-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px 10px;
    }

    .ppeanut-global .pg-product-card__media {
        border-radius: 18px;
    }

    .ppeanut-global .pg-product-card__body {
        padding-top: 14px;
    }

    .ppeanut-global .pg-product-card__title,
    .ppeanut-global .pg-product-card__price {
        font-size: 16px;
    }

    .ppeanut-global .pg-product-card__description {
        font-size: 13px;
    }
}