.header-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 auto;
}

.header-tabs a {
  padding: 10px 14px;
  border: 2px solid transparent;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
}

.header-tabs a:first-child {
  background: var(--yellow);
  border-color: var(--ink);
}

.header-tabs a:last-child {
  background: white;
  border-color: var(--ink);
}

.header-tabs a:hover,
.header-tabs a:focus-visible {
  box-shadow: 3px 3px 0 var(--ink);
  transform: translate(-1px, -1px);
}

.header-tabs a.active {
  background: var(--ink);
  border-color: var(--ink);
  color: white;
}

.catalog-switcher-shell {
  position: sticky;
  top: 72px;
  z-index: 14;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 18px clamp(20px, 6vw, 88px);
  border-bottom: 2px solid var(--ink);
  overflow: hidden;
  background: var(--blue);
  backdrop-filter: blur(12px);
}

.catalog-switcher-shell,
.catalog-section {
  overflow-anchor: none;
}

.catalog-switcher-shell::before,
.catalog-switcher-shell::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.catalog-switcher-shell::before {
  width: 150px;
  height: 150px;
  left: 34%;
  top: -105px;
  background: var(--mint);
}

.catalog-switcher-shell::after {
  width: 110px;
  height: 110px;
  left: 43%;
  bottom: -86px;
  background: var(--coral);
}

.catalog-switcher-copy {
  min-width: 260px;
}

.catalog-switcher-copy .eyebrow {
  margin-bottom: 5px;
  color: white;
}

.catalog-switcher-copy strong {
  color: white;
  font-size: .82rem;
}

.catalog-switcher {
  display: grid;
  grid-template-columns: repeat(2, minmax(210px, 1fr));
  width: min(650px, 100%);
}

.catalog-view {
  display: grid;
  gap: 4px;
  padding: 13px 18px;
  border: 2px solid var(--ink);
  background: var(--pink);
  color: var(--ink);
  font: 900 .92rem Arial, sans-serif;
  text-align: left;
  cursor: pointer;
}

.catalog-view + .catalog-view {
  border-left: 0;
}

.catalog-view[data-catalog-view="best"] {
  background: var(--yellow);
}

.catalog-view[data-catalog-view="all"] {
  background: var(--pink);
}

.catalog-view span {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 700;
}

.catalog-view.active {
  position: relative;
  z-index: 1;
  color: var(--ink);
  box-shadow: inset 0 -7px 0 var(--mint), 5px 5px 0 var(--ink);
  transform: translate(-3px, -3px);
}

.catalog-view.active span {
  color: #4f4b45;
}

.catalog-view:not(.active) {
  opacity: .84;
}

.site-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
  white-space: nowrap;
}

.site-credit img {
  width: 155px;
  height: 38px;
  object-fit: contain;
}

.site-disclaimer {
  white-space: nowrap;
}

.best-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 34px;
}

