/* ============================================================
   Shisha Shop Altona — Custom CSS v6 (Smarty-Template-Support)
   21.05.2026
   Styles für NOVAChild Smarty-Template-Override (Hero + BrandStrip + Heritage)
   ============================================================ */

/* ====================================================================
   PREMIUM HERO — Override the Nivo-Slider on Startseite
   ==================================================================== */

.ssa-premium-hero {
    position: relative;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    min-height: clamp(440px, 62vw, 760px);
    height: clamp(440px, 62vw, 760px);
    background: var(--ssa-dark);
    overflow: hidden;
    display: block;
    /* Hide the default Nivo-Slider when this hero is active */
}

/* --------------------------------------------------------------------
   OPC opc_before_main Cleanup
   --------------------------------------------------------------------
   Wenn NOVAChild aktiv ist und das Hero gerendert wird, setzt der
   Inline-Script in header.tpl `html.ssa-has-premium-hero`. Diese Klasse
   verstecken wir den OPC-Content (NivoSlider + opc-Gallery), der via
   opc_before_main vor dem Hero im DOM steht. 18+-Modal bleibt sichtbar.
   -------------------------------------------------------------------- */

/* NivoSlider-Wrapper-Konstrukt (background-color-div > .theme-default > .nivoSlider) */
html.ssa-has-premium-hero #main-wrapper > div:has(> .theme-default > .nivoSlider),
html.ssa-has-premium-hero #main-wrapper > div:has(> .nivoSlider) {
    display: none !important;
}

/* opc-Gallery in container-fluid direkt unter #main-wrapper */
html.ssa-has-premium-hero #main-wrapper > .container-fluid:has(.opc-Gallery),
html.ssa-has-premium-hero #main-wrapper > div:has(> .opc-Gallery) {
    display: none !important;
}

/* Safety-Net: alle direkten main-wrapper-Kinder VOR der Hero verstecken,
   ausser 18+-Modal/Hinweisfenster-Layer und Style/Script-Tags */
html.ssa-has-premium-hero #main-wrapper > div:not([id*="popup"]):not([class*="modal"]):not(.ssa-premium-hero):has(~ .ssa-premium-hero) {
    display: none !important;
}

.ssa-premium-hero-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    display: flex;
    align-items: center;
    padding: 2rem clamp(1.5rem, 6vw, 5rem);
    text-decoration: none;
    color: white;
    cursor: pointer;
}

.ssa-premium-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image: url('/bilder/intern/banners/hero1_premium_shishas.png');
    background-size: cover;
    background-position: 75% center;
    background-repeat: no-repeat;
    filter: brightness(0.95) saturate(1.05);
}

@media (max-width: 768px) {
    .ssa-premium-hero-bg {
        background-position: center center;
    }
}

.ssa-premium-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(ellipse 50% 40% at 80% 90%, oklch(0.55 0.21 25 / 0.32), transparent 70%),
        linear-gradient(95deg, rgba(15,17,22,0.94) 0%, rgba(15,17,22,0.78) 35%, rgba(15,17,22,0.25) 62%, rgba(15,17,22,0) 100%);
    pointer-events: none;
}

@media (max-width: 640px) {
    .ssa-premium-hero-overlay {
        background:
            radial-gradient(ellipse 50% 40% at 80% 90%, oklch(0.55 0.21 25 / 0.32), transparent 70%),
            linear-gradient(180deg, rgba(15,17,22,0.6) 0%, rgba(15,17,22,0.2) 35%, rgba(15,17,22,0.95) 95%);
    }
}

.ssa-premium-hero-content {
    position: relative;
    z-index: 3;
    max-width: 720px;
}

.ssa-premium-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 500;
    color: oklch(0.75 0.16 25);
}

.ssa-premium-eyebrow-line {
    display: inline-block;
    width: 32px;
    height: 1px;
    background: var(--ssa-accent);
}

.ssa-premium-headline {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 8vw, 6.5rem);
    line-height: 0.92;
    letter-spacing: -0.03em;
    color: white;
    margin: 0 0 1.5rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.ssa-premium-headline-italic {
    font-style: italic;
    font-stretch: 80%;
    color: oklch(0.82 0.18 25);
}

.ssa-premium-text {
    font-family: 'Geist Sans', sans-serif;
    font-size: clamp(0.95rem, 1.2vw, 1.15rem);
    line-height: 1.55;
    color: rgba(255,255,255,0.85);
    margin: 0 0 1.75rem;
    max-width: 520px;
}

.ssa-premium-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

.ssa-premium-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.9rem 1.75rem;
    background: var(--ssa-accent);
    color: white;
    font-family: 'Geist Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    border-radius: 999px;
    box-shadow: 0 8px 24px oklch(0.58 0.21 25 / 0.35);
    transition: background 200ms ease, transform 100ms ease, box-shadow 200ms ease;
}

.ssa-premium-hero-link:hover .ssa-premium-cta-primary {
    background: var(--ssa-accent-deep);
    box-shadow: 0 12px 32px oklch(0.48 0.2 25 / 0.45);
    transform: translateY(-2px);
}

.ssa-premium-hero-link:hover .ssa-premium-cta-primary svg {
    transform: translateX(4px);
    transition: transform 200ms ease;
}

.ssa-premium-cta-secondary {
    position: absolute;
    bottom: 2rem;
    right: clamp(1.5rem, 6vw, 5rem);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    padding: 0.875rem 1.5rem;
    background: transparent;
    color: white;
    border: 1.5px solid rgba(255,255,255,0.4);
    backdrop-filter: blur(8px);
    font-family: 'Geist Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 999px;
    text-decoration: none;
    transition: all 200ms ease;
}

.ssa-premium-cta-secondary:hover {
    background: white;
    color: var(--ssa-ink);
    border-color: white;
    text-decoration: none;
}

@media (max-width: 640px) {
    .ssa-premium-cta-secondary {
        position: static;
        margin-top: 0.75rem;
        display: none;  /* Mobile: nur primary CTA */
    }
}

/* ====================================================================
   BRAND STRIP — Klickbare Marken-Pillen-Bar vor Footer
   ==================================================================== */

