.pdp-v3-top .pdp-v3-mainmedia > .pdp-v3-tools {
  inset: 12px 12px auto;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.pdp-v3-top .pdp-v3-mainmedia > .pdp-v3-tools > button {
  display: grid;
  place-items: center;
  position: static;
  inline-size: 44px;
  block-size: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #cfdbd2;
  border-radius: 12px;
  background: #fff;
  color: #215c3a;
  box-shadow: 0 4px 12px rgb(20 43 28 / 12%);
  pointer-events: auto;
  touch-action: manipulation;
}

.pdp-v3-top .pdp-v3-mainmedia > .pdp-v3-tools > button:hover,
.pdp-v3-top .pdp-v3-mainmedia > .pdp-v3-tools > button[aria-pressed="true"] {
  border-color: #215c3a;
  background: #eff6ef;
}

.pdp-v3-top .pdp-v3-mainmedia > .pdp-v3-tools > button:focus-visible,
.tsk-pdp-saved__rail:focus-visible {
  outline: 2px solid #215c3a;
  outline-offset: 3px;
}

.tsk-pdp-saved__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
  margin-block-end: .75rem;
}

.tsk-pdp-saved__head h2,
.tsk-pdp-saved__empty {
  margin: 0;
}

.tsk-pdp-saved__head a {
  color: #215c3a;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: .2em;
  white-space: nowrap;
}

.tsk-pdp-saved__empty {
  color: #496354;
}

.tsk-pdp-saved__rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(160px, 27%, 224px);
  gap: .75rem;
  padding: .25rem .125rem .65rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.tsk-pdp-saved__rail > .product-card {
  min-inline-size: 0;
  scroll-snap-align: start;
}
