/* ═══════════════════════════════════════════════════════════
   Schnullerkettchen.de – Design-System
   Farbpalette angelehnt an www.schnullerkettchen.de
   Warm Rosa · Altrosa · Creme · Mauve · Dunkelbraun
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties ──────────────────────────────── */
:root {
    /* Primärfarbe: Mint / Salbeigrün */
    --primary: #c7eedc; /* Mint – Hauptakzent */
    --primary-dark: #3d9e75; /* Dunkleres Mint für Hover/Buttons */
    --primary-light: #ebfaf3; /* Sehr helles Mint – Hintergrundakzent */
    --primary-muted: #9ddfc4; /* Gedämpftes Mint für Badges */
    /* Sekundärfarbe: Grau */
    --secondary: #555555; /* Dunkelgrau – Texte, Header */
    --secondary-light: #999999; /* Mittelgrau */
    /* Akzent */
    --accent: #cccccc; /* Neutralgrau für Highlights */
    --accent-warm: #d8f0e7; /* Helles Mint-Grau */
    /* Oberflächen */
    --surface: #ffffff;
    --surface-2: #f5fcf9; /* Minthauch-Hintergrund */
    --surface-3: #eaf6f0; /* Stärkerer Mintton – für Sektionen */
    --surface-nav: #a2e3a4; /* Navigationsleiste (Waldgrün) */
    /* Ränder */
    --border: #cccccc; /* Sekundärgrau */
    --border-dark: #aaaaaa;
    /* Text */
    --text: #1a2e26; /* Fast-Schwarz mit Grün-Unterton */
    --text-muted: #5a7a6a; /* Warmes Graugrün */
    --text-light: #8aaa9a;
    /* Status */
    --success: #5aab7a; /* Grün (harmoniert mit Mint) */
    --warning: #e8c15a; /* Warmes Gelb */
    --danger: #c4555a;
    /* Typografie */
    --font-display: 'Playfair Display', 'Georgia', serif; /* Elegant, feminin */
    --font-body: 'Lato', 'Helvetica Neue', sans-serif;
    --font-accent: 'Dancing Script', cursive; /* Für dekorative Elemente */
    /* Layout */
    --nav-height: 52px;
    --header-height: 76px;
    --topbar-height: 34px;
    /* Schatten (Mint-Töne) */
    --shadow-sm: 0 1px 4px rgba(46,107,78,.08);
    --shadow-md: 0 4px 18px rgba(46,107,78,.12);
    --shadow-lg: 0 8px 36px rgba(46,107,78,.16);
    --shadow-pink: 0 6px 24px rgba(61,158,117,.28);
    /* Radii */
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-pill: 50px;
    --transition: .22s ease;
    /* Markierte Texte */
    --selecetedButtonText: #34aa73;
}

/* ── Google Fonts ───────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&family=Dancing+Script:wght@600&display=swap');

/* ── Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--text);
    background: var(--surface-2);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6,
.logo-text, .section-title,
.product-detail-title, .mega-col-title {
    font-family: var(--font-display);
    letter-spacing: -.01em;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* ── Top Bar ────────────────────────────────────────────── */
.topbar {
    background: var(--secondary);
    color: rgba(255,255,255,.8);
    font-size: 12.5px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    font-family: var(--font-body);
    letter-spacing: .03em;
}

.topbar a { color: rgba(255,255,255,.8); }
.topbar a:hover { color: #fff; }
.topbar i { color: var(--primary-muted); }

/* ── Main Header ────────────────────────────────────────── */
.main-header {
    background: var(--surface);
    border-bottom: 2px solid var(--border);
    height: var(--header-height);
    z-index: 1050;
    box-shadow: 0 2px 12px rgba(74,55,40,.06);
}

.header-inner {
    display: flex;
    align-items: center;
    height: var(--header-height);
    gap: 1.5rem;
}

/* ── Logo ───────────────────────────────────────────────── */
.logo {
    display: flex;
    align-items: center;
    gap: .6rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-dark));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: var(--shadow-pink);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--secondary);
    font-style: italic;
}

.logo-text span {
    color: var(--primary-dark);
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
}

/* ── Suche ──────────────────────────────────────────────── */
.header-search { flex: 1; max-width: 500px; }

.search-form .input-group {
    border-radius: var(--radius-pill);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: border-color var(--transition);
}

