pds-tab {
  --border-none: var(--pine-border-width-none);
  --border-radius-availability: var(--pine-border-radius-100);
  --border-radius-default: var(--pine-border-radius-125);
  --border-radius-none: var(--pine-border-radius-0);
  --box-shadow-focus: 0 0 0 1px #ffffff, 0 0 0 3px var(--pine-color-purple-300);
  --color-background-active: var(--pine-color-grey-900);
  --color-background-availability: var(--pine-color-white);
  --color-background-default: var(--pine-color-grey-300);
  --color-background-hover: var(--pine-color-grey-100);
  --color-indicator-active: var(--pine-color-mercury-500);
  --color-text-active: var(--pine-color-grey-900);
  --color-text-active-inverse: var(--pine-color-white);
  --color-text-default: var(--pine-color-grey-700);
  --color-text-focus: var(--pine-color-grey-800);
  --letter-spacing-default: var(--pine-letter-spacing-body-md);
  --outline: 4px solid var(--pine-color-blue-200);
  --spacing-padding-none: var(--pine-spacing-0);
  --typography-default: var(--pine-typography-body-md-medium);
  display: inline-block;
  position: relative;
}

.pds-tab {
  appearance: none;
  background-color: transparent;
  border: var(--border-none);
  box-shadow: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
  padding: var(--spacing-padding-none);
  align-items: center;
  color: var(--color-text-default);
  display: inline-flex;
  position: relative;
  text-decoration: none;
  white-space: nowrap;
}
.pds-tab.is-active, .pds-tab[aria-selected=true] {
  color: var(--color-text-active);
}
.pds-tab.is-active .pds-tab__content::after, .pds-tab[aria-selected=true] .pds-tab__content::after {
  opacity: 1;
}
.pds-tab:hover {
  color: var(--color-text-active);
}
.pds-tab:focus-visible {
  box-shadow: var(--box-shadow-focus);
  outline: none;
}
.pds-tab .pds-tab__content {
  font: var(--typography-default);
  letter-spacing: var(--letter-spacing-default);
  padding-block-end: 11px;
  position: relative;
}
.pds-tab .pds-tab__content::after {
  background-color: var(--color-indicator-active);
  bottom: 0;
  content: "";
  height: 3px;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
}
.pds-tab .pds-tab-edge {
  display: none;
}

.pds-tabs--availability {
  --color-background-tab: transparent;
}
.pds-tabs--availability .pds-tab {
  background-color: var(--color-background-tab);
  border-radius: var(--border-radius-availability) var(--border-radius-availability) var(--border-radius-none) var(--border-radius-none);
  padding: 8px 16px 13px;
}
.pds-tabs--availability .pds-tab.is-active, .pds-tabs--availability .pds-tab[aria-selected=true] {
  --color-background-tab: var(--color-background-availability);
}
.pds-tabs--availability .pds-tab.is-active .pds-tab__content::after, .pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab__content::after {
  opacity: 1;
}
.pds-tabs--availability .pds-tab.is-active .pds-tab-edge, .pds-tabs--availability .pds-tab[aria-selected=true] .pds-tab-edge {
  z-index: 1;
}
.pds-tabs--availability .pds-tab:hover:not(.is-active, [aria-selected=true]) {
  --color-background-tab: var(--color-background-default);
}
.pds-tabs--availability .pds-tab:focus-visible {
  color: var(--color-text-default);
}
.pds-tabs--availability .pds-tab__content {
  padding-bottom: 7px;
}
.pds-tabs--availability .pds-tab-edge {
  bottom: 0;
  display: block;
  height: 8px;
  inset-inline-end: 100%;
  overflow: hidden;
  position: absolute;
  width: 8px;
}
.pds-tabs--availability .pds-tab-edge::before {
  border-radius: 50%;
  bottom: 0;
  box-shadow: 4px 4px 0 0 var(--color-background-tab);
  content: "";
  display: block;
  height: 200%;
  inset-inline-end: 0;
  position: absolute;
  width: 200%;
}
.pds-tabs--availability .pds-tab-edge--end {
  inset-inline-end: unset;
  inset-inline-start: 100%;
}
.pds-tabs--availability .pds-tab-edge--end::before {
  box-shadow: -4px 4px 0 0 var(--color-background-tab);
  inset-inline-end: unset;
  inset-inline-start: 0;
}

.pds-tabs--filter {
  --color-background-tab: var(--color-background-active);
}
.pds-tabs--filter .pds-tab {
  background-color: var(--color-background-tab);
  border-radius: 50px;
  color: var(--color-text-active);
  padding: 6px 15px;
}
.pds-tabs--filter .pds-tab.is-active, .pds-tabs--filter .pds-tab[aria-selected=true] {
  --color-background-tab: var(--color-background-active);
  color: var(--color-text-active-inverse);
}
.pds-tabs--filter .pds-tab:hover:not(.is-active, [aria-selected=true]) {
  --color-background-tab: var(--color-background-hover);
}
.pds-tabs--filter .pds-tab__content {
  padding-block-end: 0;
}
.pds-tabs--filter .pds-tab__content::after {
  content: unset;
}