/* Pixell.bg — category catalogue V2.0 */

body.pixell-site.category-page {
    --category-accent: #6f9fe2;
    --category-accent-dark: #173f78;
    --category-soft: #eaf4fb;
    --category-soft-2: #f5f9fd;
    --category-border: #d6e6f3;
    background: #ffffff;
}

body.pixell-site.category-theme-first-birthday {
    --category-accent: #78ad91;
    --category-accent-dark: #35694e;
    --category-soft: #edf6ee;
    --category-soft-2: #f7fbf7;
    --category-border: #d8e9da;
}

body.pixell-site.category-theme-first-steps {
    --category-accent: #9182c5;
    --category-accent-dark: #564b89;
    --category-soft: #f2eefa;
    --category-soft-2: #faf8fd;
    --category-border: #e1d9f2;
}

body.pixell-site.category-theme-pogacha {
    --category-accent: #c59a57;
    --category-accent-dark: #815f2f;
    --category-soft: #fbf2df;
    --category-soft-2: #fffaf0;
    --category-border: #f0dfc0;
}

body.pixell-site.category-theme-baptism {
    --category-accent: #bd8299;
    --category-accent-dark: #7e4d61;
    --category-soft: #f8edf2;
    --category-soft-2: #fff9fb;
    --category-border: #ecd7df;
}

body.pixell-site.category-theme-month {
    --category-accent: #799ac3;
    --category-accent-dark: #405f8c;
    --category-soft: #eef2f8;
    --category-soft-2: #f8faff;
    --category-border: #dce4f0;
}

body.pixell-site .category-breadcrumbs {
    padding: 21px 0 0;
    background: #fff;
}

body.pixell-site .category-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 8px;
    color: #7c8aa0;
    font-size: 13px;
    list-style: none;
}

body.pixell-site .category-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.pixell-site .category-breadcrumbs li + li::before {
    color: #adb7c6;
    content: "›";
}

body.pixell-site .category-breadcrumbs a {
    color: #56657a;
    text-decoration: none;
}

body.pixell-site .category-hero {
    padding: 22px 0 72px;
}

body.pixell-site .category-hero-panel {
    display: grid;
    min-height: 405px;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, .96fr);
    background:
        radial-gradient(
            circle at 85% 14%,
            rgba(255,255,255,.86),
            transparent 34%
        ),
        linear-gradient(
            135deg,
            var(--category-soft),
            var(--category-soft-2)
        );
    border: 1px solid var(--category-border);
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(23,48,93,.08);
}

