.product-video-slot {
  position: relative;
  isolation: isolate;
  width: min(100%, 360px);
  margin: 0;
  aspect-ratio: 9 / 16;
  justify-self: start;
  overflow: hidden;
  background: #d7d5ce;
}

/* Shared 9:16 design-video section used by all seven product pages. */
.fee .fee-layout,
.design-fee .design-fee-layout.wrap {
  width: min(calc(100% - 56px), 1320px);
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(42px, 5vw, 76px);
  row-gap: 10px;
  align-items: start;
}

.fee .fee-intro,
.design-fee .design-fee-intro {
  display: contents;
}

.fee .fee-intro > .eyebrow {
  grid-column: 1;
  grid-row: 1;
  margin: 0 0 7px;
}

.fee .fee-intro > h2,
.design-fee .design-fee-intro > h2 {
  grid-column: 1 / -1;
  grid-row: 2;
  max-width: 570px;
  margin: 0;
}

.fee .fee-intro > p:not(.eyebrow),
.design-fee .design-fee-intro > p {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  justify-self: end;
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0;
}

.fee .fee-intro > .product-video-slot,
.design-fee .design-fee-intro > .product-video-slot {
  grid-column: 1;
  grid-row: 3;
  margin-top: 27px;
}

.fee .price-panel,
.design-fee .fee-panel {
  grid-column: 2;
  grid-row: 3;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  margin-top: 27px;
}

.fee .price-panel .btn,
.design-fee .fee-panel .button {
  align-self: flex-start;
  margin-top: auto;
}

.fee .included,
.design-fee .fee-includes {
  column-gap: 46px;
  row-gap: 14px;
  font-size: 16px;
  line-height: 1.5;
}

.fee .included li,
.design-fee .fee-includes span {
  padding-left: 20px;
}

.fee .included li::before,
.design-fee .fee-includes span::before {
  top: .58em;
  width: 8px;
  height: 8px;
}

.product-video-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(0deg, rgba(15, 16, 13, .5), transparent 48%);
}

.product-video-slot img,
.product-video-slot video,
.product-video-slot iframe {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
}

.product-video-slot .product-video-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.product-video-slot .product-video-trigger:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -7px;
}

.product-video-slot iframe { border: 0; }

.product-video-slot.is-playing::after,
.product-video-slot.is-playing .product-video-caption { display: none; }

.product-video-slot .product-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .76);
  background: rgba(28, 33, 27, .72);
  color: #fff;
  font-size: 18px;
  transform: translate(-50%, -50%);
}

.product-video-slot .product-video-caption {
  position: absolute;
  right: 20px;
  bottom: 17px;
  left: 20px;
  z-index: 2;
  margin: 0;
  color: rgba(255, 255, 255, .94);
  font-size: 12px;
  line-height: 1.4;
}

.product-video-slot.is-playing::after,
.product-video-slot.is-playing .product-video-caption {
  display: none;
}

.product-video-slot .product-video-trigger:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -5px;
}

@media (max-width: 1120px) {
  .fee .fee-intro > h2,
  .design-fee .design-fee-intro > h2 {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .fee .fee-intro > p:not(.eyebrow),
  .design-fee .design-fee-intro > p {
    grid-column: 1 / -1;
    grid-row: 3;
    justify-self: start;
    margin-top: 8px;
  }

  .fee .fee-intro > .product-video-slot,
  .design-fee .design-fee-intro > .product-video-slot,
  .fee .price-panel,
  .design-fee .fee-panel {
    grid-row: 4;
    margin-top: 20px;
  }
}

@media (max-width: 980px) {
  .fee .fee-layout,
  .design-fee .design-fee-layout.wrap {
    grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
    column-gap: 34px;
  }

  .fee .price-head,
  .design-fee .fee-panel-head {
    flex-direction: column;
  }

  .fee .tiers,
  .design-fee .fee-tiers {
    grid-template-columns: 1fr;
  }

  .fee .tier,
  .fee .tier + .tier,
  .design-fee .fee-tier,
  .design-fee .fee-tier + .fee-tier {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .fee .tier:last-child,
  .design-fee .fee-tier:last-child {
    border-bottom: 0;
  }

  .fee .price,
  .design-fee .fee-price {
    margin-top: 0;
  }
}

@media (max-width: 760px) {
  .fee .fee-layout,
  .design-fee .design-fee-layout.wrap {
    width: min(calc(100% - 32px), 1320px);
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .fee .fee-intro,
  .design-fee .design-fee-intro {
    display: block;
  }

  .fee .fee-intro > p:not(.eyebrow),
  .design-fee .design-fee-intro > p {
    margin-top: 18px;
  }

  .fee .fee-intro > .product-video-slot,
  .design-fee .design-fee-intro > .product-video-slot {
    margin: 26px auto 0;
  }

  .fee .price-panel,
  .design-fee .fee-panel {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .product-video-slot {
    width: min(100%, 360px);
  }

  .product-video-slot .product-video-play {
    width: 50px;
    height: 50px;
    font-size: 16px;
  }

  .fee .included,
  .design-fee .fee-includes {
    font-size: 15px;
  }
}