.ssa-brand-strip {
    width: 100vw;
    margin: 3rem calc(50% - 50vw) 0;
    padding: 2rem 1rem;
    background: var(--ssa-canvas);
    border-top: 1px solid var(--ssa-border);
    border-bottom: 1px solid var(--ssa-border);
    overflow: hidden;
}

.ssa-brand-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.ssa-brand-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.625rem 1.25rem;
    background: var(--ssa-surface);
    color: var(--ssa-ink);
    border: 1px solid var(--ssa-border);
    border-radius: 999px;
    font-family: 'Geist Mono', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 200ms ease;
}

.ssa-brand-pill:hover {
    background: var(--ssa-ink);
    color: white;
    border-color: var(--ssa-ink);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px oklch(0.18 0.013 245 / 0.15);
}

/* Brand-spezifische Akzente */
.ssa-brand-pill[data-brand="187"]:hover {
    background: oklch(0.55 0.21 25); /* Anker-Rot */
    border-color: oklch(0.55 0.21 25);
}

.ssa-brand-pill[data-brand="alfakher"]:hover {
    background: oklch(0.4 0.13 80); /* Gold-dunkel */
    border-color: oklch(0.4 0.13 80);
}

.ssa-brand-pill[data-brand="holster"]:hover {
    background: oklch(0.16 0.013 245); /* Dark */
    border-color: oklch(0.16 0.013 245);
}

/* ====================================================================
   HERITAGE SECTION — ALTONA Outline + Hamburg Koordinaten
   ==================================================================== */

.ssa-heritage-section {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    background: var(--ssa-canvas);
    text-align: center;
    overflow: hidden;
    padding: 3rem 1rem 2rem;
}

.ssa-heritage-altona {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 800;
    font-size: clamp(4rem, 18vw, 14rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 2px var(--ssa-accent);
    text-stroke: 2px var(--ssa-accent);
    text-transform: uppercase;
    user-select: none;
}

@media (max-width: 768px) {
    .ssa-heritage-altona {
        -webkit-text-stroke-width: 1.5px;
    }
}

.ssa-heritage-coord {
    margin-top: 1.5rem;
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ssa-ink-muted);
}

@media (max-width: 640px) {
    .ssa-heritage-coord {
        font-size: 0.6rem;
        letter-spacing: 0.15em;
    }
}

/* ====================================================================
   MARQUEE TRUST-STRIP — Top-Bar oberhalb des JTL-Headers
   Pfad: layout/header.tpl Block layout-header-skip-to-links prepend
   ==================================================================== */

.ssa-marquee-wrap {
    position: relative;
    z-index: 100;
    background: var(--ssa-dark);
    color: white;
    overflow: hidden;
    border-bottom: 1px solid rgba(0,0,0,0.4);
    width: 100%;
}

.ssa-marquee-track {
    display: flex;
    gap: 2.5rem;
    padding: 0.6rem 0;
    white-space: nowrap;
    font-family: 'Geist Sans', system-ui, -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    width: max-content;
    animation: ssa-marquee-scroll 60s linear infinite;
    will-change: transform;
}

.ssa-marquee-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
    color: rgba(255,255,255,0.95);
}

.ssa-marquee-item svg {
    color: var(--ssa-accent);
    flex-shrink: 0;
}

@keyframes ssa-marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Pause on hover */
.ssa-marquee-wrap:hover .ssa-marquee-track {
    animation-play-state: paused;
}

/* Hide on mobile if needed — keep visible for trust signals */
@media (max-width: 640px) {
    .ssa-marquee-track {
        gap: 1.5rem;
        padding: 0.5rem 0;
        font-size: 0.72rem;
    }
}

/* ====================================================================
   ORIGINAL-LOGO — Aufl&ouml;sung optimieren
   Logo bleibt unver&auml;ndert (SSA_Logo3.png), nur Render-Display verbessern
   ==================================================================== */

#shop-logo,
.navbar-brand img,
.ssa-shop-logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    max-height: 50px !important;
    width: auto !important;
    height: auto !important;
    display: block;
}

@media (min-width: 1024px) {
    #shop-logo,
    .navbar-brand img,
    .ssa-shop-logo {
        max-height: 56px !important;
    }
}

@media (max-width: 640px) {
    #shop-logo,
    .navbar-brand img,
    .ssa-shop-logo {
        max-height: 40px !important;
    }
}

/* Logo-Wrapper Layout: nicht in Nav reinragen */
.toggler-logo-wrapper,
.logo-wrapper {
    align-self: center;
    line-height: 1;
}

.navbar-brand {
    display: inline-flex !important;
    align-items: center;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* ====================================================================
   CART-BUTTON — Anker-Rot Pill (Mockup-Match)
   ==================================================================== */

#shop-nav-cart > a,
.nav-icons .cart-link,
[id^="cart-dropdown-toggle"] {
    display: inline-flex !important;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem !important;
    background: var(--ssa-accent) !important;
    color: white !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', system-ui, sans-serif !important;
    font-weight: 500;
    font-size: 0.85rem;
    border: none !important;
    transition: all 200ms ease;
}

#shop-nav-cart > a:hover,
.nav-icons .cart-link:hover {
    background: var(--ssa-accent-deep) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px oklch(0.58 0.21 25 / 0.35);
}

/* Cart icon color inside the pill */
#shop-nav-cart > a i,
#shop-nav-cart > a svg,
.nav-icons .cart-link i {
    color: white !important;
}

/* ====================================================================
   STATS-BAR — Trust-Signale auf dunklem Grund (vor Brand-Strip)
   ==================================================================== */

.ssa-stats-bar {
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    background: var(--ssa-ink);
    color: white;
    padding: 2.5rem 1.5rem;
}

.ssa-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ssa-stats-bar {
        padding: 3rem 1.5rem;
    }
    .ssa-stats-inner {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
}

.ssa-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ssa-stat-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ssa-accent);
}

.ssa-stat-text {
    line-height: 1.15;
}

.ssa-stat-num {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    letter-spacing: -0.02em;
    color: white;
    line-height: 1;
}

@media (min-width: 1024px) {
    .ssa-stat-num {
        font-size: 2.25rem;
    }
}

.ssa-stat-sub {
    font-family: 'Geist Sans', system-ui, sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.65);
    margin-top: 0.375rem;
    max-width: 16ch;
    line-height: 1.35;
}