.copy-selection {
  display: block;
  margin: 12px auto 4px;
  padding: 7px 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: 800 .76rem Arial, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.clear-cart {
  min-height: 42px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: white;
  color: var(--ink);
  font: 900 .76rem Arial, sans-serif;
  cursor: pointer;
}

.clear-cart:hover,
.clear-cart:focus-visible {
  background: var(--pink);
  outline: 0;
}

.panel-head-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-help {
  margin: 9px 0 0;
  text-align: center;
}

.manual-help {
  margin-top: 3px;
}

[hidden] {
  display: none !important;
}

.hero-photo {
  min-height: 475px;
  margin: 0;
  border: 3px solid var(--ink);
  background: #15302c;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: 475px;
  object-fit: cover;
}

.hero .lede {
  margin-bottom: 20px;
}

.hero-plan {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 610px;
}

.hero-plan > div {
  display: grid;
  gap: 5px;
  padding: 16px 18px;
  border: 2px solid var(--ink);
  background: white;
}

.hero-plan > div:first-child {
  box-shadow: 4px 4px 0 var(--yellow);
}

.hero-plan > div:last-child {
  box-shadow: 4px 4px 0 var(--mint);
}

.hero-plan strong {
  font-family: Georgia, serif;
  font-size: 1.35rem;
}

.hero-plan span,
.hero-note {
  color: var(--muted);
  line-height: 1.45;
}

.hero-plan span {
  font-size: .82rem;
  font-weight: 700;
}

.hero-note {
  max-width: 610px;
  margin: 20px 0 24px;
}

.selection-product {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.selection-product img {
  width: 68px;
  height: 54px;
  padding: 4px;
  border: 1px solid #b8b3aa;
  background: white;
  object-fit: contain;
}

.selection-product strong {
  line-height: 1.2;
}

.selection-product small {
  display: block;
  margin-top: 5px;
  font-family: Arial, sans-serif;
  font-size: .75rem;
}

@media (max-width: 620px) {
  .catalog-switcher-shell {
    top: 104px;
    display: grid;
    gap: 12px;
  }

  .catalog-switcher-copy {
    display: none;
  }

  .catalog-switcher {
    grid-template-columns: 1fr 1.15fr;
  }

  .catalog-view {
    padding: 11px 10px;
    font-size: .78rem;
  }

  .best-actions {
    flex-direction: column;
  }

  footer {
    align-items: flex-start;
  }

  .site-disclaimer {
    white-space: normal;
  }

  .site-credit {
    margin-left: 0;
  }

  .hero-plan {
    grid-template-columns: 1fr;
  }

  .selection-list {
    padding-inline: 18px;
  }

  .selection-item {
    grid-template-columns: minmax(0, 1fr) 64px 30px;
  }
}

.product-visual {
  height: 270px;
  background: #fff !important;
}

.product-visual::before,
.product-visual::after {
  display: none;
}

.product-visual img {
  position: absolute;
  z-index: 2;
  inset: 22px;
  width: calc(100% - 44px);
  height: calc(100% - 44px);
  object-fit: contain;
  filter: drop-shadow(0 10px 10px rgba(0, 0, 0, .18));
  transition: transform .2s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.04);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.catalog-tools {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 200px auto;
  gap: 14px;
  margin-top: 38px;
}

.catalog-subhead {
  margin: 18px 0 0;
}

.shape-guide {
  display: flex;
  align-items: end;
  justify-content: flex-end;
  gap: 8px;
  padding-bottom: 2px;
}

.shape-guide > span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: .64rem;
  font-weight: 900;
  text-transform: uppercase;
}

.frame-icon {
  position: relative;
  display: block;
  width: 44px;
  height: 22px;
}

.frame-icon::before,
.frame-icon::after {
  content: "";
  position: absolute;
  top: 3px;
  width: 17px;
  height: 13px;
  border: 3px solid #102848;
  background: var(--mint);
}

.frame-icon::before { left: 1px; }
.frame-icon::after { right: 1px; }
.frame-icon.square::before,.frame-icon.square::after { border-radius: 3px 3px 7px 7px; background: #28bceb; }
.frame-icon.aviator::before,.frame-icon.aviator::after { border-radius: 50% 50% 65% 65%; background: var(--coral); }
.frame-icon.cat-eye::before,.frame-icon.cat-eye::after { border-radius: 8px 3px 7px 7px; background: var(--pink); transform: skewY(-8deg); }
.frame-icon.round::before,.frame-icon.round::after { border-radius: 50%; background: var(--mint); }

.frame-icon.square { border-top: 3px solid transparent; }
.frame-icon::marker { display:none; }

.catalog-tools label {
  display: grid;
  gap: 7px;
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.catalog-tools input,
.catalog-tools select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  background: white;
  color: var(--ink);
  font: 700 1rem Arial, sans-serif;
}

.catalog-count {
  margin-left: auto;
  align-self: center;
  color: var(--muted);
  font-size: .82rem;
  font-weight: 800;
}

.filter-note {
  margin: -12px 0 24px;
  color: var(--muted);
  font-size: .78rem;
  line-height: 1.45;
}

.quantity-guidance {
  max-width: 900px;
  margin: 22px 0 28px;
  padding: 14px 16px;
  border-left: 6px solid var(--blue);
  background: #eef3ff;
  color: #383834;
  font-size: .9rem;
  line-height: 1.5;
}

.quantity-guidance strong {
  color: var(--ink);
}

.filter-note + .quantity-guidance {
  margin-top: -8px;
}

.best-sellers-section {
  background: #f6f1e8;
  border-bottom: 2px solid var(--ink);
}

.showcase-meta {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 34px 0 20px;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 800;
}

.best-label {
  margin: 15px 0 0;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.family-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 28px;
  padding: 20px 22px;
  border: 2px solid var(--ink);
  background: white;
}

.family-callout-top {
  width: min(520px, 48vw);
  margin: 0;
  padding: 14px 16px;
}

.family-callout-top > div {
  display: grid;
  gap: 4px;
}

.family-callout-top .button {
  min-height: 42px;
  padding: 0 14px;
  font-size: .8rem;
}

.section-intro {
  max-width: 760px;
  margin: 26px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.family-callout span {
  color: var(--muted);
}

.family-callout .button {
  margin-left: auto;
  white-space: nowrap;
}

.variant-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #b8b3aa;
}

.variant-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
  color: var(--muted);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.variant-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}

.variant-pill {
  flex: 0 0 auto;
  width: 54px;
  height: 38px;
  padding: 3px;
  border: 1px solid #a9a9a9;
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.variant-pill.active {
  border: 3px solid var(--ink);
  padding: 1px;
}

.variant-pill img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-catalog .product-card h3 {
  min-height: 2.2em;
}

@media (max-width: 980px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-photo, .hero-photo img { min-height: 400px; height: 400px; }
  .family-callout-top { width: 100%; }
}

@media (max-width: 620px) {
  .topbar { height: auto; min-height: 104px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .brand { max-width: 230px; font-size: .68rem; }
  .header-tabs { order: 3; width: 100%; justify-content: center; }
  .header-tabs a { flex: 1; padding: 8px 10px; text-align: center; }
  .hero-photo, .hero-photo img { min-height: 300px; height: 300px; }
  .family-callout { align-items: flex-start; flex-direction: column; }
  .family-callout .button { width: 100%; margin-left: 0; }
  .catalog-tools { grid-template-columns: 1fr; }
  .shape-guide { justify-content: flex-start; }
  .product-grid { grid-template-columns: 1fr; }
  .catalog-count { width: 100%; margin-left: 0; }
}
.brand-logo {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
}

