/*
 * Homepage product slider, card design 2026-11.
 * Values follow the Claude Design canvas "Toneart Neuheiten Redesign" 1:1.
 * Own "tps-" classes: the legacy .homePage-products card styles do not apply.
 * Dark is the shop default; body.light-mode switches to the light tokens.
 */
@font-face {
    font-family: 'TPS Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../../fonts/inter/Inter-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'TPS Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../../fonts/inter/Inter-Medium.woff2') format('woff2');
}

@font-face {
    font-family: 'TPS Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../fonts/inter/Inter-SemiBold.woff2') format('woff2');
}

@font-face {
    font-family: 'TPS Inter';
    font-style: normal;
    font-weight: 700 800;
    font-display: swap;
    src: url('../../fonts/inter/Inter-Bold.woff2') format('woff2');
}

.tps {
    --tps-surface: #111a2b;
    --tps-line: #22304a;
    --tps-text: #f2f5fa;
    --tps-muted: #9aa6b8;
    --tps-accent: #5cbbf8;
    --tps-accent-h: #8dd0fb;
    --tps-pre-btn: #f2f5fa;
    --tps-pre-btn-h: #d5dce6;
    --tps-pre-btn-text: #0a1120;
    --tps-warm-bg: #3a2410;
    --tps-warm-text: #ffc08a;
    --tps-ok: #5ee08f;
    --tps-ok-dot: #22c55e;
    --tps-pre: #fcd066;
    --tps-pre-dot: #f59e0b;
    --tps-nav-line: #2a3852;
    --tps-nav-bg: #111a2b;
    --tps-nav-off: #5a6578;
    --tps-dot-on: #f2f5fa;
    --tps-dot-off: #2a3852;
    --tps-more-bg: #14213a;
    --tps-shadow: 0 20px 44px -20px rgba(59, 169, 240, .45);
    --tps-gap: 20px;
    --tps-items: 5;
    /* The shop forces var(--toneart-font-family) !important on text elements. */
    --toneart-font-family: 'TPS Inter', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;

    box-sizing: border-box;
    color: var(--tps-text);
    contain: layout style;
    font-family: 'TPS Inter', Inter, system-ui, -apple-system, 'Segoe UI', sans-serif;
    margin: 0 auto;
    /* Full width up to 1920px with the shop-wide 45px side gutter (same as the other homepage sections). */
    max-width: 1920px;
    padding: 64px 45px;
}

body.light-mode .tps {
    --tps-surface: #ffffff;
    --tps-line: #e6e9ef;
    --tps-text: #0f1729;
    --tps-muted: #5b6474;
    --tps-accent: #0a68ad;
    --tps-accent-h: #084f85;
    --tps-pre-btn: #0f1729;
    --tps-pre-btn-h: #26324a;
    --tps-pre-btn-text: #ffffff;
    --tps-warm-bg: #ffe8d6;
    --tps-warm-text: #8a3b00;
    --tps-ok: #0e6b3a;
    --tps-ok-dot: #16a34a;
    --tps-pre: #8a4b00;
    --tps-pre-dot: #f59e0b;
    --tps-nav-line: #d5dae2;
    --tps-nav-bg: #ffffff;
    --tps-nav-off: #a6aebb;
    --tps-dot-on: #0f1729;
    --tps-dot-off: #d5dae2;
    --tps-more-bg: #f3f7fb;
    --tps-shadow: 0 18px 40px -18px rgba(16, 24, 40, .25);
}

.tps *,
.tps *::before,
.tps *::after {
    box-sizing: border-box;
}

.tps p,
.tps h2,
.tps h3 {
    margin: 0;
    padding: 0;
}