/* Wenn die StatsBar aktiv ist, oben am Brand-Strip Border weglassen f&uuml;r flie&szlig;enden &Uuml;bergang */
.ssa-stats-bar + .ssa-brand-strip {
    border-top: none;
}

/* ====================================================================
   PRODUKT-DETAIL — Mockup-Match (Pastel-Hero, Bricolage-Title, Anker-CTA)
   ==================================================================== */

/* Hero-Background hinter Gallery + Info (Pastel-Cream) */
.row.product-detail {
    background: var(--ssa-cream);
    border-radius: 12px;
    padding: 2rem 1.25rem;
    margin-top: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 0 var(--ssa-border) inset;
}

@media (min-width: 992px) {
    .row.product-detail {
        padding: 3rem 2.5rem;
    }
}

/* Produkt-Titel in Bricolage */
.product-detail .product-title,
.product-detail h1.product-title {
    font-family: 'Bricolage Grotesque', 'Geist Sans', system-ui, sans-serif !important;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--ssa-ink) !important;
    margin: 0 0 1rem;
}

/* Preis prominenter */
.product-detail .product-price-info .price,
.product-detail [itemprop=price],
.product-detail .price-with-shipping > .price,
.product-detail .product-price {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: 2rem;
    color: var(--ssa-ink);
    line-height: 1;
}

/* Anker-Rot CTA: "In den Warenkorb" */
.product-detail .btn-primary.btn-block,
.product-detail button[name*=einkaufen],
.product-detail .add-to-cart-btn,
.product-actions .btn-primary {
    background: var(--ssa-accent) !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.95rem 1.75rem !important;
    box-shadow: 0 8px 24px oklch(0.58 0.21 25 / 0.32) !important;
    transition: all 200ms ease !important;
}

.product-detail .btn-primary.btn-block:hover,
.product-detail button[name*=einkaufen]:hover,
.product-actions .btn-primary:hover {
    background: var(--ssa-accent-deep) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px oklch(0.48 0.2 25 / 0.4) !important;
}

/* Trust-Strip nach #add-to-cart Container (rechts unter dem CTA-Button) */
#add-to-cart::after {
    content: 'Versand DE 4,99 € · ab 50 € versandkostenfrei · 24h Versand';
    display: block;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: var(--ssa-surface);
    border: 1px solid var(--ssa-border);
    border-radius: 8px;
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--ssa-ink-muted);
    text-align: center;
}

/* Product-Gallery clean styling */
.product-detail .product-gallery {
    background: white;
    border-radius: 8px;
    padding: 1rem;
}

.product-detail .product-image {
    mix-blend-mode: multiply;
}

/* SKU/EAN als unscheinbare Detail-Liste */
.product-detail .product-headline + ul,
.product-detail .product-sku,
.product-detail .product-ean,
.product-detail .product-category {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    color: var(--ssa-ink-muted);
}

/* Variants/Selector als Pillen-Hint */
.product-detail .form-control,
.product-detail select {
    border: 1px solid var(--ssa-border-strong) !important;
    border-radius: 8px !important;
    padding: 0.6rem 0.9rem !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-size: 0.9rem !important;
}

/* Mobile-Padding-Anpassung */
@media (max-width: 640px) {
    .row.product-detail {
        padding: 1.25rem 0.75rem;
        border-radius: 8px;
    }
    .product-detail .product-title {
        font-size: 1.5rem;
    }
}

/* ====================================================================
   LISTING-PAGE — Tabak/Kategorien/Marken (Mockup-Match)
   ==================================================================== */

/* Product-Card als Tin-Can mit Hover */
.product-wrapper-product {
    background: white;
    border: 1px solid var(--ssa-border);
    border-radius: 12px;
    padding: 1rem;
    transition: all 250ms ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-wrapper-product:hover {
    border-color: var(--ssa-border-strong);
    box-shadow: 0 8px 24px oklch(0.18 0.013 245 / 0.08);
    transform: translateY(-3px);
}

/* Card-Titel in besserer Typografie */
.product-wrapper-product .product-title,
.product-wrapper-product h3 {
    font-family: 'Geist Sans', system-ui, sans-serif !important;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--ssa-ink);
    margin: 0.5rem 0 0.25rem;
    text-align: left;
}

.product-wrapper-product a {
    text-decoration: none !important;
    color: inherit;
}

/* Preis in der Card */
.product-wrapper-product .price,
.product-wrapper-product [itemprop=price] {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ssa-ink);
    text-align: left;
}

/* Card-Bild mit fester Aspect-Ratio + soft background */
.product-wrapper-product picture,
.product-wrapper-product .product-image-wrapper {
    background: var(--ssa-cream);
    border-radius: 8px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.product-wrapper-product picture img,
.product-wrapper-product .product-image-wrapper img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
}

/* SidePanel (Filter-Sidebar) Styling */
.sidepanel-left {
    background: var(--ssa-surface);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--ssa-border);
}

.sidepanel-left .filter-title,
.sidepanel-left h2,
.sidepanel-left h3 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
    color: var(--ssa-ink);
    text-transform: uppercase;
    margin: 0 0 1rem;
}

/* Filter-Items als hover-buttons */
.sidepanel-left .filter-item,
.sidepanel-left .navi-item,
.sidepanel-left li a {
    font-family: 'Geist Sans', sans-serif;
    font-size: 0.875rem;
    color: var(--ssa-ink);
    padding: 0.4rem 0;
    display: block;
    transition: color 150ms ease;
}

.sidepanel-left li a:hover {
    color: var(--ssa-accent);
    text-decoration: none;
}

/* Aktive Filter mit Anker-Rot */
.sidepanel-left .active,
.sidepanel-left .filter-selected {
    color: var(--ssa-accent) !important;
    font-weight: 500;
}

/* Heading der Listing-Page */
.productlist h1,
.product-list-headline h1 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
    color: var(--ssa-ink);
    margin: 1rem 0 1.5rem;
}

/* ====================================================================
   CART-PAGE — Warenkorb (Mockup-Match)
   ==================================================================== */

/* Cart Heading */
.basket-page h1,
.cart-page h1,
#warenkorb h1 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    letter-spacing: -0.02em;
    color: var(--ssa-ink);
}

