/* New Arrivals page — kept separate so it does not collide with styles.css edits. */

.na-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem 1rem;
  align-items: flex-end;
  margin: 0 0 .4rem;
}
.na-search {
  flex: 1 1 16rem;
  min-width: min(100%, 16rem);
}
.na-search label {
  margin-top: 0;
}
.na-search input {
  max-width: 28rem;
}
.na-meta {
  color: var(--muted);
  margin: 0 0 1rem;
  font-size: .95rem;
}
.na-intro {
  max-width: 42rem;
  margin: 0 0 .75rem;
}
.na-intro p { margin: 0 0 .6rem; }
.na-intro [data-na-price-disclaimer] {
  font-weight: 650;
  color: var(--navy);
}
.na-filters { margin-top: .25rem; }

.na-group {
  margin: 0 0 2.25rem;
}
.na-group h2 {
  font-size: 1.55rem;
  margin: 0 0 .7rem;
  padding-bottom: .35rem;
  border-bottom: 1px solid var(--line);
}
.na-group-count {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: .85rem;
  color: var(--muted);
  margin-left: .4rem;
}

.na-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  overflow: visible;
}
.na-item {
  display: flex;
  align-items: center;
  gap: .5rem .75rem;
  padding: .28rem .8rem;
  border-top: 1px solid var(--line);
  min-width: 0;
  overflow: visible;
  box-sizing: border-box;
  width: 100%;
}
.na-item:first-child {
  border-top: 0;
  border-radius: var(--radius) var(--radius) 0 0;
}
.na-item:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}
.na-item-main {
  display: flex;
  align-items: baseline;
  gap: .4rem .5rem;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden; /* clips only the name/size cluster, never the prices */
}
.na-item-name {
  margin: 0;
  font-weight: 650;
  font-size: .95rem;
  color: var(--navy);
  line-height: 1.3;
  min-width: 0;
  flex: 1 1 0%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.na-item-size {
  flex: 0 0 auto;
  font-size: .8rem;
  color: var(--muted);
  white-space: nowrap;
}
.na-badge {
  flex: 0 0 auto;
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(31, 93, 107, .1);
  border-radius: 999px;
  padding: .08rem .4rem;
  line-height: 1.2;
  white-space: nowrap;
}
.na-prices {
  display: flex;
  flex-direction: row;
  align-items: baseline;
  justify-content: flex-end;
  gap: .85rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  min-width: max-content;
  width: max-content;
  max-width: none;
  margin: 0;
  overflow: visible;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-size: .9rem;
  line-height: 1.25;
}
.na-prices .na-srp,
.na-prices .na-member {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  overflow: visible;
}
.na-prices .na-srp { color: var(--navy); }
.na-prices .na-member { color: var(--teal); font-weight: 650; }
.na-prices .na-none { color: var(--muted); font-weight: 500; }

.na-empty {
  margin: 1.5rem 0 2rem;
  padding: 1.2rem 1.3rem;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
}
.na-footnote {
  max-width: 44rem;
  color: var(--muted);
  font-size: .9rem;
  margin: 0;
}
.na-footnote a { font-weight: 650; }


@media (max-width: 640px) {
  .na-item {
    padding: .22rem .55rem;
    gap: .3rem .4rem;
  }
  .na-item-name { font-size: .9rem; }
  .na-item-size { font-size: .72rem; }
  .na-prices {
    gap: .45rem;
    font-size: .78rem;
  }
}

/* Stack SRP above Member so neither price is cut off on narrow screens. */
@media (max-width: 520px) {
  .na-prices {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    font-size: .72rem;
    line-height: 1.2;
    min-width: max-content;
    width: max-content;
  }
}
