/**
 * Premium Warenkorb — Design-System (.gcs-pcart-*)
 * Geladen nur bei is_cart() (siehe functions.php).
 *
 * Struktur: woocommerce.php (Hero + .gcs-pcart-page) → cart.php (Grid, Sidebar).
 * Layout: Shell (--pcart-shell-max), Zwei-Spalten ab 1024px, verdichtete Sidebar-Breite mit Caps,
 * Hero ≥1280px zweispaltig (Metriken rechts). Für Full-HD / Ultrawide mit clamp()-Skalierung.
 */

/* ------------------------------------------------------------------------- */
/* Design tokens                                                             */
/* ------------------------------------------------------------------------- */

body.woocommerce-cart {
    /*
     * Shell: auf 1920px nutzbar ~1620px Inhalt (vorher ~1504px) — wirkt auf PC proportionierter,
     * auf Ultrawide weiterhin zentriert und lesbar (cap über 100vw).
     */
    --pcart-shell-max: min(108rem, calc(100vw - 2.5rem));
    --pcart-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --pcart-ease-spring: cubic-bezier(0.34, 1.2, 0.64, 1);
    --pcart-shadow-hover:
        0 22px 52px rgba(22, 42, 28, 0.11),
        0 8px 22px rgba(77, 124, 90, 0.09),
        0 0 0 1px rgba(107, 158, 122, 0.14);
    --pcart-shadow-glow-brand: 0 0 0 1px rgba(107, 158, 122, 0.2), 0 12px 36px rgba(77, 124, 90, 0.18);
}

body.woocommerce-cart .gcs-pcart-page,
.gcs-woo-cart.gcs-pcart-page {
    --pcart-r-sm: 12px;
    --pcart-r-md: clamp(14px, 1.6vw, 18px);
    --pcart-r-lg: clamp(18px, 2.2vw, 22px);
    --pcart-r-xl: clamp(20px, 2.8vw, 26px);

    /* Einheitliche Innenabstände für Hauptpanel & Sidebar */
    --pcart-panel-pad-x: clamp(1.2rem, 2.6vw, 1.85rem);
    --pcart-panel-pad-y: clamp(1.1rem, 2.2vw, 1.55rem);

    --pcart-ink: #1c261f;
    --pcart-ink-muted: rgba(28, 38, 31, 0.62);
    --pcart-ink-soft: rgba(28, 38, 31, 0.42);

    --pcart-brand: #1c7a4a;
    --pcart-brand-2: #23985d;
    --pcart-accent: #7ce17a;
    /* Hover/Fokus: dunkles Markengrün statt Hellgrün (--pcart-accent) */
    --pcart-interactive-hover: var(--pcart-brand);
    --pcart-stepper-hover-border: rgba(28, 122, 74, 0.38);

    --pcart-border: rgba(65, 95, 72, 0.12);
    --pcart-border-strong: rgba(65, 95, 72, 0.18);

    --pcart-surface: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.97) 0%,
        rgba(246, 249, 247, 0.94) 48%,
        rgba(255, 255, 255, 0.9) 100%
    );
    --pcart-surface-elevated: rgba(255, 255, 255, 0.72);
    --pcart-surface-sidebar: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.99) 0%,
        rgba(249, 252, 250, 0.96) 52%,
        rgba(255, 255, 255, 0.97) 100%
    );

    --pcart-focus-ring: 0 0 0 3px rgba(35, 152, 93, 0.28);

    --pcart-shadow-sm: 0 1px 2px rgba(22, 42, 28, 0.05);
    --pcart-shadow-md:
        0 14px 34px rgba(22, 42, 28, 0.07),
        0 2px 8px rgba(22, 42, 28, 0.04);
    --pcart-shadow-lg:
        0 28px 64px rgba(15, 38, 24, 0.1),
        0 8px 20px rgba(15, 38, 24, 0.05);

    --pcart-gap: clamp(1.35rem, 2.4vw, 2.75rem);
    /* Abstand Icon/Titel/Untertitel zur Toolbar-Trennlinie und zur Kopf-Unterlinie (Desktop, siehe Media Query) */
    --gcs-pcart-kopf-band: clamp(0.72rem, 1.7vw, 1.05rem);
    --pcart-font: var(--gcs-font-sans, "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);

    color: var(--pcart-ink);
    font-family: var(--pcart-font);
}

/* Klare Zahlenoptik (Preise, Summen, mobilen Total) */
body.woocommerce-cart .gcs-pcart-page .woocommerce-Price-amount,
body.woocommerce-cart .gcs-pcart-page .woocommerce-Price-amount *,
body.woocommerce-cart .gcs-pcart-page table.shop_table .amount,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__price,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__subtotal,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-mobile-cta__total {
    font-variant-numeric: tabular-nums;
}

/* Vertikal mehr Luft auf großen Viewports (PC / Full-HD) */
body.woocommerce-cart .gcs-pcart-section.section {
    padding-block: clamp(2rem, 4.5vw, 3.75rem);
}

body.woocommerce-cart .gcs-pcart-section.section.gcs-pcart-section--filled-no-hero {
    padding-top: clamp(0.3rem, 0.9vw, 0.65rem);
    padding-bottom: clamp(0.85rem, 2vw, 1.45rem);
}

/* ------------------------------------------------------------------------- */
/* Volle Inhaltsbreite + WooCommerce-„Layout“ neutralisieren                 */
/* (WC setzt häufig float + %-Widths auf Form / cart-collaterals — das wirkt *
 * auf unser Grid wie ein extrem schmales Mobil-Strip-Layout.)              */
/* ------------------------------------------------------------------------- */

body.woocommerce-cart main#content,
body.woocommerce-cart #content {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    box-sizing: border-box;
    background: #fff;
    background-image: none;
}

html.gcs-dark body.woocommerce-cart main#content,
html.gcs-dark body.woocommerce-cart #content {
    background: var(--gcs-woo-page-bg);
}

body.woocommerce-cart .gcs-pcart-section.section {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}

body.woocommerce-cart .gcs-pcart-section .container.gcs-pcart-shell {
    width: 100%;
    max-width: min(var(--pcart-shell-max), 100%);
    margin-inline: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    /* Einziger vertikaler Trenner zwischen Hero und .gcs-pcart-page (kein margin-bottom am Hero nötig) */
    gap: clamp(2rem, 5vw, 3.25rem);
}

body.woocommerce-cart .gcs-pcart-page.woocommerce,
.gcs-woo-cart.gcs-pcart-page.woocommerce {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    justify-items: stretch;
    gap: var(--pcart-gap);
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
}

body.woocommerce-cart .gcs-pcart-page .woocommerce-cart-form,
body.woocommerce-cart .gcs-pcart-page form.woocommerce-cart-form,
body.woocommerce-cart .gcs-pcart-page .cart-collaterals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

body.woocommerce-cart .gcs-pcart-page .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    box-sizing: border-box;
}

body.woocommerce-cart .gcs-pcart-page .gcs-pcart-summary__collateral .cart_totals {
    max-width: none !important;
}

body.woocommerce-cart .gcs-pcart-page .gcs-pcart__form {
    display: block;
    width: 100%;
    clear: none;
    box-sizing: border-box;
}

/*
 * main.css: .woocommerce-cart-form / .cart-collaterals mit #fff + Rahmen.
 * Nur Fläche/Rahmen neutralisieren — Abstände wie vorher:
 * - Form: weiterhin 1rem Innenabstand wie main.css (sonst rutscht die Hauptkarte).
 * - .cart-collaterals: kein padding hier setzen (gleiches Element wie
 *   .gcs-pcart-summary__collateral — sonst überschreibt hohe Spezifität das clamp-Padding).
 */
body.woocommerce-cart .gcs-pcart-page form.woocommerce-cart-form,
body.woocommerce-cart .gcs-pcart-page .woocommerce-cart-form {
    background: transparent;
    border: none;
    border-radius: 0;
    /* Weniger Abstand nach oben zur Toolbar — seitlich/unten 1rem beibehalten */
    padding: clamp(0.15rem, 0.55vw, 0.4rem) 1rem 1rem;
    box-shadow: none;
}

@media (min-width: 1024px) {
    body.woocommerce-cart .gcs-pcart-page--filled form.woocommerce-cart-form,
    body.woocommerce-cart .gcs-pcart-page--filled .woocommerce-cart-form,
    .gcs-woo-cart.gcs-pcart-page--filled form.woocommerce-cart-form,
    .gcs-woo-cart.gcs-pcart-page--filled .woocommerce-cart-form {
        padding-top: 0;
    }
}

body.woocommerce-cart .gcs-pcart-page .cart-collaterals {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page form.woocommerce-cart-form,
html.gcs-dark body.woocommerce-cart .gcs-pcart-page .woocommerce-cart-form,
html.gcs-dark body.woocommerce-cart .gcs-pcart-page .cart-collaterals {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* ------------------------------------------------------------------------- */
/* Keyframes                                                                 */
/* ------------------------------------------------------------------------- */

@keyframes gcs-pcart-hero-float {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(12px, -10px, 0) scale(1.03);
    }
}

@keyframes gcs-pcart-reveal {
    from {
        opacity: 0;
        transform: translate3d(0, 10px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes gcs-pcart-row-enter {
    from {
        opacity: 0;
        transform: translate3d(0, 14px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes gcs-pcart-pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 158, 122, 0.35);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(107, 158, 122, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(107, 158, 122, 0);
    }
}

@keyframes gcs-pcart-shimmer {
    0% {
        background-position: 120% 0;
    }
    100% {
        background-position: -20% 0;
    }
}

@keyframes gcs-pcart-banner-feat-shine {
    0% {
        transform: translate3d(-120%, 0, 0) skewX(-14deg);
        opacity: 0;
    }
    18% {
        opacity: 0.55;
    }
    100% {
        transform: translate3d(220%, 0, 0) skewX(-14deg);
        opacity: 0;
    }
}

@keyframes gcs-pcart-banner-feat-icon-pop {
    0% {
        transform: scale(1) rotate(0deg);
    }
    28% {
        transform: scale(1.14) rotate(-9deg);
    }
    52% {
        transform: scale(1.1) rotate(7deg);
    }
    76% {
        transform: scale(1.12) rotate(-3deg);
    }
    100% {
        transform: scale(1.11) rotate(0deg);
    }
}

@keyframes gcs-pcart-banner-feat-glow {
    0%,
    100% {
        box-shadow:
            0 18px 42px rgba(26, 43, 34, 0.12),
            0 6px 18px rgba(103, 136, 97, 0.18),
            0 0 0 1px rgba(103, 136, 97, 0.22);
    }
    50% {
        box-shadow:
            0 22px 48px rgba(26, 43, 34, 0.14),
            0 10px 28px rgba(103, 136, 97, 0.28),
            0 0 0 1px rgba(103, 136, 97, 0.38),
            0 0 28px rgba(103, 136, 97, 0.2);
    }
}

@keyframes gcs-pcart-toast-in {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
    }
}

@keyframes gcs-pcart-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes gcs-pcart-hero-shine {
    0% {
        background-position: 130% 0;
        opacity: 0.55;
    }
    100% {
        background-position: -30% 0;
        opacity: 0;
    }
}

@keyframes gcs-pcart-icon-nudge {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-3px);
    }
}

@keyframes gcs-pcart-free-ship-glow {
    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(107, 158, 122, 0);
    }
    50% {
        box-shadow: 0 0 20px 2px rgba(107, 158, 122, 0.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ------------------------------------------------------------------------- */
/* Section shell + Hero                                                       */
/* ------------------------------------------------------------------------- */

.gcs-pcart-section.section {
    position: relative;
}

/* Leerer Warenkorb: Section-Atmosphäre (unter Hero + Empty-Card) */
section.gcs-pcart-section--empty.section {
    isolation: isolate;
    background:
        radial-gradient(ellipse 140% 90% at 50% -25%, rgba(107, 158, 122, 0.14), transparent 58%),
        radial-gradient(ellipse 75% 55% at 96% 38%, rgba(77, 124, 90, 0.08), transparent 52%),
        radial-gradient(ellipse 70% 50% at 4% 88%, rgba(61, 99, 73, 0.06), transparent 50%);
}

/* Gefüllter Warenkorb: gleiche „Sprache“ wie Empty, aber dezentere Fläche */
section.gcs-pcart-section.section:not(.gcs-pcart-section--empty) {
    isolation: isolate;
    background:
        radial-gradient(ellipse 130% 85% at 48% -18%, rgba(107, 158, 122, 0.072), transparent 56%),
        radial-gradient(ellipse 72% 52% at 94% 42%, rgba(77, 124, 90, 0.045), transparent 50%),
        radial-gradient(ellipse 68% 48% at 6% 85%, rgba(61, 99, 73, 0.035), transparent 48%);
}

/* Voller Warenkorb (ohne Hero): neutral weiß — kein grüner Section-Verlauf */
body.woocommerce-cart section.gcs-pcart-section.section.gcs-pcart-section--filled-no-hero {
    background: #fff;
}

section.gcs-pcart-section--empty .woocommerce.gcs-pcart-page.gcs-pcart-page--empty {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    margin-top: 0;
}

section.gcs-pcart-section--empty .gcs-pcart-hero.card {
    flex-shrink: 0;
    min-height: clamp(200px, 32vw, 320px);
    box-shadow:
        var(--pcart-shadow-md),
        0 0 0 1px rgba(107, 158, 122, 0.1),
        0 28px 56px rgba(77, 124, 90, 0.07);
}

section.gcs-pcart-section--empty .gcs-pcart-hero.card.gcs-pcart-hero--has-banner {
    min-height: 0;
}

section.gcs-pcart-section--empty .gcs-pcart-hero.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 7%;
    right: 7%;
    height: 3px;
    border-radius: 0 0 8px 8px;
    background: linear-gradient(90deg, var(--pcart-brand), var(--pcart-brand-2), rgba(107, 158, 122, 0.65));
    z-index: 2;
    pointer-events: none;
}

section.gcs-pcart-section--empty .gcs-pcart-hero.card.gcs-pcart-hero--has-banner::before {
    display: none;
}

.gcs-pcart-hero--empty .gcs-pcart-hero__blob--a {
    opacity: 0.72;
}

.gcs-pcart-hero--empty .gcs-pcart-hero__blob--b {
    opacity: 0.46;
}

/* Leerer Warenkorb: Hero optisch ausgewogen (zentriert), damit Full-HD / Ultrawide nicht „abgeschnitten“ wirkt */
section.gcs-pcart-section--empty .gcs-pcart-hero__inner {
    text-align: center;
}

section.gcs-pcart-section--empty .gcs-pcart-hero__eyebrow,
section.gcs-pcart-section--empty .gcs-pcart-hero__title {
    margin-inline: auto;
}

section.gcs-pcart-section--empty .gcs-pcart-hero__eyebrow {
    display: inline-flex;
    padding-bottom: 0.42rem;
    border-bottom: 2px solid rgba(107, 158, 122, 0.32);
}

section.gcs-pcart-section--empty .gcs-pcart-hero__lead {
    margin-inline: auto;
    max-width: min(52ch, 100%);
}

section.gcs-pcart-section--empty .gcs-pcart-hero__crumbs-wrap {
    display: flex;
    justify-content: center;
}

section.gcs-pcart-section--empty .gcs-pcart-hero__crumbs-wrap .gcs-pcart-breadcrumb {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.15rem 0.35rem;
    text-align: center;
}

@media (min-width: 1280px) {
    section.gcs-pcart-section--empty .gcs-pcart-hero__inner {
        padding-left: clamp(1.65rem, 2.8vw, 2.85rem);
        padding-right: clamp(1.65rem, 2.8vw, 2.85rem);
    }
}

.gcs-pcart-shell {
    position: relative;
    width: 100%;
    max-width: min(var(--pcart-shell-max), 100%);
    margin-inline: auto;
    box-sizing: border-box;
}

/* Hero */
.gcs-pcart-hero.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--pcart-r-xl);
    border: 1px solid var(--pcart-border);
    background: var(--pcart-surface);
    box-shadow: var(--pcart-shadow-md);
    margin-bottom: var(--pcart-gap);
    transition:
        transform 0.48s var(--pcart-ease-out),
        box-shadow 0.48s var(--pcart-ease-out),
        border-color 0.32s ease;
}

.gcs-pcart-hero--has-banner .gcs-pcart-hero__blobs {
    visibility: hidden;
}

.gcs-pcart-hero__media {
    position: relative;
    z-index: 2;
    margin: 0;
    line-height: 0;
    overflow: hidden;
    border-radius: inherit;
    background: rgba(246, 249, 247, 0.55);
}

.gcs-pcart-hero__banner-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* Referenzbanner: Media clippt (Rundung von .gcs-pcart-hero__media / Hero geerbt) */
.gcs-pcart-hero--has-banner .gcs-pcart-hero__media {
    isolation: isolate;
    background: #e8f3e8;
    overflow: hidden;
}

.gcs-pcart-hero--has-banner .gcs-pcart-hero__banner-img {
    border-radius: inherit;
    /* Unterkante des Banners kürzen (Höhe siehe --pcart-hero-banner-trim-bottom am Hero). */
    margin-bottom: calc(-1 * var(--pcart-hero-banner-trim-bottom, 3cm));
}

.gcs-pcart-hero__banner-overlay {
    /* Tagline + USP-Icons: gleicher Grünton (#678861) */
    --pcart-banner-tagline: #678861;
    --pcart-banner-title: #1a2b22;
    --pcart-banner-muted: #5e7066;

    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: clamp(1.35rem, 4.2vw, 2.75rem) clamp(1.35rem, 4vw, 3.35rem)
        clamp(1.25rem, 3.5vw, 2.5rem);
    background: #e8f3e8;
    text-align: left;
    font-family: var(--gcs-font-pdp-montserrat, "Montserrat", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif);
    -webkit-font-smoothing: antialiased;
    overflow: visible;
}

/* Referenzbanner: gesamten Textblock vertikal mittig, gleicher Abstand oben/unten */
.gcs-pcart-hero--has-banner .gcs-pcart-hero__banner-overlay {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-block: clamp(1.3rem, 3.6vw, 2.65rem);
    padding-inline: clamp(1.35rem, 4vw, 3.35rem);
    box-sizing: border-box;
    min-height: 0;
}

/* Spezifischer als main.css `.card p { color: var(--muted) }`, sonst bleibt die Tagline grau. */
.gcs-pcart-hero.card .gcs-pcart-hero__banner-overlay .gcs-pcart-hero-banner__eyebrow {
    position: relative;
    margin: 0 0 clamp(0.45rem, 1.2vw, 0.62rem);
    font-size: clamp(0.7rem, 0.72rem + 0.28vw, 0.8rem);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--pcart-banner-tagline);
}

