.local-landing .local-main {
  max-width: 1160px;
  padding: 12px clamp(16px, 3vw, 34px) clamp(36px, 5vw, 68px);
}

.local-main .breadcrumbs { flex-wrap: wrap; min-height: 42px; }
.local-main :is(h1, h2, h3, p, figure, address) { margin: 0; }
.local-main p, .local-main address { color: var(--text); line-height: 1.6; }
.local-main address { font-style: normal; }
.local-main img { display: block; max-width: 100%; }

.local-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
  align-items: center;
  gap: clamp(20px, 4vw, 52px);
  padding: clamp(20px, 4vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(115deg, var(--blue), var(--cream));
}

.local-hero h1 {
  max-width: 19ch;
  margin-block: 8px 12px;
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.08;
  letter-spacing: -.045em;
}

.local-hero p { max-width: 54ch; font-size: clamp(14px, 1.5vw, 16px); }
.local-main .local-kicker {
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .035em;
}

.local-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.local-actions .btn { min-height: 44px; padding-inline: 18px; font-size: 13px; text-decoration: none; }
.local-actions .btn.light { border-color: var(--line); }
.local-actions .btn.light:hover { border-color: var(--green); color: var(--green-dark); }
.local-actions .btn.primary:hover { background: var(--green-dark); }

.local-card { padding: clamp(16px, 2.4vw, 26px); min-width: 0; }
.local-hero .local-card { background: var(--paper); }
.local-hero .local-card h2 { margin-bottom: 8px; font-size: clamp(19px, 2.2vw, 26px); line-height: 1.2; }
.local-card .text-link { margin-top: 6px; }
.local-main .text-link, .seo-related .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--green-dark);
}

.local-hero-park .local-store-photo { min-width: 0; }
.local-store-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 55%;
  border-radius: calc(var(--radius) - 6px);
}
.local-store-photo figcaption { color: var(--text); font-size: 12px; margin-top: 8px; }

.local-section { margin-top: clamp(26px, 4vw, 48px); }
.local-section h2 { font-size: clamp(22px, 3vw, 32px); line-height: 1.18; letter-spacing: -.035em; }
.local-section-heading { margin-bottom: 14px; }
.local-section-heading p { margin-top: 6px; }
.local-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.local-category {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 2vw, 20px);
  min-height: 84px;
  padding: 12px;
  color: var(--ink);
  text-decoration: none;
}
.local-category img {
  width: clamp(40px, 7vw, 72px);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 12px;
  background: var(--blue);
}
.local-category strong { display: block; font-size: clamp(14px, 2vw, 20px); line-height: 1.25; }
.local-category:hover, .local-category:focus-visible { border-color: var(--green); color: var(--green-dark); }
.local-category-sub { margin-top: 5px; display: flex; flex-wrap: wrap; gap: 0 18px; }

.local-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.local-facts h2, .local-facts h3 { margin-bottom: 7px; font-size: 17px; line-height: 1.3; }
.local-facts p + p { margin-top: 6px; }
.local-catalog-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}
.local-catalog-callout p { margin-top: 6px; }
.local-catalog-callout .local-actions { margin: 0; }

.seo-related, .legal-main > .page-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 20px;
  border-top: 1px solid var(--line);
  margin: clamp(26px, 4vw, 42px) 0 0;
  padding-top: 8px;
}
.seo-related .text-link, .legal-main > .page-related-links .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
}

.catalog-page[data-seo-brand]:not(.catalog-brand-exited) .catalog-hero {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(10px, 2.5vw, 32px);
  padding: clamp(16px, 2.7vw, 34px);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(115deg, var(--blue), var(--paper));
}
.catalog-page[data-seo-brand]:not(.catalog-brand-exited) .catalog-hero > div:first-child {
  font-family: system-ui, sans-serif;
}

