/* TwinHome room stories: editorial layout for the desktop storefront. */
#page-inspiration, #page-inspiration-detail { background: #fff; color: #111; }
#page-inspiration .inspiration-page { max-width: 1280px; padding-top: 58px; padding-bottom: 100px; }
#page-inspiration-detail .inspiration-detail-page { max-width: 1280px; padding-top: 34px; padding-bottom: 110px; }
.ih-eyebrow { display: block; color: #0058a3; font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.ih-index-head { display: flex; justify-content: space-between; align-items: end; gap: 50px; padding-bottom: 45px; border-bottom: 1px solid #e7e7e7; }
.ih-index-head > div:first-child { max-width: 830px; }
.ih-index-head h1 { max-width: 750px; margin: 16px 0; font-size: clamp(38px, 3.4vw, 58px); line-height: 1.15; letter-spacing: -.04em; }
.ih-index-head p { max-width: 740px; color: #555; font-size: 16px; line-height: 1.85; }
.ih-index-count { display: grid; gap: 2px; min-width: 116px; padding-bottom: 4px; color: #666; }
.ih-index-count strong { color: #111; font-size: 56px; line-height: 1; }
.ih-index-count span { font-size: 13px; }
.ih-filters { display: flex; flex-wrap: wrap; gap: 10px; padding: 28px 0 52px; }
.ih-filters button { min-width: 76px; padding: 10px 19px; border: 1px solid #d7d7d7; border-radius: 999px; background: #fff; color: #222; cursor: pointer; font-size: 13px; font-weight: 700; }
.ih-filters button:hover, .ih-filters button.active { border-color: #111; background: #111; color: #fff; }
.ih-section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 27px; }
.ih-section-head h2 { margin-top: 11px; font-size: 33px; line-height: 1.25; letter-spacing: -.03em; }
.ih-section-head > p { color: #666; font-size: 13px; }
.ih-story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px 24px; }
.ih-story { min-width: 0; }
.ih-story button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #fff; color: #111; cursor: pointer; text-align: left; }
.ih-story-image { position: relative; height: 265px; overflow: hidden; background: #eee; }
.ih-story-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.ih-story:hover img { transform: scale(1.035); }
.ih-story-image span { position: absolute; left: 14px; bottom: 14px; padding: 7px 11px; background: #fff; color: #111; font-size: 11px; font-weight: 700; }
.ih-story-copy { padding-top: 17px; }
.ih-story-copy small { color: #0058a3; font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.ih-story-copy h3 { margin: 9px 0; font-size: 21px; line-height: 1.35; }
.ih-story-copy p { display: -webkit-box; overflow: hidden; min-height: 44px; color: #5f5f5f; font-size: 13px; line-height: 1.7; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ih-story-link { display: flex; align-items: center; justify-content: space-between; width: 175px; margin-top: 15px; padding-bottom: 7px; border-bottom: 2px solid #111; font-size: 13px; font-weight: 800; }
.ih-story-link b { font-size: 21px; font-weight: 400; }
.ih-story-featured { grid-column: 1 / -1; }
.ih-story-featured button { display: grid; grid-template-columns: minmax(0, 58%) minmax(0, 42%); min-height: 490px; background: #f4f4f2; }
.ih-story-featured .ih-story-image { height: 490px; }
.ih-story-featured .ih-story-copy { align-self: center; padding: 48px 70px; }
.ih-story-featured .ih-story-copy h3 { max-width: 390px; margin: 14px 0 16px; font-size: 39px; line-height: 1.18; letter-spacing: -.035em; }
.ih-story-featured .ih-story-copy p { display: block; max-width: 390px; min-height: 0; font-size: 15px; line-height: 1.85; }
.ih-story-featured .ih-story-link { margin-top: 26px; }
.ih-index-note { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-top: 82px; padding: 36px 43px; background: #f3f5f4; }
.ih-index-note > div { max-width: 760px; }
.ih-index-note h2 { margin: 10px 0; font-size: 27px; }
.ih-index-note p { color: #555; font-size: 13px; line-height: 1.8; }
.ih-index-note button { flex: 0 0 auto; min-height: 45px; padding: 0 22px; border: 0; border-radius: 999px; background: #111; color: #fff; cursor: pointer; font-weight: 700; }
#page-inspiration-detail .inspiration-detail-back { padding: 0 0 6px; border-bottom: 1px solid #111; border-radius: 0; color: #111 !important; font-size: 13px; font-weight: 700; }
.ih-detail-intro { max-width: 920px; padding: 54px 0 35px; }
.ih-detail-intro h1 { max-width: 840px; margin: 15px 0 18px; font-size: clamp(40px, 3.8vw, 64px); line-height: 1.12; letter-spacing: -.04em; }
.ih-detail-intro > p { max-width: 770px; color: #555; font-size: 17px; line-height: 1.9; }
.ih-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.ih-detail-tags span { padding: 7px 12px; background: #f1f1f1; font-size: 12px; }
.ih-detail-hero { position: relative; height: 620px; overflow: hidden; background: #eee; }
.ih-detail-hero > img { width: 100%; height: 100%; object-fit: cover; }
.ih-detail-hero > div { position: absolute; right: 0; bottom: 0; display: grid; gap: 7px; width: min(380px, 50%); padding: 24px 28px; background: rgba(0,0,0,.88); color: #fff; }
.ih-detail-hero span { font-size: 11px; letter-spacing: .18em; }
.ih-detail-hero strong { font-size: 17px; line-height: 1.5; }
.ih-detail-jump { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 25px 0 64px; padding: 17px 0; border-top: 1px solid #e1e1e1; border-bottom: 1px solid #e1e1e1; }
.ih-detail-jump strong { margin-right: 12px; font-size: 13px; }
.ih-detail-jump a { color: #333; font-size: 12px; text-decoration: none; }
.ih-detail-jump a:hover { color: #0058a3; text-decoration: underline; }
.ih-chapter { display: grid; grid-template-columns: minmax(0, 56%) minmax(0, 44%); gap: 0; align-items: stretch; margin: 0 0 84px; scroll-margin-top: 160px; }
.ih-chapter:nth-of-type(even) .ih-chapter-scene { order: 2; }
.ih-chapter:nth-of-type(even) .ih-chapter-body { order: 1; padding-left: 0; padding-right: 60px; }
.ih-chapter-scene figure { position: relative; width: 100%; height: 510px; margin: 0; overflow: hidden; background: #eee; }
.ih-chapter-scene img { width: 100%; height: 100%; object-fit: cover; }
.ih-chapter-scene figcaption { position: absolute; left: 18px; bottom: 18px; padding: 7px 11px; background: #fff; color: #444; font-size: 11px; }
.ih-chapter-body { align-self: center; padding: 25px 0 25px 60px; }
.ih-chapter-number { color: #0058a3; font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.ih-chapter-body h2 { max-width: 440px; margin: 18px 0 15px; font-size: 32px; line-height: 1.25; letter-spacing: -.025em; }
.ih-chapter-body > p { max-width: 440px; color: #555; font-size: 14px; line-height: 1.9; }
.ih-chapter-shopping { max-width: 440px; margin-top: 30px; padding-top: 19px; border-top: 1px solid #dcdcdc; }
.ih-shopping-label { display: grid; gap: 4px; margin-bottom: 15px; }
.ih-shopping-label strong { font-size: 13px; }
.ih-shopping-label span { color: #777; font-size: 11px; }
.ih-product { display: flex; min-width: 0; border: 1px solid #e1e1e1; background: #fff; }
.ih-product-media { position: relative; flex: 0 0 38%; min-height: 182px; background: #f3f3f3; }
.ih-product-media::after { position: absolute; inset: 0; z-index: 0; display: grid; place-items: center; padding: 12px; color: #888; content: '商品图片将在服务器资源中加载'; font-size: 11px; text-align: center; }
.ih-product-media img { position: relative; z-index: 1; width: 100%; height: 100%; min-height: 182px; object-fit: contain; background: #f3f3f3; }
.ih-product-media img.is-missing { display: none; }
.ih-product-info { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 17px; }
.ih-product-info small { color: #777; font-size: 10px; }
.ih-product-info h4 { display: -webkit-box; overflow: hidden; margin: 8px 0; font-size: 14px; line-height: 1.5; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ih-product-info p { color: #666; font-size: 11px; line-height: 1.6; }
.ih-product-foot { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 13px; }
.ih-product-foot strong { color: #0058a3; font-size: 17px; }
.ih-product-foot button { padding: 0 0 3px; border: 0; border-bottom: 1px solid #111; background: none; color: #111; cursor: pointer; font-size: 11px; font-weight: 700; white-space: nowrap; }
.ih-product-compact .ih-product-media { flex-basis: 32%; min-height: 140px; }
.ih-product-compact .ih-product-media img { min-height: 140px; }
.ih-shop-look { padding: 50px 0 72px; border-top: 2px solid #111; }
.ih-shop-look h2 { margin: 10px 0; font-size: 35px; }
.ih-shop-look > div:first-child p { color: #666; font-size: 13px; }
.ih-shop-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.ih-shop-grid .ih-product { display: block; }
.ih-shop-grid .ih-product-media { height: 210px; }
.ih-shop-grid .ih-product-media img { height: 210px; }
.ih-shop-grid .ih-product-info { min-height: 170px; }
.ih-more { padding-top: 38px; border-top: 1px solid #ddd; }
.ih-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.ih-more-grid .ih-story-image { height: 215px; }
@media (max-width: 1100px) {
  .ih-story-featured .ih-story-copy { padding: 35px; }
  .ih-chapter-body { padding-left: 34px; }
  .ih-chapter:nth-of-type(even) .ih-chapter-body { padding-right: 34px; }
  .ih-chapter-scene figure { height: 460px; }
  .ih-product-compact .ih-product-media { flex-basis: 28%; }
}
@media (max-width: 760px) {
  #page-inspiration .inspiration-page, #page-inspiration-detail .inspiration-detail-page { padding-left: 16px; padding-right: 16px; }
  .ih-index-head { align-items: start; }
  .ih-index-count { display: none; }
  .ih-story-grid, .ih-more-grid, .ih-shop-grid { grid-template-columns: 1fr; }
  .ih-story-featured button, .ih-chapter { grid-template-columns: 1fr; }
  .ih-story-featured .ih-story-image { height: 300px; }
  .ih-story-featured .ih-story-copy { padding: 26px; }
  .ih-story-featured .ih-story-copy h3 { font-size: 29px; }
  .ih-detail-hero { height: 400px; }
  .ih-detail-hero > div { width: 80%; }
  .ih-chapter:nth-of-type(even) .ih-chapter-scene, .ih-chapter:nth-of-type(even) .ih-chapter-body { order: initial; }
  .ih-chapter-body, .ih-chapter:nth-of-type(even) .ih-chapter-body { padding: 28px 0; }
  .ih-chapter-scene figure { height: 360px; }
  .ih-index-note { display: block; padding: 28px; }
  .ih-index-note button { margin-top: 18px; }
}
