:root {
  --surface: #18181b;
  --surface-raised: #1d1d20;
  --border: #27272a;
  --text: #ececee;
  --muted: #8c8c93;
  --radius: 10px;
  color-scheme: dark;
}
body.redesign {
  font-family:
    ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    "Noto Color Emoji";
  color: var(--text);
  background: #111112;
  line-height: 1.5;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
button,
input,
select,
textarea {
  font: inherit;
}
a,
button,
input,
select,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent, #62d4ae);
  outline-offset: 4px;
}
body.redesign .site-footer,
body.redesign .discovery-main,
body.redesign .product-page-main {
  max-width: 1140px;
  margin-inline: auto;
}
body.redesign .main-nav a[aria-current="page"] {
  color: #fff;
}
body.redesign .site-footer {
  border-top: 1px solid var(--border);
  margin-top: 64px;
  padding-block: 28px;
  color: var(--muted);
}
body.redesign .product-card {
  border: 1px solid var(--border) !important;
  border-radius: var(--radius) !important;
  background: var(--surface) !important;
  overflow: hidden;
  position: relative;
}
body.redesign .product-card .product-media {
  aspect-ratio: 1 !important;
  min-height: 0 !important;
  background: var(--surface-raised) !important;
  overflow: hidden;
}
body.redesign .product-card .product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: normal;
}
body.redesign .product-title {
  font-weight: 500 !important;
  line-height: 1.5 !important;
}
body.redesign .product-subline,
body.redesign .card-view {
  color: var(--muted) !important;
}
body.redesign .product-footer {
  border-top: 1px solid var(--border) !important;
}
body.redesign .tool-table th,
body.redesign .tool-table td {
  text-align: left;
  vertical-align: middle;
  font-size: 13px;
  padding: 16px;
}
body.redesign .tool-table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
body.redesign:not([data-public-page="agent"]) .tool-tabs {
  gap: 6px;
  overflow-x: auto;
}
body.redesign:not([data-public-page="agent"]) .tool-tabs button {
  white-space: nowrap;
  min-height: 42px;
}
body.redesign .detail-loading {
  min-height: 320px;
  display: grid;
  place-items: center;
  color: var(--muted);
}
body.redesign .detail-media {
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #202023 !important;
}
body.redesign .detail-media img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}
body.redesign .preferences-segmented {
  display: flex;
  flex-wrap: wrap;
}
body.redesign .preferences-segmented button {
  flex: 1 1 70px;
  min-height: 40px !important;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 1000;
  background: #eee;
  color: #111;
  padding: 12px 18px;
  border-radius: 6px;
}
.skip-link:focus {
  top: 12px;
}
.photo-pending,
.photo-failed {
  position: relative;
}
.photo-failed::after {
  content: attr(data-photo-message);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #202023;
  color: #b8b8c4;
  font-size: 12px;
  padding: 12px;
  text-align: center;
}
@media (max-width: 768px) {
  body.redesign .product-page-main {
    padding: 24px 16px;
  }
  body.redesign .site-footer {
    margin: 40px 16px 0;
  }
  body.redesign .dropdown-panel {
    max-width: calc(100vw - 32px);
  }
  body.redesign .landing-hero {
    gap: 24px !important;
  }
  body.redesign .detail-hero {
    grid-template-columns: 1fr !important;
  }
  body.redesign .tool-table th,
  body.redesign .tool-table td {
    padding: 12px;
    white-space: nowrap;
  }
  body.redesign .product-title {
    font-size: 12px !important;
  }
  body.redesign:not([data-public-page="agent"]) .tool-tabs button {
    padding: 10px 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.brand-filter {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}
.brand-filter select {
  max-width: 180px;
}
@media (max-width: 600px) {
  .brand-filter {
    width: 100%;
  }
  .brand-filter select {
    flex: 1;
    max-width: none;
  }
}

body.redesign .seller-managed {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.seller-managed h2,
.seller-description {
  overflow-wrap: anywhere;
}
.seller-managed .seller-cover {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid var(--line, #303034);
  border-radius: 10px;
  overflow: hidden;
  margin: 16px 0 4px;
  background: #1b1b1e;
  display: grid;
  place-items: center;
}
.seller-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.seller-cover img[hidden],
.seller-cover span[hidden] {
  display: none;
}
.seller-cover span {
  color: #aaa;
  font-size: 12px;
}
.seller-managed .seller-description {
  flex: 1;
}
.seller-managed .seller-button {
  margin-top: auto;
}
.seller-empty {
  grid-column: 1/-1;
  padding: 30px;
  text-align: center;
  color: #aaa;
  border: 1px dashed #38383e;
  border-radius: 12px;
}
.seller-managed .seller-badge {
  font-size: 11px;
}
@media (max-width: 480px) {
  body.redesign .seller-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
