.pets-collection-hero {
  --pch-shadow: 0 10px 28px rgba(33, 49, 36, 0.06);
  width: 100%;
  padding-top: var(--pch-pad-top, 20px);
  padding-bottom: var(--pch-pad-bottom, 24px);
  background: rgb(var(--pch-section-bg, 255, 255, 255));
}

.pets-collection-hero__inner {
  width: 100%;
  max-width: calc(var(--page-padding, 20px) * 2 + var(--pch-max-width, 1440px));
  margin: 0 auto;
  padding-inline: var(--page-padding, 20px);
  box-sizing: border-box;
}

.pets-collection-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  min-height: 396px;
}

.pets-collection-hero__panel {
  position: relative;
  height: 396px;
  min-height: 396px;
  padding: 38px 42px;
  overflow: hidden;
  border: 1px solid #e8dcc4;
  border-radius: 28px;
  background: linear-gradient(135deg, #fff7e6 0%, #fff1d6 50%, #e9ffd8 100%);
  box-shadow: var(--pch-shadow);
  box-sizing: border-box;
}

.pets-collection-hero__panel.has-image {
  background-color: #fff7e6;
  background-image: none;
}

.pets-collection-hero__panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.pets-collection-hero__panel-media img,
.pets-collection-hero__panel-media .image,
.pets-collection-hero__panel-media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pets-collection-hero__panel-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(
    105deg,
    rgba(255, 247, 230, 0.88) 0%,
    rgba(255, 241, 214, 0.72) 45%,
    rgba(233, 255, 216, 0.35) 100%
  );
}

.pets-collection-hero__panel-deco {
  position: absolute;
  top: -36px;
  right: -28px;
  z-index: 1;
  width: 168px;
  height: 168px;
  pointer-events: none;
  background: #d9f7b8;
  border-radius: 50%;
  opacity: 0.9;
}

.pets-collection-hero__panel-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 520px;
  height: 100%;
}

.pets-collection-hero__badge {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  width: fit-content;
  padding: 6px 12px;
  color: #2f6f2a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #e8f8d4;
  border-radius: 999px;
}

.pets-collection-hero__title {
  margin: 0;
  color: #213124;
  font-family: Georgia, "Times New Roman", serif;
  font-size: var(--pch-title-size, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.pets-collection-hero__desc {
  margin: 0;
  color: #445043;
  font-size: 15px;
  line-height: 1.55;
}

.pets-collection-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 10px;
}

.pets-collection-hero__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border-radius: 999px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.pets-collection-hero__btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

a.pets-collection-hero__btn--primary,
.pets-collection-hero__btn--primary {
  color: #ffffff !important;
  background: #214f2f;
  border: 1px solid #214f2f;
}

a.pets-collection-hero__btn--primary:hover,
a.pets-collection-hero__btn--primary:focus,
.pets-collection-hero__btn--primary:hover,
.pets-collection-hero__btn--primary:focus {
  color: #ffffff !important;
  background: #214f2f;
  text-decoration: none;
}

a.pets-collection-hero__btn--secondary,
.pets-collection-hero__btn--secondary {
  color: #214f2f !important;
  background: #fff;
  border: 1px solid #dbe7d4;
}

a.pets-collection-hero__btn--secondary:hover,
a.pets-collection-hero__btn--secondary:focus,
.pets-collection-hero__btn--secondary:hover,
.pets-collection-hero__btn--secondary:focus {
  color: #214f2f !important;
  background: #fff;
  text-decoration: none;
}

.pets-collection-hero__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: 396px;
  min-height: 396px;
  box-sizing: border-box;
}

.pets-collection-hero__card {
  display: grid;
  grid-template-columns: 104px 1fr;
  gap: 15px;
  align-items: center;
  height: 100%;
  min-height: 0;
  padding: 14px;
  color: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid #e5eadf;
  border-radius: 22px;
  box-shadow: 0 12px 25px rgba(29, 64, 37, 0.08);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  box-sizing: border-box;
}

.pets-collection-hero__card:hover {
  color: inherit;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(29, 64, 37, 0.12);
  transform: translateY(-1px);
}

.pets-collection-hero__card-media {
  width: 104px;
  height: 104px;
  overflow: hidden;
  background: #f4f7f0;
  border-radius: 16px;
}

.pets-collection-hero__card-media img,
.pets-collection-hero__card-media .image,
.pets-collection-hero__card-media picture {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pets-collection-hero__card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.pets-collection-hero__card-title {
  color: #213124;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.pets-collection-hero__card-desc {
  color: #667061;
  font-size: 13px;
  line-height: 1.4;
}

@media (max-width: 989px) {
  .pets-collection-hero__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .pets-collection-hero__panel {
    height: auto;
    min-height: 280px;
    padding: 28px 24px;
  }

  .pets-collection-hero__title {
    font-size: clamp(28px, 7vw, 36px);
  }

  .pets-collection-hero__grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
    min-height: 0;
  }

  .pets-collection-hero__card {
    min-height: 134px;
    height: auto;
  }
}
