:root {
  --bg: #ffffff;
  --brown: #36211c;
  --brown-2: #2d1711;
  --text: #111111;
  --muted: #6f6762;
  --line: rgba(0, 0, 0, 0.1);
  --paper: #f0eeed;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Sora, "Segoe UI", sans-serif;
}

.frame {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: min(1240px, calc(100% - 120px));
  margin: 0 auto;
}

.mk-header {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid #ece8e5;
  background: #fff;
}

.mk-coupon {
  min-height: 38px;
  background: var(--brown);
  color: #fff;
  font-size: 14px;
  line-height: 1.1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9px 40px;
  position: relative;
}

.mk-coupon strong {
  margin-left: 4px;
}

.mk-coupon button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.mk-nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.mk-brand .mk-logo-svg {
  width: 152px;
  height: 45px;
  display: block;
}

.mk-menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0;
  padding: 0;
  color: #000;
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.mk-menu a {
  color: #000;
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  text-decoration: none;
}

.mk-menu-drop {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mk-menu-caret {
  width: 10px;
  height: 10px;
  border-right: 1.6px solid #2f2f2f;
  border-bottom: 1.6px solid #2f2f2f;
  transform: rotate(45deg) translateY(-2px);
}

.mk-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mk-search {
  min-width: 320px;
  height: 40px;
  border-radius: 999px;
  background: #f0f0f0;
  color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
  font-size: 16px;
  position: relative;
}

.mk-search img {
  width: 20px;
  height: 20px;
  display: block;
}

.mk-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: #2a2421;
  font-family: Sora, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.mk-search input::placeholder {
  color: rgba(0, 0, 0, 0.45);
}

.mk-search input:focus {
  outline: none;
}

.mk-search:focus-within {
  box-shadow: 0 0 0 2px rgba(54, 33, 28, 0.16);
}

.mk-search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  max-height: min(360px, 52vh);
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(54, 33, 28, 0.16);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(28, 19, 15, 0.16);
  z-index: 40;
  padding: 6px;
}

.mk-search-dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  text-decoration: none;
  color: #2c201c;
  border-radius: 10px;
  padding: 10px 12px;
  transition: background 0.16s ease, color 0.16s ease;
}

.mk-search-dropdown-item:hover,
.mk-search-dropdown-item.is-active {
  background: rgba(54, 33, 28, 0.08);
  color: #251813;
}

.mk-search-dropdown-name {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.mk-search-dropdown-price {
  font-size: 13px;
  font-weight: 600;
  color: #5b4035;
  white-space: nowrap;
}

.mk-search-dropdown-empty {
  font-size: 14px;
  color: #665c57;
  padding: 10px 12px;
}

.mk-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.mk-icons img {
  width: 24px;
  height: 24px;
  display: block;
}

.home-main {
  display: flex;
  flex-direction: column;
}

.mk-hero {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mk-hero-carousel {
  width: min(1440px, calc(100% - 120px));
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  border-radius: 21px;
  height: clamp(300px, 31vw, 428px);
}

.mk-hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.72s ease;
  will-change: transform;
}

.mk-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 100%;
  height: 100%;
}

.mk-hero-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.mk-hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 0 clamp(26px, 4.8vw, 72px);
  color: #ffffff;
  z-index: 2;
  pointer-events: none;
}

.mk-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 1;
}

