.homepage {
  --hm-deepest: #062d38;
  --hm-sand: #f1ede3;
  background: #f7f7f3;
  color: var(--ink);
  overflow-x: hidden;
}

.homepage .homepage-topbar {
  align-items: center;
  background: rgba(255, 255, 255, 0.96);
  gap: clamp(12px, 1.6vw, 20px);
  grid-template-columns: max-content max-content minmax(240px, 1fr) max-content max-content;
  min-height: 72px;
  padding: 12px clamp(16px, 4vw, 56px);
}

.homepage .brand-symbol {
  color: var(--deep);
  display: inline-flex;
  flex: 0 0 auto;
  height: 38px;
  width: 38px;
}

.homepage .brand-symbol svg,
.homepage .hm-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.homepage .brand-symbol svg {
  height: 100%;
  width: 100%;
}

.homepage .hm-icon {
  display: inline-block;
  flex: 0 0 auto;
  height: 1.1em;
  width: 1.1em;
}

.homepage .desktop-primary-nav {
  flex-wrap: nowrap;
  gap: clamp(12px, 1.35vw, 18px);
  min-width: 0;
}

.homepage .desktop-primary-nav a,
.homepage .desktop-primary-nav button,
.homepage .cart-icon-button {
  align-items: center;
  color: #385058;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 750;
  min-height: 42px;
  white-space: nowrap;
}

.homepage .desktop-primary-nav a:hover,
.homepage .desktop-primary-nav button:hover,
.homepage .cart-icon-button:hover {
  color: var(--ocean);
}

.homepage .header-search {
  align-items: center;
  background: #f7f7f3;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  max-width: none;
  min-height: 42px;
  min-width: 220px;
  overflow: hidden;
}

.homepage .header-search svg {
  color: var(--muted);
  margin-left: 13px;
}

.homepage .header-search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  min-width: 0;
  outline: 0;
  padding: 10px;
  width: 100%;
}

.homepage .header-search button {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.homepage .cart-icon-button {
  background: transparent;
  border: 0;
  gap: 5px;
  height: auto;
  padding: 8px 0;
  width: auto;
}

.homepage .cart-icon-button strong {
  background: var(--coral);
  border-radius: 999px;
  color: #fff;
  font-size: 0.67rem;
  line-height: 18px;
  min-width: 18px;
  text-align: center;
}

.homepage .marketplace-account-area .ghost-button,
.homepage .marketplace-account-area .dashboard-nav-button,
.homepage .account-menu-trigger,
.homepage .menu-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 42px;
  white-space: nowrap;
}

.homepage .marketplace-account-area .ghost-button {
  padding: 0 12px;
}

.homepage .marketplace-account-area .dashboard-nav-button {
  justify-content: center;
  padding: 0 12px;
}

.homepage .homepage-guest-actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.homepage .guest-create-button {
  background: var(--coral);
  border: 1px solid var(--coral);
  border-radius: 7px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 800;
  min-height: 42px;
  padding: 0 12px;
  white-space: nowrap;
}

.homepage .guest-create-button:hover {
  background: #c65647;
  border-color: #c65647;
}

.homepage .account-menu-trigger {
  padding: 0 11px;
}

.homepage .account-menu-panel {
  border-radius: 8px;
  right: 0;
}

.homepage .account-menu-panel a,
.homepage .account-menu-panel button {
  font-weight: 700;
}

.homepage .menu-wrap {
  display: none;
}

.homepage .hero {
  align-items: center;
  background: linear-gradient(90deg, rgba(5, 40, 49, 0.92), rgba(5, 58, 72, 0.65) 48%, rgba(5, 58, 72, 0.18)), url("https://images.unsplash.com/photo-1546026423-cc4642628d2b?auto=format&fit=crop&w=1900&q=85") center/cover;
  color: #fff;
  display: grid;
  min-height: clamp(430px, 47vw, 490px);
  padding: 58px clamp(16px, 7vw, 108px);
}

.homepage .hero-copy {
  max-width: 700px;
  transform: translateY(-12px);
}

