:root {
  --zoofix-action: #63d543;
  --zoofix-action-dark: #2f7d1d;
  --zoofix-surface-muted: #f4f5f2;
  --zoofix-text-muted: #5d625a;
}

main.site-main {
  padding: 0 var(--page-gutter);
}

.section-index {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
  color: var(--zoofix-text-muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.section-index > span {
  color: var(--zoofix-action-dark);
  font-variant-numeric: tabular-nums;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(140px, 0.26fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
  padding-bottom: clamp(28px, 4vw, 52px);
}

.section-heading > div {
  display: flex;
  gap: 28px;
  align-items: flex-end;
  justify-content: space-between;
}

.section-heading h2 {
  max-width: 13ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 0.98;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  min-height: 48px;
  flex: 0 0 auto;
  align-items: center;
  gap: 18px;
  padding: 0 18px;
  color: var(--zoofix-black);
  border: 1px solid var(--zoofix-black);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.text-link:hover,
.text-link:focus-visible {
  background: var(--zoofix-action);
}

.text-link svg,
.category-tile svg,
.product-card__body > div a svg,
.button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 180ms ease;
}

.text-link:hover svg,
.category-tile:hover svg,
.product-card__body > div a:hover svg,
.button:hover svg {
  transform: translateX(3px);
}

.hero__actions .hero__animal-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
}

/* Hero */
.hero {
  position: relative;
  display: grid;
  min-height: min(520px, calc(100svh - 80px));
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  overflow: hidden;
  margin: 0 calc(var(--page-gutter) * -1);
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border-bottom: 1px solid var(--zoofix-black);
}

.hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(42px, 5vw, 76px) var(--page-gutter);
}

.hero__eyebrow {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 clamp(26px, 4vw, 48px);
  color: var(--zoofix-text-muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.hero__eyebrow span {
  color: var(--zoofix-action-dark);
}

.hero h1 {
  max-width: 10.5ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(46px, 5.5vw, 78px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 0.94;
  text-transform: uppercase;
}

.hero__title-line {
  display: inline;
}

.hero__description {
  max-width: 47ch;
  margin: clamp(20px, 2vw, 28px) 0 0;
  color: var(--zoofix-text-muted);
  font-size: clamp(16px, 1.3vw, 19px);
  font-weight: 600;
  line-height: 1.55;
}

.hero__actions {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  gap: 10px;
  margin-top: clamp(20px, 2vw, 28px);
}

.hero__actions .button {
  gap: 12px;
  padding-inline: 15px;
}

.hero__actions [data-hero-animal] {
  justify-content: center;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 18px 0 22px;
  border: 2px solid var(--zoofix-black);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--zoofix-black);
  background: var(--zoofix-action);
}

.button--primary:hover,
.button--primary:focus-visible {
  color: var(--zoofix-white);
  background: var(--zoofix-black);
}

.button--secondary {
  color: var(--zoofix-black);
  background: var(--zoofix-white);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: var(--zoofix-surface-muted);
}

.hero__visual {
  position: relative;
  display: grid;
  overflow: hidden;
  background: var(--zoofix-action);
  border-left: 1px solid var(--zoofix-black);
  place-items: end center;
}

.hero__visual::before {
  position: absolute;
  inset: 9% 8%;
  border: 1px solid rgb(17 18 16 / 26%);
  content: "";
}

.hero__visual > p {
  position: absolute;
  z-index: 2;
  top: clamp(24px, 3vw, 46px);
  right: clamp(22px, 3vw, 44px);
  left: clamp(22px, 3vw, 44px);
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero__pets {
  position: relative;
  z-index: 1;
  display: block;
  width: min(115%, 820px);
  max-width: none;
  height: auto;
  margin-right: -8%;
  filter: drop-shadow(0 16px 0 rgb(17 18 16 / 10%));
}

/* Categories */
.home-categories {
  padding: clamp(44px, 5vw, 72px) 0;
  border-bottom: 1px solid var(--zoofix-black);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--zoofix-black);
  border-left: 1px solid var(--zoofix-black);
}

.category-tile {
  position: relative;
  display: grid;
  min-height: clamp(132px, 12vw, 190px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-content: space-between;
  gap: 26px;
  padding: clamp(18px, 2.2vw, 30px);
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border-right: 1px solid var(--zoofix-black);
  border-bottom: 1px solid var(--zoofix-black);
  text-decoration: none;
  transition:
    color 200ms ease,
    background-color 200ms ease;
}

.category-tile--cat {
  background: var(--zoofix-surface-muted);
}

.category-tile:hover,
.category-tile:focus-visible {
  background: var(--zoofix-action);
}

.category-tile > span {
  grid-column: 1 / -1;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.category-tile strong {
  align-self: end;
  font-family: var(--display-font);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
}

.category-tile svg {
  align-self: end;
}

/* Compact proof */
.home-proof {
  padding: clamp(36px, 4vw, 58px) 0;
  border-bottom: 1px solid var(--zoofix-black);
}

.home-proof > .section-index {
  margin-bottom: 28px;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--zoofix-black);
  border-left: 1px solid var(--zoofix-black);
}

.proof-grid article {
  min-height: 150px;
  padding: clamp(18px, 2.2vw, 28px);
  border-right: 1px solid var(--zoofix-black);
  border-bottom: 1px solid var(--zoofix-black);
}

.proof-grid article > span {
  color: var(--zoofix-action-dark);
  font-size: 14px;
  font-weight: 800;
}

.proof-grid h3 {
  margin: 26px 0 8px;
  font-family: var(--display-font);
  font-size: clamp(19px, 1.7vw, 25px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
}

.proof-grid p {
  max-width: 38ch;
  margin: 0;
  color: var(--zoofix-text-muted);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
}

/* Featured products */
.featured-products {
  padding: clamp(16px, 2vw, 24px) 0 clamp(36px, 5vw, 64px);
}

.featured-products__heading {
  display: block;
  margin-inline: calc(var(--page-gutter) * -1);
  padding: clamp(9px, 1vw, 13px) var(--page-gutter);
  color: var(--zoofix-white);
  background: var(--zoofix-black);
}

.featured-products__heading h2 {
  max-width: none;
  margin: 0;
  color: var(--zoofix-white);
  font-size: clamp(32px, 3vw, 44px);
  text-align: center;
  white-space: nowrap;
}

.featured-products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.6vw, 24px);
  margin-top: clamp(16px, 2vw, 28px);
}

.product-card__media--placeholder img {
  object-fit: contain;
}

.featured-products__all {
  display: inline-flex;
  width: auto;
  min-width: 280px;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 clamp(18px, 2vw, 30px);
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 1px solid var(--zoofix-black);
  border-radius: 999px;
  margin-top: 16px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, background-color 180ms ease;
}

.featured-products__all:hover,
.featured-products__all:focus-visible {
  color: var(--zoofix-white);
  background: var(--zoofix-black);
}

.featured-products__all svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.product-card {
  display: grid;
  min-width: 0;
  grid-template-rows: auto 1fr;
  background: var(--zoofix-white);
  border: 1px solid var(--zoofix-black);
}

.product-card__media {
  position: relative;
  display: grid;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  place-items: center;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: clamp(14px, 2vw, 24px);
  background: #f7f8f5;
  border-bottom: 1px solid var(--zoofix-black);
}

.product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transition: transform 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card__media--portrait {
  padding: 0;
}

.product-card__media--portrait img {
  object-fit: contain;
}

.product-card:hover .product-card__media img {
  transform: none;
}

.product-card__media > span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 10px;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card__body {
  display: flex;
  min-height: 188px;
  flex-direction: column;
  padding: clamp(16px, 1.7vw, 24px);
}

.product-card__body > p {
  margin: 0 0 15px;
  color: var(--zoofix-text-muted);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(20px, 1.8vw, 28px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 1;
  text-transform: uppercase;
}

.product-card h3 a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.product-card__body > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--zoofix-line);
}

.product-card__body > div strong {
  font-family: var(--display-font);
  font-size: 19px;
  letter-spacing: normal;
}

.product-card__body > div a {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 1px solid var(--zoofix-black);
  place-items: center;
}

.product-card__body > div a:hover,
.product-card__body > div a:focus-visible {
  color: var(--zoofix-white);
  background: var(--zoofix-black);
}

/* Help */
.home-help {
  display: grid;
  grid-template-columns: minmax(140px, 0.26fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 80px);
  padding: clamp(44px, 5vw, 72px) 0;
}

.home-help__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
  gap: 24px clamp(40px, 8vw, 130px);
  align-items: end;
}

.home-help h2 {
  max-width: 11ch;
  margin: 0;
  font-family: var(--display-font);
  font-size: clamp(34px, 4.2vw, 60px);
  font-weight: 800;
  letter-spacing: normal;
  line-height: 0.96;
  text-transform: uppercase;
}

.home-help__content > p {
  max-width: 44ch;
  margin: 0;
  color: var(--zoofix-text-muted);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.55;
}

.home-help__content > div {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

/* Footer */
.site-footer {
  color: var(--zoofix-white);
  background: #000;
}

.footer-newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(30px, 7vw, 110px);
	align-items: start;
  padding: clamp(38px, 6vw, 80px) var(--page-gutter);
  color: var(--zoofix-white);
  background: #000;
  border-top: 1px solid #454942;
  border-bottom: 1px solid #454942;
}

.footer-newsletter__copy p,
.footer-newsletter__copy h2,
.footer-newsletter__copy span {
  margin: 0;
}

.footer-newsletter__copy p {
  margin-bottom: 14px;
  color: var(--zoofix-action);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-newsletter__copy h2 {
  max-width: none;
  color: var(--zoofix-white);
  font: 900 clamp(28px, 3.2vw, 48px) / 0.95 var(--display-font);
  letter-spacing: normal;
  white-space: nowrap;
}

.footer-newsletter__copy span {
  display: block;
  max-width: 48ch;
  margin-top: 18px;
  color: #c8ccc4;
  line-height: 1.5;
}

.footer-newsletter__form,
.footer-newsletter__form > label:first-child {
  display: grid;
  gap: 9px;
}

.footer-newsletter__form > label:first-child {
  color: var(--zoofix-white);
  font-size: 14px;
  font-weight: 800;
}

.footer-newsletter__field {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
}

.footer-newsletter__field input,
.footer-newsletter__field button {
  min-height: 56px;
  border: 2px solid var(--zoofix-white);
  border-radius: 0;
  font: 800 15px/1 var(--body-font);
}

.footer-newsletter__field input {
  min-width: 0;
  padding: 0 16px;
  color: var(--zoofix-black);
  background: var(--zoofix-white);
}

.footer-newsletter__field button {
  padding: 0 22px;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border-color: var(--zoofix-action);
  cursor: pointer;
}

.footer-newsletter__consent {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  margin-top: 12px;
  color: #c8ccc4;
  font-size: 12px;
  line-height: 1.45;
}

.footer-newsletter__consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--zoofix-action);
}

