/* Scoped vehicle actions. The existing price, payment and checkout logic is untouched. */
#onlineVdp .ov-identity .ov-selling-price.vdp-price-icons-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  column-gap: 12px;
  row-gap: 7px;
}

#onlineVdp .vdp-price-icons-row > [data-ov-price] {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
}

#onlineVdp .vdp-price-icons-row > [data-ov-price-details] {
  grid-column: 2;
  grid-row: 1;
  justify-self: start;
  white-space: nowrap;
}

#onlineVdp #vdpPriceActions.vdp-price-actions {
  display: flex;
  grid-column: 3;
  grid-row: 1;
  align-items: center;
  justify-self: end;
  gap: 4px;
  width: 92px;
  min-width: 92px;
  margin: 0;
  padding: 0;
}

#onlineVdp #vdpPriceActions > .vdp-price-icon-button {
  box-sizing: border-box;
  display: inline-flex;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
  font-size: 0 !important;
  line-height: 0 !important;
  text-decoration: none;
  cursor: pointer;
}

#onlineVdp #vdpPriceActions > .vdp-price-icon-button::before {
  content: "";
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  background-color: currentColor;
  -webkit-mask: var(--vdp-price-icon) center / contain no-repeat;
  mask: var(--vdp-price-icon) center / contain no-repeat;
}

#onlineVdp #vdpPriceActions > .vdp-price-share {
  --vdp-price-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.5 8.5h-2A1.5 1.5 0 0 0 4 10v9.5A1.5 1.5 0 0 0 5.5 21h13a1.5 1.5 0 0 0 1.5-1.5V10a1.5 1.5 0 0 0-1.5-1.5h-2M12 15V2.5m0 0-4 4m4-4 4 4' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#onlineVdp #vdpPriceActions > .vdp-price-heart {
  --vdp-price-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#onlineVdp #vdpPriceActions > .vdp-price-heart[aria-pressed="true"] {
  --vdp-price-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78L12 21.23l8.84-8.84a5.5 5.5 0 0 0 0-7.78Z' fill='%23000' stroke='%23000' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E");
}

#onlineVdp #vdpPriceActions > .vdp-price-icon-button:hover {
  background: #f2f2f2 !important;
}

#onlineVdp #vdpPriceActions > .vdp-price-icon-button:focus-visible {
  outline: 2px solid #1571a7;
  outline-offset: 2px;
}

#onlineVdp .ov-identity .ov-selling-price.vdp-price-icons-wrap {
  grid-template-columns: minmax(0, 1fr) max-content;
}

#onlineVdp .vdp-price-icons-wrap > [data-ov-price-details] {
  grid-column: 1 / -1;
  grid-row: 2;
}

#onlineVdp .vdp-price-icons-wrap > #vdpPriceActions {
  grid-column: 2;
}

#onlineVdp .ov-identity > .ov-actions[data-vdp-price-actions-empty="true"] {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#onlineVdp #vdpVehicleActions.vdp-vehicle-actions {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px !important;
  width: 100%;
  min-width: 0;
  margin: 18px 0 0;
  padding: 0;
}

#onlineVdp #vdpVehicleActions.vdp-vehicle-actions > button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 18px !important;
  border: 1px solid #222 !important;
  border-radius: 26px !important;
  background: #fff !important;
  color: #222 !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  text-transform: none;
  white-space: normal;
  cursor: pointer;
}

#onlineVdp #vdpVehicleActions.vdp-vehicle-actions > button:hover {
  background: #111 !important;
  color: #fff !important;
}

#onlineVdp #vdpVehicleActions.vdp-vehicle-actions > button:focus-visible {
  outline: 2px solid #1571a7;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: no-preference) {
  #onlineVdp #vdpVehicleActions > button {
    transition: background-color .12s ease, color .12s ease;
  }
}