.search-form .input-group:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(212,116,138,.15);
}

.search-input {
    border: none !important;
    border-radius: var(--radius-pill) 0 0 var(--radius-pill) !important;
    padding: .55rem 1.25rem;
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--surface-2);
    color: var(--text);
    box-shadow: none !important;
}

.search-input::placeholder { color: var(--text-light); }
.search-input:focus { background: #fff; outline: none; }

.btn-search {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 0 var(--radius-pill) var(--radius-pill) 0 !important;
    padding: .55rem 1.2rem;
    transition: var(--transition);
    font-size: 15px;
}

.btn-search:hover { background: var(--primary-dark); color: #fff; }

/* ── Header Actions ─────────────────────────────────────── */
.header-actions { display: flex; align-items: center; gap: .25rem; margin-left: auto; }

.action-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    font-size: 1.2rem;
    color: var(--secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    text-decoration: none;
}

.action-btn:hover {
    background: var(--surface-3);
    color: var(--primary-dark);
}

.cart-badge {
    position: absolute;
    top: 3px;
    right: 3px;
    width: 17px;
    height: 17px;
    background: var(--primary-dark);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    box-shadow: 0 1px 4px rgba(212,116,138,.4);
}

/* ── Navigationsleiste ──────────────────────────────────── */
.main-nav {
    background: var(--surface-nav);
    position: sticky;
    top: var(--header-height);
    z-index: 1040;
    border-bottom: 1px solid rgba(0,0,0,.12);
}

.nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: stretch;
}

.nav-item { position: relative; }

.nav-link {
    display: flex;
    align-items: center;
    gap: .3rem;
    padding: 0 1.1rem;
    height: var(--nav-height);
    color: var(--secondary) !important;
    font-size: 13.5px;
    font-weight: 600;
    font-family: var(--font-body);
    letter-spacing: .03em;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-link.active {
    color: var(--text) !important;
    background: rgba(0,0,0,.07);
}

/* Aktiv-Unterstrich */
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1.1rem;
    right: 1.1rem;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px 2px 0 0;
}

.nav-sale {
    color: var(--primary-dark) !important;
    font-weight: 700 !important;
}
.nav-sale:hover { color: var(--text) !important; }

.nav-arrow {
    font-size: 9px;
    transition: transform .2s;
    opacity: .7;
}
.nav-item:hover .nav-arrow { transform: rotate(180deg); opacity: 1; }

/* ── Mega-Menü (Desktop) ────────────────────────────────── */
.has-megamenu { position: relative; }

.mega-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--surface);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-dark);
    z-index: 2000;
    animation: fadeDown .18s ease;
    min-width: 220px;
}

@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.nav-item:hover > .mega-menu { display: block; }

/* Zwei-Panel-Variante: L2-Sidebar links + L3-Inhalt rechts */
.mega-menu--panels { min-width: 680px; max-width: 920px; }

.mega-inner {
    display: flex;
    min-height: 220px;
}

.mega-sidebar {
    width: 210px;
    flex-shrink: 0;
    background: var(--surface-3);
    border-right: 1px solid var(--border);
    border-radius: 0 0 0 var(--radius);
    padding: .6rem 0;
    display: flex;
    flex-direction: column;
}

.mega-sidebar-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .65rem 1rem .65rem 1.1rem;
    font-size: 13.5px;
    color: var(--text-muted);
    font-family: var(--font-body);
    transition: var(--transition);
    border-left: 3px solid transparent;
    gap: .4rem;
    text-decoration: none;
}

.mega-sidebar-link:hover,
.mega-sidebar-link.active {
    color: var(--primary-dark);
    background: var(--surface);
    border-left-color: var(--primary-dark);
}

.mega-sidebar-link span { flex: 1; }
.mega-sidebar-link > i  { font-size: 10px; opacity: .4; flex-shrink: 0; }
.mega-sidebar-link.active > i { opacity: 1; color: var(--primary-dark); }

.mega-panels {
    flex: 1;
    padding: 1.25rem 1.5rem;
    min-width: 0;
    overflow: hidden;
}

.mega-panel {
    display: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-content: flex-start;
}

.mega-panel.active { display: flex; }

.mega-col { min-width: 130px; flex: 1; max-width: 190px; }