.gcs-pcart-hero-banner__title {
    margin: 0 0 clamp(0.75rem, 1.85vw, 1.05rem);
    font-size: clamp(2rem, 0.95rem + 4.85vw, 3.875rem);
    font-weight: 800;
    line-height: 1.025;
    letter-spacing: -0.035em;
    color: var(--pcart-banner-title);
}

.gcs-pcart-hero-banner__title-line {
    display: block;
}

.gcs-pcart-hero-banner__lead {
    margin: 0 0 clamp(1.2rem, 2.85vw, 2rem);
    font-size: clamp(0.95rem, 0.88rem + 0.42vw, 1.125rem);
    font-weight: 400;
    line-height: 1.48;
    color: var(--pcart-banner-muted);
    max-width: min(40ch, 100%);
}

.gcs-pcart-hero-banner__lead-line {
    display: block;
}

.gcs-pcart-hero-banner__features {
    list-style: none;
    margin: clamp(1.15rem, 2.5vw, 1.75rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.95rem, 2.1vw, 1.25rem);
    width: 100%;
    max-width: none;
    overflow: visible;
}

.gcs-pcart-hero-banner__features > .gcs-pcart-hero-banner__feat-slot {
    margin: 0;
    padding: 0;
    min-width: min-content;
}

.gcs-pcart-hero-banner__feat {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.38rem, 1.05vw, 0.52rem);
    margin: 0;
    text-align: left;
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
    width: 100%;
    min-width: min-content;
    border-radius: clamp(0.45rem, 1.1vw, 0.65rem);
    border: 1px solid transparent;
    padding: clamp(0.26rem, 0.75vw, 0.4rem) clamp(0.34rem, 0.9vw, 0.5rem);
    background-color: transparent;
    background-image: linear-gradient(145deg, rgba(103, 136, 97, 0) 0%, rgba(103, 136, 97, 0) 100%);
    overflow: visible;
    isolation: isolate;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform 0.42s cubic-bezier(0.34, 1.45, 0.42, 1),
        box-shadow 0.38s ease,
        border-color 0.32s ease,
        background-color 0.32s ease,
        background-image 0.38s ease;
}

.gcs-pcart-hero-banner__feat::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -30%;
    width: 55%;
    height: 180%;
    margin: 0;
    padding: 0;
    border: none;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 35%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0) 65%,
        transparent 100%
    );
    transform: translate3d(-130%, 0, 0) skewX(-14deg);
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.gcs-pcart-hero-banner__feat:visited {
    color: inherit;
}

.gcs-pcart-hero-banner__feat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    flex: 0 0 auto;
    width: clamp(24px, 3.15vw, 28px);
    height: clamp(24px, 3.15vw, 28px);
    flex-shrink: 0;
    color: var(--pcart-banner-tagline);
    position: relative;
    z-index: 1;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.26s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-hero-banner__feat:hover {
        transform: translate3d(0, -6px, 0) scale(1.02);
        background-color: rgba(103, 136, 97, 0.14);
        background-image: linear-gradient(
            155deg,
            rgba(103, 136, 97, 0.16) 0%,
            rgba(255, 255, 255, 0.22) 42%,
            rgba(103, 136, 97, 0.08) 100%
        );
        border-color: rgba(103, 136, 97, 0.42);
        animation: gcs-pcart-banner-feat-glow 1.8s ease-in-out infinite;
    }

    .gcs-pcart-hero-banner__feat:hover::before {
        animation: gcs-pcart-banner-feat-shine 0.85s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .gcs-pcart-hero-banner__feat:hover .gcs-pcart-hero-banner__feat-icon {
        animation: gcs-pcart-banner-feat-icon-pop 0.72s cubic-bezier(0.34, 1.45, 0.42, 1) both;
        filter: saturate(1.15) brightness(1.06) drop-shadow(0 3px 10px rgba(103, 136, 97, 0.35));
    }
}

.gcs-pcart-hero-banner__feat:focus {
    outline: none;
}

.gcs-pcart-hero-banner__feat:focus-visible {
    outline: none;
    transform: translateY(-2px);
    background-color: rgba(103, 136, 97, 0.08);
    border-color: rgba(103, 136, 97, 0.4);
    box-shadow:
        0 0 0 3px rgba(103, 136, 97, 0.28),
        0 12px 28px rgba(26, 43, 34, 0.08);
}

.gcs-pcart-hero-banner__feat:active {
    transform: translateY(-1px) scale(0.985);
    box-shadow:
        0 6px 16px rgba(26, 43, 34, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.45);
    transition-duration: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
    .gcs-pcart-hero-banner__feat,
    .gcs-pcart-hero-banner__feat-icon {
        transition-duration: 0.01ms !important;
        transition-delay: 0 !important;
    }

    .gcs-pcart-hero-banner__feat:hover {
        animation: none !important;
    }

    .gcs-pcart-hero-banner__feat:hover::before {
        animation: none !important;
    }

    .gcs-pcart-hero-banner__feat:hover,
    .gcs-pcart-hero-banner__feat:focus-visible,
    .gcs-pcart-hero-banner__feat:active {
        transform: none;
    }

    .gcs-pcart-hero-banner__feat:hover .gcs-pcart-hero-banner__feat-icon {
        animation: none !important;
        transform: none;
        filter: none;
    }
}

.gcs-pcart-hero-banner__feat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gcs-pcart-hero-banner__feat-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: center;
    gap: 0.08rem;
    min-width: min-content;
    flex: 1 1 auto;
    text-align: left;
}

.gcs-pcart-hero-banner__feat-title {
    display: block;
    font-size: clamp(0.6875rem, 0.645rem + 0.16vw, 0.75rem);
    font-weight: 700;
    line-height: 1.18;
    color: var(--pcart-banner-title);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

.gcs-pcart-hero-banner__feat-sub {
    font-size: clamp(0.625rem, 0.595rem + 0.12vw, 0.6875rem);
    font-weight: 400;
    line-height: 1.28;
    color: var(--pcart-banner-muted);
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
}

@media (min-width: 620px) {
    .gcs-pcart-hero-banner__features {
        grid-template-columns: repeat(3, minmax(min-content, 1fr));
        column-gap: clamp(0.72rem, 2vw, 1.65rem);
        row-gap: 0;
    }
}

@media (min-width: 720px) {
    .gcs-pcart-hero__banner-overlay {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        /* Breiter als 50/50: genug Platz für drei einzeilige Badges ohne Scroll/Clip */
        width: max-content;
        max-width: min(100%, 85%);
        min-width: min(100%, 52%);
        margin: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding-block: clamp(1.25rem, 4.2vw, 3.1rem);
        background: transparent;
        z-index: 3;
        padding-inline: clamp(1.75rem, 4.6vw, 4.25rem) clamp(1rem, 2.8vw, 2rem);
        box-sizing: border-box;
    }

    .gcs-pcart-hero-banner__lead {
        max-width: min(38ch, 94%);
    }
}

.gcs-pcart-hero.card.gcs-pcart-hero--has-banner {
    --pcart-hero-banner-trim-bottom: 3cm;
    --pcart-hero-banner-radius: clamp(22px, 3.5vw, 36px);
    border-radius: var(--pcart-hero-banner-radius);
    /* Abstand nach unten nur über .gcs-pcart-shell gap */
    margin-bottom: 0;
    background: #e8f3e8;
    border-color: rgba(61, 90, 72, 0.14);
    /* Rundung sichtbar: Bild + Overlay an den Ecken mit schneiden */
    overflow: hidden;
    box-shadow:
        0 16px 44px rgba(22, 42, 28, 0.055),
        0 4px 14px rgba(22, 42, 28, 0.04),
        0 0 0 1px rgba(61, 90, 72, 0.08);
}

.gcs-pcart-hero.card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        105deg,
        transparent 38%,
        rgba(255, 255, 255, 0.42) 48%,
        transparent 58%
    );
    background-size: 220% 100%;
    background-position: 120% 0;
    opacity: 0;
    mix-blend-mode: soft-light;
}

.gcs-pcart-hero__blobs {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.gcs-pcart-hero__blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(46px);
    opacity: 0.55;
    animation: gcs-pcart-hero-float 14s ease-in-out infinite alternate;
}

.gcs-pcart-hero__blob--a {
    width: min(58vw, 420px);
    height: min(58vw, 420px);
    top: -18%;
    left: -8%;
    background: radial-gradient(circle at 30% 30%, rgba(107, 158, 122, 0.45), transparent 62%);
}

.gcs-pcart-hero__blob--b {
    width: min(48vw, 360px);
    height: min(48vw, 360px);
    bottom: -24%;
    right: -12%;
    background: radial-gradient(circle at 70% 70%, rgba(77, 124, 90, 0.38), transparent 62%);
    animation-delay: -4s;
}

.gcs-pcart-hero--empty .gcs-pcart-hero__blob--b {
    opacity: 0.35;
}

.gcs-pcart-hero__inner {
    position: relative;
    z-index: 2;
    padding: clamp(1.45rem, 3.2vw, 2.65rem);
}

/* Desktop (≥1280px): Kennzahlen rechts neben Titelblock — klarere PC-Proportionen */
@media (min-width: 1280px) {
    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(14rem, 19.5rem);
        grid-template-areas:
            "eyebrow metrics"
            "title metrics"
            "lead metrics"
            "crumbs crumbs";
        column-gap: clamp(2rem, 3.5vw, 3.5rem);
        row-gap: 0.4rem;
        align-items: start;
        padding: clamp(1.65rem, 2.8vw, 2.85rem) clamp(1.45rem, 3vw, 2.85rem);
    }

    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__eyebrow {
        grid-area: eyebrow;
    }

    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__title {
        grid-area: title;
    }

    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__metrics {
        grid-area: metrics;
        margin: 0;
        align-self: center;
        justify-self: stretch;
        flex-direction: column;
        gap: 0.65rem;
        width: 100%;
        max-width: 19.5rem;
    }

    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__lead {
        grid-area: lead;
        margin-bottom: 0;
        max-width: 58ch;
    }

    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__crumbs-wrap {
        grid-area: crumbs;
        margin-top: 0.85rem;
    }

    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-metric {
        min-width: 0;
        width: 100%;
    }
}

.gcs-pcart-hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pcart-brand);
    margin: 0 0 0.5rem;
}

