﻿:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-soft: #eef4ff;
  --text: #122033;
  --text-soft: #5c6b80;
  --text-muted: #8190a3;
  --line: rgba(33, 52, 80, 0.12);
  --accent: #22b8cf;
  --accent-strong: #0f8fa5;
  --accent-soft: rgba(34, 184, 207, 0.14);
  --success: #15b87a;
  --shadow: 0 22px 60px rgba(20, 42, 73, 0.12);
  --radius: 8px;
  --container: 1180px;
}

[data-theme="dark"] {
  --bg: #08111f;
  --surface: #111d2d;
  --surface-soft: #0d1828;
  --text: #e9f1fb;
  --text-soft: #a8b6c7;
  --text-muted: #728097;
  --line: rgba(232, 241, 251, 0.12);
  --accent: #36d1e6;
  --accent-strong: #5eead4;
  --accent-soft: rgba(54, 209, 230, 0.16);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
.container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
.section { padding: 76px 0; }
.tint { background: linear-gradient(180deg, transparent, var(--surface-soft), transparent); }

.top-ad {
  position: relative;
  z-index: 30;
  background: linear-gradient(90deg, #083344, #0e7490, #115e59);
  color: #fff;
}
.top-ad-link {
  width: min(1200px, calc(100% - 32px));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  text-align: center;
}
.top-ad strong {
  border: 1px solid rgba(255,255,255,.45);
  padding: 8px 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.12);
}
.close-ad {
  position: absolute;
  right: 14px;
  top: 10px;
  border: 0;
  width: 30px;
  height: 30px;
  color: #fff;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  cursor: pointer;
}

.glass-nav {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(10, 5, 52, .96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.nav-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 210px;
  height: 60px;
  flex: 0 0 auto;
  white-space: nowrap;
}
.brand-logo {
  display: block;
  width: 198px;
  height: auto;
  max-height: 62px;
  object-fit: contain;
}
.brand span, .highlight, h1 span, .footer-brand span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links > li > a,
.nav-links > li > button,
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 42px;
  padding: 0 13px;
  color: rgba(255,255,255,.88);
  border-radius: var(--radius);
  border: 0;
  background: transparent;
  cursor: pointer;
  font-weight: 700;
  font-family: inherit;
  font-size: inherit;
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.theme-toggle:hover {
  color: #fff;
  background: rgba(255,255,255,.1);
}
.has-menu {
  position: relative;
  isolation: isolate;
}
.dropdown {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 999;
  display: grid;
  min-width: 220px;
  padding: 10px;
  margin: 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  visibility: hidden;
  transition: .18s ease;
}
.has-menu:hover .dropdown,
.has-menu:focus-within .dropdown,
.has-menu.open .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  visibility: visible;
}
.dropdown a { display: block; padding: 10px 12px; border-radius: var(--radius); color: var(--text-soft); }
.dropdown a:hover { background: var(--accent-soft); color: var(--text); }
.menu-toggle, .mobile-theme { display: none; }
.icon-theme { width: 42px; padding: 0; justify-content: center; }

.hero {
  min-height: 650px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  background-color: #090335;
  background-image:
    linear-gradient(90deg, rgba(8, 3, 48, .96) 0%, rgba(8, 3, 48, .76) 40%, rgba(8, 3, 48, .08) 76%),
    url("/assets/sugargoobestlinks/brand/sugargoo-hero.jpg");
  background-position: center, center;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  color: #fff;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--bg));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1500px, calc(100% - 64px));
  padding-right: 45%;
  text-align: left;
}
.eyebrow, .section-eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-strong);
  font-weight: 900;
  text-transform: uppercase;
  font-size: .76rem;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.6rem, 4vw, 4.5rem);
  line-height: 1.01;
  letter-spacing: 0;
}
.hero p {
  max-width: 750px;
  margin: 24px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 1.12rem;
}
.hero-actions, .cta-actions {
  display: flex;
  justify-content: flex-start;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero .search-bar { margin-left: 0; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
}
.btn.primary { background: var(--accent); border-color: var(--accent); color: #03242b; }
.btn.ghost { background: color-mix(in srgb, var(--surface) 70%, transparent); color: var(--text); }
.hero .btn.ghost { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.btn.small { min-height: 40px; font-size: .9rem; }

.search-bar {
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  max-width: 720px;
  padding: 10px;
  background: rgba(255,255,255,.94);
  color: #142033;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.search-bar input {
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  min-width: 0;
}
.search-bar button {
  height: 42px;
  width: 42px;
  border: 0;
  border-radius: var(--radius);
  background: #e8f8fb;
  color: #0d6f7e;
  cursor: pointer;
}
.search-bar button:last-child { background: var(--accent); color: #03242b; }

.section-header { margin-bottom: 28px; }
.section-header h2, .guide-panel h2, .cta-banner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}
.section-header p { max-width: 620px; color: var(--text-soft); margin: 10px 0 0; }
.section-header.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-item {
  display: grid;
  place-items: center;
  min-height: 148px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(20, 42, 73, .05);
  text-align: center;
}
.category-item i { color: var(--accent); font-size: 2.1rem; }
.category-item h3 { margin: 12px 0 0; font-size: 1rem; }
.category-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.product-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 16px 34px rgba(20, 42, 73, .08);
}
.product-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--surface-soft);
}
.discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 1;
  padding: 6px 10px;
  border-radius: var(--radius);
  background: var(--success);
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
}
.product-body { padding: 14px; }
.product-body h3 { margin: 0 0 8px; font-size: 1rem; line-height: 1.3; min-height: 2.6em; }
.product-body p { margin: 0 0 8px; color: var(--accent-strong); font-weight: 900; }
.product-body span { color: var(--text-muted); font-size: .9rem; display: inline-flex; gap: 6px; align-items: center; }
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line);
}
.product-actions a, .product-actions button {
  display: grid;
  place-items: center;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--text-soft);
  font-weight: 800;
  cursor: pointer;
}
.product-actions a + a { border-left: 1px solid var(--line); color: var(--accent-strong); }
.product-actions button { border-left: 1px solid var(--line); color: var(--accent-strong); }
.loading-products {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}
.category-filter a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text-soft);
  font-weight: 800;
}
.category-filter a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #062b32;
}
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 30px 0 0;
}
.page-count { color: var(--text-soft); font-weight: 800; }
.product-detail-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}
.product-gallery {
  display: grid;
  gap: 12px;
}
.product-thumbs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}
.product-thumbs button {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  overflow: hidden;
}
.product-thumbs button.active { border-color: var(--accent); }
.product-thumbs img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.product-image-list {
  display: grid;
  gap: 16px;
}
.product-image-list img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.guide-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 16px 34px rgba(20, 42, 73, .07);
}
.guide-panel p, .guide-panel li { color: var(--text-soft); }
.guide-panel ul { padding-left: 20px; }
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; counter-reset: steps; }
.steps li {
  position: relative;
  padding-left: 58px;
  min-height: 46px;
  counter-increment: steps;
}
.steps li::before {
  content: counter(steps);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #03242b;
  font-weight: 900;
}
.steps strong, .steps span { display: block; }

