/* Colour composition only: existing category geometry and scroll targets stay intact. */
@media(min-width:801px) {
    html:has(.category-inkPlane) {
        --category-canvas-surface:color-mix(in srgb,var(--vernissage-dark-surface,#151515),var(--vernissage-light-surface,#f5f5f5) calc(var(--category-canvas-blend,0) * 100%));
    }
    body:has(.category-inkPlane) .body--category .page.page--category {
        background-color:var(--category-canvas-surface) !important;
    }
    html[data-category-canvas-ink="dark"] .category-productRows {
        --category-row-ink:#171717;
        --category-row-muted:#525252;
    }
    html[data-category-canvas-ink="dark"] body:has(.category-inkPlane) .category-productRows .card-artCaption {
        color:var(--plp-art-tone,#9a7940) !important;
    }
    body:has(.category-inkPlane) .category-productRows :is(.categoryProductRow__closingDrawMount,.categoryProductRow__closingDrawStage) {
        color:var(--category-row-ink,#fff) !important;
        --category-specials-hero-draw-color:var(--category-row-ink,#fff);
    }
}
/* Trim the contaminated alpha fringe at display resolution, preserving printed detail. */
body:has(.category-inkPlane) .card-image--transparentPackshot {
    filter:url(#category-packshot-clean-edge) !important;
}
html:has(.category-inkPlane),
body:has(.category-inkPlane),
body:has(.category-inkPlane) .body--category {
    background:var(--category-canvas-surface,var(--vernissage-dark-surface,#151515)) !important;
    color:#f5f5f2;
}
body:has(.category-inkPlane) :is(.page--category,.page--category .page-content,.productGrid,.card,.card-figure,.card-body,.categoryMobileGalleryStage,.categoryMobileGalleryCaption,.categoryMobileMidpointDraw,.categoryNavSection--page,.categoryNavRail,.footerTrust) {
    background-color:var(--vernissage-dark-surface,#151515) !important;
}
body:has(.category-inkPlane) :is(.page--category .page-content,.productGrid,.card,.card-figure,.card-body) { background-color:transparent !important; }
body:has(.category-inkPlane) :is(.card-title,.card-title a,.card-text:not(.card-artCaption),.price-section,.price,.categoryNavRail__label,.categoryProductRow__closingDrawCta,.categoryMobileGalleryCta,.categoryMobileScrollDrawCta) {
    color:var(--category-row-ink,#f5f5f2) !important;
}
body:has(.category-inkPlane) :is(.card-coffeeCaption,.footerTrust__copy > span) { color:var(--category-row-muted,#c5c5c1) !important; }
@supports (color:oklch(from red max(l, .7) c h)) {
    body:has(.category-inkPlane) .card-artCaption {
        color:oklch(from var(--plp-art-tone, #9a7940) max(l, .7) c h) !important;
    }
}
body:has(.category-inkPlane) .footerTrust__copy strong { color:#f5f5f2 !important; }
body:has(.category-inkPlane) .categoryNavRail__link { color:#c5c5c1 !important; }
body:has(.category-inkPlane) :is(.categoryProductRow__closingDrawMount,.categoryProductRow__closingDrawStage) {
    color:#fff !important;
    --category-specials-hero-draw-color:#fff;
}
body:has(.category-inkPlane) .categoryProductRow__closingDrawMount svg { color:inherit !important; filter:none !important; }
body:has(.category-inkPlane) :is(.categoryMobileGalleryCta,.categoryMobileScrollDrawCta) > span:first-child { color:#f5f5f2 !important; }
body:has(.category-inkPlane) :is(.categoryMobileGalleryCta,.categoryMobileScrollDrawCta):not(:hover):not(:focus-visible)::before {
    background:conic-gradient(from 35deg,#f5f5f2 0deg 312deg,transparent 312deg 360deg);
}
body:has(.category-inkPlane) :is(.categoryMobileGalleryCta,.categoryMobileScrollDrawCta):not(:hover):not(:focus-visible) > svg { stroke:#f5f5f2; }
.page--category:has(.category-inkPlane) .category-intro {
    --category-specials-hero-title-color:#f5f5f2;
    --category-specials-hero-shell-bg:transparent;
    --category-specials-hero-title-shadow:none;
    --category-specials-hero-spectrum-shadow:none;
    --category-plp-price-placeholder:#c5c5c1;
}
.page--category .category-inkPlane {
    display:none;
}
.page--category:has(.category-inkPlane) .category-heroEnsemble__draw {
    --category-specials-hero-draw-color:#fff;
    --category-specials-hero-draw-shadow:none;
    isolation:isolate;
    z-index:2;
}
.page--category:has(.category-inkPlane) .category-heroEnsemble__draw :is(.categoryHeroKaffeetasseDraw-host,.categoryHeroKaffeetasseDraw,.homeHeroTeacupDraw) {
    color:#fff !important;
    filter:none !important;
}
.page--category:has(.category-inkPlane) .category-breadcrumbSlot { z-index:3; }
.page--category:has(.category-inkPlane) .category-breadcrumbSlot .breadcrumb-label,
.page--category:has(.category-inkPlane) .category-breadcrumbSlot .breadcrumb::before {
    color:#c5c5c1;
    border-color:#777;
}
.page--category:has(.category-inkPlane) .category-plpControls {
    --category-plp-apply-accent:#fff;
    --category-plp-apply-accent-ink:#151515;
    color:#f5f5f2;
    color-scheme:dark;
}
.page--category:has(.category-inkPlane) .category-plpControls :is(.sidebarBlock-heading,.category-plpControls__toggle,.reset-btn) {
    color:#f5f5f2 !important;
}
.page--category:has(.category-inkPlane) .category-plpControls :is(.category-plpControls__bar,.category-plpControls__row,.category-plpControls__toggle) {
    border-color:#ffffff35 !important;
    background-color:transparent !important;
}
.page--category:has(.category-inkPlane) .category-plpControls :is(.form-select,.form-input) {
    background-color:#222 !important;
    border-color:#666 !important;
    color:#f5f5f2 !important;
    -webkit-text-fill-color:#f5f5f2 !important;
}
.page--category:has(.category-inkPlane) .category-plpControls .form-select {
    appearance:auto !important;
    background-image:none !important;
}
.page--category:has(.category-inkPlane) .category-plpControls__toggle { background-image:none !important; }
.page--category:has(.category-inkPlane) .category-plpControls .form-input::placeholder { color:#bcbcb8; -webkit-text-fill-color:#bcbcb8; }
.page--category:has(.category-inkPlane) .category-plpControls .button {
    background:#f5f5f2 !important;
    color:#151515 !important;
    border-color:#f5f5f2 !important;
}
.page--category:has(.category-inkPlane) .category-plpControls .button:hover { background:#d5d5d1 !important; }
.page--category:has(.category-inkPlane) .category-plpControls :focus-visible { outline:2px solid #fff !important; outline-offset:3px; }
@media(max-width:800px) {
    html:has(.category-inkPlane) {
        --vernissage-dark-surface:#151515 !important;
        --vernissage-dark-edge:#191919 !important;
    }
    .page--category .category-inkPlane { display:none; }
    .page--category:has(.category-inkPlane) .category-intro { background:#151515; }
    .page--category:has(.category-inkPlane) .category-specialsHeroTextShell { background:transparent !important; }
    .page--category:has(.category-inkPlane) .category-plpControls__panel { background:#151515 !important; }
    .page--category:has(.category-inkPlane) #faceted-search-container :is(.category-plpControls__bar,.category-plpControls__toggle) {
        background:#151515 !important;
        color:#f5f5f2 !important;
        box-shadow:none !important;
        border-color:#ffffff35 !important;
    }
    .page--category:has(.category-inkPlane) #faceted-search-container :is(.form-select,.form-input) {
        background:#222 !important;
        color:#f5f5f2 !important;
        -webkit-text-fill-color:#f5f5f2 !important;
        border-color:#666 !important;
        box-shadow:none !important;
    }
    .page--category:has(.category-inkPlane) #faceted-search-container .category-plpControls__cell--sortControls .form-field::before,
    .page--category:has(.category-inkPlane) #faceted-search-container .category-plpControls__cell--sortControls .form-field::after { display:none; }
    .page--category:has(.category-inkPlane) #faceted-search-container .button { background:#f5f5f2 !important; color:#151515 !important; -webkit-text-fill-color:#151515 !important; }
    .page--category:has(.category-inkPlane) #faceted-search-container .button:hover { background:#d5d5d1 !important; }
    .page--category:has(.category-inkPlane) #faceted-search-container :is(.vernissageMobileSort__trigger,.vernissageMobileSort__list,.vernissageMobileSort__option) {
        background:#222 !important;
        color:#f5f5f2 !important;
        border-color:#666 !important;
        box-shadow:none !important;
    }
    .page--category:has(.category-inkPlane) #faceted-search-container .vernissageMobileSort__chevron::after { border-color:currentColor !important; }
    .page--category:has(.category-inkPlane) #faceted-search-container .vernissageMobileSort__option.is-selected { background:#383838 !important; }
    .page--category:has(.category-inkPlane) #faceted-search-container .vernissageMobileSort__option:hover,
    .page--category:has(.category-inkPlane) #faceted-search-container .vernissageMobileSort__option:focus-visible { background:#f5f5f2 !important; color:#151515 !important; }
}
