/* Local interaction layer for the captured Todd Snyder header components. */
.ts-top-banner__slides:has(> .ts-top-banner__slide[aria-hidden="false"]) > :not(.ts-top-banner__slide[aria-hidden="false"]) {
  display: none;
}

#header-component[data-replica-shell] {
  position: relative;
  z-index: 3;
  display: block;
  color: var(--color-foreground, #000);
  background: #fff;
}

#header-component[data-replica-shell] .header__row--top {
  position: relative;
  overflow: visible;
}

#header-component[data-replica-shell][data-menu-style="menu"] .header__row--top .header__columns {
  align-items: center;
}

#header-component[data-replica-shell] .header__column--right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: var(--gap-xl, 1.25rem);
}

/* The merchant's promotion selectors target its collection paths. The local links use filenames. */
#header-component[data-replica-shell] .header-menu__inner .menu-list__list-item > a[href="sale.html"],
#header-component[data-replica-shell] .menu-list__list-item:has(> a[href="collection-sale.html"]) .menu-list__submenu a[href="sale.html"] .wrap-text,
.replica-shell-mobile-menu details:has(> div > a:first-child:is([href="sale.html"], [href$="/sale.html"])) > summary {
  color: #c70322 !important;
}

#header-component[data-replica-shell] overflow-list.overflow-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.125rem;
  padding: 0;
  margin: 0;
}

#header-component[data-replica-shell] overflow-list.overflow-menu > .menu-list__list-item {
  position: static;
  list-style: none;
}

#header-component[data-replica-shell] .menu-list__list-item > .menu-list__link {
  min-block-size: 62px;
  padding-inline: 0;
  white-space: nowrap;
}

#header-component[data-replica-shell] overflow-list.overflow-menu > :is([slot="more"], [slot="overflow-trigger"], [slot="overflow-placeholder"]),
#header-component[data-replica-shell][data-menu-style="menu"] .search-action--hidden-on-menu,
#header-component[data-replica-shell][data-menu-style="drawer"] .search-action--hidden-on-drawer {
  display: none;
}

#header-component[data-replica-shell] .menu-list__list-item > .menu-list__submenu {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: auto;
  padding: 0;
  border-top: 1px solid var(--color-border, #ebebeb);
  background: #fff;
  box-shadow: 0 10px 20px rgb(0 0 0 / 10%);
  clip-path: none;
  transition: none;
  visibility: hidden;
  z-index: 3;
}

#header-component[data-replica-shell] .menu-list__list-item > .menu-list__submenu[data-active] {
  display: block;
  visibility: visible;
}

#header-component[data-replica-shell] .menu-list__submenu-inner {
  max-height: 70vh;
  opacity: 1;
  transform: none;
}

#header-component[data-replica-shell] .header__underlay-open { display: none; }

#header-component[data-replica-shell] .replica-menu-toggle { display: none; }

.replica-account-link { display: inline-flex; align-items: center; color: inherit; }

.replica-shell-icon {
  position: relative;
  display: inline-grid;
  inline-size: 28px;
  block-size: 36px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.replica-shell-icon::before, .replica-shell-icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  pointer-events: none;
}

.replica-shell-icon--search::before {
  inline-size: 14px;
  block-size: 14px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translate(-63%, -63%);
}

.replica-shell-icon--search::after {
  inline-size: 7px;
  block-size: 1.5px;
  background: currentColor;
  transform: translate(3px, 5px) rotate(45deg);
}

.replica-shell-icon--account::before {
  inline-size: 7px;
  block-size: 7px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  transform: translate(-50%, -126%);
}

.replica-shell-icon--account::after {
  inline-size: 15px;
  block-size: 8px;
  border: 1.5px solid currentColor;
  border-radius: 60% 60% 0 0;
  transform: translate(-50%, 1px);
}

.replica-shell-icon--bag::before {
  inline-size: 15px;
  block-size: 15px;
  border: 1.5px solid currentColor;
  transform: translate(-50%, -36%);
}

.replica-shell-icon--bag::after {
  inline-size: 7px;
  block-size: 6px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 55% 55% 0 0;
  transform: translate(-50%, -11px);
}

.replica-shell-icon--menu::before {
  inline-size: 18px;
  block-size: 10px;
  border-block: 1.5px solid currentColor;
  transform: translate(-50%, -50%);
}

.replica-shell-icon--menu::after {
  inline-size: 18px;
  block-size: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

.replica-shell-icon--close::before, .replica-shell-icon--close::after {
  inline-size: 19px;
  block-size: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.replica-shell-icon--close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.replica-shell-dialog-open { overflow: hidden; }

.replica-shell-dialog {
  position: fixed;
  inset: 0 0 0 auto;
  inline-size: min(100%, 440px);
  block-size: 100%;
  max-inline-size: none;
  max-block-size: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  background: #fff;
  color: #000;
  font-family: var(--font-body--family, sans-serif);
}

.replica-shell-dialog::backdrop { background: rgb(0 0 0 / 35%); }

.replica-shell-dialog--search {
  inset: 0 0 auto;
  inline-size: 100%;
  block-size: auto;
}

.replica-shell-dialog--menu { inset: 0 auto 0 0; }

.replica-shell-dialog__inner { padding: 1.5rem clamp(1rem, 4vw, 2.5rem) 2.25rem; }

.replica-shell-dialog__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0 .9rem;
  margin-block: 0 1rem;
  border-bottom: 1px solid #d9d9d9;
}

.replica-shell-dialog__header h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 550;
}

