/* ── Home Hero ── Desktop-first (≥1024px) */
.home-hero {
  background: var(--fw-black);
  color: var(--fw-ivory);
  overflow: hidden;
}

.home-hero__inner {
  display: grid;
  /* 原型比例：左文字 38%，右图 62% */
  grid-template-columns: 38% 62%;
  height: 780px;
  align-items: stretch;
}

.home-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: max(20px, calc((100vw - var(--fw-container-wide)) / 2 + 24px));
  padding-right: 56px;
}

.home-hero h1 {
  /* 原型标题约 80–88px，两行 line-height 0.96 */
  font-size: clamp(68px, 5.8vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.home-hero h1 span {
  display: block;
}

.home-hero p {
  max-width: 460px;
  margin-top: 22px;
  color: rgba(250, 247, 242, 0.80);
  font-size: 17px;
  line-height: 1.65;
}

.home-hero .fw-actions {
  margin-top: 32px;
  gap: 14px;
}

/* 桌面端 hero 按钮略大 */
.home-hero .fw-btn {
  min-height: 48px;
  padding-inline: 26px;
  font-size: 14px;
}

.home-hero__media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

/* 桌面端图片无 overlay，全亮展示 */
.home-hero__media::after {
  position: absolute;
  inset: 0;
  content: "";
  background: transparent;
  pointer-events: none;
}

.home-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 原型图片焦点：窗边漆器，偏右上 */
  object-position: 60% 30%;
  /* 提示浏览器提前优化渲染 */
  will-change: transform;
  display: block;
}

.page-hero {
  padding-block: 80px;
  background: var(--fw-black);
  color: var(--fw-ivory);
  overflow: hidden;
}

.page-hero--light {
  background: var(--fw-ivory-soft);
  color: var(--fw-ink);
}

.page-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
  min-height: 360px;
}

.page-hero__content h1 {
  font-size: clamp(52px, 5.5vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.02em;
}

.page-hero__content p {
  max-width: 580px;
  margin-top: 20px;
  color: rgba(250, 247, 242, 0.82);
  font-size: 18px;
  line-height: 1.68;
}

.page-hero--light .page-hero__content p {
  color: var(--fw-muted);
}

/* Single image */
.page-hero__media > img {
  width: 100%;
  height: 420px;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

/* ── 4-image collage (Objects / Stories hero) ── */
.page-hero__collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: 460px;
  border-radius: var(--fw-radius-sm);
  overflow: hidden;
  border: 1px solid var(--fw-border-gold);
}

.page-hero__collage-cell {
  position: relative;
  overflow: hidden;
}

.page-hero__collage-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Central medallion ornament */
.page-hero__collage-ornament {
  position: absolute;
  /* sits at the bottom-right corner of cell [1], touching all 4 cells */
  bottom: -24px;
  right: -24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--fw-black);
  border: 2px solid var(--fw-gold);
  z-index: 4;
}

.page-hero__collage-ornament::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 74, 0.55);
}

.page-hero__collage-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--fw-border-gold);
  pointer-events: none;
}

.featured-piece {
  background: var(--fw-ivory);
}

.featured-piece__inner {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  align-items: center;
  gap: 68px;
}

.featured-piece__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.featured-piece__content h2,
.gift-advice h2,
.about-content__copy h2,
.contact-details h2,
.product-story h2,
.related-pieces h2,
.pieces-in-story h2 {
  font-size: clamp(38px, 4vw, 58px);
}

.featured-piece__content p:not(.fw-kicker),
.about-content__copy p,
.contact-hero p,
.contact-details p {
  max-width: 540px;
  margin-top: 16px;
  color: var(--fw-muted);
  font-size: 17px;
}

.story-shelf__track,
.story-shelf__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.shelf-card {
  position: relative;
  min-height: 140px;
  overflow: hidden;
  border-radius: var(--fw-radius-sm);
  background: var(--fw-ink);
  color: var(--fw-ivory);
}

.shelf-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  opacity: 0.72;
}

