:root {
    --canvas: #F8FAF7;
    --surface: #FFFFFF;
    --surface-alt: #F1F5EE;
    --border-subtle: #D5DDD2;
    --border-input: #6B7280;
    --brand-accent: #8CC63F;
    --brand-ink: #1C251C;
    --action-primary: #2E6B1E;
    --action-hover: #235316;
    --ink-primary: #18201B;
    --ink-secondary: #4B5563;
    --ink-muted: #59636E;
    --footer-bg: #1E2520;
    --footer-accent: #B4E275;
    --elektro-ink: #0F4C81;
    --elektro-bg: #EBF3FA;
    --elektro-accent: #154B7A;
    --toy-ink: #9A3412;
    --toy-bg: #FFF3E6;
    --toy-accent: #C2410C;
    --used-ink: #7C4A03;
    --used-bg: #FEF3C7;
    --new-ink: #166534;
    --new-bg: #DCFCE7;
    --sale-bg: #C81E1E;
    --z-header: 100;
    --z-sticky-buy: 200;
    --z-megamenu: 300;
    --z-drawer: 400;
    --z-modal: 500;
    --z-cmp: 900;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --shadow-sm: 0 1px 3px rgba(24, 32, 27, 0.08);
    --shadow-md: 0 8px 24px rgba(24, 32, 27, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-color: var(--canvas);
    color: var(--ink-primary);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--action-primary);
    text-decoration: none;
}

a:hover {
    color: var(--action-hover);
}

.entry-content p a,
.entry-content li a,
.woocommerce-Tabs-panel a,
.michl-thankyou-review a {
    text-decoration: underline;
    text-underline-offset: 2px;
}

:focus-visible {
    outline: 2px solid var(--action-primary);
    outline-offset: 2px;
}

.michl-tabular,
.price,
.woocommerce-Price-amount {
    font-variant-numeric: tabular-nums;
}

.michl-container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* === Real Cookie Banner Z-Index Overlay Guard === */
body div[id^="real-cookie-banner"],
body div[class*="rcb-banner"],
.rcb-overlay {
    z-index: var(--z-cmp) !important;
}

/* === Buttons === */
.michl-btn,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    text-decoration: none !important;
}

.michl-btn-primary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce button.single_add_to_cart_button,
.woocommerce ul.products li.product a.add_to_cart_button {
    background-color: var(--action-primary) !important;
    color: #FFFFFF !important;
    border-color: var(--action-primary) !important;
}

.michl-btn-primary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce button.single_add_to_cart_button:hover,
.woocommerce ul.products li.product a.add_to_cart_button:hover {
    background-color: var(--action-hover) !important;
    border-color: var(--action-hover) !important;
    color: #FFFFFF !important;
}

.michl-btn-outline {
    background-color: var(--surface) !important;
    color: var(--ink-primary) !important;
    border: 2px solid var(--border-input) !important;
}

.michl-btn-outline:hover {
    background-color: var(--surface-alt) !important;
    border-color: var(--ink-primary) !important;
}

.michl-btn-sm {
    min-height: 36px;
    padding: 7px 12px;
    font-size: 13.5px;
}

.michl-btn-full {
    width: 100%;
    text-align: center;
}

.michl-btn-withdrawal {
    background-color: var(--brand-accent);
    color: var(--brand-ink) !important;
    border-color: var(--brand-accent);
    font-weight: 700;
}

.michl-btn-withdrawal:hover {
    background-color: #9DD356;
    color: var(--brand-ink) !important;
}