.replica-shell-search {
  display: flex;
  gap: .75rem;
  align-items: stretch;
  max-inline-size: 50rem;
  margin-inline: auto;
}

.replica-shell-search input {
  min-inline-size: 0;
  flex: 1 1 auto;
  padding: .75rem .875rem;
  border: 1px solid #777;
  font: inherit;
}

.replica-shell-dialog .button {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  padding: .7rem 1.1rem;
  border: 1px solid #000;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.replica-shell-mobile-menu :is(summary, a) {
  display: flex;
  align-items: center;
  min-block-size: 48px;
  color: inherit;
}

.replica-shell-mobile-menu summary {
  justify-content: space-between;
  padding: .35rem 0;
  border-bottom: 1px solid #e6e6e6;
  font-weight: 650;
  text-transform: uppercase;
  cursor: pointer;
}

.replica-shell-mobile-menu summary::after { content: '+'; }
.replica-shell-mobile-menu details[open] summary::after { content: '−'; }
.replica-shell-mobile-menu details a { padding-inline-start: .75rem; }
.replica-shell-mobile-menu a:hover { text-decoration: underline; }

.replica-bag-selection {
  padding: 1.2rem clamp(1rem, 5vw, 2rem) 2rem;
  overflow: auto;
}

.replica-bag-selection[hidden], cart-drawer-component .cart-drawer__content[hidden] {
  display: none !important;
}

.replica-bag-selection h2 {
  margin-block: 0 .7rem;
  font-family: var(--font-heading--family, 'TS Archivo', sans-serif);
  font-size: 1.25rem;
}

.replica-bag-selection ul { margin: 1.15rem 0 0; padding: 0; list-style: none; }
.replica-bag-selection li { padding: .85rem 0; border-top: 1px solid #ddd; }
.replica-bag-selection li p { margin-block: 0 .35rem; font-weight: 550; }
.replica-bag-selection li span { display: block; margin-block-end: .35rem; }
.replica-bag-selection a { text-decoration: underline; text-underline-offset: .13em; }

:where(.replica-shell-dialog, #header-component[data-replica-shell]) :focus-visible {
  outline: 2px solid #242424;
  outline-offset: 3px;
}

@media (max-width: 72rem) {
  #header-component[data-replica-shell][data-menu-style="drawer"] .header__columns.spacing-style {
    min-block-size: 60px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "left right";
    padding-inline: 1rem;
    column-gap: .75rem;
    align-items: center;
  }

  #header-component[data-replica-shell] .header__column--left {
    display: flex;
    grid-area: left;
  }

  #header-component[data-replica-shell] .header__column--center { display: none; }

  #header-component[data-replica-shell] .header__column--right {
    grid-area: right;
    gap: .5rem;
  }

  #header-component[data-replica-shell][data-menu-style="drawer"] .header__column--right :is(.dropdown-localization, .account-button, .replica-account-link) {
    display: none;
  }

  #header-component[data-replica-shell] .replica-menu-toggle { display: inline-grid; }
}

.replica-search-suggestions { max-inline-size: 50rem; margin: .75rem auto 0; }
.replica-search-suggestions a, .replica-market-options a { display: block; padding: .6rem .25rem; color: inherit; border-bottom: 1px solid #e6e6e6; text-decoration: none; }
.replica-search-suggestions a:hover, .replica-market-options a:hover { text-decoration: underline; }
.replica-market-options a[hidden], .replica-search-suggestions[hidden] { display: none; }
.replica-shell-dialog--market input[type=search] { width: 100%; padding: .7rem; font: inherit; border: 1px solid #777; }
.replica-market-options { margin-block-start: .75rem; }
.replica-market-mobile { min-height: 44px; padding: 0; border: 0; background: transparent; font: inherit; cursor: pointer; }
.replica-bag-quantity { display: flex; align-items: center; gap: .65rem; margin: .45rem 0; }
.replica-bag-quantity span { margin: 0 !important; }
.replica-bag-quantity button { min-width: 2.25rem; min-height: 2.25rem; border: 1px solid #999; background: white; color: #111; font: inherit; cursor: pointer; }
.replica-bag-selection [data-bag-action="remove"] { margin-inline-end: 1.25rem; padding: .35rem 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.replica-newsletter-link { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.replica-bag-selection a.replica-bag-transfer { display: block; margin-block-start: 1rem; padding: .8rem 1rem; background: #111; color: #fff; text-align: center; text-decoration: none; }

.replica-bag-selection li:has(.replica-bag-photo) { display:flow-root; }
.replica-bag-photo { display:block; float:left; width:min(21%,94px); margin:0 15px 8px 0; }
.replica-bag-photo img { width:100%; height:auto; aspect-ratio:5/6; object-fit:cover; background:#f3f3f3; display:block; }
.replica-bag-subtotal { padding-top:14px; margin:18px 0 8px; border-top:1px solid #ddd; font-weight:600; }
