/* ow default is 14px */
html {
  font-size: 16px;
}

.item-page {
  a.footer-banner {
    display: block;
    border: 1px solid transparent;
  }

  a.footer-banner:hover {
    border-color: var(--PrimaryBlue);
  }

  a.footer-banner:focus-visible {
    outline: 2px dashed var(--PrimaryBlue);
    outline-offset: 2px;
  }

  /* defers to apple buttons */
  .channel-html .primary-md,
  .channel-html .secondary-md {
    margin-top: 0 !important;
    padding: 8px 24px;

    border: 2px solid var(--PrimaryBlue, #001080) !important;
    font-weight: 700;
    font-size: 16px;

    font-family: Arial;
    text-align: center;
    text-decoration: none !important;
  }

  .channel-html .primary-md {
    background: var(--PrimaryBlue, #001080) !important;
    color: var(--white, #fff) !important;

    &:hover {
      border-color: var(--PrimaryBlueDark, #000963) !important;
      background: var(--PrimaryBlueDark, #000963) !important;
    }
  }

  .channel-html .secondary-md {
    background: var(--white, #fff) !important;
    color: var(--PrimaryBlue, #001080) !important;

    &:hover {
      border-color: var(--PrimaryBlue, #001080) !important;
      background: var(--PrimaryBlueLight, #e0e2f0) !important;
    }
  }

  .button-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  /* defers to apple buttons */

  /* Compare table stats copy height loads as 0px */
  .stat-row:has(.stat-caption.copy) {
    min-height: fit-content;
  }

  /* Ensure max-width is Apple set */
  .channel-html > .section > .section-content {
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
  }

  @media only screen and (max-width: 1068px) {
    .channel-html > .section > .section-content {
      max-width: 692px;
    }
  }

  @media only screen and (max-width: 734px) {
    .channel-html > .section > .section-content {
      max-width: 320px;
    }
  }

  /* Dropdown Fixes */
  /* General Fixes */
  .channel-html .ow-dropdown__wrapper {
    display: none;
  }

  /* Compare Table Fixes */
  .channel-html .channel-compare .selector-dropdown {
    z-index: unset;
    padding: unset;
    line-height: unset;
    opacity: 1 !important;

    &:focus,
    &:focus-within {
      box-shadow: 0 0 0 4px rgba(0, 113, 227, 100%) !important;
    }
  }

  .channel-html .channel-compare .selector-element::before {
    z-index: 1;
  }

  /* Upgraders Fixes */
  .channel-html .upgrader-select-container .selector-element-gallery .gallery-select {
    padding: unset;
    opacity: 1 !important;

    &:focus,
    &:focus-within {
      box-shadow: 0 0 0 4px rgba(0, 113, 227, 100%) !important;
    }
  }
}
