:root {
  --page-ink: #101818;
  --page-muted: #5d6662;
  --page-cream: #fbf8f0;
  --page-line: rgba(15, 24, 24, 0.14);
  --page-orange: #f04c2f;
  --page-yellow: #ffc635;
}

body.walk-page {
  background: var(--page-cream);
}

.walk-page .main-nav a:nth-child(3) {
  color: #fff;
  position: relative;
}

.walk-page .main-nav a:nth-child(3)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -20px;
  height: 3px;
  border-radius: 999px;
  background: var(--page-orange);
}

.walk-hero {
  position: relative;
  height: 750px;
  overflow: hidden;
  background: #e9e1d3;
}

.walk-hero__media {
  position: absolute;
  inset: 0;
  background-image: url("../pawtrail-home/assets/images/hero-walk.webp");
  background-size: cover;
  background-position: center 44%;
  transform: scale(1.02);
}

.walk-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(251, 248, 240, 0.96) 0%, rgba(251, 248, 240, 0.84) 26%, rgba(251, 248, 240, 0.22) 54%, rgba(251, 248, 240, 0) 100%);
}

.walk-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  height: 100%;
  margin: 0 auto;
  padding: 0 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.walk-hero h1 {
  margin: 0 0 24px;
  color: var(--page-ink);
  font-size: 88px;
  line-height: 0.95;
  font-weight: 950;
  letter-spacing: -1px;
}

.walk-hero p {
  width: 430px;
  margin: 0;
  color: #202a28;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 560;
}

.shop-shell {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
}

.category-tabs {
  margin-top: -52px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--page-line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 46px rgba(19, 24, 23, 0.08);
}

.category-tab {
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  border-right: 1px solid var(--page-line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--page-ink);
  font-size: 18px;
  font-weight: 780;
}

.category-tab:last-child {
  border-right: 0;
}

.category-tab img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 7px;
  mix-blend-mode: multiply;
}

.drop-icon,
.pet-icon {
  font-size: 46px;
  line-height: 1;
}

.drop-icon {
  color: #66a9d3;
}

.pet-icon {
  color: #8b704e;
  transform: translateY(2px);
}

.toolbar {
  min-height: 86px;
  margin-top: 22px;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--page-line);
  border-radius: 6px;
}

.filter-row,
.sort-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.toolbar button {
  height: 42px;
  padding: 0 16px;
  border: 1px solid var(--page-line);
  border-radius: 5px;
  background: #fff;
  color: var(--page-ink);
  font-weight: 720;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  cursor: pointer;
}

.toolbar .view-button {
  width: 42px;
  padding: 0;
  justify-content: center;
  border-color: transparent;
}

.view-button svg {
  width: 20px;
  height: 20px;
}

.view-button.muted {
  color: #7b837f;
}

.listing-layout {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 252px 1fr;
  gap: 24px;
  align-items: start;
}

.filter-sidebar {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--page-line);
  border-radius: 6px;
  overflow: hidden;
}

.size-finder {
  padding: 24px 20px;
  border-bottom: 1px solid var(--page-line);
}

.size-finder h2 {
  margin: 0 0 12px;
  font-size: 20px;
}

.size-finder p {
  margin: 0 0 18px;
  color: var(--page-muted);
  font-size: 14px;
  line-height: 1.45;
}

.size-finder a,
.guide-intro a {
  min-height: 42px;
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background: var(--page-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 850;
}

.filter-group {
  padding: 19px 20px;
  border-bottom: 1px solid var(--page-line);
  display: grid;
  gap: 12px;
}

.filter-group button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--page-ink);
  display: flex;
  justify-content: space-between;
  font-size: 17px;
  font-weight: 850;
  cursor: pointer;
}

.filter-group label {
  color: #303936;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-group input {
  width: 15px;
  height: 15px;
  accent-color: var(--page-orange);
}

.color-filter {
  display: grid;
  grid-template-columns: repeat(5, 22px);
  gap: 12px;
}

.color-filter span,
.mini-dots span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--dot);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.clear-filters {
  height: 40px;
  margin-top: 5px;
  display: grid;
  place-items: center;
  border: 1px solid var(--page-line);
  border-radius: 5px;
  color: var(--page-ink);
  font-size: 14px;
  font-weight: 760;
}

