/* Kuja Media theme overrides — tokens from brand_brief.json (Mark). DaisyUI components stay intact; only mk-* wrappers + theme vars. */
:root { --mk-blue:#199fff; --mk-green:#47a827; --mk-yellow:#ffc107; --mk-red:#eb5757; --mk-orange:#f9993a; --mk-text:#333333; --mk-muted:#555555; --mk-border:#f0f0f0; --mk-surface:#f7f7f7; --mk-container:1170px; --mk-side:260px; }
html, body { margin:0; padding:0; }
body { font-family: Roboto, sans-serif; font-size:14px; color:var(--mk-text); background:#fff url('../img/bg-kujamedia.webp') repeat-y center top; }
h1,h2,h3,h4 { font-family: Roboto, sans-serif; font-weight:700; color:var(--mk-text); }
a, a:hover, a:focus { text-decoration:none; }
*:focus, *:focus-visible, .input:focus, .select:focus, .textarea:focus, .input:focus-within, .btn:focus-visible { outline:none !important; box-shadow:none !important; }
.btn { text-transform:none; font-weight:500; animation:none; flex-wrap:nowrap; }
/* sRGB pins for primary-coloured daisy components (oklch rendering differs between engines) */
.btn-primary { background-color:var(--mk-blue); border-color:var(--mk-blue); color:#fff; }
.btn-primary:hover { background-color:#0f8de6; border-color:#0f8de6; color:#fff; }
.btn-outline.btn-primary { background:transparent; color:var(--mk-blue); }
.btn-outline.btn-primary:hover { background:var(--mk-blue); color:#fff; }
.radio-primary:checked { background-color:var(--mk-blue); border-color:var(--mk-blue); }
.checkbox:checked { background-color:var(--mk-blue); border-color:var(--mk-blue); }
.text-primary { color:var(--mk-blue); }
.btn:active:hover, .btn:active:focus { transform:none; animation:none; }
.checkbox { --chkbg: var(--mk-blue); --chkfg:#fff; border-color:#c9c9c9; background:#fff; }
.mk-hide-scroll { scrollbar-width:none; -ms-overflow-style:none; }
.mk-hide-scroll::-webkit-scrollbar { display:none; }

/* layout */
.mk-container { max-width:var(--mk-container); margin:0 auto; padding:0 15px; }
.mk-page { background:#fff; max-width:var(--mk-container); margin:0 auto; padding:16px 15px 32px; }
.mk-layout { display:grid; grid-template-columns: var(--mk-side) minmax(0,1fr); gap:24px; }
.mk-main { min-width:0; }
@media (max-width:1023px){ .mk-layout{ grid-template-columns:minmax(0,1fr); } .mk-aside{ display:none; } .mk-page{ padding:12px 12px 24px; } }

/* header */
.mk-header { position:sticky; top:0; z-index:50; background:var(--mk-blue); color:#fff; }
.mk-header .navbar { min-height:62px; padding:0; gap:16px; }
.mk-logo img { width:177px; height:36px; display:block; }
.mk-burger { color:#fff; }
.mk-search { flex:1; max-width:520px; position:relative; }
.mk-search .join { width:100%; }
.mk-search .input { background:var(--mk-border); border:0; border-radius:4px 0 0 4px; height:36px; min-height:36px; width:100%; font-size:15px; color:var(--mk-text); }
.mk-search .btn { background:var(--mk-border); border:0; color:var(--mk-orange); height:36px; min-height:36px; border-radius:0 4px 4px 0; font-size:18px; }
.mk-search .btn:hover { background:#e6e6e6; }
.mk-suggest { position:absolute; left:0; right:0; top:40px; background:#fff; color:var(--mk-text); border-radius:6px; box-shadow:0 10px 30px rgba(0,0,0,.18); z-index:70; overflow:hidden; display:none; }
.mk-suggest.open { display:block; }
.mk-suggest a { display:flex; align-items:center; gap:10px; padding:8px 12px; border-bottom:1px solid var(--mk-border); }
.mk-suggest a:hover { background:var(--mk-surface); }
.mk-suggest img { width:40px; height:40px; object-fit:contain; }
.mk-suggest .nm { flex:1; font-size:13px; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.mk-suggest .pr { font-weight:700; white-space:nowrap; }
.mk-suggest .all { justify-content:center; color:var(--mk-blue); font-weight:500; border-bottom:0; }
.mk-hicons { display:flex; align-items:center; gap:2px; margin-left:auto; }
.mk-hicon { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:2px; min-width:64px; padding:6px 6px; color:#fff; font-size:11px; font-weight:700; border-radius:4px; position:relative; }
.mk-hicon i { font-size:20px; line-height:1; }
.mk-hicon .fi-code { font-size:16px; font-weight:700; line-height:20px; }
.mk-hicon:hover { background:rgba(255,255,255,.12); color:#fff; }
.mk-hicon .indicator { display:inline-flex; }
.mk-hicon .badge { font-size:10px; height:16px; min-width:16px; padding:0 4px; background:var(--mk-yellow); color:#212529; border:0; font-weight:700; }
.mk-msearch { display:none; padding:0 0 10px; }
@media (max-width:1023px){
  .mk-header .navbar { min-height:54px; gap:6px; }
  .mk-logo img { width:132px; height:27px; }
  .mk-header .mk-search.desk, .mk-hicon .lbl, .mk-hicon.desk-only { display:none; }
  .mk-hicon { min-width:38px; padding:6px 4px; }
  .mk-msearch { display:block; }
  .mk-msearch .mk-search { max-width:none; }
}

/* drawers */
.mk-drawer-side { z-index:80; }
.mk-drawer-panel { width:300px; min-height:100%; background:#fff; padding:0; }
.mk-drawer-head { background:var(--mk-blue); color:#fff; display:flex; align-items:center; justify-content:space-between; padding:14px 16px; font-weight:700; font-size:16px; }
.mk-drawer-head .btn { color:#fff; }
.mk-drawer-panel .menu { padding:8px; width:100%; }
.mk-drawer-extra { border-top:1px solid var(--mk-border); margin-top:6px; padding-top:6px; }

/* sidebar category menu */
.mk-catmenu { background:#fff; border-radius:6px; }
.mk-catmenu-title { background:var(--mk-surface); padding:10px 12px; font-weight:700; font-size:15px; border-radius:6px 6px 0 0; }
.mk-catmenu .menu { padding:4px 0; width:100%; }
.mk-catmenu .menu li > a { display:flex; align-items:center; gap:12px; padding:9px 10px; font-size:12px; font-weight:700; color:var(--mk-text); border-radius:4px; }
.mk-catmenu .menu li > a i.ic { color:var(--mk-blue); font-size:19px; width:22px; text-align:center; }
.mk-catmenu .menu li > a .chev { margin-left:auto; color:var(--mk-orange); font-size:15px; }
.mk-catmenu .menu li > a:hover { background:var(--mk-surface); }
.mk-catmenu .menu li > a.active { background:var(--mk-blue); color:#fff; }
.mk-catmenu .menu li > a.active i { color:#fff; }

/* hero */
.mk-hero { position:relative; border-radius:24px; overflow:hidden; aspect-ratio: 854 / 378; background:#111; }
.mk-hero .carousel { width:100%; height:100%; }
.mk-hero-slide { position:absolute; inset:0; opacity:0; transition:opacity .5s ease; pointer-events:none; }
.mk-hero-slide.active { opacity:1; pointer-events:auto; }
.mk-hero-slide img { width:100%; height:100%; object-fit:cover; display:block; }
.mk-hero-slide::after { content:''; position:absolute; inset:0; background:linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 55%); pointer-events:none; }
.mk-hero-copy { z-index:2; }
.mk-hero-copy { position:absolute; left:72px; top:50%; transform:translateY(-50%); max-width:44%; color:#fff; }
.mk-hero-copy h2 { color:#fff; font-size:30px; line-height:1.15; margin:0 0 10px; text-shadow:0 1px 8px rgba(0,0,0,.25); }
.mk-hero-copy p { font-size:15px; line-height:1.45; margin:0 0 16px; text-shadow:0 1px 6px rgba(0,0,0,.25); }
.mk-pill { background:var(--mk-yellow); color:#212529; border:0; border-radius:24px; min-height:32px; height:32px; padding:0 14px; font-size:13px; font-weight:500; }
.mk-pill:hover { background:#f0b400; color:#212529; }
.mk-arrow { width:36px; height:36px; min-height:36px; border-radius:50%; background:rgba(240,240,240,.92); color:#555; border:0; position:absolute; top:50%; transform:translateY(-50%); z-index:5; padding:0; box-shadow:0 1px 4px rgba(0,0,0,.15); }
.mk-arrow:hover { background:#fff; color:var(--mk-blue); }
.mk-arrow.prev { left:10px; } .mk-arrow.next { right:10px; }
.mk-dots { position:absolute; bottom:12px; left:0; right:0; display:flex; justify-content:center; gap:6px; z-index:5; }
.mk-dots button { width:8px; height:8px; border-radius:50%; background:rgba(255,255,255,.55); border:0; padding:0; }
.mk-dots button.active { background:#fff; width:22px; border-radius:4px; }
@media (max-width:767px){ .mk-hero { aspect-ratio: 390 / 300; border-radius:16px; } .mk-hero-copy{ left:18px; right:18px; max-width:none; top:auto; bottom:36px; transform:none; } .mk-hero-copy h2{ font-size:22px; } .mk-hero-copy p{ font-size:13px; } .mk-hero-slide img{ object-position:70% center; } .mk-hero-slide::after{ background:linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,0) 65%); } .mk-hero .mk-arrow{ top:22px; transform:none; width:30px; height:30px; min-height:30px; } .mk-hero .mk-arrow.prev{ left:auto; right:46px; } .mk-hero .mk-arrow.next{ right:10px; } }

/* section heads */
.mk-section { margin-top:32px; }
.mk-h2 { font-size:20px; margin:0 0 14px; font-weight:700; }
.mk-h2.big { font-size:22px; color:#0d3b66; }

/* generic loop carousel */
.mk-carousel { position:relative; }
.mk-carousel .mk-viewport { overflow:hidden; }
.mk-carousel .mk-track { display:flex; gap:var(--mk-gap,12px); will-change:transform; }
.mk-carousel .mk-track > * { flex:0 0 calc((100% - (var(--mk-pv,4) - 1) * var(--mk-gap,12px)) / var(--mk-pv,4)); min-width:0; }
.mk-carousel .mk-arrow.prev { left:-14px; } .mk-carousel .mk-arrow.next { right:-14px; }
.mk-carousel[data-kind=products] { --mk-pv:4; --mk-gap:12px; }
.mk-carousel[data-kind=circles] { --mk-pv:8; --mk-gap:10px; }
.mk-carousel[data-kind=brands] { --mk-pv:8; --mk-gap:10px; }
@media (max-width:1023px){ .mk-carousel[data-kind=products]{ --mk-pv:3; } .mk-carousel[data-kind=circles],.mk-carousel[data-kind=brands]{ --mk-pv:6; } }
@media (max-width:767px){ .mk-carousel[data-kind=products]{ --mk-pv:2; --mk-gap:10px; } .mk-carousel[data-kind=circles],.mk-carousel[data-kind=brands]{ --mk-pv:4; } .mk-carousel .mk-arrow.prev{ left:-6px; } .mk-carousel .mk-arrow.next{ right:-6px; } }

/* circles */
.mk-circle { display:flex; flex-direction:column; align-items:center; gap:8px; font-size:12px; color:var(--mk-text); text-align:center; }
.mk-circle .avatar > div { width:100%; border-radius:50%; background:var(--mk-surface); overflow:hidden; }
.mk-circle .avatar { width:100%; max-width:96px; }
.mk-circle img { object-fit:cover; }
.mk-circle:hover span { color:var(--mk-blue); }

/* promo tiles */
.mk-promo-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.mk-promo { position:relative; border-radius:24px; overflow:hidden; aspect-ratio:1/1.05; display:block; background:var(--mk-blue); }
.mk-promo img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .4s ease; }
.mk-promo:hover img { transform:scale(1.02); }
.mk-promo .copy { position:absolute; left:0; right:0; bottom:0; padding:60px 16px 18px; color:#fff; background:linear-gradient(180deg, rgba(25,159,255,0) 0%, rgba(25,159,255,.92) 45%); }
.mk-promo h3 { color:#fff; font-size:22px; margin:0 0 6px; }
.mk-promo p { font-size:14px; line-height:1.35; margin:0 0 12px; }
@media (max-width:767px){ .mk-promo-grid{ grid-template-columns:1fr; } .mk-promo h3{ font-size:20px; } }

/* brands */
.mk-brand { display:flex; flex-direction:column; gap:6px; font-size:11px; color:var(--mk-text); }
.mk-brand .bx { aspect-ratio:1/1; background:var(--mk-surface); border-radius:4px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.mk-brand img { width:100%; height:100%; object-fit:contain; }

/* product card (single component everywhere) */
.mk-card { background:#fff; border-radius:6px; height:100%; display:flex; flex-direction:column; border:1px solid transparent; transition:border-color .2s; }
.mk-card:hover { border-color:var(--mk-border); }
.mk-card figure { position:relative; aspect-ratio:1/1; background:#fff; padding:8px; margin:0; border-radius:6px 6px 0 0; }
.mk-card figure img { width:100%; height:100%; object-fit:contain; }
.mk-card .mk-disc { position:absolute; left:6px; bottom:6px; background:var(--mk-red); color:#fff; border:0; border-radius:3px; font-size:11px; font-weight:700; height:18px; padding:0 5px; }
.mk-card .card-body { padding:8px 6px 8px; gap:4px; flex:1; }
.mk-card .mk-name { font-size:12px; line-height:1.35; height:2.7em; color:var(--mk-text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; font-weight:500; }
.mk-card .mk-name:hover { color:var(--mk-blue); }
.mk-stars { display:flex; gap:1px; color:#d0d0d0; font-size:12px; line-height:1; }
.mk-stars .on { color:var(--mk-yellow); }
.mk-price { display:flex; align-items:baseline; gap:6px; white-space:nowrap; overflow:hidden; }
.mk-price .now { font-size:17px; font-weight:700; color:var(--mk-text); }
.mk-price .now.sale { color:var(--mk-red); }
.mk-price .old { font-size:11px; color:#888; text-decoration:line-through; }
.mk-deliv { font-size:11px; color:var(--mk-muted); line-height:1.35; min-height:2.7em; }
.mk-deliv .ok { color:var(--mk-green); }
.mk-card .card-actions { margin-top:auto; flex-wrap:nowrap; gap:6px; }
.mk-cartbtn { flex:1; min-height:32px; height:32px; border-radius:4px; font-size:12px; white-space:nowrap; padding:0 8px; gap:6px; }
.mk-heart { width:32px; min-height:32px; height:32px; padding:0; border-radius:4px; background:#fff; border:1px solid #dcdcdc; color:#777; }
.mk-heart:hover { background:#fff; border-color:var(--mk-red); color:var(--mk-red); }
.mk-heart.on { background:var(--mk-red); border-color:var(--mk-red); color:#fff; }
@media (max-width:767px){ .mk-cartbtn .txt{ display:none; } .mk-price .now{ font-size:15px; } }

/* FAQ */
.mk-faq .collapse { background:#fff; border:1px solid var(--mk-border); border-radius:6px; margin-bottom:8px; }
.mk-faq .collapse-title { font-weight:700; font-size:15px; min-height:52px; padding-top:15px; }
.mk-faq .collapse-content { font-size:14px; line-height:1.55; color:var(--mk-muted); }

/* newsletter */
.mk-news { background:var(--mk-surface); border-radius:24px; padding:24px 28px; display:grid; grid-template-columns:1fr 1fr; gap:20px; align-items:center; }
.mk-news h2 { margin:0 0 4px; font-size:20px; }
.mk-news p { margin:0; color:var(--mk-muted); }
.mk-news .join { width:100%; }
.mk-news .input { flex:1; height:44px; min-height:44px; border:1px solid #dcdcdc; border-right:0; background:#fff; }
.mk-news .btn { height:44px; min-height:44px; }
.mk-social { display:flex; gap:10px; margin-top:12px; }
.mk-social a { width:36px; height:36px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--mk-blue); color:#fff; font-size:16px; }
@media (max-width:767px){ .mk-news{ grid-template-columns:1fr; padding:18px; } }

/* footer */
.mk-footer { background:var(--mk-blue); color:#fff; margin-top:0; }
.mk-footer .footer { padding:36px 15px 24px; color:#fff; }
.mk-footer .footer-title { color:#fff; opacity:1; text-transform:none; font-size:15px; font-weight:700; margin-bottom:6px; }
.mk-footer a { color:#fff; font-size:13px; opacity:.95; }
.mk-footer a:hover { opacity:1; color:#fff; }
.mk-footer-contact { border-top:1px solid rgba(255,255,255,.25); padding:16px 15px; font-size:13px; display:flex; flex-wrap:wrap; gap:8px 24px; align-items:center; }
.mk-footer-bottom { background:#fff; color:var(--mk-text); }
.mk-footer-bottom .inner { display:flex; flex-wrap:wrap; justify-content:space-between; gap:10px; padding:14px 15px; font-size:12px; }
.mk-footer-bottom a { color:var(--mk-text); font-size:12px; }
.mk-footer-bottom a:hover { color:var(--mk-blue); }
.mk-fsocial a { width:32px; height:32px; border-radius:50%; background:#fff; color:var(--mk-blue); display:inline-flex; align-items:center; justify-content:center; font-size:15px; }
@media (max-width:767px){ .mk-footer .footer { grid-template-columns:1fr 1fr; gap:22px 14px; } }

/* breadcrumbs */
.mk-bc.breadcrumbs { font-size:12px; padding:0 0 12px; overflow:hidden; }
.mk-bc ul { flex-wrap:nowrap; }
.mk-bc li { white-space:nowrap; }
.mk-bc li:last-child { overflow:hidden; text-overflow:ellipsis; min-width:0; color:var(--mk-muted); }
.mk-bc a { color:var(--mk-blue); }
.mk-bc a:hover { text-decoration:none; }

/* listing */
.mk-listbar { display:flex; align-items:center; justify-content:space-between; gap:10px; background:var(--mk-surface); padding:8px 10px; border-radius:6px; margin-bottom:14px; }
.mk-listbar .count b { color:var(--mk-orange); }
.mk-listbar .sorts { display:flex; gap:8px; margin-left:auto; }
.mk-listbar .select { height:34px; min-height:34px; font-size:13px; border-color:#dcdcdc; }
.mk-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:12px; }
.mk-listing { display:grid; grid-template-columns:200px minmax(0,1fr); gap:20px; }
.mk-filters { background:#fff; }
.mk-filters h4 { font-size:14px; margin:0 0 8px; }
.mk-filters .fblock { border-bottom:1px solid var(--mk-border); padding:12px 0; }
.mk-filters .input { height:34px; min-height:34px; border-color:#dcdcdc; }
.mk-filters label { display:flex; gap:8px; align-items:center; font-size:13px; padding:3px 0; cursor:pointer; }
.mk-filter-btn { display:none; }
.mk-filter-overlay { display:none; }
.mk-filters-head { display:none; }
.mk-pager { display:flex; justify-content:center; margin-top:20px; }
.mk-pager .btn { min-width:36px; height:36px; min-height:36px; }
.mk-pager .btn-active { background:var(--mk-blue); color:#fff; border-color:var(--mk-blue); }
@media (max-width:1023px){ .mk-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } .mk-listing{ grid-template-columns:minmax(0,1fr); }
  .mk-filters { position:fixed; left:0; top:0; bottom:0; width:290px; z-index:90; padding:0 16px 16px; overflow-y:auto; transform:translateX(-100%); transition:transform .25s; box-shadow:4px 0 20px rgba(0,0,0,.15); scrollbar-width:none; }
  .mk-filters.open { transform:none; }
  .mk-filters-head { display:flex; justify-content:space-between; align-items:center; padding:14px 0; font-weight:700; font-size:16px; }
  .mk-filter-btn { display:inline-flex; }
  .mk-filter-overlay { position:fixed; inset:0; background:rgba(0,0,0,.35); z-index:89; display:none; } .mk-filter-overlay.open{ display:block; } }
@media (max-width:767px){ .mk-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; } .mk-listbar{ flex-wrap:wrap; } .mk-listbar .sorts{ width:100%; } .mk-listbar .sorts .select{ flex:1; min-width:0; } }

/* product page */
.mk-pdp { display:grid; grid-template-columns: minmax(0,1.05fr) minmax(0,1fr); gap:28px; }
.mk-gallery .main { position:relative; aspect-ratio:1/1; background:#fff; border:1px solid var(--mk-border); border-radius:8px; display:flex; align-items:center; justify-content:center; cursor:zoom-in; }
.mk-gallery .main img { max-width:90%; max-height:90%; object-fit:contain; }
.mk-thumbs { display:flex; gap:8px; margin-top:10px; overflow-x:auto; }
.mk-thumbs button { flex:0 0 64px; height:64px; border:2px solid var(--mk-border); border-radius:6px; background:#fff; padding:3px; }
.mk-thumbs button.active { border-color:var(--mk-blue); }
.mk-thumbs img { width:100%; height:100%; object-fit:contain; }
.mk-buy .mk-bigprice { font-size:32px; font-weight:700; color:var(--mk-red); line-height:1; }
.mk-buy .row { display:flex; gap:8px; align-items:center; }
.mk-qty { display:inline-flex; align-items:center; border:1px solid #dcdcdc; border-radius:24px; height:44px; overflow:hidden; background:#fff; }
.mk-qty button { width:36px; height:100%; background:transparent; border:0; font-size:18px; color:var(--mk-text); }
.mk-qty input { width:40px; text-align:center; border:0; height:100%; font-weight:700; background:transparent; -moz-appearance:textfield; }
.mk-qty input::-webkit-outer-spin-button,.mk-qty input::-webkit-inner-spin-button{ -webkit-appearance:none; }
.mk-qty.sm { height:34px; } .mk-qty.sm button{ width:30px; } .mk-qty.sm input{ width:32px; }
.mk-green { background:var(--mk-green); color:#fff; border:0; border-radius:24px; }
.mk-green:hover { background:#3d9221; color:#fff; }
.mk-pdp .mk-cartbig { flex:1; height:44px; min-height:44px; white-space:nowrap; }
.mk-pdp .mk-heart { width:44px; height:44px; min-height:44px; border-radius:50%; }
.mk-chips { display:flex; flex-wrap:wrap; gap:8px; }
.mk-chips .badge { height:auto; padding:6px 10px; background:var(--mk-surface); border:0; font-size:12px; color:var(--mk-text); }
.mk-tabs.tabs { flex-wrap:nowrap; overflow-x:auto; scrollbar-width:none; }
.mk-tabs .tab { white-space:nowrap; font-weight:500; }
.mk-tabs.tabs { overflow:visible; }
/* DaisyUI4 .tab-content spans 9999 implicit grid columns: any column-gap multiplies into ~40000px overflow */
.mk-tabs.tabs { column-gap:0 !important; }
.mk-tabs .tab { margin-right:4px; }
.mk-tabs .tab-content { min-width:0; width:100%; max-width:100%; overflow-wrap:anywhere; }
.mk-tabs .tab-content p { white-space:normal; }
.mk-tabs .tab-active, .mk-tabs input.tab:checked { background:var(--mk-blue) !important; color:#fff !important; border-radius:24px !important; }
.mk-spec { width:100%; font-size:13px; }
.mk-spec td { padding:8px 10px; border-bottom:1px solid var(--mk-border); }
.mk-spec td:first-child { color:var(--mk-muted); width:45%; }
.mk-rate-input .mask-star-2 { background-color:var(--mk-yellow); }
@media (max-width:767px){ .mk-pdp{ grid-template-columns:minmax(0,1fr); gap:16px; } .mk-buy .mk-bigprice{ font-size:26px; } .mk-pdp .mk-cartbig .txt{ display:inline; } .mk-tabs .tab{ padding:0 10px; font-size:13px; } }

/* cart / checkout */
.mk-cartline { display:grid; grid-template-columns:84px minmax(0,1fr) auto auto 32px; gap:14px; align-items:center; padding:12px 0; }
.mk-cartline img { width:84px; height:84px; object-fit:contain; background:#fff; }
.mk-cartline .nm { font-size:14px; font-weight:500; }
.mk-summary { background:var(--mk-surface); border-radius:12px; padding:18px; }
.mk-summary .ln { display:flex; justify-content:space-between; padding:6px 0; }
.mk-summary .tot { font-weight:700; font-size:18px; border-top:1px solid #e3e3e3; margin-top:6px; padding-top:10px; }
.mk-two { display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:24px; align-items:start; }
.mk-form .input, .mk-form .select, .mk-form .textarea { border-color:#dcdcdc; width:100%; }
.mk-form .label-text { font-weight:500; }
.mk-empty { text-align:center; padding:48px 16px; background:var(--mk-surface); border-radius:16px; }
.mk-empty i { font-size:48px; color:var(--mk-blue); }
@media (max-width:767px){ .mk-two{ grid-template-columns:minmax(0,1fr); } .mk-cartline{ grid-template-columns:64px minmax(0,1fr) 28px; } .mk-cartline img{ width:64px; height:64px; } .mk-cartline .qtycell{ grid-column:2; } .mk-cartline .sum{ grid-column:2; } }

/* info pages */
.mk-prose { font-size:15px; line-height:1.65; color:var(--mk-text); max-width:820px; }
.mk-prose h1 { font-size:26px; margin:0 0 16px; }
.mk-prose h2 { font-size:18px; margin:24px 0 8px; }
.mk-prose p { margin:0 0 12px; }
.mk-legal { background:var(--mk-surface); border-radius:12px; padding:16px 18px; font-size:14px; }

/* auth */
.mk-auth { max-width:440px; margin:10px auto 0; }
.mk-auth .card { border:1px solid var(--mk-border); }
.mk-consent { display:flex; align-items:center; gap:8px; font-size:13px; white-space:nowrap; }
.mk-consent span { white-space:normal; }

/* toast + cookie */
.mk-toast { position:fixed; right:20px; bottom:20px; z-index:100; max-width:360px; }
.mk-toast .alert { background:#fff; color:var(--mk-text); border:1px solid #e3e8ef; border-radius:12px; box-shadow:0 12px 32px rgba(16,24,40,.14), 0 2px 6px rgba(16,24,40,.06); padding:10px 12px 10px 10px; display:flex; gap:12px; align-items:center; font-size:14px; font-weight:500; line-height:1.35; animation:mkToastIn .22s ease-out; }
.mk-toast .alert i.lead { flex:0 0 36px; width:36px; height:36px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:#e9f7ec; color:var(--mk-green); font-size:17px; line-height:1; }
.mk-toast .alert i.lead.bi-heart-fill, .mk-toast .alert i.lead.bi-heart { background:#fdecef; color:#e0245e; }
.mk-toast .alert i.lead.bi-cart-check-fill, .mk-toast .alert i.lead.bi-cart-plus-fill, .mk-toast .alert i.lead.bi-cart-fill, .mk-toast .alert i.lead.bi-bag-check-fill { background:#e8f3ff; color:#0a6cc2; }
.mk-toast .alert i.lead[class*="bi-exclamation"], .mk-toast .alert i.lead.bi-x-circle-fill { background:#fdeeee; color:#d92d20; }
.mk-toast .alert .msg { flex:1; text-align:left;display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.mk-toast .close { flex:0 0 28px; width:28px; height:28px; border-radius:50%; display:inline-flex; align-items:center; justify-content:center; background:none; border:0; color:#8a94a3; font-size:13px; padding:0; cursor:pointer; transition:background .15s, color .15s; }
.mk-toast .close:hover { background:#f1f4f8; color:#333; }
@keyframes mkToastIn { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:none; } }
@media (max-width:767px){ .mk-toast{ left:12px; right:12px; bottom:12px; max-width:none; } }
.mk-cookie { position:fixed; left:0; right:0; bottom:0; z-index:95; background:#fff; box-shadow:0 -6px 24px rgba(0,0,0,.15); border-top:4px solid var(--mk-blue); }
.mk-cookie .inner { max-width:var(--mk-container); margin:0 auto; padding:16px 15px; display:flex; gap:16px; align-items:center; }
.mk-cookie h3 { margin:0 0 4px; font-size:16px; color:#0d3b66; }
.mk-cookie p { margin:0; font-size:13px; color:var(--mk-muted); }
.mk-cookie a { color:var(--mk-blue); }
.mk-cookie .acts { display:flex; gap:8px; flex-shrink:0; }
@media (max-width:767px){ .mk-cookie .inner{ flex-direction:column; align-items:stretch; } .mk-cookie .acts{ flex-direction:column; } }

/* fullscreen gallery */
.mk-lightbox .modal-box { max-width:min(1000px,96vw); width:96vw; height:90vh; display:flex; align-items:center; justify-content:center; background:#fff; position:relative; }
.mk-lightbox .modal-box img { max-width:100%; max-height:100%; object-fit:contain; }

/* === lane: section-03 Suosituimmat kategoriat (live kujamedia.com: 112px circles, step ~128, arrow inside) === */
section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel[data-kind=circles] { --mk-pv:7; --mk-gap:12px; }
section[data-source-block*="suosituimmat-kategoriat"] .mk-circle { gap:10px; font-size:12px; line-height:18px; color:#333; }
section[data-source-block*="suosituimmat-kategoriat"] .mk-circle .avatar { max-width:112px; }
section[data-source-block*="suosituimmat-kategoriat"] .mk-circle .avatar > div { background:#f0f0f0; }
section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel .mk-arrow { width:32px; height:32px; min-height:32px; background:rgba(255,255,255,.92); color:#888; box-shadow:0 1px 3px rgba(0,0,0,.12); top:56px; }
section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel .mk-arrow.prev { left:12px; }
section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel .mk-arrow.next { right:12px; }
@media (max-width:1023px){ section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel[data-kind=circles]{ --mk-pv:6; } }
@media (max-width:767px){
  section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel[data-kind=circles]{ --mk-pv:4; --mk-gap:10px; }
  section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel .mk-arrow { top:calc((100vw - 24px - 30px) / 8); transform:translateY(-50%); }
  section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel .mk-arrow.prev { left:4px; }
  section[data-source-block*="suosituimmat-kategoriat"] .mk-carousel .mk-arrow.next { right:4px; }
}

/* === lane: section-04 Tehdashuolletut laitteet (live kujamedia.com .mFeature: 1000/1200 cards, 1px #dde1e6 border, r24, copy pad 16, no blue fade; Lego card dark overlay) === */
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo-grid { gap:16px; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo { aspect-ratio:1000/1200; border:1px solid #dde1e6; border-radius:24px; background:#f5f7fa; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo img { border-radius:24px; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo + .mk-promo::before { content:""; position:absolute; inset:0; z-index:1; pointer-events:none; background:linear-gradient(rgba(0,0,0,0) 50%, rgba(0,0,0,.4) 100%); }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo .copy { z-index:2; left:-1px; right:-1px; bottom:-1px; padding:16px; background:none; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo h3 { font-size:24px; line-height:34.2857px; font-weight:700; margin:0; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo p { font-size:16px; line-height:22.8571px; margin:0; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo .mk-pill { margin-top:9.6px; height:36px; min-height:36px; padding:0 12px; font-size:14px; line-height:20px; font-weight:500; border-radius:9999px; gap:0; }
section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo .mk-pill i { display:inline-block; width:18px; text-align:center; font-size:11px; -webkit-text-stroke:.4px; margin-left:-1px; }
@media (max-width:767px){
  section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo-grid { padding:0 4px; }
  section[data-source-block*="promo-tiles-tehdashuolletut"] .mk-promo h3 { font-size:24px; }
}

/* === lane: section-07 Kissan- ja koiranruoat (live .mFeature pair: 1000/1200 cards, 1px #dde1e6 border, r24, copy pad 16, no fade; mobile = swipe carousel 1 card + 2 bar dots) === */
section[data-source-block*="promo-tiles-kissan"] .mk-promo-grid { gap:16px; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo { aspect-ratio:1000/1200; border:1px solid #dde1e6; border-radius:24px; background:#199fff; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo img { border-radius:24px; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo .copy { z-index:2; left:-1px; right:-1px; bottom:-1px; padding:16px; background:none; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo h3 { font-size:24px; line-height:34.2857px; font-weight:700; margin:0; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo p { font-size:16px; line-height:22.8571px; margin:0; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo .mk-pill { margin-top:9.6px; height:36px; min-height:36px; padding:0 12px; font-size:14px; line-height:20px; font-weight:500; border-radius:9999px; gap:0; }
section[data-source-block*="promo-tiles-kissan"] .mk-promo .mk-pill i { display:inline-block; width:18px; text-align:center; font-size:11px; -webkit-text-stroke:.4px; margin-left:-1px; }
@media (max-width:767px){
  section[data-source-block*="promo-tiles-kissan"] .mk-promo-grid { display:flex; overflow-x:auto; overscroll-behavior-x:contain; scroll-snap-type:x mandatory; scrollbar-width:none; padding:0 4px; scroll-padding:0 4px; }
  section[data-source-block*="promo-tiles-kissan"] .mk-promo-grid::-webkit-scrollbar { display:none; }
  section[data-source-block*="promo-tiles-kissan"] .mk-promo { flex:0 0 100%; scroll-snap-align:start; }
  section[data-source-block*="promo-tiles-kissan"] .mk-promo h3 { font-size:24px; }
  section[data-source-block*="promo-tiles-kissan"]::after { content:""; display:block; width:83px; height:3px; margin:12px auto 0; background:linear-gradient(90deg, #199fff 0 40px, transparent 40px 43px, #dde1e6 43px 83px); border-radius:2px; }
}