.homepage .eyebrow {
  color: var(--coral);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.homepage .hero .eyebrow {
  color: #ffc0b4;
}

.homepage .hero h1 {
  font-size: clamp(2.6rem, 4.25vw, 4.2rem);
  letter-spacing: 0;
  line-height: 0.99;
  margin: 0 0 20px;
  max-width: 720px;
}

.homepage .hero-headline-line {
  display: block;
  white-space: nowrap;
}

.homepage .hero-mobile-copy {
  display: none;
}

.homepage .hero-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.03rem;
  line-height: 1.6;
  margin: 0 0 18px;
  max-width: 600px;
}

.homepage .hero-actions {
  gap: 10px;
}

.homepage .hm-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 7px;
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 850;
  justify-content: center;
  min-height: 46px;
  padding: 0 17px;
}

.homepage .hm-button.primary {
  background: var(--coral);
  color: #fff;
}

.homepage .hm-button.primary:hover {
  background: #c65647;
}

.homepage .hm-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.homepage .hm-button.secondary:hover {
  background: rgba(255, 255, 255, 0.19);
}

.homepage .homepage-section {
  padding: clamp(44px, 6vw, 78px) clamp(16px, 5vw, 76px);
}

.homepage .homepage-section-heading {
  align-items: end;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 0 auto 22px;
  max-width: 1320px;
}

.homepage .homepage-section-heading h2,
.homepage .market-heading h2 {
  font-size: clamp(1.9rem, 3.2vw, 3.05rem);
  letter-spacing: 0;
  line-height: 1;
  margin: 0;
}

.homepage .homepage-section-heading p:not(.eyebrow),
.homepage .market-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
  margin: 8px 0 0;
  max-width: 620px;
}

.homepage .homepage-section-link {
  color: var(--ocean);
  font-size: 0.9rem;
  font-weight: 850;
  white-space: nowrap;
}

.homepage .homepage-section-link:hover {
  color: #c65647;
}

.homepage .featured-section {
  background: #fff;
  overflow: hidden;
  padding-bottom: clamp(38px, 5vw, 64px);
  padding-top: clamp(38px, 5vw, 64px);
}

.homepage .featured-tabs {
  display: flex;
  gap: 8px;
  margin: 0 auto 14px;
  max-width: 1320px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: thin;
}

.homepage .featured-tab {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #40575e;
  flex: 0 0 auto;
  font-size: 0.84rem;
  font-weight: 800;
  min-height: 36px;
  padding: 0 13px;
}

.homepage .featured-tab:hover {
  border-color: var(--ocean);
  color: var(--ocean);
}

.homepage .featured-tab.active {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.homepage .featured-listing-shell {
  display: block;
  margin: 0 auto;
  max-width: 1320px;
}

.homepage .featured-carousel-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--deep);
  display: grid;
  height: 42px;
  place-items: center;
  width: 42px;
}

.homepage .featured-carousel-button[hidden] {
  display: none;
}

.homepage .featured-carousel-button:hover:not(:disabled) {
  border-color: var(--ocean);
  color: var(--ocean);
}

.homepage .featured-carousel-button:disabled {
  color: #a8babd;
  cursor: default;
  opacity: 0.55;
}

.homepage .featured-grid-viewport {
  overflow: visible;
}

.homepage .featured-grid-viewport::-webkit-scrollbar {
  display: none;
}

.homepage .featured-listing-grid {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  padding: 2px;
}

.homepage .featured-listing-grid.is-state {
  display: block;
}

.homepage .featured-beta-note {
  align-self: center;
  color: var(--muted);
  font-size: 0.9rem;
  grid-column: 1 / -1;
  margin: -2px 0 0;
}

.homepage .featured-empty,
.homepage .market-empty {
  background: var(--foam);
  border: 1px solid #d4e8e4;
  border-radius: 12px;
  color: var(--deep);
  margin: 0;
  max-width: 1320px;
  padding: clamp(24px, 4vw, 34px);
  text-align: left;
}

.homepage .featured-empty strong,
.homepage .market-empty strong {
  display: block;
  margin-bottom: 8px;
}

.homepage .listing-state-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-start;
  margin-top: 16px;
}

.homepage .listing-state-actions a,
.homepage .listing-state-actions button {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--deep);
  display: inline-flex;
  font-size: 0.85rem;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 0 12px;
}