.gcs-pcart-hero__title {
    font-size: clamp(1.65rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0 0 0.65rem;
    color: var(--pcart-ink);
}

.gcs-pcart-hero__lead {
    max-width: 52ch;
    margin: 0 0 1rem;
    color: var(--pcart-ink-muted);
    line-height: 1.55;
}

.gcs-pcart-hero__crumbs-wrap .gcs-pcart-breadcrumb {
    margin: 0;
    font-size: 0.85rem;
    color: var(--pcart-ink-soft);
}

.gcs-pcart-breadcrumb .gcs-pcart-breadcrumb__sep {
    margin: 0 0.35rem;
    opacity: 0.45;
}

body.woocommerce-cart .gcs-pcart-breadcrumb a,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-breadcrumb a {
    color: var(--pcart-brand);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    transition:
        color 0.22s ease,
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

body.woocommerce-cart .gcs-pcart-breadcrumb a:hover,
body.woocommerce-cart .gcs-pcart-breadcrumb a:focus-visible,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-breadcrumb a:hover,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-breadcrumb a:focus-visible {
    color: var(--pcart-accent);
    border-bottom-color: rgba(47, 107, 74, 0.35);
}

.gcs-pcart-hero__metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin: 0.75rem 0 1rem;
}

@media (min-width: 1280px) {
    .gcs-pcart-hero.card:not(.gcs-pcart-hero--empty) .gcs-pcart-hero__metrics {
        margin: 0;
    }
}

.gcs-pcart-hero .gcs-pcart-metric {
    display: inline-flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: min(200px, 42vw);
    padding: 0.55rem 0.75rem;
    border-radius: var(--pcart-r-md);
    border: 1px solid var(--pcart-border);
    background: var(--pcart-surface-elevated);
    box-shadow: var(--pcart-shadow-sm);
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-hero.card:hover {
        transform: translateY(-2px);
        box-shadow: var(--pcart-shadow-hover);
        border-color: rgba(107, 158, 122, 0.24);
    }

    .gcs-pcart-hero.card:hover::after {
        animation: gcs-pcart-hero-shine 1.05s var(--pcart-ease-out) forwards;
    }
}

.gcs-pcart-hero .gcs-pcart-metric:hover {
    border-color: var(--pcart-border-strong);
    box-shadow: var(--pcart-shadow-md);
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-hero .gcs-pcart-metric:hover {
        transform: translateY(-2px) scale(1.01);
        border-color: rgba(107, 158, 122, 0.28);
        box-shadow: var(--pcart-shadow-glow-brand);
    }
}

.gcs-pcart-hero .gcs-pcart-metric__label {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pcart-ink-soft);
}

.gcs-pcart-hero .gcs-pcart-metric__value {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pcart-ink);
}

.gcs-pcart-hero .gcs-pcart-metric__value .woocommerce-Price-amount {
    font-weight: inherit;
}

/* ------------------------------------------------------------------------- */
/* Toolbar + Steps                                                         */
/* ------------------------------------------------------------------------- */

.gcs-pcart-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: var(--pcart-gap);
}

/* Gleiche horizontale Einrückung wie Artikel-/Sidebar-Karten — wirkt mit Shell zusammen „aus einem Guss“ */
body.woocommerce-cart .gcs-pcart-page > .gcs-pcart-toolbar,
.gcs-woo-cart.gcs-pcart-page > .gcs-pcart-toolbar {
    padding-inline: var(--pcart-panel-pad-x);
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    body.woocommerce-cart .gcs-pcart-page > .gcs-pcart-toolbar,
    .gcs-woo-cart.gcs-pcart-page > .gcs-pcart-toolbar {
        margin-bottom: clamp(1rem, 1.85vw, 1.75rem);
        padding-bottom: clamp(0.65rem, 1.3vw, 0.95rem);
        border-bottom: 1px solid var(--pcart-border);
    }

    /*
     * Gefüllter Warenkorb: kein zusätzlicher Margin unter der Toolbar — der Abstand zur
     * Kopfzeile kommt nur aus --gcs-pcart-kopf-band (.gcs-pcart-items__head) plus
     * Kompensation des Seiten-Grid-gaps (siehe .gcs-pcart margin-top).
     */
    body.woocommerce-cart .gcs-pcart-page--filled > .gcs-pcart-toolbar,
    .gcs-woo-cart.gcs-pcart-page--filled > .gcs-pcart-toolbar {
        margin-bottom: 0;
    }
}

/* Voller Warenkorb: Schritte 1–3 optisch horizontal mittig (Spalte links = Zurück, rechts = Ausgleich) */
body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-toolbar,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: 1rem;
    row-gap: 0.75rem;
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-toolbar > .gcs-pcart-toolbar__back,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-toolbar > .gcs-pcart-toolbar__back {
    justify-self: start;
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-toolbar > .gcs-pcart-steps,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-toolbar > .gcs-pcart-steps {
    grid-column: 2;
    justify-self: center;
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-toolbar > .gcs-pcart-steps:only-child,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-toolbar > .gcs-pcart-steps:only-child {
    grid-column: 1 / -1;
}

.gcs-pcart-toolbar__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--pcart-brand);
    text-decoration: none;
    padding: 0.45rem 0.65rem;
    border-radius: var(--pcart-r-md);
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.gcs-pcart-toolbar__back:hover,
.gcs-pcart-toolbar__back:focus-visible {
    background: rgba(77, 124, 90, 0.08);
    border-color: rgba(77, 124, 90, 0.18);
    color: var(--pcart-accent);
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-toolbar__back:hover .gcs-pcart-toolbar__back-icon,
    .gcs-pcart-toolbar__back:focus-visible .gcs-pcart-toolbar__back-icon {
        animation: gcs-pcart-icon-nudge 0.45s var(--pcart-ease-out);
    }
}

.gcs-pcart-toolbar__back-icon {
    flex-shrink: 0;
    transition: transform 0.28s var(--pcart-ease-out);
}

.gcs-pcart-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gcs-pcart-steps__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pcart-ink-soft);
    padding: 0.25rem 0.5rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        transform 0.28s var(--pcart-ease-out),
        border-color 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        box-shadow 0.28s ease;
}

.gcs-pcart-steps__item.is-active {
    color: var(--pcart-ink);
    border-color: var(--pcart-border);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: var(--pcart-shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-steps__item:not(.is-active):hover {
        transform: translateY(-2px);
        border-color: rgba(107, 158, 122, 0.22);
        background: rgba(255, 255, 255, 0.5);
        color: var(--pcart-brand);
        box-shadow: 0 4px 14px rgba(77, 124, 90, 0.08);
    }

    .gcs-pcart-steps__item.is-active:hover {
        transform: translateY(-1px);
        box-shadow:
            var(--pcart-shadow-sm),
            0 0 0 1px rgba(107, 158, 122, 0.12);
    }
}

.gcs-pcart-steps__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--pcart-brand), var(--pcart-brand-2));
    box-shadow: 0 2px 8px rgba(77, 124, 90, 0.28);
}

.gcs-pcart-steps__item:not(.is-active) .gcs-pcart-steps__dot {
    background: rgba(77, 124, 90, 0.2);
    color: var(--pcart-ink-muted);
    box-shadow: none;
}

/* ------------------------------------------------------------------------- */
/* Gratisversand-Meter                                                        */
/* ------------------------------------------------------------------------- */

.gcs-pcart-free-ship-root {
    margin-bottom: var(--pcart-gap);
}

body.woocommerce-cart .gcs-pcart-page > .gcs-pcart-free-ship-root,
.gcs-woo-cart.gcs-pcart-page > .gcs-pcart-free-ship-root {
    padding-inline: var(--pcart-panel-pad-x);
    box-sizing: border-box;
}

@media (min-width: 1024px) {
    body.woocommerce-cart .gcs-pcart-page > .gcs-pcart-free-ship-root,
    .gcs-woo-cart.gcs-pcart-page > .gcs-pcart-free-ship-root {
        margin-bottom: clamp(1.2rem, 2.1vw, 2rem);
    }

    body.woocommerce-cart .gcs-pcart-page--filled > .gcs-pcart-free-ship-root,
    .gcs-woo-cart.gcs-pcart-page--filled > .gcs-pcart-free-ship-root {
        margin-bottom: 0;
    }
}

.gcs-pcart-free-ship {
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--pcart-border);
    background: transparent;
    padding: clamp(0.65rem, 1.5vw, 0.95rem) 0;
    box-shadow: none;
    transition:
        border-color 0.28s ease,
        background 0.3s ease;
}

@media (min-width: 1024px) {
    .gcs-pcart-free-ship__track {
        height: 10px;
    }

    .gcs-pcart-free-ship__head {
        margin-bottom: 0.72rem;
    }
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-free-ship:hover {
        background: rgba(246, 249, 247, 0.55);
    }
}

.gcs-pcart-free-ship--complete {
    border-bottom-color: rgba(107, 158, 122, 0.28);
    background: rgba(107, 158, 122, 0.06);
}

@media (prefers-reduced-motion: no-preference) {
    .gcs-pcart-free-ship--complete {
        animation: gcs-pcart-free-ship-glow 2.8s ease-in-out 3;
    }
}

.gcs-pcart-free-ship__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.gcs-pcart-free-ship__text {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--pcart-ink);
}

.gcs-pcart-free-ship__text--success {
    color: var(--pcart-accent);
}

.gcs-pcart-free-ship__goal {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--pcart-ink-soft);
    padding: 0.2rem 0.5rem;
    border-radius: var(--pcart-r-sm);
    background: rgba(77, 124, 90, 0.08);
}

.gcs-pcart-free-ship__track {
    position: relative;
    height: 8px;
    border-radius: 999px;
    background: rgba(77, 124, 90, 0.1);
    overflow: hidden;
}

.gcs-pcart-free-ship__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        var(--pcart-brand) 0%,
        var(--pcart-brand-2) 45%,
        #7fb88a 100%
    );
    background-size: 160% 100%;
    transition:
        width 0.62s var(--pcart-ease-out),
        background-position 0.62s var(--pcart-ease-out),
        filter 0.35s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-free-ship:hover .gcs-pcart-free-ship__fill {
        background-position: 40% 0;
        filter: brightness(1.06) saturate(1.05);
    }
}

/* ------------------------------------------------------------------------- */
/* Layout: Main grid                                                          */
/* ------------------------------------------------------------------------- */

/* Mobile/Desktop: eine Spalte — ab lg (~1024px) zwei gleichzeitig gut lesbare Spalten (Klassiker-Checkout-Verhältnis) */
.gcs-pcart {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--pcart-gap);
    width: 100%;
    max-width: none;
    min-width: 0;
    justify-self: stretch;
    animation: gcs-pcart-reveal 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 1024px) {
    .gcs-pcart {
        display: grid;
        /*
         * Hauptbereich flexibel, Sidebar fest begrenzt (Lesbarkeit der Summe / Zahlarten).
         */
        grid-template-columns: minmax(0, 1fr) minmax(21rem, 25rem);
        align-items: start;
        gap: var(--pcart-gap);
    }

    /*
     * Ein Grid-Row-gap zwischen Toolbar/Gratisversand und .gcs-pcart würde den Kopfbereich
     * nach unten drücken; negativer Rand gleicht genau einen gap aus, damit die „Im Warenkorb“-Zeile
     * denselben vertikalen Abstand zur Toolbar-Linie und zur Kopf-Trennlinie hat (ohne Gratisversand).
     * Mit sichtbarem Gratisversand-Meter bleibt zusätzliche Höhe des Balkens — das ist beabsichtigt.
     */
    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart,
    .gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart {
        margin-top: calc(-1 * var(--pcart-gap));
    }

    .gcs-pcart__main {
        grid-column: 1 / 2;
    }

    .gcs-pcart__side {
        grid-column: 2 / 3;
    }
}

@media (min-width: 1440px) {
    .gcs-pcart {
        grid-template-columns: minmax(0, 1fr) minmax(23rem, 28rem);
        gap: clamp(1.65rem, 2vw, 3rem);
    }
}

@media (min-width: 1920px) {
    .gcs-pcart {
        grid-template-columns: minmax(0, 1fr) minmax(24rem, 30rem);
        gap: clamp(2rem, 2.4vw, 3.25rem);
    }
}

@media (min-width: 2200px) {
    .gcs-pcart {
        gap: clamp(2.25rem, 2.2vw, 3.5rem);
    }
}

@media (max-width: 1023px) {
    .gcs-pcart__main,
    .gcs-pcart__side {
        grid-column: auto;
    }
}

.gcs-pcart__main {
    position: relative;
    z-index: 2;
    min-width: 0;
    width: 100%;
    max-width: none;
}

.gcs-pcart__side {
    position: relative;
    z-index: 1;
    min-width: 0;
    width: 100%;
    max-width: none;
}

.gcs-pcart__side-sticky {
    position: sticky;
    /* Platz unterhalb des Theme-Sticky-Headers + etwas Luft */
    top: clamp(5rem, 4rem + 4vw, 7.75rem);
    z-index: 3;
    padding-bottom: 0.5rem;
}

body.admin-bar.woocommerce-cart .gcs-pcart__side-sticky {
    top: clamp(7.25rem, 6rem + 4vw, 10rem);
}

@media (max-width: 1023px) {
    .gcs-pcart__side-sticky {
        position: static;
        max-height: none;
        overflow-x: visible;
        overflow-y: visible;
        top: auto;
        padding-bottom: 0;
        overscroll-behavior: auto;
    }
}

