.products-page {
  --products-paper: #f8f5f0;
  --products-beige: #eee7de;
  --products-forest: #243c28;
  --products-accent: #765b36;
  --products-muted: rgba(var(--ink-rgb), 0.7);
  --products-line: rgba(var(--ink-rgb), 0.18);
}

.products-page .subpage-main {
  overflow-x: clip;
}

.products-page__title-area {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(400px, 0.82fr) minmax(0, 1.18fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  width: min(1340px, calc(100% - 80px));
  min-height: clamp(230px, 18vw, 280px);
  margin: clamp(24px, 3vw, 40px) auto 0;
  overflow: hidden;
  border: 1px solid var(--warm-line);
  background: var(--products-beige);
}

.products-page__title-area::after {
  z-index: 0;
  display: block;
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: stretch;
  min-width: 0;
  border-left: 1px solid var(--warm-line);
  background: var(--products-paper) url("../../images/hero-arrangement-desktop.jpg") 58% 70% / cover no-repeat;
  content: "";
}

.products-page .breadcrumbs {
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  width: auto;
  margin: 0;
  padding: clamp(26px, 3vw, 40px) clamp(32px, 4vw, 56px) 0;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.products-page__masthead {
  z-index: 1;
  display: flex;
  grid-column: 1;
  grid-row: 2;
  align-self: stretch;
  align-items: flex-end;
}

.products-page__masthead-inner {
  width: 100%;
  padding: clamp(24px, 3vw, 40px) clamp(32px, 4vw, 56px) clamp(36px, 4vw, 56px);
}

.products-page__masthead h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 2.55vw, 42px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.product-catalog {
  background: var(--products-paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.9;
}

.product-catalog__inner {
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
}

.product-catalog__heading {
  position: relative;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--products-line);
}

.product-catalog__heading::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 46px;
  height: 1px;
  background: var(--olive);
  content: "";
}

.product-catalog__heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(31px, 2.8vw, 44px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.035em;
  text-wrap: balance;
}

.product-catalog__categories .product-catalog__inner,
.product-catalog__lineup .product-catalog__inner {
  padding: clamp(76px, 7vw, 104px) 0;
}

.product-catalog__category-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(52px, 7vw, 90px);
  align-items: center;
  margin-top: clamp(42px, 5vw, 62px);
}

.product-catalog__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 470px);
}

.product-catalog__gallery-item {
  display: block;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 1;
  background: var(--products-beige);
}

.product-catalog__gallery-item--1 {
  border-radius: 0 42px 0 0;
}

.product-catalog__gallery-item--4 {
  border-radius: 0 0 0 42px;
}

.product-catalog__gallery img,
.product-catalog__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-catalog__gallery-item--1 img,
.product-catalog__item--orchid img {
  object-position: 50% 40%;
}

.product-catalog__gallery-item--2 img,
.product-catalog__item--green img {
  object-position: 50% 46%;
}

.product-catalog__gallery-item--3 img,
.product-catalog__item--stand img {
  object-position: 50% 42%;
}

.product-catalog__gallery-item--4 img,
.product-catalog__item--fruit img {
  object-position: 50% 45%;
}

.product-catalog__category-list,
.product-catalog__scene-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-catalog__category-list {
  border-top: 1px solid var(--products-line);
}

.product-catalog__category-list li {
  border-bottom: 1px solid var(--products-line);
}

.product-catalog__category-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  padding: 13px 4px;
  font-family: var(--serif);
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.5;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.product-catalog__category-list a span:last-child,
.product-catalog__scene-list a span:last-child,
.product-catalog__guide nav a span:last-child {
  flex: 0 0 auto;
  transition: transform 180ms ease;
}

.product-catalog__category-list a:hover span:last-child,
.product-catalog__category-list a:focus-visible span:last-child,
.product-catalog__scene-list a:hover span:last-child,
.product-catalog__scene-list a:focus-visible span:last-child,
.product-catalog__guide nav a:hover span:last-child,
.product-catalog__guide nav a:focus-visible span:last-child {
  transform: translateX(5px);
}

.product-catalog__scenes {
  overflow: hidden;
  width: min(1180px, calc(100% - 80px));
  margin-inline: auto;
  border: 1px solid transparent;
  border-radius: clamp(46px, 5vw, 72px) 0;
  background:
    radial-gradient(circle at 90% 15%, rgba(212, 177, 121, 0.13), transparent 30%),
    var(--products-forest);
  color: var(--products-paper);
}

.product-catalog__scene-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
  width: auto;
  padding: clamp(58px, 6vw, 82px);
}