.homepage .listing-state-actions .hm-button {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.homepage .hm-listing-skeletons {
  display: grid;
  gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.homepage .hm-listing-skeleton {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.homepage .hm-skeleton-block {
  animation: hm-shimmer 1.5s ease-in-out infinite;
  background: linear-gradient(100deg, #eef3f2 25%, #f7faf9 45%, #eef3f2 65%);
  background-size: 200% 100%;
}

.homepage .hm-skeleton-image {
  aspect-ratio: 1.35;
}

.homepage .hm-skeleton-copy {
  padding: 13px;
}

.homepage .hm-skeleton-line {
  border-radius: 5px;
  height: 11px;
  margin-bottom: 10px;
}

.homepage .hm-skeleton-line.short {
  width: 52%;
}

@keyframes hm-shimmer {
  to { background-position: -200% 0; }
}

.homepage .hm-featured-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgba(8, 45, 55, 0.08);
  min-width: 0;
  overflow: hidden;
  position: relative;
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.homepage .hm-featured-card:hover {
  box-shadow: 0 18px 42px rgba(8, 45, 55, 0.14);
  transform: translateY(-2px);
}

.homepage .hm-featured-image {
  aspect-ratio: 4 / 3;
  background: linear-gradient(145deg, #eef4f2, #e1ece9);
  display: block;
  overflow: hidden;
  position: relative;
}

.homepage .hm-featured-image img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 260ms ease;
  width: 100%;
}

.homepage .hm-featured-card:hover .hm-featured-image img {
  transform: scale(1.035);
}

.homepage .hm-listing-fallback {
  align-items: center;
  color: var(--deep);
  display: flex;
  font-size: 0.78rem;
  font-weight: 850;
  height: 100%;
  inset: 0;
  justify-content: center;
  padding: 16px;
  position: absolute;
  text-align: center;
}

.homepage .hm-listing-fallback::before {
  border: 3px solid #4f7378;
  content: "";
  display: block;
  height: 42px;
  margin-right: 10px;
  width: 42px;
}

.homepage .hm-listing-fallback--coral::before {
  border-radius: 50% 45% 50% 40%;
  box-shadow: 20px -12px 0 -9px #4f7378, -15px -11px 0 -9px #4f7378;
}

.homepage .hm-listing-fallback--equipment::before {
  border-radius: 7px;
  box-shadow: 0 16px 0 -10px #4f7378;
  height: 28px;
  width: 62px;
}

.homepage .hm-listing-badge,
.homepage .hm-condition-badge {
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 6px 8px;
  position: absolute;
  text-transform: uppercase;
  top: 12px;
}

.homepage .hm-listing-badge {
  background: rgba(255, 255, 255, 0.92);
  color: var(--deep);
  left: 12px;
}

.homepage .hm-condition-badge {
  background: var(--coral);
  color: #fff;
  right: 12px;
}

.homepage .hm-favorite-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 50%;
  color: var(--deep);
  display: grid;
  height: 34px;
  place-items: center;
  position: absolute;
  right: 12px;
  top: 50px;
  width: 34px;
}

.homepage .hm-favorite-button[aria-pressed="true"] {
  color: var(--coral);
}

.homepage .hm-featured-body {
  padding: 16px;
}

.homepage .hm-featured-title {
  color: var(--ink);
  display: -webkit-box;
  font-size: 1.06rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.homepage .hm-featured-price {
  color: var(--deep);
  display: block;
  font-size: 1.28rem;
  font-weight: 950;
  margin-bottom: 10px;
}

.homepage .hm-featured-meta,
.homepage .hm-featured-seller,
.homepage .hm-shipping-line {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
}

.homepage .hm-featured-meta {
  color: #48626a;
  font-weight: 780;
  margin-bottom: 7px;
}

.homepage .hm-featured-seller {
  margin-bottom: 8px;
}

.homepage .hm-shipping-line {
  align-items: center;
  border-top: 1px solid #edf2f1;
  display: flex;
  gap: 6px;
  padding-top: 10px;
}

.homepage .categories-section {
  background: #f7f7f3;
}

.homepage .homepage-category-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1320px;
}

.homepage .hm-category-card {
  background: linear-gradient(135deg, #0b6f79, #063d4d);
  border-radius: 9px;
  color: #fff;
  min-height: 192px;
  overflow: hidden;
  position: relative;
}

.homepage .hm-category-card::after {
  background: linear-gradient(to top, rgba(3, 45, 54, 0.96) 0%, rgba(3, 45, 54, 0.65) 52%, rgba(3, 45, 54, 0.16) 100%);
  content: "";
  inset: 0;
  position: absolute;
}

.homepage .hm-category-card img {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  transition: transform 260ms ease;
  width: 100%;
}

.homepage .hm-category-card:hover img {
  transform: scale(1.03);
}

.homepage .hm-category-card--coral img { object-position: center 48%; }
.homepage .hm-category-card--lighting img { object-position: center 31%; }
.homepage .hm-category-card--flow img { object-position: center 45%; }
.homepage .hm-category-card--controller img { object-position: center 42%; }
.homepage .hm-category-card--accessories img { object-position: center 47%; }
.homepage .hm-category-card--plumbing img { object-position: center 43%; }

.homepage .hm-category-graphic {
  border: 4px solid rgba(232, 247, 245, 0.85);
  display: block;
  height: 64px;
  opacity: 0.9;
  position: absolute;
  right: 24px;
  top: 24px;
  width: 104px;
}

.homepage .hm-category-card--lighting .hm-category-graphic {
  border-radius: 8px;
  box-shadow: 0 34px 0 -26px rgba(232, 247, 245, 0.85);
  height: 28px;
  width: 116px;
}

.homepage .hm-category-card--flow .hm-category-graphic {
  border-radius: 34px 34px 8px 8px;
  height: 94px;
  width: 50px;
}

.homepage .hm-category-card--controller .hm-category-graphic {
  background: rgba(232, 247, 245, 0.16);
  border-radius: 8px;
  height: 74px;
  width: 96px;
}

.homepage .hm-category-card--accessories .hm-category-graphic {
  border-bottom-width: 5px;
  border-top-width: 5px;
  height: 56px;
  width: 112px;
}

.homepage .hm-category-card--plumbing .hm-category-graphic {
  border: 0;
  border-bottom: 7px solid rgba(232, 247, 245, 0.85);
  border-left: 7px solid rgba(232, 247, 245, 0.85);
  height: 72px;
  transform: rotate(-12deg);
  width: 94px;
}

.homepage .hm-category-content {
  bottom: 0;
  left: 0;
  padding: 20px;
  position: absolute;
  right: 0;
  z-index: 1;
}

.homepage .hm-category-content h3 {
  font-size: 1.18rem;
  margin: 0 0 6px;
}

.homepage .hm-category-content p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.83rem;
  line-height: 1.45;
  margin: 0;
  max-width: 300px;
}

.homepage .homepage-value-note {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex;
  gap: 14px;
  margin: 16px auto 0;
  max-width: 1320px;
  padding: 16px 18px;
}

.homepage .homepage-value-note strong {
  color: var(--deep);
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 900;
}

.homepage .homepage-value-note span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.homepage .market-section {
  background: #fff;
}

.homepage .market-heading,
.homepage .homepage-market-search,
.homepage .homepage-market-layout {
  margin-left: auto;
  margin-right: auto;
  max-width: 1320px;
}

.homepage .market-heading {
  margin-bottom: 22px;
}

.homepage .homepage-market-search {
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(180px, 2fr) minmax(160px, 1fr) minmax(150px, 1fr) auto;
  margin-bottom: 20px;
}

.homepage .homepage-market-search label,
.homepage .homepage-filters label {
  color: #40575e;
  display: grid;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 6px;
}

.homepage .homepage-market-search input,
.homepage .homepage-market-search select,
.homepage .homepage-filters input {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--ink);
  min-height: 42px;
  padding: 9px 10px;
}

.homepage .homepage-market-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 220px minmax(0, 1fr);
}

.homepage .homepage-filters {
  background: #f7f7f3;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: grid;
  gap: 16px;
  height: max-content;
  padding: 17px;
}

.homepage .homepage-filters h3 {
  margin: 0;
}

.homepage .homepage-filters output {
  color: var(--ocean);
  font-size: 0.9rem;
}

.homepage .homepage-filters .check-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.homepage .homepage-filters .check-row input {
  min-height: auto;
  padding: 0;
}

.homepage .hm-reset-button {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--deep);
  font-size: 0.85rem;
  font-weight: 850;
  min-height: 39px;
}