/* Cart-Item-Cards */
.basket-table tr.product-row,
.cart-item-row {
    border-bottom: 1px solid var(--ssa-border);
}

.basket-table .item-name,
.cart-item-name {
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 600;
    font-size: 1rem;
    color: var(--ssa-ink);
}

.basket-table .item-price,
.cart-item-price {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--ssa-ink);
}

/* Cart Image Backround Cream */
.basket-table img,
.cart-item-image img {
    background: var(--ssa-cream);
    border-radius: 8px;
    padding: 0.5rem;
}

/* Continue/Checkout Button = Anker-Rot */
.basket-page .btn-primary.btn-checkout,
button[name=Kasse]:not(.cancel),
a.btn-primary[href*=bestellvorgang] {
    background: var(--ssa-accent) !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    padding: 0.9rem 1.75rem !important;
    box-shadow: 0 8px 24px oklch(0.58 0.21 25 / 0.3) !important;
    transition: all 200ms ease !important;
}

.basket-page .btn-primary.btn-checkout:hover,
button[name=Kasse]:not(.cancel):hover,
a.btn-primary[href*=bestellvorgang]:hover {
    background: var(--ssa-accent-deep) !important;
    transform: translateY(-2px);
}

/* Gutschein-Input Anker-Style */
input[name=Kupon],
input[name=kupon],
input[name=cKuponCode] {
    border: 1.5px solid var(--ssa-border-strong) !important;
    border-radius: 8px !important;
    padding: 0.65rem 1rem !important;
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* OrderSummary Box */
.basket-summary,
.cart-summary,
.basket-page .price-list,
.shopping-cart-summary {
    background: var(--ssa-cream);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--ssa-border);
}

/* Subtotal / Total fett */
.basket-summary .summary-total,
.cart-total-row,
tr.summary-row,
.basket-summary [class*=total] {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--ssa-ink);
}

/* ====================================================================
   CHECKOUT-PAGE — Bestellvorgang (Mockup-Match)
   ==================================================================== */

/* Checkout Slim-Header — Topbar/Marquee bleibt, andere Nav-Items hide */
body.is-checkout .ssa-marquee-wrap,
body[data-page="6"] .ssa-marquee-wrap {
    display: block;
}

/* Checkout Page Container */
body.is-checkout #content,
body[data-page="6"] #content {
    background: var(--ssa-canvas);
}

/* Step-Indicator Bar */
.checkout-steps,
.step-indicator,
.bestellvorgang-steps {
    background: white;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--ssa-border);
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow-x: auto;
}

.checkout-steps .step,
.step-indicator .step,
.bestellvorgang-steps li {
    font-family: 'Geist Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ssa-ink-muted);
    white-space: nowrap;
}

.checkout-steps .step.active,
.bestellvorgang-steps li.active {
    color: var(--ssa-accent);
    font-weight: 500;
}

/* Form Cards */
.checkout-page .card,
body.is-checkout .card,
body[data-page="6"] .card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--ssa-border);
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 0 var(--ssa-border) inset;
}

/* Form Inputs Premium */
body.is-checkout input[type=text],
body.is-checkout input[type=email],
body.is-checkout input[type=tel],
body.is-checkout input[type=password],
body.is-checkout select,
body[data-page="6"] input[type=text],
body[data-page="6"] input[type=email],
body[data-page="6"] input[type=tel],
body[data-page="6"] select {
    border: 1.5px solid var(--ssa-border-strong) !important;
    border-radius: 8px !important;
    padding: 0.7rem 1rem !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-size: 0.95rem !important;
    transition: border-color 150ms ease;
}

body.is-checkout input:focus,
body.is-checkout select:focus,
body[data-page="6"] input:focus,
body[data-page="6"] select:focus {
    border-color: var(--ssa-accent) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px oklch(0.58 0.21 25 / 0.15) !important;
}

/* Checkout-Next Anker-Rot CTA */
body.is-checkout button[type=submit],
body.is-checkout .btn-primary,
body[data-page="6"] button[type=submit].btn-primary {
    background: var(--ssa-accent) !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 600 !important;
    padding: 0.85rem 2rem !important;
    box-shadow: 0 6px 20px oklch(0.58 0.21 25 / 0.3) !important;
}

body.is-checkout button[type=submit]:hover,
body[data-page="6"] button[type=submit].btn-primary:hover {
    background: var(--ssa-accent-deep) !important;
    transform: translateY(-2px);
}

/* Versandart-Auswahl als Cards */
.shipping-option,
.payment-option,
.versandart-row {
    border: 1.5px solid var(--ssa-border) !important;
    border-radius: 8px !important;
    padding: 1rem !important;
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: all 200ms ease;
}

.shipping-option:hover,
.payment-option:hover,
.versandart-row:hover {
    border-color: var(--ssa-accent) !important;
    background: oklch(0.98 0.005 25);
}

input[type=radio]:checked + label .shipping-option,
.shipping-option.selected,
.versandart-row.selected {
    border-color: var(--ssa-accent) !important;
    background: oklch(0.97 0.012 25);
}

/* ====================================================================
   CATEGORY-TILES — 3 Tiles unter Hero (Tabak Wide + Pfeifen + Disposable)
   ==================================================================== */

.ssa-cat-tiles-section {
    width: 100vw;
    margin: 3rem calc(50% - 50vw) 1rem;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.ssa-cat-tiles-grid {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 640px) {
    .ssa-cat-tiles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

.ssa-cat-tile {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ssa-dark);
    text-decoration: none !important;
    display: block;
    aspect-ratio: 4/5;
    transition: transform 250ms ease;
}

.ssa-cat-tile:hover {
    transform: translateY(-3px);
}

.ssa-cat-tile-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 700ms ease;
}

.ssa-cat-tile[data-cat="tabak"] .ssa-cat-tile-img {
    object-position: left center;
}

.ssa-cat-tile[data-cat="pfeifen"] .ssa-cat-tile-img,
.ssa-cat-tile[data-cat="disposable"] .ssa-cat-tile-img {
    object-position: right center;
}

@media (max-width: 639px) {
    .ssa-cat-tile-img {
        object-position: center !important;
    }
}

