.mk-content {
  width: min(calc(100% - 48px), var(--container, 1240px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 72px) 0;
}

.mk-city-search { display:flex; flex-wrap:wrap; align-items:end; gap:12px; }
.mk-city-search label { flex:1 1 200px; }
.mk-contact-dialog { width:min(600px,calc(100% - 32px)); max-height:90dvh; overflow:auto; padding:24px; border:1px solid var(--line); background:var(--surface,#fbfaf7); color:var(--text); }
.mk-contact-dialog::backdrop { background:#17171580; }
.mk-contact-dialog h2 { font-size:28px; margin:0; }
.mk-contact-dialog .mk-actions { justify-content:space-between; }
.mk-honeypot { position:absolute!important; left:-10000px; width:1px; height:1px; overflow:hidden; }
.mk-admin-page .mk-content { width:min(calc(100% - 48px),1560px); }
.mk-admin-page .mk-content>h1 { font-size:clamp(32px,3vw,48px); line-height:1.15; margin-bottom:24px; }
.mk-admin-page h2 { font-size:24px; line-height:1.3; margin:0 0 20px; }
.mk-admin-page h3 { font-size:18px; margin:24px 0 12px; }
.mk-admin-page p,.mk-admin-page li,.mk-admin-page td,.mk-admin-page th { font-size:16px; }
.mk-admin-page small,.mk-admin-page .mk-meta { font-size:14px; }
.mk-admin-top { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:24px; }
.mk-admin-top>p { font-weight:600; letter-spacing:.12em; }
.mk-admin-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin-bottom:28px; }
.mk-admin-stats>div { padding:20px; background:var(--surface,#fbfaf7); border:1px solid var(--line,#ddd); }
.mk-admin-stats strong { display:block; font-size:28px; font-weight:500; margin-bottom:4px; }
.mk-admin-stats span { font-size:14px; color:var(--muted); }
.mk-admin-tabs { display:flex; flex-wrap:wrap; gap:10px; padding-bottom:24px; border-bottom:1px solid var(--line); margin-bottom:24px; }
.mk-admin-tabs [aria-current=page] { background:var(--text,#171715); color:#fff; }
.mk-admin-split { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(320px,1fr); gap:24px; align-items:start; }
.mk-admin-split>section { min-width:0; }
.mk-editor { padding:24px; background:var(--surface,#fbfaf7); border:1px solid var(--line,#ddd); }
.mk-editor .mk-form { max-width:none; }
.mk-editor details { margin:20px 0; }
.mk-editor summary { cursor:pointer; font-size:16px; }
.mk-editor p { overflow-wrap:anywhere; }
.mk-table-wrap { width:100%; overflow:auto; margin:20px 0; }
.mk-table { width:100%; border-collapse:collapse; text-align:left; }
.mk-table th { font-size:14px; color:var(--muted); font-weight:500; white-space:nowrap; }
.mk-table th,.mk-table td { padding:16px 12px; border-bottom:1px solid var(--line,#ddd); vertical-align:top; }
.mk-table td small { display:block; color:var(--muted); margin-top:6px; }
.mk-text-button { background:none; border:0; text-align:left; padding:0; color:inherit; font:inherit; text-decoration:underline; text-underline-offset:3px; cursor:pointer; }
.mk-admin-photo { width:100%; max-height:200px; object-fit:contain; background:var(--bg); }
.mk-package-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.mk-integration-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; margin-bottom:24px; }
.mk-prewrap { white-space:pre-wrap; }
.mk-login { width:min(100%, 440px); padding:clamp(22px, 5vw, 42px); border:1px solid var(--line); background:var(--surface); }

.mk-admin-page {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
}
.mk-admin-page > :is(site-header, site-footer, header, footer) { display: none; }
.mk-admin-page .mk-content { width: min(calc(100% - 48px), 1480px); padding-top: 32px; }
.mk-admin-page .mk-content > h1 { font-family: inherit; letter-spacing: -.04em; font-weight: 680; }
.mk-admin-sign-in .mk-content {
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 20px 0;
}
.mk-admin-sign-in .mk-content > h1 { display: none; }
.mk-admin-sign-in .mk-admin-root { display: grid; justify-items: center; width: 100%; }
.mk-login h1 { margin: 0 0 8px; text-align: center; font-size: clamp(24px, 4vw, 30px); line-height: 1.15; font-weight: 600; }
.mk-login-logo { width: 112px; height: auto; margin: 0 auto 8px; }
.mk-login .button { width: 100%; }
.mk-login .button:disabled { opacity: .48; cursor: default; }
.mk-admin-top { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.mk-admin-brand { width: 98px; height: auto; }
.mk-admin-page :is(.mk-admin-stats > div, .mk-editor, .mk-login, .mk-admin-split > section:first-child) {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.mk-admin-page .mk-login { margin: 0; box-shadow: var(--shadow); }
.mk-admin-split > section:first-child { padding: 22px; }
.mk-admin-page .mk-editor { padding: 24px; }
.mk-admin-page .mk-admin-split { grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr); }
.mk-admin-page :is(.mk-button, .mk-chip) { min-height: 52px; padding: 13px 24px; border: 1px solid var(--text); border-radius: 999px; font-weight: 600; line-height: 1.2; }
.mk-admin-page .mk-button, .mk-admin-page .mk-chip[aria-current=page] { background: var(--text); color: var(--white); }
.mk-admin-page .mk-button:hover:not(:disabled) { background: transparent; color: var(--text); }
.mk-admin-page .mk-chip:not([aria-current]):hover:not(:disabled) { background: var(--text); color: var(--white); }
.mk-admin-page .mk-admin-tabs { gap: 8px; border: 0; padding: 8px; background: var(--bg-soft); border-radius: var(--radius); margin-bottom: 16px; }
.mk-admin-page :is(input:not([type=checkbox]), select, textarea) { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 9px 11px; }
.mk-admin-page [data-search] { display:block; min-height:44px; width:100%; margin-top:5px; }
.mk-admin-page .mk-table :is(th,td) { padding: 12px 9px; font-size: 14px; }
.mk-admin-page .mk-table tbody tr:hover { background: var(--bg); }
.mk-admin-page .mk-table .mk-text-button { color: var(--text); font-weight: 650; }
.mk-admin-page [data-panel-status]:empty { display: none; }
.mk-admin-page [role=status] { color: var(--accent-dark); overflow-wrap: anywhere; }
.mk-editor-title, .mk-cover-row, .mk-editor-save { display:flex; gap:16px; align-items:center; flex-wrap:wrap; }
.mk-editor-title { justify-content:space-between; margin-bottom:16px; }
.mk-editor-title h2, .mk-editor-save p { margin:0; }
.mk-field-pair { display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:12px; }
.mk-product-form fieldset { min-width:0; border:1px solid var(--line); border-radius:var(--radius); padding:14px; }
.mk-product-form legend { padding:0 6px; font-weight:650; }
.mk-cover, .mk-empty-media { width:80px; height:80px; border-radius:var(--radius); object-fit:cover; background:var(--bg-soft); }
.mk-empty-media { display:grid; place-items:center; text-align:center; font-size:12px; }
.mk-media-list { display:grid; grid-template-columns:repeat(auto-fill, minmax(112px, 1fr)); gap:10px; margin-bottom:8px; }
.mk-media-list img { width:100%; aspect-ratio:1.2; object-fit:cover; border-radius:var(--radius); }
.mk-media-actions { display:flex; gap:4px; flex-wrap:wrap; margin-top:5px; }
.mk-media-actions button { min-height:32px; background:var(--surface); color:var(--text); border:1px solid var(--line-strong); border-radius:999px; padding:3px 7px; cursor:pointer; font:inherit; font-size:12px; }
.mk-media-actions button:disabled { opacity:.4; cursor:default; }
.mk-video-editor { display:grid; gap:10px; padding:12px; background:var(--bg); border-radius:var(--radius); margin-bottom:10px; }
.mk-product-gallery-section, .mk-product-videos { width:min(calc(100% - 48px), var(--container, 1240px)); margin:clamp(28px,6vw,80px) auto; }
.mk-video-block { display:grid; grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr); align-items:center; gap:clamp(16px,4vw,48px); margin-bottom:clamp(24px,5vw,64px); }
.mk-video-block video { width:100%; aspect-ratio:16/9; background:#eee9e2; display:block; }
.mk-video-block p { white-space: pre-line; }
@media (max-width: 860px) {
  .mk-admin-page .mk-admin-split, .mk-video-block { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .mk-admin-page .mk-content { width:calc(100% - 24px); }
  .mk-admin-page .mk-editor, .mk-admin-split > section:first-child { padding:14px; }
  .mk-field-pair { grid-template-columns: minmax(0,1fr); }
}
.mk-checkout aside { align-self:start; border:1px solid var(--line); padding:24px; background:var(--surface); }
.mk-checkout h2 { font-size:24px; }
.mk-checkout li { margin-bottom:12px; }
[hidden] { display:none!important; }
@media(max-width:1050px) { .mk-admin-split { grid-template-columns:1fr; } }
@media(max-width:640px) { .mk-admin-stats { grid-template-columns:1fr 1fr; gap:10px; } .mk-admin-stats>div { padding:16px; } .mk-admin-top { align-items:start; flex-direction:column; } .mk-integration-grid { grid-template-columns:1fr; } .mk-editor { padding:18px; } .mk-admin-page .mk-content { width:calc(100% - 32px); } }

.mk-catalog-nav,
.mk-home-categories,
.mk-actions,
.mk-filters,
.mk-cart-bottom,
.mk-compare-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.mk-home-categories { margin-top: clamp(24px, 3vw, 40px); }
.mk-home-categories {
  gap: 12px clamp(14px, 2vw, 24px);
}
.mk-home-categories > a {
  text-align: center;
  white-space: normal;
}
.mk-catalog-page > .page-hero { padding-bottom: 0; }
.mk-catalog-page > .mk-content { padding-top: 24px; }
.mk-brand-description { font-size: clamp(16px, 1.2vw, 18px); line-height: 1.65; color: var(--muted); }
.mk-legal-notice { margin-bottom: 32px; padding: 20px; border: 1px solid var(--line, #ccc); background: var(--bg-soft, #faf8f3); font-size: 16px; line-height: 1.65; }
.hero-grid > .hero-media { min-width: 0; }
.hero-grid > .hero-media img { width: 100%; height: auto; }
.mk-filters { margin-top: 1.25rem; align-items: end; }
.mk-meta { font-size: .875em; opacity: .8; }
.mk-card-extras { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1rem; }
.mk-buy { display: inline-flex; align-items: flex-start; flex-direction: column; gap: 8px; }
.mk-button, .mk-chip {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: .7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: .875rem;
  text-decoration: none;
  cursor: pointer;
}
.mk-chip { border-color: currentColor; background: transparent; color: inherit; }
.mk-button, .mk-chip[aria-current="page"] {
  background: var(--text, #191918);
  border-color: var(--text, #191918);
  color: var(--white, #fff);
}
.mk-button:hover { color: var(--text, #191918); background: transparent; }
.mk-button:disabled, .mk-chip:disabled, [data-mk-add]:disabled { cursor: default; opacity: .48; }
.mk-button:focus-visible, .mk-chip:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.mk-catalog-group + .mk-catalog-group { margin-top: clamp(36px, 6vw, 84px); }
.mk-catalog-group > .catalog-product-grid { margin-top: clamp(20px, 3vw, 40px); }
.mk-technical .mk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 20px; }
.mk-modal-cart a { text-decoration: underline; }
.mk-product { min-width: 0; border: 1px solid #80808038; }
.mk-original-tile, .mk-original-feature { min-width: 0; }
.mk-original-feature > .mk-card-extras { margin: .8rem 0; }
.mk-product-photo {
  display: block;
  aspect-ratio: 4 / 3;
  background: #80808012;
  overflow: hidden;
}
.mk-product-photo img, .mk-compare-photo, .mk-detail-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mk-product-copy { padding: clamp(12px, 2vw, 24px); }
.mk-product-copy h2, .mk-cart-item h2 { font-size: clamp(1rem, 2vw, 1.35rem); margin: .4rem 0 .7rem; }
.mk-product-copy h2 a, .mk-cart-item h2 a { color: inherit; }
.mk-product-copy .mk-actions { margin-top: 1rem; }
.mk-compare-toggle, .mk-consent { display: flex !important; align-items: center; gap: .5rem; }
.mk-compare-dialog {
  color: var(--text, #191918);
  background: var(--bg, #f2efe8);
  padding: clamp(12px, 3vw, 32px);
  width: min(720px, 95vw);
  max-width: 95vw;
  max-height: 90vh;
  border: 0;
  overflow: auto;
  margin: auto;
}
.mk-compare-dialog::backdrop { background: #16161499; }
.mk-compare-dialog h2 { font-size: clamp(1.25rem, 3vw, 2rem); }
.mk-compare-head { justify-content: space-between; }
.mk-comparison, .mk-checkout, .mk-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 4vw, 56px);
}
.mk-compare-photo { aspect-ratio: 4 / 3; height: auto; }
.mk-detail-photo { aspect-ratio: 4 / 3; }
.mk-cart-item {
  border-bottom: 1px solid #80808038;
  padding: 18px 0;
  display: grid;
  grid-template-columns: auto 1fr 6.5rem minmax(5rem, auto) auto;
  align-items: center;
  gap: 15px;
}
.mk-cart-photo { width: 88px; height: 76px; object-fit: contain; }
.mk-cart-bottom { justify-content: flex-end; margin-top: 24px; }
.mk-cart-bottom a:first-child { margin-right: auto; }
.mk-checkout, .mk-detail, .mk-form { margin-top: 24px; }
.mk-form { display: grid; gap: 12px; max-width: 36rem; }
.mk-form label, .mk-filters label, .mk-admin-select, .mk-cart label {
  display: grid;
  gap: 4px;
  font-size: .875rem;
}
.mk-form input:not([type="checkbox"]), .mk-form select, .mk-form textarea, .mk-filters select,
.mk-admin-select select, .mk-cart input {
  color: inherit;
  background: inherit;
  border: 1px solid #80808080;
  padding: .58rem .72rem;
  font: inherit;
  outline-offset: 2px;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
}
.mk-form .mk-button { justify-self: start; }
.mk-form [role="status"]:empty { display: none; }
.mk-checkout li, .mk-confirmation li { margin-bottom: .6rem; }
.mk-admin-select { width: min(100%, 36rem); }
.mk-announcement {
  position: fixed;
  inset: auto 1rem 1rem auto;
  max-width: calc(100% - 2rem);
  padding: .85rem 1rem;
  background: #191918;
  color: #fff;
  font-size: .9rem;
  z-index: 10000;
}
.mk-announcement a { color: inherit; text-decoration: underline; }
.mk-announcement[hidden], .mk-admin-form label[hidden] { display: none; }

.mk-technical * { box-sizing: border-box; }
.mk-technical body { margin: 0; font: 16px/1.45 system-ui, sans-serif; color: #191918; background: #fff; }
.mk-technical a { color: inherit; }
.mk-technical :is(.mk-button, .mk-chip[aria-current="page"]) { color: #fff; }
.mk-technical header, .mk-technical footer { padding: 16px 24px; border-bottom: 1px solid #80808038; }
.mk-technical header, .mk-technical header nav { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.mk-technical main > section:not(.mk-content), .mk-source-note { margin: 24px; }
.mk-source-note { padding: .75rem 1rem; border: 1px solid #80808060; font-size: .875em; }

@media (max-width: 850px) {
  .mk-checkout { grid-template-columns: minmax(0, 1fr); }
  .mk-checkout > div { order: -1; }
}

@media (max-width: 700px) {
  .mk-content { width: min(calc(100% - 32px), var(--container, 1240px)); }
  .mk-catalog-page > .mk-content { width: min(calc(100% - 48px), var(--container, 1240px)); }
  .page-hero .display, .hero .display, .product-hero .display, .catalog-product-hero .display {
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}

@media (max-width: 600px) {
  .mk-catalog-page > .mk-content { width: calc(100% - 28px); }
  .mk-actions { align-items: flex-start; flex-direction: column; }
  .mk-cart-item { grid-template-columns: 60px minmax(0, 1fr) auto; gap: 8px; }
  .mk-cart-photo { width: 60px; height: 60px; }
  .mk-cart-item > div { grid-column: span 2; }
  .mk-cart-item label { grid-column: span 2; width: 6.5rem; }
  .mk-cart-item button { grid-column: 2 / 4; justify-self: end; }
  .mk-detail { grid-template-columns: minmax(0, 1fr); }
}