.mega-col-title {
    display: block;
    font-weight: 700;
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--primary-dark);
    padding-bottom: .5rem;
    margin-bottom: .5rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-body);
    text-decoration: none;
}

.mega-col-title:hover { color: var(--primary-dark); }

.mega-col-list { list-style: none; padding: 0; margin: 0; }

.mega-col-list a {
    display: block;
    padding: .3rem 0;
    font-size: 13px;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
}

.mega-col-list a:hover { color: var(--primary-dark); padding-left: 4px; }

.mega-view-all {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--text-muted);
    transition: var(--transition);
    text-decoration: none;
    margin-top: .25rem;
}

.mega-view-all:hover {
    color: var(--primary-dark);
    border-color: var(--primary-dark);
    background: var(--primary-light);
}

/* Einfache Dropdown-Variante: nur L2-Liste */
.mega-simple-list {
    display: flex;
    flex-direction: column;
    padding: .6rem 0;
}

.mega-simple-link {
    display: block;
    padding: .65rem 1.25rem;
    font-size: 13.5px;
    color: var(--text-muted);
    font-family: var(--font-body);
    transition: var(--transition);
    border-left: 3px solid transparent;
    text-decoration: none;
    white-space: nowrap;
}

.mega-simple-link:hover {
    color: var(--primary-dark);
    background: var(--primary-light);
    border-left-color: var(--primary-dark);
}

/* ── Mobile Suchleiste ──────────────────────────────────── */
.mobile-search-bar { padding: .6rem 0; }

/* ── Mobile Sidebar ─────────────────────────────────────── */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(74,55,40,.5);
    z-index: 1060;
    backdrop-filter: blur(2px);
}

.mobile-overlay.active { display: block; }

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 310px;
    height: 100vh;
    background: var(--secondary);
    z-index: 1070;
    transition: left .3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.mobile-sidebar.open { left: 0; }

.mobile-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,.05);
    border-bottom: 1px solid rgba(255,255,255,.1);
    position: sticky;
    top: 0;
    z-index: 1;
}

.mobile-sidebar-header .logo-text { color: #fff; font-size: 1.1rem; font-style: italic; }

.mobile-sidebar-body { padding: 0 0 2rem; }

.mobile-nav-list { list-style: none; padding: 0; margin: 0; }

.mobile-nav-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    flex: 1;
    padding: .85rem 1.25rem;
    color: rgba(255,255,255,.85);
    font-size: 14px;
    transition: var(--transition);
    min-height: 48px;
    text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus { color: #fff; background: rgba(255,255,255,.07); }

.mobile-nav-link--l2 { padding-left: 2rem;    font-size: 13.5px; color: rgba(255,255,255,.8); }
.mobile-nav-link--l3 { padding-left: 3rem;    font-size: 13px;   color: rgba(255,255,255,.65); }
.mobile-nav-link--l4 { padding-left: 3.75rem; font-size: 12.5px; color: rgba(255,255,255,.52); }

.mobile-nav-sale { color: #f7a8b8 !important; }
.mobile-nav-sale:hover { color: #fdd !important; }

/* Linke Farbmarkierung für Ebenenindikation */
.mobile-sub-list > li > .mobile-nav-row .mobile-nav-link {
    border-left: 3px solid rgba(212,116,138,.35);
}
.mobile-sub-list .mobile-sub-list > li > .mobile-nav-row .mobile-nav-link {
    border-left: 3px solid rgba(212,116,138,.6);
}
.mobile-sub-list .mobile-sub-list .mobile-sub-list > li > .mobile-nav-row .mobile-nav-link {
    border-left: 3px solid rgba(212,116,138,.85);
}

.mobile-expand-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,.35);
    padding: 0 1.1rem;
    cursor: pointer;
    font-size: 15px;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    flex-shrink: 0;
}

.mobile-expand-btn:hover { color: rgba(255,255,255,.8); }

.mobile-expand-btn > i {
    transition: transform .25s ease;
    display: block;
    pointer-events: none;
}

.mobile-expand-btn.expanded { color: var(--primary-muted); }
.mobile-expand-btn.expanded > i { transform: rotate(180deg); }

/* Smooth Accordion via max-height */
.mobile-sub-wrap {
    overflow: hidden;
    max-height: 0;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1);
}

.mobile-sub-wrap.open { max-height: 3000px; }

.mobile-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
    background: rgba(0,0,0,.1);
}

