/* Chrome: header, mega menu, mobile nav, footer, pit, cookie banner, order-list drawer, set card. */
@layer chrome {
    /* ---------- header ---------- */
    header.site {
        position: sticky;
        top: var(--kz-adminbar);
        z-index: 50;
        background: rgba(23, 23, 23, 0.97);
        color: #fff;
        border-bottom: 1px solid var(--line-d);
        transition:
            background var(--t2) var(--ease),
            color var(--t2) var(--ease),
            border-color var(--t2) var(--ease);
    }
    .hdr {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
        height: 68px;
    }
    .brand {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        & svg {
            width: 30px;
            height: 30px;
        }
    }
    .wordmark {
        font-weight: 900;
        font-size: 1.4375rem;
        letter-spacing: 0.03em;
        transform: scaleX(0.82);
        transform-origin: left;
        line-height: 1;
    }
    nav.main {
        display: flex;
        gap: 34px;
        & a {
            font-size: 0.90625rem;
            font-weight: 500;
            color: #c9cccc;
            transition: color var(--t1) var(--ease);
            position: relative;
            padding: 6px 0;
        }
        & a:hover,
        & a.on {
            color: #fff;
        }
        & a.on::after {
            content: '';
            position: absolute;
            left: 0;
            right: 0;
            bottom: -2px;
            height: 2px;
            background: var(--orange);
        }
    }
    .hdr-r {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        gap: 10px;
        .bagbtn {
            order: 1;
        }
        .burger {
            order: 3;
        }
    }
    .badge {
        min-width: 28px;
        height: 28px;
        border-radius: 14px;
        background: #fff;
        color: var(--graphite);
        display: inline-grid;
        place-items: center;
        font-size: 0.8125rem;
        font-weight: 700;
        padding: 0 8px;
        transition: background var(--t2) var(--ease);
        &.bump {
            animation: bump var(--t2) var(--ease);
        }
    }
    @keyframes bump {
        40% {
            transform: scale(1.3);
        }
    }
    .burger {
        display: none;
        width: 40px;
        height: 40px;
        & i {
            display: block;
            width: 20px;
            height: 1.5px;
            background: #fff;
            margin: 6px auto;
            transition:
                transform var(--t2) var(--ease),
                opacity var(--t1) var(--ease),
                background var(--t2) var(--ease);
        }
    }
    body.nav-open {
        .burger i {
            background: var(--graphite);
        }
        .burger i:first-child {
            transform: translateY(3.75px) rotate(45deg);
        }
        .burger i:last-child {
            transform: translateY(-3.75px) rotate(-45deg);
        }
    }
    /* nav left, big centred logo, actions right */
    @media (min-width: 941px) {
        .hdr {
            grid-template-areas: 'nav brand right';
            > .brand {
                grid-area: brand;
                justify-self: center;
                gap: 12px;
            }
            > nav.main {
                grid-area: nav;
                justify-self: start;
                gap: 28px;
            }
            > .hdr-r {
                grid-area: right;
            }
            > .brand svg {
                width: 40px;
                height: 40px;
            }
            > .brand .wordmark {
                font-size: 2rem;
                margin-right: -19px;
            }
        }
    }
    @media (max-width: 1180px) and (min-width: 941px) {
        .hdr > nav.main {
            gap: 20px;
        }
        .hdr > nav.main a,
        .megabtn {
            font-size: 0.875rem;
        }
    }
    /* on scroll: keep only the goat icon */
    .hdr {
        > .brand .wordmark {
            display: inline-block;
            max-width: 200px;
            overflow: hidden;
            white-space: nowrap;
            transition:
                max-width var(--t2) var(--ease),
                opacity var(--t1) var(--ease),
                transform var(--t2) var(--ease);
        }
        > .brand {
            transition: gap var(--t2) var(--ease);
        }
        > .brand svg {
            transition:
                width var(--t2) var(--ease),
                height var(--t2) var(--ease);
        }
    }
    body.scrolled {
        .hdr > .brand .wordmark {
            max-width: 0;
            opacity: 0;
            margin-right: 0;
        }
        .hdr > .brand {
            gap: 0;
        }
    }
    @media (min-width: 941px) {
        body.scrolled .hdr > .brand svg {
            width: 54px;
            height: 54px;
        }
    }
    @media (max-width: 940px) {
        body.scrolled .hdr > .brand svg {
            width: 40px;
            height: 40px;
        }
    }
    /* ---------- Holds menu button and mobile list ---------- */
    .chev {
        width: 10px;
        height: 6px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.5;
        transition: transform var(--t1) var(--ease);
    }
    .megabtn {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 0.90625rem;
        font-weight: 500;
        color: #c9cccc;
        padding: 6px 0;
        position: relative;
        transition: color var(--t1) var(--ease);
        &:hover,
        &.on {
            color: #fff;
        }
        &.on::after {
            content: '';
            position: absolute;
            left: 0;
            right: 17px;
            bottom: -2px;
            height: 2px;
            background: var(--orange);
        }
        &[aria-expanded='true'] .chev {
            transform: rotate(180deg);
        }
    }
    .m-only {
        display: none;
    }
    .msub {
        display: none;
    }
    body.mega-open {
        overflow: hidden;
    }
    body.mega-open header.site,
    body.nav-open header.site {
        background: var(--orange);
        border-color: rgba(33, 33, 33, 0.18);
        color: var(--graphite);
    }
    body.mega-open nav.main a,
    body.mega-open .megabtn,
    body.nav-open nav.main a,
    body.nav-open .megabtn {
        color: rgba(33, 33, 33, 0.72);
    }
    body.mega-open nav.main a:hover,
    body.mega-open .megabtn,
    body.nav-open nav.main a:hover,
    body.nav-open .megabtn {
        color: var(--graphite);
    }
    body.mega-open .megabtn::after,
    body.mega-open nav.main a.on::after,
    body.nav-open .megabtn::after,
    body.nav-open nav.main a.on::after {
        background: var(--graphite);
    }
    body.mega-open .brand svg g,
    body.nav-open .brand svg g {
        fill: var(--graphite);
    }
    body.mega-open .brand svg rect,
    body.nav-open .brand svg rect {
        fill: var(--orange);
    }
    /* ---------- full-screen mega menu ---------- */
    .mega2 {
        position: fixed;
        left: 0;
        right: 0;
        top: calc(68px + var(--kz-adminbar));
        height: calc(100dvh - 68px - var(--kz-adminbar));
        z-index: 49;
        background: var(--orange);
        color: var(--graphite);
        overflow: auto;
        clip-path: inset(0 0 100% 0);
        transition: clip-path var(--t2) var(--ease);
    }
    body.mega-open .mega2 {
        clip-path: inset(0 0 0 0);
    }
    .m2 {
        --mh: clamp(420px, calc(100dvh - 68px - var(--kz-adminbar) - clamp(36px, 5dvh, 64px) - 48px), 720px);
        display: grid;
        grid-template-columns: 1fr 0.85fr 1.55fr;
        gap: clamp(24px, 3vw, 56px);
        padding-top: clamp(36px, 5dvh, 64px);
        padding-bottom: 48px;
        align-items: start;
    }
    .m2-l {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: clamp(4px, calc(var(--mh) / var(--n) * 0.14), 18px);
        & a {
            font-size: min(clamp(2.375rem, 4.2vw, 4.125rem), calc(var(--mh) / var(--n) * 0.62));
            font-weight: 650;
            letter-spacing: -0.035em;
            line-height: 1.12;
            color: var(--graphite);
            transition:
                color var(--t1) var(--ease),
                transform var(--t2) var(--ease);
            opacity: 0;
            transform: translateY(14px);
        }
        & a.on {
            color: #fff;
        }
        & a:hover:not(.on) {
            color: rgba(255, 255, 255, 0.75);
        }
        & a:focus-visible {
            outline-color: var(--graphite);
        }
    }
    body.mega-open .m2-l a {
        opacity: 1;
        transform: none;
        transition:
            color var(--t1) var(--ease),
            opacity var(--t2) var(--ease) calc(var(--d) + 120ms),
            transform var(--t2) var(--ease) calc(var(--d) + 120ms);
    }
    .m2-m {
        padding-top: 14px;
        display: flex;
        flex-direction: column;
        height: auto;
        &[hidden] {
            display: none;
        }
        & ul {
            list-style: none;
            display: grid;
            gap: 2px;
            overflow: auto;
            min-height: 0;
            flex: 0 1 auto;
        }
        & li a {
            display: flex;
            align-items: baseline;
            justify-content: space-between;
            gap: 16px;
            padding: 14px 0;
            border-bottom: 1px solid rgba(33, 33, 33, 0.16);
        }
    }
    .m2-count {
        font-size: 0.875rem;
        font-weight: 600;
        color: rgba(33, 33, 33, 0.6);
        margin-bottom: 14px;
    }
    .m2-m {
        & li a span {
            font-size: 1.375rem;
            font-weight: 600;
            letter-spacing: -0.015em;
            transition: color var(--t1) var(--ease);
        }
        & li a small {
            font-size: 0.8125rem;
            font-weight: 500;
            color: rgba(33, 33, 33, 0.6);
            white-space: nowrap;
        }
        & li a.on span {
            color: #fff;
        }
        & li a:focus-visible {
            outline-color: var(--graphite);
        }
        /* simple fade when switching sections or items */
        &.swap li {
            animation: m2fade var(--t1) var(--ease) both;
            animation-delay: 0s;
        }
        &.swap .m2-count,
        &.swap .m2-pill {
            animation: m2fade var(--t1) var(--ease) both;
        }
    }
    .m2-pill {
        align-self: flex-start;
        margin-top: 28px;
        height: 52px;
        padding: 0 26px;
        border: 1.5px solid var(--graphite);
        border-radius: 26px;
        display: inline-flex;
        align-items: center;
        font-weight: 600;
        font-size: 0.9375rem;
        transition:
            background var(--t1) var(--ease),
            color var(--t1) var(--ease);
        &:hover {
            background: var(--graphite);
            color: var(--orange);
        }
    }
    .m2-r {
        position: relative;
        display: block;
        height: var(--mh);
        width: 100%;
        background: radial-gradient(110% 85% at 26% 16%, #fafbfb 0, var(--concrete) 55%, #cfd7d7 100%);
        border-radius: 3px;
        overflow: hidden;
        & img {
            position: absolute;
            left: 8%;
            top: 5%;
            width: 84%;
            height: 70%;
            object-fit: contain;
            transition: transform var(--t3) var(--ease);
        }
        & img[hidden] {
            display: none;
        }
        &:hover img {
            transform: scale(1.04) rotate(-2deg);
        }
        &.swap img,
        &.swap .m2-cap {
            animation: m2fade var(--t1) var(--ease) both;
        }
    }
    .m2-cap {
        position: absolute;
        left: 24px;
        right: 24px;
        bottom: 20px;
        display: grid;
        gap: 2px;
        .m2-tag {
            justify-self: start;
            font-size: 0.75rem;
            font-weight: 600;
            background: var(--graphite);
            color: #fff;
            padding: 3px 9px;
            border-radius: 2px;
            margin-bottom: 8px;
        }
        & b {
            font-size: 1.5rem;
            font-weight: 600;
            letter-spacing: -0.02em;
        }
        & p {
            color: var(--soft);
            font-size: 0.9375rem;
            max-width: 44ch;
        }
    }
    .m2-x {
        position: absolute;
        right: var(--pad);
        top: clamp(36px, 5dvh, 64px);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        border: 1.5px solid var(--graphite);
        display: none;
        place-items: center;
        & svg {
            width: 13px;
            height: 13px;
            stroke: var(--graphite);
            stroke-width: 1.6;
            fill: none;
        }
    }
    @keyframes m2fade {
        from {
            opacity: 0;
        }
    }
    @media (max-width: 1180px) {
        .m2 {
            grid-template-columns: 1fr 1fr;
        }
        .m2-r {
            display: none;
        }
    }
    @media (prefers-reduced-motion: reduce) {
        .mega2 {
            transition: none;
        }
    }
    /* ---------- mobile nav ---------- */
    @media (max-width: 940px) {
        .hdr {
            grid-template-columns: 1fr auto;
        }
        nav.main {
            position: fixed;
            inset: calc(68px + var(--kz-adminbar)) 0 auto 0;
            height: calc(100dvh - 68px - var(--kz-adminbar));
            height: calc(100dvh - 68px - var(--kz-adminbar));
            overflow: auto;
            background: var(--orange);
            flex-direction: column;
            gap: 0;
            padding: 24px var(--pad) 40px;
            transform: translateY(-110%);
            transition: transform var(--t2) var(--ease);
            visibility: hidden;
            & a {
                font-size: 2.125rem;
                font-weight: 600;
                letter-spacing: -0.03em;
                padding: 14px 0;
                border-bottom: 1px solid var(--line-d);
                color: #fff;
            }
            & a.on::after {
                display: none;
            }
        }
        nav.main.open {
            transform: none;
            visibility: visible;
        }
        .burger {
            display: block;
        }
        .chev {
            display: none;
        }
        .megabtn {
            display: none;
        }
        .m-only {
            display: block;
        }
        .mega2 {
            display: none;
        }
        .msub {
            display: grid;
            padding: 4px 0 14px;
            border-bottom: 1px solid var(--line-d);
            & span {
                font-size: 0.78125rem;
                color: var(--soft-d);
                margin: 12px 0 2px;
            }
        }
        nav.main .msub a {
            font-size: 1.125rem;
            font-weight: 500;
            letter-spacing: 0;
            padding: 7px 0;
            border: 0;
            color: #d6d9d9;
        }
        body.nav-open {
            overflow: hidden;
            & nav.main a {
                color: var(--graphite);
                border-bottom-color: rgba(33, 33, 33, 0.2);
            }
            & nav.main a.on {
                color: #fff;
            }
            .msub span {
                color: rgba(33, 33, 33, 0.6);
            }
            & nav.main a:hover:not(.on) {
                color: rgba(255, 255, 255, 0.8);
            }
        }
    }
    /* ---------- footer ---------- */
    footer {
        background: var(--deep);
        color: #fff;
        padding: clamp(64px, 7vw, 110px) 0 0;
    }
    .foot {
        display: grid;
        grid-template-columns: 2fr repeat(4, 1fr);
        gap: 40px;
        align-items: start;
        & h2 {
            font-size: 0.84375rem;
            font-weight: 500;
            color: var(--soft-d);
            margin-bottom: 16px;
        }
        & ul {
            list-style: none;
            display: grid;
            gap: 10px;
        }
        & a {
            transition: color var(--t1) var(--ease);
        }
        & a:hover {
            color: var(--orange);
        }
    }
    .foot-slogan {
        font-weight: 850;
        font-style: oblique 12deg;
        text-transform: uppercase;
        line-height: 0.9;
        letter-spacing: -0.02em;
        font-size: clamp(2.375rem, 4.6vw, 4.25rem);
    }
    .foot-bot {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
        border-top: 1px solid var(--line-d);
        padding-top: 22px;
        margin-top: 40px;
        font-size: 0.84375rem;
        color: var(--soft-d);
        & a {
            margin-left: 20px;
        }
        & a:hover {
            color: #fff;
        }
    }
    @media (max-width: 800px) {
        .foot {
            grid-template-columns: 1fr 1fr;
        }
    }
    .pit {
        position: relative;
        height: clamp(300px, 34vw, 470px);
        background: var(--orange);
        overflow: hidden;
        margin-top: clamp(56px, 7vw, 100px);
        user-select: none;
    }
    .pit-word {
        position: absolute;
        left: 50%;
        bottom: -0.1em;
        transform: translateX(-50%) scaleX(0.84);
        font-weight: 900;
        font-size: min(31vw, 31.25rem);
        line-height: 0.78;
        letter-spacing: 0.01em;
        color: #cf5527;
        white-space: nowrap;
        pointer-events: none;
    }
    .pit-h {
        position: absolute;
        left: 0;
        top: 0;
        will-change: transform;
        cursor: grab;
        touch-action: none;
        filter: drop-shadow(0 10px 10px rgba(60, 20, 0, 0.28));
        &.grab {
            cursor: grabbing;
            z-index: 2;
            filter: drop-shadow(0 22px 18px rgba(60, 20, 0, 0.3));
        }
    }
    .pit.nodrag .pit-h {
        pointer-events: none;
    }
    .pit-h img {
        width: 100%;
        height: 100%;
        mix-blend-mode: normal !important;
        pointer-events: none;
    }
    #ftr2 .foot-bot {
        border-top: 0;
        margin-top: 0;
        padding: 20px 0 24px;
    }
    /* ---------- cookie banner ---------- */
    .cookie {
        position: fixed;
        left: 24px;
        bottom: 24px;
        max-width: 400px;
        background: var(--graphite);
        color: #fff;
        border-radius: 4px;
        padding: 22px;
        z-index: 80;
        box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.5);
        font-size: 0.90625rem;
        & p {
            color: var(--soft-d);
            margin: 6px 0 18px;
        }
        & p a {
            color: #fff;
            border-bottom: 1px solid currentColor;
        }
        .r2 {
            display: flex;
            gap: 8px;
        }
    }
    @media (max-width: 560px) {
        .cookie {
            left: 12px;
            right: 12px;
            bottom: 12px;
        }
    }
    /* ---------- order-list button ---------- */
    .bagbtn {
        display: flex;
        align-items: center;
        gap: 6px;
        height: 44px;
        padding: 0 14px 0 10px;
        border-radius: 22px;
        color: #fff;
        position: relative;
        transition: background var(--t1) var(--ease);
        &:hover {
            background: rgba(255, 255, 255, 0.08);
        }
    }
    .bagi {
        width: 24px;
        height: 24px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linejoin: round;
        flex: none;
    }
    .bagbtn {
        .badge {
            position: absolute;
            left: 31px;
            top: 5px;
            transform: translateX(-50%);
            display: flex;
            align-items: center;
            justify-content: center;
            box-sizing: border-box;
            min-width: 20px;
            height: 20px;
            padding: 0 5px;
            border-radius: 10px;
            line-height: 1;
            font-size: 0.6875rem;
            font-weight: 700;
            font-variant-numeric: tabular-nums;
            text-align: center;
            background: #fff;
            color: var(--graphite);
            border: 2px solid var(--deep);
            transition:
                background var(--t2) var(--ease),
                color var(--t2) var(--ease),
                border-color var(--t2) var(--ease);
        }
        &.has .badge {
            background: var(--orange);
            color: var(--graphite);
        }
        &:not(.has) .badge {
            display: none;
        }
        .bag-lbl {
            margin-left: 14px;
        }
    }
    .bag-lbl {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        line-height: 1.15;
        text-align: left;
        & small {
            font-size: 0.71875rem;
            color: var(--soft-d);
            font-weight: 500;
        }
        & b {
            font-size: 0.84375rem;
            font-weight: 600;
            white-space: nowrap;
        }
    }
    /* on the orange header (mega menu or mobile menu open) */
    body.mega-open .bagbtn,
    body.nav-open .bagbtn {
        color: var(--graphite);
    }
    body.mega-open .bagbtn .badge,
    body.nav-open .bagbtn .badge {
        background: var(--graphite);
        color: #fff;
        border-color: var(--orange);
    }
    body.mega-open .bag-lbl small,
    body.nav-open .bag-lbl small {
        color: rgba(33, 33, 33, 0.65);
    }
    @media (max-width: 1100px) {
        /* Visually hidden; still the button's accessible name. */
        .bagbtn .bag-lbl {
            position: absolute;
            width: 1px;
            height: 1px;
            margin: 0;
            overflow: hidden;
            clip-path: inset(50%);
            white-space: nowrap;
        }
        .bagbtn {
            padding: 0 10px;
        }
    }
    /* ---------- footer mark ---------- */
    .pit-logo {
        transform: translateX(-50%);
        bottom: -14%;
        width: auto;
        height: 118%;
        aspect-ratio: 1;
        font-size: 0;
        line-height: 0;
        & svg {
            width: 100%;
            height: 100%;
            display: block;
        }
    }
    /* ---------- shell helpers ---------- */
    .kz-foot-line {
        max-width: 26ch;
        margin-top: 20px;
    }
    .kz-foot-note {
        color: var(--soft-d);
        margin-top: 12px;
    }
    .kz-cookie-title {
        font-weight: 600;
        font-size: 1rem;
    }
    /* ---------- order-list drawer ---------- */
    .bag-ov {
        position: fixed;
        inset: 0;
        z-index: 95;
        background: rgba(17, 17, 17, 0.45);
        opacity: 0;
        transition: opacity var(--t2) var(--ease);
    }
    body.bag-open .bag-ov {
        opacity: 1;
    }
    .bag {
        position: fixed;
        top: var(--kz-adminbar);
        right: 0;
        bottom: 0;
        z-index: 96;
        width: min(440px, 100vw);
        background: var(--paper);
        display: flex;
        flex-direction: column;
        transform: translateX(100%);
        transition: transform var(--t2) var(--ease);
        box-shadow: -30px 0 60px -30px rgba(0, 0, 0, 0.4);
        &[hidden] {
            display: none;
        }
    }
    body.bag-open .bag {
        transform: none;
    }
    body.bag-open {
        overflow: hidden;
    }
    .bag-h {
        color: var(--ink);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 22px 24px 16px;
        border-bottom: 1px solid var(--line);
    }
    .bag-x {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: 1px solid var(--line);
        display: grid;
        place-items: center;
        flex: none;
        &:hover {
            border-color: var(--ink);
        }
        & svg {
            width: 12px;
            height: 12px;
            stroke: var(--ink);
            stroke-width: 1.6;
            fill: none;
        }
    }
    .bag-ok {
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 14px 24px 0;
        padding: 10px 14px;
        background: var(--mint);
        border-radius: 3px;
        font-size: 0.875rem;
        font-weight: 500;
        animation: m2fade var(--t2) var(--ease) both;
        & svg {
            width: 14px;
            height: 14px;
            fill: none;
            stroke: var(--graphite);
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
            flex: none;
        }
    }
    .bag-b {
        flex: 1;
        overflow: auto;
        padding: 6px 24px 20px;
        overscroll-behavior: contain;
    }
    .bag-l {
        list-style: none;
        & li {
            display: grid;
            grid-template-columns: 88px 1fr;
            gap: 16px;
            padding: 16px 0;
            border-bottom: 1px solid var(--line);
        }
        & li.flash .bi-img {
            box-shadow: 0 0 0 2px var(--orange);
        }
    }
    .bi-img {
        display: block;
        aspect-ratio: 1;
        background: radial-gradient(110% 85% at 26% 16%, #fafbfb, var(--concrete) 60%, #d5dcdc);
        border-radius: 3px;
        overflow: hidden;
        transition: box-shadow var(--t2) var(--ease);
        & img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
    }
    .bi-t {
        & b {
            font-weight: 600;
            font-size: 0.96875rem;
        }
        > span {
            display: block;
            font-size: 0.8125rem;
            color: var(--soft);
            margin: 2px 0 8px;
        }
    }
    .bi-c {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        border: 1px solid var(--line);
        border-radius: 14px;
        padding: 0 6px 0 8px;
        height: 28px;
        background: #fff;
        font-size: 0.8125rem;
        & i {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
        }
        & select {
            border: 0;
            background: transparent;
            font-size: 0.8125rem;
            outline: 0;
            padding-right: 2px;
            max-width: 150px;
        }
        /* Dropdown pill: the focus ring goes round the pill. */
        .kzs-btn {
            gap: 8px;
            font-size: 0.8125rem;
        }
        .kzs-btn:focus-visible {
            outline: 0;
        }
        &:has(.kzs-btn:focus-visible) {
            outline: 2px solid var(--orange);
            outline-offset: 2px;
        }
    }
    .bi-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-top: 10px;
    }
    .bq {
        display: flex;
        align-items: center;
        border: 1px solid var(--line);
        border-radius: 16px;
        height: 32px;
        background: #fff;
        & button {
            width: 32px;
            height: 100%;
            font-size: 1rem;
        }
        & button:hover {
            color: var(--orange);
        }
        & span {
            min-width: 22px;
            text-align: center;
            font-weight: 600;
            font-size: 0.875rem;
        }
    }
    .bi-rm {
        font-size: 0.8125rem;
        color: var(--soft);
        text-decoration: underline;
        &:hover {
            color: var(--ink);
        }
    }
    .bag-empty {
        text-align: center;
        padding: 48px 10px 32px;
        & svg {
            width: 44px;
            height: 44px;
            fill: none;
            stroke: var(--soft);
            stroke-width: 1.2;
            margin: 0 auto 14px;
        }
        & b {
            display: block;
            font-size: 1.125rem;
            font-weight: 600;
        }
        & p {
            color: var(--soft);
            margin: 6px auto 18px;
            max-width: 30ch;
            font-size: 0.90625rem;
        }
    }
    .bag-rec {
        margin-top: 24px;
        & h3 {
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--soft);
            margin-bottom: 8px;
        }
    }
    .br {
        display: grid;
        grid-template-columns: 56px 1fr auto;
        gap: 12px;
        align-items: center;
        padding: 8px 0;
        border-top: 1px solid var(--line);
        & b {
            display: block;
            font-weight: 600;
            font-size: 0.90625rem;
        }
        & span {
            font-size: 0.78125rem;
            color: var(--soft);
        }
    }
    .br-add {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: var(--graphite);
        color: #fff;
        font-size: 1.125rem;
        transition:
            background var(--t1) var(--ease),
            color var(--t1) var(--ease);
        &:hover {
            background: var(--orange);
            color: var(--graphite);
        }
    }
    .bag-f {
        color: var(--ink);
        border-top: 1px solid var(--line);
        padding: 18px 24px 22px;
        display: grid;
        gap: 10px;
        background: #fff;
        .note {
            margin-bottom: 4px;
        }
    }
    .bag-tot {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        & b {
            font-size: 1.0625rem;
            font-weight: 600;
        }
    }
    /* ---------- set card ---------- */
    .tile {
        display: flex;
        flex-direction: column;
    }
    .stagew {
        position: relative;
    }
    .stage {
        display: block;
        position: relative;
        aspect-ratio: 1/1.08;
        border-radius: 3px;
        overflow: hidden;
        background: radial-gradient(120% 90% at 28% 18%, #f7f9f9 0, var(--concrete) 55%, #d5dcdc 100%);
        & img {
            position: absolute;
            inset: 6%;
            width: 88%;
            height: 88%;
            object-fit: contain;
            transition: transform var(--t3) var(--ease);
        }
    }
    .pc {
        .stage {
            border-radius: 4px;
            aspect-ratio: 1/1.12;
            transition: background var(--t2) var(--ease);
        }
        .stage img {
            inset: 9% 7% 13%;
            width: 86%;
            height: 78%;
            transition: transform var(--t3) var(--ease);
        }
        &:hover .stage img {
            transform: scale(1.06) translateY(-2%) rotate(-5deg);
        }
    }
    .pc-top {
        position: absolute;
        left: 12px;
        right: 12px;
        top: 12px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        pointer-events: none;
    }
    .pc-new {
        font-size: 0.75rem;
        font-weight: 600;
        background: var(--orange);
        color: var(--graphite);
        padding: 4px 10px;
        border-radius: 12px;
    }
    .pc-col {
        pointer-events: auto;
        font-size: 0.75rem;
        font-weight: 600;
        color: var(--soft);
        background: rgba(255, 255, 255, 0.9);
        padding: 4px 10px;
        border-radius: 12px;
        transition:
            color var(--t1) var(--ease),
            background var(--t1) var(--ease);
        &:hover {
            color: #fff;
            background: var(--graphite);
        }
    }
    .qadd {
        position: absolute;
        left: 10px;
        right: 10px;
        bottom: 10px;
        height: 46px;
        border-radius: 3px;
        background: var(--graphite);
        color: #fff;
        font-weight: 600;
        font-size: 0.90625rem;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        opacity: 0;
        transform: translateY(10px);
        transition:
            opacity var(--t1) var(--ease),
            transform var(--t2) var(--ease),
            background var(--t1) var(--ease),
            color var(--t1) var(--ease);
        & svg {
            width: 13px;
            height: 13px;
            fill: none;
            stroke: currentColor;
            stroke-width: 1.8;
            stroke-linecap: round;
            stroke-linejoin: round;
        }
        &:hover {
            background: var(--orange);
            color: var(--graphite);
        }
    }
    .pc {
        &:hover .qadd,
        &:focus-within .qadd {
            opacity: 1;
            transform: none;
        }
        &:hover .pc-row :is(h2, h3) a {
            background-size: 100% 1px;
        }
    }
    .qadd {
        &.in {
            opacity: 1;
            transform: none;
            left: auto;
            height: 34px;
            padding: 0 12px;
            border-radius: 17px;
            background: var(--mint);
            color: var(--graphite);
            font-size: 0.8125rem;
            gap: 7px;
        }
        &.in:hover {
            background: var(--graphite);
            color: #fff;
        }
    }
    .pc-info {
        padding-top: 14px;
    }
    .pc-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        :is(h2, h3) {
            font-size: 1.15625rem;
            font-weight: 600;
            letter-spacing: -0.015em;
            line-height: 1.2;
        }
        :is(h2, h3) a {
            background: linear-gradient(currentColor, currentColor) 0 100%/0 1px no-repeat;
            transition: background-size var(--t2) var(--ease);
        }
    }
    .pc-dots {
        display: flex;
        align-items: center;
        flex: none;
        & i {
            width: 13px;
            height: 13px;
            border-radius: 50%;
            margin-left: -4px;
            box-shadow: 0 0 0 1.5px var(--paper);
        }
        & b {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--soft);
            margin-left: 5px;
        }
    }
    .pc-chips {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-top: 11px;
        & li {
            font-size: 0.78125rem;
            font-weight: 500;
            line-height: 1;
            padding: 6px 9px;
            border-radius: 3px;
            background: var(--concrete);
            color: #3f4646;
            white-space: nowrap;
        }
        & li:first-child {
            background: var(--graphite);
            color: #fff;
        }
    }
    @media (hover: none) {
        .qadd {
            opacity: 1;
            transform: none;
            left: auto;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            padding: 0;
            & span {
                display: none;
            }
            &.in {
                width: 44px;
                height: 44px;
                border-radius: 50%;
                padding: 0;
            }
        }
    }
    /* ---------- motion layer ---------- */
    .gsl {
        padding-bottom: 0.12em;
        margin-bottom: -0.12em;
    }
    .px-bg {
        overflow: hidden;
    }
    .px-bg img,
    .pit-word {
        will-change: transform;
    }
    .pic {
        &.lf {
            overflow: hidden;
            border-radius: 4px;
        }
        &.lf img {
            will-change: transform;
        }
    }
    /* Lenis smooth scroll */
    html.lenis,
    html.lenis body {
        height: auto;
    }
    .lenis {
        &.lenis-smooth {
            scroll-behavior: auto !important;
        }
        &.lenis-smooth iframe {
            pointer-events: none;
        }
    }
}