.ssa-cat-tile:hover .ssa-cat-tile-img {
    transform: scale(1.05);
}

.ssa-cat-tile-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,17,22,0.15) 0%, rgba(15,17,22,0.85) 80%);
}


.ssa-cat-tile-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
}

@media (min-width: 1024px) {
    .ssa-cat-tile-content {
        padding: 2.25rem;
    }
}

.ssa-cat-tile-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0.75rem;
}

.ssa-cat-tile-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: white;
    margin: 0 0 0.75rem;
}

.ssa-cat-tile-text {
    font-family: 'Geist Sans', sans-serif;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.85);
    max-width: 28rem;
    margin: 0 0 1rem;
}

@media (min-width: 1024px) {
    .ssa-cat-tile-text {
        font-size: 1rem;
    }
}

.ssa-cat-tile-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Geist Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: oklch(0.82 0.18 25); /* accent-light */
    transition: gap 200ms ease;
}

.ssa-cat-tile:hover .ssa-cat-tile-cta {
    gap: 0.75rem;
}

.ssa-cat-tile:hover .ssa-cat-tile-cta svg {
    transform: translateX(4px);
    transition: transform 200ms ease;
}

/* ====================================================================
   BRAND-SPOTLIGHT — 2 Editorial-Cards (Holster Wide + Steamulation Tall)
   ==================================================================== */

.ssa-brand-spotlight {
    width: 100%;
    max-width: 1440px;
    margin: 3rem auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.ssa-brand-spotlight-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .ssa-brand-spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

.ssa-brand-spot {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--ssa-dark);
    text-decoration: none !important;
    display: block;
    color: white;
    transition: transform 250ms ease;
}

.ssa-brand-spot--holster,
.ssa-brand-spot--steamulation {
    aspect-ratio: 4/5;
}

@media (min-width: 1024px) {
    .ssa-brand-spot--holster,
    .ssa-brand-spot--steamulation {
        aspect-ratio: 1/1;
    }
}

.ssa-brand-spot:hover {
    transform: translateY(-3px);
}

.ssa-brand-spot-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms ease;
}

.ssa-brand-spot:hover .ssa-brand-spot-img {
    transform: scale(1.05);
}

.ssa-brand-spot--steamulation .ssa-brand-spot-img {
    object-position: center 30%;
}

.ssa-brand-spot-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15,17,22,0.2) 0%, rgba(15,17,22,0.85) 80%);
}

.ssa-brand-spot-content {
    position: relative;
    height: 100%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: white;
}

@media (min-width: 1024px) {
    .ssa-brand-spot-content {
        padding: 3rem;
    }
}

.ssa-brand-spot-content--bottom {
    justify-content: flex-end;
}

.ssa-brand-spot-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: oklch(0.82 0.18 25);
    margin-bottom: 0.75rem;
}

.ssa-brand-spot-eyebrow--gold {
    color: var(--ssa-gold);
}

.ssa-brand-spot-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: white;
    margin: 0 0 1rem;
    max-width: 24rem;
}

.ssa-brand-spot-title--smaller {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.ssa-brand-spot-italic {
    font-style: italic;
    font-stretch: 80%;
}

.ssa-brand-spot-text {
    font-family: 'Geist Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    max-width: 24rem;
    margin: 0 0 1.25rem;
}

@media (min-width: 1024px) {
    .ssa-brand-spot-text {
        font-size: 1.1rem;
    }
}

.ssa-brand-spot-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ssa-brand-spot-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    border-radius: 999px;
    background: white;
    color: var(--ssa-ink);
    font-family: 'Geist Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
}

.ssa-brand-spot-cta--gold {
    background: transparent;
    color: var(--ssa-gold);
    padding: 0;
}

.ssa-brand-spot-count {
    font-family: 'Geist Mono', monospace;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
}

.ssa-brand-spot-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--ssa-gold);
    color: var(--ssa-ink);
    font-family: 'Geist Mono', monospace;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 2;
}

/* ====================================================================
   MEMBER-CTA — "10 % Rabatt. Lebenslang." (Altona-Club)
   ==================================================================== */

.ssa-member-cta {
    width: 100%;
    max-width: 1440px;
    margin: 3rem auto;
    padding: 0 clamp(1rem, 4vw, 2.5rem);
}

.ssa-member-cta-inner {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ssa-ink);
    color: white;
}

.ssa-member-cta-blob {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.ssa-member-cta-blob--accent {
    top: -8rem;
    right: -8rem;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, oklch(0.55 0.21 25), transparent 70%);
    opacity: 0.4;
}

.ssa-member-cta-blob--gold {
    bottom: -10rem;
    left: -5rem;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, oklch(0.7 0.13 80), transparent 70%);
    opacity: 0.3;
}

.ssa-member-cta-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2.5rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ssa-member-cta-grid {
        grid-template-columns: 1.4fr 1fr;
        padding: 4rem;
        gap: 3rem;
    }
}

.ssa-member-cta-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: oklch(0.82 0.18 25);
    margin-bottom: 1.25rem;
}

.ssa-member-cta-title {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    letter-spacing: -0.03em;
    color: white;
    margin: 0 0 1.25rem;
}

.ssa-member-cta-italic {
    font-style: italic;
    font-stretch: 80%;
    color: oklch(0.85 0.16 25);
}

.ssa-member-cta-desc {
    font-family: 'Geist Sans', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    max-width: 32rem;
    margin: 0 0 2rem;
}

@media (min-width: 1024px) {
    .ssa-member-cta-desc {
        font-size: 1.1rem;
    }
}

.ssa-member-cta-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 28rem;
}

@media (min-width: 640px) {
    .ssa-member-cta-form {
        flex-direction: row;
    }
}

.ssa-member-cta-input {
    flex: 1;
    padding: 0.85rem 1.25rem !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2) !important;
    color: white !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-size: 0.95rem !important;
    outline: none;
    transition: all 200ms ease;
}

.ssa-member-cta-input::placeholder {
    color: rgba(255,255,255,0.5);
}

.ssa-member-cta-input:focus {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.4) !important;
}