/* ── Breadcrumb ─────────────────────────────────────────── */
.breadcrumb-bar {
    background: var(--surface-3);
    border-bottom: 1px solid var(--border);
    padding: .55rem 0;
}

.breadcrumb { margin:0; font-size: 12.5px; }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item a:hover { color: var(--primary-dark); }
.breadcrumb-item.active { color: var(--text); font-weight: 500; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--border-dark); }

/* ── Hero-Bereich ───────────────────────────────────────── */
.hero-section {
    background:
        linear-gradient(135deg,
            var(--secondary) 20%,
            #383838 55%,
            #688576 100%);
    color: #fff;
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section-color {
    background: linear-gradient(135deg, var(--secondary) 20%, #383838 55%, #688576 100%);
}
    /* Zartes Muster im Hintergrund */
    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(circle at 20% 50%, rgba(212,116,138,.18) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(232,197,168,.12) 0%, transparent 40%);
        pointer-events: none;
    }

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--surface-2);
    clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-eyebrow {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--primary-muted);
    margin-bottom: .75rem;
    font-family: var(--font-body);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.02em;
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-style: italic;
}

.hero-title .highlight { color: var(--primary-muted); }

.hero-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,.72);
    max-width: 430px;
    margin-bottom: 2rem;
    line-height: 1.65;
}

.hero-actions { display:flex; gap:1rem; flex-wrap:wrap; }

.btn-hero-primary {
    background: var(--primary-dark);
    color: #fff;
    padding: .88rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-family: var(--font-body);
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    box-shadow: var(--shadow-pink);
}

.btn-hero-primary:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212,116,138,.4);
}

.btn-hero-secondary {
    background: rgba(255,255,255,.12);
    color: #fff;
    padding: .88rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 14.5px;
    border: 1px solid rgba(255,255,255,.28);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    backdrop-filter: blur(4px);
}

.btn-hero-secondary:hover { background: rgba(255,255,255,.22); color: #fff; }

.hero-stats { display:flex; gap:2rem; margin-top:2.5rem; flex-wrap:wrap; }
.hero-stat-value { font-size:1.4rem; font-weight:700; font-family:var(--font-display); color:#fff; }
.hero-stat-label { font-size:11px; color:rgba(255,255,255,.55); text-transform:uppercase; letter-spacing:.06em; }

/* ── Trust-Streifen ─────────────────────────────────────── */
.trust-strip {
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 1.2rem 0;
}

.trust-item { display:flex; align-items:center; gap:.75rem; }

.trust-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary-dark);
    flex-shrink: 0;
}

.trust-title { font-size:13.5px; font-weight:700; font-family:var(--font-display); color:var(--secondary); }
.trust-sub   { font-size:12px; color:var(--text-muted); }

/* ── Sektionen ──────────────────────────────────────────── */
.section    { padding: 3.5rem 0; }
.section-sm { padding: 2rem 0; }

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: 1.65rem;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--secondary);
    margin: 0;
    font-style: italic;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 38px;
    height: 2px;
    background: var(--primary-dark);
    border-radius: 2px;
    margin-top: .45rem;
}

.section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-dark);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: .3rem;
    letter-spacing: .02em;
}

.section-link:hover { color: var(--primary-dark); }

/* ── Produktkarten ──────────────────────────────────────── */
.product-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-muted);
}

.product-card-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--surface-3);
}

.product-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.product-card:hover .product-card-img-wrap img { transform: scale(1.04); }

.product-badges {
    position: absolute;
    top: .7rem;
    left: .7rem;
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.badge-new  {
    background: var(--secondary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: .2rem .55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-body);
}

.badge-sale {
    background: var(--primary-dark);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: .2rem .55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-family: var(--font-body);
}

.product-card-actions {
    position: absolute;
    top: .7rem;
    right: .7rem;
    display: flex;
    flex-direction: column;
    gap: .4rem;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--transition);
}

.product-card:hover .product-card-actions { opacity:1; transform:translateX(0); }

