/* Public original-store entry screens only; source-site catalog remains separate. */
/* Keep the centered brand's hit area clear of long translated desktop links. */
.rx-header-inner .rx-header-brand {
  padding: 0;
}
.rx-header-inner .rx-header-brand .rx-brand {
  min-width: 44px;
  min-height: 44px;
}
.rx-hero-copy-main > p {
  font-size: 16px !important;
  line-height: 1.6 !important;
}
/* Tablet hero copy needs the existing bottom padding to remain clear of controls. */
@media (min-width: 761px) and (max-width: 1100px) {
  .rx-hero .rx-hero-carousel-controls {
    bottom: 24px;
  }
  .rx-hero .rx-hero-visual-label {
    bottom: 88px;
  }
}
.rx-hero-actions .rx-primary-button,
.rx-hero-actions .rx-secondary-button {
  font-size: 14px !important;
  line-height: 1.6 !important;
}
.pc-category-grid strong {
  font-size: 14px !important;
  line-height: 1.5 !important;
  overflow-wrap: anywhere;
  white-space: normal;
  overflow: visible;
  -webkit-line-clamp: unset;
}
.pc-category-grid small {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
/* Give translated navigation its own full-width row instead of squeezing it
   into the remaining space on either side of the centered brand. */
@media (min-width: 1101px) {
  .rx-site {
    --rx-header: 116px;
  }
  .rx-header {
    height: auto;
  }
  .rx-header-inner {
    height: auto;
    grid-template-rows: 64px auto;
    padding-bottom: 8px;
  }
  .rx-header-inner .rx-header-brand {
    grid-column: 2;
    grid-row: 1;
  }
  .rx-header-inner .rx-header-right {
    grid-column: 3;
    grid-row: 1;
  }
  .rx-header-inner .rx-header-left {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .rx-header-inner .rx-header-left > a,
  .rx-header-inner .rx-header-left > button:not(.rx-icon-button) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.5;
  }
  .rx-header-inner .rx-header-left > .rx-nav-search {
    display: inline-flex !important;
    width: auto;
    height: auto;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding-inline: 8px;
  }
  .rx-header-inner .rx-icon-button,
  .rx-header-inner .rx-header-brand .rx-brand,
  .rx-header-inner .rx-account-link,
  .rx-header-inner .rx-header-right select {
    min-width: 44px;
    min-height: 44px;
  }
  .rx-header-inner .rx-header-left > .rx-icon-button:first-child {
    position: absolute;
    inset-inline-start: 0;
    top: 10px;
  }
}
/* Collapse before translated desktop links collide with the centered brand.
   All links remain available in the existing accessible menu drawer. */
@media (max-width: 1100px) {
  .rx-header-inner .rx-header-left,
  .rx-header-inner .rx-header-right {
    display: none;
  }
  .rx-header-inner .rx-header-brand {
    grid-column: 2;
    padding: 0;
  }
  .rx-header-inner .rx-mobile-actions {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
  }
  .rx-header-inner .rx-mobile-actions button {
    min-width: 44px;
    min-height: 44px;
    pointer-events: auto;
  }
}
