/*
Theme Name: MEKEVO Catalog V2
Theme URI: https://mekevo.com/
Author: MEKEVO
Description: Isolated V2 development theme for the MEKEVO product selection platform.
Version: 2.5.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: mekevo-catalog-v2
*/

:root {
  --mk-ink: #071014;
  --mk-muted: #5e6a70;
  --mk-soft: #f5f8f9;
  --mk-panel: #ffffff;
  --mk-line: #d9e5e8;
  --mk-cyan: #26c4d9;
  --mk-blue: #2452ff;
  --mk-green: #b7f3dd;
  --mk-red: #9a2d32;
  --mk-shadow: 0 16px 45px rgba(7, 16, 20, 0.08);
  --mk-radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(rgba(7, 16, 20, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(7, 16, 20, 0.035) 1px, transparent 1px),
    var(--mk-soft);
  background-size: 28px 28px;
  color: var(--mk-ink);
  font-family: Manrope, Inter, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.mk-site {
  min-height: 100vh;
}

.mk-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.mk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(7, 16, 20, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.mk-header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 72px;
}

.mk-brand {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}

.mk-brand img {
  width: 148px;
  height: auto;
}

.mk-brand__fallback {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0;
}

.mk-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.mk-nav::-webkit-scrollbar {
  display: none;
}

.mk-nav a,
.mk-nav summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}

.mk-nav a:hover,
.mk-nav summary:hover {
  border-color: var(--mk-line);
  color: var(--mk-ink);
  background: #fff;
}

.mk-nav details {
  position: relative;
}

.mk-nav summary {
  list-style: none;
}

.mk-nav summary::-webkit-details-marker {
  display: none;
}

.mk-mega {
  position: fixed;
  top: 72px;
  left: max(16px, calc((100vw - 1180px) / 2));
  right: max(16px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 16px;
  padding: 16px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--mk-shadow);
}

.mk-mega__rail {
  display: grid;
  gap: 8px;
  align-content: start;
}

.mk-mega__rail a {
  justify-content: space-between;
  border-color: var(--mk-line);
  border-radius: var(--mk-radius);
}

.mk-mega__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.mk-header__tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.mk-search {
  display: flex;
  align-items: center;
  width: min(260px, 22vw);
  height: 38px;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
}

.mk-search input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  color: var(--mk-ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
}

.mk-search button {
  width: 42px;
  height: 38px;
  border: 0;
  color: var(--mk-ink);
  background: transparent;
  cursor: pointer;
}

.mk-btn,
.button,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--mk-ink);
  border-radius: var(--mk-radius);
  background: var(--mk-ink);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.mk-btn:hover,
.button:hover,
.wp-element-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(7, 16, 20, 0.14);
}

.mk-btn--ghost {
  border-color: var(--mk-line);
  background: #fff;
  color: var(--mk-ink);
}

.mk-btn--signal {
  border-color: var(--mk-cyan);
  background: var(--mk-cyan);
  color: #052025;
}

.mk-icon-btn {
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
}

.mk-hero {
  padding: 30px 0 28px;
}

.mk-home-hub__panel,
.mk-hero__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 26px;
  align-items: stretch;
  min-height: 480px;
  padding: 28px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--mk-shadow);
}

.mk-home-hub__content,
.mk-home-hub__visual {
  min-width: 0;
}

.mk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mk-kicker::before {
  width: 28px;
  height: 2px;
  background: var(--mk-cyan);
  content: "";
}

