:root {
  color-scheme: light;
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #f1f5f9;
  --ink: #111827;
  --muted: #667085;
  --line: #d8dee9;
  --brand: #d71920;
  --brand-dark: #111827;
  --accent: #0f8b6f;
  --warning: #b45309;
  --shadow: 0 18px 48px rgba(15, 23, 42, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(215, 25, 32, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 48%, #eef2f7 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 20px;
  align-items: center;
  padding: 14px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  min-width: 250px;
}

.brand-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--brand), #a50f18);
  color: #ffffff;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(215, 25, 32, 0.24);
}

.brand strong {
  display: block;
  font-size: 20px;
  line-height: 1.1;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.nav a {
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #344054;
  font-size: 14px;
  font-weight: 760;
}

.nav a:hover,
.nav a.active {
  background: #fff1f0;
  color: var(--brand);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
}

.toolbar {
  position: sticky;
  top: 75px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 220px auto;
  gap: 12px;
  padding: 14px clamp(16px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
}

.search-box input,
.toolbar select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
}

.search-box input {
  padding: 0 14px;
}

.toolbar select {
  padding: 0 10px;
}

.primary-button,
.secondary-button,
.buy-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 850;
}

.primary-button {
  padding: 0 18px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(215, 25, 32, 0.18);
}

.secondary-button {
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.buy-button {
  padding: 0 16px;
  border: 1px solid #f2b705;
  background: linear-gradient(180deg, #ffd76b, #f4b400);
  color: #2b1c00;
  box-shadow: 0 10px 20px rgba(244, 180, 0, 0.22);
}

.page {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 32px clamp(16px, 4vw, 46px) 56px;
}

.hero,
.editorial-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
  gap: 18px;
  align-items: stretch;
}

.hero-card,
.trust-card,
.section,
.product-card,
.stat-card,
.empty-state,
.disclosure-card,
.editor-pick,
.detail-copy {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-card {
  position: relative;
  overflow: hidden;
  padding: 38px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f8fbff 58%, #fff1f0 100%);
}

.hero-card::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 174px;
  height: 122px;
  border: 1px solid rgba(15, 139, 111, 0.16);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.42)),
    repeating-linear-gradient(0deg, rgba(15, 139, 111, 0.1) 0 1px, transparent 1px 30px),
    repeating-linear-gradient(90deg, rgba(215, 25, 32, 0.1) 0 1px, transparent 1px 44px);
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-bottom: 14px;
  font-size: clamp(32px, 5vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 26px;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-card p {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.trust-card {
  padding: 24px;
  background: #111827;
  color: #ffffff;
}

.trust-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.trust-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  color: #e5e7eb;
  line-height: 1.45;
}

.trust-list span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 999px;
  background: rgba(15, 139, 111, 0.18);
  color: #86efac;
  font-weight: 900;
}

.editor-pick {
  padding: 22px;
}

.editor-layout {
  display: grid;
  grid-template-columns: minmax(160px, 0.72fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.editor-image,
.detail-media {
  display: grid;
  min-height: 240px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  padding: 20px;
}

.editor-image img,
.detail-media img {
  max-width: 100%;
  max-height: 280px;
  object-fit: contain;
}

.editor-layout h2 {
  margin-top: 12px;
  font-size: 30px;
  line-height: 1.08;
}

.editor-layout p,
.section-header p,
.disclosure-card p,
.empty-state p,
.detail-note {
  color: var(--muted);
  line-height: 1.62;
}

.editor-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.editor-meta strong {
  color: var(--ink);
  font-size: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
}

.stat-card small {
  color: var(--muted);
  font-weight: 760;
}

.stat-card strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
}

.section {
  margin-top: 18px;
  padding: 22px;
}

.page-heading {
  background: linear-gradient(135deg, #ffffff, #f1f9f7);
}

.section-header {
  display: flex;
  gap: 12px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 16px;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 12px;
}

.category-tile {
  min-height: 124px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78)),
    linear-gradient(135deg, rgba(15, 139, 111, 0.08), rgba(215, 25, 32, 0.05));
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.category-tile:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78)),
    linear-gradient(135deg, rgba(49, 87, 213, 0.08), rgba(15, 139, 111, 0.06));
}

.category-tile:nth-child(3n) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(248, 250, 252, 0.78)),
    linear-gradient(135deg, rgba(244, 180, 0, 0.12), rgba(215, 25, 32, 0.05));
}

.category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(15, 139, 111, 0.45);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.12);
}

.category-tile strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}

.category-tile span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  display: grid;
  grid-template-rows: 300px auto auto auto;
  min-height: 600px;
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(215, 25, 32, 0.28);
  box-shadow: 0 24px 62px rgba(15, 23, 42, 0.14);
}

.product-media {
  position: relative;
  display: grid;
  place-items: center;
  margin: 18px 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 24% 16%, rgba(15, 139, 111, 0.1), transparent 32%),
    linear-gradient(145deg, #ffffff, #f3f7fb);
}

