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

body.mark-audio-product-page {
  margin: 0;
  background: #fff;
}

body.mark-audio-product-page .wp-site-blocks {
  padding: 0;
}

body.mark-audio-product-page .wp-site-blocks > * {
  margin-block-start: 0;
  margin-block-end: 0;
}

.mark-single-product {
  --mark-primary: #0090d4;
  --mark-primary-dark: #006fa6;
  --mark-text: #111820;
  --mark-muted: #667179;
  --mark-border: #dfe5e8;
  --mark-soft: #f4f7f8;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  padding-top: 0;
  overflow: hidden;
  color: var(--mark-text);
  background: #fff;
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
}

.mark-single-product *,
.mark-single-product *::before,
.mark-single-product *::after {
  box-sizing: border-box;
}

.mark-single-product__inner {
  width: min(100%, 1460px);
  margin: 0 auto;
  padding: 34px 28px 110px;
}

.mark-single-product__breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0 0 46px;
  color: #8a949a;
  font-size: 12px;
  font-weight: 600;
}

.mark-single-product__breadcrumbs a {
  color: #64717a;
  text-decoration: none;
}

.mark-single-product__breadcrumbs a:hover {
  color: var(--mark-primary);
}

.mark-single-product__hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
  gap: clamp(44px, 6vw, 92px);
  align-items: center;
  margin-bottom: 88px;
}

.mark-product-gallery {
  min-width: 0;
}

.mark-product-gallery__stage {
  position: relative;
  display: grid;
  min-height: clamp(410px, 48vw, 650px);
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--mark-border);
  border-radius: 28px;
  background:
    radial-gradient(circle at 50% 48%, #fff 0 34%, transparent 72%),
    var(--mark-soft);
}

.mark-product-gallery__stage > img {
  display: block;
  width: 88%;
  height: clamp(360px, 43vw, 590px);
  margin: 0;
  object-fit: contain;
  filter: drop-shadow(0 28px 30px rgb(9 24 32 / 14%));
}

.mark-product-gallery__stage > span {
  color: #8a949a;
  font-size: 15px;
}

.mark-product-gallery__stage > a {
  position: absolute;
  top: 20px;
  right: 20px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--mark-border);
  border-radius: 50%;
  color: #4c5b64;
  background: rgb(255 255 255 / 90%);
  font-size: 20px;
  text-decoration: none;
}

.mark-product-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding: 4px 1px;
  overflow-x: auto;
}

.mark-product-gallery__thumbs button {
  display: grid;
  width: 112px;
  height: 86px;
  flex: 0 0 112px;
  margin: 0;
  padding: 8px;
  place-items: center;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--mark-soft);
  cursor: pointer;
}

.mark-product-gallery__thumbs button.is-active,
.mark-product-gallery__thumbs button:hover {
  border-color: var(--mark-primary);
}

.mark-product-gallery__thumbs img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
}

.mark-single-product__line {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--mark-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .16em;
  text-decoration: none;
  text-transform: uppercase;
}

.mark-single-product__summary h1 {
  margin: 0;
  color: var(--mark-text);
  font-size: clamp(50px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .92;
}

.mark-single-product__lead {
  margin: 28px 0 0;
  color: #303d45;
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 500;
  line-height: 1.55;
}

.mark-single-product__highlights {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 24px 0;
  border-top: 1px solid var(--mark-border);
  border-bottom: 1px solid var(--mark-border);
  color: var(--mark-muted);
  font-size: 14px;
  line-height: 1.55;
  list-style: none;
}

.mark-single-product__highlights li {
  position: relative;
  margin: 0;
  padding-left: 20px;
}

.mark-single-product__highlights li::before {
  position: absolute;
  top: .55em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark-primary);
  content: "";
}

.mark-single-product__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.mark-single-product__actions button,
.mark-single-product__actions a {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0 21px;
  border: 1px solid var(--mark-primary);
  border-radius: 10px;
  color: #fff;
  background: var(--mark-primary);
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.mark-single-product__actions a {
  color: var(--mark-primary-dark);
  background: #fff;
}

.mark-product-tabs {
  margin: 0 0 104px;
  scroll-margin-top: 135px;
  overflow: hidden;
  border: 1px solid var(--mark-border);
  border-radius: 22px;
  background: #fff;
}

.mark-product-tabs__nav {
  display: grid;
  grid-auto-columns: 1fr;
  grid-auto-flow: column;
  border-bottom: 1px solid var(--mark-border);
  background: var(--mark-soft);
}

.mark-product-tabs__nav button {
  min-height: 66px;
  margin: 0;
  padding: 12px 20px;
  border: 0;
  border-right: 1px solid var(--mark-border);
  color: #5b6870;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mark-product-tabs__nav button:last-child {
  border-right: 0;
}

.mark-product-tabs__nav button[aria-selected="true"] {
  position: relative;
  color: var(--mark-primary-dark);
  background: #fff;
}

.mark-product-tabs__nav button[aria-selected="true"]::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--mark-primary);
  content: "";
}

