.products-home,
.recommended-products,
.related-section {
  padding: 54px 24px 64px;
  background: #fff;
}

.products-home__inner,
.product-detail-shell {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.products-eyebrow {
  margin: 0;
  color: #8a7c57;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  line-height: 1.6;
}

.products-heading,
.product-section-title {
  margin: 12px 0 0;
  color: #6a5b2f;
  font-family: var(--font-serif);
  font-size: clamp(34px, 6vw, 48px);
  font-weight: 400;
  line-height: 1.3;
}

.products-intro,
.section-lead,
.recommended-products__intro {
  max-width: 700px;
  margin: 14px 0 30px;
  color: #4a4947;
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.85;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px 28px;
}

.product-card {
  min-width: 0;
  border-bottom: 1px solid #e9e4d9;
  background: #fff;
}

.product-card__image-link {
  display: block;
  overflow: hidden;
  background: #f5f3ef;
}

.product-photo {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #f5f3ef;
  transition: transform .35s ease;
}

.product-card__image-link:hover .product-photo,
.product-card__image-link:focus-visible .product-photo {
  transform: scale(1.025);
}

.product-card__body {
  padding: 22px 2px 25px;
}

.product-card__eyebrow {
  margin: 0 0 8px;
  color: #8a7c57;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .1em;
}

.product-card__title {
  margin: 0;
  color: #6a5b2f;
  font-family: var(--font-serif);
  font-size: 27px;
  font-weight: 400;
  line-height: 1.35;
}

.product-card__text {
  margin: 10px 0 14px;
  color: #625d55;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.8;
}

.product-card__link {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #8d6c2d;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: underline;
  text-decoration-color: #b9a47f;
  text-underline-offset: 5px;
}

.product-card__link:hover,
.product-card__link:focus-visible { color: #5c4a23; }
.product-card__image-link:focus-visible,
.product-card__link:focus-visible { outline: 2px solid #9a7b43; outline-offset: 4px; }

.recommended-products {
  padding: 36px 0 18px;
  margin: 42px 0 10px;
  border-top: 1px solid #e9e4d9;
}

.recommended-products .products-heading { font-size: clamp(30px, 5vw, 40px); }
.recommended-products__intro { margin: 12px 0 24px; }
.product-grid--recommended { grid-template-columns: 1fr; gap: 24px; }
.product-grid--recommended .product-photo { aspect-ratio: 1.5 / 1; }
.product-grid--recommended .product-card__body { padding-top: 17px; }

.product-detail-page { min-height: 100vh; background: #fff; font-size: 16px; }
.product-detail-page .site-header { color: #fff; background: #000; border-color: #292929; }
.product-detail-page .site-header__brand { color: #fff; }
.product-detail-page .site-header__brand span { letter-spacing: .04em; }
.product-detail-page .site-header__actions .site-header__link { display: none; color: #fff; }
.product-detail-page .language-switch { border: 0; background: transparent; }
.product-detail-page .language-switch__button { color: rgb(255 255 255 / 65%); }
.product-detail-page .language-switch__button.is-active { color: #fff; }
.product-detail-page .language-switch__separator { color: rgb(255 255 255 / 35%); }
.product-detail-page .site-footer { margin-top: 48px; }

.product-detail-shell { padding: 0 24px 64px; }
.product-breadcrumb {
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #77716a;
  font-size: 14px;
}
.product-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }

.product-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 10px 0 54px;
}
.product-hero__media { min-width: 0; }
.product-main-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: cover;
  object-position: center;
  background-color: #f5f3ef;
}
.product-image-note { margin: 9px 0 0; color: #77716a; font-size: 13px; line-height: 1.6; }
.product-hero__copy { min-width: 0; padding: 10px 0; }
.product-title {
  margin: 12px 0 0;
  color: #6a5b2f;
  font-family: var(--font-serif);
  font-size: clamp(46px, 10vw, 68px);
  font-weight: 400;
  line-height: 1.12;
}
.product-summary,
.product-copy-block,
.retention-callout > p:not(.products-eyebrow) {
  color: #4a4947;
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.9;
}
.product-summary { max-width: 540px; margin: 20px 0 22px; }
.product-price { margin: 0 0 23px; color: #77716a; font-size: 14px; }
.product-price strong { display: block; margin-top: 3px; color: #282725; font-size: 24px; font-weight: 500; }
.product-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-purchase label { width: 100%; color: #4a4947; font-size: 15px; font-weight: 500; }
.product-purchase input { width: 88px; min-height: 54px; padding: 10px 12px; border: 1px solid #d9d2c3; color: #2c2928; background: #fff; font: inherit; font-size: 16px; }
.product-purchase input:focus-visible { outline: 2px solid #9a7b43; outline-offset: 2px; }
.product-purchase .button { min-height: 54px; flex: 1 1 190px; justify-content: center; font-size: 17px; }
.product-demo-note,
.cart-feedback { margin: 12px 0 0; color: #77716a; font-size: 14px; line-height: 1.7; }
.cart-feedback { color: #5c4a23; font-weight: 500; }

.product-information,
.environment-section,
.how-to-section,
.related-section { padding: 42px 0; border-top: 1px solid #e9e4d9; }
.product-section-heading { max-width: 770px; }
.product-section-heading .section-lead { margin-bottom: 20px; }
.product-copy-block { max-width: 780px; margin-top: 18px; }
.product-copy-block p { margin: 0; }
.product-feature-list { margin: 23px 0 0; padding: 0 0 0 22px; color: #625d55; font-size: 16px; line-height: 1.9; }
.product-feature-list li + li { margin-top: 7px; }

.environment-grid { margin: 26px 0 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid #e3ddcf; }
.environment-grid > div { padding: 17px 0; display: grid; grid-template-columns: 1fr; gap: 5px; border-bottom: 1px solid #e3ddcf; }
.environment-grid dt { color: #77716a; font-size: 14px; line-height: 1.6; }
.environment-grid dd { margin: 0; color: #4a4947; font-family: var(--font-serif); font-size: 20px; line-height: 1.5; }
.environment-disclaimer { margin: 17px 0 0; color: #77716a; font-size: 14px; line-height: 1.7; }
.how-to-list { margin: 26px 0 0; padding: 0; list-style: none; counter-reset: howto; }
.how-to-list li { min-height: 66px; padding: 17px 0 17px 52px; position: relative; border-bottom: 1px solid #e9e4d9; color: #4a4947; font-family: var(--font-serif); font-size: 17px; line-height: 1.8; counter-increment: howto; }
.how-to-list li::before { width: 32px; height: 32px; position: absolute; top: 17px; left: 0; display: grid; place-items: center; border: 1px solid #b9a47f; color: #8d6c2d; font-size: 14px; content: counter(howto, decimal-leading-zero); }
.learning-note { margin-top: 26px; padding: 22px 24px; background: #f8f6f0; }
.learning-note p { margin: 0; color: #625d55; font-family: var(--font-serif); font-size: 16px; line-height: 1.8; }
.learning-note .learning-note__title { margin-bottom: 6px; color: #6a5b2f; font-size: 24px; }
.learning-note__future { display: inline-block; margin-top: 13px; color: #8a7c57; font-size: 13px; letter-spacing: .04em; }

.retention-callout { margin: 24px 0 18px; padding: 32px 24px 36px; border-top: 1px solid #e3ddcf; border-bottom: 1px solid #e3ddcf; background: #fff; }
.retention-callout .product-section-title { font-size: clamp(34px, 6vw, 44px); }
.retention-callout > p:not(.products-eyebrow) { max-width: 790px; margin: 14px 0 22px; font-size: 17px; }
.retention-callout .button { min-height: 60px; font-size: 16px; }
.related-section { padding: 42px 0 12px; }
.product-grid--related { grid-template-columns: 1fr; gap: 24px; margin-top: 25px; }
.product-grid--related .product-photo { aspect-ratio: 1.35 / 1; }

html[lang="ja"] .product-detail-page,
html[lang="ja"] .products-home,
html[lang="ja"] .recommended-products { line-height: 1.85; }
html[lang="ja"] .products-heading,
html[lang="ja"] .product-section-title,
html[lang="ja"] .product-title,
html[lang="ja"] .product-card__title,
html[lang="ja"] .product-summary,
html[lang="ja"] .product-copy-block,
html[lang="ja"] .environment-grid dd,
html[lang="ja"] .how-to-list li,
html[lang="ja"] .learning-note p,
html[lang="ja"] .retention-callout > p:not(.products-eyebrow),
html[lang="ja"] .products-intro,
html[lang="ja"] .section-lead,
html[lang="ja"] .recommended-products__intro {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
}

@media (min-width: 700px) {
  .products-home,
  .recommended-products,
  .related-section { padding-right: 7vw; padding-left: 7vw; }
  .products-home { padding-top: 72px; padding-bottom: 82px; }
  .products-intro,
  .section-lead,
  .recommended-products__intro { font-size: 18px; }
  .product-grid--home { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 38px; row-gap: 42px; }
  .product-card__body { padding: 23px 6px 28px; }
  .product-card__title { font-size: 30px; }
  .product-card__text { font-size: 17px; }
  .recommended-products { padding: 44px 0 22px; }
  .product-grid--recommended { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .product-grid--recommended .product-card__title { font-size: 25px; }
  .product-detail-shell { padding-right: 7vw; padding-left: 7vw; }
  .product-breadcrumb { min-height: 78px; font-size: 15px; }
  .product-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 7%; padding: 8px 0 74px; }
  .product-hero__copy { padding: 16px 0; }
  .product-information,
  .environment-section,
  .how-to-section,
  .related-section { padding-top: 54px; padding-bottom: 54px; }
  .environment-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 42px; }
  .environment-grid > div { min-height: 104px; align-content: center; }
  .how-to-list { max-width: 880px; }
  .retention-callout { padding: 44px 48px 48px; }
  .product-grid--related { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .product-grid--related .product-card__title { font-size: 26px; }
  .product-detail-page .site-header__actions .site-header__link { display: inline-block; }
}

@media (min-width: 960px) {
  .products-home,
  .recommended-products,
  .related-section { padding-right: max(7vw, calc((100vw - 1120px) / 2)); padding-left: max(7vw, calc((100vw - 1120px) / 2)); }
  .product-card__title { font-size: 32px; }
  .product-detail-shell { padding-right: max(7vw, calc((100vw - 1120px) / 2)); padding-left: max(7vw, calc((100vw - 1120px) / 2)); }
}

@media (prefers-reduced-motion: reduce) {
  .product-photo { transition: none; }
}