.shelf-card::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.78));
}

.shelf-card span {
  position: absolute;
  z-index: 1;
  inset: auto 14px 14px;
}

.shelf-card strong {
  display: block;
  font-family: var(--fw-font-serif);
  font-size: 24px;
  line-height: 1.05;
}

.shelf-card em {
  display: block;
  margin-top: 4px;
  color: rgba(250, 247, 242, 0.78);
  font-size: 13px;
  font-style: normal;
  line-height: 1.35;
}

.shop-feeling {
  background: var(--fw-ivory-soft);
}

.shop-feeling__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.feeling-card,
.gift-card,
.about-values article {
  display: grid;
  align-content: start;
  min-height: 132px;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius-sm);
  background: rgba(255, 250, 244, 0.72);
}

.feeling-card__icon,
.gift-card span,
.about-values article span {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--fw-red);
}

.feeling-card strong,
.gift-card strong,
.about-values h3 {
  font-family: var(--fw-font-serif);
  font-size: 24px;
  line-height: 1.05;
}

.feeling-card em,
.gift-card em,
.about-values p {
  color: var(--fw-muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.45;
}

.stories-preview__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gift-guide-banner {
  padding-block: 0 var(--fw-section-space);
  background: var(--fw-ivory);
}

.gift-guide-banner__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  align-items: center;
  min-height: 220px;
  overflow: hidden;
  border-radius: var(--fw-radius-sm);
  background: linear-gradient(135deg, var(--fw-red-deep), var(--fw-red));
  color: var(--fw-ivory);
}

.gift-guide-banner__content {
  padding: 40px 52px;
}

.gift-guide-banner h2 {
  font-size: clamp(36px, 4vw, 54px);
}

.gift-guide-banner p {
  margin-top: 10px;
  color: rgba(250, 247, 242, 0.82);
  font-size: 17px;
}

.gift-guide-banner__media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.collection-grid,
.product-detail {
  background: var(--fw-black);
  color: var(--fw-ivory);
}

.collection-grid__meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(250, 247, 242, 0.64);
  font-size: 14px;
}

.collection-grid__tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.collection-grid__tools select {
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--fw-border-gold);
  border-radius: var(--fw-radius-sm);
  background: transparent;
  color: var(--fw-ivory);
  font-size: 13px;
  cursor: pointer;
}

.collection-grid__tools button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid var(--fw-border-gold);
  border-radius: var(--fw-radius-sm);
  background: transparent;
  color: var(--fw-ivory);
  font-size: 13px;
  font-weight: 700;
}

.collection-grid__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.collection-gift-strip {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  align-items: center;
  gap: 28px;
  margin-top: 48px;
  padding: 22px 32px;
  border: 1px solid var(--fw-border-gold);
  border-radius: var(--fw-radius-sm);
  background: var(--fw-red-deep);
  color: var(--fw-ivory);
}

.collection-gift-strip span {
  color: var(--fw-gold);
  font-size: 28px;
}

.stories-grid {
  background: var(--fw-ivory);
}

.stories-grid__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.product-detail__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 24px;
  color: rgba(250, 247, 242, 0.7);
  font-size: 13px;
}

.product-detail__top {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.72fr);
  gap: 56px;
  padding-bottom: 72px;
}

.product-gallery__main img {
  width: 100%;
  aspect-ratio: 1.35;
  border: 1px solid var(--fw-border-gold);
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.product-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.product-gallery__thumbs button {
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--fw-border-gold);
  border-radius: var(--fw-radius-sm);
  background: transparent;
}

.product-gallery__thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-info {
  align-self: start;
}

.product-info h1 {
  font-size: clamp(54px, 5vw, 76px);
}

.product-info__summary {
  margin-top: 16px;
  color: rgba(250, 247, 242, 0.78);
  font-size: 18px;
}

.product-info__price {
  margin-block: 24px;
  color: var(--fw-ivory);
  font-family: var(--fw-font-serif);
  font-size: 34px;
}