.product-catalog__heading--light {
  border-bottom-color: rgba(248, 245, 240, 0.28);
}

.product-catalog__heading--light::after {
  background: #d4b179;
}

.product-catalog__scene-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-bottom: 1px solid rgba(248, 245, 240, 0.28);
}

.product-catalog__scene-list li {
  border-top: 1px solid rgba(248, 245, 240, 0.28);
}

.product-catalog__scene-list li:nth-child(even) {
  border-left: 1px solid rgba(248, 245, 240, 0.28);
}

.product-catalog__scene-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 88px;
  padding: 20px clamp(18px, 2.5vw, 30px);
  color: var(--products-paper);
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.5;
  letter-spacing: 0.025em;
  text-decoration: none;
}

.product-catalog__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
  margin-top: clamp(42px, 5vw, 60px);
}

.product-catalog__item {
  min-width: 0;
}

.product-catalog__item > a {
  display: block;
  height: 100%;
  text-decoration: none;
}

.product-catalog__item figure {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--products-beige);
}

.product-catalog__item img {
  transition: transform 300ms ease;
}

.product-catalog__item > a:hover img,
.product-catalog__item > a:focus-visible img {
  transform: scale(1.025);
}

.product-catalog__item-body {
  display: grid;
  grid-template-rows: auto auto minmax(1.7em, auto) auto;
  padding: 16px 2px 0;
}

.product-catalog__item-category {
  grid-row: 1;
  margin: 0 0 5px;
  color: var(--products-accent);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.08em;
}

.product-catalog__item h3 {
  grid-row: 2;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.65vw, 23px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.025em;
}

.product-catalog__item-detail {
  grid-row: 3;
  min-height: 1.7em;
  margin: 6px 0 0;
  color: var(--products-muted);
  font-size: 12px;
  line-height: 1.7;
}

.product-catalog__price {
  display: flex;
  grid-row: 4;
  align-items: baseline;
  gap: 9px;
  margin: 13px 0 0;
}

.product-catalog__price span {
  color: var(--products-muted);
  font-size: 10px;
  letter-spacing: 0.05em;
}

.product-catalog__price strong {
  font-family: var(--serif);
  font-size: clamp(17px, 1.5vw, 21px);
  font-weight: 400;
  letter-spacing: 0.02em;
}

.product-catalog__lineup-note {
  margin: 24px 0 0;
  color: var(--products-muted);
  font-size: 12px;
  line-height: 1.8;
}

.product-catalog__guide {
  border-top: 1px solid var(--products-line);
  border-bottom: 1px solid var(--products-line);
  background: var(--products-beige);
}

.product-catalog__guide-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: center;
  padding: clamp(40px, 4vw, 56px) 0;
}

.product-catalog__guide h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.03em;
  text-wrap: balance;
}

.product-catalog__guide nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--products-line);
  border-bottom: 1px solid var(--products-line);
}

.product-catalog__guide nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 66px;
  padding: 14px 20px;
  font-family: var(--serif);
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.5;
  text-decoration: none;
}

.product-catalog__guide nav a + a {
  border-left: 1px solid var(--products-line);
}

@media (max-width: 1100px) {
  .product-catalog__inner {
    width: calc(100% - 64px);
  }

  .product-catalog__category-layout {
    grid-template-columns: minmax(300px, 0.84fr) minmax(0, 1.16fr);
    gap: 48px;
  }

  .product-catalog__scenes {
    width: calc(100% - 64px);
  }

  .product-catalog__scene-layout {
    width: auto;
  }
}

@media (min-width: 721px) and (max-width: 1024px) {
  .products-page__title-area {
    grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
    width: min(100% - 48px, 960px);
    min-height: clamp(230px, 32vw, 280px);
    margin-top: 24px;
  }

  .products-page .breadcrumbs {
    padding: 22px 24px 0;
  }

  .products-page__masthead-inner {
    padding: 20px 24px 30px;
  }

  .products-page__masthead h1 {
    font-size: clamp(30px, 4vw, 36px);
    letter-spacing: 0.035em;
  }
}

@media (max-width: 900px) {
  .product-catalog__scene-layout,
  .product-catalog__guide-layout {
    grid-template-columns: 1fr;
  }

  .product-catalog__gallery {
    width: min(100%, 460px);
    margin-inline: auto;
  }

  .product-catalog__scene-layout,
  .product-catalog__guide-layout {
    gap: 38px;
  }

}