.footer-newsletter__consent a,
.footer-newsletter__status {
  color: var(--zoofix-white);
}

.footer-newsletter__status {
  margin: 12px 0 0;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 760px) {
  .footer-newsletter {
    grid-template-columns: 1fr;
    padding: 34px 16px;
  }

  .footer-newsletter__field {
    grid-template-columns: 1fr;
  }

  .footer-newsletter__field button {
    border-top: 0;
  }

  .footer-newsletter__copy h2 {
    white-space: normal;
  }
}

.site-footer a:focus-visible,
.site-footer button:focus-visible {
  outline-color: var(--zoofix-action);
}

.footer-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(42px, 5vw, 72px) var(--page-gutter);
  border-bottom: 1px solid #3a3d37;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--zoofix-white);
  text-decoration: none;
}

.footer-brand img {
  width: 64px;
  height: 64px;
}

.footer-brand .footer-brand__lockup {
  width: clamp(168px, 17vw, 224px);
  height: auto;
  aspect-ratio: 1110 / 330;
  object-fit: contain;
  clip-path: inset(0 3px 0 0);
}

.footer-brand__tagline {
	margin: 0 0 0 auto;
	color: #aeb3aa;
	font-size: clamp(22px, 2vw, 30px);
  font-weight: 750;
  letter-spacing: 0.02em;
  text-align: right;
}