/* Zweispalter-Desktop: keine max-height-Schachtel (sonst spätere Basis-Styles erzeugen immer eine Innenscrollbar). */
@media (min-width: 1024px) {
    .gcs-pcart__side-sticky {
        max-height: none;
        overflow-x: visible;
        overflow-y: visible;
        overscroll-behavior: auto;
        -webkit-overflow-scrolling: auto;
    }

    body.admin-bar.woocommerce-cart .gcs-pcart__side-sticky {
        max-height: none;
    }

    /* Spaltenbreite wirklich nutzen — kein zusätzlicher Schrumpfen / max-width-Vererben */
    .gcs-pcart__side,
    .gcs-pcart__side-sticky {
        width: 100%;
        max-width: none;
    }

    .gcs-pcart-card.gcs-pcart-summary {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}

/* Cards */
.gcs-pcart-card {
    border-radius: var(--pcart-r-xl);
    border: 1px solid var(--pcart-border);
    background: var(--pcart-surface);
    box-shadow: var(--pcart-shadow-md);
    transition:
        transform 0.22s var(--pcart-ease-out),
        box-shadow 0.22s var(--pcart-ease-out),
        border-color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-page .gcs-pcart-card:hover,
    .gcs-woo-cart.gcs-pcart-page .gcs-pcart-card:hover {
        transform: translateY(-2px);
        box-shadow: var(--pcart-shadow-hover);
        border-color: rgba(107, 158, 122, 0.2);
    }

    /* Sidebar: leichtes Lift ohne Rahmenlinie */
    body.woocommerce-cart .gcs-pcart-page .gcs-pcart-card.gcs-pcart-summary:hover,
    .gcs-woo-cart.gcs-pcart-page .gcs-pcart-card.gcs-pcart-summary:hover {
        transform: translateY(-1px);
        box-shadow:
            0 18px 42px rgba(22, 42, 28, 0.08),
            0 4px 14px rgba(22, 42, 28, 0.05);
    }
}

.gcs-pcart-card.gcs-pcart-summary {
    isolation: isolate;
    background: #fff;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* Hauptbereich links: maximal eine sichtbare Karten‑Hülle (.gcs-pcart-main-panel), Inhalt ohne weitere Kartennester */
.gcs-pcart-main-panel.gcs-pcart-card {
    overflow: hidden;
}

/* Voller Warenkorb: eine ebene Fläche — kein Verlauf, keine „Innenbox“ durch Zebra/Hover-Grün */
body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-main-panel.gcs-pcart-card {
    background: #fafdfb;
    box-shadow: none;
    border: none;
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-card.gcs-pcart-summary,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-card.gcs-pcart-summary {
    background: #fff;
    box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-main-panel.gcs-pcart-card:hover {
        transform: none;
        box-shadow: none;
        border: none;
    }

    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-card.gcs-pcart-summary:hover,
    .gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-card.gcs-pcart-summary:hover {
        transform: none;
        box-shadow: none;
    }
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-main-panel .gcs-pcart-collapsible__body {
    background: transparent;
    border-top-color: rgba(65, 95, 72, 0.08);
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-cart-payment-tile,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-cart-payment-tile {
    border: none;
    box-shadow: none;
    background: transparent;
}

/* Hinweis: Hover-Animation für die Zahlungskacheln wird in der Basis-Regel
   (gcs-cart-payment-tile) weiter unten definiert und gilt auch für --filled. */

.gcs-pcart-main-panel .gcs-pcart-extras {
    margin-top: 0;
    gap: 0;
    padding: 0;
    border-top: 1px solid var(--pcart-border);
}

.gcs-pcart-main-panel details.gcs-pcart-collapsible {
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.gcs-pcart-main-panel details.gcs-pcart-collapsible + details.gcs-pcart-collapsible {
    border-top: 1px solid var(--pcart-border);
}

.gcs-pcart-main-panel .gcs-pcart-collapsible__summary {
    padding-inline: var(--pcart-panel-pad-x);
}

.gcs-pcart-main-panel .gcs-pcart-collapsible__body {
    padding-inline: var(--pcart-panel-pad-x);
    padding-bottom: clamp(0.95rem, 2vw, 1.25rem);
    background: rgba(246, 249, 247, 0.45);
}

html.gcs-dark .gcs-pcart-main-panel .gcs-pcart-collapsible__body {
    background: rgba(0, 0, 0, 0.18);
}

.gcs-pcart-items {
    transition:
        box-shadow 0.3s ease,
        opacity 0.3s ease;
}

.gcs-pcart-items.is-gcs-pcart-syncing {
    opacity: 0.86;
    pointer-events: none;
    box-shadow: var(--pcart-shadow-lg);
    animation: gcs-pcart-pulse-ring 1.8s ease-out infinite;
}

.gcs-pcart-items__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: clamp(0.75rem, 2vw, 1rem);
    /* Gleicher Abstand zur Toolbar-Trennlinie (Desktop, siehe Layout) und zur unteren Kopflinie */
    padding-block: var(--gcs-pcart-kopf-band);
    padding-inline: var(--pcart-panel-pad-x);
    border-bottom: 1px solid var(--pcart-border);
}

.gcs-pcart-items__head-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1 1 auto;
    min-width: 0;
}

@keyframes gcs-pcart-head-icon-pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(107, 158, 122, 0.48);
    }
    58% {
        box-shadow: 0 0 0 16px rgba(107, 158, 122, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(107, 158, 122, 0);
    }
}

@keyframes gcs-pcart-head-icon-pulse-ring-dark {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 175, 126, 0.55);
    }
    58% {
        box-shadow: 0 0 0 16px rgba(110, 175, 126, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(110, 175, 126, 0);
    }
}

.gcs-pcart-items__head-icon {
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: clamp(3.35rem, 8vw, 4.35rem);
    height: clamp(3.35rem, 8vw, 4.35rem);
    color: #a8cdb2;
    line-height: 0;
    border-radius: 18px;
    border: 1px solid transparent;
    background: transparent;
    isolation: isolate;
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.35s ease,
        background 0.42s ease,
        border-color 0.42s ease,
        box-shadow 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Pulsierender Ring hinter der Kachel */
.gcs-pcart-items__head-icon::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    z-index: -1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gcs-pcart-items__head-icon::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gcs-pcart-items__head-icon svg {
    position: relative;
    z-index: 1;
    width: clamp(2.15rem, 5.2vw, 2.85rem);
    height: clamp(2.15rem, 5.2vw, 2.85rem);
    transition:
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        filter 0.4s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-items__head-icon:hover {
        color: var(--pcart-brand);
        transform: translateY(-6px);
        border-color: rgba(107, 158, 122, 0.28);
        background: linear-gradient(
            165deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(241, 248, 244, 0.72) 48%,
            rgba(232, 244, 236, 0.55) 100%
        );
        box-shadow:
            0 18px 36px -12px rgba(77, 124, 90, 0.28),
            0 8px 16px -8px rgba(22, 42, 28, 0.12),
            0 0 0 1px rgba(255, 255, 255, 0.65) inset;
    }

    .gcs-pcart-items__head-icon:hover::before {
        opacity: 1;
        animation: gcs-pcart-head-icon-pulse-ring 1.85s cubic-bezier(0.22, 1, 0.36, 1) infinite;
    }

    .gcs-pcart-items__head-icon:hover::after {
        opacity: 1;
    }

    .gcs-pcart-items__head-icon:hover svg {
        transform: scale(1.06);
        filter: drop-shadow(0 2px 8px rgba(77, 124, 90, 0.22));
    }
}

html.gcs-dark .gcs-pcart-items__head-icon {
    color: color-mix(in srgb, var(--pcart-brand-2) 72%, #ffffff 28%);
}

@media (hover: hover) and (pointer: fine) {
    html.gcs-dark .gcs-pcart-items__head-icon:hover {
        color: color-mix(in srgb, var(--pcart-brand-2) 92%, #ffffff 8%);
        border-color: rgba(110, 175, 126, 0.35);
        background: linear-gradient(
            165deg,
            rgba(48, 62, 54, 0.92) 0%,
            rgba(32, 44, 38, 0.78) 100%
        );
        box-shadow:
            0 20px 40px -14px rgba(0, 0, 0, 0.55),
            0 0 0 1px rgba(110, 175, 126, 0.2) inset;
    }

    html.gcs-dark .gcs-pcart-items__head-icon:hover::before {
        animation-name: gcs-pcart-head-icon-pulse-ring-dark;
    }

    html.gcs-dark .gcs-pcart-items__head-icon:hover::after {
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gcs-pcart-items__head-icon,
    .gcs-pcart-items__head-icon::before,
    .gcs-pcart-items__head-icon svg {
        transition-duration: 0.01ms;
    }

    @media (hover: hover) and (pointer: fine) {
        .gcs-pcart-items__head-icon:hover {
            transform: none;
        }

        .gcs-pcart-items__head-icon:hover::before {
            opacity: 1;
            animation: none;
            box-shadow: 0 0 0 3px rgba(107, 158, 122, 0.25);
        }

        html.gcs-dark .gcs-pcart-items__head-icon:hover::before {
            box-shadow: 0 0 0 3px rgba(110, 175, 126, 0.3);
        }

        .gcs-pcart-items__head-icon:hover svg {
            transform: none;
            filter: none;
        }
    }
}

.gcs-pcart-items__title {
    margin: 0;
    font-size: clamp(1.15rem, 2.4vw, 1.4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.gcs-pcart-items__subtitle {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    color: var(--pcart-ink-muted);
    max-width: 46ch;
    line-height: 1.45;
}

.gcs-pcart-items__sync {
    margin: 0;
    padding: 0.35rem var(--pcart-panel-pad-x);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--pcart-accent);
}

.gcs-pcart-items__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* Zeilen: nur Trennlinien in der Hauptfläche — kein zweiter Kartenrahmen pro Artikel */
.gcs-pcart-item {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.75rem 1.1rem;
    padding: clamp(1rem, 2.2vw, 1.25rem) var(--pcart-panel-pad-x);
    /* Zusatz rechts wie zuvor (Freiraum / optische Balance am Zeilenrand) */
    padding-inline-end: calc(var(--pcart-panel-pad-x) + 2.75rem);
    box-sizing: border-box;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--pcart-border);
    background: transparent;
    box-shadow: none;
    animation: gcs-pcart-row-enter 0.48s cubic-bezier(0.22, 1, 0.36, 1) backwards;
    transition:
        background 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.gcs-pcart-items__list .gcs-pcart-item:last-child {
    border-bottom: none;
}

.gcs-pcart-items__list .gcs-pcart-item:nth-child(even) {
    background: transparent;
}

.gcs-pcart-item__media {
    position: relative;
    flex: 0 0 clamp(5.75rem, 14vw, 7.25rem);
    width: clamp(5.75rem, 14vw, 7.25rem);
}

@media (min-width: 1440px) {
    .gcs-pcart-item__media {
        flex-basis: clamp(6rem, 9vw, 8rem);
        width: clamp(6rem, 9vw, 8rem);
    }
}

.gcs-pcart-item__body {
    flex: 1 1 min(62%, 40rem);
    min-width: 0;
}

.gcs-pcart-item__cell--price,
.gcs-pcart-item__cell--qty,
.gcs-pcart-item__cell--subtotal {
    flex: 1 1 6.5rem;
    min-width: min(100%, 5.5rem);
}

/* Desktop: Menge links, „Stückpreis“ + „Summe“ rechts (Summe unter Stückpreis, eine Spalte) */
@media (min-width: 641px) {
    .gcs-pcart-items__list .gcs-pcart-item {
        display: grid;
        grid-template-columns:
            clamp(5.75rem, 14vw, 7.25rem)
            minmax(0, 1fr)
            minmax(6.75rem, 8.75rem)
            minmax(5.5rem, 7.25rem);
        grid-template-rows: auto auto;
        column-gap: 1.1rem;
        row-gap: 0.35rem;
        align-items: start;
    }

    .gcs-pcart-items__list .gcs-pcart-item__media {
        grid-column: 1;
        grid-row: 1 / span 2;
        align-self: start;
    }

    .gcs-pcart-items__list .gcs-pcart-item__body {
        grid-column: 2;
        grid-row: 1 / span 2;
        align-self: start;
        min-width: 0;
    }

    .gcs-pcart-items__list .gcs-pcart-item__cell--qty {
        grid-column: 3;
        grid-row: 1 / span 2;
        align-self: center;
        justify-self: start;
    }

    .gcs-pcart-items__list .gcs-pcart-item__cell--price {
        grid-column: 4;
        grid-row: 1;
        justify-self: end;
        text-align: end;
    }

    .gcs-pcart-items__list .gcs-pcart-item__cell--subtotal {
        grid-column: 4;
        grid-row: 2;
        justify-self: end;
        text-align: end;
    }
}

@media (min-width: 1440px) {
    .gcs-pcart-items__list .gcs-pcart-item {
        grid-template-columns:
            clamp(6rem, 9vw, 8rem)
            minmax(0, 1fr)
            minmax(6.75rem, 9rem)
            minmax(5.5rem, 7.5rem);
    }
}

.gcs-pcart-items__list .gcs-pcart-item:nth-child(1) {
    animation-delay: 0.02s;
}
.gcs-pcart-items__list .gcs-pcart-item:nth-child(2) {
    animation-delay: 0.06s;
}
.gcs-pcart-items__list .gcs-pcart-item:nth-child(3) {
    animation-delay: 0.1s;
}
.gcs-pcart-items__list .gcs-pcart-item:nth-child(n + 4) {
    animation-delay: 0.14s;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-item:hover {
        background: rgba(28, 38, 31, 0.035);
    }

    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-item:hover {
        background:
            linear-gradient(
                105deg,
                rgba(77, 124, 90, 0.09) 0%,
                rgba(246, 249, 247, 0.72) 28%,
                rgba(250, 252, 251, 0.96) 100%
            );
        box-shadow:
            inset 4px 0 0 0 rgba(77, 124, 90, 0.55),
            0 10px 28px rgba(22, 42, 28, 0.05);
        transform: translateY(-1px);
    }

    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-item:hover .gcs-pcart-item__media-link {
        border-color: rgba(77, 124, 90, 0.28);
        box-shadow: 0 6px 18px rgba(77, 124, 90, 0.12);
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-item:hover,
    html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-item:hover {
        transform: none;
    }
}

.gcs-pcart-item--unavailable {
    opacity: 0.72;
}

.gcs-pcart-item__media-link {
    display: block;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(65, 95, 72, 0.1);
    background: #fff;
    aspect-ratio: 1;
    transition:
        border-color 0.3s ease,
        box-shadow 0.38s var(--pcart-ease-out),
        transform 0.38s var(--pcart-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-item:hover .gcs-pcart-item__media-link {
        border-color: rgba(107, 158, 122, 0.35);
        box-shadow: 0 4px 14px rgba(77, 124, 90, 0.1);
    }
}

body.woocommerce-cart .gcs-pcart-item__media img,
body.woocommerce-cart .gcs-pcart-item__media-link img,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    visibility: visible !important;
    opacity: 1 !important;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gcs-pcart-item:hover .gcs-pcart-item__media-link img {
    transform: scale(1.04);
}

.gcs-pcart-item__title-wrap {
    margin-bottom: 0.25rem;
}

.gcs-pcart-item__title {
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    color: var(--pcart-ink);
    overflow-wrap: anywhere;
    transition: color 0.22s ease;
}

/* Verlinkter Produktname: animierte Akzent-Linie + dezente Bewegung */
a.gcs-pcart-item__title {
    position: relative;
    display: inline-block;
    max-width: 100%;
    text-decoration: none;
    transition:
        color 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        text-shadow 0.32s ease;
}

a.gcs-pcart-item__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.12em;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(
        90deg,
        var(--pcart-brand),
        var(--pcart-brand-2),
        rgba(107, 158, 122, 0.35)
    );
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
    a.gcs-pcart-item__title:hover {
        color: var(--pcart-interactive-hover);
        transform: translateY(-1px);
        text-shadow: 0 8px 22px rgba(77, 124, 90, 0.12);
    }

    a.gcs-pcart-item__title:hover::after {
        transform: scaleX(1);
    }
}

.gcs-pcart-item__title:hover,
.gcs-pcart-item__title:focus-visible {
    color: var(--pcart-interactive-hover);
}

span.gcs-pcart-item__title {
    cursor: default;
}

.gcs-pcart-item__title:focus-visible {
    outline: none;
    border-radius: 6px;
    box-shadow: var(--pcart-focus-ring);
}

@media (hover: hover) and (pointer: fine) {
    a.gcs-pcart-item__title:focus-visible {
        transform: translateY(-1px);
    }

    a.gcs-pcart-item__title:focus-visible::after {
        transform: scaleX(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    a.gcs-pcart-item__title,
    a.gcs-pcart-item__title::after {
        transition-duration: 0.01ms;
    }

    a.gcs-pcart-item__title:hover,
    a.gcs-pcart-item__title:focus-visible {
        transform: none;
        text-shadow: none;
    }

    a.gcs-pcart-item__title:hover::after,
    a.gcs-pcart-item__title:focus-visible::after {
        transform: scaleX(1);
    }
}

.gcs-pcart-item__sku {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--pcart-ink-soft);
    margin-bottom: 0.35rem;
}

.gcs-pcart-item__sku strong {
    color: var(--pcart-ink-muted);
    font-weight: 600;
}

.gcs-pcart-item__variation {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--pcart-ink-muted);
    margin-bottom: 0.45rem;
}

.gcs-pcart-item__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.45rem 0;
}

.gcs-pcart-item__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    padding: 0.2rem 0.45rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.gcs-pcart-item__chip svg {
    flex-shrink: 0;
}

.gcs-pcart-item__chip--in-stock {
    color: var(--pcart-accent);
    background: rgba(47, 107, 74, 0.1);
    border: 1px solid rgba(47, 107, 74, 0.2);
}

.gcs-pcart-item__chip-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--pcart-brand-2);
    box-shadow: 0 0 0 3px rgba(107, 158, 122, 0.2);
}

.gcs-pcart-item__chip--backorder {
    color: #8a5a1c;
    background: rgba(212, 160, 54, 0.12);
    border: 1px solid rgba(212, 160, 54, 0.28);
}

.gcs-pcart-item__chip--out {
    color: #a12c2c;
    background: rgba(161, 44, 44, 0.08);
    border: 1px solid rgba(161, 44, 44, 0.2);
}

/* Sale/Spar: nur Rand + Schrift in festem dunklem Markengrün (--pcart-brand, kein Hellgrün) */
.gcs-pcart-item__chip--savings {
    color: var(--pcart-brand);
    background: transparent;
    border: 1px solid var(--pcart-brand);
    box-shadow: none;
    font-weight: 400;
    letter-spacing: normal;
}

.gcs-pcart-item__chip--savings svg {
    color: var(--pcart-brand);
}

.gcs-pcart-item__chip--savings .gcs-pcart-item__savings-amt,
.gcs-pcart-item__chip--savings .gcs-pcart-item__savings-amt .woocommerce-Price-amount,
.gcs-pcart-item__chip--savings .gcs-pcart-item__savings-amt .woocommerce-Price-amount bdi {
    color: var(--pcart-brand);
    font-weight: 400;
}

.gcs-pcart-item__chip--savings strong {
    font-weight: 400;
}

/* Stückpreis / Zeilensumme: Aktionspreis (ins) gleiches Akzent-Grün */
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__price ins,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__subtotal ins,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__price ins,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__subtotal ins {
    color: var(--pcart-accent);
    text-decoration: none;
}

body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__price ins .woocommerce-Price-amount,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__price ins .woocommerce-Price-amount bdi,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__subtotal ins .woocommerce-Price-amount,
body.woocommerce-cart .gcs-pcart-page .gcs-pcart-item__subtotal ins .woocommerce-Price-amount bdi,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__price ins .woocommerce-Price-amount,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__price ins .woocommerce-Price-amount bdi,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__subtotal ins .woocommerce-Price-amount,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-item__subtotal ins .woocommerce-Price-amount bdi {
    color: var(--pcart-accent);
}

.gcs-pcart-item__inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.35rem;
}

.gcs-pcart-item__act {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    padding: 0.28rem 0.5rem;
    border-radius: var(--pcart-r-sm);
    border: 1px solid transparent;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease;
}

.gcs-pcart-item__act--view {
    color: var(--pcart-brand);
    border-color: var(--pcart-border);
    background: rgba(255, 255, 255, 0.8);
}

.gcs-pcart-item__act--view:hover,
.gcs-pcart-item__act--view:focus-visible {
    border-color: var(--pcart-border-strong);
    color: var(--pcart-accent);
}

.gcs-pcart-item__act--view:focus-visible {
    outline: none;
    box-shadow: var(--pcart-focus-ring);
}

.gcs-pcart-item__act--remove {
    color: #9a2c32;
    border-color: rgba(154, 44, 50, 0.22);
    background: rgba(154, 44, 50, 0.06);
}

.gcs-pcart-item__act--remove:hover,
.gcs-pcart-item__act--remove:focus-visible {
    background: rgba(154, 44, 50, 0.12);
}

.gcs-pcart-item__act--remove:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(154, 44, 50, 0.22);
}

.gcs-pcart-item__cell {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.gcs-pcart-item__cell-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--pcart-ink-soft);
}

.gcs-pcart-item__price,
.gcs-pcart-item__subtotal {
    font-weight: 700;
    font-size: 0.95rem;
}

.gcs-pcart-item__remove-x {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: var(--pcart-r-sm);
    border: 1px solid var(--pcart-border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--pcart-ink-muted);
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.gcs-pcart-item__remove-x:hover,
.gcs-pcart-item__remove-x:focus-visible {
    color: #9a2c32;
    border-color: rgba(154, 44, 50, 0.35);
    transform: scale(1.05);
}

.gcs-pcart-item__remove-x:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(154, 44, 50, 0.2);
}

@media (max-width: 640px) {
    .gcs-pcart-item {
        padding-inline-end: clamp(2.5rem, 9vw, 2.85rem);
    }

    /* Nach Bild + Infos: zuerst Menge, dann Stückpreis, dann Summe */
    .gcs-pcart-item__cell--qty {
        order: 1;
    }

    .gcs-pcart-item__cell--price {
        order: 2;
    }

    .gcs-pcart-item__cell--subtotal {
        order: 3;
    }

    .gcs-pcart-item__cell--price,
    .gcs-pcart-item__cell--qty,
    .gcs-pcart-item__cell--subtotal {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 0.35rem;
        margin-top: 0.25rem;
        border-top: 1px dashed var(--pcart-border);
    }
}

/* Quantity + stepper */
.gcs-pcart-page .woocommerce-cart-form .quantity,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity {
    margin: 0;
}

.gcs-pcart-page .woocommerce-cart-form .quantity input.qty,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity input.qty {
    max-width: 4rem;
    padding: 0.45rem 0.35rem;
    text-align: center;
    font-weight: 700;
    border-radius: var(--pcart-r-sm);
    border: 1px solid var(--pcart-border);
    background: rgba(255, 255, 255, 0.95);
    -moz-appearance: textfield;
    appearance: textfield;
}

.gcs-pcart-page .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.gcs-pcart-page .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper {
    display: flex;
    align-items: center;
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__stepper,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__stepper {
    display: inline-flex;
    align-items: center;
    border-radius: var(--pcart-r-md);
    border: 1px solid var(--pcart-border);
    background: rgba(255, 255, 255, 0.95);
    overflow: hidden;
    box-shadow: var(--pcart-shadow-sm);
    transition:
        border-color 0.22s ease,
        box-shadow 0.22s ease;
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__stepper:has(input:focus-visible),
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__stepper:has(input:focus-visible) {
    border-color: rgba(77, 124, 90, 0.45);
    box-shadow: var(--pcart-focus-ring), var(--pcart-shadow-sm);
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper:hover .gcs-pcart-qty__stepper,
    .gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper:hover .gcs-pcart-qty__stepper {
        border-color: var(--pcart-stepper-hover-border);
        box-shadow: var(--pcart-shadow-md);
    }
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn {
    width: 2.15rem;
    height: 2.35rem;
    border: none;
    background: rgba(77, 124, 90, 0.06);
    color: var(--pcart-brand);
    font-size: 1.1rem;
    font-weight: 800;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.18s var(--pcart-ease-spring);
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:active:not(:disabled),
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:active:not(:disabled) {
    transform: scale(0.92);
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:hover,
.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:focus-visible,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:hover,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:focus-visible {
    background: rgba(77, 124, 90, 0.14);
    color: var(--pcart-interactive-hover);
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:focus-visible,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:focus-visible {
    outline: none;
    box-shadow: var(--pcart-focus-ring);
    z-index: 1;
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:disabled,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__stepper input.qty,
.gcs-woo-cart.gcs-pcart-page .woocommerce-cart-form .quantity.gcs-pcart-qty--stepper .gcs-pcart-qty__stepper input.qty {
    border: none;
    border-left: 1px solid var(--pcart-border);
    border-right: 1px solid var(--pcart-border);
    border-radius: 0;
    max-width: 3.25rem;
}

/* Footer update button */
.gcs-pcart-items__foot {
    padding: var(--pcart-panel-pad-y) var(--pcart-panel-pad-x);
    border-top: 1px solid var(--pcart-border);
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
}

.gcs-pcart-items__update {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border-radius: var(--pcart-r-md);
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--pcart-border);
    background: rgba(255, 255, 255, 0.85);
    transition:
        transform 0.28s var(--pcart-ease-out),
        border-color 0.25s ease,
        box-shadow 0.28s ease,
        background 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-items__update:hover,
    .gcs-pcart-items__update:focus-visible {
        transform: translateY(-1px);
        border-color: rgba(107, 158, 122, 0.32);
        box-shadow: var(--pcart-shadow-sm);
        background: rgba(246, 249, 247, 0.98);
    }
}

/* Extras: collapsibles (kein eigener Kartenrahmen — siehe .gcs-pcart-main-panel) */
.gcs-pcart-extras {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.gcs-pcart-collapsible summary {
    list-style: none;
}

.gcs-pcart-collapsible summary::-webkit-details-marker {
    display: none;
}

.gcs-pcart-collapsible__summary {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: clamp(0.95rem, 2vw, 1.2rem);
    cursor: pointer;
    user-select: none;
    border-radius: inherit;
    transition:
        background 0.3s ease,
        box-shadow 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-collapsible__summary:hover {
        background: rgba(77, 124, 90, 0.05);
    }

    details[open] > .gcs-pcart-collapsible__summary:hover {
        background: rgba(77, 124, 90, 0.07);
    }
}

.gcs-pcart-collapsible__icon {
    display: inline-flex;
    color: var(--pcart-brand);
    flex-shrink: 0;
}

.gcs-pcart-collapsible__title {
    flex: 1;
    min-width: 0;
}

.gcs-pcart-collapsible__title strong {
    display: block;
    font-size: 0.98rem;
}

.gcs-pcart-collapsible__title small {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: var(--pcart-ink-muted);
    font-weight: 500;
}

.gcs-pcart-collapsible__chev {
    transition: transform 0.25s ease;
    color: var(--pcart-ink-soft);
}

details[open] > .gcs-pcart-collapsible__summary .gcs-pcart-collapsible__chev {
    transform: rotate(180deg);
}

.gcs-pcart-collapsible__summary:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(107, 158, 122, 0.35);
    border-radius: var(--pcart-r-sm);
}

.gcs-pcart-collapsible__body {
    padding: 0 clamp(1rem, 2.2vw, 1.35rem) clamp(1rem, 2.2vw, 1.35rem);
    border-top: 1px solid var(--pcart-border);
}

.gcs-pcart-coupon__row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.gcs-pcart-coupon__input {
    flex: 1 1 200px;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    border-radius: var(--pcart-r-md);
    border: 2px solid var(--pcart-border-strong);
    font-weight: 400;
    transition:
        border-color 0.25s ease,
        box-shadow 0.28s ease,
        transform 0.28s var(--pcart-ease-out);
}

.gcs-pcart-coupon__input::placeholder {
    font-weight: 400;
    color: var(--pcart-ink-soft);
    opacity: 1;
}

.gcs-pcart-coupon__input::-webkit-input-placeholder {
    font-weight: 400;
    color: var(--pcart-ink-soft);
}

.gcs-pcart-coupon__input::-moz-placeholder {
    font-weight: 400;
    color: var(--pcart-ink-soft);
    opacity: 1;
}

.gcs-pcart-coupon__input:hover {
    border-color: rgba(107, 158, 122, 0.38);
}

.gcs-pcart-coupon__input:focus-visible {
    outline: none;
    border-color: rgba(77, 124, 90, 0.45);
    box-shadow: var(--pcart-focus-ring);
}

.gcs-pcart-coupon__btn {
    border-radius: var(--pcart-r-md);
    font-weight: 700;
}

body.woocommerce-cart .gcs-pcart-page .gcs-pcart-coupon__btn:focus-visible,
.gcs-woo-cart.gcs-pcart-page .gcs-pcart-coupon__btn:focus-visible {
    outline: none;
    box-shadow: var(--pcart-focus-ring);
}

.gcs-pcart-coupon__hint {
    margin: 0.65rem 0 0;
    font-size: 0.8rem;
    color: var(--pcart-ink-muted);
}

/* Gutschein: immer sichtbar, großzügige Eingabe (ersetzt ehemaliges Accordion) */
.gcs-pcart-coupon-prominent {
    margin: 0;
    padding: clamp(1.1rem, 2.6vw, 1.5rem) var(--pcart-panel-pad-x);
    border-bottom: 1px solid var(--pcart-border);
    box-sizing: border-box;
}

.gcs-pcart-coupon-prominent__title {
    margin: 0 0 0.4rem;
    font-size: clamp(1.02rem, 2.1vw, 1.2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--pcart-ink);
}

.gcs-pcart-coupon-prominent__lead {
    margin: 0 0 clamp(0.85rem, 2vw, 1.1rem);
    max-width: 52ch;
    font-size: 0.9rem;
    line-height: 1.45;
    color: var(--pcart-ink-muted);
}

.gcs-pcart-coupon__row--large {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    align-items: stretch;
}

@media (max-width: 520px) {
    .gcs-pcart-coupon__row--large {
        grid-template-columns: 1fr;
    }
}

.gcs-pcart-coupon__row--large .gcs-pcart-coupon__input {
    min-height: 3rem;
    padding: 0.7rem 1rem;
    font-size: 1rem;
}

.gcs-pcart-coupon__row--large .gcs-pcart-coupon__btn {
    min-height: 3rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.95rem;
    white-space: nowrap;
}

.gcs-pcart-notes__label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
    font-size: 0.88rem;
}

.gcs-pcart-notes__field {
    width: 100%;
    min-height: 5.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: var(--pcart-r-md);
    border: 1px solid var(--pcart-border);
    font-family: inherit;
    font-size: 0.92rem;
    resize: vertical;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.gcs-pcart-notes__field:focus {
    outline: none;
    border-color: rgba(77, 124, 90, 0.45);
    box-shadow: 0 0 0 3px rgba(107, 158, 122, 0.2);
}

.gcs-pcart-notes__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.45rem;
    font-size: 0.78rem;
    color: var(--pcart-ink-muted);
}

/* Summary column */
.gcs-pcart-summary__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    padding: var(--pcart-panel-pad-y) var(--pcart-panel-pad-x);
    border-bottom: none;
}

.gcs-pcart-summary__title {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 800;
}

.gcs-pcart-summary__pieces {
    text-align: right;
}

.gcs-pcart-summary__pieces-num {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.gcs-pcart-summary__pieces-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--pcart-ink-soft);
}

.gcs-pcart-summary__collateral {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-width: 0;
    padding: clamp(0.95rem, 2vw, 1.35rem) var(--pcart-panel-pad-x) var(--pcart-panel-pad-y);
}

/* PHP-Sidebar-Extras nutzen weiterhin gcs-cart-summary__* & gcs-cart-payment-* Klassennamen */
body.woocommerce-cart .gcs-pcart-page .gcs-cart-summary__extras {
    width: 100%;
    margin: 0;
    padding-top: 0.35rem;
    border-top: none;
    box-sizing: border-box;
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-summary__shipping-dynamic {
    margin: 0 0 0.65rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--pcart-ink-muted);
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges {
    margin: 0 0 0.65rem;
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__list,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__list--logos,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__list--logos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.38rem 0.32rem;
    width: 100%;
    align-items: stretch;
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item {
    margin: 0;
    padding: 0;
    min-width: 0;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-tile,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-tile {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 1.72rem;
    box-sizing: border-box;
    padding: 0.18rem 0.22rem;
    position: relative;
    overflow: hidden;
    line-height: 0;
    border-radius: 10px;
    background: transparent;
    border: none;
    box-shadow: 0 0 0 1px transparent inset;
    isolation: isolate;
    transition:
        transform 0.5s var(--pcart-ease-spring),
        background-color 0.32s ease,
        box-shadow 0.4s var(--pcart-ease-out);
}

/* Diagonaler Glanz-Sweep, der bei Hover über die Kachel zieht */
body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-tile::after,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-tile::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 55%;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.55) 45%,
        rgba(255, 255, 255, 0.85) 50%,
        rgba(255, 255, 255, 0.55) 55%,
        transparent 100%
    );
    transform: skewX(-18deg);
    opacity: 0;
    pointer-events: none;
    z-index: 2;
    transition: none;
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile,
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile {
        transform: translateY(-2px);
        background-color: rgba(28, 38, 31, 0.05);
        box-shadow:
            0 0 0 1px rgba(28, 38, 31, 0.1) inset,
            0 8px 20px rgba(22, 28, 26, 0.1),
            0 2px 6px rgba(15, 22, 18, 0.06);
    }

    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile::after,
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile::after,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile::after,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile::after {
        animation: gcs-cart-payment-shimmer 0.95s var(--pcart-ease-out) 0.05s 1;
    }

    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-logo,
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-logo,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-logo,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-logo {
        transform: scale(1.08);
        filter: contrast(1.05) brightness(1.04)
            drop-shadow(0 4px 10px rgba(22, 28, 26, 0.14));
    }
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-logo,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-logo {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 1.38rem;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: center;
    flex-shrink: 1;
    position: relative;
    z-index: 1;
    transition:
        filter 0.32s ease,
        transform 0.5s var(--pcart-ease-spring);
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-logo--klarna,
.gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-logo--klarna {
    max-height: 1.28rem;
}

@keyframes gcs-cart-payment-shimmer {
    0% {
        left: -60%;
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        left: 130%;
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-tile,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-tile {
        transition: background-color 0.2s ease;
    }

    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-tile::after,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-tile::after {
        transition: opacity 0.2s ease;
        animation: none !important;
    }

    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile,
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile {
        transform: none;
    }

    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-logo,
    body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-logo,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-logo,
    .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-logo {
        transform: none;
    }
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-summary__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

body.woocommerce-cart .gcs-pcart-page .gcs-cart-summary__trust-item {
    margin: 0;
    padding: 0;
    font-size: 0.79rem;
    line-height: 1.35;
    color: var(--pcart-ink-muted);
}

/* Sidebar: Positionsliste (Produkt + Brutto) + ausgeblendete WooCommerce-Zwischensumme */
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] tr.cart-subtotal,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] tr.cart-subtotal {
    display: none !important;
}

/* Überschrift über Positionen; Woo-h2 in .cart_totals ausblenden (Duplikat) */
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] .cart_totals > h2,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] .cart_totals > h2 {
    display: none !important;
}

body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] .gcs-cart-summary-totals-heading,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] .gcs-cart-summary-totals-heading {
    font-size: 0.95rem;
    margin: 0 0 0.65rem;
    font-weight: 800;
    line-height: 1.25;
}

body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] .gcs-cart-summary-product-lines,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] .gcs-cart-summary-product-lines {
    width: 100%;
    margin: 0 0 0.35rem;
    padding: 0;
    box-sizing: border-box;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table {
    margin: 0 0 0.5rem;
    width: 100%;
    max-width: 100%;
    border: none;
    font-size: 0.88rem;
    table-layout: auto;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table th,
body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table td,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table th,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table td {
    border-color: transparent;
    border-bottom: none;
    padding: 0.5rem 0;
    vertical-align: top;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table th,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table th {
    text-align: left;
    padding-right: 0.85rem;
    font-weight: 500;
    color: var(--pcart-ink-muted);
    word-break: break-word;
    overflow-wrap: anywhere;
    white-space: normal;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table td,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-product-lines__table td {
    text-align: right;
    padding-left: 0.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--pcart-ink);
    word-break: break-word;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-line-item__qty,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-line-item__qty {
    font-weight: 600;
    font-size: 0.82em;
    color: var(--pcart-ink-soft);
    white-space: nowrap;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-shipping-display th,
body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-shipping-display td,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-shipping-display th,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-shipping-display td {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
}

body.woocommerce-cart .gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-shipping-display__hint,
.gcs-woo-cart.gcs-pcart-page--filled [data-gcs-pcart-totals] .gcs-cart-summary-shipping-display__hint {
    font-weight: 500;
    font-size: 0.82em;
    color: var(--pcart-ink-soft);
}

body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-summary__collateral .cart_totals,
.gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-summary__collateral .cart_totals {
    margin: 0;
    width: 100%;
    float: none;
    border-radius: 0;
    border: none;
    border-top: none;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

body.woocommerce-cart .gcs-pcart-page .cart_totals h2,
.gcs-woo-cart.gcs-pcart-page .cart_totals h2 {
    font-size: 0.95rem;
    margin: 0 0 0.75rem;
    font-weight: 800;
}

body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table {
    margin: 0;
    width: 100%;
    max-width: 100%;
    border: none;
    font-size: 0.88rem;
    /* auto: Beschriftungen bleiben in einer Zeile (fixed + th 1% erzwang senkrechten Buchstaben-Umbruch) */
    table-layout: auto;
}

body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table td {
    border-color: transparent;
    border-bottom: none;
    padding: 0.58rem 0;
    vertical-align: top;
}

body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table td {
    word-break: break-word;
}

/* Beschriftungen normal lesbar in einer Zeile; Beträge rechtsbündig */
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table th {
    text-align: left;
    padding-right: 0.85rem;
    font-weight: 500;
    color: var(--pcart-ink-muted);
    word-break: normal;
    overflow-wrap: normal;
    white-space: normal;
}

body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table td {
    text-align: right;
    padding-left: 0.5rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--pcart-ink);
}

body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr:last-child th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr:last-child td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr:last-child th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr:last-child td {
    border-bottom: none;
}

/* Keine Doppellinie direkt über der Gesamtzeile */
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr:has(+ tr.order-total) th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr:has(+ tr.order-total) td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr:has(+ tr.order-total) th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr:has(+ tr.order-total) td {
    border-bottom: none;
}

body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total td {
    font-size: 1.05rem;
    font-weight: 800;
    border-top: none;
    padding-top: 0.85rem;
}

/*
 * Warenkorb-Sidebar (Summe): Versandoptionen & Rechner nur visuell ausblenden.
 * Kein Filter auf woocommerce_cart_ready_to_calc_shipping — der kann Header/Menü und die ganze Seite zerstören.
 * Versand wird weiter per gcs_package_rates_auto_select_single berechnet; Endbetrag steht in der Gesamtsumme.
 */
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] .woocommerce-shipping-destination,
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] tr.shipping,
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] tr.woocommerce-shipping-totals,
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] .woocommerce-shipping-calculator,
body.woocommerce-cart .gcs-pcart-page [data-gcs-pcart-totals] ul.woocommerce-shipping-methods,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] .woocommerce-shipping-destination,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] tr.shipping,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] tr.woocommerce-shipping-totals,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] .woocommerce-shipping-calculator,
.gcs-woo-cart.gcs-pcart-page [data-gcs-pcart-totals] ul.woocommerce-shipping-methods {
    display: none !important;
}

