/*
Theme Name: MEKEVO Catalog
Theme URI: https://mekevo.com/
Author: MEKEVO
Description: Inquiry-first WooCommerce catalog theme for MEKEVO product selection.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: mekevo-catalog
*/

: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-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-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-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-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-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 {
  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__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 a {
  color: var(--mk-blue);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.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 img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

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

.mk-product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--mk-line);
  border-radius: var(--mk-radius);
  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-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-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: 1fr auto;
  gap: 20px;
  align-items: center;
  min-height: 120px;
  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%;
}

.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;
}

@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-matrix {
    min-height: 360px;
  }

  .mk-cat-grid,
  .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));
  }
}

@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 {
    width: 42px;
  }

  .mk-search input {
    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-hero h1 {
    font-size: 44px;
  }

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

  .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-cat-grid,
  .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-mini-search {
    width: 100%;
  }

  .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(4, minmax(0, 1fr));
  }

  .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;
    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));
  }
}