.homepage .hm-result-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  margin: 0 0 14px;
}

.homepage .hm-result-bar strong {
  color: var(--deep);
}

.homepage .hm-result-bar span {
  color: var(--muted);
  font-size: 0.84rem;
}

.homepage .hm-market-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.homepage .hm-market-grid > .hm-listing-skeletons,
.homepage .hm-market-grid > .featured-empty {
  grid-column: 1 / -1;
}

.homepage .hm-market-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 9px;
  overflow: hidden;
}

.homepage .hm-market-card .hm-featured-image {
  aspect-ratio: 1.45;
}

.homepage .hm-market-card .hm-featured-body {
  padding: 14px;
}

.homepage .hm-market-card .hm-description {
  color: var(--muted);
  display: -webkit-box;
  font-size: 0.82rem;
  line-height: 1.45;
  margin: 0 0 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.homepage .hm-market-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.homepage .hm-market-actions .hm-button {
  min-height: 38px;
  padding: 0 12px;
}

.homepage .hm-market-actions .hm-button.secondary-light {
  background: #fff;
  border-color: var(--line);
  color: var(--deep);
}

.homepage .selling-section {
  background: #f4e4dd;
}

.homepage .selling-layout {
  align-items: stretch;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.88fr);
  margin: 0 auto;
  max-width: 1220px;
}

