.mdf-page .catalog-gallery-stage {
  aspect-ratio: 3/2;
}
.mdf-page .catalog-gallery-stage > img {
  object-fit: contain;
  display: block;
}
.mdf-page .catalog-product-copy h1 {
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 500 !important;
}
.mdf-palette {
  margin: 28px 0;
  padding: 24px;
  background: #f6f2ec;
  border: 1px solid #e5dacc;
  border-radius: 6px;
}
.mdf-palette h2 {
  font-family: Manrope, sans-serif;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 8px;
}
.mdf-palette p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.mdf-colors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px 8px;
}
.mdf-color {
  appearance: none;
  background: transparent;
  border: 0;
  padding: 4px;
  min-height: 74px;
  min-width: 0;
  color: #353a3c;
  font:
    500 11px/1.4 Manrope,
    sans-serif;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.mdf-color span {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--finish);
  box-shadow: inset 0 0 0 1px #00000015;
  position: relative;
}
.mdf-color[aria-pressed="true"] span {
  outline: 2px solid #a87436;
  outline-offset: 4px;
}
.mdf-color[aria-pressed="true"] {
  color: #865b29;
  font-weight: 700;
}
.mdf-color:hover span {
  outline: 2px solid #c9b295;
  outline-offset: 4px;
}
.mdf-color:focus-visible {
  outline: 2px solid #a87436;
  outline-offset: 2px;
  border-radius: 4px;
}
.mdf-selected {
  margin: 18px 0 0 !important;
  padding-top: 16px;
  border-top: 1px solid #e0d5c7;
}
.mdf-gallery-caption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font:
    500 12px/1.6 Manrope,
    sans-serif;
  color: #6c6a65;
}
.mdf-gallery-caption strong {
  color: #32383b;
}
.mdf-page .catalog-gallery-stage[aria-busy="true"] {
  opacity: 0.65;
}
.mdf-status {
  min-height: 22px;
  margin: 0;
  font-size: 12px;
  color: #865b29;
}
@media (max-width: 991px) {
  .mdf-colors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mdf-palette {
    padding: 18px;
  }
}
@media (max-width: 767px) {
  .mdf-colors {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .mdf-page .catalog-product-layout {
    gap: 20px;
  }
  .mdf-gallery-caption {
    flex-wrap: wrap;
  }
  .mdf-page .catalog-gallery {
    top: auto;
  }
}
@media (max-width: 374px) {
  .mdf-colors {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