.mark-product-tabs__panel {
  min-height: 220px;
  padding: clamp(28px, 5vw, 62px);
}

.mark-product-tabs__panel[hidden] {
  display: none;
}

.mark-product-richtext {
  color: #3d4950;
  font-size: 16px;
  line-height: 1.8;
}

.mark-product-richtext > *:first-child {
  margin-top: 0;
}

.mark-product-richtext > *:last-child {
  margin-bottom: 0;
}

.mark-product-richtext ul,
.mark-product-richtext ol {
  padding-left: 24px;
}

.mark-product-specifications {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 46px;
  margin: 0;
  padding: 0;
  color: #3d4950;
  font-size: 15px;
  line-height: 1.6;
  list-style: none;
}

.mark-product-specifications li {
  position: relative;
  margin: 0;
  padding: 17px 0 17px 23px;
  border-bottom: 1px solid var(--mark-border);
}

.mark-product-specifications li::before {
  position: absolute;
  top: 25px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mark-primary);
  content: "";
}

.mark-product-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.mark-product-downloads a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  padding: 12px 16px;
  border: 1px solid var(--mark-border);
  border-radius: 12px;
  color: #27363e;
  text-decoration: none;
  transition: .18s ease;
}

.mark-product-downloads a:hover {
  border-color: rgb(0 144 212 / 46%);
  background: #f1f9fc;
}

.mark-product-downloads a > span {
  grid-row: 1 / 3;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: var(--mark-primary);
  font-size: 10px;
  font-weight: 900;
}

.mark-product-downloads a > .mark-product-downloads__icon {
  overflow: hidden;
  background: transparent;
}

.mark-product-downloads__icon img {
  display: block;
  width: 76%;
  height: 76%;
  margin: 0;
  object-fit: contain;
}

.mark-product-downloads strong {
  align-self: end;
  font-size: 13px;
  line-height: 1.35;
}

.mark-product-downloads small {
  align-self: start;
  color: var(--mark-muted);
  font-size: 10px;
  text-transform: uppercase;
}

.mark-product-downloads b {
  grid-column: 3;
  grid-row: 1 / 3;
  color: var(--mark-primary);
  font-size: 20px;
}

.mark-product-related {
  margin-top: 96px;
}

.mark-product-related > header {
  margin-bottom: 26px;
}

.mark-product-related > header > span {
  display: block;
  margin-bottom: 9px;
  color: var(--mark-primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.mark-product-related h2 {
  margin: 0;
  color: var(--mark-text);
  font-size: clamp(30px, 4vw, 50px);
  font-weight: 800;
  letter-spacing: -.045em;
}

.mark-product-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.mark-related-card {
  display: grid;
  grid-template-rows: 230px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--mark-border);
  border-radius: 18px;
  background: #fff;
}

.mark-related-card > a {
  position: relative;
  display: block;
  height: 230px;
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  background: var(--mark-soft);
  contain: paint;
}

.mark-related-card > a > img {
  position: absolute !important;
  inset: 20px !important;
  display: block;
  width: calc(100% - 40px) !important;
  height: calc(100% - 40px) !important;
  max-width: calc(100% - 40px) !important;
  max-height: calc(100% - 40px) !important;
  margin: 0 !important;
  object-fit: contain;
  object-position: center;
  transform: none !important;
}

.mark-related-card > div {
  position: relative;
  z-index: 2;
  padding: 22px;
  background: #fff;
}

.mark-related-card span {
  color: var(--mark-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.mark-related-card h3 {
  margin: 8px 0 9px;
  font-size: 24px;
  font-weight: 800;
}

.mark-related-card h3 a {
  color: var(--mark-text);
  text-decoration: none;
}

.mark-related-card p {
  margin: 0;
  color: var(--mark-muted);
  font-size: 13px;
  line-height: 1.55;
}

@media (max-width: 980px) {
  .mark-single-product__hero {
    grid-template-columns: 1fr;
  }

  .mark-single-product__summary {
    max-width: 780px;
  }
}

@media (max-width: 760px) {
  .mark-single-product {
    padding-top: 0;
  }

  .mark-single-product__inner {
    padding: 26px 16px 76px;
  }

  .mark-single-product__breadcrumbs {
    margin-bottom: 30px;
  }

  .mark-single-product__hero {
    gap: 34px;
    margin-bottom: 60px;
  }

  .mark-product-gallery__stage {
    min-height: 330px;
    border-radius: 18px;
  }

  .mark-product-gallery__stage > img {
    height: 300px;
  }

  .mark-product-tabs__nav {
    grid-auto-flow: row;
    grid-auto-columns: auto;
  }

  .mark-product-tabs__nav button {
    min-height: 54px;
    border-right: 0;
    border-bottom: 1px solid var(--mark-border);
  }

  .mark-product-tabs__panel {
    padding: 24px 18px;
  }

  .mark-product-specifications,
  .mark-product-downloads,
  .mark-product-related__grid {
    grid-template-columns: 1fr;
  }
}