/* Heading */
.tps-head {
    align-items: flex-end;
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.tps-head__text {
    min-width: 0;
}

.tps .tps-eyebrow {
    color: var(--tps-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    line-height: 1.2;
    margin: 0 0 8px;
    text-transform: uppercase;
}

.tps .tps-title {
    color: var(--tps-text);
    font-family: inherit;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: -.025em;
    line-height: 1.2;
    margin: 0;
    text-transform: none;
}

.tps .tps-sub {
    color: var(--tps-muted);
    font-size: 15px;
    line-height: 1.5;
    margin: 8px 0 0;
}

.tps-actions {
    align-items: center;
    display: flex;
    flex: 0 0 auto;
    gap: 16px;
}

.tps .tps-all {
    align-items: center;
    color: var(--tps-accent);
    display: inline-flex;
    font-size: 14px;
    font-weight: 600;
    gap: 6px;
    min-height: 44px;
    text-decoration: none;
    white-space: nowrap;
}

.tps .tps-all:hover,
.tps .tps-all:focus-visible {
    color: var(--tps-accent-h);
}

.tps-all__short {
    display: none;
}

.tps-nav {
    display: flex;
    gap: 8px;
}

.tps .tps-nav__btn {
    align-items: center;
    background: var(--tps-nav-bg);
    border: 1px solid var(--tps-nav-line);
    border-radius: 999px;
    box-shadow: none;
    color: var(--tps-text);
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    width: 44px;
}

.tps .tps-nav__btn:disabled {
    color: var(--tps-nav-off);
    cursor: default;
}

.tps .tps-nav__btn:focus-visible,
.tps .tps-fav:focus-visible,
.tps .tps-btn:focus-visible,
.tps .tps-more:focus-visible,
.tps-track:focus-visible {
    outline: 2px solid #3abfff;
    outline-offset: 2px;
}

/* Track */
.tps-viewport {
    width: 100%;
}

.tps .tps-track {
    display: flex;
    gap: var(--tps-gap);
    list-style: none;
    margin: 26px 0 -26px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 6px 0 26px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
}

.tps-track::-webkit-scrollbar {
    display: none;
}

.tps .tps-track.is-dragging {
    cursor: grabbing;
    scroll-behavior: auto;
    scroll-snap-type: none;
    user-select: none;
}

/* JS glide (arrows, dots, autoplay, end of a mouse drag): eased in JS, so no native smoothing or snapping meanwhile */
.tps .tps-track.is-gliding {
    scroll-behavior: auto;
    scroll-snap-type: none;
}

.tps .tps-slide {
    display: flex;
    flex: 0 0 calc((100% - (var(--tps-gap) * (var(--tps-items) - 1))) / var(--tps-items));
    list-style: none;
    margin: 0;
    min-width: 0;
    padding: 0;
    scroll-snap-align: start;
}

/* Card */
.tps .tps-card {
    background: var(--tps-surface);
    border: 1px solid var(--tps-line);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
    width: 100%;
}

.tps .tps-card:hover {
    box-shadow: var(--tps-shadow);
    transform: translateY(-3px);
}

.tps-media {
    align-items: center;
    background: #f3f5f8;
    border-radius: 14px;
    display: flex;
    height: 216px;
    isolation: isolate;
    justify-content: center;
    margin: 8px 8px 0;
    position: relative;
}

.tps .tps-media__link {
    align-items: center;
    display: flex;
    height: 100%;
    justify-content: center;
    padding: 14px;
    width: 100%;
}

/* White product photos melt into the tile instead of showing a second frame. */
.tps .tps-media__img {
    height: auto;
    max-height: 100%;
    max-width: 100%;
    mix-blend-mode: multiply;
    object-fit: contain;
    transition: transform .35s ease;
    width: auto;
}

.tps .tps-card:hover .tps-media__img {
    transform: scale(1.03);
}

.tps-badges {
    align-items: center;
    display: flex;
    gap: 6px;
    left: 10px;
    position: absolute;
    top: 10px;
    z-index: 2;
}

/* Status pills sit bottom-left, away from the glossy sticker label and the heart. */
.tps-status {
    align-items: center;
    bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    left: 10px;
    pointer-events: none;
    position: absolute;
    right: 10px;
    z-index: 2;
}

.tps .tps-label {
    display: block;
    height: 44px;
    mix-blend-mode: normal;
    width: 44px;
}

.tps-pill {
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    line-height: 1;
    padding: 5px 9px;
    text-transform: uppercase;
}

.tps-pill--dark {
    background: #0f1729;
    color: #ffffff;
}

.tps-pill--warm {
    background: #ffe8d6;
    color: #8a3b00;
}

.tps .tps-fav {
    align-items: center;
    background: #ffffff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, .12);
    color: #344054;
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 4px;
    top: 4px;
    width: 44px;
    z-index: 2;
}

.tps .tps-fav:hover {
    color: #0a68ad;
}

.tps [aria-busy="true"] {
    cursor: wait !important;
    opacity: .65;
}

.tps-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.tps .tps-brand,
.tps .tps-brand a {
    color: var(--tps-muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .08em;
    line-height: 1.2;
    margin: 0 0 6px;
    text-transform: uppercase;
}

.tps .tps-brand a {
    margin: 0;
    text-decoration: none;
}

.tps .tps-brand a:hover,
.tps .tps-brand a:focus-visible {
    color: var(--tps-accent);
    text-decoration: underline;
}

.tps .tps-name {
    -webkit-box-orient: vertical;
    color: var(--tps-text);
    display: -webkit-box;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    height: 40px;
    letter-spacing: 0;
    -webkit-line-clamp: 2;
    line-height: 1.35;
    margin: 0;
    overflow: hidden;
    white-space: normal;
}

.tps .tps-name a {
    color: inherit;
    text-decoration: none;
}

.tps .tps-name a:hover {
    color: var(--tps-accent);
}

.tps-pricerow {
    align-items: center;
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.tps-price {
    color: var(--tps-text);
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    line-height: 1.2;
}

.tps-save {
    background: var(--tps-warm-bg);
    border-radius: 6px;
    color: var(--tps-warm-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 4px 7px;
}

.tps .tps-meta {
    color: var(--tps-muted);
    font-size: 12px;
    line-height: 1.5;
    margin-top: 4px;
}

.tps-meta s {
    color: var(--tps-muted);
}

.tps .tps-klarna {
    align-items: center;
    color: var(--tps-muted);
    display: flex;
    font-size: 12px;
    gap: 6px;
    line-height: 1.5;
    margin-top: 6px;
}

.tps-klarna__badge {
    background: #ffb3c7;
    border-radius: 4px;
    color: #17120f;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .01em;
    line-height: 1;
    padding: 3px 6px;
}

.tps-price-module {
    margin-top: 12px;
}

.tps .tps-ship {
    align-items: center;
    color: var(--tps-ok);
    display: flex;
    font-size: 12.5px;
    font-weight: 600;
    gap: 7px;
    line-height: 1.4;
    margin-top: 12px;
}

.tps-ship__dot {
    background: var(--tps-ok-dot);
    border-radius: 999px;
    flex: none;
    height: 8px;
    width: 8px;
}

.tps .tps-ship--pre {
    color: var(--tps-pre);
}

.tps-ship--pre .tps-ship__dot {
    background: var(--tps-pre-dot);
}

.tps .tps-stock {
    color: var(--tps-warm-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 4px;
    padding-left: 15px;
}

.tps-cta {
    margin-top: auto;
    padding-top: 14px;
}

.tps-cta form {
    margin: 0;
}

.tps .tps-btn {
    align-items: center;
    background: linear-gradient(135deg, #8ed8fb 0%, #3fb0f2 55%, #1690e0 100%);
    border: 0;
    border-radius: 12px;
    box-shadow: 0 8px 20px -10px rgba(22, 144, 224, .7);
    color: #06243a;
    cursor: pointer;
    display: flex;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    height: 46px;
    justify-content: center;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
    padding: 0 12px;
    text-decoration: none;
    text-transform: none;
    transition: filter .2s, box-shadow .2s, background .2s;
    white-space: nowrap;
    width: 100%;
}

.tps .tps-btn:hover {
    box-shadow: 0 10px 24px -10px rgba(22, 144, 224, .9);
    color: #06243a;
    filter: brightness(1.06);
}

.tps .tps-btn--pre,
.tps .tps-btn--pre:hover {
    background: var(--tps-pre-btn);
    box-shadow: none;
    color: var(--tps-pre-btn-text);
    filter: none;
}

.tps .tps-btn--pre:hover {
    background: var(--tps-pre-btn-h);
}

.tps .tps-btn.is-added,
.tps .tps-btn.is-added:hover {
    background: linear-gradient(135deg, #a7f3c4 0%, #4ade80 55%, #16a34a 100%);
    box-shadow: 0 8px 20px -10px rgba(22, 163, 74, .7);
    color: #052e16;
    filter: none;
}

.tps-btn__icon-added,
.tps-btn.is-added .tps-btn__icon {
    display: none;
}

.tps-btn.is-added .tps-btn__icon-added {
    display: block;
}

.tps .tps-out {
    color: var(--tps-muted);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

/* "View all" end card */
.tps .tps-more {
    align-items: center;
    background: var(--tps-more-bg);
    border-style: dashed;
    color: var(--tps-text);
    gap: 16px;
    justify-content: center;
    padding: 24px;
    text-align: center;
    text-decoration: none;
}

.tps-more__icon {
    align-items: center;
    background: linear-gradient(135deg, #8ed8fb 0%, #3fb0f2 55%, #1690e0 100%);
    border-radius: 999px;
    color: #06243a;
    display: flex;
    height: 64px;
    justify-content: center;
    transition: transform .2s;
    width: 64px;
}

.tps-more:hover .tps-more__icon {
    transform: translateX(4px);
}

.tps-more__title {
    color: var(--tps-text);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
    line-height: 1.3;
}

.tps-more__text {
    color: var(--tps-muted);
    font-size: 13px;
    line-height: 1.5;
}

/* Pagination dots */
.tps-dots {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-top: 28px;
    min-height: 6px;
}

.tps-dots span {
    background: var(--tps-dot-off);
    border-radius: 999px;
    height: 6px;
    transition: width .25s, background .25s;
    width: 6px;
}

.tps-dots span.is-active {
    background: var(--tps-dot-on);
    width: 24px;
}

.tps-dots.tps-dots--interactive {
    flex-wrap: wrap;
    gap: 0;
    margin-top: 19px;
}

.tps-dots--interactive button {
    align-items: center;
    background: transparent;
    border: 0;
    color: var(--tps-dot-on);
    cursor: pointer;
    display: grid;
    height: 24px;
    justify-items: center;
    padding: 0;
    width: 24px;
}

.tps-dots--interactive button::before {
    background: var(--tps-dot-off);
    border-radius: 999px;
    content: "";
    height: 6px;
    transition: width .35s cubic-bezier(.4, 0, .2, 1), background-color .3s ease;
    width: 6px;
}

@media (prefers-reduced-motion: reduce) {
    .tps-dots--interactive button::before {
        transition: none;
    }
}

.tps-dots--interactive button:hover::before,
.tps-dots--interactive button.is-active::before {
    background: var(--tps-dot-on);
}

.tps-dots--interactive button.is-active::before {
    width: 22px;
}

.tps-dots--interactive button:focus-visible {
    border-radius: 999px;
    outline: 2px solid currentColor;
    outline-offset: -2px;
}

.tps-sr {
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}

/* Responsive: 5 cards at the 1440 design width, 6 on big screens, fewer below, one + peek on phones */
@media (min-width: 1680px) {
    .tps {
        --tps-items: 6;
    }

    .tps-media {
        height: 240px;
    }
}

@media (max-width: 1279px) {
    .tps {
        --tps-items: 4;
    }
}

@media (max-width: 1023px) {
    .tps {
        --tps-items: 3;
        padding: 48px 32px;
    }
}

@media (max-width: 767px) {
    .tps {
        --tps-items: 2;
    }
}

@media (max-width: 639px) {
    .tps {
        --tps-gap: 12px;
        padding: 40px 16px 32px;
    }

    .tps-head {
        gap: 12px;
    }

    .tps .tps-eyebrow {
        font-size: 11px;
        margin-bottom: 6px;
    }

    .tps .tps-title {
        font-size: 26px;
    }

    .tps .tps-sub {
        font-size: 14px;
        margin-top: 6px;
    }

    .tps .tps-all {
        padding: 12px 0;
    }

    .tps-all__long,
    .tps-all__icon,
    .tps-nav {
        display: none;
    }

    .tps-all__short {
        display: inline;
    }

    .tps .tps-track {
        margin: 24px -16px -26px;
        padding: 6px 16px 26px;
        scroll-padding-inline: 16px;
    }

    .tps .tps-slide {
        flex: 0 0 264px;
    }

    .tps-media {
        height: 212px;
    }

    .tps-dots {
        margin-top: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tps .tps-track {
        scroll-behavior: auto;
    }

    .tps .tps-card:hover,
    .tps .tps-card:hover .tps-media__img,
    .tps-more:hover .tps-more__icon {
        transform: none;
    }
}

/* 2026-11-20: minimal wishlist — no white disc, just a thin heart that comes forward on hover. */
.tps .tps-fav {
    background: transparent;
    box-shadow: none;
    color: #98a2b3;
    height: 40px;
    width: 40px;
    right: 2px;
    top: 2px;
    transition: color .2s ease, opacity .2s ease, transform .2s ease;
}
.tps .tps-fav svg {
    width: 18px;
    height: 18px;
}
.tps .tps-fav svg path {
    stroke-width: 1.5;
    transition: fill .2s ease;
}
.tps .tps-fav:hover {
    color: #e5484d;
    transform: scale(1.08);
}
.tps .tps-fav:hover svg path {
    fill: rgba(229, 72, 77, .12);
}
@media (hover: hover) and (pointer: fine) {
    .tps .tps-fav { opacity: .55; }
    .tps .tps-slide:hover .tps-fav,
    .tps .tps-fav:focus-visible,
    .tps .tps-fav:hover { opacity: 1; }
}

/* 2026-11-20: pre-order = outlined button in the brand gradient (same family as the cart CTA, clearly secondary). */
.tps .tps-btn--pre,
.tps .tps-btn--pre:hover {
    background:
        linear-gradient(var(--tps-surface), var(--tps-surface)) padding-box,
        linear-gradient(135deg, #8ed8fb 0%, #3fb0f2 55%, #1690e0 100%) border-box;
    border: 1.5px solid transparent;
    box-shadow: none;
    color: #7cc8f7;
    filter: none;
}
.tps .tps-btn--pre:hover {
    background:
        linear-gradient(rgba(63, 176, 242, .12), rgba(63, 176, 242, .12)) padding-box,
        linear-gradient(var(--tps-surface), var(--tps-surface)) padding-box,
        linear-gradient(135deg, #8ed8fb 0%, #3fb0f2 55%, #1690e0 100%) border-box;
    color: #a9dcfb;
}
body.light-mode .tps .tps-btn--pre,
body.light-mode .tps .tps-btn--pre:hover { color: #0a68ad; }

/* Out of stock = a quiet, disabled-looking button in the same slot as the CTA. */
.tps .tps-out {
    align-items: center;
    border: 1px dashed var(--tps-line);
    border-radius: 12px;
    color: var(--tps-muted);
    display: flex;
    font-size: 14px;
    font-weight: 600;
    gap: 8px;
    height: 46px;
    justify-content: center;
    margin: 0;
    opacity: .85;
    cursor: not-allowed;
}
.tps .tps-out svg { flex: none; opacity: .8; }
body:not(.light-mode) .tps .tps-out { border-color: rgba(255, 255, 255, .16); }


/* ==========================================================================
   2026-11-20: the same card on category / search grids and related products
   (Magento_Catalog::product/list/item.phtml renders widget/product-card.phtml
   inside .tps.tps-host). Space Grotesk prices like on the homepage.
   ========================================================================== */
@font-face {
    font-family: 'TPS Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../fonts/space-grotesk/space-grotesk-latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'TPS Display';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../../fonts/space-grotesk/space-grotesk-latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'TPS Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../fonts/space-grotesk/space-grotesk-latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'TPS Display';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../../fonts/space-grotesk/space-grotesk-latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
.tps.tps-host {
    contain: none;
    display: flex;
    height: 100%;
    margin: 0;
    max-width: none;
    padding: 0;
    width: 100%;
}
.tps.tps-host > .tps-card { flex: 1 1 auto; }
.tps.tps-host .tps-price,
.tps.tps-host .tps-more__title {
    --toneart-font-family: 'TPS Display', 'TPS Inter', Inter, system-ui, sans-serif;
    font-family: 'TPS Display', 'TPS Inter', Inter, system-ui, sans-serif;
}
/* Product page styles h3/links inside sections (e.g. related "Das könnte Sie auch interessieren"); keep the card's name. */
.tps.tps-host h3.tps-name,
.tps.tps-host h3.tps-name a {
    color: var(--tps-text) !important;
    font-family: 'TPS Inter', Inter, system-ui, sans-serif !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    text-transform: none !important;
}
.tps.tps-host h3.tps-name a:hover { color: var(--tps-accent) !important; }

/* 2026-11-21: square product image on every card (homepage sliders, category grids, related). */
.tps .tps-media,
.tps.tps-host .tps-media {
    aspect-ratio: 1 / 1;
    height: auto !important;
}

/* 2026-11-21: status labels on the card image (Vorbestellung / Neu). The homepage CTA pill
   (.cms-home .tps-pill) shares the class name, so these rules reset it. */
.tps .tps-status .tps-pill {
    align-items: center;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .45) !important;
    display: inline-flex !important;
    font-family: 'TPS Inter', Inter, system-ui, sans-serif !important;
    font-size: 10.5px !important;
    font-weight: 700 !important;
    gap: 6px;
    height: auto !important;
    letter-spacing: .06em !important;
    line-height: 1 !important;
    min-height: 0 !important;
    padding: 6px 10px !important;
    text-transform: uppercase !important;
}
.tps .tps-status .tps-pill--warm {
    background: linear-gradient(135deg, #fde68a 0%, #fbbf24 55%, #f59e0b 100%) !important;
    color: #3b2300 !important;
}
.tps .tps-status .tps-pill--warm::before {
    content: '';
    width: 11px;
    height: 11px;
    flex: none;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 11h18'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tps .tps-status .tps-pill--dark {
    background: #0f1729 !important;
    color: #ffffff !important;
}

/* 2026-11-21: grid cards outside the homepage use the homepage's graphite card colours (dark theme). */
body:not(.light-mode) .tps.tps-host {
    --tps-surface: #141417;
    --tps-line: #27272c;
    --tps-text: #f5f5f5;
    --tps-muted: #a1a1aa;
    --tps-accent: #e4e4e7;
    --tps-accent-h: #ffffff;
    --tps-more-bg: #18181b;
    --tps-glow: rgba(255, 255, 255, .07);
    --tps-surface-2: #111114;
    --tps-shadow: 0 24px 48px -24px rgba(0, 0, 0, .75);
}

/* 2026-11-21: CMS product carousels (Hyvä widget-product-carousel): the theme build lacks the
   md/lg/xl [--snap-cols] utilities, so one card filled the whole width. Set the columns here. */
.widget-product-carousel .snap-track {
    --tps-snap-cols: 1.15;
    display: grid;
    gap: 20px;
    grid-auto-columns: calc((100% - (var(--tps-snap-cols) - 1) * 20px) / var(--tps-snap-cols));
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.widget-product-carousel .snap-track::-webkit-scrollbar { display: none; }
.widget-product-carousel .snap-track > * { scroll-snap-align: start; min-width: 0; }
@media (min-width: 640px) { .widget-product-carousel .snap-track { --tps-snap-cols: 2; } }
@media (min-width: 1024px) { .widget-product-carousel .snap-track { --tps-snap-cols: 3; } }
@media (min-width: 1280px) { .widget-product-carousel .snap-track { --tps-snap-cols: 4; } }

/* 2026-11-21: CMS/content pages style p/span text; keep the card's own sizes everywhere. */
.tps.tps-host .tps-card p,
.tps.tps-host .tps-card span { line-height: 1.4 !important; margin: 0; }
.tps.tps-host .tps-meta,
.tps.tps-host .tps-meta span,
.tps.tps-host .tps-klarna,
.tps.tps-host .tps-klarna span:not(.tps-klarna__badge),
.tps.tps-host .tps-stock { font-size: 12px !important; }
.tps.tps-host .tps-ship,
.tps.tps-host .tps-ship span { font-size: 13px !important; }
.tps.tps-host .tps-klarna__badge { font-size: 10px !important; }
.tps.tps-host .tps-brand,
.tps.tps-host .tps-brand a { font-size: 11px !important; }
.tps.tps-host .tps-price { font-size: 22px !important; line-height: 1.15 !important; }
.tps.tps-host .tps-save { font-size: 12px !important; }
.tps.tps-host .tps-out { font-size: 14px !important; }

/* 2026-11-21: grid cards = homepage cards exactly (computed-style diff vs homepage). */
body.page-products #product-list .products-grid > ul > li:has(> .tps-host),
.products-grid li:has(> .tps-host),
.snap-track > div:has(> .tps-host) {
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.tps.tps-host { font-size: 16px; line-height: 1.5; }
.tps.tps-host .tps-card p,
.tps.tps-host .tps-card span { margin: revert-layer; }
.tps.tps-host .tps-brand { line-height: 1.1 !important; margin: 0 0 6px !important; }
.tps.tps-host .tps-meta { line-height: 1.5 !important; margin: 4px 0 0 !important; }
.tps.tps-host .tps-klarna { line-height: 1.5 !important; margin: 6px 0 0 !important; }
.tps.tps-host .tps-ship { margin: 12px 0 0 !important; line-height: 1.4 !important; }
.tps.tps-host .tps-ship,
.tps.tps-host .tps-ship span { font-size: 12.5px !important; }
.tps.tps-host .tps-stock { margin: 4px 0 0 !important; }
.tps.tps-host .tps-price { font-weight: 700 !important; letter-spacing: -.01em !important; line-height: 1.2 !important; }
.tps.tps-host .tps-card p.tps-brand { line-height: 1.2 !important; }
.tps.tps-host .tps-card p.tps-meta,
.tps.tps-host .tps-card p.tps-klarna { line-height: 1.5 !important; }
.tps.tps-host .tps-card span.tps-price { line-height: 1.2 !important; }
.tps.tps-host .tps-card .tps-meta span,
.tps.tps-host .tps-card .tps-klarna span { line-height: inherit !important; }

/* ==========================================================================
   2026-11-21: homepage graphite background on category, search and product pages
   (replaces the navy gradient + star dots from toneart.css). Dark theme only.
   ========================================================================== */
body.catalog-category-view:not(.light-mode),
body.catalogsearch-result-index:not(.light-mode),
body.catalog-product-view:not(.light-mode) {
    background-color: #0b0b0d !important;
    background-image: radial-gradient(ellipse at top, #1c1c21 0%, #0b0b0d 70%) !important;
}
html:not(.nav-open) body.catalog-category-view:not(.light-mode)::before,
html:not(.nav-open) body.catalog-category-view:not(.light-mode)::after,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode)::before,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode)::after,
html:not(.nav-open) body.catalog-product-view:not(.light-mode)::before,
html:not(.nav-open) body.catalog-product-view:not(.light-mode)::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    width: auto;
    height: auto;
    box-shadow: none;
    pointer-events: none;
    animation: none;
}
html:not(.nav-open) body.catalog-category-view:not(.light-mode)::before,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode)::before,
html:not(.nav-open) body.catalog-product-view:not(.light-mode)::before {
    background: radial-gradient(60% 40% at 50% -5%, rgba(255, 255, 255, .05), transparent 70%);
}
html:not(.nav-open) body.catalog-category-view:not(.light-mode)::after,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode)::after,
html:not(.nav-open) body.catalog-product-view:not(.light-mode)::after {
    inset: -20%;
    background:
        radial-gradient(38% 32% at 22% 28%, rgba(120, 170, 230, .10), transparent 70%),
        radial-gradient(34% 30% at 80% 62%, rgba(255, 255, 255, .06), transparent 70%);
    filter: blur(20px);
    animation: tps-aurora-pages 28s ease-in-out infinite alternate;
}
@keyframes tps-aurora-pages {
    from { transform: translate3d(-4%, -2%, 0) scale(1); }
    to { transform: translate3d(4%, 3%, 0) scale(1.08); }
}
@media (prefers-reduced-motion: reduce) {
    html:not(.nav-open) body.catalog-category-view:not(.light-mode)::after,
    html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode)::after,
    html:not(.nav-open) body.catalog-product-view:not(.light-mode)::after { animation: none; }
}
/* Product page: the teal band behind the top section becomes a soft graphite lift */
body.catalog-product-view:not(.light-mode) .product-top-wrapper::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, .025) 0%, rgba(255, 255, 255, 0) 100%) !important;
}
html:not(.nav-open) body.catalog-category-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::before,
html:not(.nav-open) body.catalog-category-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::after,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::before,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::after,
html:not(.nav-open) body.catalog-product-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::before,
html:not(.nav-open) body.catalog-product-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::after {
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
}
html:not(.nav-open) body.catalog-category-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::before,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::before,
html:not(.nav-open) body.catalog-product-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::before {
    inset: 0 !important;
    background: radial-gradient(60% 40% at 50% -5%, rgba(255, 255, 255, .05), transparent 70%) !important;
    animation: none !important;
}
html:not(.nav-open) body.catalog-category-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::after,
html:not(.nav-open) body.catalogsearch-result-index:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::after,
html:not(.nav-open) body.catalog-product-view:not(.light-mode):not(.checkout-cart-index):not(.checkout-index-index)::after {
    inset: -20% !important;
    background:
        radial-gradient(38% 32% at 22% 28%, rgba(120, 170, 230, .10), transparent 70%),
        radial-gradient(34% 30% at 80% 62%, rgba(255, 255, 255, .06), transparent 70%) !important;
}
/* Product page breadcrumb bar: graphite like the rest of the page instead of teal */
body.catalog-product-view:not(.light-mode) .page-wrapper > .top-container .breadcrumbs {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
/* Breadcrumbs: no bar background, no border (all page types, both themes) */
body .page-wrapper > .breadcrumbs,
body .page-wrapper > .top-container .breadcrumbs,
body.catalog-product-view .page-wrapper > .top-container .breadcrumbs,
body.catalog-product-view.light-mode .page-wrapper > .top-container .breadcrumbs {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
/* Product page: breadcrumb bar and hero area share the plain page background (no shadow line, no lift) */
body.catalog-product-view:not(.light-mode) .breadcrumbs { box-shadow: none !important; border-bottom: 0 !important; }
body.catalog-product-view:not(.light-mode) .product-top-wrapper::before { background: none !important; }

/* 2026-11-21: product photo fills the square tile (no inner padding), scaled to fit, rounded with the tile. */
.tps .tps-media { overflow: hidden; }
.tps .tps-media__link { padding: 0 !important; }
.tps .tps-media__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
}

/* ==========================================================================
   2026-11-23: 2-column grid cards on phones (category, search, cross-sells,
   CMS widgets) are ~165px wide. Compact price row, texts and CTA so nothing
   wraps badly (discount pill split over two lines) or overflows (cart button).
   ========================================================================== */
@media (max-width: 639px) {
    .tps.tps-host .tps-body { padding: 12px 12px 14px; }
    .tps.tps-host .tps-brand,
    .tps.tps-host .tps-brand a { font-size: 10px !important; letter-spacing: .06em; }
    .tps.tps-host h3.tps-name,
    .tps.tps-host h3.tps-name a { font-size: 14px !important; line-height: 1.3 !important; }
    .tps.tps-host .tps-pricerow { flex-wrap: wrap; gap: 4px 6px; margin-top: 10px; }
    .tps.tps-host .tps-price { font-size: 18px !important; }
    .tps.tps-host .tps-save { font-size: 11px !important; padding: 3px 6px; white-space: nowrap; }
    .tps.tps-host .tps-meta,
    .tps.tps-host .tps-meta span { font-size: 11px !important; line-height: 1.45 !important; }
    .tps.tps-host .tps-klarna { align-items: flex-start; gap: 5px; }
    .tps.tps-host .tps-klarna,
    .tps.tps-host .tps-klarna span:not(.tps-klarna__badge) { font-size: 11px !important; line-height: 1.4 !important; }
    .tps.tps-host .tps-klarna__badge { flex: none; font-size: 9px !important; margin-top: 1px; padding: 3px 5px; }
    .tps.tps-host .tps-ship { align-items: flex-start; gap: 6px; margin-top: 10px !important; }
    .tps.tps-host .tps-ship,
    .tps.tps-host .tps-ship span { font-size: 11.5px !important; line-height: 1.35 !important; }
    .tps.tps-host .tps-ship__dot { height: 7px; margin-top: 4px; width: 7px; }
    .tps.tps-host .tps-stock { font-size: 11px !important; padding-left: 13px; }
    .tps.tps-host .tps-cta { padding-top: 12px; }
    .tps.tps-host .tps-btn { border-radius: 10px; font-size: 13px; gap: 6px; height: 42px; padding: 0 8px; }
    .tps.tps-host .tps-btn > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
    .tps.tps-host .tps-btn__icon,
    .tps.tps-host .tps-btn__icon-added { flex: none; height: 16px; width: 16px; }
}
@media (max-width: 389px) {
    .tps.tps-host .tps-body { padding: 10px 10px 12px; }
    .tps.tps-host .tps-price { font-size: 17px !important; }
    .tps.tps-host .tps-btn { font-size: 12.5px; padding: 0 6px; }
}
@media (max-width: 479px) {
    /* Text wins over the icon on 2-column phones ("Jetzt vorbestellen" was cut at 390-430px);
       the added check mark stays. */
    .tps.tps-host .tps-btn:not(.is-added) .tps-btn__icon { display: none; }
}
