/* Shared hero for the four product category pages; product index and details remain unchanged. */
body[data-catalog-page="category"] .category-hero {
  padding: clamp(30px, 4vw, 64px) 0 clamp(70px, 7vw, 112px);
  background: transparent;
  color: #103a3d;
}

body[data-catalog-page="category"] .category-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 42fr) minmax(0, 58fr);
  grid-template-rows: auto auto;
  column-gap: clamp(38px, 5.5vw, 100px);
  row-gap: clamp(34px, 4.8vw, 76px);
  align-items: center;
  min-width: 0;
}

body[data-catalog-page="category"] .category-hero__copy {
  grid-area: 1 / 1;
  align-self: end;
  min-width: 0;
}

body[data-catalog-page="category"] .category-hero__tag {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(20px, 2.4vw, 38px);
  color: #13504b;
  font-size: clamp(16px, 1.15vw, 20px);
  font-weight: 600;
  line-height: 1.3;
}

body[data-catalog-page="category"] .category-hero__tag-icon {
  color: #13504b;
  font-size: 20px;
  font-weight: 400;
}

body[data-catalog-page="category"] .category-hero__title {
  margin: 0;
  color: #103a3d;
  font-size: clamp(52px, 4.6vw, 86px);
  font-weight: 700;
  letter-spacing: -.055em;
  line-height: 1.05;
  white-space: normal;
}

body[data-catalog-page="category"] .category-hero__title::after {
  display: block;
  width: 86px;
  height: 4px;
  margin-top: clamp(23px, 2.15vw, 36px);
  background: #a6eb9e;
  content: "";
}

body[data-catalog-page="category"] .category-hero__description {
  max-width: 650px;
  margin: clamp(26px, 2.2vw, 37px) 0 0;
  color: #5a6971;
  font-size: clamp(17px, 1.2vw, 21px);
  line-height: 1.62;
}

body[data-catalog-page="category"] .category-hero__visual {
  grid-area: 1 / 2 / 3;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-width: 0;
  padding: 54px 42px 34px 0;
}

body[data-catalog-page="category"] .category-hero__visual::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  width: 47%;
  height: 67%;
  border-radius: 26px;
  background: #edf5f0;
  content: "";
}

body[data-catalog-page="category"] .category-hero__visual::after {
  position: absolute;
  z-index: -1;
  right: 4px;
  bottom: 26px;
  width: 78px;
  height: 112px;
  background-image: radial-gradient(#9ab9ae 1.5px, transparent 1.6px);
  background-size: 20px 20px;
  content: "";
}

body[data-catalog-page="category"] .category-hero__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.65;
  border-radius: 27px;
  object-fit: cover;
}

body[data-catalog-page="category"] .category-hero__entry {
  grid-area: 2 / 1;
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: start;
  justify-self: start;
  width: min(100%, 360px);
  min-width: 0;
  min-height: 86px;
  padding: 12px 13px 12px 16px;
  border-radius: 16px;
  background: #e8fae9;
  color: #174c4c;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(32, 91, 63, .055);
  transition: background-color .2s ease, box-shadow .2s ease;
}

body[data-catalog-page="category"] .category-hero__entry:hover,
body[data-catalog-page="category"] .category-hero__entry:focus-visible {
  background: #def6df;
  box-shadow: 0 18px 38px rgba(32, 91, 63, .10);
}

body[data-catalog-page="category"] .category-hero__entry:focus-visible {
  outline: 3px solid #12604e;
  outline-offset: 4px;
}

body[data-catalog-page="category"] .category-hero__entry-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}

body[data-catalog-page="category"] .category-hero__samples {
  display: flex;
  align-items: center;
  padding-left: 0;
}

body[data-catalog-page="category"] .category-hero__samples img,
body[data-catalog-page="category"] .category-hero__count {
  display: grid;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-left: -7px;
  border: 2px solid #fff;
  border-radius: 50%;
  object-fit: cover;
}

body[data-catalog-page="category"] .category-hero__samples img:first-child {
  margin-left: 0;
}

body[data-catalog-page="category"] .category-hero__count {
  background: #205651;
  color: #fff;
  font-size: 14px;
  line-height: 1;
}