/* MwSt.-Zeilen (Kern-Template + Fallback .gcs-cart-vat-fallback) */
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-rate th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-rate td,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-total th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-total td,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.gcs-cart-vat-fallback th,
body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.gcs-cart-vat-fallback td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-rate th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-rate td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-total th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.tax-total td,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.gcs-cart-vat-fallback th,
.gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.gcs-cart-vat-fallback td {
    font-weight: 600;
    color: var(--pcart-ink-muted);
    font-size: 0.9rem;
}

body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout,
.gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout {
    padding: 0.65rem 0 0;
}

/*
 * „Sicher zur Kasse“: Premium-Warenkorb-Grün (--pcart-brand / --pcart-brand-2)
 */
body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button,
.gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button {
    width: 100%;
    justify-content: center;
    border-radius: var(--pcart-r-md);
    font-weight: 800;
    padding: 0.85rem 1rem;
    background: linear-gradient(135deg, var(--pcart-brand), var(--pcart-brand-2)) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(77, 124, 90, 0.28) !important;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.32s var(--pcart-ease-out),
        box-shadow 0.32s var(--pcart-ease-out),
        filter 0.28s ease !important;
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:hover,
    body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible,
    .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:hover,
    .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible {
        transform: translateY(-2px);
        box-shadow:
            0 16px 36px rgba(77, 124, 90, 0.38),
            0 0 0 1px rgba(255, 255, 255, 0.22) inset !important;
        filter: brightness(1.05);
    }

    body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:active,
    .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:active {
        transform: translateY(0) scale(0.99);
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
    body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:hover,
    body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible,
    body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:active,
    .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:hover,
    .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible,
    .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:active {
        transform: none;
    }
}

body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible,
.gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible {
    outline: none;
    box-shadow:
        0 12px 28px rgba(77, 124, 90, 0.34),
        0 0 0 2px rgba(255, 255, 255, 0.95),
        0 0 0 5px rgba(77, 124, 90, 0.45) !important;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible {
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.45),
        0 0 0 2px rgba(22, 30, 26, 0.94),
        0 0 0 5px rgba(110, 175, 126, 0.52) !important;
}

body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button::after,
.gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 45%,
        transparent 80%
    );
    background-size: 200% 100%;
    animation: gcs-pcart-shimmer 4.5s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:hover::after,