.card-action-btn {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.96);
    border: none;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.card-action-btn:hover { background: var(--primary-dark); color: #fff; }

.product-card-body {
    padding: .9rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-cat-label {
    font-size: 10.5px;
    text-transform: uppercase;
    letter-spacing: .09em;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: .25rem;
    font-family: var(--font-body);
}

.product-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: .4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.38;
    font-family: var(--font-display);
}

.product-name a { color: inherit; }
.product-name a:hover { color: var(--primary-dark); }

.product-essential {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.45;
    margin-bottom: .4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-features {
    display: flex;
    gap: .35rem;
    margin-bottom: .5rem;
    flex-wrap: wrap;
}

.product-features span {
    font-size: 12.5px;
    color: var(--accent);
    background: var(--primary-light);
    padding: .15rem .45rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.price-current {
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-dark);
}

.price-original {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-discount {
    font-size: 11px;
    background: var(--primary-light);
    color: var(--primary-dark);
    font-weight: 700;
    padding: .15rem .4rem;
    border-radius: 4px;
    margin-left: auto;
}

.price-from {
    font-size: 11px;
    color: var(--text-muted);
    align-self: flex-end;
    margin-bottom: 2px;
}

.product-card-footer {
    padding: .7rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--surface-2);
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 100%;
    padding: .55rem;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    letter-spacing: .02em;
}

.btn-add-cart:hover { background: var(--primary-dark); color: #fff; }

/* ── Kategorie-Karten ───────────────────────────────────── */
.category-card {
    background: var(--surface);
    border-radius: var(--radius-lg);
    padding: 1.4rem 1rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: block;
    color: inherit;
    text-decoration: none;
}

.category-card:hover {
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    color: var(--primary-dark);
}

.category-card-icon {
    width: 54px;
    height: 54px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--primary-dark);
    margin: 0 auto .75rem;
    transition: var(--transition);
}

.category-card:hover .category-card-icon { background: var(--primary-dark); color: #fff; }

.category-card-name { font-weight: 700; font-size: 13.5px; margin-bottom: .2rem; font-family: var(--font-display); }
.category-card-count { font-size: 12px; color: var(--text-muted); }

/* ── Kategorie-Seite ────────────────────────────────────── */
.category-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0 1.5rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -.025em;
    margin-bottom: .3rem;
    font-style: italic;
    color: var(--secondary);
}

.toolbar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: .7rem 0;
    position: sticky;
    top: calc(var(--header-height) + var(--nav-height));
    z-index: 100;
}

.toolbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.result-count { font-size: 13.5px; color: var(--text-muted); }
.result-count strong { color: var(--text); }

.sort-select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: .4rem .8rem;
    font-size: 13.5px;
    font-family: var(--font-body);
    cursor: pointer;
    background: var(--surface);
    color: var(--text);
}

.sort-select:focus { outline: none; border-color: var(--primary-dark); }

/* ── Paginierung ────────────────────────────────────────── */
.pagination-wrap { display:flex; justify-content:center; padding: 2.5rem 0; }

.pagination .page-link {
    border-radius: var(--radius-sm) !important;
    margin: 0 2px;
    color: var(--text);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    font-size: 13.5px;
    font-weight: 600;
    min-width: 38px;
    text-align: center;
    padding: .45rem .75rem;
    transition: var(--transition);
    background: var(--surface);
}

.pagination .page-link:hover {
    background: var(--primary-light);
    border-color: var(--primary-dark);
    color: var(--primary-dark);
}

.pagination .page-item.active .page-link {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-pink);
}

.pagination .page-item.disabled .page-link { color: var(--text-light); background: var(--surface-2); }

/* ── Produkt-Detailseite ────────────────────────────────── */
.product-detail-section { padding: 2.5rem 0 3rem; }

.product-gallery { position: sticky; top: calc(var(--header-height) + var(--nav-height) + 1rem); }

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-3);
    border: 1px solid var(--border);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-main img { width:100%; height:100%; object-fit:cover; }

.gallery-thumbs { display:flex; gap:.5rem; margin-top:.75rem; flex-wrap:wrap; }

.gallery-thumb {
    width: 68px;
    height: 68px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 2px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.gallery-thumb:hover,
.gallery-thumb.active { border-color: var(--primary-dark); }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; }

.product-detail-info { padding-left: 1rem; }

.product-brand {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: .4rem;
    font-family: var(--font-body);
}