/* === Badges === */
.michl-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.michl-badge-elektro { background: var(--elektro-bg); color: var(--elektro-ink); }
.michl-badge-toy     { background: var(--toy-bg); color: var(--toy-ink); }
.michl-badge-used    { background: var(--used-bg); color: var(--used-ink); }
.michl-badge-new     { background: var(--new-bg); color: var(--new-ink); }
.michl-badge-sale    { background: var(--sale-bg); color: #FFFFFF; }
.michl-badge-oos     { background: #E5E7EB; color: #1F2937; }

/* === Header & Topbar === */
.michl-site-header {
    position: relative;
    z-index: var(--z-header);
    background: var(--surface);
    border-bottom: 1px solid var(--border-subtle);
}

.michl-topbar {
    background: var(--footer-bg);
    color: #F3F6F1;
    font-size: 12.5px;
    line-height: 1.3;
    padding: 6px 0;
}

.michl-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.michl-topbar strong {
    color: var(--footer-accent);
}

.michl-mainbar {
    background: var(--surface);
    padding: 10px 0;
}

.michl-mainbar-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.michl-logo-link {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.michl-logo-link img {
    display: block;
    height: auto;
    max-height: 54px;
    width: auto;
}

.michl-header-search-wrap {
    position: relative;
    flex: 1 1 360px;
    max-width: 620px;
}

.michl-instant-search-form {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--border-input);
    border-radius: var(--radius-sm);
    background: var(--surface);
    overflow: hidden;
}

.michl-instant-search-form:focus-within {
    border-color: var(--action-primary);
}

.michl-search-input {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 44px;
    padding: 8px 12px;
    border: none !important;
    background: transparent !important;
    font-size: 15px;
    color: var(--ink-primary);
    box-shadow: none !important;
}

.michl-search-input:focus {
    outline: none;
}

.michl-search-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 44px;
    padding: 0 14px;
    border: none;
    background: var(--action-primary);
    color: #FFFFFF;
    cursor: pointer;
}

.michl-search-submit:hover {
    background: var(--action-hover);
}

.michl-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    z-index: var(--z-megamenu);
    background: var(--surface);
    border: 2px solid var(--border-input);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-height: 70vh;
    overflow-y: auto;
}

.michl-sd-header {
    padding: 8px 14px;
    background: var(--surface-alt);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--ink-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

.michl-sd-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--ink-primary);
}

.michl-sd-item:hover,
.michl-sd-item.is-active {
    background: var(--surface-alt);
}

.michl-sd-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    background: #FFFFFF;
    flex-shrink: 0;
}

.michl-sd-info {
    flex: 1 1 auto;
    min-width: 0;
}

.michl-sd-title {
    display: block;
    font-weight: 600;
    font-size: 14px;
    color: var(--ink-primary);
}

.michl-sd-sub {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin-top: 3px;
    font-size: 12px;
    color: var(--ink-secondary);
}

.michl-sd-price {
    font-weight: 700;
    font-size: 14.5px;
    color: var(--ink-primary);
    flex-shrink: 0;
}

.michl-sd-footer {
    padding: 8px 14px;
    background: var(--canvas);
    font-size: 12px;
    color: var(--ink-secondary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.michl-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.michl-header-action-link,
.michl-cart-trigger,
.michl-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-subtle);
    background: var(--surface);
    color: var(--ink-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.michl-header-action-link:hover,
.michl-cart-trigger:hover {
    border-color: var(--border-input);
    background: var(--surface-alt);
}

.michl-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--brand-accent);
    color: var(--brand-ink);
    font-weight: 700;
    font-size: 12.5px;
}

.michl-mobile-menu-toggle {
    display: none;
    padding: 6px 10px;
}

/* === Desktop Mega-Menu === */
.michl-desktop-nav {
    background: var(--brand-accent);
    border-top: 1px solid #7DB534;
    border-bottom: 1px solid #75AA2E;
}

.michl-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 4px;
}

.michl-nav-item {
    position: relative;
}

.michl-nav-item > a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    color: var(--brand-ink);
    font-size: 14.5px;
    font-weight: 700;
    border-radius: 4px;
}

.michl-nav-item > a:hover,
.michl-nav-item.is-open > a {
    background: rgba(255, 255, 255, 0.35);
    color: var(--brand-ink);
}

.michl-world-dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    display: inline-block;
}
.michl-dot-elektro { background: var(--elektro-accent); }
.michl-dot-toy     { background: var(--toy-accent); }

.michl-megamenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 780px;
    max-width: 92vw;
    z-index: var(--z-megamenu);
    background: var(--surface);
    border: 1px solid var(--border-input);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-md);
    padding: 20px;
}

.michl-nav-item.is-open .michl-megamenu,
.michl-nav-item:hover .michl-megamenu,
.michl-nav-item:focus-within .michl-megamenu {
    display: block;
}

.michl-mega-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.1fr;
    gap: 20px;
}