.ssa-member-cta-btn {
    padding: 0.85rem 1.75rem !important;
    border-radius: 999px !important;
    background: var(--ssa-accent) !important;
    color: white !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border: none !important;
    cursor: pointer;
    transition: background 200ms ease;
    white-space: nowrap;
}

.ssa-member-cta-btn:hover {
    background: var(--ssa-accent-deep) !important;
}

.ssa-member-cta-disclaimer {
    font-family: 'Geist Sans', sans-serif;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    margin: 1rem 0 0;
    max-width: 28rem;
}

.ssa-member-cta-card-wrap {
    display: none;
}

@media (min-width: 1024px) {
    .ssa-member-cta-card-wrap {
        display: flex;
        justify-content: center;
    }
}

.ssa-member-cta-card {
    width: 18rem;
    aspect-ratio: 5/8;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    backdrop-filter: blur(8px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 24px 64px rgba(0,0,0,0.4);
    transform: rotate(3deg);
    transition: transform 500ms ease;
}

.ssa-member-cta-card:hover {
    transform: rotate(0deg);
}

.ssa-member-cta-card-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    color: oklch(0.85 0.16 25);
}

.ssa-member-cta-card-name {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 600;
    font-stretch: 80%;
    font-size: 1rem;
    color: white;
    letter-spacing: -0.01em;
}

.ssa-member-cta-card-sub {
    font-family: 'Geist Mono', monospace;
    font-size: 0.55rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: oklch(0.82 0.18 25);
}

.ssa-member-cta-card-eyebrow {
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.ssa-member-cta-card-username {
    font-family: 'Geist Sans', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

.ssa-member-cta-card-id {
    font-family: 'Geist Mono', monospace;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 0.25rem;
}

.ssa-member-cta-card-label {
    font-family: 'Geist Mono', monospace;
    font-size: 0.62rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 0.25rem;
}

.ssa-member-cta-card-value {
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: 1.875rem;
    color: oklch(0.82 0.18 25);
}

/* ====================================================================
   POLISH ITERATION — JTL-Default-Reste eliminieren
   ==================================================================== */

/* Sekundäre Buttons (gelb JTL-Default) → neutral schwarz/weiss */
.btn-warning,
button.btn-warning,
a.btn-warning,
.btn[class*=warning],
button.btn-secondary:not(.ssa-keep):not(.btn-primary) {
    background: var(--ssa-ink) !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 500 !important;
    padding: 0.7rem 1.5rem !important;
}

.btn-warning:hover,
button.btn-warning:hover,
a.btn-warning:hover {
    background: var(--ssa-ink-2) !important;
}

/* Search-Bar Premium-Style */
header form.search-form,
form[role=search],
.search-form-wrapper form,
#search-header form {
    border: 1px solid var(--ssa-border) !important;
    border-radius: 999px !important;
    overflow: hidden;
    background: var(--ssa-surface);
    transition: border-color 150ms ease;
}

header form.search-form:focus-within,
form[role=search]:focus-within {
    border-color: var(--ssa-border-strong) !important;
}

header form input[type=search],
header form input[name=suchausdruck],
header form input.suchausdruck,
form[role=search] input {
    border: none !important;
    border-radius: 0 !important;
    padding: 0.7rem 1.25rem !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-size: 0.95rem !important;
    background: transparent !important;
    box-shadow: none !important;
}

header form button[type=submit],
header form .search-submit,
form[role=search] button {
    background: transparent !important;
    border: none !important;
    color: var(--ssa-ink-muted) !important;
    padding: 0 1rem !important;
}

header form button[type=submit]:hover,
form[role=search] button:hover {
    color: var(--ssa-accent) !important;
}

/* Top-Nav: subtiler Hover-Akzent (ohne ::after da Sticky-Mode dies bricht) */
header .navbar-nav > .nav-item > .nav-link:hover,
.nav-scrollbar-item > a:hover {
    color: var(--ssa-accent) !important;
    text-decoration: none !important;
}

/* Breadcrumb Premium */
.breadcrumb,
.breadcrumb-container {
    background: transparent !important;
    padding: 0.75rem 0 !important;
    font-family: 'Geist Mono', monospace;
    font-size: 0.7rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ssa-ink-muted);
}

.breadcrumb a {
    color: var(--ssa-ink-muted) !important;
}

.breadcrumb a:hover {
    color: var(--ssa-accent) !important;
    text-decoration: none !important;
}

.breadcrumb .breadcrumb-item.active,
.breadcrumb-item.active {
    color: var(--ssa-ink) !important;
}

/* Headings auf allen Default-JTL-Pages (Standardansichten) — Bricolage */
#content h1,
#content h2:not(.ssa-keep),
.product-list-headline,
.section-headline h1,
.section-headline h2 {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--ssa-ink) !important;
}

/* "Neu im Sortiment", "Top Artikel", "Sonderangebot", "Unsere Bestseller" — section headers */
.box-headline,
.section-headline,
.product-list-content h2,
.product-section h2 {
    text-align: center !important;
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    letter-spacing: -0.02em;
    color: var(--ssa-ink) !important;
    margin: 2.5rem 0 1.5rem;
    position: relative;
}

.box-headline::after,
.section-headline::after,
.product-list-content h2::after {
    content: '';
    display: block;
    width: 48px;
    height: 2px;
    background: var(--ssa-accent);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* Sub-Kategorien-Listen (z.B. /Shisha-Tabak-25g-200-g-1000-g) als Card-Pillen */
.product-list-headline + ul.list-unstyled,
.subcategories-list,
.category-overview ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 2rem;
}

.product-list-headline + ul.list-unstyled li,
.subcategories-list li {
    margin: 0;
}

.product-list-headline + ul.list-unstyled li a,
.subcategories-list li a {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    background: var(--ssa-surface);
    color: var(--ssa-ink) !important;
    border: 1px solid var(--ssa-border);
    border-radius: 999px;
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: all 200ms ease;
}

.product-list-headline + ul.list-unstyled li a:hover,
.subcategories-list li a:hover {
    background: var(--ssa-ink);
    color: white !important;
    border-color: var(--ssa-ink);
    transform: translateY(-1px);
}

/* PayPal-Express-Button auf Produkt-Detail-Page — verstecken oder kleiner machen */
.product-detail .paypal-button-container,
.product-detail [class*=paypal] {
    margin-top: 1rem !important;
}