.product-detail-title {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.18;
    margin-bottom: .75rem;
    color: var(--secondary);
    font-style: italic;
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.stars { color: var(--warning); font-size: 15px; letter-spacing: -.5px; }
.rating-value { font-weight: 700; font-size: 14.5px; }
.rating-divider { color: var(--border-dark); }

.price-block {
    display: flex;
    align-items: baseline;
    gap: .75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.price-main {
    font-size: 1.9rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--primary-dark);
}

.price-was { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }

.price-save-badge {
    background: #fff7e6;
    color: #a0600a;
    font-size: 12px;
    font-weight: 700;
    padding: .25rem .6rem;
    border-radius: 4px;
    font-family: var(--font-body);
}

.short-desc {
    font-size: 14.5px;
    color: var(--text-muted);
    line-height: 1.68;
    margin-bottom: 1.5rem;
}

/* Mengen-Auswahl */
.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 38px;
    height: 46px;
    border: none;
    background: var(--surface-3);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
}

.qty-btn:hover { background: var(--border); color: var(--primary-dark); }

.qty-input {
    width: 56px;
    height: 46px;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    background: #fff;
    color: var(--text);
}

.qty-input:focus { outline: none; }

/* CTA-Buttons */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .88rem 2rem;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    flex: 1;
    letter-spacing: .02em;
}

.btn-add-to-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-pink);
}

.btn-wishlist {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--surface);
    font-size: 18px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-wishlist:hover { border-color: var(--primary-dark); color: var(--primary-dark); background: var(--primary-light); }

.product-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 1.25rem;
}

.product-meta span { margin-right: 1.25rem; }
.product-meta strong { color: var(--text); }

/* Produkt-Tabs */
.product-tabs { margin-top: 2.5rem; }
.product-tabs .nav-tabs { border-bottom: 2px solid var(--border); }

.product-tabs .nav-link {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted) !important;
    padding: .75rem 1.25rem;
    border: none;
    background: none;
    height: auto;
    letter-spacing: .02em;
}

.product-tabs .nav-link.active {
    color: var(--primary-dark) !important;
    border-bottom: 2px solid var(--primary-dark);
    background: none;
    margin-bottom: -2px;
}

.product-tabs .tab-content { padding: 1.5rem 0; }

/* Attribut-Tabelle */
.attributes-table { width:100%; border-collapse:collapse; }
.attributes-table tr:nth-child(even) td { background: var(--surface-3); }
.attributes-table td { padding: .65rem .85rem; font-size: 14px; border: 1px solid var(--border); }
.attributes-table td:first-child { font-weight:600; color:var(--secondary); width:35%; background:var(--surface-3); }

/* ── Warenkorb ──────────────────────────────────────────── */
.cart-section { padding: 2rem 0 3rem; }

.cart-table th {
    font-family: var(--font-body);
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    font-weight: 700;
    padding: .75rem 1rem;
    border-bottom: 2px solid var(--border);
    background: var(--surface-3);
}

.cart-table td { padding: 1rem; vertical-align: middle; }
.cart-item-img { width:64px; height:64px; object-fit:cover; border-radius:var(--radius-sm); border:1px solid var(--border); }
.cart-item-name { font-weight:600; font-size:14.5px; font-family:var(--font-display); color:var(--secondary); }
.cart-item-remove { color:var(--text-muted); font-size:16px; cursor:pointer; }
.cart-item-remove:hover { color:var(--primary-dark); }

/* Bestellübersicht */
.order-summary {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
}

.order-summary-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    padding-bottom: .75rem;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-display);
    color: var(--secondary);
    font-style: italic;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: .6rem;
    color: var(--text);
}

.summary-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-display);
    border-top: 1px solid var(--border);
    padding-top: .75rem;
    margin-top: .5rem;
}

.btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    width: 100%;
    padding: .9rem;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    text-decoration: none;
    letter-spacing: .02em;
}

.btn-checkout:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: var(--shadow-pink);
}