.michl-mega-heading {
    margin: 0 0 10px 0;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--ink-secondary);
}

.michl-mega-grid ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.michl-mega-grid li a {
    display: block;
    padding: 6px 0;
    color: var(--ink-primary);
    font-weight: 500;
    font-size: 14.5px;
}

.michl-mega-grid li a:hover {
    color: var(--action-primary);
    text-decoration: underline;
}

.michl-mega-callout {
    padding: 16px;
    border-radius: var(--radius-md);
    background: var(--surface-alt);
    border-left: 4px solid var(--action-primary);
}
.michl-callout-elektro { background: var(--elektro-bg); border-left-color: var(--elektro-accent); }
.michl-callout-toy     { background: var(--toy-bg); border-left-color: var(--toy-accent); }
.michl-mega-callout p  { font-size: 13.5px; color: var(--ink-primary); margin: 0 0 12px 0; }

/* === Homepage Hero & Sections (used with Elementor Pro Flexbox Containers + Shortcode) === */
.michl-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 28px;
}

.michl-hero-card {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-top: 5px solid var(--action-primary);
    border-radius: var(--radius-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.michl-hero-elektro { border-top-color: var(--elektro-accent); }
.michl-hero-toy     { border-top-color: var(--toy-accent); }

.michl-hero-card h1,
.michl-hero-card h2 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 28px);
    line-height: 1.22;
    color: var(--ink-primary);
}

.michl-hero-card p {
    margin: 0;
    font-size: 15px;
    color: var(--ink-secondary);
}

.michl-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 6px 0;
}

.michl-chip-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 5px 11px;
    background: var(--surface-alt);
    border: 1px solid var(--border-input);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-primary);
}

.michl-chip-link:hover {
    background: var(--brand-accent);
    color: var(--brand-ink);
    border-color: var(--brand-ink);
}

.michl-hide-mobile-card { }

/* === WooCommerce Layout & Product Cards (PLP & Shortcode) === */
#main-content {
    padding-top: 24px;
    padding-bottom: 40px;
}

body.home #main-content,
body.page-template-default #main-content {
    padding-top: 20px;
}

.woocommerce ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
    content: none !important;
}

.woocommerce ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 14px !important;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    float: none !important;
    box-shadow: var(--shadow-sm);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.woocommerce ul.products li.product img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #F4F6F3;
    border-radius: var(--radius-sm);
    margin: 0 0 10px 0 !important;
}

.michl-card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.michl-card-meta {
    font-size: 12px;
    color: var(--ink-secondary);
    margin-bottom: 4px;
    min-height: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: var(--ink-primary) !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.michl-card-stock-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--new-ink);
    margin-bottom: 6px;
}

.michl-dot-ok {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #16A34A;
    display: inline-block;
    flex-shrink: 0;
}

.woocommerce ul.products li.product .price {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: var(--ink-primary) !important;
    margin: 4px 0 !important;
}

.woocommerce ul.products li.product .price del {
    color: var(--ink-muted);
    font-weight: 400;
    font-size: 14px;
}

.woocommerce ul.products li.product .wc-gzd-additional-info {
    font-size: 12px !important;
    color: var(--ink-secondary) !important;
    line-height: 1.35;
    margin: 2px 0 !important;
}

.woocommerce ul.products li.product a.button {
    width: 100%;
    margin-top: 10px !important;
}

/* === PLP Subcategory Pills & Filters === */
.michl-subcat-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding: 6px 0 12px 0;
    -webkit-overflow-scrolling: touch;
}

.michl-pill-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    min-height: 36px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border-input);
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-primary);
}

.michl-pill-link:hover {
    background: var(--brand-accent);
    color: var(--brand-ink);
    border-color: var(--brand-ink);
}

.michl-brand-disclaimer {
    margin: 0 0 12px 0;
    padding: 8px 12px;
    background: var(--surface-alt);
    border-left: 3px solid var(--toy-accent);
    border-radius: 4px;
    font-size: 13px;
    color: var(--ink-secondary);
}

.michl-plp-toolbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 8px 0 14px 0;
}

.michl-plp-count {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-secondary);
}

.michl-filter-form {
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}

.michl-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.michl-filter-heading {
    margin: 0;
    font-size: 17px;
}

