@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* =========================================================
   3DBRUSH exact clean design
   This file is made for index_exact_clean.php.
   It does not rely on header.php/header.css/header_left.css.
   ========================================================= */
:root {
  --mk-bg: #f7f8fb;
  --mk-header: #060a0f;
  --mk-header-2: #0b1118;
  --mk-text: #111827;
  --mk-muted: #5e6877;
  --mk-border: rgba(15, 23, 42, .10);
  --mk-card: #ffffff;
  --mk-orange: #f07812;
  --mk-orange-2: #ff8a18;
  --mk-gold: #ffbd4a;
  --mk-shadow: 0 16px 38px rgba(17, 24, 39, .12);
  --mk-shadow-hover: 0 24px 52px rgba(17, 24, 39, .17);
  --mk-radius: 18px;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--mk-bg); }
body.mk-exact-page {
  margin: 0;
  background: var(--mk-bg) !important;
  color: var(--mk-text);
  font-family: "Inter", "Segoe UI", Roboto, Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
body.mk-exact-page a { text-decoration: none !important; }
body.mk-exact-page img { max-width: 100%; height: auto; }
.mk-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.mk-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: linear-gradient(180deg, var(--mk-header-2) 0%, var(--mk-header) 100%);
  box-shadow: 0 12px 34px rgba(3, 7, 12, .24);
}
.mk-site-header__inner {
  width: 100%;
  max-width: 1536px;
  min-height: 72px;
  margin: 0 auto;
  padding: 0 42px;
  display: grid;
  grid-template-columns: auto auto minmax(280px, 520px) auto;
  align-items: center;
  gap: 34px;
}
.mk-site-logo {
  display: inline-flex;
  align-items: center;
  min-width: 132px;
}
.mk-site-logo img {
  display: block;
  width: 118px;
  height: auto;
  object-fit: contain;
}
.mk-site-nav {
  display: flex;
  align-items: center;
  gap: 0;
  min-width: 0;
}
.mk-site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 72px;
  padding: 0 19px;
  color: rgba(255,255,255,.88);
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .18s ease, background .18s ease;
}
.mk-site-nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  width: 1px;
  height: 22px;
  background: rgba(255,255,255,.14);
}
.mk-site-nav a:hover { color: var(--mk-orange-2); }
.mk-site-search {
  justify-self: center;
  width: 100%;
  max-width: 520px;
  height: 42px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 13px;
  background: rgba(255,255,255,.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.mk-site-search input {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 0 16px 0 18px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}
.mk-site-search input::placeholder { color: #94a3b8; }
.mk-site-search button {
  width: 46px;
  height: 100%;
  border: 0;
  border-left: 1px solid rgba(255,255,255,.10);
  background: transparent;
  color: rgba(255,255,255,.92);
  font-size: 25px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color .18s ease, background .18s ease;
}
.mk-site-search button:hover {
  color: var(--mk-orange-2);
  background: rgba(255,255,255,.06);
}
.mk-site-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.mk-cart-link,
.mk-login-link {
  color: rgba(255,255,255,.88);
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: color .18s ease;
}
.mk-cart-link { font-size: 26px; }
.mk-login-link { color: var(--mk-orange-2); }
.mk-cart-link:hover,
.mk-login-link:hover { color: var(--mk-orange); }

/* Page */
.mk-exact-page .section-padding {
  padding: 34px 0 24px !important;
  background: var(--mk-bg) !important;
}
.mk-exact-page .section-padding > .container {
  width: 100% !important;
  max-width: 1396px !important;
  margin: 0 auto !important;
  padding-left: 36px !important;
  padding-right: 36px !important;
}
.mk-exact-page .row { margin-left: 0 !important; margin-right: 0 !important; }
.mk-exact-page .fast-list,
.mk-exact-page .content-box-wrapper { width: 100% !important; }
.mk-exact-page .content-box-wrapper {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 10px !important;
  align-items: stretch !important;
}
.mk-exact-page .sqrent_top_filter { margin: 0 !important; }
.mk-exact-page .tags-action span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 8px 16px 0;
  padding: 7px 11px;
  border-radius: 999px;
  background: #fff;
  color: var(--mk-text);
  box-shadow: 0 8px 20px rgba(17,24,39,.07);
}
.mk-exact-page .tags-action span a { color: var(--mk-orange); }

/* Product card */
.mk-product-card {
  position: relative;
  min-width: 0;
  min-height: 374px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, .06);
  border-radius: var(--mk-radius);
  background: var(--mk-card);
  box-shadow: var(--mk-shadow);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.mk-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(240, 120, 18, .20);
  box-shadow: var(--mk-shadow-hover);
}
.mk-card-image-link {
  display: block;
  color: inherit;
}
.mk-card-image {
  position: relative;
  height: 222px;
  overflow: hidden;
  border-radius: var(--mk-radius) var(--mk-radius) 0 0;
  background: radial-gradient(circle at 50% 38%, #222b35 0%, #121821 52%, #05070b 100%);
}
.mk-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,.01), rgba(0,0,0,.12));
  pointer-events: none;
}
.mk-card-img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
  transition: transform .32s ease, filter .32s ease;
}
.mk-product-card:hover .mk-card-img {
  transform: scale(1.055);
  filter: saturate(1.04) contrast(1.02);
}
.mk-card-count {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(17,24,39,.76);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
}
.mk-card-count .mdi { font-size: 15px; line-height: 1; }
.mk-card-status {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 9;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  box-shadow: 0 10px 18px rgba(0,0,0,.24);
}
.mk-card-status--new {
  color: #fff;
  background: linear-gradient(180deg, #ff9824 0%, var(--mk-orange) 100%);
}
.mk-card-status--premium {
  color: var(--mk-gold);
  border: 1px solid rgba(255,189,74,.38);
  background: rgba(5,8,13,.72);
  backdrop-filter: blur(10px);
}
.mk-card-body {
  flex: 1 1 auto;
  min-height: 86px;
  padding: 15px 18px 0;
  background: #fff;
}
.mk-card-title {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  color: var(--mk-text) !important;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -.012em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.mk-card-title:hover { color: var(--mk-orange) !important; }
.mk-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 22px;
  margin-top: 7px;
  overflow: hidden;
  color: var(--mk-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: nowrap;
}
.mk-card-meta .mdi {
  flex: 0 0 auto;
  color: #4b5563;
  font-size: 18px;
  line-height: 1;
}
.mk-card-meta span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mk-card-footer {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding: 10px 18px 15px;
  background: #fff;
}
.mk-card-price {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--mk-orange);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.mk-card-price-icon {
  display: inline-block;
  width: auto;
  height: 16px;
  max-width: none;
  transform: translateY(1px);
}
.mk-card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  border: 1px solid rgba(15,23,42,.11);
  border-radius: 12px;
  background: #fff;
  color: #1f2937 !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
  transition: transform .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.mk-card-action .mdi {
  display: block;
  font-size: 24px;
  line-height: 1;
}
.mk-card-action:hover {
  transform: translateY(-2px);
  border-color: rgba(240,120,18,.38);
  background: #fff7ed;
  color: var(--mk-orange) !important;
  box-shadow: 0 12px 20px rgba(240,120,18,.18);
}
.mk-card-footer--free { padding-top: 6px; }
.mk-card-footer--free .mk-card-action--download {
  width: 100%;
  height: 43px;
  color: var(--mk-orange) !important;
  box-shadow: none;
}
.mk-card-footer--free .mk-card-action--download:hover {
  border-color: rgba(240,120,18,.32);
  background: #fff7ed;
}

/* Pagination */
.mk-exact-page .pagination.justify-content-center {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 6px !important;
}
.mk-exact-page .pagination .page-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: transparent !important;
  color: var(--mk-text) !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.mk-exact-page .pagination .page-item.active .page-link {
  background: #0b0f16 !important;
  color: #fff !important;
  box-shadow: 0 10px 18px rgba(15,23,42,.20) !important;
}
.mk-exact-page .pagination .page-link:hover {
  background: #fff !important;
  color: var(--mk-orange) !important;
  box-shadow: 0 10px 20px rgba(15,23,42,.10) !important;
}

/* Footer */
.mk-site-footer {
  margin-top: 30px;
  padding: 28px 36px;
  background: #fff;
  border-top: 1px solid rgba(15,23,42,.08);
}
.mk-site-footer__inner {
  max-width: 1396px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  color: var(--mk-muted);
  font-size: 13px;
  font-weight: 600;
}
.mk-site-footer a { color: var(--mk-muted); }
.mk-site-footer a:hover { color: var(--mk-orange); }

@media (min-width: 1400px) {
  .mk-exact-page .section-padding > .container { max-width: 1396px !important; }
}
@media (max-width: 1199px) {
  .mk-site-header__inner {
    padding: 0 24px;
    gap: 18px;
    grid-template-columns: auto auto minmax(240px, 1fr) auto;
  }
  .mk-site-nav a { padding: 0 12px; }
  .mk-exact-page .content-box-wrapper { grid-template-columns: repeat(3, minmax(0,1fr)) !important; }
}
@media (max-width: 991px) {
  .mk-site-header__inner {
    min-height: auto;
    padding: 13px 16px;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }
  .mk-site-logo { min-width: 110px; }
  .mk-site-logo img { width: 105px; }
  .mk-site-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    overflow-x: auto;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .mk-site-nav a { min-height: 42px; padding: 0 13px; font-size: 14px; }
  .mk-site-search { max-width: none; height: 40px; }
  .mk-login-link { font-size: 0; gap: 0; }
  .mk-login-link .mdi { font-size: 25px; }
  .mk-cart-link { display: none; }
  .mk-exact-page .section-padding { padding-top: 20px !important; }
  .mk-exact-page .section-padding > .container { padding-left: 16px !important; padding-right: 16px !important; }
  .mk-exact-page .content-box-wrapper { grid-template-columns: repeat(2, minmax(0,1fr)) !important; gap: 16px !important; }
  .mk-card-image { height: 210px; }
}
@media (max-width: 575px) {
  .mk-site-header__inner { grid-template-columns: 1fr auto; }
  .mk-site-search { grid-column: 1 / -1; order: 4; }
  .mk-site-nav { justify-content: flex-start; }
  .mk-exact-page .section-padding { padding-top: 16px !important; }
  .mk-exact-page .section-padding > .container { padding-left: 10px !important; padding-right: 10px !important; }
  .mk-exact-page .content-box-wrapper { grid-template-columns: 1fr !important; gap: 15px !important; }
  .mk-product-card { min-height: 0; border-radius: 16px; }
  .mk-card-image { height: 236px; }
  .mk-card-title { font-size: 15px; }
}


/* ===== Ruble price fix v5 ===== */
.mk-card-price {
  font-size: 20px !important;
  line-height: 1 !important;
  align-items: baseline !important;
}
.mk-card-ruble {
  display: inline-block !important;
  margin-left: 3px !important;
  color: #c4914e !important;
  font-size: 22px !important;
  line-height: .85 !important;
  font-weight: 700 !important;
  font-family: "Inter", "Segoe UI", Arial, sans-serif !important;
  transform: translateY(1px) !important;
}
.mk-card-price img,
.mk-card-price-icon {
  width: auto !important;
  height: 18px !important;
  max-height: 18px !important;
  max-width: 18px !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}


/* ===== Typography match v6: closer to reference mockup ===== */
body.mk-exact-page {
  font-family: "Inter", "Segoe UI", Roboto, Arial, Helvetica, sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}
.mk-site-nav a {
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
}
.mk-login-link {
  font-weight: 600 !important;
}
.mk-card-title {
  font-weight: 600 !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  letter-spacing: -0.012em !important;
  color: #111827 !important;
}
.mk-card-meta {
  font-weight: 500 !important;
  font-size: 12px !important;
  color: #4b5563 !important;
}
.mk-card-count {
  font-weight: 600 !important;
}
.mk-card-status {
  font-weight: 700 !important;
}
.mk-card-price {
  font-weight: 700 !important;
  font-size: 19px !important;
  letter-spacing: -0.018em !important;
}
.mk-card-ruble {
  font-weight: 700 !important;
  font-size: 19px !important;
  transform: translateY(0) !important;
}
.mk-exact-page .pagination .page-link {
  font-weight: 600 !important;
}


/* ===== Category label before formats v7 ===== */
.mk-card-meta {
  gap: 7px !important;
}
.mk-card-kind {
  flex: 0 0 auto !important;
  min-width: auto !important;
  max-width: 92px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
}
.mk-card-dot {
  flex: 0 0 auto !important;
  color: #6b7280 !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}
.mk-card-formats {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  color: #4b5563 !important;
  font-weight: 500 !important;
}
@media (max-width: 575.98px) {
  .mk-card-kind { max-width: 76px !important; }
}
