/* Astron Electro shell fixes on top of static theme.css (header/footer/toast/cookie). theme.css stays verbatim. */

/* toast: DaisyUI .toast forces nowrap -> long messages ran off-screen; keep 2-3 lines max */
.mk-toast { gap: 0; }
.mk-toast .alert { white-space: normal; text-align: left; grid-auto-flow: column; line-height: 1.35; }
.mk-toast .alert span { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mk-toast:empty { display: none; padding: 0; }
/* toast icon: bigger, left, vertically centred with the text */
.mk-toast .alert { display: flex !important; align-items: center !important; gap: 14px; }
.mk-toast .alert > i:first-child { flex: 0 0 26px; width: 26px; font-size: 22px; line-height: 1; text-align: center; align-self: center; margin: 0; }
.mk-toast .alert > span { flex: 1 1 auto; min-width: 0; }
.mk-toast .alert > button { flex: 0 0 auto; align-self: center; font-size: 18px; line-height: 1; padding: 2px; }
@media (max-width: 767px) {
  .mk-toast.toast { left: 10px !important; right: auto !important; transform: none !important; translate: none !important; width: calc(100% - 20px) !important; min-width: 0; padding: 10px 0; }
  .mk-toast .alert { width: 100%; max-width: 100%; box-sizing: border-box; }
}

/* header badges glued to the icon corner, no jump */
.mk-hicon .indicator-item { transition: none; animation: none; }

/* no underline on hover, no focus ring anywhere */
a:hover { text-decoration: none; }
.input:focus, .input:focus-within, .select:focus, .textarea:focus, .checkbox:focus, .join-item:focus { outline: none !important; box-shadow: none !important; }

/* search field text is visible, suggestions without scrollbar */
.mk-search .mk-lupe { pointer-events: auto; cursor: pointer; }
.mk-suggest { max-height: none; }

/* mega menu: hover intent (stays ~250 ms after the pointer leaves, then closes) */
.mk-nav-item .mk-mega { display: block; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .12s ease .22s, visibility 0s linear .34s; }
.mk-nav-item:hover .mk-mega { visibility: visible; opacity: 1; pointer-events: auto; transition-delay: .08s, 0s; }

/* ===== section-01-header: 1:1 with live Astron Electro (measured 1440/390, qa/global/section-01-header) ===== */
.mk-header .mk-topbar { font-size: 13.67px; }
.mk-header .mk-topbar a { color: #fff; padding: 0; }
.mk-header .mk-topbar .sep { color: #fff; opacity: 1; padding: 0 3px; }
.mk-header .mk-mainrow { height: 74px; padding-top: 24px; box-sizing: border-box; gap: 30px; }
.mk-header .mk-mainrow > .mk-desktop-only { gap: 30px !important; }
.mk-header .mk-logo img { height: 43px; }
.mk-header .mk-search { flex: 0 1 536px; max-width: 536px; }
.mk-header .mk-search .mk-lupe { left: 20px; }
.mk-header .mk-search .input { padding-left: 63px; }
.mk-header .mk-search .btn, .mk-header .mk-search .btn:hover { background: #9f050d; border-color: #9f050d; color: #fff; font-size: 12px; padding: 0 12px 0 14px; width: 68px; flex: 0 0 68px; }
.mk-header .mk-search .btn:hover { background: #7d0309; border-color: #7d0309; }
.mk-header .mk-filiale { color: #9f050d; text-align: center; font-size: 15px; line-height: 20px; padding-top: 6px; align-self: center; }
.mk-header .mk-filiale [role="button"] .font-semibold { font-weight: 400; }
.mk-header .mk-filiale [role="button"] i { color: #777; font-size: 10px; margin-left: 2px; vertical-align: 2px; }
.mk-header .mk-filiale .dropdown-content { text-align: left; color: #26316d; }
.mk-header .mk-icons { gap: 15px; align-items: flex-end; align-self: center; }
.mk-header .mk-hicon { gap: 6px; line-height: 17px; }
.mk-header .mk-hicon .lbl { font-size: 12.5px; }
.mk-header .mk-hicon i { font-size: 25px; line-height: 25px; height: 25px; }
.mk-header .mk-ico-compare { width: 22px; height: 25px; display: block; }
.mk-header .mk-land { cursor: default; }
.mk-header .mk-land .lbl { display: inline-flex; align-items: center; gap: 6px; }
.mk-header .mk-flag { width: 22px; height: 14px; display: block; }
.mk-header nav[data-source-block] { border-top: 0 !important; }
.mk-header .mk-nav > label.mk-nav-link { display: none; }
.mk-header .mk-nav { gap: 0; }
@keyframes mk-topbar-marquee { from { transform: translateX(390px); } to { transform: translateX(-1010px); } }
@media (max-width: 1023px) {
  .mk-header .mk-container { padding: 0 15px; }
  .mk-header .mk-topbar { height: 22px; font-size: 12px; justify-content: flex-start; }
  .mk-header .mk-topbar > * { flex-shrink: 0; animation: mk-topbar-marquee 28s linear infinite; }
  .mk-header .mk-topbar .mk-hide-m { display: inline; }
  .mk-header .mk-mainrow { height: 66px; padding-top: 0; gap: 10px; }
  .mk-header .mk-logo img { height: 40px; }
  .mk-header .mk-icons { gap: 10px; align-items: center; }
  .mk-header .mk-hicon { min-width: 22px; }
  .mk-header .mk-hicon i { font-size: 22px; line-height: 22px; height: 22px; }
  .mk-header .mk-ico-compare { width: 22px; height: 22px; }
  .mk-header .mk-land span.lbl { display: inline-flex; }
  .mk-header .mk-land-t { display: none; }
  .mk-header .mk-burger { order: 10; font-size: 21px; line-height: 20px; padding: 0; color: #9f050d; }
  .mk-header .mk-searchrow { padding: 2px 0 15px; }
}

/* footer background reaches the bottom edge */
body { margin: 0; }

/* ===== routine 1: global style ===== */
/* toasts: opaque at once (DaisyUI toast pop animation started at opacity .2) */
.mk-toast > *, .mk-toast .alert { animation: none !important; opacity: 1 !important; transition: none; }
/* no underlined text anywhere on the site (normal, hover, focus) */
a, a:hover, a:focus, a:active, a:visited, u, ins, abbr, .link, .link:hover, .underline, .hover\:underline:hover, .mk-ft-col a:hover,
button, button:hover, label:hover { text-decoration: none !important; }
/* buttons and fields: one slight radius everywhere (overrides rounded-none / theme radius 0) */
[data-theme="astron"] { --rounded-btn: 6px; }
/* browsers without oklch() use DaisyUI --fallback-* (default blue/pink): pin them to the brand colours */
[data-theme="astron"] { --fallback-p: #9f050d; --fallback-pc: #fff; --fallback-s: #26316d; --fallback-sc: #fff; --fallback-a: #e3000f; --fallback-ac: #fff; --fallback-n: #26316d; --fallback-nc: #fff; --fallback-b1: #fff; --fallback-b2: #f5f5f5; --fallback-b3: #dddddd; --fallback-bc: #000; --fallback-in: #26316d; --fallback-inc: #fff; --fallback-su: #6c9931; --fallback-suc: #fff; --fallback-wa: #f2a900; --fallback-wac: #000; --fallback-er: #9f050d; --fallback-erc: #fff; }
.btn:not(.join-item), .input:not(.join-item), .select:not(.join-item), .textarea, .file-input, .mk-wish { border-radius: 6px !important; }
.mk-search .input.join-item { border-radius: 6px 0 0 6px !important; }
.btn:hover, .btn:active, .btn:focus { transform: none !important; }
.checkbox { border-radius: 3px; background-color: #fff !important; }

/* routine 2: breadcrumbs of stock-template pages (Marken, Vergleich, Sitemap, 404, Konto-Unterseiten) look like .mk-bc: house icon, one line */
html[data-oc-page] ul.breadcrumb { display: flex; flex-wrap: nowrap; align-items: center; gap: 0; list-style: none; margin: 0; padding: 14px 0 6px; font-size: 13px; line-height: 1.5; overflow: hidden; white-space: nowrap; }
html[data-oc-page] ul.breadcrumb > li { display: flex; align-items: center; white-space: nowrap; color: var(--mk-navy); padding: 0; }
html[data-oc-page] ul.breadcrumb > li + li::before { content: ""; display: inline-block; width: .375rem; height: .375rem; margin: 0 .75rem 0 .5rem; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .4; }
html[data-oc-page] ul.breadcrumb > li:last-child { min-width: 0; flex-shrink: 1; color: #555; }
html[data-oc-page] ul.breadcrumb > li:last-child > a { overflow: hidden; text-overflow: ellipsis; color: inherit; }
html[data-oc-page] ul.breadcrumb a:hover { color: var(--mk-red); }
html[data-oc-page] ul.breadcrumb .fa-home, html[data-oc-page] ul.breadcrumb .fa-house { color: var(--mk-red); }/* stock-template pages: their Bootstrap .container (unstyled without Bootstrap) aligned like .mk-container, so crumbs line up with the header */
html[data-oc-page] div.container[id] { width: 100%; max-width: 1290px; margin-left: auto; margin-right: auto; padding-left: 16px; padding-right: 16px; box-sizing: border-box; }
@media (min-width: 1322px) { html[data-oc-page] div.container[id] { padding-left: 0; padding-right: 0; } }
/* ===== routine 9: mobile 390 ===== */
@media (max-width: 767px) {
  /* header: logo left, only account - wishlist - cart icons (no labels, badges kept); compare and country flag stay on desktop */
  .mk-header .mk-icons > .mk-compare, .mk-header .mk-icons > .mk-land { display: none !important; }
  .mk-header .mk-icons { gap: 16px; margin-left: auto; }
  .mk-header .mk-icons .lbl { display: none !important; }
  /* header never shines through or jumps */
  .mk-header { background: #fff; z-index: 40; }
  /* PDP: qty, cart, heart in one row; cart button icon only (size unchanged) */
  .mk-buyrow .mk-pdp-add .lbl { display: none !important; }
  .mk-buyrow .mk-pdp-add { font-size: 18px; }
  /* empty states (wishlist, cart): action button full width */
  .mk-empty .btn, .dacc-empty .btn { display: flex; width: 100%; }
}
/* ---------- cookie consent v2 (modal, brand navy/red) ---------- */
.mk-cookie { position: fixed; inset: 0; z-index: 95; display: none; align-items: center; justify-content: center; padding: 24px; background: rgba(20,26,60,.42); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); border: 0; box-shadow: none; }
.mk-cookie.is-open { display: flex; animation: mkCkFade .25s ease-out; }
.mk-ck-card { width: 100%; max-width: 1040px; max-height: calc(100vh - 48px); overflow: auto; background: #fff; box-shadow: 0 24px 60px rgba(10,15,45,.35); border-bottom: 4px solid var(--mk-red); animation: mkCkUp .3s ease-out; }
.mk-ck-head { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 26px; color: #fff; background: linear-gradient(110deg, var(--mk-navy) 0 62%, #1b2556 62% 100%); overflow: hidden; }
.mk-ck-head::after { content: ""; position: absolute; right: -40px; top: 0; bottom: 0; width: 180px; background: var(--mk-red); transform: skewX(-20deg); opacity: .9; }
.mk-ck-head > * { position: relative; z-index: 1; }
.mk-ck-ico { position: relative; flex: 0 0 52px; height: 52px; display: grid; place-items: center; background: #fff; color: var(--mk-navy); font-size: 26px; }
.mk-ck-ico b { position: absolute; right: -7px; bottom: -7px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--mk-green); color: #fff; font-size: 12px; border: 2px solid var(--mk-navy); }
.mk-ck-ttl { flex: 1; min-width: 0; }
.mk-ck-ttl h3 { margin: 0; font-size: 22px; font-weight: 800; font-style: italic; text-transform: uppercase; letter-spacing: .01em; line-height: 1.15; color: #fff; }
.mk-ck-ttl small { display: block; margin-top: 3px; font-size: 13px; opacity: .8; }
.mk-ck-meter { text-align: right; font-size: 13px; white-space: nowrap; }
.mk-ck-bars { display: inline-flex; gap: 3px; padding: 3px; border: 2px solid #fff; margin-bottom: 4px; }
.mk-ck-bars i { width: 16px; height: 10px; background: rgba(255,255,255,.25); transition: background .2s; }
.mk-ck-bars i.on { background: #8fd14f; }
.mk-ck-meter small { display: block; }
.mk-ck-body { display: grid; grid-template-columns: 1fr 290px; }
.mk-ck-main { padding: 22px 26px; }
.mk-ck-main > p { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #232222; }
.mk-ck-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-ck-cat { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--mk-border); background: var(--mk-surface); cursor: pointer; transition: border-color .2s, background .2s; }
.mk-ck-cat:hover { border-color: var(--mk-border-strong); }
.mk-ck-cat.is-on { background: #fff; border-color: var(--mk-navy); box-shadow: inset 4px 0 0 var(--mk-navy); }
.mk-ck-cat.is-lock { cursor: default; }
.mk-ck-cat input[disabled] { display: none; }
.mk-ck-ci { flex: 0 0 36px; height: 36px; display: grid; place-items: center; background: #e4e4e4; color: #777; font-size: 15px; transition: background .2s, color .2s; }
.mk-ck-cat.is-on .mk-ck-ci { background: var(--mk-navy); color: #fff; }
.mk-ck-ct { flex: 1; min-width: 0; line-height: 1.3; }
.mk-ck-ct b { display: block; font-size: 14px; color: var(--mk-navy); }
.mk-ck-ct small { display: block; font-size: 12px; color: #666; }
.mk-ck-always { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--mk-green); white-space: nowrap; }
.mk-ck-cat input.toggle { -webkit-appearance: none; appearance: none; flex: 0 0 44px; width: 44px; height: 24px; margin: 0; padding: 0; border: 0; border-radius: 12px; background: #c4c4c4; box-shadow: none; position: relative; cursor: pointer; transition: background .2s; --tglbg: transparent; }
.mk-ck-cat input.toggle::before { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .2s; }
.mk-ck-cat input.toggle:checked::before { transform: translateX(20px); }
.mk-ck-cat input.toggle:focus-visible { outline: 2px solid var(--mk-navy); outline-offset: 2px; }
.mk-ck-cat input.toggle:checked { background: var(--mk-green); }
.mk-ck-main > .mk-ck-fine { margin: 14px 0 0; font-size: 12px; color: #666; }
.mk-ck-fine a, .mk-ck-fine a:hover, .mk-ck-fine a:focus { color: var(--mk-red); font-weight: 600; text-decoration: none !important; }
.mk-ck-fine a:hover { color: var(--mk-navy); }
.mk-ck-links { display: inline-block; white-space: nowrap; }
.mk-ck-side { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 22px 24px; background: var(--mk-surface); border-left: 1px solid var(--mk-border); }
.mk-ck-side .btn { border-radius: 0; width: 100%; min-height: 48px; font-size: 15px; text-transform: none; }
.mk-ck-side .btn-primary { color: #fff; }
.mk-ck-min { background: none; border: 0; padding: 6px; font-size: 14px; font-weight: 600; color: var(--mk-navy); text-decoration: none !important; cursor: pointer; }
.mk-ck-min:hover, .mk-ck-min:focus { color: var(--mk-red); text-decoration: none !important; }
.mk-ck-facts { list-style: none; margin: 8px 0 0; padding: 12px 0 0; border-top: 1px solid var(--mk-border); font-size: 12px; color: #555; }
.mk-ck-facts li { display: flex; gap: 8px; align-items: center; padding: 2px 0; }
.mk-ck-facts i { width: 14px; color: var(--mk-navy); }
@keyframes mkCkFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mkCkUp { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (max-width: 900px) {
  .mk-ck-body { grid-template-columns: 1fr; }
  .mk-ck-side { border-left: 0; border-top: 1px solid var(--mk-border); }
}
@media (max-width: 767px) {
  .mk-cookie { align-items: flex-end; padding: 0; }
  .mk-ck-card { max-height: 88vh; border-bottom: 0; border-top: 4px solid var(--mk-red); }
  .mk-ck-head { padding: 14px 16px; gap: 12px; }
  .mk-ck-head::after { width: 70px; right: -30px; }
  .mk-ck-ico { flex-basis: 42px; height: 42px; font-size: 21px; }
  .mk-ck-ttl h3 { font-size: 16px; }
  .mk-ck-ttl small { font-size: 11px; }
  .mk-ck-bars i { width: 9px; height: 8px; }
  .mk-ck-meter { font-size: 11px; }
  .mk-ck-main { padding: 14px 16px; }
  .mk-ck-main > p { font-size: 13px; line-height: 1.5; margin-bottom: 12px; }
  .mk-ck-cats { grid-template-columns: 1fr; gap: 6px; }
  .mk-ck-cat { padding: 8px 10px; }
  .mk-ck-ci { flex-basis: 30px; height: 30px; font-size: 13px; }
  .mk-ck-side { padding: 12px 16px 16px; gap: 8px; }
  .mk-ck-side .btn { min-height: 44px; font-size: 14px; }
  .mk-ck-facts { display: none; }
}
/* unified compare icon (same as header Produktvergleich) */
i.mk-cmp-i { display: inline-flex; align-items: center; justify-content: center; font-style: normal; line-height: 1; }
.mk-ico-cmp { width: 1.3em; height: 1em; display: block; flex: none; }