.michl-filter-reset {
    font-size: 13px;
    text-decoration: underline;
}

.michl-filter-group {
    border: none;
    border-top: 1px solid var(--border-subtle);
    padding: 12px 0;
    margin: 0;
}

.michl-filter-group legend {
    font-size: 14px;
    font-weight: 700;
    color: var(--ink-primary);
    padding: 0;
    margin-bottom: 6px;
}

.michl-check-row {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    font-size: 13.5px;
    color: var(--ink-primary);
    cursor: pointer;
}

.michl-check-row input {
    width: 18px;
    height: 18px;
    accent-color: var(--action-primary);
}

.michl-price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.michl-price-inputs input,
.michl-brand-filter-input {
    width: 100%;
    min-height: 38px;
    padding: 6px 10px;
    border: 2px solid var(--border-input);
    border-radius: var(--radius-sm);
    font-size: 14px;
}

.michl-brand-filter-input {
    margin-bottom: 8px;
}

.michl-brand-list {
    max-height: 210px;
    overflow-y: auto;
}

/* === PDP Buy-Box, Zustand, OOS & Sticky Bar === */
.michl-pdp-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.michl-pdp-sku {
    font-size: 13px;
    color: var(--ink-secondary);
}

.michl-prag-minprice {
    margin: 4px 0 8px 0;
    font-size: 13.5px;
    color: var(--ink-secondary);
}

.michl-pdp-used-box {
    margin: 12px 0;
    padding: 12px 14px;
    background: var(--used-bg);
    border: 1px solid #F59E0B;
    border-left: 4px solid var(--used-ink);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    color: var(--ink-primary);
    line-height: 1.45;
}

.michl-pdp-safety-box {
    margin: 10px 0;
    padding: 10px 14px;
    background: var(--toy-bg);
    border-left: 4px solid var(--toy-accent);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}

.michl-pdp-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0 12px 0;
    padding: 6px 12px;
    background: var(--new-bg);
    color: var(--new-ink);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}

body.michl-single-stock-item form.cart .quantity {
    display: none !important;
}

.michl-product-usp {
    margin: 16px 0;
    padding: 14px;
    background: var(--surface-alt);
    border: 1px solid var(--border-subtle);
    border-left: 4px solid var(--brand-accent);
    border-radius: var(--radius-sm);
    font-size: 13.5px;
}

.michl-product-usp-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 6px;
}

.michl-product-usp-check {
    color: var(--action-primary);
    font-weight: 700;
}

.michl-pdp-pay-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}

.michl-pay-chip {
    display: inline-flex;
    align-items: center;
    padding: 3px 8px;
    background: var(--surface);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-primary);
}

/* === OOS Recovery === */
body.michl-oos-product .stock.out-of-stock,
body.michl-oos-product .wc-gzd-additional-info.delivery-time-info {
    display: none !important;
}

.michl-oos-box {
    margin: 14px 0 20px 0;
    padding: 16px;
    background: var(--surface-alt);
    border: 2px solid var(--border-input);
    border-radius: var(--radius-md);
}

.michl-oos-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--ink-primary);
}

.michl-oos-sub {
    margin: 0 0 12px 0;
    font-size: 14px;
    color: var(--ink-secondary);
}

.michl-oos-form-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.michl-oos-form-row input[type="email"] {
    flex: 1 1 220px;
    min-height: 44px;
    padding: 8px 12px;
    border: 2px solid var(--border-input);
    border-radius: var(--radius-sm);
    font-size: 14.5px;
}

.michl-oos-note {
    display: block;
    margin-top: 8px;
    font-size: 12.5px;
    color: var(--ink-secondary);
}

.michl-oos-feedback {
    margin-top: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--action-primary);
}

.michl-oos-alternatives {
    margin-bottom: 28px;
}

.michl-oos-alternatives h2 {
    font-size: 20px;
    margin-bottom: 14px;
}