.catalog-page[data-seo-brand]:not(.catalog-brand-exited) .catalog-hero h1 {
  font-size: clamp(23px, 3.1vw, 40px);
  line-height: 1.12;
  letter-spacing: -.04em;
  overflow-wrap: anywhere;
}
.catalog-page[data-seo-brand]:not(.catalog-brand-exited) .catalog-hero p { max-width: 65ch; margin-top: 10px; line-height: 1.55; }
.catalog-brand-address { display: inline-block; margin-top: 8px; }
.catalog-hero .catalog-brand-source {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px 12px;
  background: var(--paper);
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  line-height: 1.3;
}
.catalog-hero .catalog-brand-source::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  background: currentColor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 5h6v6m0-6-9 9M19 13v5a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.catalog-hero .catalog-brand-source:hover { border-color: var(--green); text-decoration: underline; }
.catalog-page #catalog-categories[hidden],
.catalog-page .pet-context[hidden],
.catalog-page #catalog-pet-hint[hidden] { display: none; }
.catalog-page[data-seo-brand]:not(.catalog-brand-exited) .pet-context { min-height: 0; }
.catalog-page[data-seo-brand]:not(.catalog-brand-exited) #pet-selector {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}
.catalog-page .catalog-seo-category, .catalog-page .catalog-seo-product {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--green-dark);
  background: var(--paper);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.catalog-page :is(.catalog-seo-category,.catalog-seo-product):hover {
  border-color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.local-main a:focus-visible, .seo-related a:focus-visible, .page-related-links a:focus-visible,
.catalog-page :is(.catalog-seo-category,.catalog-seo-product,.catalog-hero p a):focus-visible {
  outline: 2px solid var(--green-dark);
  outline-offset: -3px;
}

@media (max-width: 760px) {
  .local-hero, .catalog-page[data-seo-brand]:not(.catalog-brand-exited) .catalog-hero { grid-template-columns: minmax(0, 1fr); }
  .local-hero { gap: 16px; }
  .local-facts { grid-template-columns: minmax(0, 1fr); }
  .local-store-photo img { aspect-ratio: 16 / 10; }
  .catalog-page .catalog-seo-category { flex-shrink: 0; max-width: 180px; align-self: stretch; }
  .catalog-page[data-seo-brand]:not(.catalog-brand-exited) .catalog-hero .catalog-search { min-width: 0; }
}

@media (max-width: 450px) {
  .local-catalog-grid { gap: 8px; }
  .local-category { padding: 10px; }
  .local-actions .btn { flex: 1 1 auto; padding-inline: 12px; }
}

.catalog-page #catalog-categories .catalog-category > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.catalog-page #catalog-categories .catalog-category > .catalog-category-label--short {
  display: none;
}

.catalog-page .catalog-brand-navigation:not([hidden]) {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 16px;
}

.catalog-page .catalog-brand-navigation .catalog-seo-category {
  border-radius: 999px;
  align-self: auto;
}

@media (max-width: 850px) {
  .catalog-page #catalog-categories .catalog-category > .catalog-category-label--full {
    display: none;
  }

  .catalog-page #catalog-categories .catalog-category > .catalog-category-label--short {
    display: flex;
  }
}

@media (min-width: 851px) {
  .catalog-page #catalog-categories:not([hidden]) {
    --catalog-category-row-height: 144px;
    box-sizing: border-box;
    block-size: calc(var(--catalog-category-row-height) + 16px);
    grid-template-columns: none;
    grid-template-rows: var(--catalog-category-row-height);
    grid-auto-flow: column;
    grid-auto-columns: 150px;
    align-content: start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
  }

  .catalog-page #catalog-categories .catalog-category:focus-visible {
    outline-offset: -3px;
  }
}
.catalog-page .brand-landing-logo {
  display: block;
  inline-size: 112px;
  block-size: 56px;
  object-fit: contain;
  object-position: left center;
  margin-block-end: 10px;
}

.catalog-page .brand-landing-actions {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-block-start: 14px;
}

.catalog-page .brand-landing-actions nav {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  overflow: auto hidden;
  padding: 2px;
}

.catalog-page .brand-landing-actions nav a {
  flex: 0 0 auto;
  white-space: nowrap;
}

.catalog-page .brand-landing-actions .brand-availability {
  margin: 0;
}

.catalog-page[data-seo-brand] #results-title { scroll-margin-block-start: 90px; }

.brand-landing-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  border-top: 1px solid var(--line, #dce5de);
  margin-block: 24px;
  padding-block-start: 20px;
}

.brand-landing-guide h2 { font-size: 1.125rem; margin: 0 0 8px; }
.brand-landing-guide p { margin: 0 0 8px; line-height: 1.55; }
.brand-landing-guide summary { cursor: pointer; font-weight: 650; }
.brand-landing-guide details p { margin-block-start: 8px; }

.catalog-brand-exited :is(.brand-landing-logo, .brand-landing-actions, .brand-landing-guide) {
  display: none;
}


@media (max-width: 700px) {
  .brand-landing-guide { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}