.product-info .trust-row {
  margin-top: 18px;
}

.product-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
  color: rgba(250, 247, 242, 0.78);
  font-size: 14px;
}

.product-highlights li::before {
  content: "+";
  margin-right: 8px;
  color: var(--fw-gold);
}

.product-actions {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.product-actions .fw-btn,
.product-actions__cart .single_add_to_cart_button {
  width: 100%;
  min-height: 50px;
}

.product-actions__cart form,
.product-actions__cart .cart {
  display: grid;
  gap: 12px;
}

.product-actions__cart .quantity input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--fw-border-gold);
  border-radius: var(--fw-radius-sm);
  background: transparent;
  color: var(--fw-ivory);
}

.product-actions__cart .single_add_to_cart_button {
  border: 0;
  border-radius: var(--fw-radius-sm);
  background: var(--fw-red);
  color: #ffffff;
  font-weight: 800;
}

.product-story {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 80px;
}

.product-story article {
  padding: 24px;
  border: 1px solid rgba(201, 162, 74, 0.2);
  border-radius: var(--fw-radius-sm);
  background: rgba(250, 247, 242, 0.035);
}

.product-story h2 {
  font-size: 28px;
}

.product-story p,
.product-story li {
  color: rgba(250, 247, 242, 0.74);
  font-size: 14px;
}

.product-story ul {
  margin: 12px 0 0;
  padding-left: 18px;
}

.related-pieces {
  border-top: 1px solid rgba(201, 162, 74, 0.18);
}

.related-pieces__grid,
.pieces-in-story__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.story-detail {
  background: var(--fw-ivory);
}

.story-detail__hero img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center;
}

.story-detail__article {
  width: min(100% - 48px, 820px);
  margin-inline: auto;
  padding-block: 58px 64px;
}

.story-detail__heading {
  text-align: center;
}

.story-detail__heading h1 {
  font-size: clamp(46px, 5vw, 72px);
}

.story-detail__heading > p {
  margin: 18px auto 14px;
  color: var(--fw-muted);
  font-size: 18px;
}

.story-detail__heading .story-meta {
  justify-content: center;
}

.story-detail__body {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.story-detail__body p {
  color: var(--fw-muted);
  font-size: 18px;
  line-height: 1.75;
}

.story-detail__body h2 {
  font-size: 38px;
}

.story-detail blockquote {
  margin: 42px 0;
  padding: 32px 40px;
  border-top: 1px solid var(--fw-border-gold);
  border-bottom: 1px solid var(--fw-border-gold);
  color: var(--fw-wood);
  text-align: center;
  font-family: var(--fw-font-serif);
  font-size: 34px;
  line-height: 1.12;
}

.story-detail__inline-image {
  margin: 0;
}

.story-detail__inline-image img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.pieces-in-story {
  padding-bottom: 64px;
}

.pieces-in-story__head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 24px;
}

.story-detail__cta {
  display: flex;
  justify-content: center;
  padding: 24px;
  background: var(--fw-red-deep);
  color: var(--fw-ivory);
}

.gift-guide-hero {
  background: var(--fw-red-deep);
  color: var(--fw-ivory);
}

.gift-guide-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  align-items: center;
  min-height: 430px;
  gap: 64px;
}

.gift-guide-hero h1,
.about-hero h1,
.contact-hero h1 {
  font-size: clamp(54px, 6vw, 86px);
}

.gift-guide-hero p:not(.fw-kicker),
.about-hero p:not(.fw-kicker) {
  max-width: 620px;
  margin-top: 18px;
  color: rgba(250, 247, 242, 0.82);
  font-size: 18px;
}

.gift-guide-hero img {
  width: 100%;
  aspect-ratio: 1.2;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.gift-guide-group + .gift-guide-group {
  margin-top: 72px;
}

.gift-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gift-advice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 78px;
  padding: 34px 40px;
  border-radius: var(--fw-radius-sm);
  background: var(--fw-black);
  color: var(--fw-ivory);
}