/* === Sticky Mobile PDP Bar === */
.michl-sticky-buy {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: var(--z-sticky-buy);
    background: var(--surface);
    border-top: 2px solid var(--brand-accent);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.michl-sticky-buy[hidden] {
    display: none !important;
}

.michl-sticky-buy-info strong {
    display: block;
    font-size: 17px;
    color: var(--ink-primary);
}

.michl-sticky-buy-info small {
    font-size: 12px;
    color: var(--new-ink);
    font-weight: 600;
}

/* === Drawers (Mobile Nav, PLP Filter, Slide-Out Mini-Cart) === */
.michl-drawer {
    position: fixed;
    inset: 0;
    z-index: var(--z-drawer);
    display: flex;
}

.michl-drawer[hidden] {
    display: none !important;
}

.michl-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(24, 32, 27, 0.55);
}

.michl-drawer-panel {
    position: relative;
    z-index: 1;
    width: min(410px, 92vw);
    height: 100%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-md);
}

.michl-drawer-right {
    justify-content: flex-end;
}

.michl-drawer-left {
    justify-content: flex-start;
}

.michl-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 17px;
}

.michl-drawer-close {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-input);
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--ink-primary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.michl-drawer-body {
    flex: 1 1 auto;
    overflow-y: auto;
    padding: 16px 18px;
}

/* Mini-Cart Contents */
.michl-ship-progress {
    padding: 12px;
    background: var(--surface-alt);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
    font-size: 13.5px;
}
.michl-ship-progress p { margin: 0 0 4px 0; }
.michl-ship-de-note { font-size: 12px; color: var(--ink-secondary); }
.michl-progress-track { height: 8px; background: #DCE4D8; border-radius: 999px; overflow: hidden; margin-top: 6px; }
.michl-progress-bar { height: 100%; background: var(--action-primary); transition: width 0.25s ease; }

.michl-minicart-items {
    list-style: none;
    margin: 0 0 16px 0;
    padding: 0;
}

.michl-mc-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.michl-mc-thumb img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #F4F6F3;
    border-radius: 6px;
}

.michl-mc-details { flex: 1 1 auto; min-width: 0; }
.michl-mc-title { display: block; font-size: 14px; font-weight: 600; color: var(--ink-primary); margin-bottom: 3px; }
.michl-mc-cond { display: inline-block; font-size: 11.5px; font-weight: 700; color: var(--used-ink); background: var(--used-bg); padding: 2px 6px; border-radius: 4px; margin-bottom: 6px; }
.michl-mc-row { display: flex; align-items: center; gap: 10px; }
.michl-mc-stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-input); border-radius: var(--radius-sm); }
.michl-qty-btn { min-width: 38px; min-height: 38px; border: none; background: transparent; font-size: 18px; font-weight: 700; cursor: pointer; color: var(--ink-primary); }
.michl-mc-stepper span { min-width: 26px; text-align: center; font-weight: 600; font-size: 14px; }
.michl-mc-price { font-weight: 700; margin-left: auto; font-size: 14.5px; }
.michl-mc-remove { min-width: 34px; min-height: 34px; border: none; background: transparent; color: var(--ink-secondary); font-size: 20px; cursor: pointer; }

.michl-mc-xsell { margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--border-subtle); }
.michl-mc-xsell-title { margin: 0 0 8px 0; font-size: 13px; font-weight: 700; text-transform: uppercase; color: var(--ink-secondary); }
.michl-xsell-card { display: flex; align-items: center; gap: 10px; padding: 8px; border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); margin-bottom: 8px; }
.michl-xsell-card img { width: 44px; height: 44px; object-fit: contain; }
.michl-xsell-info { flex: 1 1 auto; min-width: 0; font-size: 13px; }
.michl-xsell-info a { display: block; font-weight: 600; color: var(--ink-primary); }

.michl-mc-footer { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; border-top: 2px solid var(--border-subtle); }
.michl-mc-subtotal { display: flex; justify-content: space-between; font-size: 16px; }
.michl-mc-prag { margin: 0 0 4px 0; font-size: 12px; color: var(--ink-secondary); }

/* Mobile Nav List */
.michl-mobile-cat-title { margin: 14px 0 6px 0; font-size: 12.5px; font-weight: 700; text-transform: uppercase; color: var(--ink-secondary); }
.michl-mobile-nav-list { list-style: none; margin: 0; padding: 0; }
.michl-mobile-nav-list li a { display: block; padding: 9px 4px; border-bottom: 1px solid var(--border-subtle); color: var(--ink-primary); font-weight: 600; font-size: 15px; }

