/* Kuja Media OpenCart shell fixes (on top of static theme.css) */
.mk-hicon .indicator img { max-width:none; }
.mk-suggest img { max-width:none; }
.mk-toast:empty { display:none; }
input[type=search]::-webkit-search-cancel-button { -webkit-appearance:none; }

/* section-01-header: 1:1 with live kujamedia.com (#header_wrapper metrics, qa/global/section-01-header) */
.mk-header .navbar { min-height:62px; height:62px; gap:0; }
.mk-header .mk-burger { display:none; }
.mk-header .mk-logo { display:block; flex:none; }
.mk-header .mk-logo img { width:148px; height:30px; max-width:none; }
.mk-header .mk-search.desk { flex:0 0 486px; max-width:486px; margin-left:34px; }
.mk-header .mk-search .join { width:100%; }
.mk-header .mk-search .input.join-item { height:36px; min-height:36px; padding:0 12px; background:#f0f0f0; color:#555; border:0; border-radius:6px 0 0 6px; font:400 16px Arial, sans-serif; outline:none; }
.mk-header .mk-search .input::placeholder { color:#757575; opacity:1; }
.mk-header .mk-search .btn.join-item { width:36px; min-width:36px; height:36px; min-height:36px; padding:0; background:#fff; color:var(--mk-orange); border:0; border-radius:0 6px 6px 0; font-size:18px; }
.mk-header .mk-search .btn.join-item:hover { background:#fff; }
.mk-header .mk-hicons { gap:0; align-self:flex-start; }
.mk-header .mk-hicon { justify-content:flex-start; gap:1px; min-width:0; height:62px; padding:11px 18px 0; border-radius:0; font-size:10px; line-height:13px; font-weight:700; }
.mk-header .mk-hicon:hover { background:transparent; opacity:.85; }
.mk-header .mk-logo { margin:-2px 0 0 1px; }
.mk-header .mk-hicon i { font-size:22px; line-height:25px; height:25px; width:24px; text-align:center; -webkit-text-stroke:.35px currentColor; }
.mk-header .mk-burger i, .mk-header .mk-stoggle i { -webkit-text-stroke:.4px currentColor; }
.mk-header .mk-hicon .fi-code { font-size:17px; line-height:25px; height:25px; }
.mk-header .mk-hicon .lbl { display:block; font-size:10px; line-height:13px; }
.mk-header .mk-stoggle { display:none; }
@media (max-width:1023px){
  .mk-header .mk-hicon.desk-only { display:flex; }
}
@media (max-width:991px){
  .mk-header .mk-burger { display:inline-flex; color:#fff; }
  .mk-header .mk-hicon.desk-only { display:none; }
  .mk-header .mk-search.desk { flex:1 1 auto; max-width:none; margin:0 16px; display:block; }
  .mk-header .mk-msearch { display:none; }
}
@media (max-width:767px){
  .mk-header .mk-container { padding:0 4px; }
  .mk-header .navbar { position:relative; height:60px; min-height:60px; }
  .mk-header .mk-burger { width:64px; height:52px; min-height:52px; padding:0; border:0; background:transparent; }
  .mk-header .mk-burger i { font-size:30px; line-height:1; }
  .mk-header .mk-logo { margin:-1px 0 0; }
  .mk-header .mk-logo { position:absolute; left:50%; top:15px; transform:translateX(-50%); }
  .mk-header .mk-search.desk, .mk-header .mk-hicons { display:none; }
  .mk-header .mk-stoggle { display:flex; align-items:center; justify-content:center; margin-left:auto; width:52px; height:52px; padding:0; border:0; background:transparent; color:#fff; font-size:20px; cursor:pointer; }
  .mk-header.mk-sopen .mk-msearch { display:block; padding:0 8px 12px; }
  .mk-header .mk-msearch .mk-search { max-width:none; }
}

/* routine-1: footer to the bottom edge on short pages, catalog burger on all widths, Tili-Toivelista-Ostoskori on mobile, static badges */
.drawer-content { display:flex; flex-direction:column; min-height:100vh; min-height:100dvh; }
.drawer-content > * { flex-shrink:0; width:100%; box-sizing:border-box; }
.drawer-content > .mk-footer { margin-top:auto; }
.mk-header .mk-hicon.mk-lang { display:none !important; }
.link:hover, .link-hover:hover, .link:focus, a:hover { text-decoration:none !important; }
html:has(#mk-drawer:checked) { background:#999; }
.mk-header .mk-hicon .badge, .mk-header .indicator-item { transition:none !important; animation:none !important; }
.mk-header .mk-burger, .mk-header .mk-burger:hover, .mk-header .mk-burger:active, .mk-header .mk-burger:focus { background:transparent; border-color:transparent; box-shadow:none; transform:none; }
@media (min-width:992px){
  .mk-header .mk-burger { display:inline-flex; color:#fff; width:40px; height:40px; min-height:40px; padding:0; margin:0 10px 0 -6px; border:0; flex:none; }
  .mk-header .mk-burger i { font-size:28px; line-height:1; -webkit-text-stroke:.4px currentColor; }
  .mk-header .mk-search.desk { flex:0 1 486px; min-width:260px; }
}
@media (max-width:767px){
  .mk-header .navbar { gap:0; }
  .mk-header .mk-burger { width:44px; }
  .mk-header .mk-logo { position:static; transform:none; margin:0 0 0 2px; }
  .mk-header .mk-logo img { width:120px; height:24px; }
  .mk-header .mk-hicons { display:flex; order:3; align-self:center; margin-left:0; }
  .mk-header .mk-stoggle { order:2; width:40px; }
  .mk-header .mk-hicon { height:52px; padding:13px 7px 0; justify-content:flex-start; }
  .mk-header .mk-hicon .lbl { display:none; }
  .mk-header .mk-hicon:last-child { padding-right:12px; }
}

/* routine 2: stock OpenCart pages without a theme twig (tuotemerkit, sivukartta, vertailu, 404) -
   no Bootstrap here, so container, one-line breadcrumbs with the home icon and the grid are styled here */
div[id].container:has(> ul.breadcrumb) { max-width:var(--mk-container); margin:0 auto; padding:16px 15px 40px; box-sizing:border-box; }
div[id].container:has(> ul.breadcrumb) > ul.breadcrumb { display:flex; flex-wrap:nowrap; align-items:center; list-style:none; margin:0; padding:0 0 12px; font-size:12px; line-height:1.5; white-space:nowrap; overflow:hidden; }
ul.breadcrumb > li { display:flex; align-items:center; flex:0 0 auto; margin:0; }
ul.breadcrumb > li + li::before { content:''; display:inline-block; flex:0 0 auto; width:.375rem; height:.375rem; margin:0 .75rem 0 .5rem; border-top:1px solid currentColor; border-right:1px solid currentColor; transform:rotate(45deg); opacity:.4; }
ul.breadcrumb > li:last-child { flex:0 1 auto; min-width:0; color:var(--mk-muted); }
ul.breadcrumb > li:last-child a { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
ul.breadcrumb a { color:var(--mk-blue); text-decoration:none; }
ul.breadcrumb .bi-house-door-fill { font-size:14px; }
div[id].container:has(> ul.breadcrumb) h1 { font-size:24px; line-height:1.25; margin:0 0 16px; }
div[id].container:has(> ul.breadcrumb) h2 { font-size:18px; margin:20px 0 8px; }
div[id].container:has(> ul.breadcrumb) .row { display:flex; flex-wrap:wrap; margin:0 -8px; }
div[id].container:has(> ul.breadcrumb) .row > [class*="col"] { padding:0 8px; box-sizing:border-box; flex:1 1 0; min-width:0; }
div[id].container:has(> ul.breadcrumb) .row > .col-sm-3 { flex:0 0 25%; }
div[id].container:has(> ul.breadcrumb) .row > .col-sm-6 { flex:0 0 50%; }
div[id].container:has(> ul.breadcrumb) ul:not(.breadcrumb) { list-style:disc; padding-left:20px; }
div[id].container:has(> ul.breadcrumb) #content a:not(.btn) { color:var(--mk-blue); }
div[id].container:has(> ul.breadcrumb) .text-end, div[id].container:has(> ul.breadcrumb) .float-end { text-align:right; }
@media (max-width:767px) {
  div[id].container:has(> ul.breadcrumb) .row > .col-sm-3, div[id].container:has(> ul.breadcrumb) .row > .col-sm-6 { flex:0 0 50%; }
  div[id].container:has(> ul.breadcrumb) h1 { font-size:20px; }
}
/* ===== cookie consent (mk-cookiebox): Kuja Media blue header, battery meter of active groups, live perks ===== */
.mk-cookiebox { position:fixed; inset:0; z-index:120; display:flex; align-items:center; justify-content:center; padding:16px; font-family:Roboto,system-ui,sans-serif; }
.mk-cookiebox.hidden { display:none; }
.mk-cc-backdrop { position:absolute; inset:0; background:rgba(13,59,102,.38); backdrop-filter:blur(2px); opacity:0; transition:opacity .2s; }
.mk-cc { position:relative; width:100%; max-width:880px; background:#fff; border-radius:14px; overflow:hidden; box-shadow:0 24px 60px rgba(13,59,102,.28); transform:translateY(14px) scale(.98); opacity:0; transition:transform .22s ease, opacity .22s ease; color:var(--mk-text); }
.mk-cookiebox.in .mk-cc-backdrop { opacity:1; }
.mk-cookiebox.in .mk-cc { transform:none; opacity:1; }
.mk-cc-head { display:flex; align-items:center; gap:14px; padding:16px 22px; color:#fff; background:linear-gradient(110deg,#0d3b66 0%,#0f5a9c 55%,var(--mk-blue) 100%); position:relative; }
.mk-cc-head::after { content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:linear-gradient(90deg,var(--mk-green),var(--mk-blue)); }
.mk-cc-ico { position:relative; flex:0 0 46px; height:46px; border-radius:12px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.25); display:flex; align-items:center; justify-content:center; font-size:24px; }
.mk-cc-ico b { position:absolute; right:-6px; bottom:-6px; width:22px; height:22px; border-radius:7px; background:var(--mk-green); font-size:12px; display:flex; align-items:center; justify-content:center; box-shadow:0 0 0 2px #0f5a9c; }
.mk-cc-ttl { flex:1; min-width:0; }
.mk-cc-ttl h3 { margin:0; font-size:20px; font-weight:700; line-height:1.2; color:#fff; }
.mk-cc-ttl small { display:block; margin-top:2px; font-size:12px; opacity:.8; }
.mk-cc-batt { display:flex; flex-direction:column; align-items:flex-end; gap:5px; }
.mk-cc-cells { position:relative; display:flex; gap:3px; padding:3px; border:1.5px solid rgba(255,255,255,.75); border-radius:5px; }
.mk-cc-cells::after { content:""; position:absolute; right:-5px; top:50%; width:3px; height:8px; margin-top:-4px; border-radius:0 2px 2px 0; background:rgba(255,255,255,.75); }
.mk-cc-cells i { width:16px; height:10px; border-radius:2px; background:rgba(255,255,255,.18); transition:background .2s; }
.mk-cc-cells i.on { background:var(--mk-green); }
.mk-cookiebox[data-level="3"] .mk-cc-cells i.on { background:#7ee05a; }
.mk-cc-batt small { font-size:12px; opacity:.9; white-space:nowrap; }
.mk-cc-body { display:grid; grid-template-columns:1fr 250px; }
.mk-cc-main { padding:20px 22px 16px; }
.mk-cc-lead { margin:0 0 14px; font-size:14px; line-height:1.55; color:var(--mk-muted); }
.mk-cc-perks { list-style:none; margin:0 0 14px; padding:0; display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.mk-cc-perks li { display:flex; align-items:center; gap:9px; padding:9px 12px; border:1px solid #e3eef8; border-radius:10px; background:#f5faff; font-size:13px; font-weight:500; transition:opacity .2s, filter .2s, background .2s; }
.mk-cc-perks li i { flex:0 0 26px; height:26px; border-radius:8px; display:flex; align-items:center; justify-content:center; background:var(--mk-blue); color:#fff; font-size:14px; }
.mk-cc-perks li.off { opacity:.5; filter:grayscale(1); background:#fafafa; border-style:dashed; }
.mk-cc-prefs { margin:0 0 14px; border:1px solid var(--mk-border); border-radius:10px; overflow:hidden; }
.mk-cc-prefs[hidden] { display:none; }
.mk-cc-row { display:flex; align-items:center; gap:12px; padding:10px 14px; cursor:pointer; }
.mk-cc-row + .mk-cc-row { border-top:1px solid var(--mk-border); }
.mk-cc-row .t { flex:1; min-width:0; }
.mk-cc-row b { display:block; font-size:14px; }
.mk-cc-row small { display:block; font-size:12px; color:var(--mk-muted); }
.mk-cc-row.is-locked { cursor:default; background:#fafafa; }
.mk-cc-sw { appearance:none; -webkit-appearance:none; flex:0 0 40px; width:40px; height:22px; border-radius:22px; background:#cfd8e3; position:relative; cursor:pointer; transition:background .2s; margin:0; }
.mk-cc-sw::before { content:""; position:absolute; top:3px; left:3px; width:16px; height:16px; border-radius:50%; background:#fff; box-shadow:0 1px 3px rgba(0,0,0,.25); transition:transform .2s; }
.mk-cc-sw:checked { background:var(--mk-green); }
.mk-cc-sw:checked::before { transform:translateX(18px); }
.mk-cc-sw:disabled { cursor:not-allowed; opacity:.7; }
.mk-cc-sw:focus-visible { outline:2px solid var(--mk-blue); outline-offset:2px; }
.mk-cc-note { margin:0; font-size:12px; line-height:1.5; color:#777; }
.mk-cc-note a { color:var(--mk-blue); font-weight:500; }
.mk-cc-side { padding:20px 20px 16px; border-left:1px solid var(--mk-border); background:#fbfdff; display:flex; flex-direction:column; gap:10px; justify-content:center; }
.mk-cc-btn { width:100%; min-height:44px; height:auto; border-radius:24px; font-size:14px; font-weight:700; text-transform:none; gap:6px; }
.mk-cc-btn[hidden] { display:none; }
.mk-cc-out { background:#fff; color:#0d3b66; border:1.5px solid #0d3b66; }
.mk-cc-out:hover { background:#0d3b66; color:#fff; border-color:#0d3b66; }
.mk-cc-save { background:var(--mk-blue); color:#fff; border:0; }
.mk-cc-save:hover { background:#0f86dc; color:#fff; }
.mk-cc-more { display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:6px; background:none; border:0; color:#0d3b66; font-size:14px; font-weight:500; cursor:pointer; }
.mk-cc-more:hover span { color:var(--mk-blue); }
.mk-cc-chev { font-size:11px; transition:transform .2s; }
.mk-cc-more[aria-expanded="true"] .mk-cc-chev { transform:rotate(180deg); }
.mk-cc-keep { display:flex; align-items:center; justify-content:center; gap:6px; font-size:12px; color:#888; order:2; }
.mk-cc-reopen { background:none; border:0; padding:0; color:inherit; font:inherit; cursor:pointer; }
.mk-cc-reopen:hover { color:var(--mk-blue); }
@media (max-width:767px) {
  .mk-cookiebox { align-items:flex-end; padding:0; }
  .mk-cc { max-width:none; border-radius:16px 16px 0 0; max-height:88vh; display:flex; flex-direction:column; transform:translateY(40px); }
  .mk-cc-head { padding:14px 16px; gap:12px; }
  .mk-cc-ico { flex-basis:40px; height:40px; font-size:20px; }
  .mk-cc-ttl h3 { font-size:17px; }
  .mk-cc-batt small { font-size:11px; }
  .mk-cc-cells i { width:11px; height:9px; }
  .mk-cc-body { grid-template-columns:1fr; overflow-y:auto; }
  .mk-cc-main { padding:14px 16px 8px; }
  .mk-cc-lead { font-size:13px; margin-bottom:12px; }
  .mk-cc-perks { grid-template-columns:1fr 1fr; gap:6px; }
  .mk-cc-perks li { padding:8px; font-size:12px; gap:7px; }
  .mk-cc-perks li i { flex-basis:22px; height:22px; font-size:12px; }
  .mk-cc-side { border-left:0; border-top:1px solid var(--mk-border); padding:12px 16px 16px; gap:8px; }
  .mk-cc-btn { min-height:42px; }
}

/* no underline anywhere (tester 2026-11-10) */
a, a:hover, a:focus, a:active, a:visited, button, button:hover, button:focus, .btn, .btn:hover, .link, .link:hover, .link-hover:hover, u, ins, abbr[title], [class*="underline"], [class*="underline"]:hover, a *, a:hover *, button *, button:hover * { text-decoration:none !important; }
.mk-price .old, a .mk-price .old, del, s, a del, a s { text-decoration:line-through !important; }

/* carousel arrows: keep vertical centering on click (DaisyUI .btn:active reset transform -> arrows dropped 18px) (tester 2026-11-10) */
.mk-arrow.btn:active, .mk-arrow.btn:active:hover, .mk-arrow.btn:active:focus, .mk-arrow.btn:focus, .mk-arrow.btn:focus-visible { transform:translateY(-50%); animation:none; }

/* mt-btn-round (2026-11-10): one button shape across the site = pill (as .mk-green / .mk-qty / .mk-pill). Icon-only buttons are circles. Not touched: header icons (.mk-hicon), search join buttons (.join-item), ghost square icon buttons. */
.btn:not(.join-item):not(.btn-ghost):not(.btn-square):not(.btn-circle):not(.mk-hicon):not(.mk-heart):not(.mk-arrow) { border-radius:24px; }
.btn.mk-cartbtn, #mt-stock .btn:not(.join-item):not(.btn-ghost):not(.btn-square):not(.btn-circle), .mk-form .btn:not(.join-item) { border-radius:24px; }
.btn.mk-heart, .btn.mk-arrow { border-radius:50%; }
.mk-pg { border-radius:20px; }
[data-oc-route-theme="common/home"] section[data-source-block] .mk-card .mk-cartbtn { border-radius:24px; }