body.woocommerce-cart .gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible::after,
.gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:hover::after,
.gcs-woo-cart.gcs-pcart-page .wc-proceed-to-checkout .checkout-button:focus-visible::after {
    opacity: 1;
}

.gcs-pcart-summary__usps {
    display: grid;
    gap: 0.5rem;
    padding: var(--pcart-panel-pad-y) var(--pcart-panel-pad-x);
    border-top: none;
}

.gcs-pcart-summary__usp {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.82rem;
    color: var(--pcart-ink-muted);
    padding: 0.35rem 0;
    margin: 0;
    border-radius: 0;
    transition: color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-summary__usp:hover {
        background: transparent;
        transform: none;
        color: var(--pcart-ink);
    }
}

.gcs-pcart-summary__usp-icon {
    flex-shrink: 0;
    color: var(--pcart-brand);
    margin-top: 2px;
    transition:
        transform 0.38s var(--pcart-ease-spring),
        color 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-summary__usp:hover .gcs-pcart-summary__usp-icon {
        transform: scale(1.05);
        color: var(--pcart-accent);
    }

    body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-summary__usp:hover .gcs-pcart-summary__usp-icon,
    .gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-summary__usp:hover .gcs-pcart-summary__usp-icon {
        transform: none;
        color: var(--pcart-brand);
    }
}

/* Plugin collaterals */
.cart-collaterals.gcs-pcart-collateral-plugins {
    margin-top: var(--pcart-gap);
}

/* Mobile CTA */
.gcs-pcart-mobile-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 120;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem calc(0.65rem + env(safe-area-inset-bottom));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(246, 249, 247, 0.98));
    border-top: 1px solid var(--pcart-border);
    box-shadow: 0 -12px 40px rgba(22, 42, 28, 0.12);
    text-decoration: none;
    color: var(--pcart-ink);
    animation: gcs-pcart-toast-in 0.4s ease both;
    transition:
        box-shadow 0.35s var(--pcart-ease-out),
        background 0.35s ease,
        transform 0.25s ease;
}

.gcs-pcart-mobile-cta:active {
    transform: scale(0.99);
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-mobile-cta:hover,
    .gcs-pcart-mobile-cta:focus-visible {
        box-shadow:
            0 -16px 48px rgba(77, 124, 90, 0.18),
            0 -1px 0 rgba(107, 158, 122, 0.12);
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(241, 247, 244, 0.99));
    }
}

@media (max-width: 1023px) {
    .gcs-pcart-mobile-cta {
        display: flex;
    }

    /* Abstand unter dem untersten Inhalt zum fixierten Mobil-„Zur Kasse“ */
    body.woocommerce-cart .gcs-pcart-section.section {
        padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
    }
}

.gcs-pcart-mobile-cta__inner {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gcs-pcart-mobile-cta__label {
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
}

.gcs-pcart-mobile-cta__hint {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--pcart-ink-soft);
    line-height: 1.25;
}

.gcs-pcart-mobile-cta__total {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--pcart-accent);
}

.gcs-pcart-mobile-cta__arrow {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pcart-brand), var(--pcart-brand-2));
    color: #fff;
    box-shadow: 0 6px 18px rgba(77, 124, 90, 0.35);
    transition:
        transform 0.42s var(--pcart-ease-spring),
        box-shadow 0.32s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-mobile-cta:hover .gcs-pcart-mobile-cta__arrow,
    .gcs-pcart-mobile-cta:focus-visible .gcs-pcart-mobile-cta__arrow {
        transform: translateX(5px);
        box-shadow:
            0 8px 22px rgba(77, 124, 90, 0.42),
            0 0 0 2px rgba(255, 255, 255, 0.15) inset;
    }
}

/* Cross-sells — Sektion ohne zweite große „Karte“ */
.gcs-pcart-cross.has-cross-sells {
    margin-top: clamp(2rem, 5vw, 3rem);
    padding: clamp(1.25rem, 3vw, 2rem) 0 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--pcart-border);
    background: transparent;
    box-shadow: none;
    transition: border-color 0.28s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-cross.has-cross-sells:hover {
        border-top-color: rgba(107, 158, 122, 0.28);
    }
}

.gcs-pcart-cross__head {
    margin-bottom: 1rem;
}

.gcs-pcart-cross__title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.15rem, 2.4vw, 1.45rem);
    font-weight: 800;
}