body[data-catalog-page="category"] .category-hero__entry-label {
  color: #174c4c;
  font-size: clamp(14px, 1.05vw, 16px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-catalog-page="category"] .category-hero__entry-rule {
  align-self: stretch;
  width: 1px;
  margin: 4px 0;
  background: #99e3a4;
}

body[data-catalog-page="category"] .category-hero__entry-arrow {
  display: grid;
  flex: none;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 12px;
  background: #174c4c;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 33px;
  font-weight: 300;
  line-height: 1;
  transition: transform .2s ease;
}

body[data-catalog-page="category"] .category-hero__entry:hover .category-hero__entry-arrow {
  transform: translateX(3px);
}

@media (max-width: 1199px) {
  body[data-catalog-page="category"] .category-hero__layout {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    column-gap: clamp(28px, 4vw, 48px);
    row-gap: 35px;
  }
  body[data-catalog-page="category"] .category-hero__title { font-size: clamp(42px, 4.6vw, 57px); }
  body[data-catalog-page="category"] .category-hero__description { font-size: 16px; }
  body[data-catalog-page="category"] .category-hero__visual { padding: 35px 24px 28px 0; }
  body[data-catalog-page="category"] .category-hero__entry { width: min(100%, 340px); min-height: 82px; padding: 11px 12px 11px 14px; border-radius: 15px; gap: 10px; }
  body[data-catalog-page="category"] .category-hero__samples img,
  body[data-catalog-page="category"] .category-hero__count { width: 32px; height: 32px; margin-left: -7px; }
  body[data-catalog-page="category"] .category-hero__samples img:first-child { margin-left: 0; }
  body[data-catalog-page="category"] .category-hero__count { font-size: 13px; }
  body[data-catalog-page="category"] .category-hero__entry-label { font-size: 14px; }
  body[data-catalog-page="category"] .category-hero__entry-arrow { width: 54px; height: 54px; border-radius: 11px; font-size: 30px; }
}

@media (min-width: 768px) and (max-width: 850px) {
  body[data-catalog-page="category"] .category-hero__entry-label { font-size: 13px; line-height: 1.18; white-space: normal; }
  body[data-catalog-page="category"] .category-hero__entry-arrow { width: 50px; height: 50px; }
}

@media (max-width: 767px) {
  body[data-catalog-page="category"] .category-hero { padding: 18px 0 64px; }
  body[data-catalog-page="category"] .category-hero__layout { display: flex; flex-direction: column; align-items: stretch; gap: 28px; }
  body[data-catalog-page="category"] .category-hero__copy { align-self: stretch; }
  body[data-catalog-page="category"] .category-hero__tag { margin-bottom: 18px; }
  body[data-catalog-page="category"] .category-hero__title { font-size: clamp(38px, 9vw, 58px); white-space: normal; }
  body[data-catalog-page="category"] .category-hero__title::after { margin-top: 20px; }
  body[data-catalog-page="category"] .category-hero__description { margin-top: 20px; font-size: 16px; }
  body[data-catalog-page="category"] .category-hero__visual { order: 1; width: 100%; padding: 22px 19px 17px 0; }
  body[data-catalog-page="category"] .category-hero__visual::before { border-radius: 18px; }
  body[data-catalog-page="category"] .category-hero__visual::after { right: 0; bottom: 4px; transform: scale(.72); transform-origin: right bottom; }
  body[data-catalog-page="category"] .category-hero__visual img { border-radius: 18px; }
  body[data-catalog-page="category"] .category-hero__entry { order: 2; align-self: flex-start; width: min(100%, 300px); min-height: 80px; margin-top: 2px; }
}

@media (max-width: 479px) {
  body[data-catalog-page="category"] .category-hero__entry { min-height: 76px; padding: 10px 11px 10px 12px; gap: 9px; border-radius: 14px; }
  body[data-catalog-page="category"] .category-hero__entry-content { gap: 9px; }
  body[data-catalog-page="category"] .category-hero__samples img,
  body[data-catalog-page="category"] .category-hero__count { width: 28px; height: 28px; margin-left: -6px; }
  body[data-catalog-page="category"] .category-hero__samples img:first-child { margin-left: 0; }
  body[data-catalog-page="category"] .category-hero__count { font-size: 12px; }
  body[data-catalog-page="category"] .category-hero__entry-label { font-size: 13px; white-space: normal; }
  body[data-catalog-page="category"] .category-hero__entry-arrow { width: 48px; height: 48px; border-radius: 10px; font-size: 27px; }
}
