/* Public storefront navigation, compact collections and inquiry controls. */
html[data-advisor-access] body > :not(.advisor-gate) {
  display: none !important;
}
.advisor-gate {
  max-width: 480px;
  margin: clamp(40px, 14vh, 124px) auto 0;
  padding: 24px;
}
.advisor-gate h1 {
  font-size: clamp(26px, 6vw, 38px);
  line-height: 1.15;
}
.advisor-gate p { margin: 12px 0 20px; }

.storefront-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  min-height: 56px;
  padding-block: 7px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  background: #fcfaf7;
  scrollbar-width: thin;
  scrollbar-color: #c5b4aa transparent;
}
.storefront-nav::-webkit-scrollbar,
.collection-brand-buttons::-webkit-scrollbar { display: block; height: 3px; }
.storefront-nav::-webkit-scrollbar-thumb,
.collection-brand-buttons::-webkit-scrollbar-thumb { background: #c5b4aa; border-radius: 3px; }
.storefront-nav a,
.collection-variants a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 6px 13px;
  border: 1px solid var(--line, #ded5cd);
  border-radius: 999px;
  text-decoration: none;
  font-size: 13px;
  white-space: nowrap;
}
.storefront-nav a[aria-current="page"],
.collection-variants a[aria-current="page"] {
  background: var(--wine, #401e24);
  border-color: var(--wine, #401e24);
  color: #fff;
}
.storefront-nav a[aria-current="page"]::after { display: none; }
.storefront-nav a:focus-visible,
.collection-variants a:focus-visible,
.inquiry-link:focus-visible { outline: 2px solid #724254; outline-offset: -2px; }
.legacy-department-nav[hidden], .collection-variants[hidden],
.catalog-brand[hidden], #shop-heel-brands { display: none; }

.header .wordmark { flex-shrink: 0; }
:is(.header,.catalog-footer) .wordmark > span { font-family: var(--serif, Georgia, serif); font-size: clamp(16px, 2.25vw, 28px); white-space: nowrap; letter-spacing: .08em; }
.header-contact[data-global-inquiry], .footer-inquiry { white-space: nowrap; }
.footer .footer-disclosure, .catalog-footer .footer-disclosure { width: 100%; flex-basis: 100%; margin: 6px 0 0; }
.footer-inquiry { color: var(--wine, #401e24); text-underline-offset: 4px; }
.inquiry-status { margin-block: 6px; font-size: 13px; color: var(--ink, #302025); }

.compact-catalog .shopping-guide,
.compact-catalog .benefit-band,
.compact-catalog .photo-search-strip { display: none; }
.compact-catalog .hero,
.compact-catalog .bag-hero,
.compact-catalog .item-hero,
.compact-catalog .catalog-intro {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  min-height: 0;
  padding: 18px 0 12px;
  margin-block: 0;
  gap: 8px 16px;
  background: transparent;
  border: 0;
  overflow: visible;
}
.compact-catalog .hero-copy > :not(h1),
.compact-catalog .bag-hero > div:first-child > :not(h1),
.compact-catalog .item-hero > div:first-child > :not(h1),
.compact-catalog .catalog-intro > div:first-child > :not(h1),
.compact-catalog .intro-note,
.compact-catalog .hero-art,
.compact-catalog .bag-hero-art,
.compact-catalog .item-hero-art { display: none; }
.compact-catalog :is(.hero,.item-hero,.bag-hero,.catalog-intro) h1 {
  margin: 0;
  font-size: clamp(25px, 4vw, 42px);
  letter-spacing: -.035em;
  line-height: 1.12;
}
.collection-variants {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  min-width: 0;
  max-width: 100%;
  align-items: center;
  scrollbar-width: thin;
}
.collection-variants.wrap { margin-top: 10px; }
.collection-variants a { min-height: 36px; font-size: 12px; }
.compact-catalog :is(.collection,.bag-collection,.item-collection) { padding-top: 8px; }
.compact-catalog .collection .section-heading {
  margin: 0 0 8px;
  min-height: 16px;
  justify-content: flex-end;
}
.compact-catalog .section-heading > div:first-child {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.compact-catalog .collection-intro p { display: none; }
.compact-catalog .catalog-tools { padding-top: 0; }
.compact-catalog .collection-brand-directory { margin-bottom: 7px; }
.compact-catalog .item-status,
.compact-catalog .bag-status { margin-block: 10px; }

.collection-brand-directory { padding-block: 6px; }
.collection-brand-heading { margin-bottom: 5px; }
.collection-brand-heading h3 { font-size: 16px; }
.collection-brand-buttons {
  display: flex;
  flex-wrap: nowrap;
  gap: 6px;
  padding: 2px 0 5px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #c5b4aa transparent;
}
.collection-brand-buttons .collection-brand-button {
  flex: 0 0 auto;
  min-height: 38px;
  max-width: none;
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.collection-brand-button:focus-visible { outline-offset: -3px; }
.catalog-page .collection-brand-button { border: 1px solid #ded5cd; background: #fff; color: #302025; cursor: pointer; }
.catalog-page .collection-brand-button[aria-pressed="true"] { background: #401e24; border-color: #401e24; color: #fff; }
.catalog-page .collection-brand-directory h2 { margin: 0 0 6px; font-size: 16px; }

.product-card .inquiry-link, .catalog-card .inquiry-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid #d8c6cb;
  border-radius: 5px;
  color: var(--wine, #401e24);
  background: #fdfaf8;
  font-size: 13px;
  text-decoration: none;
  text-align: center;
}
.product-card .inquiry-link:hover, .catalog-card .inquiry-link:hover { border-color: var(--wine, #401e24); background: #f5eeeb; }
.catalog-card > .inquiry-link { margin: 0 12px 12px; }
:is(#product-grid,#bag-grid,#item-grid,#catalog-grid) { scroll-margin-top: 16px; }

@media (max-width: 760px) {
  .storefront-nav {
    position: sticky;
    z-index: 9;
    top: 0;
    width: 100%;
    padding: 5px 16px;
    min-height: 53px;
    box-shadow: 0 2px 9px #3020250b;
  }
  .storefront-nav a { min-height: 42px; padding-inline: 11px; font-size: 12px; }
  .header .wordmark > span { font-size: clamp(14px, 4.3vw, 20px); letter-spacing: .04em; }
  .compact-catalog .announcement { display: none; }
  .compact-catalog .header { height: 56px; min-height: 56px; }
  .compact-catalog :is(.hero,.bag-hero,.item-hero,.catalog-intro) { padding-block: 10px 4px; }
  .compact-catalog .collection .section-heading { margin-bottom: 4px; }
  .collection-brand-heading { margin-bottom: 2px; }
  .collection-brand-heading h3 { font-size: 14px; }
  .collection-brand-buttons .collection-brand-button { min-height: 44px; padding-inline: 11px; }
  .compact-catalog .collection-brand-directory { padding-block: 3px; margin-bottom: 3px; }
  .compact-catalog .browse-filters { gap: 5px; margin-top: 4px; }
  .compact-catalog .category-tabs { margin-block: 3px; }
  .compact-catalog .item-status,
  .compact-catalog .bag-status,
  .compact-catalog .catalog-summary { margin-block: 6px; }
  .product-card .inquiry-link { min-height: 44px; }
  :is(#product-grid,#bag-grid,#item-grid,#catalog-grid) { scroll-margin-top: 62px; }
  .mobile-contact, .item-mobile-bar, .bag-mobile-bar { gap: 6px; padding-inline: 10px; }
  .mobile-contact > .mobile-featured { display: none; }
  .mobile-contact > :is(.mobile-photo,.button), :is(.item-mobile-bar,.bag-mobile-bar) > .button {
    flex: 1 1 0;
    min-width: 0;
    padding-inline: 6px;
    font-size: 12px;
    white-space: normal;
    text-align: center;
  }
}

/* Keep the compact treatment above the former More page-specific hero rules. */
.items-page.compact-catalog[data-department="more"] .item-hero { padding-block: 18px 12px; }
.items-page.compact-catalog[data-department="more"] .item-hero h1 {
  font-size: clamp(25px, 4vw, 42px);
  line-height: 1.12;
}
@media (max-width: 760px) {
  .items-page.compact-catalog[data-department="more"] .item-hero { padding-block: 10px 4px; }
  .compact-catalog .browse-filters { grid-template-columns: minmax(0, 1fr) auto; }
  .compact-catalog .browse-filter-panel { min-width: 105px; }
  .compact-catalog .browse-filter-panel[open] { grid-column: 1 / -1; }
  .compact-catalog .browse-filter-panel summary { gap: 5px; padding-inline: 8px; font-size: 12px; }
  .compact-catalog .item-search button, .compact-catalog .bag-search button { padding-inline: 9px; }
  .compact-catalog .eyewear-sort select { width: min(30vw, 130px); }
}

.compact-catalog .hero .hero-shop { display: none !important; }
.compact-catalog .hero-copy { width: auto; text-align: left; }
#catalog-brand[hidden] { display: none !important; }
@media (max-width: 760px) {
  .compact-catalog .shoe-feature-groups { margin-block: 3px; }
  .compact-catalog .shoe-feature-group h3 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .compact-catalog .shoe-feature-groups .shoe-feature-tabs {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .compact-catalog .shoe-feature-tabs .category-tab {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 5px 9px;
    white-space: nowrap;
  }
  .compact-catalog .catalog-summary { min-height: 24px; padding-block: 3px; margin-block: 3px; }
}