.gcs-pcart-cross__subtitle {
    margin: 0;
    color: var(--pcart-ink-muted);
    font-size: 0.9rem;
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
    gap: 1rem 1.1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (min-width: 1440px) {
    body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products,
    .gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products {
        grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr));
        gap: 1.15rem 1.35rem;
    }
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none !important;
    transition:
        border-color 0.25s ease,
        background 0.25s ease;
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .woocommerce-loop-product__link,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .woocommerce-loop-product__link {
    display: block;
    text-decoration: none;
    color: inherit;
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product img,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--pcart-r-md);
    border: 1px solid var(--pcart-border);
    background: #fff;
    margin-bottom: 0.55rem;
    transition:
        border-color 0.28s ease,
        box-shadow 0.32s var(--pcart-ease-out),
        transform 0.32s var(--pcart-ease-out);
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product:hover img,
    .gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product:hover img {
        border-color: rgba(107, 158, 122, 0.35);
        box-shadow: 0 6px 18px rgba(77, 124, 90, 0.1);
        transform: translateY(-2px);
    }
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .woocommerce-loop-product__title,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.35rem;
    padding: 0;
    color: var(--pcart-ink);
    transition: color 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product:hover .woocommerce-loop-product__title,
    .gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product:hover .woocommerce-loop-product__title {
        color: var(--pcart-accent);
    }
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .price,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--pcart-brand);
    margin-bottom: 0.5rem;
}

body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .button,
.gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .button {
    width: 100%;
    margin-top: 0.15rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: var(--pcart-r-md);
    text-align: center;
    transition:
        transform 0.26s var(--pcart-ease-out),
        border-color 0.22s ease,
        box-shadow 0.26s ease,
        background 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
    body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .button:hover,
    .gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product .button:hover {
        transform: translateY(-1px);
    }
}

/* Trust band — gleiche Logik: nur Trennlinie, kein Kasten-in-Kasten */
.gcs-pcart-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(0.85rem, 1.8vw, 1.35rem);
    margin-top: clamp(2rem, 5vw, 3rem);
    padding: clamp(1.25rem, 3vw, 2rem) 0 0;
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--pcart-border);
    background: transparent;
    transition: border-color 0.28s ease;
}

@media (min-width: 640px) {
    .gcs-pcart-trust {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .gcs-pcart-trust {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(1rem, 2vw, 1.65rem);
    }
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-trust:hover {
        border-top-color: rgba(107, 158, 122, 0.28);
    }
}

@media (max-width: 520px) {
    .gcs-pcart-trust {
        grid-template-columns: 1fr;
    }
}

.gcs-pcart-trust__item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.55rem 0.6rem;
    margin: -0.55rem -0.6rem;
    border-radius: var(--pcart-r-md);
    transition:
        background 0.35s ease,
        transform 0.35s var(--pcart-ease-out),
        box-shadow 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gcs-pcart-trust__item:hover {
        background: rgba(77, 124, 90, 0.07);
        transform: translateY(-1px);
        box-shadow: none;
    }
}

.gcs-pcart-trust__icon {
    flex-shrink: 0;
    color: var(--pcart-brand);
}

.gcs-pcart-trust__title {
    display: block;
    font-size: 0.88rem;
    margin-bottom: 0.15rem;
}

.gcs-pcart-trust__text {
    font-size: 0.8rem;
    color: var(--pcart-ink-muted);
}

/* Toast undo */
.gcs-pcart-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%);
    z-index: 200;
    max-width: min(560px, calc(100% - 2rem));
    padding: 0.65rem 0.85rem;
    border-radius: var(--pcart-r-lg);
    border: 1px solid var(--pcart-border-strong);
    background: rgba(20, 32, 26, 0.92);
    color: #f4f7f5;
    font-size: 0.88rem;
    font-weight: 600;
    box-shadow: var(--pcart-shadow-lg);
    backdrop-filter: blur(10px);
}

.gcs-pcart-toast.is-visible {
    animation: gcs-pcart-toast-in 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (max-width: 1023px) {
    .gcs-pcart-toast {
        bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
    }
}

.gcs-pcart-toast__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
}