.gift-advice p {
  margin-top: 10px;
  color: rgba(250, 247, 242, 0.74);
}

.about-hero {
  padding-block: 72px;
  background: var(--fw-black);
  color: var(--fw-ivory);
}

.about-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.75fr);
  align-items: center;
  gap: 64px;
}

.about-hero__media img {
  width: 100%;
  height: 480px;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.about-content__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  align-items: center;
  gap: 68px;
}

.about-content__copy p + p {
  margin-top: 14px;
}

.about-collage {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.about-collage img {
  width: 100%;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.about-collage img:first-child {
  grid-row: span 2;
  height: 100%;
}

.about-collage img:not(:first-child) {
  aspect-ratio: 1.22;
}

.about-values {
  padding-top: 0;
}

.about-values__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.contact-hero {
  padding-block: 84px;
  background: var(--fw-ivory-soft);
}

.contact-hero__inner {
  max-width: 1240px;
}

.contact-hero p {
  max-width: 640px;
  margin-top: 18px;
  color: var(--fw-muted);
  font-size: 18px;
}

.page-content__inner {
  max-width: 820px;
  color: var(--fw-muted);
  font-size: 18px;
  line-height: 1.75;
}

.page-content__inner > * + * {
  margin-top: 1em;
}

.contact-content__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 68px;
  align-items: start;
}

.contact-detail-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  margin-bottom: 24px;
}

.contact-detail-list a,
.contact-detail-list > span {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius-sm);
  background: #fffaf4;
}

.contact-detail-list strong {
  display: block;
}

.contact-content .trust-row {
  border-color: var(--fw-line);
}

.contact-content .trust-row span {
  background: #fffaf4;
  color: var(--fw-muted);
}

.fw-contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius-sm);
  background: #fffaf4;
}

.fw-form-helper,
.fw-field-wide {
  grid-column: 1 / -1;
}

.fw-form-helper {
  color: var(--fw-muted);
}

.fw-contact-form label {
  display: grid;
  gap: 8px;
  color: var(--fw-muted);
  font-size: 13px;
  font-weight: 800;
}

.fw-contact-form input,
.fw-contact-form textarea {
  width: 100%;
  border: 1px solid rgba(42, 23, 17, 0.22);
  border-radius: var(--fw-radius-sm);
  background: #ffffff;
  color: var(--fw-ink);
  padding: 13px 14px;
}

.fw-contact-form textarea {
  resize: vertical;
}

.fw-error-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: var(--fw-section-space) 0;
  text-align: center;
}

.fw-error-page h1 {
  font-size: clamp(36px, 5vw, 64px);
  margin-top: 12px;
}

.fw-error-page p:not(.fw-kicker) {
  margin-top: 16px;
  color: var(--fw-muted);
  font-size: 17px;
}

.fw-error-page .fw-actions {
  justify-content: center;
}

/* ── page-hero actions ── */
.page-hero__content .fw-actions {
  margin-top: 28px;
}

/* ── fw-feeling-grid alias (choose-by-feeling section) ── */
.fw-feeling-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.fw-feeling-card {
  display: grid;
  align-content: start;
  min-height: 132px;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--fw-line);
  border-radius: var(--fw-radius-sm);
  background: rgba(255, 250, 244, 0.72);
  color: var(--fw-ink);
  transition: border-color 160ms ease;
}

.fw-feeling-card:hover {
  border-color: var(--fw-gold);
}

/* ── Product info trust-row override ── */
.product-info .trust-row {
  margin-top: 18px;
}

/* ── fw-featured layout (featured-object.php) ── */
.fw-featured {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  align-items: center;
  gap: 68px;
  padding-block: var(--fw-section-space);
}

.fw-featured__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--fw-radius-sm);
  object-fit: cover;
}

.fw-featured__copy h2 {
  font-size: clamp(38px, 4vw, 58px);
}

.fw-featured__copy p:not(.fw-kicker) {
  max-width: 540px;
  margin-top: 16px;
  color: var(--fw-muted);
  font-size: 17px;
}