.mk-hero h1,
.mk-section h2,
.mk-page-head h1 {
  margin: 0;
  color: var(--mk-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.mk-hero h1 {
  max-width: 680px;
  font-size: clamp(46px, 6vw, 86px);
  line-height: 0.92;
}

.mk-hero__copy {
  max-width: 610px;
  margin: 20px 0 0;
  color: var(--mk-muted);
  font-size: 16px;
  line-height: 1.7;
}

.mk-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.mk-home-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0;
  width: min(680px, 100%);
  min-height: 54px;
  margin-top: 22px;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-home-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 16px;
  color: var(--mk-ink);
  font: inherit;
  font-size: 16px;
}

.mk-home-search button {
  min-width: 148px;
  border: 0;
  border-left: 1px solid var(--mk-line);
  background: var(--mk-ink);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.mk-home-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.mk-home-shortcuts a {
  display: grid;
  align-content: center;
  min-height: 64px;
  min-width: 0;
  padding: 10px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: linear-gradient(180deg, #fff, #f7fbfc);
}

.mk-home-shortcuts span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mk-home-shortcuts strong {
  margin-top: 8px;
  color: var(--mk-blue);
  font-size: 12px;
}

.mk-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.mk-stat {
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: linear-gradient(180deg, #fff, #f7fbfc);
}

.mk-stat strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.mk-stat span {
  display: block;
  margin-top: 8px;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.mk-matrix {
  position: relative;
  min-height: 424px;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background:
    linear-gradient(rgba(38, 196, 217, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 196, 217, 0.08) 1px, transparent 1px),
    #f9fcfd;
  background-size: 22px 22px;
}

.mk-matrix::before,
.mk-matrix::after {
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--mk-cyan);
  content: "";
}

.mk-matrix::before {
  top: 10px;
  left: 10px;
  border-top: 3px solid var(--mk-cyan);
  border-left: 3px solid var(--mk-cyan);
}

.mk-matrix::after {
  right: 10px;
  bottom: 10px;
  border-right: 3px solid var(--mk-cyan);
  border-bottom: 3px solid var(--mk-cyan);
}

.mk-matrix__label {
  position: absolute;
  top: 20px;
  left: 22px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-matrix__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  height: 100%;
  padding: 56px 16px 16px;
}

.mk-matrix__item {
  min-height: 160px;
  overflow: hidden;
  border: 1px solid rgba(7, 16, 20, 0.12);
  border-radius: var(--mk-radius);
  background: #e9eff1;
}

.mk-matrix__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mk-seal {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px 8px 8px;
  border: 1px solid rgba(7, 16, 20, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.mk-seal img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.mk-seal span {
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-desk-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.94);
}

.mk-desk-panel span {
  display: block;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-desk-panel strong {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.35;
}

.mk-desk-panel a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: var(--mk-radius);
  background: var(--mk-cyan);
  color: #052025;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.mk-section {
  padding: 42px 0;
}

.mk-section--band {
  border-top: 1px solid var(--mk-line);
  border-bottom: 1px solid var(--mk-line);
  background: rgba(255, 255, 255, 0.58);
}

.mk-section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.mk-section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
}

.mk-section__head p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--mk-muted);
  line-height: 1.6;
}

.mk-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.mk-cat-grid--priority {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-cat-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.mk-cat-card,
.mk-product,
.mk-request-card {
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: var(--mk-panel);
}

.mk-cat-card {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 118px;
}

.mk-cat-card__media {
  background: linear-gradient(135deg, #0d171c, #dce9ec);
}

.mk-cat-card__media img {
  width: 100%;
  height: 100%;
  min-height: 118px;
  object-fit: cover;
}

.mk-cat-card__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 12px;
}

.mk-cat-card strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mk-cat-card span {
  display: block;
  margin-top: 8px;
  color: var(--mk-blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.mk-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.mk-product__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #e7edef;
}

.mk-product__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.mk-product:hover .mk-product__media img {
  transform: scale(1.035);
}

.mk-product__badges {
  position: absolute;
  top: 8px;
  left: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: calc(100% - 16px);
}

.mk-product__badges span {
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  background: rgba(7, 16, 20, 0.72);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  line-height: 24px;
  text-transform: uppercase;
}

.mk-product__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 13px;
}

.mk-product__tag {
  color: var(--mk-red);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-product h3 {
  display: -webkit-box;
  min-height: 42px;
  margin: 8px 0 12px;
  overflow: hidden;
  color: var(--mk-ink);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mk-product__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: auto;
  color: var(--mk-muted);
  font-size: 11px;
  text-transform: uppercase;
}

.mk-product__meta a {
  color: var(--mk-blue);
  font-weight: 900;
}

.mk-product .mk-btn {
  width: 100%;
  margin-top: 12px;
}

.mk-catalog-head {
  padding: 34px 0 22px;
  border-bottom: 1px solid var(--mk-line);
  background: rgba(255, 255, 255, 0.72);
}

.mk-catalog-head__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: end;
}

.mk-catalog-head h1,
.mk-product-info h1 {
  margin: 0;
  color: var(--mk-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: 0;
}

.mk-catalog-head h1 {
  font-size: clamp(38px, 5vw, 68px);
  line-height: 0.98;
}

.mk-catalog-head p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-catalog-head__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(140px, 1fr));
  gap: 10px;
}

.mk-catalog-head__stats div,
.mk-catalog-side,
.mk-subcat-panel,
.mk-archive-toolbar,
.mk-empty,
.mk-product-gallery__main,
.mk-product-info {
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: rgba(255, 255, 255, 0.94);
}

.mk-catalog-head__stats div {
  min-height: 82px;
  padding: 14px;
}

.mk-catalog-head__stats strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.mk-catalog-head__stats span {
  display: block;
  margin-top: 8px;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-section--tight {
  padding-top: 26px;
}

.mk-catalog-layout {
  display: grid;
  grid-template-columns: 248px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.mk-catalog-side {
  position: sticky;
  top: 94px;
  display: grid;
  gap: 8px;
  padding: 12px;
}

.mk-side-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: var(--mk-radius);
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-side-link:hover {
  border-color: var(--mk-line);
  background: #f7fbfc;
  color: var(--mk-ink);
}

.mk-side-link strong {
  color: var(--mk-blue);
  font-size: 11px;
}

.mk-catalog-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}

.mk-subcat-panel {
  padding: 14px;
}

.mk-subcat-panel__head,
.mk-archive-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-subcat-panel__head {
  margin-bottom: 12px;
}

.mk-subcat-panel__head h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
}

.mk-subcat-panel__head span,
.mk-reset-link {
  color: var(--mk-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-subcat-panel--top {
  background:
    linear-gradient(rgba(38, 196, 217, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 196, 217, 0.06) 1px, transparent 1px),
    rgba(255, 255, 255, 0.96);
  background-size: 18px 18px;
}

.mk-toolbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: min(480px, 100%);
}

.mk-subcat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.mk-archive-toolbar {
  min-height: 62px;
  padding: 10px 12px;
}

.mk-archive-toolbar strong {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.mk-archive-toolbar span {
  display: block;
  margin-top: 5px;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-mini-search {
  display: flex;
  width: min(360px, 100%);
  height: 42px;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-mini-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0 12px;
  font: inherit;
  font-size: 13px;
}

.mk-mini-search button {
  min-width: 86px;
  border: 0;
  border-left: 1px solid var(--mk-line);
  background: var(--mk-ink);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.mk-pagination {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.mk-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mk-pagination a,
.mk-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
  font-size: 12px;
  font-weight: 900;
}

.mk-pagination .current {
  border-color: var(--mk-cyan);
  background: var(--mk-cyan);
  color: #052025;
}

.mk-empty {
  padding: 28px;
}

.mk-empty h2 {
  margin: 0 0 8px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
}

.mk-empty p {
  margin: 0 0 18px;
  color: var(--mk-muted);
}

.mk-product-detail {
  padding: 34px 0 44px;
}

.mk-product-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.mk-product-gallery {
  display: grid;
  gap: 10px;
}

.mk-product-gallery__main {
  overflow: hidden;
  background: #e7edef;
}

.mk-product-gallery__main--video {
  background: #000;
}

.mk-product-gallery__main img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mk-product-gallery__video {
  display: block;
  width: 100%;
  max-height: min(72vh, 720px);
  aspect-ratio: 4 / 5;
  background: #000;
  object-fit: contain;
}

.mk-product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.mk-product-gallery__thumbs a {
  display: block;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #e7edef;
}

.mk-product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.mk-product-info {
  position: sticky;
  top: 94px;
  padding: 22px;
}

.mk-product-info h1 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.03;
}

.mk-product-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.mk-product-facts span,
.mk-product-cats a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid var(--mk-line);
  border-radius: 999px;
  background: #fff;
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 22px;
}

.mk-reference-grid {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
}

.mk-reference-grid div {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
}

.mk-reference-grid dt,
.mk-reference-grid dd {
  min-width: 0;
  margin: 0;
}

.mk-reference-grid dt {
  color: var(--mk-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-reference-grid dd {
  overflow: hidden;
  color: var(--mk-ink);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-product-copy {
  margin-top: 20px;
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-product-copy p:first-child {
  margin-top: 0;
}

.mk-product-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.mk-product-cats a:hover {
  border-color: var(--mk-cyan);
  color: var(--mk-ink);
}

.mk-product-mobile-cta {
  display: none;
}

.mk-video-lock {
  overflow: hidden;
}

.mk-video-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 28px;
  background: rgba(7, 16, 20, 0.78);
  opacity: 0;
  transition: opacity 160ms ease;
}

.mk-video-modal[hidden] {
  display: none;
}

.mk-video-modal.is-open {
  opacity: 1;
}

.mk-video-modal__panel {
  width: min(920px, 100%);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--mk-radius);
  background: #071014;
  box-shadow: 0 28px 80px rgba(7, 16, 20, 0.34);
}

.mk-video-modal__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  color: #fff;
}

.mk-video-modal__head span {
  display: block;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-video-modal__head strong {
  display: block;
  overflow: hidden;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mk-video-modal__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mk-video-modal__player {
  display: block;
  width: 100%;
  max-height: min(70vh, 720px);
  background: #000;
}

.mk-video-modal__foot {
  display: flex;
  justify-content: flex-end;
  padding: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mk-request-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.mk-request-card {
  min-height: 140px;
  padding: 18px;
}

.mk-request-card strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  line-height: 1.1;
}

.mk-request-card p {
  margin: 12px 0 0;
  color: var(--mk-muted);
  line-height: 1.6;
}

.mk-page-head {
  padding: 34px 0 24px;
}

.mk-page-head h1 {
  font-size: clamp(34px, 5vw, 64px);
}

.mk-page-head p,
.mk-entry {
  color: var(--mk-muted);
  line-height: 1.7;
}

.mk-content {
  padding: 26px 0 58px;
}

.mk-footer {
  border-top: 1px solid var(--mk-line);
  background: #fff;
}

.mk-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(180px, 0.75fr) minmax(220px, 0.9fr);
  gap: 28px;
  align-items: start;
  min-height: 168px;
  padding: 28px 0;
  color: var(--mk-muted);
  font-size: 13px;
}

.mk-footer__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--mk-ink);
  font-weight: 900;
}

.mk-footer__brand img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.mk-footer__intro p,
.mk-footer__inquiry p {
  max-width: 360px;
  margin: 12px 0 0;
  line-height: 1.65;
}

.mk-footer__nav,
.mk-footer__inquiry {
  display: grid;
  gap: 9px;
}

.mk-footer__nav strong,
.mk-footer__inquiry strong {
  color: var(--mk-ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.mk-footer__nav a {
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 800;
}

.mk-footer__nav a:hover {
  color: var(--mk-ink);
}

.mk-footer__inquiry .mk-btn {
  width: fit-content;
  margin-top: 5px;
}

.woocommerce .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price {
  display: none;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  margin: 0;
  padding: 0 0 14px;
  overflow: hidden;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  background: #fff;
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  width: 100%;
  height: auto;
  margin: 0 0 12px;
  object-fit: cover;
}

.woocommerce-loop-product__title {
  min-height: 42px;
  padding: 0 13px;
  color: var(--mk-ink);
  font-size: 15px !important;
  line-height: 1.35;
}

.woocommerce ul.products li.product .button {
  margin: 12px 13px 0;
}

.mk-wa-float-space {
  height: 0;
}

.mk-mobile-dock {
  display: none;
}

@media (max-width: 1050px) {
  .mk-header__inner {
    grid-template-columns: 1fr auto;
  }

  .mk-nav {
    grid-column: 1 / -1;
    order: 3;
    padding-bottom: 12px;
  }

  .mk-search {
    width: 220px;
  }

  .mk-hero__panel {
    grid-template-columns: 1fr;
  }

  .mk-home-hub__panel {
    grid-template-columns: 1fr;
  }

  .mk-matrix {
    min-height: 360px;
  }

  .mk-cat-grid,
  .mk-cat-grid--priority,
  .mk-cat-grid--compact,
  .mk-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mk-catalog-layout,
  .mk-product-detail__grid {
    grid-template-columns: 1fr;
  }

  .mk-catalog-main {
    order: 1;
  }

  .mk-catalog-side,
  .mk-product-info {
    position: static;
  }

  .mk-catalog-side {
    order: 2;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .mk-subcat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-toolbar-actions {
    min-width: 0;
  }
}

@media (max-width: 760px) {
  .mk-shell {
    width: min(100% - 22px, 680px);
  }

  .mk-header__inner {
    gap: 10px;
    min-height: 64px;
  }

  .mk-brand img {
    width: 118px;
  }

  .mk-header__tools {
    gap: 6px;
  }

  .mk-search {
    display: none;
  }

  .mk-btn {
    min-height: 40px;
    padding: 0 13px;
    font-size: 12px;
  }

  .mk-hero {
    padding-top: 18px;
  }

  .mk-hero__panel {
    min-height: 0;
    padding: 18px;
  }

  .mk-home-hub__panel {
    min-height: 0;
    padding: 16px;
  }

  .mk-hero h1 {
    font-size: 38px;
    line-height: 0.95;
  }

  .mk-hero__copy {
    font-size: 14px;
  }

  .mk-home-search {
    min-height: 48px;
    margin-top: 18px;
  }

  .mk-home-search input {
    font-size: 16px;
  }

  .mk-home-search button {
    min-width: 112px;
    padding: 0 10px;
    font-size: 12px;
  }

  .mk-home-shortcuts {
    display: flex;
    gap: 8px;
    margin-right: -11px;
    margin-left: -11px;
    overflow-x: auto;
    padding: 0 11px 4px;
    scrollbar-width: none;
  }

  .mk-home-shortcuts::-webkit-scrollbar {
    display: none;
  }

  .mk-home-shortcuts a {
    min-width: 148px;
    min-height: 56px;
  }

  .mk-home-hub .mk-stats {
    display: none;
  }

  .mk-home-hub__visual {
    display: none;
  }

  .mk-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-matrix__grid {
    padding: 50px 10px 10px;
  }

  .mk-matrix__item {
    min-height: 128px;
  }

  .mk-section__head {
    align-items: start;
    flex-direction: column;
  }

  .mk-section {
    padding: 28px 0;
  }

  .mk-cat-grid,
  .mk-cat-grid--priority,
  .mk-cat-grid--compact,
  .mk-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .mk-catalog-head__inner,
  .mk-catalog-head__stats {
    grid-template-columns: 1fr;
  }

  .mk-catalog-head h1 {
    font-size: 42px;
  }

  .mk-catalog-side {
    grid-template-columns: 1fr 1fr;
    padding: 10px;
  }

  .mk-side-link {
    min-height: 42px;
    padding: 9px 10px;
  }

  .mk-subcat-panel,
  .mk-product-info {
    padding: 12px;
  }

  .mk-subcat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-archive-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .mk-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .mk-mini-search {
    width: 100%;
  }

  .mk-reset-link {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
  }

  .mk-product-detail {
    padding-top: 18px;
  }

  .mk-product-info h1 {
    font-size: 30px;
  }

  .mk-product-actions {
    grid-template-columns: 1fr;
  }

  .mk-product-gallery__thumbs {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 6px;
  }

  .mk-reference-grid div {
    grid-template-columns: 74px minmax(0, 1fr);
  }

  .mk-product-mobile-cta {
    position: fixed;
    right: 10px;
    bottom: calc(84px + env(safe-area-inset-bottom));
    left: 10px;
    z-index: 69;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    padding: 8px;
    border: 1px solid rgba(7, 16, 20, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 36px rgba(7, 16, 20, 0.14);
    backdrop-filter: blur(18px);
  }

  .mk-product-mobile-cta span {
    overflow: hidden;
    padding-left: 6px;
    color: var(--mk-muted);
    font-size: 11px;
    font-weight: 900;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .mk-product-mobile-cta .mk-btn {
    min-height: 42px;
    white-space: nowrap;
  }

  .mk-video-modal {
    align-items: end;
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
  }

  .mk-video-modal__panel {
    max-height: calc(100vh - 24px - env(safe-area-inset-bottom));
    overflow: auto;
  }

  .mk-video-modal__head {
    padding: 10px;
  }

  .mk-video-modal__player {
    max-height: 62vh;
  }

  .mk-video-modal__foot {
    padding: 10px;
  }

  .mk-video-modal__foot .mk-btn {
    width: 100%;
  }

  .mk-cat-card {
    grid-template-columns: 1fr;
  }

  .mk-cat-card__media {
    aspect-ratio: 4 / 3;
  }

  .mk-request-grid {
    grid-template-columns: 1fr;
  }

  .mk-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0 calc(22px + env(safe-area-inset-bottom));
  }

  .mk-mega {
    top: 112px;
    grid-template-columns: 1fr;
    max-height: 70vh;
    overflow: auto;
  }

  .mk-mega__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mk-nav__term {
    display: none !important;
  }

  .mk-mobile-dock {
    position: fixed;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    left: 10px;
    z-index: 70;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    min-height: 66px;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border: 1px solid rgba(7, 16, 20, 0.12);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 45px rgba(7, 16, 20, 0.16);
    backdrop-filter: blur(18px);
  }

  .mk-mobile-dock__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    min-height: 48px;
    border: 0;
    border-radius: 16px;
    background: transparent;
    color: var(--mk-ink);
    font: inherit;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    cursor: pointer;
  }

  .mk-mobile-dock__item svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
  }

  .mk-mobile-dock__wa {
    color: #10b95f;
  }

  .mk-wa-float-space {
    height: calc(82px + env(safe-area-inset-bottom));
  }
}
