body[data-page="dogs"] .site-main--subpage {
  padding-top: 88px;
}

.dogs-hero {
  width: 100%;
  margin: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.08) 32%, rgba(0, 0, 0, 0) 58%),
    url("../img/2933_GOSBI-GOSSOS-platja-ElsMagnifics.jpg") center center / cover no-repeat;
}

.dogs-hero__inner {
  min-height: clamp(360px, 48vw, 600px);
  padding: 124px 22px 52px;
}

.dogs-hero__title {
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6.4vw, 5.5rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.dogs-hero__subtitle {
  margin: 8px 0 0;
  color: #fff;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.dogs-intro {
  padding: 56px 20px 72px;
  background: #fff;
}

.dogs-intro__inner {
  width: min(100%, 720px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 28px;
  text-align: center;
}

.dogs-intro__text {
  margin: 0;
  color: #111;
  font-size: 1.02rem;
  line-height: 2;
}

.dogs-intro__mobile-break {
  display: none;
}

.dogs-intro__feature {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.dogs-intro__icon {
  width: 88px;
  height: 88px;
  object-fit: contain;
}

.dogs-intro__label {
  margin: 0;
  color: #111;
  font-size: 1rem;
  line-height: 1.6;
}

.dogs-lineup {
  padding: 12px 0 120px;
  background: #fff;
}

.dogs-lineup__tabs {
  width: min(100%, 840px);
  margin: 0 auto 124px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.dogs-lineup__tab {
  min-width: 124px;
  min-height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #fff;
  color: #111;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.dogs-lineup__tab.is-active,
.dogs-lineup__tab:hover,
.dogs-lineup__tab:focus-visible {
  background: #000;
  color: #fff;
  border-color: #000;
}

.dogs-lineup__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  margin: 0 auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 1s ease, visibility 0s linear 1s;
}

.dogs-lineup__panel.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
  transition: opacity 1s ease;
}

.dogs-lineup__panel.is-leaving {
  opacity: 0;
  visibility: visible;
  pointer-events: none;
  z-index: 1;
}

.dogs-lineup__panels {
  position: relative;
}

.dogs-lineup__grid {
  display: grid;
  gap: 62px;
  padding: 0;
}

.dogs-lineup__grid--single {
  gap: 0;
}

.dogs-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: center;
}

.dogs-card--plain {
  grid-template-columns: 1fr 1fr;
}

.dogs-card__media {
  position: relative;
  min-height: 300px;
  overflow: visible;
}

.dogs-card--dark .dogs-card__media {
  background: #000;
}

.dogs-card__media--olive {
  background: #789c4a;
}

.dogs-card__media--warm {
  background: #efe4d7;
}

.dogs-card__media--sand {
  background: #e6dcc8;
}

.dogs-card__media--snackbg {
  background: #9dd4ca;
}

.dogs-card__media--steam {
  display: grid;
  place-items: center;
  background: #eaaa00;
  overflow: hidden;
}

.dogs-card__dog {
  position: absolute;
  bottom: -18px;
  left: 50%;
  transform: translateX(-50%);
  object-fit: contain;
  z-index: 1;
}

.dogs-card__dog--grainfree {
  height: 320px;
  bottom: -34px;
}

.dogs-card__dog--exclusive {
  height: 300px;
  bottom: -50px;
}

.dogs-card__dog--natsbi,
.dogs-card__dog--snack {
  width: 33%;
}

.dogs-card__photo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.dogs-card__photo--steam {
  height: auto;
  max-height: 100%;
  object-position: center center;
}

.dogs-card__overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: start center;
  justify-items: center;
  gap: 14px;
  padding: 34px 20px 20px;
  z-index: 5;
  pointer-events: none;
}

.dogs-card__overlay--light {
  color: #fff;
}

.dogs-card__logo {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 6;
  height: auto;
}

.dogs-card__logo--grainfree {
  width: min(34%, 178px);
  top: 164px;
}

.dogs-card__logo--exclusive {
  width: min(42%, 220px);
  top: auto;
  bottom: 52px;
}

.dogs-card__logo--natsbi,
.dogs-card__logo--snack {
  width: min(42%, 220px);
  top: auto;
  bottom: 52px;
}

.dogs-card__logo--snack {
  width: min(48%, 260px);
}

.dogs-card__copy {
  display: grid;
  justify-items: start;
  gap: 28px;
}

.dogs-card__copy p {
  margin: 0;
  color: #111;
  font-size: 0.98rem;
  line-height: 2;
}

.dogs-card__copy--short {
  padding-left: 54px;
}

.dogs-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 26px;
  border-radius: 999px;
  background: #000;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid #000;
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.dogs-card__button:hover,
.dogs-card__button:focus-visible {
  background: #fff;
  color: #000;
}

@media (max-width: 960px) {
  .dogs-hero {
    width: 100%;
  }

  .dogs-intro {
    padding: 46px 20px 58px;
  }

  .dogs-lineup {
    padding: 12px 20px 96px;
  }

  .dogs-card,
  .dogs-card--plain {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .dogs-card__copy {
    justify-items: center;
    text-align: center;
  }

  .dogs-card__copy--short {
    padding-left: 0;
    text-align: center;
  }

  .dogs-card--plain .dogs-card__copy {
    order: 2;
  }

  .dogs-card--plain .dogs-card__media {
    order: 1;
  }

  .dogs-card__media {
    width: calc(100% + 40px);
    margin-inline: -20px;
    min-height: 220px;
  }

  .dogs-card__photo--steam {
    width: 88%;
    margin: 0 auto;
  }

  .dogs-card__logo--grainfree {
    top: 80px;
  }
}

@media (max-width: 760px) {
  body[data-page="dogs"] .site-main--subpage {
    padding-top: var(--header-height);
  }

  .dogs-hero {
    width: 100%;
    border-left: 0;
    border-right: 0;
  }

  .dogs-hero__inner {
    min-height: 280px;
    padding: 70px 18px 34px;
  }

  .dogs-hero__title {
    font-size: clamp(2.3rem, 10vw, 3.6rem);
  }

  .dogs-hero__subtitle {
    margin-top: 6px;
    font-size: clamp(0.82rem, 3.8vw, 1rem);
  }

  .dogs-intro {
    padding: 34px 20px 46px;
  }

  .dogs-intro__inner {
    gap: 22px;
  }

  .dogs-intro__text {
    font-size: 0.94rem;
    line-height: 1.9;
  }

  .dogs-intro__mobile-break {
    display: inline;
  }

  .dogs-intro__icon {
    width: 76px;
    height: 76px;
  }

  .dogs-lineup {
    padding: 8px 20px 96px;
  }

  .dogs-lineup__tabs {
    margin-bottom: 100px;
    gap: 10px;
  }

  .dogs-lineup__tab {
    min-width: 108px;
    min-height: 40px;
    padding: 0 18px;
    font-size: 0.88rem;
  }

  .dogs-lineup__grid {
    gap: 80px;
  }

  .dogs-card__dog {
    bottom: -12px;
  }

  .dogs-card__dog--grainfree,
  .dogs-card__dog--exclusive {
    bottom: -34px;
  }

  .dogs-card__copy {
    justify-items: center;
    gap: 20px;
    text-align: center;
    padding-bottom: 20px;
  }

  .dogs-card__copy p {
    font-size: 0.92rem;
    line-height: 1.85;
  }

  .dogs-card__logo--grainfree {
    width: min(50%, 160px);
    top: 90px;
  }

  .dogs-card__logo--exclusive {
    width: min(48%, 160px);
    bottom: 66px;
  }

  .dogs-card__logo--natsbi,
  .dogs-card__logo--snack {
    width: min(40%, 170px);
    bottom: 36px;
  }
}