/* === Distraction-Free Classic Checkout & B2B Toggle === */
.michl-checkout-header {
    background: var(--surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 12px 0;
}
.michl-checkout-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.michl-checkout-trust {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-secondary);
}

.michl-b2b-toggle-box {
    margin: 0 0 14px 0;
    padding: 12px 14px;
    background: var(--elektro-bg);
    border: 1px solid var(--elektro-accent);
    border-radius: var(--radius-sm);
}
.michl-b2b-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
}
.michl-b2b-toggle-label input { width: 18px; height: 18px; accent-color: var(--elektro-accent); }

.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border: 2px solid var(--border-input) !important;
    border-radius: var(--radius-sm) !important;
    padding: 10px 12px !important;
    min-height: 44px;
}

@media (min-width: 900px) {
    body.woocommerce-checkout form.woocommerce-checkout {
        display: grid;
        grid-template-columns: 1.25fr 0.95fr;
        gap: 28px;
        align-items: start;
    }
    body.woocommerce-checkout form.woocommerce-checkout .col2-set {
        width: 100% !important;
        float: none !important;
    }
    body.woocommerce-checkout form.woocommerce-checkout .col2-set .col-1,
    body.woocommerce-checkout form.woocommerce-checkout .col2-set .col-2 {
        width: 100% !important;
        float: none !important;
    }
    body.woocommerce-checkout form.woocommerce-checkout #order_review {
        width: 100% !important;
        float: none !important;
        position: sticky;
        top: 20px;
        background: var(--surface);
        border: 1px solid var(--border-subtle);
        border-radius: var(--radius-md);
        padding: 20px;
    }
}

/* === Thank-You Review === */
.michl-thankyou-review {
    margin: 18px 0;
    padding: 14px 16px;
    background: var(--new-bg);
    border: 1px solid var(--action-primary);
    border-radius: var(--radius-sm);
}

/* === Footer === */
.michl-site-footer {
    background: var(--footer-bg);
    color: #E5ECE2;
    padding: 36px 0 22px 0;
    font-size: 14px;
}

.michl-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.michl-footer-heading {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--footer-accent);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.michl-site-footer a {
    color: #E5ECE2;
}

.michl-site-footer a:hover {
    color: var(--footer-accent);
    text-decoration: underline;
}

.michl-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.michl-footer-links li {
    margin-bottom: 6px;
}

.michl-footer-consent-btn {
    background: transparent;
    border: 1px solid var(--footer-accent);
    color: var(--footer-accent);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
}

.michl-footer-badge {
    margin-top: 10px;
}

.michl-footer-bottom {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #354138;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12.5px;
    color: #B7C4B3;
}

/* === Responsive (Tablet & Mobile <= 767px) === */
@media (max-width: 1023px) {
    .woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
    .michl-footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .michl-hide-sm,
    .michl-desktop-nav,
    .michl-hide-mobile-card {
        display: none !important;
    }
    .michl-mobile-menu-toggle {
        display: inline-flex;
    }
    .michl-mainbar-inner {
        gap: 10px;
    }
    .michl-logo-link img {
        max-height: 44px;
    }
    /* Permanente Mobile-Suchleiste direkt unter der Logo-Zeile Above-the-Fold */
    .michl-header-search-wrap {
        order: 10;
        flex: 1 0 100%;
        max-width: 100%;
    }
    .michl-hero-grid {
        grid-template-columns: 1fr;
    }
    .michl-hero-card {
        padding: 18px;
    }
    .woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .woocommerce ul.products li.product {
        padding: 10px !important;
    }
    .michl-plp-toolbar {
        display: flex;
    }
    #sidebar,
    aside#secondary {
        display: none !important;
    }
    .michl-footer-grid {
        grid-template-columns: 1fr;
    }
    body.single-product #main-content {
        padding-bottom: 84px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .michl-site-header,
    .michl-site-footer,
    .michl-sticky-buy,
    .michl-drawer,
    .michl-product-usp,
    .michl-plp-toolbar,
    #sidebar,
    aside#secondary {
        display: none !important;
    }
    body {
        background: #FFFFFF;
        color: #000000;
    }
}