.homepage .selling-image {
  border-radius: 9px;
  min-height: 410px;
  overflow: hidden;
  position: relative;
}

.homepage .selling-image img {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}

.homepage .selling-image::after {
  background: linear-gradient(0deg, rgba(3, 38, 47, 0.72), rgba(3, 38, 47, 0.02) 62%);
  content: "";
  inset: 0;
  position: absolute;
}

.homepage .selling-image span {
  bottom: 18px;
  color: #fff;
  font-size: 0.83rem;
  font-weight: 800;
  left: 18px;
  position: absolute;
  z-index: 1;
}

.homepage .selling-copy {
  align-self: center;
}

.homepage .selling-copy h2 {
  font-size: clamp(2.25rem, 4vw, 4.05rem);
  line-height: 0.94;
  margin: 0 0 18px;
  max-width: 520px;
}

.homepage .selling-copy > p:not(.eyebrow) {
  color: #41575d;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 510px;
}

.homepage .selling-points {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.homepage .selling-points li {
  color: #263e44;
  font-size: 0.9rem;
  font-weight: 760;
}

.homepage .selling-points li::before {
  color: var(--ocean);
  content: "\2713";
  font-weight: 950;
  margin-right: 9px;
}

.homepage .selling-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.homepage .hm-inline-link {
  color: var(--deep);
  font-size: 0.88rem;
  font-weight: 850;
}

.homepage .hm-inline-link:hover {
  color: #c65647;
}

.homepage .site-footer {
  background: var(--hm-deepest);
  color: rgba(255, 255, 255, 0.76);
  padding: 42px clamp(16px, 5vw, 76px) 22px;
}

.homepage .homepage-footer-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  margin: 0 auto 30px;
  max-width: 1320px;
}

.homepage .homepage-footer-grid .brand {
  color: #fff;
  margin-bottom: 10px;
}

.homepage .homepage-footer-grid .brand-symbol {
  color: var(--coral);
  height: 34px;
  width: 34px;
}

.homepage .homepage-footer-grid p {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.88rem;
  line-height: 1.55;
  margin: 0;
  max-width: 260px;
}

.homepage .homepage-footer-grid h2 {
  color: #fff;
  font-size: 0.8rem;
  margin: 0 0 11px;
  text-transform: uppercase;
}

.homepage .homepage-footer-grid a,
.homepage .homepage-footer-grid button {
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, 0.76);
  display: block;
  font-size: 0.85rem;
  margin: 8px 0;
  padding: 0;
  text-align: left;
}

.homepage .homepage-footer-grid a:hover,
.homepage .homepage-footer-grid button:hover {
  color: #fff;
}

