/* Netil Media OpenCart: shared layout additions on top of static theme.css (header/footer/toast/cookie) */
html { background: var(--mk-bg, #F2F2F2); --animation-btn: 0s; --animation-input: 0s; --btn-focus-scale: 1; }
.mk-alert-sink { display: none !important; }
.mk-drawer-content > .mk-footer { margin-top: auto; }
.mk-footer { padding-bottom: 16px; }
.mk-toast.is-error { border-left-color: var(--mk-red); }
.mk-toast.is-error > i { color: var(--mk-red); }
.mk-suggest-list { max-height: none; overflow: hidden; }
.mk-suggest-list strong { color: var(--mk-red); }
.mk-body a:hover, .mk-body a:focus { text-decoration: none; }
/* routine 1: no focus rings anywhere (inputs, selects, buttons, links) */
.mk-body :is(input, select, textarea, button, a, summary, label, .input, .select, .textarea, .btn, .checkbox, .radio, .form-control, .form-select, .form-check-input):is(:focus, :focus-visible, :focus-within) { outline: none !important; box-shadow: none !important; }
/* routine 1: header badges stuck to the icon corner, no animation, label kept apart */
.mk-badge { transition: none; animation: none; }
.mk-action-wish, .mk-action-cart { gap: 18px; }
/* routine 1: category filters (lg static drawer, grid item z-index 70) must stay under the sticky header */
@media (min-width: 1024px) {
  .mk-filters.lg\:drawer-open > .drawer-side { z-index: 1; }
}

/* routine 2: breadcrumbs of stock pages (sitemap, brands, compare, 404, account subpages) as the theme ones: one line, house icon first */
.mk-body ul.breadcrumb { display: flex; flex-wrap: nowrap; align-items: center; list-style: none; margin: 0 0 16px; padding: 8px 0; font-size: 13px; line-height: 1.5; white-space: nowrap; overflow: hidden; }
.mk-body ul.breadcrumb > li { display: flex; align-items: center; min-width: 0; }
.mk-body ul.breadcrumb > li + li::before { content: ''; flex: none; width: 6px; height: 6px; margin: 0 10px 0 8px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .4; }
.mk-body ul.breadcrumb > li:last-child { overflow: hidden; text-overflow: ellipsis; }
.mk-body ul.breadcrumb a { color: var(--mk-brown); }
.mk-body ul.breadcrumb .bi-house-door { font-size: 16px; line-height: 1; }
/* routine 2: stock page wrappers (sitemap, brands, compare, 404) aligned with .mk-container */
.mk-body header ~ div.container[id] { width: 100%; max-width: 1440px; margin: 0 auto; padding: 12px 16px 32px; box-sizing: border-box; }
.mk-body header ~ div.container[id] h1 { font-size: 24px; font-weight: 600; margin: 0 0 16px; }
@media (max-width: 767px) { .mk-body header ~ div.container[id] { padding: 8px 10px 24px; } }
/* routine 3: footer legal line (brand_brief company data) visible again */
.mk-footer .mk-footer-legal { display: block; }

/* routine 9: mobile header = burger + logo left, konto / listy / koszyk icons right (no bottom tab bar), full-width search below */
@media (max-width: 1023px) {
  :root { --mk-tabbar-h: 0px; }
  .mk-footer::after { content: none; }
  .mk-header .mk-header-row { flex-wrap: wrap; height: auto; column-gap: 2px; row-gap: 0; padding-top: 0; padding-bottom: 10px; }
  .mk-header .mk-burger { position: static; order: 0; margin-left: -10px; width: 44px; height: 44px; min-height: 44px; padding: 0; border: 0; background: transparent; font-size: 26px; }
  .mk-header .mk-logo { order: 1; display: flex; align-items: center; height: 56px; margin-right: auto; }
  .mk-header .mk-logo img { height: 22px; width: auto; }
  .mk-header .mk-actions { position: static; order: 2; height: 56px; margin: 0; padding: 0; gap: 2px; border: 0; background: transparent; justify-content: flex-end; }
  .mk-header .mk-action { width: 44px; height: 44px; justify-content: center; gap: 0; }
  .mk-header .mk-search { order: 3; flex: 0 0 100%; }
  .mk-header .mk-actions { margin-right: -8px; }
  .mk-header .mk-search-input { height: 40px; min-height: 40px; font-size: 16px; }
  .mk-header .mk-search-btn { height: 38px; min-height: 38px; width: 40px; font-size: 18px; }
  .mk-actions .mk-minicart { top: 112px; bottom: auto; }
  .mk-minicart .mk-mini-list { max-height: calc(100vh - 360px); }
  /* cart / checkout column must not grow to its min-content (checkout overflowed 390 by 31px) */
  .mk-cart-grid { grid-template-columns: minmax(0, 1fr); }
  .mk-cart-grid > * { min-width: 0; }
  .mk-cart-grid > .mk-form { grid-template-columns: minmax(0, 1fr); }
}
/* routine 9: cards on 390 - special price keeps one line, old price goes below it */
@media (max-width: 767px) {
  .mk-card .mk-price-special { overflow: visible; }
  .mk-card .mk-price-special .mk-price-old { display: block; margin-left: 0; line-height: 1.3; }
  .mk-form-grid, .mk-options { grid-template-columns: minmax(0, 1fr); }
  .mk-form-grid > *, .mk-form .select { min-width: 0; max-width: 100%; }
}

/* simple search: no category select */
.mk-search-join::after { content: none; }

/* drawer menu: icons + readable hover/active (DaisyUI neutral bg made text invisible) */
.mk-drawer-panel { padding: 14px 12px 20px; }
.mk-drawer-head { padding: 0 4px 10px; border-bottom: 1px solid #EFEFEF; }
.mk-drawer-title { display: flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .08em; margin: 14px 8px 6px; }
.mk-drawer-title::before { content: ""; width: 4px; height: 14px; border-radius: 2px; background: linear-gradient(180deg, #FF503C, #CF2B1F); }
.mk-drawer-menu { gap: 2px; }
.mk-drawer-menu li > a { display: flex; align-items: center; gap: 12px; padding: 7px 10px; border-radius: 12px; color: var(--mk-brown); font-weight: 500; font-size: 14px; line-height: 1.25; background: transparent; transition: background-color .15s, color .15s; }
.mk-drawer-menu .mk-dm-ico { flex: 0 0 34px; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: #FFF1EF; color: #FF503C; font-size: 17px; transition: background-color .15s, color .15s, transform .15s; }
.mk-drawer-links .mk-dm-ico { background: #F4F4F4; color: #6B6B6B; }
.mk-drawer-menu .mk-dm-txt { flex: 1 1 auto; min-width: 0; }
.mk-drawer-menu .mk-dm-arr { font-size: 12px; color: #B5B5B5; transition: transform .15s, color .15s; }
.mk-drawer-menu li > a:hover,
.mk-drawer-menu li > a:focus,
.mk-drawer-menu li > a:focus-visible,
.mk-drawer-menu li > a:active,
.mk-drawer-menu li > a.active { background: #FFF1EF; color: #CF2B1F; outline: none; }
.mk-drawer-menu li > a:focus-visible { box-shadow: inset 0 0 0 2px #FF503C; }
.mk-drawer-menu li > a:hover .mk-dm-ico,
.mk-drawer-menu li > a:focus .mk-dm-ico,
.mk-drawer-menu li > a:active .mk-dm-ico { background: #FF503C; color: #fff; transform: scale(1.05); }
.mk-drawer-menu li > a:hover .mk-dm-arr,
.mk-drawer-menu li > a:focus .mk-dm-arr,
.mk-drawer-menu li > a:active .mk-dm-arr { color: #FF503C; transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .mk-drawer-menu .mk-dm-ico, .mk-drawer-menu .mk-dm-arr { transition: none; transform: none !important; } }


/* header actions: icons only */
.mk-header .mk-action > i, .mk-header .mk-icon-wrap > i { transition: color .15s; }
.mk-header .mk-action:hover > i, .mk-header .mk-action:hover .mk-icon-wrap > i { color: var(--mk-red); }


/* header badges: compact counter, stable on hover */
.mk-header .mk-icon-wrap > .mk-badge { position: absolute; top: -7px; right: -11px; left: auto; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: #FF503C; color: #fff; font-size: 11px; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; letter-spacing: 0; white-space: nowrap; pointer-events: none; }
.mk-header .mk-action:hover .mk-icon-wrap > .mk-badge,
.mk-header .mk-action:focus-visible .mk-icon-wrap > .mk-badge { color: #fff; background: #FF503C; border-color: #fff; }
.mk-header .mk-icon-wrap > .mk-badge.is-empty { display: none; }

/* buttons: soft hover (daisyUI ghost/outline hover used opaque --fallback-bc = near-black) */
:where(.mk-body) .btn-ghost:hover { background-color: #FFF1EE; border-color: transparent; color: var(--mk-red, #CF2B1F); }
:where(.mk-body) .btn-outline:not(.btn-primary, .btn-secondary, .btn-accent, .btn-error):hover { background-color: #FFF1EE; border-color: var(--mk-orange, #FF503C); color: var(--mk-red, #CF2B1F); }
:where(.mk-body) .btn-outline.btn-primary:not(.mk-arrow):hover { background-color: #FFF1EE; border-color: var(--mk-orange, #FF503C); color: var(--mk-orange, #FF503C); }
:where(.mk-body) .btn-outline:is(.btn-secondary, .btn-accent, .btn-error):hover { background-color: #FFF1EE; color: var(--mk-red, #CF2B1F); }
:where(.mk-body) .btn-primary:not(.btn-outline):hover { background-color: #EE4430; border-color: #EE4430; color: #fff; }
:where(.mk-body) :is(.btn-neutral, .btn-secondary):not(.btn-outline):hover { background-color: #562410; border-color: #562410; color: #fff; }

/* toast: one notification at a time, bottom-right on every width, clean card without the coloured side stripe */
.mk-body .mk-toast { left: auto; right: 20px; bottom: 20px; transform: none; width: 360px; max-width: calc(100vw - 24px); box-sizing: border-box; align-items: center; gap: 12px; padding: 12px 8px 12px 12px; background: #fff; border: 1px solid var(--mk-line, #D9D9D9); border-radius: 12px; box-shadow: 0 8px 24px rgba(60, 20, 0, .12); color: var(--mk-brown, #3C1400); font-size: 13px; line-height: 1.4; z-index: 95; }
.mk-body .mk-toast.is-error { border-color: var(--mk-line, #D9D9D9); }
.mk-body .mk-toast > i { flex: 0 0 32px; width: 32px; height: 32px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: #2E7D32; background: #EAF5EA; }
.mk-body .mk-toast.is-error > i { color: var(--mk-red, #CF2B1F); background: #FFF1EE; }
.mk-body .mk-toast-msg { font-weight: 500; }
.mk-body .mk-toast [data-mk-toast-close] { flex: 0 0 auto; color: var(--mk-muted, #6B6B6B); }
.mk-body .mk-toast.is-in { animation: mk-toast-in .22s ease-out; }
@keyframes mk-toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) { .mk-body .mk-toast { right: 12px; bottom: 12px; } }
@media (prefers-reduced-motion: reduce) { .mk-body .mk-toast.is-in { animation: none; } }
/* ---- links: no underline anywhere (2026-10-29) ---- */
.mk-body a, .mk-body a:hover, .mk-body a:focus, .mk-body a:active, .mk-body a:visited,
.mk-body .link, .mk-body .link:hover, .mk-body u, .mk-body ins { text-decoration: none !important; }
/* ---- arrows: no jump on click (2026-10-29) ----
   DaisyUI .btn:active sets transform:scale() + button-pop animation, which drops translateY(-50%)
   and the arrow falls down. Keep vertical centering while pressed. #mk-home rules (id) still win. */
.mk-body .btn.mk-arrow { animation: none; transition: background-color .15s, color .15s, border-color .15s; }
.mk-body .btn.mk-arrow:active:hover, .mk-body .btn.mk-arrow:active:focus { animation: none; transform: translateY(-50%); }
/* ---- buttons: disabled / submitting state keeps its own colours (2026-10-29) ----
   daisyUI .btn:disabled paints neutral bg + base-content text (dark brown on dark), e.g. login submit while sending. */
.mk-body .btn:is(:disabled, [disabled], .btn-disabled) { opacity: .6; cursor: not-allowed; animation: none; }
.mk-body .btn-primary:not(.btn-outline):is(:disabled, [disabled], .btn-disabled) { background-color: var(--fallback-p, oklch(var(--p) / 1)); border-color: var(--fallback-p, oklch(var(--p) / 1)); color: var(--fallback-pc, oklch(var(--pc) / 1)); }
.mk-body .btn-secondary:not(.btn-outline):is(:disabled, [disabled], .btn-disabled) { background-color: var(--fallback-s, oklch(var(--s) / 1)); border-color: var(--fallback-s, oklch(var(--s) / 1)); color: var(--fallback-sc, oklch(var(--sc) / 1)); }
.mk-body .btn-neutral:not(.btn-outline):is(:disabled, [disabled], .btn-disabled) { background-color: var(--fallback-n, oklch(var(--n) / 1)); border-color: var(--fallback-n, oklch(var(--n) / 1)); color: var(--fallback-nc, oklch(var(--nc) / 1)); }
.mk-body .btn-outline:is(:disabled, [disabled], .btn-disabled) { background-color: transparent; }
.mk-body .btn-outline.btn-primary:is(:disabled, [disabled], .btn-disabled) { border-color: var(--fallback-p, oklch(var(--p) / 1)); color: var(--fallback-p, oklch(var(--p) / 1)); }
.mk-body .btn-ghost:is(:disabled, [disabled], .btn-disabled) { background-color: transparent; border-color: transparent; }
/* ---- arrows: filled orange from the start (2026-10-29) ----
   Round .btn arrows (hero, carousels, search, product gallery) were white with orange outline until hover.
   Icon-only svg arrows in .mk-row-live / .mk-deal-grid keep their own artwork. !important beats #mk-home mobile white bg. */
.mk-body .btn.mk-arrow:not(:is(.mk-row-live, .mk-deal-grid) .mk-arrow) { background-color: var(--mk-orange, #FF503C) !important; border-color: var(--mk-orange, #FF503C) !important; color: #fff !important; }
/* darker shade only with a real mouse: on touch screens :hover sticks after a tap and the arrow stayed dark (2026-10-30) */
@media (hover: hover) { .mk-body .btn.mk-arrow:not(:is(.mk-row-live, .mk-deal-grid) .mk-arrow):is(:hover, :focus-visible) { background-color: #EE4430 !important; border-color: #EE4430 !important; color: #fff !important; } }