.agent-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.agent-strip span {
  display: grid;
  place-items: center;
  min-height: 68px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
  color: var(--text-soft);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.news-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 250px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.chip, .date {
  align-self: flex-start;
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 800;
}
.chip {
  color: #fff;
  background: var(--accent-strong);
  padding: 5px 9px;
  border-radius: 999px;
}
.news-card h3 { margin: 0; font-size: 1.1rem; line-height: 1.35; }
.news-card p { color: var(--text-soft); margin: 0; }
.news-card strong { margin-top: auto; color: var(--accent-strong); font-size: .92rem; }

/* Outfitreps weekly guide hub and article product cards */
.home-guides-section { padding: 62px 0; }
.home-guides-section .section-header { align-items: center; }
.home-guides-section .section-header p { max-width: 680px; }
.news-more-button { flex: 0 0 auto; white-space: nowrap; }
.guide-list-card { min-height: 286px; padding: 24px; }
.guide-list-card .date { font-size: .9rem; }
.guide-list-card h2, .guide-list-card h3 { margin: 0; font-size: 1.18rem; line-height: 1.35; }
.guide-list-card h2 a:hover, .guide-list-card h3 a:hover { color: var(--accent-strong); }
.guide-list-card p { line-height: 1.6; }
.news-read-more { margin-top: auto; color: var(--accent-strong); font-weight: 900; }
.news-index-hero {
  padding: 54px 0 34px;
  background: linear-gradient(180deg, rgba(34,184,207,.05), transparent);
}
.news-index-hero h1 { margin: 12px 0 8px; font-size: clamp(2.4rem, 5vw, 4.5rem); line-height: 1.02; }
.news-index-hero p { max-width: 760px; margin: 0; color: var(--text-soft); font-size: 1.12rem; }
.news-index-section { padding: 10px 0 86px; }
.news-index-section .news-list-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.guide-detail-hero { padding-top: 72px; }
.guide-detail-hero h1 { font-size: clamp(2.3rem, 5vw, 4.4rem); line-height: 1.04; }
.article-lead { font-size: 1.08rem; }
.guide-product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 38px; }
.guide-product-card { overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); box-shadow: 0 12px 28px rgba(20,42,73,.07); }
.guide-product-image { display: block; overflow: hidden; background: var(--surface-soft); }
.guide-product-image img { width: 100%; height: 250px; object-fit: cover; transition: transform .25s ease; }
.guide-product-card:hover .guide-product-image img { transform: scale(1.035); }
.guide-product-body { padding: 18px; }
.guide-product-body > span { color: var(--accent-strong); font-size: .78rem; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.guide-product-body h3 { min-height: 2.7em; margin: 8px 0; }
.guide-product-body p { min-height: 6.4em; margin: 0 0 14px; font-size: .92rem; line-height: 1.6; }
.guide-product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.guide-product-meta > strong { color: var(--accent-strong); font-size: 1.08rem; }
.guide-product-meta .btn { min-height: 40px; padding: 0 12px; font-size: .78rem; }

@media (max-width: 900px) {
  .news-index-section .news-list-grid { grid-template-columns: 1fr; }
  .guide-product-grid { grid-template-columns: 1fr; }
  .guide-product-body p { min-height: 0; }
}

.page-hero {
  padding: 150px 0 58px;
  background: linear-gradient(180deg, rgba(34,184,207,.13), rgba(255,255,255,0));
}
.page-hero .eyebrow { color: var(--accent-strong); font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.page-hero h1 { max-width: 980px; margin: 12px 0 0; font-size: clamp(2.3rem, 5vw, 4.8rem); line-height: .98; }
.page-hero p { max-width: 760px; color: var(--text-soft); font-size: 1.15rem; line-height: 1.7; }
.article-wrap { padding: 36px 0 90px; }
.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 36px;
  align-items: start;
}
.article-body, .article-sidebar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(20,42,73,.08);
}
.article-body { padding: clamp(24px, 4vw, 46px); }
.article-body h2 { margin: 30px 0 12px; font-size: 1.55rem; }
.article-body h3 { margin: 24px 0 10px; font-size: 1.18rem; }
.article-body p, .article-body li { color: var(--text-soft); line-height: 1.8; }
.article-body ul, .article-body ol { padding-left: 22px; }
.article-meta { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: .92rem;
  font-weight: 800;
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--accent-strong); }
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 800;
}
.external-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  margin: 24px 0;
  border: 1px solid rgba(34,184,207,.32);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(34,184,207,.12), rgba(21,184,122,.08));
}
.external-link-card strong { display: block; color: var(--text); margin-bottom: 4px; }
.external-link-card span { color: var(--text-soft); }
.article-callout {
  padding: 20px;
  margin: 26px 0;
  border-left: 4px solid var(--accent-strong);
  background: var(--surface-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.article-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}
.nav-article {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-soft);
  color: var(--text);
}
.nav-article:hover { border-color: var(--accent-strong); color: var(--text); }
.nav-label { color: var(--accent-strong); font-size: .85rem; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; }
.nav-title { margin-top: 7px; font-weight: 900; line-height: 1.35; }
.nav-article.next { text-align: right; }
.article-sidebar { padding: 22px; position: sticky; top: 96px; }
.article-sidebar h3 { margin-top: 0; }
.article-sidebar a { display: block; padding: 11px 0; border-top: 1px solid var(--line); color: var(--text); font-weight: 800; }
.article-sidebar a:hover { color: var(--accent-strong); }
.news-list-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stats div {
  display: grid;
  place-items: center;
  min-height: 120px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.stats strong { font-size: 2.2rem; color: var(--accent-strong); }
.stats span { color: var(--text-soft); font-weight: 800; }

.cta-banner {
  text-align: center;
  padding: 46px 24px;
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(34,184,207,.18), rgba(21,184,122,.13)),
    var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta-banner p { color: var(--text-soft); max-width: 640px; margin: 12px auto 0; }

.social-dock {
  position: fixed;
  right: 18px;
  top: 45%;
  z-index: 20;
  display: grid;
  gap: 9px;
}
.social-dock a, .social-toggle, .back-to-top {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--accent-strong);
  box-shadow: 0 12px 26px rgba(20,42,73,.12);
  cursor: pointer;
}
.social-toggle { display: none; }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  opacity: 0;
  pointer-events: none;
  transition: .2s ease;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }

.site-footer {
  padding: 58px 0 26px;
  background: #07101d;
  color: #d9e6f5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 28px;
}
.footer-brand { font-size: 1.35rem; font-weight: 900; margin-bottom: 10px; }
.site-footer p, .footer-bottom { color: #91a2b7; }
.site-footer h4 { margin: 0 0 12px; }
.site-footer a { display: block; color: #b9c7d7; margin: 8px 0; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  margin-top: 34px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .88rem;
}
.muted { font-size: .9rem; }

@media (max-width: 900px) {
  .section { padding: 56px 0; }
  .menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border: 0;
    background: rgba(255,255,255,.1);
    color: #fff;
    border-radius: var(--radius);
  }
  .icon-theme { display: none; }
  .mobile-theme { display: block; }
  .nav-links {
    position: fixed;
    top: 82px;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 16px 18px;
    background: #0a0534;
    border-bottom: 1px solid rgba(255,255,255,.12);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .dropdown {
    position: static;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--surface-soft);
    margin: 6px 0 0;
  }
  .hero {
    min-height: 720px;
    background:
      linear-gradient(90deg, rgba(8, 3, 48, .96), rgba(8, 3, 48, .68)),
      url("/assets/sugargoobestlinks/brand/sugargoo-hero.jpg") 68% center/cover;
  }
  .hero-content { padding-right: 0; }
  .category-grid, .product-grid, .agent-strip { grid-template-columns: repeat(2, 1fr); }
  .guide-grid, .news-grid, .footer-grid { grid-template-columns: 1fr; }
  .article-shell, .news-list-grid { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .section-header.split { align-items: start; flex-direction: column; }
  .social-dock { top: auto; bottom: 76px; right: 18px; }
  .social-dock a { display: none; }
  .social-dock.open a { display: grid; }
  .social-toggle { display: grid; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 560px) {
  html, body { overflow-x: hidden; }
  .container { width: min(100% - 24px, var(--container)); }
  .nav-inner { min-height: 74px; }
  .brand { width: 164px; height: 52px; }
  .brand-logo { width: 158px; max-height: 50px; }
  .nav-links { top: 74px; }
  .hero { min-height: 680px; }
  .hero-content { width: calc(100% - 28px); max-width: calc(100vw - 28px); min-width: 0; }
  .hero h1 { max-width: 100%; font-size: clamp(2.05rem, 10.4vw, 2.5rem); overflow-wrap: anywhere; }
  .hero p { max-width: 100%; font-size: 1rem; overflow-wrap: anywhere; }
  .search-bar { width: 100%; max-width: 100%; grid-template-columns: 20px minmax(0, 1fr) 40px; padding: 8px; }
  .category-grid, .product-grid, .agent-strip, .stats { grid-template-columns: 1fr; }
  .product-grid.compact { grid-template-columns: 1fr; }
  .category-item { min-height: 118px; }
  .stats div { min-height: 100px; }
}


/* Compact Outfitreps category showcase */
.category-showcase-section {
  height: 770px;
  min-height: 770px;
  padding: 42px 0;
  display: flex;
  align-items: center;
}
.category-showcase-section .section-header { margin-bottom: 24px; }
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  grid-template-rows: repeat(2, 250px);
  justify-content: center;
  gap: 18px 20px;
}
.category-product-card {
  position: relative;
  display: block;
  width: 260px;
  height: 250px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(20, 42, 73, .10);
  color: #fff;
  text-decoration: none;
  isolation: isolate;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.category-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .28s ease;
}
.category-product-card::after {
  content: "";
  position: absolute;
  inset: 32% 0 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent, rgba(4, 12, 30, .90));
}
.category-card-overlay {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}
.category-card-overlay strong { font-size: 1.22rem; line-height: 1.1; }
.category-card-overlay small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  white-space: nowrap;
}
.category-product-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(20, 42, 73, .18);
}
.category-product-card:hover img { transform: scale(1.045); }
.shop-all-products {
  white-space: nowrap;
}
@media (max-width: 1140px) {
  .category-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .category-product-card { width: 100%; }
}
@media (max-width: 900px) {
  .category-showcase-section { height: auto; min-height: 0; }
  .category-card-grid {
    grid-template-columns: repeat(2, 260px);
    grid-template-rows: none;
  }
  .category-product-card { width: 260px; }
  .shop-all-products { width: fit-content; }
}
@media (max-width: 590px) {
  .category-card-grid { grid-template-columns: minmax(0, 260px); }
  .category-product-card { width: 100%; }
}


