.catalog-wrap {
  --catalog-ink: #102e30;
  --catalog-accent: #176444;
  max-width: 1360px;
  margin: auto;
  padding: clamp(24px, 4vw, 60px) clamp(18px, 5vw, 76px) 80px;
  color: var(--catalog-ink);
  word-break: keep-all;
}
.catalog-wrap * {
  box-sizing: border-box;
}
.catalog-wrap h1,
.catalog-wrap h2,
.catalog-wrap p,
.catalog-wrap figure {
  margin: 0;
}
.catalog-wrap h1 {
  font-size: clamp(38px, 5.2vw, 76px);
  line-height: 1.09;
  letter-spacing: -0.065em;
}
.catalog-wrap h2 {
  font-size: clamp(23px, 3vw, 42px);
  letter-spacing: -0.045em;
  line-height: 1.25;
}
.catalog-wrap p,
.catalog-wrap li {
  line-height: 1.65;
}
.catalog-wrap a {
  color: inherit;
}
.catalog-wrap .catalog-crumb {
  color: #52645b;
  font-size: 0.94rem;
  margin: 0 0 30px;
}
.catalog-crumb a {
  text-underline-offset: 4px;
}
.catalog-search {
  margin-top: 32px;
  max-width: 660px;
}
.catalog-search label {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
}
.catalog-search > div {
  display: flex;
  border: 1px solid #91a598;
  border-radius: 10px;
  background: white;
  overflow: hidden;
}
.catalog-search input {
  min-width: 0;
  flex: 1;
  border: 0;
  padding: 14px 16px;
  font: inherit;
  background: white;
  color: var(--catalog-ink);
}
.catalog-search button,
.catalog-empty button {
  border: 0;
  background: var(--catalog-ink);
  color: white;
  padding: 11px 22px;
  font: inherit;
  cursor: pointer;
}
.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 26px;
}
.catalog-filters button {
  border: 1px solid #c3cfc7;
  border-radius: 24px;
  padding: 8px 16px;
  background: white;
  color: var(--catalog-ink);
  font: inherit;
  cursor: pointer;
}
.catalog-filters button[aria-pressed="true"] {
  background: var(--catalog-ink);
  color: white;
  border-color: var(--catalog-ink);
}
.catalog-wrap .catalog-total {
  font-size: 0.95rem;
  color: #53695c;
  margin: 0 0 14px;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(265px, 100%), 1fr));
  gap: 32px 18px;
  align-items: start;
}
.product-card {
  display: block;
  text-decoration: none;
  min-width: 0;
}
.card-art,
.catalog-art img {
  background: #eff3ef;
}
.card-art {
  overflow: hidden;
  aspect-ratio: 1.75;
  border-radius: 14px;
}
.card-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s;
}
.card-art.contained img {
  object-fit: contain;
  padding: 12px;
}
@media (hover: hover) {
  .product-card:hover img {
    transform: scale(1.035);
  }
}
.card-copy {
  padding: 13px 2px;
}
.catalog-wrap small,
.card-copy small {
  font-size: 0.87rem;
  letter-spacing: 0.015em;
  color: var(--catalog-accent);
  font-weight: 700;
}
.card-copy h2 {
  font-size: 1.45rem;
  margin: 3px 0 4px;
}
.card-copy p {
  color: #435248;
}
.catalog-empty {
  padding: 24px 0;
}
.catalog-empty button {
  border-radius: 8px;
  margin-top: 14px;
}
.product-hero {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(22px, 5vw, 72px);
  align-items: center;
}
.product-hero h1,
.cha-hero h1 {
  margin: 9px 0 16px;
}
.product-hero p,
.cha-hero p,
.cha-steps p,
.product-story p,
.catalog-conditions p,
.catalog-record p {
  font-size: clamp(17px, 1.45vw, 21px);
  max-width: 48ch;
  color: #43544d;
}
.catalog-art img {
  display: block;
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
  border-radius: 12px;
}
.catalog-art.contained img {
  object-fit: contain;
  max-height: 380px;
  padding: 18px;
}
.catalog-art figcaption {
  margin-top: 6px;
  font-size: 14px;
  color: #58645e;
  line-height: 1.5;
}
.catalog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 20px 0 4px;
}
.catalog-actions a {
  min-height: 42px;
  padding: 10px 15px;
  text-decoration: none;
  border: 1px solid #9cad9e;
  border-radius: 7px;
  font-weight: 600;
}
.catalog-actions a:first-child {
  background: var(--catalog-ink);
  color: white;
  border-color: var(--catalog-ink);
}
.product-story {
  max-width: 980px;
  margin: 48px auto 0;
}
.product-story section,
.catalog-conditions,
.catalog-record {
  border-top: 1px solid #d2dbd4;
  padding: 30px 0;
}
.product-story h2,
.catalog-conditions h2,
.catalog-record h2 {
  margin-bottom: 12px;
}
.product-story ol {
  padding-left: 24px;
}
.catalog-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 15px;
  margin-bottom: 28px;
}
.cha-story {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: clamp(16px, 3vw, 50px);
  margin: 35px 0 50px;
  align-items: start;
}
.cha-sticky {
  position: sticky;
  top: calc(var(--header-height, 72px) + 24px);
  isolation: isolate;
}
.cha-sticky figure {
  position: relative;
}
.cha-sticky figure::after {
  content: "";
  position: absolute;
  top: 64%;
  left: 31%;
  width: 18%;
  height: 24%;
  border-radius: 50%;
  background: #529f661a;
  border: 3px solid #2e775a;
  box-shadow: 0 0 0 5px #fff9;
  transform: translate(-50%, -50%);
  transition:
    top 0.5s,
    left 0.5s,
    width 0.5s;
}
.cha-sticky[data-active="1"] figure::after {
  top: 49%;
  left: 59%;
  width: 15%;
}
.cha-sticky[data-active="2"] figure::after {
  top: 54%;
  left: 77%;
  width: 17%;
}
.cha-position {
  display: flex;
  gap: 5px;
  width: 90px;
  margin-top: 9px;
}
.cha-position b {
  background: #ccd9ce;
  height: 4px;
  flex: 1;
}
.cha-sticky[data-active="0"] b:first-child,
.cha-sticky[data-active="1"] b:nth-child(2),
.cha-sticky[data-active="2"] b:last-child {
  background: var(--catalog-accent);
}
.cha-steps article {
  min-height: 46vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 25px 0;
  border-top: 1px solid #d2dbd4;
}
.cha-steps h2 {
  margin: 8px 0 12px;
}
.catalog-record figure {
  margin-top: 16px;
}
.catalog-record img {
  background: white;
  max-height: none;
  border: 1px solid #d2dbd4;
}
.catalog-wrap :focus-visible {
  outline: 3px solid #387ecd;
  outline-offset: 3px;
}
@media (max-width: 720px) {
  .catalog-wrap {
    padding-inline: 18px;
  }
  .product-hero,
  .cha-story {
    grid-template-columns: 1fr;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }
  .card-copy h2 {
    font-size: 1.2rem;
  }
  .product-hero h1,
  .cha-hero h1 {
    font-size: clamp(32px, 8vw, 47px);
  }
  .cha-sticky {
    position: static;
  }
  .cha-steps article {
    min-height: 0;
  }
  .cha-position,
  .cha-sticky figure::after {
    display: none;
  }
  .catalog-actions a {
    padding: 9px 12px;
  }
  .card-copy p {
    font-size: 0.95rem;
  }
  .catalog-record figure {
    overflow-x: auto;
  }
  .catalog-record img {
    width: max(100%, 660px);
    max-width: none;
  }
}
@media (max-width: 405px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cha-sticky {
    position: static;
  }
  .cha-steps article {
    min-height: 0;
  }
  .cha-position,
  .cha-sticky figure::after {
    display: none;
  }
  .card-art img {
    transition: none;
  }
}
.product-story dl {
  margin: 15px 0;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 20px;
}
.product-story dt {
  font-weight: 700;
}
.product-story dd {
  margin: 0;
  line-height: 1.65;
}