.gcs-pcart-toast__undo {
    margin-left: auto;
    padding: 0.35rem 0.65rem;
    border-radius: var(--pcart-r-sm);
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-weight: 800;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.gcs-pcart-toast__undo:hover,
.gcs-pcart-toast__undo:focus-visible {
    background: rgba(255, 255, 255, 0.22);
}

/* Notices */
body.woocommerce-cart .gcs-pcart-page .woocommerce-notices-wrapper:first-child {
    margin-bottom: 0.5rem;
}

body.woocommerce-cart .gcs-pcart-page .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .gcs-pcart-page .woocommerce-notices-wrapper .woocommerce-info:not(.woocommerce-notice--checkout),
body.woocommerce-cart .gcs-pcart-page > .woocommerce-message {
    border-radius: var(--pcart-r-md);
    border: 1px solid var(--pcart-border) !important;
    animation: gcs-pcart-row-enter 0.45s ease both;
}

@keyframes gcs-pcart-empty-cart-sway {
    0%,
    100% {
        transform: translateY(0) rotate(-2.5deg);
    }
    50% {
        transform: translateY(-5px) rotate(2.5deg);
    }
}

@keyframes gcs-pcart-empty-cart-dash {
    0%,
    100% {
        opacity: 0.35;
        stroke-dashoffset: 0;
    }
    50% {
        opacity: 0.75;
        stroke-dashoffset: -6px;
    }
}

/* Leerer Warenkorb: Schritte (an Kasse angelehnt) */
.gcs-pcart-empty__journey {
    margin: 0 0 clamp(1rem, 2.2vw, 1.45rem);
    padding-bottom: clamp(0.75rem, 1.8vw, 1.1rem);
    border-bottom: 1px solid color-mix(in srgb, var(--pcart-brand-2, #23985d) 16%, var(--pcart-border, rgba(65, 95, 72, 0.12)));
}

.gcs-pcart-empty-steps {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.35rem 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.gcs-pcart-empty-steps__item {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--pcart-ink-soft, rgba(28, 38, 31, 0.42));
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition:
        border-color 0.22s var(--pcart-ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
        background 0.22s var(--pcart-ease-out, cubic-bezier(0.22, 1, 0.36, 1)),
        color 0.22s var(--pcart-ease-out, cubic-bezier(0.22, 1, 0.36, 1));
}

.gcs-pcart-empty-steps__dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    background: color-mix(in srgb, #f3f5f8 88%, var(--pcart-brand-2, #23985d) 12%);
    border: 1px solid color-mix(in srgb, var(--pcart-brand-2, #23985d) 18%, transparent);
    color: var(--pcart-brand, #1c7a4a);
}

.gcs-pcart-empty-steps__item.is-active {
    color: #fff;
    background: linear-gradient(120deg, var(--pcart-brand, #1c7a4a), var(--pcart-brand-2, #23985d));
    border-color: color-mix(in srgb, var(--pcart-brand-2, #23985d) 35%, transparent);
    box-shadow: 0 6px 18px rgba(28, 122, 74, 0.2);
}

.gcs-pcart-empty-steps__item.is-active .gcs-pcart-empty-steps__dot {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

@media (prefers-reduced-motion: no-preference) {
    .gcs-pcart-empty-steps__item:not(.is-active):hover {
        border-color: color-mix(in srgb, var(--pcart-brand-2, #23985d) 22%, transparent);
        background: color-mix(in srgb, var(--pcart-brand-2, #23985d) 6%, transparent);
        color: var(--pcart-brand, #1c7a4a);
    }
}

.gcs-pcart-empty__journey-hint {
    margin: 0.55rem 0 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--pcart-ink-muted, rgba(28, 38, 31, 0.62));
    max-width: min(52ch, 100%);
}

section.gcs-pcart-section--empty .gcs-pcart-empty__journey-hint {
    margin-inline: auto;
    text-align: center;
}

@media (max-width: 520px) {
    .gcs-pcart-empty-steps__label {
        display: none;
    }

    .gcs-pcart-empty-steps__item.is-active .gcs-pcart-empty-steps__label {
        display: inline;
    }
}

/* Empty cart block (cart-empty.php) */
.gcs-pcart-empty.card {
    position: relative;
    overflow: hidden;
    border-radius: var(--pcart-r-xl);
    border: 1px solid var(--pcart-border);
    background: var(--pcart-surface);
    padding: clamp(1.65rem, 4.2vw, 2.85rem);
    box-shadow: var(--pcart-shadow-md);
}

/* Deckende Fläche: sonst scheint das Hero-Banner durch halbtransparentes --pcart-surface */
section.gcs-pcart-section--empty .gcs-pcart-empty.card {
    position: relative;
    z-index: 2;
    background-color: #fafdfb;
    background-image: linear-gradient(
        145deg,
        #ffffff 0%,
        #f1f7f3 50%,
        #ffffff 100%
    );
    isolation: isolate;
    padding-block: clamp(1.85rem, 4.5vw, 3rem);
    padding-inline: clamp(1.65rem, 4.2vw, 2.85rem);
}

section.gcs-pcart-section--empty .gcs-pcart-empty__intro {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

section.gcs-pcart-section--empty .gcs-pcart-empty__intro-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 1 auto;
    width: 100%;
    max-width: min(46ch, 100%);
    margin-inline: auto;
}

section.gcs-pcart-section--empty .gcs-pcart-empty__actions {
    justify-content: center;
}

.gcs-pcart-empty__intro {
    display: flex;
    flex-wrap: nowrap;
    gap: clamp(1rem, 3vw, 1.35rem);
    align-items: flex-start;
}

.gcs-pcart-empty__intro-copy {
    min-width: 0;
    flex: 1;
}

@media (min-width: 1280px) {
    .gcs-pcart-empty.card {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        row-gap: clamp(0.45rem, 1vw, 0.75rem);
        align-items: start;
        padding: clamp(2rem, 3.2vw, 3.25rem);
    }

    section.gcs-pcart-section--empty .gcs-pcart-empty.card {
        padding-block: clamp(2rem, 3.5vw, 3.35rem);
        padding-inline: clamp(2rem, 3.2vw, 3.25rem);
    }

    .gcs-pcart-empty__intro {
        display: grid;
        grid-template-columns: 6.75rem minmax(0, 1fr);
        column-gap: clamp(1.75rem, 3vw, 2.75rem);
        align-items: start;
    }

    section.gcs-pcart-section--empty .gcs-pcart-empty__intro {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        row-gap: clamp(1.15rem, 2.8vw, 1.65rem);
    }

    section.gcs-pcart-section--empty .gcs-pcart-empty__intro-copy {
        max-width: min(48ch, 100%);
    }

    .gcs-pcart-empty__icon {
        width: 6rem;
        height: 6rem;
        margin-bottom: 0;
    }

    .gcs-pcart-empty__title {
        margin-bottom: 0.45rem;
    }

    .gcs-pcart-empty__lead {
        margin-bottom: 0;
        max-width: min(62ch, 100%);
    }

    .gcs-pcart-empty__actions {
        margin-top: 0;
        margin-bottom: 1.1rem;
        gap: 0.75rem;
    }
}

@media (min-width: 1920px) {
    .gcs-pcart-empty__intro {
        column-gap: clamp(2rem, 3.2vw, 3.25rem);
    }
}

.gcs-pcart-empty__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(52px);
    opacity: 0.45;
    pointer-events: none;
}

.gcs-pcart-empty__glow--a {
    width: 320px;
    height: 320px;
    top: -30%;
    left: -10%;
    background: radial-gradient(circle, rgba(107, 158, 122, 0.45), transparent 65%);
}

.gcs-pcart-empty__glow--b {
    width: 280px;
    height: 280px;
    bottom: -35%;
    right: -15%;
    background: radial-gradient(circle, rgba(77, 124, 90, 0.38), transparent 65%);
}

.gcs-pcart-empty__icon {
    flex-shrink: 0;
    width: 4.75rem;
    height: 4.75rem;
    margin-bottom: 0;
    display: grid;
    place-items: center;
    color: var(--pcart-brand);
}

.gcs-pcart-empty__cart-svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

.gcs-pcart-empty__cart-anim {
    transform-origin: 50% 88%;
    animation: gcs-pcart-empty-cart-sway 2.75s ease-in-out infinite;
}

.gcs-pcart-empty__cart-dashed {
    opacity: 0.45;
    animation: gcs-pcart-empty-cart-dash 2.1s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .gcs-pcart-empty__cart-anim,
    .gcs-pcart-empty__cart-dashed {
        animation: none !important;
    }

    .gcs-pcart-empty__cart-dashed {
        opacity: 0.45;
    }
}

.gcs-pcart-empty__title {
    margin: 0 0 0.5rem;
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
}

.gcs-pcart-empty__lead {
    margin: 0 0 1rem;
    color: var(--pcart-ink-muted);
    max-width: min(52ch, 100%);
    line-height: 1.55;
}

.gcs-pcart-empty__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.1rem;
}

.gcs-pcart-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 2.75rem;
    padding: 0.65rem 1.1rem;
    /* Gleiche Abrundung wie Woo „Zum Sortiment“ (.woocommerce a.button → var(--radius) in main.css) */
    border-radius: var(--radius, var(--pcart-r-md));
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    transition:
        transform 0.32s var(--pcart-ease-out),
        box-shadow 0.32s ease,
        border-color 0.26s ease,
        background 0.28s ease,
        filter 0.26s ease;
}

/*
 * Primär-CTA: main.css setzt für .woocommerce .button einen hellen Hintergrund,
 * während hier color:#fff !important greift — ohne diese Overrides „weiß auf grau“.
 */
body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt,
body.woocommerce-cart .gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt,
.gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt,
.gcs-woo-cart.gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt {
    background: linear-gradient(135deg, var(--pcart-brand), var(--pcart-brand-2)) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 8px 22px rgba(77, 124, 90, 0.35);
    /* WC/Core: a.button ist oft display:inline-block (0,2,1) und gewinnt gegen .gcs-pcart-empty__btn (0,2,0) → ohne Flex stapelt sich Text + SVG */
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.gcs-pcart-empty__btn--primary {
    background: linear-gradient(135deg, var(--pcart-brand), var(--pcart-brand-2));
    color: #fff !important;
    border: none;
    box-shadow: 0 8px 22px rgba(77, 124, 90, 0.35);
    display: inline-flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    white-space: nowrap !important;
}

.gcs-pcart-empty__btn--primary .gcs-pcart-empty__btn-label {
    flex: 0 1 auto;
    min-width: 0;
    white-space: nowrap;
}

/* Touch / kein Fine-Hover: Pfeil immer sichtbar, Abstand wie .gcs-pcart-empty__btn gap */
.gcs-pcart-empty__btn--primary .gcs-pcart-empty__btn-arrow {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    display: block;
    align-self: center;
}

@media (prefers-reduced-motion: reduce) {
    .gcs-pcart-empty__btn--primary .gcs-pcart-empty__btn-arrow,
    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt .gcs-pcart-empty__btn-arrow,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt .gcs-pcart-empty__btn-arrow {
        transition: none !important;
    }
}

@media (hover: hover) and (pointer: fine) {
    /* Kompakt wie ohne Pfeil: kein Spalt zwischen Label und Pfeil-Slot */
    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt,
    body.woocommerce-cart .gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt,
    .gcs-woo-cart.gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt,
    .gcs-pcart-empty__btn--primary {
        gap: 0 !important;
        transition:
            transform 0.5s var(--pcart-ease-out),
            box-shadow 0.5s var(--pcart-ease-out),
            filter 0.45s var(--pcart-ease-out),
            background 0.35s ease,
            border-color 0.3s ease;
    }

    .gcs-pcart-empty__btn--primary:not(:hover):not(:focus-visible) .gcs-pcart-empty__btn-arrow,
    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:not(:hover):not(:focus-visible) .gcs-pcart-empty__btn-arrow,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:not(:hover):not(:focus-visible) .gcs-pcart-empty__btn-arrow {
        width: 0;
        flex: 0 0 0;
        min-width: 0;
        margin-inline-start: 0;
        opacity: 0;
        overflow: hidden;
        transform: translate3d(-4px, 0, 0);
        transition:
            width 0.52s var(--pcart-ease-out),
            margin-inline-start 0.52s var(--pcart-ease-out),
            opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1) 0.02s,
            transform 0.52s var(--pcart-ease-out);
    }

    .gcs-pcart-empty__btn--primary:hover .gcs-pcart-empty__btn-arrow,
    .gcs-pcart-empty__btn--primary:focus-visible .gcs-pcart-empty__btn-arrow,
    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:hover .gcs-pcart-empty__btn-arrow,
    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:focus-visible .gcs-pcart-empty__btn-arrow,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:hover .gcs-pcart-empty__btn-arrow,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:focus-visible .gcs-pcart-empty__btn-arrow {
        width: 18px;
        flex: 0 0 18px;
        margin-inline-start: 0.45rem;
        opacity: 1;
        overflow: visible;
        transform: translate3d(0, 0, 0);
        transition:
            width 0.52s var(--pcart-ease-out),
            margin-inline-start 0.52s var(--pcart-ease-out),
            opacity 0.42s cubic-bezier(0.33, 1, 0.68, 1) 0.1s,
            transform 0.52s var(--pcart-ease-out);
    }

    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:hover,
    body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:focus-visible,
    body.woocommerce-cart .gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt:hover,
    body.woocommerce-cart .gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt:focus-visible,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:hover,
    .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:focus-visible,
    .gcs-woo-cart.gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt:hover,
    .gcs-woo-cart.gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt:focus-visible,
    .gcs-pcart-empty__btn--primary:hover,
    .gcs-pcart-empty__btn--primary:focus-visible {
        transform: translateY(-2px);
        filter: brightness(1.06);
        box-shadow: 0 14px 32px rgba(77, 124, 90, 0.42);
    }

    .gcs-pcart-empty__btn--secondary:hover,
    .gcs-pcart-empty__btn--secondary:focus-visible {
        transform: translateY(-2px);
        border-color: rgba(35, 152, 93, 0.42);
        background: #fff;
        box-shadow:
            0 2px 6px rgba(22, 42, 28, 0.07),
            0 10px 26px rgba(77, 124, 90, 0.14);
    }

    html.gcs-dark .gcs-pcart-empty__btn--secondary:hover,
    html.gcs-dark .gcs-pcart-empty__btn--secondary:focus-visible {
        border-color: rgba(160, 190, 168, 0.5);
        background: rgba(34, 46, 38, 0.95);
        box-shadow:
            0 4px 12px rgba(0, 0, 0, 0.32),
            0 12px 28px rgba(0, 0, 0, 0.28);
    }
}

.gcs-pcart-empty__btn--secondary {
    border: 1px solid rgba(65, 95, 72, 0.22);
    color: var(--pcart-ink);
    background: #fff;
    box-shadow:
        0 1px 2px rgba(22, 42, 28, 0.06),
        0 6px 20px rgba(77, 124, 90, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.98);
}

html.gcs-dark .gcs-pcart-empty__btn--secondary {
    background: rgba(28, 38, 32, 0.88);
    border-color: rgba(140, 170, 150, 0.38);
    color: rgba(244, 248, 246, 0.96);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.28),
        0 8px 22px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* JS hook */
html.gcs-pcart-js-ready body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart {
    animation: none;
}

body.gcs-pcart-ajax .gcs-pcart-page .woocommerce-cart-form button[name="update_cart"] {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/*
 * „Schmale Spalte“: typische Ursachen
 * - page.php + .page-content--prose (max-width: 65ch aus main.css)
 * - äußeres .woocommerce ohne .gcs-pcart-page → WC-Float/%-Breiten gewinnen
 */
body.woocommerce-cart .page-content.page-content--wc-plain,
body.woocommerce-cart .page-content--wc-plain {
    max-width: none !important;
    width: 100% !important;
    margin-inline: 0 !important;
    box-sizing: border-box;
}

body.woocommerce-cart main#content > .section,
body.woocommerce-cart main#content .gcs-pcart-section.section,
body.woocommerce-cart main#content .gcs-pcart-shell.container,
body.woocommerce-cart main#content .woocommerce.gcs-pcart-page.gcs-woo-cart,
body.woocommerce-cart main#content .gcs-pcart {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart main#content .woocommerce:not(.gcs-pcart-page) {
    display: flow-root !important;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart main#content .woocommerce:not(.gcs-pcart-page) .woocommerce-cart-form,
body.woocommerce-cart main#content .woocommerce:not(.gcs-pcart-page) form.woocommerce-cart-form,
body.woocommerce-cart main#content .woocommerce:not(.gcs-pcart-page) .cart-collaterals,
body.woocommerce-cart .woocommerce:not(.gcs-pcart-page) .woocommerce-cart-form,
body.woocommerce-cart .woocommerce:not(.gcs-pcart-page) form.woocommerce-cart-form,
body.woocommerce-cart .woocommerce:not(.gcs-pcart-page) .cart-collaterals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    clear: both !important;
    box-sizing: border-box !important;
}

body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .woocommerce-page .woocommerce,
body.woocommerce-cart .wc-block-cart__main,
body.woocommerce-cart .wc-block-cart__sidebar {
    max-width: none !important;
    box-sizing: border-box !important;
}

/* Dark mode */
html.gcs-dark body.woocommerce-cart .gcs-pcart-page,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page {
    --pcart-ink: #e8f0ea;
    --pcart-ink-muted: rgba(232, 240, 234, 0.72);
    --pcart-ink-soft: rgba(232, 240, 234, 0.52);

    /* Auf dunklem Panel: kräftiges Grün, weniger neongrün als --pcart-accent */
    --pcart-interactive-hover: #6ecf96;
    --pcart-stepper-hover-border: rgba(110, 175, 126, 0.42);

    --pcart-border: rgba(140, 170, 150, 0.18);
    --pcart-border-strong: rgba(140, 170, 150, 0.28);

    --pcart-surface: linear-gradient(145deg, rgba(28, 38, 32, 0.96), rgba(22, 30, 26, 0.94));
    --pcart-surface-elevated: rgba(36, 48, 42, 0.72);
    --pcart-surface-sidebar: linear-gradient(155deg, rgba(32, 44, 38, 0.98) 0%, rgba(22, 30, 26, 0.95) 100%);

    --pcart-focus-ring: 0 0 0 3px rgba(110, 175, 126, 0.38);

    --pcart-shadow-md: 0 14px 34px rgba(0, 0, 0, 0.35);
}

html.gcs-dark body.woocommerce-cart {
    --pcart-shadow-hover:
        0 24px 56px rgba(0, 0, 0, 0.5),
        0 10px 28px rgba(0, 0, 0, 0.28),
        0 0 0 1px rgba(140, 170, 150, 0.2);
    --pcart-shadow-glow-brand:
        0 0 0 1px rgba(110, 175, 126, 0.28),
        0 14px 40px rgba(0, 0, 0, 0.38);
}

html.gcs-dark .gcs-pcart-hero.card,
html.gcs-dark .gcs-pcart-card {
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.4);
}

html.gcs-dark section.gcs-pcart-section--empty.section {
    background:
        radial-gradient(ellipse 140% 90% at 50% -25%, rgba(110, 175, 126, 0.14), transparent 58%),
        radial-gradient(ellipse 75% 55% at 96% 38%, rgba(77, 124, 90, 0.1), transparent 52%),
        radial-gradient(ellipse 70% 50% at 4% 88%, rgba(61, 99, 73, 0.08), transparent 50%);
}

html.gcs-dark section.gcs-pcart-section.section:not(.gcs-pcart-section--empty) {
    background:
        radial-gradient(ellipse 130% 85% at 48% -18%, rgba(110, 175, 126, 0.09), transparent 56%),
        radial-gradient(ellipse 72% 52% at 94% 42%, rgba(77, 124, 90, 0.055), transparent 50%),
        radial-gradient(ellipse 68% 48% at 6% 85%, rgba(61, 99, 73, 0.045), transparent 48%);
}

html.gcs-dark body.woocommerce-cart section.gcs-pcart-section.section.gcs-pcart-section--filled-no-hero {
    background: var(--bg);
    background-image: none;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-pcart-card.gcs-pcart-summary,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-pcart-card.gcs-pcart-summary {
    background: #1a221e;
    box-shadow: none;
    border: none;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-main-panel.gcs-pcart-card {
    background: #1a221e;
    box-shadow: none;
    border: none;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-card.gcs-pcart-summary,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page--filled .gcs-pcart-card.gcs-pcart-summary {
    background: #1a221e;
    box-shadow: none;
}

html.gcs-dark .gcs-pcart-collapsible__summary:focus-visible {
    box-shadow: inset 0 0 0 2px rgba(110, 175, 126, 0.42);
}

html.gcs-dark section.gcs-pcart-section--empty .gcs-pcart-hero.card {
    box-shadow:
        var(--pcart-shadow-md),
        0 0 0 1px rgba(140, 170, 150, 0.14),
        0 28px 56px rgba(0, 0, 0, 0.35);
}

html.gcs-dark section.gcs-pcart-section--empty .gcs-pcart-empty.card {
    background-color: #1a221e;
    background-image: linear-gradient(
        145deg,
        #1e2822 0%,
        #161f1a 52%,
        #1e2822 100%
    );
}

html.gcs-dark .gcs-pcart-empty__journey {
    border-bottom-color: rgba(140, 170, 150, 0.28);
}

html.gcs-dark .gcs-pcart-empty-steps__item:not(.is-active) {
    color: rgba(220, 232, 224, 0.45);
}

html.gcs-dark .gcs-pcart-empty-steps__dot {
    background: rgba(30, 40, 34, 0.9);
    border-color: rgba(110, 175, 126, 0.35);
    color: rgba(180, 220, 195, 0.95);
}

html.gcs-dark .gcs-pcart-empty__journey-hint {
    color: rgba(200, 215, 206, 0.72);
}

html.gcs-dark .gcs-pcart-hero__media {
    background: rgba(22, 30, 26, 0.5);
}

html.gcs-dark section.gcs-pcart-section--empty .gcs-pcart-hero__eyebrow {
    border-bottom-color: rgba(140, 170, 150, 0.35);
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt,
html.gcs-dark body.woocommerce-cart .gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page.woocommerce .gcs-pcart-empty__btn--primary.button.alt {
    background: linear-gradient(135deg, #4f8364, #6aab7e) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.42);
}

@media (hover: hover) and (pointer: fine) {
    html.gcs-dark body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:hover,
    html.gcs-dark body.woocommerce-cart .gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:focus-visible,
    html.gcs-dark .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:hover,
    html.gcs-dark .gcs-woo-cart.gcs-pcart-page.woocommerce a.gcs-pcart-empty__btn--primary.button.alt:focus-visible {
        filter: brightness(1.08);
        box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
    }
}

html.gcs-dark .gcs-pcart-free-ship {
    box-shadow: none !important;
    border-radius: 0;
}

html.gcs-dark .gcs-pcart-free-ship--complete {
    background: rgba(110, 175, 126, 0.12);
}

html.gcs-dark .gcs-pcart-free-ship__fill {
    background: var(--gcs-brand-gradient, linear-gradient(120deg, #1c7a4a 0%, #23985d 46%, #7ce17a 100%));
    background-size: var(--gcs-brand-gradient-size, 180% 180%);
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total th,
html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total td,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total th,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page--filled .cart_totals table.shop_table tr.order-total td {
    border-top: none;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page .woocommerce-notices-wrapper .woocommerce-message,
html.gcs-dark body.woocommerce-cart .gcs-pcart-page > .woocommerce-message {
    background: rgba(40, 54, 46, 0.95);
    color: var(--pcart-ink);
}

html.gcs-dark .gcs-pcart-items__list .gcs-pcart-item:nth-child(even) {
    background: transparent;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product img,
html.gcs-dark .gcs-woo-cart .gcs-pcart-cross.has-cross-sells .cross-sells ul.products li.product img {
    background: rgba(255, 255, 255, 0.06);
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-tile,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-tile {
    background: transparent;
    border: none;
    box-shadow: 0 0 0 1px transparent inset;
}

html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-tile::after,
html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-tile::after {
    background: linear-gradient(
        110deg,
        transparent 0%,
        rgba(255, 255, 255, 0.18) 45%,
        rgba(255, 255, 255, 0.32) 50%,
        rgba(255, 255, 255, 0.18) 55%,
        transparent 100%
    );
}

@media (hover: hover) and (pointer: fine) {
    html.gcs-dark .gcs-pcart-item:hover {
        background: rgba(255, 255, 255, 0.06);
    }

    html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-item:hover {
        background:
            linear-gradient(
                105deg,
                rgba(110, 175, 126, 0.12) 0%,
                rgba(28, 38, 32, 0.65) 32%,
                rgba(22, 30, 26, 0.85) 100%
            );
        box-shadow:
            inset 4px 0 0 0 rgba(110, 175, 126, 0.65),
            0 12px 32px rgba(0, 0, 0, 0.22);
        transform: translateY(-1px);
    }

    html.gcs-dark body.woocommerce-cart .gcs-pcart-page--filled .gcs-pcart-item:hover .gcs-pcart-item__media-link {
        border-color: rgba(140, 170, 150, 0.35);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    }

    html.gcs-dark .gcs-pcart-free-ship:hover {
        background: rgba(140, 170, 150, 0.1);
    }

    html.gcs-dark .gcs-pcart-trust__item:hover {
        background: rgba(140, 170, 150, 0.1);
    }

    html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile,
    html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile,
    html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-tile,
    html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-tile {
        background-color: rgba(255, 255, 255, 0.06);
        box-shadow:
            0 0 0 1px rgba(232, 240, 234, 0.14) inset,
            0 10px 26px rgba(0, 0, 0, 0.45),
            0 2px 8px rgba(0, 0, 0, 0.3);
    }

    html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-logo,
    html.gcs-dark body.woocommerce-cart .gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-logo,
    html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:hover .gcs-cart-payment-logo,
    html.gcs-dark .gcs-woo-cart.gcs-pcart-page .gcs-cart-payment-badges__item:focus-within .gcs-cart-payment-logo {
        filter: contrast(1.05) brightness(1.06)
            drop-shadow(0 4px 12px rgba(0, 0, 0, 0.42));
    }
}