.footer-brand > span {
  font-family: var(--display-font);
  font-size: clamp(42px, 5vw, 72px);
  letter-spacing: normal;
  line-height: 0.8;
}

.footer-brand > span span {
  color: var(--zoofix-action);
}

.site-footer .section-index {
  color: #b9bdb5;
}

.site-footer .section-index > span {
  color: var(--zoofix-action);
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid #3a3d37;
}

.footer-nav__column {
  min-width: 0;
  padding: clamp(28px, 3.5vw, 52px) var(--page-gutter);
  border-right: 1px solid #3a3d37;
}

.footer-nav__column:last-child {
  border-right: 0;
}

.footer-nav__column h2 {
  margin: 0 0 20px;
  color: var(--zoofix-action);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-nav__column > .wp-block-navigation,
.footer-nav__column > .wp-block-navigation .wp-block-navigation__container {
  width: 100%;
  align-items: flex-start;
  gap: 0;
}

.footer-nav__column > .wp-block-navigation .wp-block-navigation__container {
  flex-direction: column;
}

.footer-nav__column a,
.footer-nav__column .wp-block-navigation-item__content,
.footer-cookie-settings {
  display: inline-flex;
  width: fit-content;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  padding: 0;
  color: #d8dcd4;
  background: transparent;
  border: 0;
  cursor: pointer;
  font: 700 16px/1.35 var(--body-font);
  text-decoration-color: transparent;
  text-underline-offset: 5px;
}

.footer-nav__column a:hover,
.footer-nav__column .wp-block-navigation-item__content:hover,
.footer-cookie-settings:hover {
  color: var(--zoofix-white);
  text-decoration-color: var(--zoofix-action);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 28px var(--page-gutter);
}

.footer-bottom address {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: #aeb3aa;
  font-size: 14px;
  font-style: normal;
  font-weight: 650;
  line-height: 1.45;
}

.footer-bottom address strong {
  color: var(--zoofix-white);
}

.footer-bottom__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.footer-bottom__meta > p {
  margin: 0;
  color: #aeb3aa;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}

.footer-social-links {
	display: flex;
	flex-wrap: nowrap;
  gap: 8px;
  margin: 0;
	padding: 0;
}

.footer-nav__column .footer-social-links {
	flex-wrap: wrap;
	margin-top: -8px;
}

.footer-nav__column .footer-nav__social-heading {
	margin-top: 24px;
}

.footer-social-links .wp-social-link {
  width: 44px;
  height: 44px;
  margin: 0;
  color: var(--zoofix-white);
  background: #111 !important;
  border: 0;
  border-radius: 999px;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.footer-social-links .wp-social-link a {
  display: grid;
  box-sizing: border-box;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  color: inherit;
  border: 1px solid #454942;
  border-radius: 999px;
}

.footer-social-links .wp-social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-social-links .wp-social-link:hover {
  color: var(--zoofix-black);
  background: var(--zoofix-action) !important;
  transform: none;
}

.footer-social-links .wp-social-link:hover a {
  border-color: var(--zoofix-action);
}

.footer-social-links .wp-social-link a:focus-visible {
  outline: 3px solid var(--zoofix-action);
  outline-offset: 3px;
}

@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  }

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

  .hero__actions {
    grid-template-columns: repeat(2, max-content);
  }

  .product-card {
    grid-template-rows: auto 1fr;
  }

}

@media (max-width: 760px) {
  main.site-main {
    padding: 0 16px;
  }

  .section-heading,
  .home-help {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-heading > div {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-products__heading h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .featured-products__all {
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    margin-inline: -16px;
  }

  .hero__copy {
    min-height: 0;
    justify-content: flex-start;
    padding: 30px 16px 26px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(34px, 10.5vw, 44px);
  }

  .hero__title-line {
    display: block;
  }

  .hero__description {
    max-width: 35ch;
    margin-top: 16px;
    font-size: 15px;
  }

  .hero__actions {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 20px;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__visual {
    display: none;
  }

  .hero__visual > p {
    top: 20px;
    right: 16px;
    left: 16px;
  }

  .hero__pets {
    width: min(118%, 590px);
    margin-right: -12%;
  }

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

  .category-tile {
    min-height: 108px;
    gap: 12px;
    padding: 14px;
  }

  .proof-grid {
    grid-template-columns: 1fr;
  }

  .proof-grid article {
    min-height: 0;
    padding: 16px;
  }

  .proof-grid h3 {
    margin-top: 12px;
  }

  .product-card {
    grid-template-rows: auto auto;
  }

  .product-card__media {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .product-card__media--artwork {
    padding: 0;
  }

  .product-card__media--artwork img {
    padding: 0;
    object-fit: contain;
    object-position: center;
  }

  .product-card__media--packshot {
    padding: 8px;
    background: #f7f8f5;
  }

  .product-card__media--packshot img {
    object-fit: contain;
  }

  .product-card__media--placeholder {
    padding: 12px;
  }

  .product-card__media--placeholder img {
    object-fit: contain;
  }

  .home-help__content {
    grid-template-columns: 1fr;
  }

  .home-help__content > div {
    grid-column: auto;
  }

  .footer-intro {
	align-items: center;
	flex-direction: row;
	gap: 14px;
  }

  .footer-brand__tagline {
	min-width: 0;
	margin-left: auto;
	font-size: 16px;
	line-height: 1.25;
	text-align: right;
  }
}

@media (max-width: 560px) {
	.footer-intro {
		align-items: center;
		flex-direction: row;
		gap: 14px;
		padding-block: 32px;
	}

	.footer-brand {
		flex: 0 0 auto;
	}

	.footer-brand .footer-brand__lockup {
		width: clamp(132px, 39vw, 154px);
	}

	.footer-brand__tagline {
		min-width: 0;
		margin-left: auto;
		font-size: clamp(13px, 3.8vw, 16px);
		line-height: 1.25;
		text-align: right;
	}

	.footer-brand__suffix {
		display: none;
	}

  .section-heading h2 {
    font-size: clamp(28px, 8vw, 34px);
  }

  .featured-products__heading h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .text-link {
    width: fit-content;
    min-height: 44px;
    justify-content: flex-start;
    gap: 12px;
    padding-inline: 14px;
  }

  .button {
    gap: 14px;
    padding-inline: 14px;
  }

  .hero__copy {
    min-height: 0;
  }

  .hero__eyebrow {
    max-width: 28ch;
    margin-bottom: 22px;
    line-height: 1.35;
  }

  .hero__actions {
    gap: 7px;
  }

  .hero__actions .button {
    min-width: 0;
    justify-content: center;
    padding-inline: 9px;
    font-size: 13px;
    text-align: center;
  }

  .hero__actions .button__arrow {
    display: none;
  }

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

  .category-tile {
    min-height: 102px;
    padding: 13px;
  }

  .category-tile strong {
    font-size: clamp(17px, 4.7vw, 20px);
  }

  .category-tile > span {
    font-size: 11px;
  }

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

  .product-card__body {
    min-height: 150px;
    padding: 12px;
  }

  .product-card__body > p {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.03em;
  }

  .product-card h3 {
    font-size: clamp(16px, 4.2vw, 18px);
  }

  .product-card__body > div {
    gap: 8px;
    padding-top: 10px;
  }

  .product-card__body > div strong {
    font-size: 16px;
  }

  .home-help__content > div {
    align-items: stretch;
    flex-direction: column;
  }

  .home-help__content .button {
    width: 100%;
  }

  .footer-brand img {
    width: 54px;
    height: 54px;
  }

  .footer-brand .footer-brand__lockup {
    width: 178px;
    height: auto;
  }

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

  .footer-nav__column {
    padding: 22px 16px;
    border-bottom: 1px solid #3a3d37;
  }

  .footer-nav__column:nth-child(2n) {
    border-right: 0;
  }

  .footer-nav__column:last-child {
    grid-column: auto;
    border-right: 0;
    border-bottom: 0;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom address {
    flex-direction: column;
    gap: 5px;
  }

  .footer-bottom__meta {
    width: 100%;
    justify-content: space-between;
    margin-left: 0;
  }
}

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

/* Shared quick actions for the homepage product grid. */
.product-card__footer {
  display: grid !important;
  gap: 10px;
  align-items: stretch !important;
  justify-content: stretch !important;
  margin-top: auto !important;
  padding-top: 12px !important;
  border-top: 1px solid var(--zoofix-line);
}

.product-card__footer > strong {
  font-family: var(--display-font);
  font-size: 18px;
  letter-spacing: normal;
}

.product-card__actions {
  display: grid;
  grid-template-columns: 44px 44px minmax(0, 1fr);
  gap: 10px;
}

.product-card__actions button {
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 8px;
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border: 1px solid var(--zoofix-black);
  border-radius: 12px;
  cursor: pointer;
  font: 800 12px/1 var(--body-font);
  transition: color 160ms ease, background-color 160ms ease;
}

.product-card__actions button:hover,
.product-card__actions button:focus-visible,
.product-card__actions button.is-selected {
  color: var(--zoofix-white);
  background: var(--zoofix-black);
}

.product-card__actions [data-quick-action="favorite"],
.product-card__actions [data-quick-action="compare"] {
  border-radius: 50%;
}

.product-card__actions svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-card__actions [data-quick-action="favorite"].is-selected svg {
  fill: currentColor;
}

@keyframes zoofix-compare-limit-pulse {
  0%, 38%, 62%, 100% {
    color: var(--zoofix-black);
    background: var(--zoofix-white);
  }

  12%, 28%, 72%, 88% {
    color: var(--zoofix-white);
    background: var(--zoofix-black);
  }
}

.product-card__actions button.is-compare-limit {
  animation: zoofix-compare-limit-pulse 720ms ease-in-out 1 both;
}

.product-card__actions button.is-compare-limit-settled {
  color: var(--zoofix-black) !important;
  background: var(--zoofix-white) !important;
}

.product-compare-limit-status {
  position: fixed;
  z-index: 46;
  right: 50%;
  bottom: max(92px, calc(env(safe-area-inset-bottom) + 88px));
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px 16px;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  border: 2px solid var(--zoofix-action);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--zoofix-action);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  pointer-events: none;
  transform: translateX(50%);
}

@media (prefers-reduced-motion: reduce) {
  .product-card__actions button.is-compare-limit {
    color: var(--zoofix-white);
    background: var(--zoofix-black);
    animation: none;
  }
}

.product-card__cart {
  justify-content: space-between !important;
  background: var(--zoofix-action) !important;
  border-radius: var(--radius-small);
}

.product-card__cart:hover,
.product-card__cart:focus-visible {
  color: var(--zoofix-white) !important;
  background: var(--zoofix-black) !important;
}

.product-card__actions [data-quick-action="cart"][data-cart-added="true"] {
	color: var(--zoofix-white) !important;
	background: var(--zoofix-black) !important;
}

@media (min-width: 761px) {
	.product-card__actions {
		width: 100%;
		grid-template-columns: 44px 44px minmax(0, 1fr);
	}

	.product-card__actions .product-card__cart {
		width: 100%;
		height: auto;
		min-height: 44px;
		grid-column: auto;
		justify-content: space-between !important;
		padding: 0 14px;
		border-radius: var(--radius-small);
	}

	.product-card__cart span {
		display: inline !important;
	}
}

.product-card__variant-picker {
  display: grid;
  gap: 7px;
  margin-top: 8px;
  padding: 10px;
  background: var(--zoofix-surface-muted);
  border: 1px solid var(--zoofix-line);
}

.product-card__body > .product-card__variant-picker {
  display: grid;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid var(--zoofix-line);
}

.product-card__variant-picker[hidden],
.product-card__status[hidden] {
  display: none;
}

.product-card__variant-picker > p {
  margin: 0;
  color: var(--zoofix-text-muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.product-card__variant-picker > div {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
}

.product-card__variant-picker button {
  min-height: 40px;
  padding: 0 4px;
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border: 1px solid var(--zoofix-black);
  border-radius: 0;
  cursor: pointer;
  font: 800 11px/1 var(--body-font);
}

.product-card__variant-picker button:hover,
.product-card__variant-picker button:focus-visible {
  background: var(--zoofix-action);
}

.product-card__status {
  margin: 8px 0 0;
  color: var(--zoofix-action-dark);
  font-size: 11px;
  font-weight: 750;
  line-height: 1.3;
}

.hero.hero--actions-only {
  display: block;
  min-height: 0;
  margin: 0 calc(var(--page-gutter) * -1);
  padding: clamp(14px, 2vw, 22px) var(--page-gutter);
	border-bottom: 0;
  background: var(--zoofix-white);
}

.hero--actions-only .hero__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.hero--actions-only .button {
  min-width: 0;
  min-height: 58px;
  justify-content: center;
  padding: 8px 12px;
  border-radius: var(--radius-small);
  text-align: center;
  font-weight: 800 !important;
}

.hero__breed-action {
	grid-column: 1 / -1;
	justify-content: space-between !important;
	padding-inline: clamp(16px, 2vw, 24px) !important;
}

.hero__breed-icons {
	display: flex;
	min-width: 172px;
	height: 44px;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(8px, 1vw, 12px);
}

.hero__breed-icon {
	width: 34px;
	height: 34px;
	flex: 0 0 auto;
	object-fit: contain;
}

.hero__breed-icon--small {
	width: 30px;
	height: 30px;
}

.hero__breed-icon--large {
	width: 38px;
	height: 38px;
}

.catalog-product-card__media > span,
.catalog-list-card__media > span,
.demo-product-card__media > span,
.product-card__media > span {
  display: none !important;
}

.demo-picker-group {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 6px;
}

.demo-picker-group[hidden] {
  display: none;
}

.demo-picker-group > p {
  margin: 0;
  color: var(--zoofix-text-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.demo-product-card__variant-picker > .demo-picker-price,
.product-card__variant-picker > .demo-picker-price {
  margin: 0;
  color: var(--zoofix-black);
  font-size: 15px;
  font-weight: 850;
  letter-spacing: normal;
  line-height: 1.2;
  text-transform: none;
}

.demo-picker-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}

.demo-picker-custom-quantity-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.demo-picker-custom-quantity-row[hidden] {
  display: none;
}

.demo-picker-custom-quantity-controls {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
}

.demo-picker-custom-quantity-controls > button {
  min-height: 48px;
  padding: 0;
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border: 1px solid var(--zoofix-black);
  font: 900 25px/1 var(--body-font);
  cursor: pointer;
}

.demo-picker-custom-quantity-controls > button + input,
.demo-picker-custom-quantity-controls > input + button {
  margin-left: -1px;
}

.demo-picker-custom-quantity {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 1px solid var(--zoofix-black);
  border-radius: 0;
  font: 800 16px/1 var(--body-font);
}

.demo-picker-custom-quantity:focus {
  outline: 3px solid var(--zoofix-black);
  outline-offset: 2px;
}

.demo-picker-custom-quantity-confirm {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  border: 1px solid var(--zoofix-black);
  cursor: pointer;
  font: 800 14px/1 var(--body-font);
}

.product-card__variant-picker .demo-picker-options button.is-selected,
.demo-product-card__variant-picker .demo-picker-options button.is-selected {
  color: var(--zoofix-black);
  background: var(--zoofix-action);
}

.demo-picker-submit {
  width: 100%;
  min-height: 46px;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 1px solid var(--zoofix-black);
  border-radius: 0;
  cursor: pointer;
  font: 800 13px/1 var(--body-font);
}

.demo-picker-submit:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.quick-cart-shortcut {
  position: fixed;
  z-index: 80;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(92px, calc(env(safe-area-inset-bottom) + 88px));
  display: inline-flex;
  min-width: 58px;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 2px solid var(--zoofix-black);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--zoofix-black);
  font: 900 14px/1 var(--body-font);
  text-decoration: none;
}

.quick-cart-shortcut[hidden] {
  display: none;
}

.quick-cart-shortcut svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.quick-cart-shortcut strong {
  display: grid;
  width: 24px;
  min-width: 24px;
  height: 24px;
  padding: 0;
  place-items: center;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  border-radius: 50%;
  font-size: 12px;
}

.quick-cart-shortcut__label {
	white-space: nowrap;
}

.quick-compare-shortcut {
  position: fixed;
  z-index: 80;
  left: max(18px, env(safe-area-inset-left));
  bottom: max(22px, calc(env(safe-area-inset-bottom) + 18px));
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.quick-compare-shortcut[hidden] {
  display: none;
}

.quick-compare-shortcut__open {
  display: inline-flex;
  min-height: 58px;
  min-width: 0;
  align-items: center;
  gap: 10px;
  padding: 0 17px;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 2px solid var(--zoofix-black);
  border-radius: 999px;
  box-shadow: 5px 5px 0 var(--zoofix-black);
  cursor: pointer;
  font: 900 13px/1.1 var(--body-font);
}

.quick-compare-shortcut__open:disabled {
  cursor: default;
}

.quick-compare-shortcut__open svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.quick-compare-shortcut__open strong {
  display: grid;
  min-width: 24px;
  height: 24px;
  padding-inline: 5px;
  place-items: center;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  border-radius: 50%;
  font-size: 12px;
}

.quick-compare-shortcut__close {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-self: center;
  place-items: center;
  padding: 0;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  border: 2px solid var(--zoofix-black);
  border-radius: 50%;
  box-shadow: 3px 3px 0 var(--zoofix-action);
  cursor: pointer;
}

.quick-compare-shortcut__close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
}

.quick-compare-shortcut__close:hover,
.quick-compare-shortcut__close:focus-visible {
  color: var(--zoofix-black);
  background: var(--zoofix-action);
}

.woocommerce-cart .quick-cart-shortcut,
.woocommerce-cart .quick-compare-shortcut,
.woocommerce-checkout .quick-cart-shortcut,
.woocommerce-checkout .quick-compare-shortcut {
	display: none !important;
}

.product-compare-backdrop {
  position: fixed;
  z-index: 220;
  inset: 0;
  display: grid;
  overflow: auto;
  padding: clamp(16px, 4vw, 56px);
  place-items: center;
  background: rgb(0 0 0 / 72%);
}

.product-compare-backdrop[hidden] {
  display: none;
}

.has-compare-modal {
  overflow: hidden;
}

.product-compare-modal {
  width: min(1040px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border: 3px solid var(--zoofix-black);
  box-shadow: 10px 10px 0 var(--zoofix-action);
}

.product-compare-modal > header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
}

.product-compare-modal > header p,
.product-compare-modal > header h2 {
  margin: 0;
  color: inherit;
}

.product-compare-modal > header p {
  color: var(--zoofix-action);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.product-compare-modal > header h2 {
  font: 900 clamp(28px, 4vw, 48px) / 0.95 var(--display-font);
}

.product-compare-modal__swipe-hint {
  display: none;
  margin: 6px 0 0;
  color: #c8ccc4;
  font-size: 12px;
  font-weight: 750;
}

.product-compare-modal > header button {
  min-width: 112px;
  min-height: 48px;
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
  color: var(--zoofix-black);
  background: var(--zoofix-action);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: 900 14px/1 var(--body-font);
}

.product-compare-modal__close span {
  display: inline;
}

.product-compare-modal > header svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

.product-compare-modal table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.product-compare-modal [data-compare-table] {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
}

.product-compare-modal__composition {
  min-width: min(26rem, 70vw);
  line-height: 1.55;
  white-space: normal;
}

.product-compare-modal th,
.product-compare-modal td {
  padding: clamp(12px, 2vw, 22px);
  border-right: 1px solid var(--zoofix-black);
  border-bottom: 1px solid var(--zoofix-black);
  text-align: left;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.product-compare-modal tr > :first-child {
  width: 150px;
  font-weight: 900;
}

.product-compare-modal thead th:not(:first-child) a {
  display: grid;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.product-compare-modal thead img {
  width: 100%;
  height: 180px;
  object-fit: contain;
}

.product-compare-modal thead span {
  font-size: clamp(17px, 2vw, 24px);
}

.product-compare-modal [data-compare-remove] {
  margin-top: 12px;
  min-height: 42px;
  padding: 8px 12px;
  color: var(--zoofix-white);
  background: var(--zoofix-black);
  border: 0;
  cursor: pointer;
  font: 900 13px/1.15 var(--body-font);
  text-align: left;
}

.demo-product__compare {
  width: 100%;
  min-height: 48px;
  margin: 0 0 14px;
  color: var(--zoofix-black);
  background: var(--zoofix-white);
  border: 2px solid var(--zoofix-black);
  border-radius: 0;
  cursor: pointer;
  font: 800 14px/1 var(--body-font);
}

/* Mobile cart shortcut: desktop keeps the long pill above this breakpoint. */
@media (max-width: 760px) {
	.site-footer {
		padding-bottom: calc(86px + env(safe-area-inset-bottom));
	}

	.quick-cart-shortcut {
		box-sizing: border-box;
		width: 58px;
		min-width: 58px;
		height: 58px;
		min-height: 58px;
		gap: 0;
		padding: 0;
		right: 14px;
		bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
	}

	.quick-compare-shortcut {
		bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
	}

	.quick-cart-shortcut strong {
		position: absolute;
		top: -7px;
		right: -7px;
		width: 24px;
		min-width: 24px;
		height: 24px;
		padding: 0;
		border: 2px solid var(--zoofix-action);
		border-radius: 50%;
	}

	.quick-cart-shortcut__label {
		display: none;
	}

	.product-card__actions {
		grid-template-columns: repeat(3, 44px);
		gap: 8px;
		justify-content: start;
	}

	.product-card__actions button {
		min-height: 44px;
		padding: 0 5px;
	}

	.product-card__actions .product-card__cart {
		width: 44px;
		height: 44px;
		grid-column: auto;
		justify-content: center !important;
		padding: 0;
		border-radius: 50%;
	}

	.product-card__cart span {
		display: none;
	}
}

@media (max-width: 360px) {
	.product-card__actions {
		gap: 2px;
		margin-inline: -11px;
	}
}

@media (max-width: 560px) {
	.hero.hero--actions-only {
		padding: 10px;
	}

	.hero--actions-only .hero__actions {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.hero--actions-only .button {
		min-height: 58px;
		font-size: 14px;
	}

	.hero__breed-icons {
		min-width: 142px;
		height: 38px;
		gap: 7px;
	}

	.hero__breed-icon--small {
		width: 24px;
		height: 24px;
	}

	.hero__breed-icon--large {
		width: 32px;
		height: 32px;
	}

	.quick-compare-shortcut {
		left: 14px;
		bottom: max(14px, calc(env(safe-area-inset-bottom) + 10px));
		max-width: calc(100vw - 70px);
	}

	.quick-compare-shortcut__open {
		max-width: calc(100vw - 120px);
	}

  .quick-compare-shortcut__open span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-compare-backdrop {
    padding: 10px;
    place-items: start center;
  }

  .product-compare-modal {
    max-height: calc(100vh - 20px);
  }

  .product-compare-modal table {
    min-width: 860px;
  }

  .product-compare-modal > header button {
    min-width: 94px;
    min-height: 52px;
    padding-inline: 12px;
  }

  .product-compare-modal__swipe-hint {
    display: block;
  }

  .product-compare-modal tr > :first-child {
    width: 88px;
  }

  .product-compare-modal th,
  .product-compare-modal td {
    padding: 10px 8px;
    font-size: 12px;
  }

  .product-compare-modal thead img {
    height: 100px;
  }

  .product-compare-modal [data-compare-remove] {
    min-height: 46px;
    padding-inline: 12px;
  }

  .product-card__body {
    min-height: 0;
  }

  .product-card__footer {
    gap: 8px;
    padding-top: 8px !important;
  }

  .product-card__footer > strong {
    font-size: 15px;
  }

}