.homepage .homepage-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.76rem;
  margin: 0 auto;
  max-width: 1320px;
  padding-top: 17px;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .homepage .homepage-footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .homepage .homepage-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 1120px) {
  .homepage .homepage-topbar {
    gap: 12px;
    grid-template-columns: max-content max-content minmax(220px, 1fr) max-content max-content;
  }

  .homepage .featured-listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage .hm-listing-skeletons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage .hm-market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .homepage .homepage-topbar {
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 10px 14px;
  }

  .homepage .desktop-primary-nav,
  .homepage .marketplace-account-area,
  .homepage .cart-icon-button {
    display: none;
  }

  .homepage .menu-wrap {
    display: block;
  }

  .homepage .header-search {
    grid-column: 1 / -1;
    grid-row: 2;
    min-height: 39px;
  }

  .homepage .dropdown-menu {
    left: auto;
    right: 0;
  }

  .homepage .hero-copy {
    transform: none;
  }

  .homepage .hero-headline-line {
    display: block;
    white-space: nowrap;
  }

  .homepage .hero-desktop-copy {
    display: none;
  }

  .homepage .hero-mobile-copy {
    display: block;
  }

  .homepage .hero-mobile-copy span {
    display: block;
  }

  .homepage .homepage-market-layout,
  .homepage .selling-layout {
    grid-template-columns: 1fr;
  }

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

  .homepage .homepage-filters h3,
  .homepage .homepage-filters .hm-reset-button {
    align-self: end;
  }
}

@media (max-width: 760px) {
  .homepage .hero {
    background-position: 63% center;
    min-height: 452px;
    padding: 45px 18px;
  }

  .homepage .hero h1 {
    font-size: clamp(2.45rem, 10.8vw, 3.3rem);
  }

  .homepage .homepage-section {
    padding: 42px 14px;
  }

  .homepage .homepage-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    margin-bottom: 19px;
  }

  .homepage .featured-carousel-button {
    display: none;
  }

  .homepage .featured-listing-grid {
    grid-template-columns: 1fr;
  }

  .homepage .hm-listing-skeletons {
    grid-template-columns: 1fr;
  }

  .homepage .homepage-category-grid {
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage .homepage-value-note {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
  }

  .homepage .hm-category-card {
    min-height: 165px;
  }

  .homepage .hm-category-content {
    padding: 14px;
  }

  .homepage .hm-category-content h3 {
    font-size: 1rem;
  }

  .homepage .hm-category-content p {
    font-size: 0.76rem;
  }

  .homepage .homepage-market-search,
  .homepage .homepage-filters,
  .homepage .hm-market-grid {
    grid-template-columns: 1fr;
  }

  .homepage .selling-image {
    min-height: 290px;
  }

  .homepage .selling-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .homepage .homepage-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage .homepage-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 420px) {
  .homepage .brand {
    font-size: 0.96rem;
  }

  .homepage .brand-symbol {
    height: 32px;
    width: 32px;
  }

  .homepage .hero-actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .homepage .hm-category-content p {
    display: none;
  }

  .homepage .hm-category-content h3 {
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .homepage *,
  .homepage *::before,
  .homepage *::after {
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Homepage account navigation */
.homepage .dashboard-nav-button {
  min-height: 40px;
}

.homepage .account-menu-trigger {
  align-items: center;
  border-radius: 50%;
  justify-content: center;
  min-height: 40px;
  padding: 0;
  width: 40px;
}

.homepage .account-menu-trigger .nav-avatar {
  border: 0;
  height: 38px;
  width: 38px;
}

.homepage .account-menu-panel {
  box-shadow: 0 16px 36px rgba(8, 45, 55, 0.16);
  min-width: 290px;
  padding: 10px;
}

.homepage .account-menu-panel > a,
.homepage .account-menu-panel > button {
  padding: 9px 8px;
}

@media (max-width: 900px) {
  .homepage .marketplace-account-area {
    display: flex;
    justify-self: end;
  }

  .homepage .marketplace-account-area .homepage-guest-actions,
  .homepage .marketplace-account-area .dashboard-nav-button {
    display: none;
  }

  .homepage .marketplace-account-area .account-menu {
    display: block;
  }

  .homepage .homepage-topbar {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .homepage .menu-wrap {
    grid-column: 4;
  }

  .homepage .marketplace-account-area {
    grid-column: 3;
  }

  .homepage .account-menu-panel {
    max-width: calc(100vw - 28px);
    right: -50px;
  }
}

/* The homepage previews active listings; full filters live on Browse. */
.homepage .market-section .homepage-market-search,
.homepage .market-section .homepage-filters {
  display: none;
}

.homepage .market-section .homepage-market-layout {
  display: block;
}

.homepage .market-section .hm-result-bar {
  margin: 0 0 18px;
}
