/**
 * TumiTrust — merchandise / brand library browse
 * Calm, editorial; focuses on content (SVG artwork), not “dashboard chrome”.
 */
.mlb-page {
  margin: 0;
  min-height: 100vh;
  background: #faf6f0;
  color: #1e1a16;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
.mlb-page * { box-sizing: border-box; }

.mlb-skip {
  position: absolute;
  left: -9999px;
}
.mlb-skip:focus { left: 0.5rem; top: 0.5rem; z-index: 1000; }

.mlb-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(180, 83, 9, 0.12);
  background: #fffcf8;
}
.mlb-top__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem 2.5rem;
  justify-content: space-between;
}
.mlb-top__logo {
  display: block;
  line-height: 0;
  flex-shrink: 0;
}
.mlb-top__logo img { height: 40px; width: auto; display: block; }
.mlb-top h1 {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem 0;
  color: #2a221c;
}
.mlb-top p {
  margin: 0;
  font-size: 0.95rem;
  color: #5c4d42;
  max-width: 42em;
}
.mlb-tagline {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b45309;
  font-weight: 700;
}
.mlb-home {
  font-size: 0.875rem;
  font-weight: 600;
  color: #c2410c;
  text-decoration: none;
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border: 1px solid rgba(194, 65, 12, 0.35);
  border-radius: 8px;
  background: #fff;
  transition: border-color 0.15s, color 0.15s;
}
.mlb-home:hover, .mlb-home:focus-visible {
  border-color: #ea580c;
  color: #9a3412;
  outline: none;
}