.result-meta {
  height: 28px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #303936;
  font-size: 14px;
  font-weight: 650;
}

.result-meta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.result-meta svg {
  width: 18px;
  height: 18px;
}

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

.catalog-card {
  position: relative;
  min-height: 468px;
  padding: 0 16px 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(15, 24, 24, 0.1);
  border-radius: 7px;
  overflow: hidden;
}

.catalog-media {
  height: 245px;
  margin: 0 -16px 17px;
  background: #f7f3eb;
}

.catalog-media img {
  height: 100%;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.flag {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 5px;
  background: var(--page-yellow);
  color: #171712;
  font-size: 12px;
  font-weight: 880;
}

.catalog-card h3 {
  margin: 0 0 4px;
  color: var(--page-ink);
  font-size: 16px;
  line-height: 1.2;
  font-weight: 860;
}

.catalog-card p {
  margin: 0 0 8px;
  color: var(--page-muted);
  font-size: 13px;
}

.rating {
  color: var(--page-orange);
  letter-spacing: 1px;
  font-size: 15px;
}

.rating span {
  color: #555f5b;
  letter-spacing: 0;
  margin-left: 6px;
}

.mini-dots {
  margin-top: 10px;
  display: flex;
  gap: 9px;
}

.mini-dots span {
  width: 14px;
  height: 14px;
}

.catalog-card strong {
  display: block;
  margin: 15px 0 12px;
  color: var(--page-ink);
  font-size: 16px;
  font-weight: 900;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 30px;
  gap: 12px;
  align-items: center;
}

.card-actions button {
  height: 39px;
  border: 0;
  border-radius: 5px;
  background: var(--page-ink);
  color: #fff;
  font-weight: 850;
  cursor: pointer;
}

.card-actions button.accent {
  background: var(--page-orange);
}

.card-actions a {
  height: 39px;
  display: grid;
  place-items: center;
  color: var(--page-ink);
  font-size: 24px;
}

.guide-band {
  margin-top: 52px;
  padding: 32px 0;
  border-top: 1px solid var(--page-line);
  border-bottom: 1px solid var(--page-line);
  background: rgba(255, 255, 255, 0.45);
}

.guide-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.guide-intro {
  padding: 8px 0;
}

.guide-intro h2 {
  margin: 0 0 18px;
  font-size: 36px;
  line-height: 1;
  font-weight: 950;
}

.guide-intro p {
  margin: 0 0 28px;
  color: #3e4744;
  line-height: 1.45;
}

.guide-card {
  position: relative;
  min-height: 285px;
  background: #fff;
  border: 1px solid var(--page-line);
  border-radius: 7px;
  overflow: hidden;
}

.guide-card img {
  height: 190px;
  object-fit: cover;
}

.guide-card h3 {
  margin: 17px 44px 22px 16px;
  font-size: 16px;
  line-height: 1.3;
}

.guide-card span {
  position: absolute;
  right: 14px;
  bottom: 12px;
  color: var(--page-ink);
  font-size: 22px;
  font-weight: 900;
}

.walk-page .service-strip {
  margin-top: 0;
}

@media (max-width: 1180px) {
  .shop-shell,
  .guide-inner {
    width: calc(100% - 48px);
  }

  .listing-layout {
    grid-template-columns: 220px 1fr;
  }

  .product-listing {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .walk-page .main-nav a:nth-child(3)::after {
    display: none;
  }

  .walk-hero {
    height: 340px;
  }

  .walk-hero__inner {
    padding: 0 24px;
  }

  .walk-hero h1 {
    font-size: 56px;
  }

  .walk-hero p {
    width: min(360px, 100%);
    font-size: 18px;
  }

  .category-tabs {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-tab {
    height: 98px;
    justify-content: flex-start;
    padding-left: 18px;
  }

  .toolbar,
  .filter-row,
  .sort-row {
    align-items: stretch;
    flex-direction: column;
  }

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

  .filter-sidebar {
    display: none;
  }

  .product-listing {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .shop-shell,
  .guide-inner {
    width: calc(100% - 28px);
  }

  .category-tabs,
  .product-listing,
  .guide-inner {
    grid-template-columns: 1fr;
  }

  .catalog-card {
    min-height: 430px;
  }
}
