/* 首页主图区 + 卖点条 + 画家标签 + 介绍折叠（fr 机四站，2026-11-23）。
   模板 templates/tpl_home_hero.php；只在首页由 common/html_header.php 加载（?v=filemtime）。
   本文件四站逐字节一致。后半部分（.mobile-trust-bar 起）是 reproductiontableaux 原先写在
   templatecss.css 里的首页 CRO 样式，原样搬来，三个姐妹站共用。品牌橙 #f60。 */

.home-hero { padding: 16px 0 0; }
.home-hero__inner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(440px, 40vw, 540px);
  border-radius: 6px;
  overflow: hidden;
  background: #f5f1ea;
}
.home-hero__media { position: absolute; top: 0; right: 0; bottom: 0; left: 0; }
.home-hero__media picture, .home-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: 70% 30%;
}
.home-hero__inner::after {            /* 左侧提亮，保证文字对比度，不遮右侧画作 */
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(90deg, rgba(250, 248, 244, .88) 0%, rgba(250, 248, 244, .62) 34%, rgba(250, 248, 244, 0) 52%);
  pointer-events: none;
}
.home-hero__text {
  position: relative;
  z-index: 1;
  width: 42%;                 /* 主图里画框左缘在 44% 以右，文案列不能越过它 */
  max-width: 540px;
  padding: 40px 0 40px 48px;
}
.home-hero .home-hero__title {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.18;
  color: #1f1f1f;
  margin: 0 0 20px;
  padding: 0 0 18px;
  position: relative;
}
.home-hero .home-hero__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 2px;
  background: #f60;
}
.home-hero__points { list-style: none; margin: 0 0 28px; padding: 0; }
.home-hero__points li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
}
.home-hero__points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 7px;
  height: 7px;
  background: #f60;
  transform: rotate(45deg);
}
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-hero a.home-hero__btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}
.home-hero a.home-hero__btn--solid { background: #f60; color: #fff; padding: 13px 30px; font-size: 15px; box-shadow: 0 4px 14px rgba(255, 102, 0, .25); }
.home-hero a.home-hero__btn--solid:hover, .home-hero a.home-hero__btn--solid:focus { background: #d95700; color: #fff; }
.home-hero a.home-hero__btn--ghost { background: rgba(255, 255, 255, .75); color: #c24e00; box-shadow: inset 0 0 0 1px #f60; }
.home-hero a.home-hero__btn--ghost:hover, .home-hero a.home-hero__btn--ghost:focus { background: #f60; color: #fff; }
.home-hero a.home-hero__btn:focus-visible { outline: 2px solid #1f1f1f; outline-offset: 2px; }

/* 没装主图时：只有文案，居中一块浅底 */
.home-hero--noimg .home-hero__inner { min-height: 0; justify-content: center; text-align: center; }
.home-hero--noimg .home-hero__inner::after { display: none; }
.home-hero--noimg .home-hero__text { width: auto; max-width: 720px; padding: 32px 24px; }
.home-hero--noimg .home-hero__title::after { left: 50%; margin-left: -28px; }
.home-hero--noimg .home-hero__points li { display: inline-block; margin: 0 10px 8px; }
.home-hero--noimg .home-hero__actions { justify-content: center; }

@media (max-width: 1199.98px) {
  .home-hero .home-hero__title { font-size: 31px; }
  .home-hero__text { padding-left: 36px; }
  .home-hero__points li { font-size: 15px; }
}
@media (max-width: 991.98px) {
  .home-hero__inner { flex-direction: column; align-items: stretch; min-height: 0; background: transparent; overflow: visible; }
  .home-hero__inner::after { display: none; }
  .home-hero__media { position: static; order: -1; }      /* 图在上、文案在下 */
  .home-hero__media img { height: auto; aspect-ratio: 3 / 2; object-position: 75% 30%; border-radius: 6px; }
  .home-hero__text { width: auto; max-width: none; padding: 18px 0 4px; }
  .home-hero .home-hero__title { font-size: 27px; }
  .home-hero a.home-hero__btn--ghost { background: transparent; }
  .home-hero--noimg .home-hero__inner { background: #f5f1ea; }
}
@media (max-width: 767.98px) {
  .home-hero { padding-top: 10px; }
  .home-hero .home-hero__title { font-size: 23px; margin-bottom: 14px; padding-bottom: 12px; }
  .home-hero__points { display: none; }   /* 手机上与下面的卖点条重复，省一屏高度，商品早点露出来 */
  .home-hero__actions { gap: 8px; margin-bottom: 14px; }
  .home-hero__actions .home-hero__btn { flex: 1 1 0; text-align: center; }
  .home-hero a.home-hero__btn, .home-hero a.home-hero__btn--solid { padding: 11px 12px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .home-hero a.home-hero__btn { transition: none; } }

@media (max-width: 767.98px) {
    .mobile-trust-bar {
        display: flex;
        flex-wrap: wrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 8px 0;
        margin: 0 0 12px;
        padding: 10px 0;
        list-style: none;
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
    }
    .mobile-trust-bar li {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 50%;
        padding: 4px 6px;
        text-align: center;
        font-size: 12px;
        line-height: 1.3;
        color: #333;
    }
    .mobile-trust-bar i {
        display: block;
        margin-bottom: 4px;
        font-size: 18px;
        color: #1a1a1a;
    }

    .artist-scroll-pills {
        display: flex;
        flex-wrap: nowrap;
        gap: 8px;
        margin: 0 0 8px;
        padding: 4px 0 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }
    .artist-scroll-pills::-webkit-scrollbar {
        display: none;
    }
    .artist-scroll-pills a {
        flex: 0 0 auto;
        scroll-snap-align: start;
        padding: 6px 14px;
        border: 1px solid #d9d9d9;
        border-radius: 999px;
        background: #fff;
        color: #222;
        font-size: 13px;
        line-height: 1.3;
        white-space: nowrap;
        text-decoration: none;
    }
    .artist-scroll-pills a.pill-highlight {
        border-color: #f60;
        color: #f60;
        background: #fff4ec;
        font-weight: 600;
        box-shadow: 0 1px 3px rgba(255, 102, 0, 0.12);
    }

    #featuredProducts {
        scroll-margin-top: 72px;
    }
    #featuredProducts .item {
        width: 50%;
        float: left;
        max-width: 50%;
        flex: 0 0 50%;
        padding: 6px;
    }

    .home-seo-accordion {
        margin-top: 4px;
    }
    .home-seo-accordion > summary {
        display: inline-block;
        cursor: pointer;
        list-style: none;
        color: #f60;
        font-size: 14px;
        font-weight: 600;
        padding: 6px 0;
    }
    .home-seo-accordion > summary i {
        display: inline-block;
        transition: transform 0.2s ease;
    }
    .home-seo-accordion[open] > summary i {
        transform: rotate(180deg);
    }
    .home-seo-accordion > summary::-webkit-details-marker {
        display: none;
    }
}

@media (min-width: 768px) {
    .mobile-trust-bar {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        justify-content: space-between;
        gap: 12px;
        margin: 0 0 16px;
        padding: 16px 0;
        list-style: none;
        border-top: 1px solid #ececec;
        border-bottom: 1px solid #ececec;
    }
    .mobile-trust-bar li {
        display: flex;
        flex: 1 1 0;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 0 8px;
        text-align: center;
        font-size: 14px;
        line-height: 1.35;
        color: #333;
    }
    .mobile-trust-bar i {
        display: block;
        margin-bottom: 6px;
        font-size: 22px;
        color: #1a1a1a;
    }
    .artist-scroll-pills {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin: 0 0 8px;
        padding: 4px 0 8px;
    }
    .artist-scroll-pills a {
        padding: 7px 16px;
        border: 1px solid #d9d9d9;
        border-radius: 999px;
        background: #fff;
        color: #222;
        font-size: 14px;
        line-height: 1.3;
        text-decoration: none;
    }
    .artist-scroll-pills a.pill-highlight {
        border-color: #f60;
        color: #f60;
        background: #fff4ec;
        font-weight: 600;
        box-shadow: 0 1px 3px rgba(255, 102, 0, 0.12);
    }
    .artist-scroll-pills a.pill-highlight:hover {
        border-color: #f60;
        background: #f60;
        color: #fff;
    }
    .artist-scroll-pills a:hover {
        border-color: #222;
        color: #111;
    }
    #featuredProducts {
        scroll-margin-top: 90px;
    }
    .home-seo-accordion {
        display: block;
    }
    .home-seo-accordion > summary {
        display: none;
    }
    .home-seo-accordion > *:not(summary) {
        display: block;
    }
}