/* Fixed Categories nav button */
.nav-fixed-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: #f5822b;
  color: #fff !important;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(69, 188, 211, .20);
}
.nav-fixed-button:hover {
  background: #ff9a4d;
  color: #fff !important;
}


/* Vivid ocean-blue, teal and coral site palette */
:root {
  --bg: #f4fcff;
  --surface: #ffffff;
  --surface-soft: #eafaff;
  --text: #102f43;
  --text-soft: #526d7c;
  --text-muted: #7895a3;
  --line: rgba(0, 135, 179, .18);
  --accent: #ff4f87;
  --accent-strong: #007fa8;
  --accent-soft: rgba(255, 79, 135, .14);
  --success: #ff7a2f;
  --shadow: 0 22px 60px rgba(0, 117, 153, .16);
}
[data-theme="dark"] {
  --bg: #041f2b;
  --surface: #083746;
  --surface-soft: #0b4658;
  --text: #f4fdff;
  --text-soft: #c4e5ec;
  --text-muted: #88b7c2;
  --line: rgba(90, 224, 239, .22);
  --accent: #ff5f9a;
  --accent-strong: #55d8e8;
  --accent-soft: rgba(255, 95, 154, .18);
  --success: #ff9a3d;
  --shadow: 0 24px 70px rgba(0, 12, 19, .44);
}
body {
  background:
    radial-gradient(circle at 6% 8%, rgba(255, 91, 161, .13), transparent 28rem),
    radial-gradient(circle at 94% 18%, rgba(0, 188, 212, .15), transparent 30rem),
    var(--bg);
}
.glass-nav {
  background: linear-gradient(100deg, rgba(0, 91, 167, .98), rgba(0, 158, 177, .98) 52%, rgba(0, 199, 171, .98));
  border-bottom-color: rgba(255,255,255,.24);
  box-shadow: 0 12px 34px rgba(0, 99, 138, .24);
}
.nav-links > li > a:hover,
.nav-links > li > button:hover,
.theme-toggle:hover { background: rgba(255,255,255,.18); }
.nav-fixed-button {
  background: linear-gradient(135deg, #ff8a3d, #ff477e);
  box-shadow: 0 10px 24px rgba(255, 72, 126, .34);
}
.nav-fixed-button:hover { background: linear-gradient(135deg, #ffad4d, #ff5a92); }
.tint {
  background: linear-gradient(135deg, rgba(255, 229, 240, .76), rgba(220, 249, 255, .9) 50%, rgba(215, 255, 244, .78));
}
.section-eyebrow,
.eyebrow,
.page-hero .eyebrow {
  color: #d62b78;
  background: linear-gradient(90deg, #0076c8, #00aab8, #ff6a3d);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.btn.primary,
.search-bar button:last-child {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, #0076d6, #00a9b8 52%, #ff6d3c);
  box-shadow: 0 10px 24px rgba(0, 142, 173, .25);
}
.btn.primary:hover { filter: brightness(1.08); transform: translateY(-2px); }
.btn.ghost {
  border-color: rgba(0, 142, 178, .30);
  background: rgba(255,255,255,.82);
  box-shadow: 0 8px 22px rgba(0, 116, 150, .09);
}
.category-product-card,
.news-card,
.guide-panel,
.product-card,
.guide-product-card,
.stats div,
.article-body,
.article-sidebar {
  border-color: rgba(0, 149, 184, .20);
  box-shadow: 0 18px 42px rgba(0, 113, 151, .12);
}
.news-card { border-top: 4px solid transparent; border-image: linear-gradient(90deg, #008fd5, #00c2b7, #ff8a36) 1; }
.news-card:hover,
.guide-panel:hover,
.stats div:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 132, 160, .20);
}
.category-product-card:hover,
.guide-product-card:hover { border-color: #f04a9a; }
.stats div:nth-child(1) { background: linear-gradient(145deg, #fff, #ffe5f2); }
.stats div:nth-child(2) { background: linear-gradient(145deg, #fff, #ddfbff); }
.stats div:nth-child(3) { background: linear-gradient(145deg, #fff, #dff7ff); }
.stats strong,
.news-read-more,
.guide-product-meta > strong,
.product-body p { color: #007fa8; }
.cta-banner {
  color: #fff;
  border: 0;
  background: linear-gradient(120deg, #006dc6, #00a8b5 48%, #00c7a6 70%, #ff7a3d);
  box-shadow: 0 26px 62px rgba(0, 136, 160, .28);
}
.cta-banner p { color: rgba(255,255,255,.84); }
.cta-banner .btn { color: #006f91; background: #fff; }
.page-hero,
.news-index-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(255, 96, 153, .20), transparent 28rem),
    linear-gradient(135deg, rgba(218, 247, 255, .96), rgba(230, 255, 248, .9) 58%, rgba(255, 235, 241, .84));
}
.external-link-card,
.article-callout { background: linear-gradient(120deg, rgba(220, 248, 255, .92), rgba(228, 255, 245, .84)); }
.social-dock a,
.social-toggle,
.back-to-top {
  color: #fff;
  border: 0;
  background: linear-gradient(145deg, #0079c8, #00b8ae);
}
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 111, 163, .34), transparent 27rem),
    radial-gradient(circle at 92% 100%, rgba(68, 184, 255, .26), transparent 30rem),
    linear-gradient(120deg, #004e89 0%, #007fa8 40%, #00a99d 70%, #ff6f61 100%);
  color: #fff;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.08), transparent 32%, rgba(255,255,255,.06) 68%, transparent);
}
.site-footer .container { position: relative; z-index: 1; }
.site-footer p,
.site-footer .footer-bottom { color: rgba(255,255,255,.76); }
.site-footer a { color: rgba(255,255,255,.84); }
.site-footer a:hover,
.footer-brand span { color: #ffd166; }
.footer-bottom { border-top-color: rgba(255,255,255,.22); }
@media (max-width: 900px) {
  .nav-links { background: linear-gradient(135deg, #005e9d, #009f9a); }
}

/* Replace the former purple hero cast with deep ocean blue */
.hero {
  background:
    linear-gradient(90deg, rgba(2, 28, 54, .96), rgba(0, 75, 91, .66)),
    url("/assets/sugargoobestlinks/brand/sugargoo-hero.jpg") center/cover;
}