@media (max-width: 720px) {
  .products-page__title-area {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto clamp(180px, 42vw, 260px);
    width: calc(100% - 40px);
    min-height: 0;
    margin-top: 16px;
  }

  .products-page__title-area::after {
    grid-column: 1;
    grid-row: 3;
    border-top: 1px solid var(--warm-line);
    border-left: 0;
  }

  .products-page .breadcrumbs {
    grid-column: 1;
    grid-row: 1;
    padding: 18px 20px 0;
  }

  .products-page__masthead {
    grid-column: 1;
    grid-row: 2;
  }

  .products-page__masthead-inner {
    padding: 18px 20px 28px;
  }

  .products-page__masthead h1 {
    font-size: clamp(28px, 8.2vw, 34px);
    letter-spacing: 0.035em;
  }

  .product-catalog {
    font-size: 14px;
  }

  .product-catalog__inner {
    width: calc(100% - 40px);
  }

  .product-catalog__categories .product-catalog__inner,
  .product-catalog__lineup .product-catalog__inner {
    padding: 58px 0 66px;
  }

  .product-catalog__heading {
    padding-bottom: 14px;
  }

  .product-catalog__heading::after {
    width: 36px;
  }

  .product-catalog__heading h2 {
    font-size: clamp(28px, 8vw, 35px);
  }

  .product-catalog__category-layout {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-top: 34px;
  }

  .product-catalog__gallery {
    gap: 8px;
  }

  .product-catalog__gallery-item--1 {
    border-radius: 0 28px 0 0;
  }

  .product-catalog__gallery-item--4 {
    border-radius: 0 0 0 28px;
  }

  .product-catalog__category-list a {
    min-height: 54px;
    padding: 12px 2px;
    font-size: clamp(16px, 5vw, 19px);
  }

  .product-catalog__scenes {
    width: calc(100% - 40px);
    border-radius: 38px 0;
  }

  .product-catalog__scene-layout {
    width: auto;
    gap: 32px;
    padding: 44px 22px;
  }

  .product-catalog__scene-list {
    grid-template-columns: 1fr;
  }

  .product-catalog__scene-list li:nth-child(even) {
    border-left: 0;
  }

  .product-catalog__scene-list a {
    min-height: 62px;
    padding: 14px 4px;
    font-size: clamp(17px, 5.2vw, 20px);
  }

  .product-catalog__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 12px;
    margin-top: 34px;
  }

  .product-catalog__item-body {
    padding-top: 12px;
  }

  .product-catalog__item-category {
    font-size: 10px;
  }

  .product-catalog__item h3 {
    font-size: clamp(16px, 4.8vw, 19px);
  }

  .product-catalog__item-detail {
    min-height: 0;
    font-size: 11px;
  }

  .product-catalog__price {
    display: block;
    margin-top: 10px;
  }

  .product-catalog__price span {
    display: block;
    margin-bottom: 1px;
  }

  .product-catalog__price strong {
    font-size: 17px;
  }

  .product-catalog__lineup-note {
    margin-top: 20px;
    font-size: 11px;
  }

  .product-catalog__guide-layout {
    gap: 28px;
    padding: 42px 0;
  }

  .product-catalog__guide h2 {
    font-size: clamp(23px, 7vw, 29px);
  }

  .product-catalog__guide nav {
    grid-template-columns: 1fr;
  }

  .product-catalog__guide nav a {
    min-height: 58px;
    padding: 12px 4px;
    font-size: 16px;
  }

  .product-catalog__guide nav a + a {
    border-top: 1px solid var(--products-line);
    border-left: 0;
  }
}

@media (max-width: 340px) {
  .product-catalog__item-detail {
    text-wrap: balance;
  }

  .product-catalog__price strong {
    font-size: 13px;
    letter-spacing: -0.015em;
    white-space: nowrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-catalog__gallery img,
  .product-catalog__item img,
  .product-catalog__category-list a span:last-child,
  .product-catalog__scene-list a span:last-child,
  .product-catalog__guide nav a span:last-child {
    transition: none;
  }

  .product-catalog__item > a:hover img,
  .product-catalog__item > a:focus-visible img,
  .product-catalog__category-list a:hover span:last-child,
  .product-catalog__category-list a:focus-visible span:last-child,
  .product-catalog__scene-list a:hover span:last-child,
  .product-catalog__scene-list a:focus-visible span:last-child,
  .product-catalog__guide nav a:hover span:last-child,
  .product-catalog__guide nav a:focus-visible span:last-child {
    transform: none;
  }
}

@media (forced-colors: active) {
  .product-catalog__scenes {
    border-color: CanvasText;
  }
}
