:root[data-site-theme]:not([data-theme="dark"]) {
  --brand: var(--site-brand);
  --brand-hover: color-mix(in srgb, var(--site-brand), black 14%);
  --on-brand: var(--site-on-brand);
  --paper: var(--site-paper);
}
:root[data-site-theme] {
  --sun: var(--site-sun);
  --sun-hover: color-mix(in srgb, var(--site-sun), var(--site-on-sun) 13%);
  --on-sun: var(--site-on-sun);
}
:root[data-site-shape]:not([data-site-shape="Rounded"]) :is(.pet-card, .card-photo, .supply-card, .guide-card, .offer-card) {
  border-radius: var(--site-card-radius);
}
.featured-tile[data-category-style] .featured-art {
  background-color: var(--category-color, var(--cut-paper, var(--soft)));
}
.featured-tile:is([data-category-style="Photo"], [data-category-style="Icon"]) .featured-art {
  clip-path: none;
  border-radius: var(--site-card-radius, 13px);
}
.featured-tile[data-category-style="Photo"] .featured-art img {
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  transform: none;
}
.featured-tile[data-category-style="Icon"] .featured-art,
.featured-art:has(> .icon) {
  color: var(--site-ink, var(--ink));
  display: grid;
  place-items: center;
}
.market-entry[data-hero-variant="Text"] { grid-template-columns: 1fr; }
.market-entry[data-hero-variant="Text"] .market-entry-copy { max-width: 60rem; }
.cms-section-description { max-width: 66ch; margin: 0 0 1.1rem; color: var(--muted); }
.cms-promo {
  margin-block: clamp(1.25rem, 5vw, 4rem);
  border-radius: var(--site-card-radius, 13px);
  padding: clamp(1.25rem, 6vw, 4rem);
  background: var(--soft);
  display: grid;
  gap: 1.35rem;
  align-items: center;
}
.cms-promo[data-promo-style="Accent"] { background: var(--sun); color: var(--on-sun); }
.cms-promo[data-promo-style="Accent"] p { color: inherit; }
.cms-promo h2 { margin-top: 0; }
.cms-promo img { width: 100%; max-height: 240px; object-fit: cover; border-radius: inherit; }
.app-connection { max-width: 40rem; margin: 4rem auto; padding: 1rem; }
#mobile-nav[hidden] { display: none; }
[data-site-layout="List"] :is(.pet-grid, .supply-cards, .guide-grid, .offer-grid, .home-care-links),
.featured-grid[data-site-layout="List"] {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr));
}
[data-site-layout="List"] :is(.pet-card-link, .supply-card-link, .offer-card) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 7rem);
  align-items: center;
}
[data-site-layout="List"] :is(.pet-card, .supply-card, .guide-card) { height: auto; }
[data-site-layout="List"] .card-photo { aspect-ratio: 1; }
[data-site-layout="List"] .guide-card { display: grid; grid-template-columns: 6rem minmax(0, 1fr); align-items: center; }
[data-site-layout="List"] .guide-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
[data-site-layout="List"] .guide-card h3 { font-size: 1rem; }
.featured-grid[data-site-layout="List"] .featured-tile { grid-template-columns: 4rem 1fr; align-items: center; justify-items: start; }
.featured-grid[data-site-layout="List"] .featured-art { width: 4rem; }
@media (min-width: 720px) {
  .cms-promo:has(img) { grid-template-columns: 1fr minmax(0, .65fr); }
}
@media (max-width: 760px) {
  .featured-tile[data-category-style] { order: var(--phone-order); }
  .brand-link > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 42vw; }
}