/* ── Lagerstatus ────────────────────────────────────────── */
.badge-stock-ok  { background:#e8f5e8; color:#2d6a2d; font-size:12px; padding:.25rem .6rem; border-radius:4px; font-weight:600; }
.badge-stock-low { background:#fff3e0; color:#9a5700; font-size:12px; padding:.25rem .6rem; border-radius:4px; font-weight:600; }
.badge-stock-out { background:#fce8e8; color:#9a2020; font-size:12px; padding:.25rem .6rem; border-radius:4px; font-weight:600; }

/* Trust-Badge (im Text) */
.trust-badge {
    background: var(--surface-3);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 11.5px;
    padding: .3rem .65rem;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: .3rem;
}

/* ── Footer ─────────────────────────────────────────────── */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,.72);
    margin-top: auto;
}

.footer-top { padding: 3rem 0 2rem; }

.footer-heading {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #fff;
    margin-bottom: 1rem;
    font-style: italic;
}

.footer-tagline { font-size:13.5px; color:rgba(255,255,255,.52); line-height:1.65; margin-bottom:1.25rem; }

.footer-links { list-style:none; padding:0; margin:0; }
.footer-links li { margin-bottom: .45rem; }
.footer-links a { font-size:13.5px; color:rgba(255,255,255,.52); transition:var(--transition); }
.footer-links a:hover { color:var(--primary-muted); }

.footer-social { display:flex; gap:.5rem; }

.social-link {
    width: 34px;
    height: 34px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,.65);
    font-size: 15px;
    transition: var(--transition);
}

.social-link:hover { background: var(--primary-dark); color: #fff; }

.newsletter-form .form-control {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    font-size: 13.5px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.newsletter-form .form-control::placeholder { color:rgba(255,255,255,.38); }
.newsletter-form .form-control:focus { background:rgba(255,255,255,.12); border-color:var(--primary-dark); box-shadow:none; color:#fff; }
.newsletter-form .btn-primary { background:var(--primary-dark); border-color:var(--primary-dark); font-weight:700; font-size:13.5px; }
.newsletter-form .btn-primary:hover { background:var(--primary-dark); border-color:var(--primary-dark); }

.footer-bottom { border-top:1px solid rgba(255,255,255,.08); padding:1.25rem 0; }
.footer-bottom a { color:rgba(255,255,255,.42); font-size:12.5px; transition:var(--transition); }
.footer-bottom a:hover { color:rgba(255,255,255,.8); }

/* ── Leere Zustände ─────────────────────────────────────── */
.empty-state { text-align:center; padding:4rem 1rem; color:var(--text-muted); }
.empty-state-icon { font-size:3rem; color:var(--border-dark); margin-bottom:1rem; }

/* ── Testmodus-Banner ───────────────────────────────────── */
.testmode-banner {
    background: repeating-linear-gradient(
        -45deg,
        #f59e0b 0px, #f59e0b 10px,
        #fbbf24 10px, #fbbf24 20px
    );
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-body);
    padding: .5rem 0;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 2px solid #d97706;
}

.testmode-banner code {
    background: rgba(0,0,0,.12);
    padding: .1rem .4rem;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    color: #1a1a1a;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .main-nav { top: var(--header-height); }
    .toolbar  { top: calc(var(--header-height) + 52px); }
    .product-gallery { position: static; }
    .product-detail-info { padding-left: 0; margin-top: 1.5rem; }
}

@media (max-width: 575.98px) {
    .hero-section { padding: 3rem 0 2.5rem; }
    .section { padding: 2rem 0; }
    .product-detail-title { font-size: 1.5rem; }
    .price-main { font-size: 1.5rem; }
    .category-title { font-size: 1.5rem; }
}

/* ── Wunschliste – aktiver Herzchen-Zustand ─────────────────── */
.wishlist-active i                 { color: var(--primary-dark); }
.btn-wishlist.wishlist-active      { border-color: var(--primary-dark); color: var(--primary-dark); }
.card-action-btn.wishlist-active   { color: var(--primary-dark); }

/* ── Rechtstexte (Impressum, AGB, Datenschutz …) ────────────── */
.legal-section {
    padding: 3rem 0 4rem;
    background: var(--surface-2);
}
.legal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-top: 3px solid var(--primary-dark);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    max-width: 860px;
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text);
    box-shadow: var(--shadow-sm);
}
.legal-content strong {
    color: var(--secondary);
}
.legal-content a {
    color: var(--primary-dark);
    word-break: break-all;
}
.legal-content a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}
.legal-content hr {
    border-color: var(--primary-light);
    border-width: 2px;
    margin: 2rem 0;
}
@media (max-width: 575.98px) {
    .legal-content { padding: 1.5rem 1rem; }
}
.card-action-btn.wishlist-active:hover { background: var(--primary-light); }