.product-media img {
  max-width: 100%;
  max-height: 260px;
  object-fit: contain;
}

.rank-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-grid;
  min-width: 34px;
  height: 28px;
  place-items: center;
  border-radius: 6px;
  background: #111827;
  color: #ffffff;
  font-size: 11px;
  font-weight: 950;
}

.image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  align-content: center;
  gap: 10px;
  border: 1px dashed #cbd5e1;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(15, 139, 111, 0.14), transparent 30%),
    linear-gradient(145deg, #ffffff, #edf4ff 52%, #fff7ed);
  color: var(--ink);
  text-align: center;
}

.image-fallback strong {
  display: block;
  padding: 8px 10px;
  border-radius: 999px;
  background: #fff1f0;
  color: var(--brand);
  font-size: 13px;
}

.image-fallback span {
  color: var(--muted);
  font-size: 13px;
}

.product-body {
  padding: 20px 18px 8px;
}

.product-kicker {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.category-badge {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 9px;
  border-radius: 999px;
  background: #ecfdf5;
  color: #05603a;
  font-size: 12px;
  font-weight: 850;
}

.product-title {
  display: -webkit-box;
  min-height: 74px;
  margin-top: 10px;
  overflow: hidden;
  color: var(--ink);
  font-weight: 850;
  line-height: 1.32;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.product-scoreline {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: end;
  padding: 12px 18px 20px;
  border-top: 1px solid #eef2f7;
}

.product-price {
  color: var(--brand);
  font-size: 24px;
  line-height: 1;
}

.product-rating {
  color: var(--warning);
  font-weight: 850;
  white-space: nowrap;
}

.product-scoreline span:last-child {
  grid-column: 2;
  color: var(--muted);
  font-size: 12px;
}

.product-actions {
  display: grid;
}

.product-actions .buy-button,
.product-actions .link-pending {
  min-height: 52px;
  border-radius: 0 0 var(--radius) var(--radius);
}

.link-pending {
  display: grid;
  place-items: center;
  background: #f8fafc;
  color: var(--muted);
  font-weight: 800;
}

.affiliate-note {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 0.76fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.detail-media {
  min-height: 520px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.detail-copy {
  padding: 30px;
}

.detail-copy h1 {
  margin-top: 14px;
  font-size: clamp(32px, 4vw, 56px);
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.detail-grid div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.detail-grid small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.detail-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 18px;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  min-width: 900px;
  border-collapse: collapse;
  background: #ffffff;
}

th,
td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #f8fafc;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

.empty-state,
.loading-state,
.disclosure-card {
  padding: 26px;
}

.not-found {
  text-align: center;
}

.not-found .hero-actions {
  justify-content: center;
}

.loading-state {
  display: grid;
  min-height: 300px;
  place-items: center;
  color: var(--muted);
}

.loader {
  width: 48px;
  height: 48px;
  border: 4px solid #fee4e2;
  border-top-color: var(--brand);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.site-footer span {
  max-width: 860px;
}

.site-footer a,
.site-footer strong {
  font-weight: 850;
  color: var(--ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Editorial home layout inspired by the buying-guide reference, adapted for Trend Vuong. */
body {
  background: #ffffff;
  color: #111827;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: #07314d;
  color: #ffffff;
}

.brand {
  color: #ffffff;
}

.brand-icon {
  width: auto;
  min-width: 72px;
  background: transparent;
  box-shadow: none;
  font-size: 34px;
  font-style: italic;
  letter-spacing: -0.08em;
}

.brand small {
  color: rgba(255, 255, 255, 0.68);
}

.nav a {
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.nav a:hover,
.nav a.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.menu-button {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.toolbar {
  top: 75px;
  background: rgba(255, 255, 255, 0.96);
}

.page {
  width: 100%;
  padding: 0 0 56px;
}

.tv-hero {
  min-height: 520px;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 72px max(24px, calc((100vw - 1230px) / 2)) 88px;
  background:
    linear-gradient(90deg, rgba(3, 31, 52, 0.96) 0%, rgba(5, 47, 77, 0.9) 42%, rgba(5, 47, 77, 0.62) 100%),
    url("https://images.unsplash.com/photo-1558002038-1055907df827?auto=format&fit=crop&w=2200&q=82");
  background-position: center;
  background-size: cover;
  color: #ffffff;
}

.tv-hero-content {
  max-width: 720px;
}

.tv-hero .eyebrow {
  color: #9ee6d8;
}

.tv-hero h1 {
  margin-bottom: 26px;
  color: #ffffff;
  font-size: clamp(48px, 7vw, 82px);
  line-height: 1.12;
}

.tv-hero p {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.3;
}

.primary-button.light {
  border-color: #ffffff;
  background: #ffffff;
  color: #031f34;
}

.secondary-button.ghost {
  border-color: rgba(255, 255, 255, 0.86);
  background: transparent;
  color: #ffffff;
}

.home-intro,
.home-two-column,
.page > .section {
  width: min(1230px, calc(100% - 48px));
  margin-right: auto;
  margin-left: auto;
}

.home-intro {
  padding: 84px 0 76px;
}

.home-intro h2 {
  margin-bottom: 120px;
  font-size: clamp(34px, 3.2vw, 46px);
}

.home-intro p {
  max-width: 860px;
  color: #1f2937;
  font-size: 19px;
  line-height: 1.7;
}

.home-two-column {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 48px;
  align-items: start;
}

.home-main-list > h2,
.category-sidebar h2 {
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.08;
}

.home-lead {
  max-width: 760px;
  color: #52627a;
  font-size: 18px;
  line-height: 1.7;
}

.home-category-section {
  margin-top: 36px;
}

.home-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid #dbe5f0;
}

.home-category-heading h3 {
  margin: 0;
  font-size: 28px;
}

.home-category-heading a {
  color: #05375b;
  font-weight: 900;
}

.home-guide-list {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.home-guide-card {
  padding: clamp(26px, 3vw, 36px);
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.home-guide-card h3 {
  font-size: 22px;
  line-height: 1.25;
}

.home-guide-card p,
.home-guide-meta {
  color: #52627a;
  font-size: 17px;
  line-height: 1.65;
}

.home-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.home-guide-meta strong {
  color: #07314d;
}

.home-empty {
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed #bfd0e4;
  border-radius: 12px;
  color: #52627a;
}

.category-sidebar {
  position: sticky;
  top: 148px;
}

.category-pick-list {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.category-pick-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  align-items: center;
  min-height: 138px;
  padding: 16px;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.category-pick-card img {
  width: 140px;
  height: 104px;
  border-radius: 10px;
  object-fit: cover;
}

.category-pick-card strong {
  display: block;
  color: #111827;
  font-size: 22px;
  line-height: 1.2;
}

.category-pick-card small {
  display: block;
  margin-top: 8px;
  color: #52627a;
  font-size: 15px;
  line-height: 1.45;
}

.site-footer {
  justify-content: space-between;
  padding: 36px max(24px, calc((100vw - 1230px) / 2));
  background: #ffffff;
  text-align: left;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav {
    display: none;
    grid-column: 1 / -1;
    justify-content: stretch;
  }

  body.menu-open .nav {
    display: grid;
  }

  .toolbar {
    top: 75px;
    grid-template-columns: 1fr;
  }

  .hero,
  .editorial-hero,
  .editor-layout,
  .product-detail,
  .home-two-column {
    grid-template-columns: 1fr;
  }

  .tv-hero {
    min-height: 460px;
    padding-top: 56px;
    padding-bottom: 64px;
  }

  .home-intro {
    padding: 56px 0 44px;
  }

  .home-intro h2 {
    margin-bottom: 34px;
  }

  .category-sidebar {
    position: static;
  }

  .stats-grid,
  .product-grid,
  .category-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    min-width: 0;
  }

  .brand small {
    display: none;
  }

  .page {
    padding: 0 0 46px;
  }

  .tv-hero {
    min-height: 420px;
    padding: 42px 18px 48px;
  }

  .tv-hero h1 {
    font-size: 42px;
  }

  .tv-hero p {
    font-size: 19px;
  }

  .home-intro,
  .home-two-column,
  .page > .section {
    width: min(100% - 28px, 1230px);
  }

  .home-main-list > h2,
  .category-sidebar h2 {
    font-size: 34px;
  }

  .hero-card,
  .detail-copy {
    padding: 24px;
  }

  .hero-card::after {
    display: none;
  }

  .stats-grid,
  .product-grid,
  .category-strip,
  .detail-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    display: block;
  }

  .site-footer {
    display: grid;
  }

  .category-pick-card {
    grid-template-columns: 112px 1fr;
    gap: 14px;
  }

  .category-pick-card img {
    width: 112px;
    height: 88px;
  }
}

/* Layout guard: keep Trend Vuong centered and restore product grids across breakpoints. */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

main {
  width: 100%;
}

.page {
  width: min(1280px, calc(100% - 32px));
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.page > .section,
.page > .stats-grid,
.page > .product-detail,
.page > .disclosure-card,
.page > .empty-state {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.section {
  width: 100%;
  max-width: 100%;
}

.product-grid {
  display: grid !important;
  width: 100%;
  max-width: 100%;
  gap: 20px;
  align-items: stretch;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-media img,
.detail-media img,
.editor-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 640px) and (max-width: 899px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 639px) {
  .page {
    width: min(100% - 28px, 1280px);
    padding-bottom: 46px;
  }

  .product-grid {
    grid-template-columns: 1fr !important;
  }
}