/* Wishlist-Icon im Header subtiler */
header .wishlist-link svg,
header .wishlist-link i,
[id^=wish-list-toggle] svg,
[id^=wish-list-toggle] i {
    color: var(--ssa-ink-muted) !important;
    transition: color 150ms ease;
}

header .wishlist-link:hover svg,
header .wishlist-link:hover i,
[id^=wish-list-toggle]:hover svg,
[id^=wish-list-toggle]:hover i {
    color: var(--ssa-accent) !important;
}

/* "Versandkostenfrei", "Knapper Lagerbestand" Badges — subtle */
.shipping-info,
.stock-info,
.availability-info,
.lagerbestand {
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.05em;
    color: var(--ssa-ink-muted);
}

.stock-info.knapp,
[class*=stock-knapp],
.availability-knapp {
    color: var(--ssa-accent) !important;
}

/* Anti-Pattern: alte gelbe "Sale"-Badges → Anker-Rot Pill */
.badge-warning,
.product-badge-sale,
.discount-badge,
.sale-badge {
    background: var(--ssa-accent) !important;
    color: white !important;
    border-radius: 999px !important;
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    padding: 0.25rem 0.65rem !important;
    font-weight: 600 !important;
}

/* ====================================================================
   STEAMULATION HIDE — User hat aktuell keine Steamulation am Lager
   Versteckt alle Steamulation-Nav-Links + Produkt-Cards via CSS
   Wenn Ali im JTL-Backend die Kategorie+Produkte deaktiviert,
   ist dieses CSS redundant aber nicht schädlich.
   ==================================================================== */

/* Nav-Kategorien-Links mit Steamulation im href verstecken */
.nav-scrollbar-item:has(a[href*="Steamulation"]),
li:has(> a[href*="Steamulation"]),
.categories-recursive-item:has(a[href*="Steamulation"]),
.nav-item:has(> a[href*="Steamulation"]) {
    display: none !important;
}

/* Direct Steamulation-Links in Boxen/Dropdowns/Mega-Menu */
a[href*="/Steamulation"]:not(.ssa-brand-pill):not(.ssa-brand-spot) {
    display: none !important;
}

/* Produkt-Cards mit Steamulation im Titel verstecken */
.product-wrapper:has([itemprop="name"]:is(:where(:has(:contains("Steamulation"))))) {
    /* :contains() ist nicht standard CSS — fallback unten */
    display: none !important;
}

/* Robusterer Selector via title-Attribut */
.product-wrapper-product:has(a[href*="Steamulation-"]),
.product-wrapper-product:has(img[alt*="Steamulation"]),
article:has(a[href*="Steamulation-"]),
[class*="product"]:has(a[href*="Steamulation-"]) {
    display: none !important;
}

/* Top-Cards für Cross-Selling */
.product-tile:has(a[href*="Steamulation"]),
.cross-selling-item:has(a[href*="Steamulation"]) {
    display: none !important;
}

/* ====================================================================
   FIX-ITER — alle erkannten Bugs aus E2E-Walkthrough
   ==================================================================== */

/* 1) MemberCTA "Lebenslang." Kontrast erh&ouml;hen */
.ssa-member-cta-italic {
    color: oklch(0.9 0.16 25) !important;
    text-shadow: 0 1px 12px rgba(0,0,0,0.4);
    font-weight: 600;
}

/* 2) Gelbe "H&auml;ndler registrieren" + andere yellow-Defaults neutralisieren */
.btn-warning,
button.btn-warning,
a.btn-warning,
input[type=button].btn-warning,
[class*="warning-btn"],
a[href*="haendler"]:not(.ssa-brand-pill),
.fc-btn,
.fc-badge,
[class*="haendler-registrieren"] {
    background: var(--ssa-ink) !important;
    color: white !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', sans-serif !important;
    font-weight: 500 !important;
    padding: 0.65rem 1.4rem !important;
    box-shadow: none !important;
}

.btn-warning:hover {
    background: var(--ssa-ink-2) !important;
    color: white !important;
}

/* 3) Listing-Page Top-Brand-Logo-Cards mit hellem BG (dunkle Logos sichtbar) */
.subcategory-tile,
.subcategory-image,
.categories-listing .product-wrapper,
[class*="manufacturer-tile"],
.brand-card,
.hersteller-card {
    background: var(--ssa-cream) !important;
    border: 1px solid var(--ssa-border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 200ms ease, border-color 200ms ease;
}

.subcategory-tile:hover,
.brand-card:hover {
    border-color: var(--ssa-border-strong) !important;
    transform: translateY(-2px);
}

.subcategory-tile img,
.brand-card img,
[class*="manufacturer-tile"] img {
    background: white;
    padding: 0.5rem;
    max-height: 100% !important;
    object-fit: contain;
}

/* 4) Preisrange-Slider Premium-Look */
.noUi-target,
.price-range-slider,
[class*="slider-range"] {
    height: 6px !important;
    border-radius: 999px !important;
    background: var(--ssa-border) !important;
    border: none !important;
    box-shadow: none !important;
}

.noUi-connect,
.slider-connect {
    background: var(--ssa-accent) !important;
}

.noUi-handle,
.slider-handle {
    background: white !important;
    border: 2px solid var(--ssa-accent) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
    width: 18px !important;
    height: 18px !important;
    top: -6px !important;
    border-radius: 999px !important;
}

.noUi-handle::before,
.noUi-handle::after {
    display: none !important;
}

/* 5) Default-yellow Badges (BESTSELLER mit gelbem BG) auf Anker-Rot */
.badge-bestseller,
.bestseller-badge,
.badge-warning.bestseller,
[class*="badge"][class*="bestseller"] {
    background: var(--ssa-accent) !important;
    color: white !important;
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    border-radius: 4px !important;
    padding: 0.3rem 0.7rem !important;
}

/* 6) AUF LAGER Badges (gr&uuml;n) bleiben gr&uuml;n aber dezenter */
.badge-success,
[class*="badge"][class*="success"],
.in-stock-badge {
    background: oklch(0.6 0.12 145) !important;
    color: white !important;
    font-family: 'Geist Mono', monospace !important;
    font-size: 0.62rem !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    font-weight: 600 !important;
    border-radius: 4px !important;
    padding: 0.3rem 0.7rem !important;
}

/* 7) Footer-Bereich: gelbe "H&auml;ndler werden"-Button neutralisieren */
.footer .btn-warning,
.footer-content [class*="warning"],
footer .btn-warning {
    background: var(--ssa-ink) !important;
    color: white !important;
    border-radius: 999px !important;
}

/* 8) JTL-Default Light Yellow Banner Backgrounds → entfernen */
.bg-warning,
[style*="background-color: rgb(248, 191"],
[style*="background-color:#f8bf"],
[style*="background:#f8bf"] {
    background: var(--ssa-ink) !important;
    color: white !important;
}

/* 9) "VIP H&auml;ndler registrieren" Footer-Button — komplett neutral */
[href*="haendler"]:not(.ssa-brand-pill):not(.btn-primary):not(.ssa-cat-tile):not(.ssa-brand-spot) {
    color: var(--ssa-ink) !important;
}

/* 10) Anker-Logo im Default-Favicon-Style — falls Logo schief positioniert */
.shop-logo,
#shop-logo {
    align-self: center;
    margin: 0 auto;
}