.mlb-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.mlb-banners { margin: 1.5rem 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.mlb-banners a {
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  color: #9a3412;
  border-bottom: 1px solid currentColor;
  padding: 0.15rem 0;
}
.mlb-banners a:hover { color: #7c2d12; }

.mlb-filters {
  margin: 1.5rem 0 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  align-items: end;
}
.mlb-filters input[type="text"] {
  min-width: 12rem;
  max-width: 20rem;
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(82, 58, 42, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
}
.mlb-filters label { font-size: 0.8rem; color: #6b5348; font-weight: 600; margin-right: 0.4rem; }
.mlb-filters select {
  padding: 0.45rem 0.65rem;
  border: 1px solid rgba(82, 58, 42, 0.2);
  border-radius: 8px;
  font-size: 0.9rem;
  background: #fff;
  color: #2a221c;
}
.mlb-filters .mlb-btn {
  padding: 0.5rem 1.1rem;
  border: none;
  border-radius: 8px;
  background: #ea580c;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
}
.mlb-filters .mlb-btn--ghost {
  background: #fff;
  color: #9a3412;
  border: 1px solid rgba(194, 65, 12, 0.35);
}

.mlb-stat { font-size: 0.8rem; color: #5c4d42; margin-bottom: 0.5rem; }

.mlb-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 0.5rem 0;
  border-bottom: 1px solid rgba(180, 83, 9, 0.1);
  padding-bottom: 0.35rem;
}
.mlb-tabs button {
  background: #fff;
  border: 1px solid rgba(120, 90, 70, 0.15);
  color: #433;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 8px 8px 0 0;
  cursor: pointer;
  text-transform: capitalize;
}
.mlb-tabs button[aria-pressed="true"],
.mlb-tabs button[aria-selected="true"] {
  background: #1e1a16;
  color: #fffcf0;
  border-color: #1e1a16;
}

.mlb-sec { margin: 0 0 2.5rem; }
.mlb-sec[hidden] { display: none !important; }
.mlb-sec h2 { font-size: 1.05rem; color: #5c4d42; font-weight: 600; margin: 0.75rem 0 1rem; }

.mlb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.mlb-card {
  background: #fffcf8;
  border: 1px solid rgba(180, 83, 9, 0.1);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}
.mlb-card:hover { border-color: rgba(255, 102, 0, 0.25); box-shadow: 0 8px 32px rgba(0,0,0,0.05); }
.mlb-card__art {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #f4efe8;
  min-height: 200px;
  max-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.mlb-card__art img {
  max-width: 100%;
  max-height: 240px;
  object-fit: contain;
}
.mlb-card__body { padding: 1rem 1.1rem 1.1rem; flex: 1; }
.mlb-card h3 { margin: 0 0 0.35rem; font-size: 0.95rem; font-weight: 700; color: #1e1a16; }
.mlb-card p { margin: 0; font-size: 0.8rem; color: #6b553e; }
.mlb-bad { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; color: #b45309; font-weight: 700; margin-top: 0.5rem; }
.mlb-bad span { color: #78716c; text-transform: none; letter-spacing: 0; font-size: 0.75rem; }
.mlb-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.9rem; }
.mlb-actions a, .mlb-actions button, .mlb-dl { font-size: 0.8rem; }
.mlb-actions a, .mlb-actions button, .mlb-dl, .mlb-sec .mlb-dl {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  background: #fff;
  color: #2a221c;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
  font-family: inherit;
}
.mlb-actions a[href$=".svg"], .mlb-actions a[data-dl] { }
.mlb-dl--primary { background: #1e1a16; color: #fff; border-color: #1e1a16; }
.mlb-dl--primary:hover { background: #333; }

.mlb-bottom {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-top: 1px solid rgba(180, 83, 9, 0.1);
  font-size: 0.8rem;
  color: #6b553e;
  max-width: 1200px;
  margin: 0 auto;
}
.mlb-bottom a { color: #b45309; }
.mlb-bottom p { margin: 0.35rem 0; }
.mlb-pswp a.pswp__button { color: #fff; }

/* PhotoSwipe: minimal chrome to match */
.pswp { --pswp-bg: rgba(20, 18, 16, 0.92); }
.pswp__img { object-fit: contain; }

@media (min-width: 800px) {
  .mlb-top h1 { font-size: 1.7rem; }
}

/* ——— Design detail (same palette as gallery) ——— */
.mlb-wrap--detail { padding-top: 0.5rem; }
.mlb-detail__crumb {
  margin: 0.35rem 0 0 0;
  font-size: 0.8rem;
  color: #6b553e;
  max-width: 42em;
  line-height: 1.5;
}
.mlb-detail__crumb a {
  color: #c2410c;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 65, 12, 0.3);
}
.mlb-detail__crumb a:hover { color: #9a3412; }
.mlb-detail__crumb-sep { color: #a8a29e; margin: 0 0.25rem; }
.mlb-detail__crumb-cur { color: #1e1a16; font-weight: 600; }
.mlb-detail__panel {
  display: grid;
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 800px) {
  .mlb-detail__panel {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: start;
  }
}
.mlb-detail__art {
  background: #f4efe8;
  border: 1px solid rgba(180, 83, 9, 0.1);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 12rem;
}
.mlb-detail__img {
  max-width: 100%;
  max-height: min(70vh, 520px);
  width: auto;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}
.mlb-detail__title {
  margin: 0 0 0.5rem 0;
  font-size: 1.35rem;
  font-weight: 800;
  color: #2a221c;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.mlb-detail__desc {
  margin: 0;
  color: #5c4d42;
  font-size: 0.95rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.mlb-bad--detail { margin-top: 0.75rem; }
.mlb-detail__actions { margin: 0 0 0.5rem; }
.mlb-detail__actions .mlb-dl--primary { margin-top: 0.15rem; }
.mlb-detail__actions .mlb-dl {
  min-width: 8rem;
  text-align: center;
}
.mlb-detail__share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 0.25rem;
  align-items: center;
}
.mlb-detail__actions .mlb-dl[hidden] { display: none; }
.mlb-detail__note {
  margin: 0.5rem 0 0 0;
  font-size: 0.8rem;
  color: #78716c;
  line-height: 1.4;
  max-width: 36em;
}
.mlb-detail__account {
  font-size: 0.9rem;
  color: #5c4d42;
  max-width: 40em;
  line-height: 1.5;
  margin: 0 0 0.5rem 0;
}
.mlb-detail__account a { color: #b45309; font-weight: 600; }
.mlb-related { padding-top: 0.5rem; }
.mlb-related__h {
  font-size: 1.1rem;
  color: #2a221c;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  letter-spacing: -0.02em;
}
.mlb-card--link .mlb-related__a {
  color: inherit;
  text-decoration: none;
}
.mlb-card--link .mlb-related__a:hover { color: #b45309; }
.mlb-card--link h3 { margin: 0; }
.mlb-toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  left: auto;
  z-index: 2000;
  max-width: min(22em, 90vw);
  background: #1e1a16;
  color: #fffcf8;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.7rem 1.1rem;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.mlb-toast[hidden] { display: none; }
@media (min-width: 500px) {
  .mlb-toast { left: auto; }
}