.mk-hero-kicker {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.mk-hero-title {
  margin: 0;
  max-width: 680px;
  font-size: clamp(26px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.mk-hero-copy {
  margin: 0;
  max-width: 560px;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.mk-hero-indicators {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.mk-hero-dot {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.36);
  padding: 0;
  cursor: pointer;
}

.mk-hero-dot.is-active {
  background: #ffffff;
}

.mk-logo-strip {
  --logo-gap: 103px;
  background: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 74px;
  padding: 0 6px;
  overflow: hidden;
}

.mk-logo-strip-marquee {
  width: 100%;
  max-width: none;
  height: 30px;
  overflow: clip;
}

.mk-logo-strip-track {
  display: flex;
  align-items: center;
  width: max-content;
  height: 100%;
  gap: 0;
}

.mk-logo-strip-logo {
  width: clamp(68px, 7.2vw, 104px);
  height: 30px;
  display: block;
  flex: 0 0 auto;
}

.mk-logo-strip-logo--gold {
  filter: brightness(0) saturate(100%) invert(66%) sepia(27%) saturate(548%) hue-rotate(344deg) brightness(87%)
    contrast(92%);
}

.mk-logo-strip-group {
  display: flex;
  align-items: center;
  gap: var(--logo-gap);
  padding-right: var(--logo-gap);
  flex: 0 0 auto;
  animation: mkLogoStripMove var(--logo-strip-duration, 24s) linear infinite;
  will-change: transform;
}

@keyframes mkLogoStripMove {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

.mk-products {
  padding: 62px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
  position: relative;
}

.mk-products-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.mk-products h2,
.mk-reviews h2,
.mk-steps-title {
  margin: 0;
  text-align: center;
  color: var(--brown);
  font-size: 48px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mk-products-title {
  text-align: center;
  width: 100%;
}

.mk-products-arrows {
  position: absolute;
  top: 55%;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 3;
}

.mk-products-arrows.is-hidden {
  display: none;
}

.mk-products-arrows .review-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  width: 42px;
  height: 42px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.mk-products-arrows .review-arrow svg {
  display: block;
  width: 24px;
  height: 24px;
}

.mk-products-arrows .review-arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.mk-products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 59px;
}

.mk-products-grid.is-carousel {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mk-products-grid.is-carousel .mk-card {
  flex: 0 0 295px;
  scroll-snap-align: start;
}

.mk-products-grid.is-carousel::-webkit-scrollbar {
  display: none;
}

.mk-products-status {
  margin: -14px 0 0;
  text-align: center;
  min-height: 22px;
  color: var(--muted);
  font-size: 14px;
}

.mk-products-status.error {
  color: #b54b36;
}

.mk-card {
  width: min(295px, 100%);
  background: transparent;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mk-card-image {
  display: block;
  width: 100%;
  height: 339px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--paper);
}

.mk-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.mk-card-image-kit img {
  transform: scale(1.14);
  transform-origin: center;
}

.mk-card h3 {
  margin: 4px 0 0;
  font-size: 20px;
  font-weight: 700;
}

.mk-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.price {
  font-size: 24px;
  font-weight: 700;
}

.btn-primary {
  border: 0;
  border-radius: 8px;
  background: var(--brown);
  color: #fff;
  height: 46px;
  padding: 0 26px;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
}

.mk-steps {
  padding: 38px 0 70px;
  background: #fff;
}

.mk-steps .shell {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.mk-steps-title {
  font-size: 48px;
}

.mk-steps-list {
  position: relative;
  width: min(1080px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(200px, 1fr));
  grid-template-areas:
    "step1 . step3"
    ". step2 .";
  column-gap: 46px;
  row-gap: 34px;
  justify-items: center;
  align-items: start;
}

.step {
  width: min(300px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: left;
  gap: 14px;
}

.step-1 {
  grid-area: step1;
}

.step-2 {
  grid-area: step2;
}

.step-3 {
  grid-area: step3;
}

.step-circle {
  position: relative;
  width: 260px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: #3c2118;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.25);
  display: grid;
  place-items: center;
}

.step-badge {
  position: absolute;
  top: -14px;
  left: -8px;
  width: 86px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 8px solid #3c2118;
  background: #f2f2f2;
  color: #3c2118;
  font-family: Poppins, "Segoe UI", sans-serif;
  font-size: 36px;
  font-weight: 600;
  display: grid;
  place-items: center;
  line-height: 1;
}

.step-img {
  width: 210px;
  height: 150px;
  object-fit: contain;
  display: block;
}

.step p {
  margin: 0;
  width: min(230px, 100%);
  color: #3f3733;
  font-size: 16px;
  line-height: 1.3;
}

.step-curve {
  position: absolute;
  top: 56%;
  width: 20%;
  border-top: 4px dashed rgba(78, 68, 64, 0.6);
  pointer-events: none;
}

.step-curve-left {
  left: 26%;
  transform: rotate(34deg);
}

.step-curve-right {
  right: 26%;
  transform: rotate(-34deg);
}

.mk-story {
  display: flex;
  flex-direction: column;
}

.mk-story-row {
  min-height: 640px;
  display: flex;
  align-items: stretch;
}

.mk-story-row-dark {
  background: var(--brown);
  color: #fff;
}

.mk-story-row-light {
  background: #fff;
  color: var(--brown);
}

.mk-story-copy.shell {
  width: auto;
  margin: 0;
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px clamp(22px, 4vw, 80px);
}

.mk-story-text {
  width: min(460px, 100%);
}

.mk-story-text h3 {
  margin: 0 0 16px;
  font-size: clamp(32px, 3.2vw, 48px);
  line-height: 1.1;
}

.mk-story-text p {
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.56;
}

.mk-story-image {
  flex: 1 1 50%;
  min-height: 420px;
}

.mk-story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mk-reviews {
  padding: 56px 0 72px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mk-reviews-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mk-reviews h2 {
  text-align: left;
  font-size: 48px;
}

.mk-reviews-arrows {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-arrow {
  width: 24px;
  height: 24px;
  border: 0;
  background: transparent;
  color: #2f2f2f;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.review-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.mk-reviews-viewport {
  overflow: hidden;
}

.mk-reviews-track {
  display: flex;
  gap: 16px;
  transition: transform 0.28s ease;
  will-change: transform;
}

.review-card {
  flex: 0 0 calc((100% - 32px) / 3);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 28px 32px;
}

.review-stars {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 14px;
}

.review-stars svg {
  width: 22px;
  height: 21px;
  display: block;
  flex: 0 0 auto;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.review-author strong {
  font-size: 20px;
  color: var(--brown);
}

.review-author img {
  width: 24px;
  height: 24px;
}

.review-text {
  margin: 0;
  color: rgba(0, 0, 0, 0.65);
  font-size: 16px;
  line-height: 1.38;
}

.mk-footer {
  margin-top: auto;
  background: linear-gradient(160deg, #44251a, var(--brown-2));
  color: #f2e9e3;
  padding: 52px 0 28px;
  border-top: 1px solid #513325;
}

.mk-footer-inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.mk-footer-brand {
  max-width: 320px;
}

.mk-footer-brand .mk-logo-svg {
  height: 45px;
  width: 152px;
  margin-bottom: 12px;
  display: block;
}

.mk-footer-brand p {
  margin: 0;
  color: #d7c7be;
  font-size: 15px;
  line-height: 1.45;
}

.mk-social {
  margin-top: 18px;
  display: flex;
  gap: 10px;
}

.mk-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #fff;
  color: #36211c;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: grid;
  place-items: center;
  text-transform: uppercase;
}

.mk-footer-columns {
  margin-left: auto;
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
}

.mk-footer-columns h4 {
  margin: 0 0 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 16px;
  font-weight: 500;
}

.mk-footer-columns ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mk-footer-columns li {
  color: #d9c9bf;
  margin: 7px 0;
  font-size: 16px;
}

.mk-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 18px;
  padding-top: 16px;
  color: #c8b6ab;
  font-size: 14px;
}

@media (max-width: 1180px) {
  .shell {
    width: calc(100% - 32px);
  }

  .mk-products h2,
  .mk-reviews h2,
  .mk-steps-title {
    font-size: 40px;
  }

  .mk-search {
    min-width: 250px;
  }

  .mk-products-grid {
    gap: 34px;
  }

  .mk-products-grid.is-carousel {
    gap: 20px;
  }

  .mk-products-grid.is-carousel .mk-card {
    flex-basis: 280px;
  }

  .mk-products-arrows .review-arrow {
    width: 38px;
    height: 38px;
  }

  .mk-story-row {
    min-height: 560px;
  }

  .mk-logo-strip {
    --logo-gap: 72px;
  }

  .review-card {
    padding: 24px;
  }
}

@media (max-width: 1020px) {
  .mk-nav {
    min-height: 64px;
    gap: 14px;
  }

  .mk-menu {
    display: none;
  }

  .mk-search {
    min-width: 180px;
    font-size: 14px;
  }

  .mk-footer-inner {
    flex-wrap: wrap;
    gap: 22px;
  }

  .mk-footer-columns {
    margin-left: 0;
  }

  .mk-steps-list {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
    width: min(920px, 100%);
  }

  .step-curve {
    top: 56%;
    width: 19%;
  }

  .step-curve-left {
    left: 26%;
  }

  .step-curve-right {
    right: 26%;
  }

  .mk-story-row {
    min-height: 420px;
  }

  .mk-story-text h3 {
    font-size: clamp(28px, 3.6vw, 38px);
  }

  .mk-logo-strip {
    --logo-gap: 48px;
  }

  .review-card {
    flex: 0 0 calc((100% - 16px) / 2);
  }

  .mk-reviews h2 {
    font-size: 42px;
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 18px);
  }

  .mk-hero-overlay {
    justify-content: flex-end;
    padding-bottom: 42px;
    gap: 8px;
  }

  .mk-hero-title {
    max-width: 92%;
    font-size: clamp(24px, 8vw, 36px);
  }

  .mk-hero-copy {
    max-width: 95%;
    font-size: 14px;
  }

  .mk-search {
    display: none;
  }

  .mk-hero-carousel {
    width: calc(100% - 18px);
    border-radius: 14px;
    height: clamp(360px, 62vh, 520px);
  }

  .mk-brand .mk-logo-svg {
    width: 124px;
    height: auto;
  }

  .mk-products h2,
  .mk-reviews h2,
  .mk-steps-title {
    font-size: 32px;
  }

  .mk-products-head {
    justify-content: space-between;
    align-items: flex-end;
  }

  .mk-products-title {
    text-align: left;
    width: auto;
  }

  .mk-products-arrows {
    position: static;
    width: auto;
    justify-content: flex-end;
    gap: 12px;
    transform: none;
    pointer-events: auto;
  }

  .mk-products-arrows .review-arrow {
    width: 24px;
    height: 24px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .mk-products-arrows.is-hidden {
    display: flex;
    opacity: 0;
    pointer-events: none;
  }

  .mk-logo-strip {
    --logo-gap: 24px;
    min-height: 56px;
    padding: 10px 8px;
  }

  .mk-logo-strip-marquee {
    width: 100%;
    height: 24px;
  }

  .mk-logo-strip-logo {
    height: 24px;
  }

  .mk-steps-list {
    grid-template-columns: 1fr;
    grid-template-areas:
      "step1"
      "step2"
      "step3";
    row-gap: 22px;
  }

  .step {
    width: min(360px, 100%);
    text-align: center;
  }

  .step p {
    font-size: 16px;
    text-align: center;
  }

  .step-curve {
    display: none;
  }

  .mk-card h3 {
    font-size: 18px;
  }

  .mk-card-image-kit img {
    transform: scale(1.1);
  }

  .price {
    font-size: 22px;
  }

  .mk-card-bottom {
    flex-wrap: wrap;
  }

  .btn-primary {
    width: 100%;
  }

  .mk-story-row {
    flex-direction: column;
  }

  .mk-story-row-light {
    flex-direction: column-reverse;
  }

  .mk-story-copy.shell {
    padding: 28px 18px;
  }

  .mk-story-text {
    width: 100%;
  }

  .mk-story-image {
    width: 100%;
    min-height: 320px;
  }

  .mk-reviews {
    padding-bottom: 56px;
  }

  .mk-products-head,
  .mk-reviews-head {
    align-items: flex-end;
  }

  .mk-reviews h2 {
    font-size: 38px;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 22px;
  }

  .review-text {
    font-size: 14px;
  }
}

@media (max-width: 520px) {
  .mk-hero-copy {
    display: none;
  }

  .mk-hero-indicators {
    bottom: 10px;
  }

  .mk-hero-dot {
    width: 8px;
    height: 8px;
  }

  .mk-logo-strip-logo {
    width: 48px;
  }

  .mk-logo-strip-group {
    gap: 12px;
    padding-right: 12px;
  }

  .mk-coupon {
    font-size: 12px;
    min-height: 34px;
    padding-left: 10px;
    padding-right: 34px;
  }

  .mk-products-grid {
    gap: 26px;
  }

  .mk-products-grid.is-carousel {
    gap: 14px;
  }

  .mk-products-grid.is-carousel .mk-card {
    flex-basis: min(85vw, 285px);
  }

  .mk-card-image {
    height: 280px;
  }

  .mk-reviews h2 {
    font-size: 32px;
  }
}