body.pixell-site .category-hero-copy {
    display: flex;
    padding: clamp(40px, 5vw, 72px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

body.pixell-site .category-eyebrow {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 8px 14px;
    color: var(--category-accent-dark);
    background: rgba(255,255,255,.78);
    border: 1px solid var(--category-border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
}

body.pixell-site .category-hero h1 {
    margin: 0;
    color: #17305d;
    font-size: clamp(42px, 5vw, 68px);
    font-weight: 900;
    line-height: 1.04;
    letter-spacing: -.045em;
}

body.pixell-site .category-hero-copy > p {
    max-width: 620px;
    margin: 22px 0 28px;
    color: #4d5d73;
    font-size: 17px;
    line-height: 1.7;
}

body.pixell-site .category-hero-actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

body.pixell-site .category-hero-actions > span {
    color: #68778d;
    font-size: 13px;
    font-weight: 800;
}

body.pixell-site .category-primary-button,
body.pixell-site .category-secondary-button {
    display: inline-flex;
    min-height: 50px;
    padding: 12px 21px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

body.pixell-site .category-primary-button {
    color: #fff;
    background: linear-gradient(
        135deg,
        var(--category-accent),
        var(--category-accent-dark)
    );
    box-shadow: 0 11px 24px color-mix(
        in srgb,
        var(--category-accent) 28%,
        transparent
    );
}

body.pixell-site .category-primary-button:hover,
body.pixell-site .category-secondary-button:hover {
    transform: translateY(-3px);
}

body.pixell-site .category-secondary-button {
    color: #17305d;
    background: #fff;
    border: 1px solid #dfe7f1;
}

body.pixell-site .category-hero-visual {
    position: relative;
    display: flex;
    min-height: 405px;
    padding: 34px;
    align-items: center;
    justify-content: center;
}

body.pixell-site .category-hero-glow {
    position: absolute;
    width: min(82%, 420px);
    aspect-ratio: 1;
    background: rgba(255,255,255,.60);
    border-radius: 50%;
}

body.pixell-site .category-hero-visual img {
    position: relative;
    z-index: 1;
    width: min(100%, 430px);
    height: 345px;
    object-fit: contain;
    filter: drop-shadow(0 19px 24px rgba(23,48,93,.15));
}

body.pixell-site .category-products-section {
    padding: 8px 0 88px;
}

body.pixell-site .category-section-heading,
body.pixell-site .category-related-heading {
    max-width: 760px;
    margin: 0 auto 35px;
    text-align: center;
}

body.pixell-site .category-section-heading > span,
body.pixell-site .category-related-heading > span,
body.pixell-site .category-description-label {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--category-accent-dark);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.pixell-site .category-section-heading h2,
body.pixell-site .category-related-heading h2 {
    margin: 0 0 10px;
    color: #17305d;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.035em;
}

body.pixell-site .category-section-heading p,
body.pixell-site .category-related-heading p {
    margin: 0;
    color: #65758b;
    font-size: 15px;
}

body.pixell-site .category-catalog-layout {
    display: grid;
    grid-template-columns: 245px minmax(0, 1fr);
    align-items: start;
    gap: 27px;
}

body.pixell-site .category-filter-sidebar {
    position: sticky;
    top: 96px;
}

body.pixell-site .category-filter-panel {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 21px;
    box-shadow: 0 13px 32px rgba(23,48,93,.065);
}

body.pixell-site .category-filter-panel > summary {
    display: flex;
    padding: 18px 19px;
    align-items: center;
    justify-content: space-between;
    color: #17305d;
    background: linear-gradient(145deg,#fff,var(--category-soft-2));
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    list-style: none;
}

body.pixell-site .category-filter-panel > summary::-webkit-details-marker {
    display: none;
}

body.pixell-site .category-filter-panel > summary small {
    padding: 5px 8px;
    color: var(--category-accent-dark);
    background: var(--category-soft);
    border-radius: 999px;
    font-size: 9px;
}

body.pixell-site .category-filter-content {
    padding: 4px 18px 19px;
}

body.pixell-site .category-filter-group {
    padding: 18px 0;
    border-top: 1px solid #edf0f5;
}

body.pixell-site .category-filter-group h3 {
    margin: 0 0 11px;
    color: #17305d;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.pixell-site .category-filter-options {
    display: grid;
    gap: 5px;
}

body.pixell-site .category-filter-options a {
    display: flex;
    min-height: 39px;
    padding: 8px 10px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #56667c;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

body.pixell-site .category-filter-options a:hover {
    color: #17305d;
    background: #f6f9fd;
}

body.pixell-site .category-filter-options a.is-active {
    color: var(--category-accent-dark);
    background: var(--category-soft);
    box-shadow: inset 0 0 0 1px var(--category-border);
}

body.pixell-site .category-filter-options small {
    display: grid;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    place-items: center;
    color: #78879b;
    background: #f3f6fa;
    border-radius: 999px;
    font-size: 9px;
}

body.pixell-site .category-clear-filters {
    display: flex;
    min-height: 41px;
    margin-top: 7px;
    align-items: center;
    justify-content: center;
    color: #a84f59;
    background: #fff1f2;
    border-radius: 11px;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
}

body.pixell-site .category-results-toolbar {
    display: flex;
    min-height: 64px;
    margin-bottom: 18px;
    padding: 10px 14px 10px 18px;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: #f8faff;
    border: 1px solid #e5ebf3;
    border-radius: 17px;
}

body.pixell-site .category-results-toolbar > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

body.pixell-site .category-results-toolbar > div strong {
    color: #17305d;
    font-size: 20px;
}

body.pixell-site .category-results-toolbar > div span,
body.pixell-site .category-sort-form label > span {
    color: #6b7a90;
    font-size: 11px;
    font-weight: 800;
}

body.pixell-site .category-sort-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.pixell-site .category-sort-form label {
    display: flex;
    align-items: center;
    gap: 8px;
}

body.pixell-site .category-sort-form select {
    min-height: 40px;
    padding: 7px 34px 7px 11px;
    color: #17305d;
    background: #fff;
    border: 1px solid #dce5f0;
    border-radius: 10px;
    outline: none;
    font-size: 11px;
    font-weight: 800;
}

body.pixell-site .category-sort-form button {
    min-height: 40px;
    padding: 8px 13px;
    color: #fff;
    background: #17305d;
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font-size: 10px;
    font-weight: 900;
}

body.pixell-site .category-products-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

body.pixell-site .category-product-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e4e9f1;
    border-radius: 21px;
    box-shadow: 0 10px 28px rgba(23,48,93,.065);
    transition: transform .2s ease, box-shadow .2s ease;
}

body.pixell-site .category-product-card:hover {
    box-shadow: 0 20px 40px rgba(23,48,93,.13);
    transform: translateY(-6px);
}

body.pixell-site .category-product-image {
    position: relative;
    display: flex;
    height: 342px;
    padding: 22px 17px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(145deg,#f9fbfe,var(--category-soft-2));
    text-decoration: none;
}

body.pixell-site .category-audience-girl .category-product-image {
    background: linear-gradient(145deg,#fff9fb,#f8edf2);
}

body.pixell-site .category-audience-boy .category-product-image {
    background: linear-gradient(145deg,#f5faff,#eaf4fb);
}

body.pixell-site .category-audience-unisex .category-product-image {
    background: linear-gradient(145deg,#fafcf9,#edf6ee);
}

body.pixell-site .category-product-image img {
    width: auto;
    max-width: 82%;
    height: 91%;
    object-fit: contain;
    filter: drop-shadow(0 13px 16px rgba(23,48,93,.14));
    transition: transform .22s ease;
}

body.pixell-site .category-product-card:hover
.category-product-image img {
    transform: scale(1.035);
}

body.pixell-site .category-product-placeholder {
    display: inline-flex;
    width: 160px;
    height: 230px;
    align-items: center;
    justify-content: center;
    color: #8290a4;
    background: #fff;
    border: 1px dashed #cbd2dc;
    border-radius: 16px;
    font-weight: 900;
    letter-spacing: .12em;
}

body.pixell-site .category-product-badges {
    position: absolute;
    top: 14px;
    right: 14px;
    left: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

body.pixell-site .category-product-badges span {
    padding: 6px 9px;
    color: #17305d;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(23,48,93,.08);
    border-radius: 999px;
    backdrop-filter: blur(8px);
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

body.pixell-site .category-product-badges .is-featured {
    background: #ffe276;
}

body.pixell-site .category-product-content {
    padding: 18px 18px 20px;
}

body.pixell-site .category-product-audience {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--category-accent-dark);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.pixell-site .category-product-content h3 {
    margin: 0 0 8px;
    font-size: 19px;
    font-weight: 900;
    line-height: 1.25;
}

body.pixell-site .category-product-content h3 a {
    color: #17305d;
    text-decoration: none;
}

body.pixell-site .category-product-content > p {
    min-height: 42px;
    margin: 0;
    color: #657187;
    font-size: 12px;
    line-height: 1.55;
}

body.pixell-site .category-product-bottom {
    display: flex;
    margin-top: 17px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

body.pixell-site .category-product-bottom strong,
body.pixell-site .category-related-card strong {
    color: #ff7062;
    font-weight: 900;
}

body.pixell-site .category-product-bottom a {
    display: inline-flex;
    min-height: 41px;
    padding: 9px 16px;
    align-items: center;
    justify-content: center;
    color: #17305d;
    background: #ffd54a;
    border-radius: 12px;
    box-shadow: 0 8px 17px rgba(255,192,38,.22);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

body.pixell-site .category-empty-state {
    max-width: 720px;
    margin: 0 auto;
    padding: 55px 28px;
    text-align: center;
    background: var(--category-soft);
    border: 1px solid var(--category-border);
    border-radius: 25px;
}

body.pixell-site .category-empty-state h3 {
    margin: 12px 0 8px;
    color: #17305d;
    font-size: 27px;
    font-weight: 900;
}

body.pixell-site .category-empty-state p {
    margin: 0 0 22px;
    color: #5e6c81;
}

body.pixell-site .category-related-section {
    padding: 74px 0 84px;
    background: linear-gradient(180deg,#f8faff,#fff);
}

body.pixell-site .category-related-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
}

body.pixell-site .category-related-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f1;
    border-radius: 19px;
    box-shadow: 0 10px 27px rgba(23,48,93,.06);
}

body.pixell-site .category-related-image {
    display: flex;
    height: 240px;
    padding: 16px;
    align-items: center;
    justify-content: center;
    background: var(--category-soft-2);
}

body.pixell-site .category-related-image img {
    width: auto;
    max-width: 82%;
    height: 92%;
    object-fit: contain;
    filter: drop-shadow(0 10px 13px rgba(23,48,93,.13));
}

body.pixell-site .category-related-card > div {
    padding: 15px 16px 18px;
}

body.pixell-site .category-related-card > div > span {
    display: block;
    margin-bottom: 5px;
    color: #78879a;
    font-size: 8px;
    font-weight: 900;
    text-transform: uppercase;
}

body.pixell-site .category-related-card h3 {
    margin: 0 0 9px;
    font-size: 16px;
}

body.pixell-site .category-related-card h3 a {
    color: #17305d;
    text-decoration: none;
}

body.pixell-site .category-description-section {
    padding: 0 0 88px;
}

body.pixell-site .category-description-panel {
    padding: clamp(32px,5vw,55px);
    background:
        radial-gradient(
            circle at 92% 8%,
            var(--category-soft),
            transparent 31%
        ),
        #fffdf8;
    border: 1px solid var(--category-border);
    border-radius: 26px;
}

body.pixell-site .category-description-panel h2 {
    max-width: 850px;
    margin: 0 0 22px;
    color: #17305d;
    font-size: clamp(28px,3vw,39px);
    font-weight: 900;
    line-height: 1.18;
}

body.pixell-site .category-description-content {
    max-width: 930px;
    color: #4f5f74;
    font-size: 15px;
    line-height: 1.78;
}

body.pixell-site .category-description-content h3 {
    margin: 26px 0 10px;
    color: #17305d;
    font-size: 19px;
}

body.pixell-site .category-description-content p {
    margin: 0 0 15px;
}

body.pixell-site .category-description-content ul,
body.pixell-site .category-description-content ol {
    margin: 13px 0 18px;
    padding-left: 21px;
}

body.pixell-site .category-status-section {
    min-height: 65vh;
    padding: 80px 0;
    background: #f7f9fc;
}

body.pixell-site .category-status-card {
    max-width: 720px;
    margin: 0 auto;
    padding: 55px 30px;
    text-align: center;
    background: #fff;
    border: 1px solid #e2e7ef;
    border-radius: 26px;
    box-shadow: 0 14px 38px rgba(23,48,93,.08);
}

body.pixell-site .category-status-code {
    color: #ff7062;
    font-size: 14px;
    font-weight: 900;
}

body.pixell-site .category-status-card h1 {
    margin: 12px 0;
    color: #17305d;
    font-size: clamp(34px,5vw,52px);
    font-weight: 900;
}

body.pixell-site .category-status-card p {
    margin: 0 0 26px;
    color: #617086;
}

@media (max-width: 1100px) {
    body.pixell-site .category-products-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    body.pixell-site .category-related-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width: 900px) {
    body.pixell-site .category-hero-panel {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-hero-copy {
        padding-bottom: 20px;
        align-items: center;
        text-align: center;
    }

    body.pixell-site .category-hero-visual {
        min-height: 300px;
        padding-top: 0;
    }

    body.pixell-site .category-catalog-layout {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-filter-sidebar {
        position: static;
    }

    body.pixell-site .category-filter-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }

    body.pixell-site .category-clear-filters {
        grid-column: 1 / -1;
    }
}

@media (max-width: 650px) {
    body.pixell-site .category-hero {
        padding: 18px 0 52px;
    }

    body.pixell-site .category-hero-panel {
        border-radius: 23px;
    }

    body.pixell-site .category-hero-copy {
        padding: 36px 22px 12px;
    }

    body.pixell-site .category-hero h1 {
        font-size: 41px;
    }

    body.pixell-site .category-hero-copy > p {
        font-size: 15px;
    }

    body.pixell-site .category-hero-actions,
    body.pixell-site .category-results-toolbar,
    body.pixell-site .category-sort-form,
    body.pixell-site .category-sort-form label {
        align-items: stretch;
        flex-direction: column;
    }

    body.pixell-site .category-filter-content {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-sort-form select,
    body.pixell-site .category-sort-form button {
        width: 100%;
    }

    body.pixell-site .category-products-grid,
    body.pixell-site .category-related-grid {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-product-image {
        height: 350px;
    }

    body.pixell-site .category-related-image {
        height: 280px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixell-site .category-primary-button,
    body.pixell-site .category-secondary-button,
    body.pixell-site .category-product-card,
    body.pixell-site .category-product-image img {
        transition: none;
    }
}


/* =========================================================
   Category visual and SEO refinement V2.1
========================================================= */

/* The hero now supports floating party decorations. */

body.pixell-site .category-hero-panel {
    position: relative;
    min-height: 450px;
    isolation: isolate;
}

body.pixell-site .category-hero-copy,
body.pixell-site .category-hero-visual {
    position: relative;
    z-index: 3;
}

body.pixell-site .category-party-effects {
    position: absolute;
    z-index: 2;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

body.pixell-site .category-party-effects > span {
    position: absolute;
    display: block;
    animation:
        category-party-float
        6.5s
        ease-in-out
        infinite;
}

body.pixell-site .party-star {
    color: #f6bd3a;
    font-size: 22px;
    text-shadow:
        0 5px 12px rgba(23, 48, 93, 0.12);
}

body.pixell-site .party-dot {
    width: 10px;
    height: 10px;
    background: #ff7f73;
    border-radius: 50%;
    box-shadow:
        0 5px 12px rgba(23, 48, 93, 0.10);
}

body.pixell-site .party-confetti {
    width: 9px;
    height: 28px;
    background: #8fc8ee;
    border-radius: 999px;
    transform: rotate(28deg);
}

body.pixell-site .party-effect-one {
    top: 13%;
    left: 48%;
}

body.pixell-site .party-effect-two {
    top: 22%;
    left: 55%;
    animation-delay: -1.2s;
}

body.pixell-site .party-effect-three {
    top: 70%;
    left: 52%;
    background: #9ad9b9;
    animation-delay: -2.1s;
}

body.pixell-site .party-effect-four {
    top: 12%;
    right: 7%;
    color: #ffd54a;
    font-size: 28px;
    animation-delay: -3.1s;
}

body.pixell-site .party-effect-five {
    top: 58%;
    right: 5%;
    background: #9b8ed7;
    animation-delay: -1.8s;
}

body.pixell-site .party-effect-six {
    bottom: 10%;
    right: 17%;
    background: #ff9b8f;
    transform: rotate(-29deg);
    animation-delay: -4.2s;
}

body.pixell-site .party-effect-seven {
    bottom: 12%;
    left: 44%;
    color: #7db8e6;
    font-size: 20px;
    animation-delay: -2.7s;
}

body.pixell-site .party-effect-eight {
    top: 38%;
    right: 38%;
    width: 8px;
    height: 8px;
    background: #ffca52;
    animation-delay: -3.7s;
}

@keyframes category-party-float {
    0%,
    100% {
        translate: 0 0;
        rotate: 0deg;
    }

    50% {
        translate: 0 -12px;
        rotate: 9deg;
    }
}

/* Make the unique category illustration much more visible. */

body.pixell-site .category-hero-visual {
    min-height: 450px;
    padding: 14px 10px 14px 0;
    overflow: visible;
}

body.pixell-site .category-hero-glow {
    width: min(78%, 430px);
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.88) 0%,
            rgba(255, 255, 255, 0.52) 58%,
            rgba(255, 255, 255, 0) 76%
        );
}

body.pixell-site .category-hero-visual img {
    width: min(116%, 555px);
    max-width: none;
    height: 420px;
    object-fit: contain;
    transform: scale(1.12);
    filter:
        drop-shadow(
            0 23px 29px rgba(23, 48, 93, 0.17)
        );
}

body.pixell-site.category-theme-first-birthday
.category-hero-visual img {
    transform: scale(1.25);
}

body.pixell-site.category-theme-pogacha
.category-hero-visual img,
body.pixell-site.category-theme-baptism
.category-hero-visual img {
    transform: scale(1.18);
}

/* Longer SEO copy with a unique category illustration. */

body.pixell-site .category-description-panel {
    display: grid;
    padding: clamp(29px, 4.2vw, 52px);
    grid-template-columns:
        minmax(220px, 0.32fr)
        minmax(0, 0.68fr);
    align-items: center;
    gap: clamp(28px, 4vw, 58px);
}

body.pixell-site .category-description-visual {
    position: relative;
    display: grid;
    min-height: 330px;
    place-items: center;
}

body.pixell-site .category-description-glow {
    position: absolute;
    width: 92%;
    aspect-ratio: 1;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.95) 0%,
            var(--category-soft) 58%,
            transparent 73%
        );
    border-radius: 50%;
}

body.pixell-site .category-description-visual img {
    position: relative;
    z-index: 1;
    width: min(112%, 360px);
    height: 315px;
    object-fit: contain;
    transform: scale(1.08);
    filter:
        drop-shadow(
            0 18px 22px rgba(23, 48, 93, 0.13)
        );
}

body.pixell-site .category-description-main {
    min-width: 0;
}

body.pixell-site .category-description-content {
    max-width: none;
    color: #4b5c72;
    font-size: 15px;
    line-height: 1.82;
}

body.pixell-site .category-description-content > p:first-child {
    margin-top: 0;
    color: #34465e;
    font-size: 17px;
    line-height: 1.78;
}

body.pixell-site .category-description-content strong {
    color: #17305d;
    font-weight: 900;
}

body.pixell-site .category-description-content h3 {
    margin: 29px 0 11px;
    color: #17305d;
    font-size: 21px;
    line-height: 1.3;
}

body.pixell-site .category-description-content li::marker {
    color: var(--category-accent);
}

body.pixell-site .category-inline-link {
    color: var(--category-accent-dark);
    font-weight: 900;
    text-decoration:
        underline
        color-mix(
            in srgb,
            var(--category-accent) 50%,
            transparent
        )
        2px;
    text-underline-offset: 3px;
}

body.pixell-site .category-inline-link:hover {
    color: #17305d;
}

/*
 * The related-products section uses warmer wording, while
 * keeping the same product layout.
 */

body.pixell-site .category-related-heading > span {
    color: #ff7062;
}

@media (max-width: 900px) {
    body.pixell-site .category-party-effects {
        opacity: 0.74;
    }

    body.pixell-site .category-hero-visual {
        min-height: 345px;
    }

    body.pixell-site .category-hero-visual img {
        width: min(100%, 500px);
        height: 330px;
    }

    body.pixell-site .category-description-panel {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-description-visual {
        min-height: 250px;
    }

    body.pixell-site .category-description-visual img {
        height: 245px;
    }
}

@media (max-width: 650px) {
    body.pixell-site .category-hero-panel {
        min-height: 0;
    }

    body.pixell-site .category-party-effects {
        opacity: 0.62;
    }

    body.pixell-site .category-party-effects
    .party-effect-one,
    body.pixell-site .category-party-effects
    .party-effect-seven {
        display: none;
    }

    body.pixell-site .category-hero-visual {
        min-height: 285px;
        padding-bottom: 18px;
    }

    body.pixell-site .category-hero-visual img {
        width: min(112%, 410px);
        height: 275px;
        transform: scale(1.10);
    }

    body.pixell-site.category-theme-first-birthday
    .category-hero-visual img {
        transform: scale(1.20);
    }

    body.pixell-site .category-description-panel {
        padding: 28px 21px;
        gap: 18px;
    }

    body.pixell-site .category-description-visual {
        min-height: 205px;
    }

    body.pixell-site .category-description-visual img {
        height: 205px;
    }

    body.pixell-site .category-description-content {
        font-size: 14px;
        line-height: 1.75;
    }

    body.pixell-site
    .category-description-content > p:first-child {
        font-size: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.pixell-site .category-party-effects > span {
        animation: none;
    }
}


/* =========================================================
   Category readability and image-fit correction V2.2
========================================================= */

/* Wider and more readable filter sidebar. */

body.pixell-site .category-catalog-layout {
    grid-template-columns: 285px minmax(0, 1fr);
    gap: 31px;
}

body.pixell-site .category-filter-panel > summary {
    min-height: 62px;
    padding: 19px 21px;
    font-size: 17px;
}

body.pixell-site .category-filter-panel > summary small {
    padding: 6px 10px;
    font-size: 10px;
}

body.pixell-site .category-filter-content {
    padding: 5px 20px 22px;
}

body.pixell-site .category-filter-group {
    padding: 21px 0;
}

body.pixell-site .category-filter-group h3 {
    margin-bottom: 13px;
    font-size: 13px;
    letter-spacing: 0.06em;
}

body.pixell-site .category-filter-options {
    gap: 7px;
}

body.pixell-site .category-filter-options a {
    min-height: 44px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.35;
}

body.pixell-site .category-filter-options small {
    min-width: 27px;
    height: 27px;
    padding: 0 7px;
    font-size: 10px;
}

body.pixell-site .category-clear-filters {
    min-height: 45px;
    font-size: 13px;
}

/*
 * Show the full hero illustration.
 * Previous scale values made the transparent PNG extend
 * outside its available box.
 */

body.pixell-site .category-hero-visual {
    min-height: 450px;
    padding: 30px 42px 30px 24px;
    overflow: hidden;
}

body.pixell-site .category-hero-visual img,
body.pixell-site.category-theme-first-birthday
.category-hero-visual img,
body.pixell-site.category-theme-pogacha
.category-hero-visual img,
body.pixell-site.category-theme-baptism
.category-hero-visual img {
    display: block;
    width: 100%;
    max-width: 520px;
    height: 390px;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transform: none;
}

/* Product cards remain tidy when a category has few designs. */

body.pixell-site .category-products-grid {
    grid-template-columns:
        repeat(
            auto-fill,
            minmax(270px, 315px)
        );
    justify-content: start;
    align-items: stretch;
}

/* Full-width text-only SEO section. */

body.pixell-site .category-description-panel {
    display: block;
    padding: clamp(34px, 5vw, 62px);
}

body.pixell-site .category-description-main,
body.pixell-site .category-description-content {
    max-width: none;
}

body.pixell-site .category-description-label {
    margin-bottom: 17px;
}

body.pixell-site .category-description-content {
    columns: 2;
    column-gap: clamp(35px, 5vw, 70px);
    color: #4b5c72;
    font-size: 16px;
    line-height: 1.84;
}

body.pixell-site .category-description-content h3 {
    break-after: avoid;
    break-inside: avoid;
    margin-top: 3px;
    padding-top: 21px;
    font-size: 22px;
}

body.pixell-site .category-description-content p,
body.pixell-site .category-description-content ul,
body.pixell-site .category-description-content ol {
    break-inside: avoid;
}

body.pixell-site
.category-description-content > p:first-child {
    color: #31445d;
    font-size: 18px;
    line-height: 1.8;
}

body.pixell-site .category-description-content strong {
    color: #17305d;
    font-weight: 900;
}

body.pixell-site .category-inline-link {
    font-weight: 900;
}

@media (max-width: 1100px) {
    body.pixell-site .category-catalog-layout {
        grid-template-columns: 265px minmax(0, 1fr);
        gap: 25px;
    }

    body.pixell-site .category-description-content {
        columns: 1;
        max-width: 900px;
    }
}

@media (max-width: 900px) {
    body.pixell-site .category-catalog-layout {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-hero-visual {
        min-height: 340px;
        padding: 15px 30px 28px;
    }

    body.pixell-site .category-hero-visual img,
    body.pixell-site.category-theme-first-birthday
    .category-hero-visual img,
    body.pixell-site.category-theme-pogacha
    .category-hero-visual img,
    body.pixell-site.category-theme-baptism
    .category-hero-visual img {
        width: min(100%, 480px);
        height: 315px;
    }
}

@media (max-width: 650px) {
    body.pixell-site .category-filter-panel > summary {
        font-size: 16px;
    }

    body.pixell-site .category-filter-options a {
        font-size: 14px;
    }

    body.pixell-site .category-hero-visual {
        min-height: 280px;
        padding: 8px 20px 24px;
    }

    body.pixell-site .category-hero-visual img,
    body.pixell-site.category-theme-first-birthday
    .category-hero-visual img,
    body.pixell-site.category-theme-pogacha
    .category-hero-visual img,
    body.pixell-site.category-theme-baptism
    .category-hero-visual img {
        width: min(100%, 390px);
        height: 255px;
    }

    body.pixell-site .category-products-grid {
        grid-template-columns: 1fr;
    }

    body.pixell-site .category-description-panel {
        padding: 30px 22px;
    }

    body.pixell-site .category-description-content {
        font-size: 15px;
        line-height: 1.76;
    }

    body.pixell-site
    .category-description-content > p:first-child {
        font-size: 16px;
    }

    body.pixell-site .category-description-content h3 {
        font-size: 20px;
    }
}


/* =========================================================
   Balanced SEO text columns V2.3
========================================================= */

/*
 * Two real grid columns replace CSS multicolumn layout.
 * The PHP code balances complete logical sections between
 * them, so headings are never detached from their text.
 */

body.pixell-site .category-description-content {
    display: grid;
    columns: initial;
    column-gap: 0;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(42px, 5vw, 78px);
}

body.pixell-site .category-description-column {
    min-width: 0;
}

body.pixell-site
.category-description-column + .category-description-column {
    position: relative;
    padding-left: clamp(42px, 5vw, 78px);
}

body.pixell-site
.category-description-column + .category-description-column::before {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 1px;
    content: "";
    background:
        linear-gradient(
            180deg,
            transparent,
            var(--category-border) 9%,
            var(--category-border) 91%,
            transparent
        );
}

body.pixell-site .category-description-column h3 {
    margin: 27px 0 11px;
    padding-top: 0;
}

body.pixell-site
.category-description-column h3:first-child {
    margin-top: 0;
}

body.pixell-site .category-description-column p,
body.pixell-site .category-description-column ul,
body.pixell-site .category-description-column ol {
    break-inside: auto;
}

body.pixell-site
.category-description-column > p:first-child {
    margin-top: 0;
    color: #31445d;
    font-size: 18px;
    line-height: 1.8;
}

body.pixell-site
.category-description-column > :last-child {
    margin-bottom: 0;
}

@media (max-width: 1100px) {
    body.pixell-site .category-description-content {
        display: grid;
        max-width: none;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        gap: 40px;
    }

    body.pixell-site
    .category-description-column + .category-description-column {
        padding-left: 40px;
    }
}

@media (max-width: 760px) {
    body.pixell-site .category-description-content {
        grid-template-columns: 1fr;
        gap: 0;
    }

    body.pixell-site
    .category-description-column + .category-description-column {
        margin-top: 25px;
        padding-top: 25px;
        padding-left: 0;
        border-top: 1px solid var(--category-border);
    }

    body.pixell-site
    .category-description-column + .category-description-column::before {
        display: none;
    }
}