/* ====================================================================
   HERSTELLER-PAGE — Default-Kamera-Placeholder verstecken
   Hersteller ohne Logo bekommen typografisches Brand-Card-Layout
   ==================================================================== */

/* Default JTL keinBild-Placeholder global verstecken (case-sensitive 'B') */
img[src*="keinBild"],
img[src*="kein_bild"],
img[src*="placeholder"],
img[src*="/gfx/keinBild"],
img[alt*="Kein Bild"],
img[alt*="No image"] {
    display: none !important;
}

/* Card-Wrapper Link — gesamte Tile als klickbare Brand-Card */
a:has(img[src*="keinBild"]) {
    display: block !important;
    background: var(--ssa-cream);
    border-radius: 12px;
    border: 1px solid var(--ssa-border);
    transition: all 200ms ease;
    padding: 1.5rem 1rem;
    text-align: center;
    text-decoration: none !important;
    color: var(--ssa-ink) !important;
    font-family: 'Bricolage Grotesque', sans-serif;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.4vw, 1.15rem);
    letter-spacing: -0.01em;
    line-height: 1.2;
    min-height: 110px;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

a:has(img[src*="keinBild"]):hover {
    background: white !important;
    border-color: var(--ssa-border-strong) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px oklch(0.18 0.013 245 / 0.08);
    color: var(--ssa-accent) !important;
}

/* Square-Box einklappen — wir brauchen sie nicht mehr */
a:has(img[src*="keinBild"]) .square,
a:has(img[src*="keinBild"]) .square-image,
a:has(img[src*="keinBild"]) .inner {
    display: none !important;
}

/* Hersteller-Cards Layout */
.manufacturers-overview .manufacturer,
.hersteller-overview .hersteller,
.manufacturer-list .manufacturer-item,
.brand-list-item,
.manufacturer-tile-wrap {
    background: var(--ssa-cream);
    border: 1px solid var(--ssa-border);
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    aspect-ratio: 4/3;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 200ms ease;
    overflow: hidden;
}

.manufacturers-overview .manufacturer:hover,
.hersteller-overview .hersteller:hover {
    background: white;
    border-color: var(--ssa-border-strong);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}

/* Hersteller-Name typografisch — wenn kein Logo */
.manufacturers-overview a,
.hersteller-overview a,
.manufacturer-tile-wrap a,
.brand-list-item a {
    font-family: 'Bricolage Grotesque', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
    color: var(--ssa-ink) !important;
    text-decoration: none !important;
    line-height: 1.15;
    text-transform: none;
}

.manufacturers-overview a:hover {
    color: var(--ssa-accent) !important;
}

/* Echte Hersteller-Logos (falls vorhanden) sauber rendern */
.manufacturers-overview img:not([src*="keinBild"]):not([src*="kein_bild"]):not([src*="placeholder"]),
.hersteller-overview img:not([src*="keinBild"]):not([src*="kein_bild"]):not([src*="placeholder"]) {
    max-width: 80%;
    max-height: 60%;
    object-fit: contain;
}

/* Generic Hersteller-Container Grid-Layout für Mockup-Match */
.manufacturers-overview .row,
.hersteller-overview .row,
.manufacturers .row {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .manufacturers-overview .row,
    .hersteller-overview .row {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .manufacturers-overview .row,
    .hersteller-overview .row {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.25rem;
    }
}

/* Resette col-* Klassen aus dem grid */
.manufacturers-overview .row > [class*="col-"],
.hersteller-overview .row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: initial !important;
    padding: 0 !important;
}

/* ====================================================================
   GLOBAL .btn-primary - JTL Default gelb komplett auf Anker-Rot
   ==================================================================== */

.btn-primary,
button.btn-primary,
a.btn-primary,
input[type=submit].btn-primary,
input[type=button].btn-primary,
.btn.btn-primary {
    background: var(--ssa-accent) !important;
    background-color: var(--ssa-accent) !important;
    color: white !important;
    border: none !important;
    border-color: var(--ssa-accent) !important;
    border-radius: 999px !important;
    font-family: 'Geist Sans', system-ui, sans-serif !important;
    font-weight: 600 !important;
    padding: 0.7rem 1.5rem !important;
    box-shadow: 0 4px 16px oklch(0.58 0.21 25 / 0.25) !important;
    transition: all 200ms ease !important;
}

.btn-primary:hover,
button.btn-primary:hover,
a.btn-primary:hover,
input[type=submit].btn-primary:hover,
.btn.btn-primary:hover {
    background: var(--ssa-accent-deep) !important;
    background-color: var(--ssa-accent-deep) !important;
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px oklch(0.48 0.2 25 / 0.35) !important;
}

.btn-primary:focus,
.btn-primary:active {
    background: var(--ssa-accent-deep) !important;
    box-shadow: 0 0 0 3px oklch(0.58 0.21 25 / 0.2) !important;
}

/* btn-block bleibt block-width, aber pill-style */
.btn-block.btn-primary {
    width: 100%;
    padding: 0.85rem 1.5rem !important;
}
