.dm24-mm{--text:#151515;--muted:#6f7378;--line:#e7e8ea;--surface:#fff;--soft:#f7f7f8;position:relative;z-index:9996;font-family:inherit;color:var(--text)}
.dm24-mm *{box-sizing:border-box}.dm24-mm button,.dm24-mm a{font:inherit}.dm24-mm__bar{display:flex;align-items:stretch;gap:2px;min-height:52px;background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:0 max(18px,calc((100vw - 1440px)/2));overflow-x:auto;scrollbar-width:none}.dm24-mm__bar::-webkit-scrollbar{display:none}
.dm24-mm__tab,.dm24-mm__all{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:max-content;padding:0 13px;border:0;background:transparent;color:#34373a;text-decoration:none;cursor:pointer;font-size:14px;font-weight:600;white-space:nowrap;transition:.18s ease}.dm24-mm__tab:hover,.dm24-mm__tab[aria-expanded=true]{color:var(--dm24-mm-accent);background:#fff8f2}.dm24-mm__all{margin-left:auto;color:var(--dm24-mm-accent);font-weight:700}.dm24-mm__icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.dm24-mm__chevron{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.7;transition:transform .18s}.dm24-mm__tab[aria-expanded=true] .dm24-mm__chevron{transform:rotate(180deg)}
.dm24-mm__panels{position:absolute;left:0;right:0;top:100%;z-index:3}.dm24-mm__panel{display:none;width:100%;max-height:min(74vh,760px);overflow:auto;background:rgba(255,255,255,.985);border-bottom:1px solid var(--line);box-shadow:0 24px 46px rgba(0,0,0,.14);padding:24px max(28px,calc((100vw - 1440px)/2)) 36px}.dm24-mm__panel.is-open{display:block;animation:dm24-in .16s ease-out}.dm24-mm__panel-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding-bottom:17px;margin-bottom:19px;border-bottom:1px solid var(--line)}.dm24-mm__eyebrow{margin:0 0 3px;color:var(--dm24-mm-accent);font-size:11px;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.dm24-mm__panel h2{margin:0;font-size:25px;line-height:1.2}.dm24-mm__close{width:38px;height:38px;border:1px solid var(--line);border-radius:50%;background:#fff;color:#555;font-size:27px;line-height:1;cursor:pointer}.dm24-mm__close:hover{border-color:#bbb;color:#000}.dm24-mm__grid{display:grid;grid-template-columns:repeat(var(--dm24-mm-cols,6),minmax(150px,1fr));gap:29px 34px;align-items:start}.dm24-mm__section{min-width:0;break-inside:avoid}.dm24-mm__section h3{position:relative;margin:0 0 11px;padding-bottom:9px;border-bottom:1px solid var(--line);font-size:14px;line-height:1.25}.dm24-mm__section h3:after{content:"";position:absolute;left:0;bottom:-1px;width:34px;height:2px;background:var(--dm24-mm-accent)}.dm24-mm__section ul{list-style:none;margin:0;padding:0}.dm24-mm__section li{margin:0}.dm24-mm__section a{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;color:#4b4e52;text-decoration:none;font-size:13px;line-height:1.35}.dm24-mm__section a:hover{color:var(--dm24-mm-accent);transform:translateX(2px)}.dm24-mm__section small{color:#9a9da1;font-size:10px}.dm24-mm__empty{margin:0;color:#a0a2a6;font-size:12px;line-height:1.45}.dm24-mm__backdrop{display:none;position:fixed;inset:0;z-index:2;background:rgba(11,14,18,.35);backdrop-filter:blur(2px)}.dm24-mm.is-open .dm24-mm__backdrop{display:block}.dm24-mm__mobile-trigger{display:none;width:100%;height:50px;align-items:center;gap:11px;padding:0 18px;border:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff;font-weight:700;text-align:left}.dm24-mm__hamburger,.dm24-mm__hamburger:before,.dm24-mm__hamburger:after{display:block;width:19px;height:2px;background:#202124;content:""}.dm24-mm__hamburger{position:relative}.dm24-mm__hamburger:before{position:absolute;top:-6px}.dm24-mm__hamburger:after{position:absolute;top:6px}.dm24-mm-notice{padding:12px;border:1px solid #f0b46d;background:#fff8ef}.dm24-mm-lock{overflow:hidden}
@keyframes dm24-in{from{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:none}}
@media(max-width:1180px){.dm24-mm__tab{padding:0 10px;font-size:13px}.dm24-mm__grid{grid-template-columns:repeat(4,minmax(150px,1fr))}}
@media(max-width:900px){.dm24-mm__mobile-trigger{display:flex}.dm24-mm__bar{display:none;position:fixed;z-index:9998;inset:0 18% 0 0;overflow:auto;flex-direction:column;align-items:stretch;padding:72px 16px 30px;background:#fff;border:0;box-shadow:20px 0 50px rgba(0,0,0,.18)}.dm24-mm.is-mobile-open .dm24-mm__bar{display:flex}.dm24-mm__tab,.dm24-mm__all{justify-content:flex-start;min-height:48px;padding:0 11px;border-bottom:1px solid var(--line);font-size:14px}.dm24-mm__chevron{margin-left:auto}.dm24-mm__all{margin:8px 0 0;border:1px solid #ffd6b8;border-radius:8px;background:#fff8f2}.dm24-mm__panels{position:static}.dm24-mm__panel{position:fixed;z-index:9999;inset:0 0 0 12%;max-height:none;padding:18px 18px 40px}.dm24-mm__panel-head{position:sticky;top:-18px;z-index:2;padding:18px 0 13px;background:#fff}.dm24-mm__grid{grid-template-columns:1fr 1fr;gap:25px 22px}.dm24-mm.is-mobile-open .dm24-mm__backdrop,.dm24-mm.is-open .dm24-mm__backdrop{display:block;z-index:9997}}
@media(max-width:560px){.dm24-mm__bar{right:10%}.dm24-mm__panel{left:4%}.dm24-mm__grid{grid-template-columns:1fr}.dm24-mm__panel h2{font-size:21px}}
/* v1.1.2: integration with the DM24 header category strip */
.dm24-mm{width:100%;isolation:isolate;z-index:10020}
.dm24-mm__panels{z-index:10022}
.dm24-mm__panel{position:relative;z-index:10023}
.dm24-mm__backdrop{z-index:10021}

/* v1.1.3: single category bar, hover interaction and unified brand logo */
header .dm24-brand-logo,.site-header .dm24-brand-logo,#masthead .dm24-brand-logo{display:block!important;width:auto!important;height:auto!important;max-width:205px!important;max-height:42px!important;object-fit:contain!important}
footer .dm24-brand-logo,.site-footer .dm24-brand-logo,#colophon .dm24-brand-logo{display:block!important;width:auto!important;height:auto!important;max-width:270px!important;max-height:58px!important;object-fit:contain!important}
.dm24-brand-logo--injected{margin:0 0 20px}
@media(min-width:901px){.dm24-mm__tab:hover{background:#fff8f2;color:var(--dm24-mm-accent)}.dm24-mm__panel{pointer-events:auto}}
/* v1.1.4: safe header replacement. Never hide a guessed parent container. */
.dm24-mm{display:block!important}
.dm24-mm.is-mounted{display:block!important}
.dm24-mm-legacy-hidden{display:none!important}

/* v1.1.6: cropped official logo and automatic hover close */
header .dm24-brand-logo,.site-header .dm24-brand-logo,#masthead .dm24-brand-logo,.dm24-header .dm24-brand-logo{width:auto!important;height:38px!important;max-width:230px!important;max-height:38px!important;object-fit:contain!important;object-position:left center!important}
footer .dm24-brand-logo,.site-footer .dm24-brand-logo,#colophon .dm24-brand-logo,.dm24-footer .dm24-brand-logo{width:auto!important;height:52px!important;max-width:320px!important;max-height:52px!important;object-fit:contain!important;object-position:left center!important}
.dm24-brand-logo--footer{height:52px!important}


/* v1.1.7: two-row desktop navigation and panels constrained to the shop layout */
@media(min-width:901px){
  .dm24-mm{
    width:100%;
    background:#fff;
    border-top:1px solid var(--line);
    border-bottom:1px solid var(--line);
  }
  .dm24-mm__bar{
    display:grid;
    grid-template-columns:repeat(6,minmax(0,1fr));
    width:min(100%,1440px);
    min-height:0;
    margin:0 auto;
    padding:0 18px;
    gap:0;
    overflow:visible;
    border:0;
  }
  .dm24-mm__tab,.dm24-mm__all{
    width:100%;
    min-width:0;
    min-height:48px;
    padding:8px 10px;
    justify-content:center;
    border-right:1px solid var(--line);
    border-bottom:1px solid var(--line);
    text-align:center;
    white-space:normal;
    line-height:1.2;
  }
  .dm24-mm__bar > :nth-child(6n+1){border-left:1px solid var(--line)}
  .dm24-mm__all{margin-left:0}
  .dm24-mm__panels{
    left:0;
    right:0;
    width:100%;
  }
  .dm24-mm__panel{
    width:min(1440px,calc(100vw - 32px));
    margin:0 auto;
    padding:24px 28px 36px;
    border-left:1px solid var(--line);
    border-right:1px solid var(--line);
    border-radius:0 0 14px 14px;
  }
}
@media(min-width:901px) and (max-width:1180px){
  .dm24-mm__bar{grid-template-columns:repeat(4,minmax(0,1fr))}
  .dm24-mm__bar > :nth-child(6n+1){border-left:0}
  .dm24-mm__bar > :nth-child(4n+1){border-left:1px solid var(--line)}
}

/* v1.1.8: forced two-row desktop layout, resistant to theme overrides */
@media (min-width:901px){
  body .dm24-mm > .dm24-mm__bar{
    display:grid!important;
    grid-template-columns:repeat(6,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    align-items:stretch!important;
    width:min(100%,1440px)!important;
    max-width:1440px!important;
    min-height:0!important;
    margin:0 auto!important;
    padding:0 18px!important;
    gap:0!important;
    overflow:visible!important;
    border-top:0!important;
    border-bottom:0!important;
  }
  body .dm24-mm > .dm24-mm__bar > .dm24-mm__tab,
  body .dm24-mm > .dm24-mm__bar > .dm24-mm__all{
    display:flex!important;
    width:100%!important;
    min-width:0!important;
    min-height:50px!important;
    margin:0!important;
    padding:8px 10px!important;
    justify-content:center!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.2!important;
    border-right:1px solid var(--line)!important;
    border-bottom:1px solid var(--line)!important;
  }
  body .dm24-mm > .dm24-mm__bar > :nth-child(6n+1){border-left:1px solid var(--line)!important}
  body .dm24-mm > .dm24-mm__panels{left:0!important;right:0!important;width:100%!important}
  body .dm24-mm > .dm24-mm__panels > .dm24-mm__panel{
    width:min(1440px,calc(100vw - 32px))!important;
    max-width:1440px!important;
    margin:0 auto!important;
    padding:24px 28px 36px!important;
  }
}
@media (min-width:901px) and (max-width:1180px){
  body .dm24-mm > .dm24-mm__bar{grid-template-columns:repeat(4,minmax(0,1fr))!important}
  body .dm24-mm > .dm24-mm__bar > :nth-child(6n+1){border-left:0!important}
  body .dm24-mm > .dm24-mm__bar > :nth-child(4n+1){border-left:1px solid var(--line)!important}
}

/* DM24 MENU COMPACT V3 START */

@media (min-width: 901px) {

  body .dm24-mm > .dm24-mm__panels > .dm24-mm__panel {
    width: min(1120px, calc(100vw - 40px)) !important;
    max-width: 1120px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 30px 28px !important;
    border-radius: 0 0 14px 14px !important;
  }

  body .dm24-mm .dm24-mm__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px 26px !important;
  }

  /* Jedna grupa */
  body .dm24-mm > .dm24-mm__panels > .dm24-mm__panel:has(.dm24-mm__grid > .dm24-mm__section:first-child:last-child) {
    width: min(380px, calc(100vw - 40px)) !important;
  }

  body .dm24-mm .dm24-mm__grid:has(> .dm24-mm__section:first-child:last-child) {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  /* Dwie grupy */
  body .dm24-mm > .dm24-mm__panels > .dm24-mm__panel:has(.dm24-mm__grid > .dm24-mm__section:nth-child(2):last-child) {
    width: min(660px, calc(100vw - 40px)) !important;
  }

  body .dm24-mm .dm24-mm__grid:has(> .dm24-mm__section:nth-child(2):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  /* Trzy grupy */
  body .dm24-mm > .dm24-mm__panels > .dm24-mm__panel:has(.dm24-mm__grid > .dm24-mm__section:nth-child(3):last-child) {
    width: min(930px, calc(100vw - 40px)) !important;
  }

  body .dm24-mm .dm24-mm__grid:has(> .dm24-mm__section:nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

}

/* DM24 MENU COMPACT V3 END */

