/* ============================================================
   忻意礼 · 扬州美学覆盖层（增强，不改动原样式文件）
   宣纸底纹 / 五亭桥水墨 hero / 玻璃卡片 / 场景导购 / 动效
   ============================================================ */

/* ---- 全局宣纸底纹（保留原香槟渐变，叠加纹理） ---- */
body{
  background-image:
    linear-gradient(180deg,rgba(253,247,236,.90) 0%,rgba(247,231,206,.82) 42%,rgba(241,221,189,.92) 100%),
    url('/shopassets/yangzhou/paper-texture.webp') !important;
  background-size:auto,cover !important;
  background-attachment:fixed,fixed !important;
  background-position:center top,center top !important;
}
html{scroll-behavior:smooth;scroll-padding-top:84px}

/* ---- HERO：五亭桥水墨底图 + 可读性遮罩 ---- */
#hero.hero-bg::before{
  display:block !important;
  content:'';
  position:absolute;inset:0;z-index:0;pointer-events:none;
  background:
    linear-gradient(180deg,rgba(253,247,236,.82) 0%,rgba(253,247,236,.42) 38%,rgba(247,231,206,.72) 78%,rgba(241,221,189,.95) 100%),
    url('/shopassets/yangzhou/hero-bg.webp') center 32%/cover no-repeat;
}
#hero .hero-lineart{opacity:.22}
#hero .hero-bigcard{
  background:rgba(255,253,247,.72);
  backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);
  border:1px solid rgba(208,176,106,.45);
  box-shadow:0 18px 50px rgba(58,46,28,.14);
}
#hero .landmark-card{
  background:rgba(255,253,247,.66);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(208,176,106,.38);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;
}
#hero .landmark-card:hover{transform:translateY(-4px);box-shadow:0 14px 34px rgba(58,46,28,.16);border-color:rgba(163,47,38,.35)}

/* ---- 玻璃卡片统一质感 ---- */
.glass-card{
  background:rgba(255,253,247,.62);
  backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);
  border:1px solid rgba(208,176,106,.32);
  box-shadow:0 8px 26px rgba(58,46,28,.07);
}
.glass-card:hover{box-shadow:0 16px 40px rgba(58,46,28,.13)}
.special-card,.hot-card,.gift-box-card,.wish-card,.util-panel,.gift-workbench{
  background:rgba(255,253,247,.78);
  border:1px solid rgba(208,176,106,.30);
  box-shadow:0 10px 30px rgba(58,46,28,.08);
}

/* ---- 扬州四礼 · 场景导购（新增区块） ---- */
.yz-scenes{position:relative;padding:64px 0 8px}
.yz-scenes-inner{max-width:80rem;margin:0 auto;padding:0 1rem}
.yz-scenes-head{text-align:center;margin-bottom:30px}
.yz-scenes-eyebrow{font-size:11px;letter-spacing:.42em;color:#a5813f;font-weight:600;margin:0 0 12px}
.yz-scenes-title{margin:0;font-size:clamp(24px,3vw,34px);color:#3d2817;letter-spacing:.10em}
.yz-scenes-title::after{content:'';display:block;width:64px;height:2px;margin:16px auto 0;background:linear-gradient(90deg,transparent,#c9a14a,transparent)}
.yz-scenes-sub{color:#8a7154;font-size:13px;letter-spacing:.16em;margin:14px 0 0}
.yz-scene-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.yz-scene-card{
  position:relative;display:block;overflow:hidden;cursor:pointer;
  background:rgba(255,253,247,.85);border:1px solid rgba(208,176,106,.34);
  border-radius:16px;box-shadow:0 10px 28px rgba(58,46,28,.08);
  transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease;
}
.yz-scene-card:hover{transform:translateY(-5px);box-shadow:0 22px 52px rgba(58,46,28,.16);border-color:rgba(163,47,38,.32)}
.yz-scene-media{display:block;height:168px;overflow:hidden;background:#ece5d8}
.yz-scene-media img{width:100%;height:100%;object-fit:cover;transition:transform .6s ease}
.yz-scene-card:hover .yz-scene-media img{transform:scale(1.06)}
.yz-scene-body{display:block;padding:16px 18px 18px;position:relative}
.yz-scene-body::before{content:'';position:absolute;top:0;left:18px;right:18px;height:1px;background:linear-gradient(90deg,#c9a14a,transparent 72%);opacity:.4}
.yz-scene-name{display:block;font-size:17px;font-weight:600;color:#3d2817;letter-spacing:.14em;margin-bottom:7px}
.yz-scene-desc{display:block;font-size:11px;line-height:1.8;color:#8a7154;letter-spacing:.04em}
.yz-scene-go{display:inline-block;margin-top:11px;font-size:10px;letter-spacing:.22em;color:#a32f26}
.yz-scene-go::after{content:' →';transition:margin .25s ease}
.yz-scene-card:hover .yz-scene-go::after{margin-left:5px}

/* ---- 滚动显现（JS 添加，仅首屏以下元素） ---- */
.yz-reveal{opacity:0;transform:translateY(22px);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.7,.2,1)}
.yz-reveal.yz-in{opacity:1;transform:none}

/* ---- 图片淡入 ---- */
img.yz-img{opacity:0;transition:opacity .5s ease}
img.yz-img.yz-img-ok{opacity:1}

/* ---- 返回顶部 ---- */
#yzBackTop{
  position:fixed;right:22px;bottom:88px;z-index:60;
  width:46px;height:46px;border-radius:50%;cursor:pointer;
  background:rgba(255,253,247,.9);border:1px solid rgba(208,176,106,.5);
  color:#a32f26;font-size:19px;line-height:1;
  box-shadow:0 10px 28px rgba(58,46,28,.16);
  backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  opacity:0;visibility:hidden;transform:translateY(12px);
  transition:opacity .3s ease,transform .3s ease,visibility .3s;
  display:flex;align-items:center;justify-content:center;
}
#yzBackTop.yz-show{opacity:1;visibility:visible;transform:none}
#yzBackTop:hover{background:#a32f26;color:#fdf9f0;border-color:#a32f26}

/* ---- 移动端 ---- */
@media(max-width:1024px){.yz-scene-grid{grid-template-columns:repeat(2,1fr)}.yz-scene-media{height:150px}}
@media(max-width:640px){
  .yz-scenes{padding:44px 0 4px}
  .yz-scene-grid{grid-template-columns:repeat(2,1fr);gap:12px}
  .yz-scene-media{height:118px}
  .yz-scene-body{padding:12px 13px 14px}
  .yz-scene-name{font-size:14px}
  .yz-scene-desc{font-size:10px}
  #yzBackTop{right:14px;bottom:76px;width:42px;height:42px}
}

/* ---- 减少动态偏好 ---- */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .yz-reveal{opacity:1;transform:none;transition:none}
  img.yz-img{opacity:1;transition:none}
  .yz-scene-card,.yz-scene-media img,#yzBackTop{transition:none}
}

/* ============================================================
   v1.2.0 创新升级包：进度条 / 视差 / 搜索增强 / 风物志
   ============================================================ */

/* ---- 顶部滚动进度条 ---- */
#yzProgress{position:fixed;top:0;left:0;height:2px;width:0;z-index:200;pointer-events:none;
  background:linear-gradient(90deg,#c9a14a,#a32f26);box-shadow:0 0 6px rgba(201,161,74,.45);
  transition:width .12s linear}

/* ---- HERO 水墨视差（JS 写 --yz-py） ---- */
#hero.hero-bg::before{inset:-70px 0;transform:translate3d(0,var(--yz-py,0px),0)}

/* ---- 搜索热门词与别名建议 ---- */
.yz-search-assist{margin:2px 0 14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
/* 该条插在 tools-body 的 12 栅格里，必须独占整行，否则只占 1 列(约90px)把标签挤成竖排 */
#product-tools .yz-search-assist,#tools-body .yz-search-assist{grid-column:1/-1;width:100%;justify-content:center;margin:4px 0 2px}
@media(min-width:768px){
  #product-tools .yz-search-assist,#tools-body .yz-search-assist{justify-content:flex-start}
}
.yz-search-assist .yz-chip{
  border:1px solid rgba(208,176,106,.42);background:rgba(255,253,247,.72);
  color:#6b5a44;border-radius:999px;padding:5px 13px;font-size:11px;letter-spacing:.06em;
  cursor:pointer;transition:all .22s ease}
.yz-search-assist .yz-chip:hover{border-color:#a32f26;color:#a32f26;transform:translateY(-1px)}
.yz-search-assist .yz-chip-label{font-size:10px;color:#a5813f;letter-spacing:.14em;margin-right:2px}
.yz-alias-tip{display:none;width:100%;font-size:11px;color:#8a7154;margin-top:2px}
.yz-alias-tip.yz-show{display:block}
.yz-alias-tip button{border:0;background:none;color:#a32f26;font-size:11px;cursor:pointer;text-decoration:underline;text-underline-offset:3px;padding:0 2px}

/* ---- 扬州风物志（详情弹窗文化卡） ---- */
.yz-folklore{margin-top:18px;padding:15px 17px 14px;position:relative;
  background:rgba(247,231,206,.42);border:1px solid rgba(208,176,106,.38);border-radius:14px}
.yz-folklore::before{content:'风物志';position:absolute;top:-10px;left:14px;
  background:#a32f26;color:#fdf9f0;font-size:10px;letter-spacing:.28em;
  padding:3px 9px 3px 12px;border-radius:4px;box-shadow:0 3px 8px rgba(163,47,38,.22)}
.yz-folklore-title{margin:6px 0 6px;font-size:13px;font-weight:600;color:#3d2817;letter-spacing:.10em}
.yz-folklore-text{margin:0;font-size:12px;line-height:1.95;color:#6b5a44;letter-spacing:.02em}
@media(prefers-reduced-motion:reduce){
  #yzProgress{transition:none}
  #hero.hero-bg::before{transform:none}
}

/* ============================================================
   v1.1.12 图标与卡片 UI 精修
   ============================================================ */

/* ---- 可点卡片：键盘可达焦点框 + 按下态 ---- */
.landmark-card:focus-visible,.feature-tile:focus-visible,.yz-scene-card:focus-visible,
.hero-bigcard:focus-visible,.budget-card:focus-visible{
  outline:2px solid #a32f26;outline-offset:3px;border-radius:14px}
.landmark-card:active,.feature-tile:active,.yz-scene-card:active{transform:translateY(-1px) scale(.985)}

/* ---- 节日卡图标：悬浮微动效 ---- */
.landmark-card .landmark-icon-wrap svg{transition:transform .3s cubic-bezier(.34,1.56,.64,1)}
.landmark-card:hover .landmark-icon-wrap svg{transform:scale(1.14) rotate(-4deg)}
.landmark-card .landmark-icon-wrap{transition:box-shadow .3s ease}
.landmark-card:hover .landmark-icon-wrap{box-shadow:0 6px 18px rgba(58,46,28,.14)}

/* ---- feature-tile 图标统一为淡彩底彩线（与节日卡同体系） ---- */
.feature-tile-icon{background:linear-gradient(135deg,rgba(208,176,106,.26),rgba(208,176,106,.08)) !important;
  border:1px solid rgba(208,176,106,.35)}
.feature-tile-icon svg{stroke:#8a6a2a !important}
.feature-tile{transition:transform .25s ease,box-shadow .25s ease}
.feature-tile:hover{transform:translateY(-3px)}
.feature-tile:hover .feature-tile-icon svg{stroke:#a32f26 !important}

/* ---- 扬州四礼场景卡：印章式图标角标 ---- */
.yz-scene-card::after{
  content:'';position:absolute;top:12px;left:12px;width:38px;height:38px;border-radius:50%;
  background-color:rgba(253,247,236,.92);background-size:22px;background-position:center;background-repeat:no-repeat;
  border:1px solid rgba(208,176,106,.5);box-shadow:0 4px 12px rgba(58,46,28,.18);
  transition:transform .3s ease}
.yz-scene-card:hover::after{transform:rotate(-8deg) scale(1.08)}
/* 商务 · 茶盏 */
.yz-scene-card:nth-child(1)::after{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a32f26' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M5 10h11v4.5a5 5 0 0 1-5 5h-1a5 5 0 0 1-5-5z'/><path d='M16 11h1.6a2.4 2.4 0 0 1 0 4.8H16'/><path d='M8 6.2c0-1.3 1-1.4 1-2.7M12 6.2c0-1.3 1-1.4 1-2.7'/></svg>")}
/* 长辈 · 寿桃 */
.yz-scene-card:nth-child(2)::after{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a5c2e' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 20.5c-4.2-2.6-7.2-5.8-7.2-9.4a4.1 4.1 0 0 1 7.2-2.6A4.1 4.1 0 0 1 19.2 11c0 3.6-3 6.8-7.2 9.4z'/><path d='M12 8.5C12 6.2 13.2 4.8 15.4 4.2'/></svg>")}
/* 婚庆 · 双环同心 */
.yz-scene-card:nth-child(3)::after{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b0455f' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='12' r='5.2'/><circle cx='15' cy='12' r='5.2'/></svg>")}
/* 旅行 · 纸鸢 */
.yz-scene-card:nth-child(4)::after{background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d6e69' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'><path d='M12 3l6 8-6 8-6-8z'/><path d='M12 3v16M6 11h12'/><path d='M12 19c0 1.6-1.4 1.6-1.4 3'/></svg>")}

/* ================= 当季热销礼盒 · 文案UI精修 ================= */
/* 卡片标题：短金线收边 */
#special-grid .special-card h4{position:relative;padding-bottom:.55rem}
#special-grid .special-card h4::after{content:'';position:absolute;left:0;bottom:0;width:34px;height:2px;border-radius:2px;background:linear-gradient(90deg,#b98a2f,rgba(185,138,47,0))}
/* 内搭清单：宣纸底 + 细金边 + 内高光 */
#special-grid .xy-inner-box{background:linear-gradient(150deg,rgba(185,138,47,.08),rgba(185,138,47,.02) 62%),rgba(255,253,247,.65);border:1px solid rgba(185,138,47,.24);border-radius:12px;box-shadow:inset 0 1px 0 rgba(255,255,255,.75)}
/* 清单标签：红色「礼」字印章替代 emoji */
#special-grid .xy-inner-label{display:flex;align-items:center;letter-spacing:.14em;color:#8a6a2a}
#special-grid .xy-inner-icon{display:none}
#special-grid .xy-inner-label::before{content:'礼';display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:7px;background:#a03123;color:#fdf6ec;font-size:11px;line-height:1;border-radius:4px;letter-spacing:0;box-shadow:0 1px 3px rgba(160,49,35,.35)}
/* 清单条目与件数 */
#special-grid .xy-inner-item{line-height:1.8}
#special-grid .xy-inner-count{color:#b98a2f;font-weight:600;margin-left:2px;white-space:nowrap}
/* 包装条目：虚线分隔 */
#special-grid .xy-inner-pack{border-top:1px dashed rgba(185,138,47,.32);margin-top:.45rem;padding-top:.45rem;color:#8a6a2a}
/* 底部寄语：红金引用条 */
#special-grid .xy-inner-note{border-left:3px solid rgba(160,49,35,.35);padding-left:.6rem;line-height:1.7;color:#7a5c40}
/* 件数角标：淡金胶囊 */
#special-grid .xy-card-count{background:rgba(185,138,47,.1);border:1px solid rgba(185,138,47,.28);border-radius:999px;padding:.1rem .55rem;color:#8a6a2a;font-size:.72rem;letter-spacing:.04em}
@media(prefers-reduced-motion:reduce){
  #special-grid .special-card h4::after{transition:none}
}

/* ================= 礼盒网格：加宽卡片 + 预留高度（消除加载跳动 CLS） ================= */
@media(min-width:1400px){#special-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(min-width:1100px) and (max-width:1399.98px){#special-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(min-width:768px) and (max-width:1099.98px){#special-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
#special-grid{min-height:var(--yz-grid-min,0)}
/* 仅「扬州特产」页展示整组礼盒；按断点预留高度，避免商品数据回来时整页下跳（CLS 0.61→0） */
@media(min-width:1400px){#special-grid{min-height:2305px}}
@media(min-width:1100px) and (max-width:1399.98px){#special-grid{min-height:2780px}}
@media(min-width:900px) and (max-width:1099.98px){#special-grid{min-height:3700px}}
@media(min-width:768px) and (max-width:899.98px){#special-grid{min-height:3780px}}

/* ================= 移动端可点区域下限（WCAG 2.5.8） ================= */
@media(max-width:767.98px){
  .box-zoom{width:28px!important;height:28px!important;display:inline-flex!important;align-items:center;justify-content:center;border-radius:50%}
  .xy-size-row{min-height:34px}
  .xy-coll-toggle{min-height:32px;padding:6px 10px}
  .float-btn{min-width:44px;min-height:44px}
  .chat-fab{min-width:44px;min-height:44px}
}

/* ================= 首屏可读性：水墨底图上加柔光罩，文字不再被画面对冲 ================= */
#hero{isolation:isolate}
#hero>.max-w-7xl{position:relative;z-index:2}
#hero::after{content:'';position:absolute;inset:0;z-index:1;pointer-events:none;
  background:radial-gradient(58% 44% at 50% 46%, rgba(253,250,243,.86) 0%, rgba(253,250,243,.52) 48%, rgba(253,250,243,0) 74%)}
@media(max-width:767.98px){
  #hero::after{background:radial-gradient(88% 46% at 50% 38%, rgba(253,250,243,.92) 0%, rgba(253,250,243,.55) 58%, rgba(253,250,243,0) 84%)}
}
/* 信任标签：淡金描边小药丸，压在插画上也清楚 */
.trust-strip span{display:inline-flex;align-items:center;gap:.35em;padding:4px 10px;border-radius:999px;
  background:rgba(255,253,247,.8);border:1px solid rgba(208,176,106,.34);color:#5f4730;
  box-shadow:0 1px 4px rgba(120,90,50,.06)}
.hero-tagline{color:#4a3520!important;text-shadow:0 1px 10px rgba(255,252,245,.9)}

/* ================= 详情弹窗：操作条吸附底部，按钮永远够得着 ================= */
#product-modal{overscroll-behavior:contain}
.yz-modal-actions{position:sticky;bottom:-1px;z-index:6;padding-bottom:6px;
  background:linear-gradient(180deg,rgba(248,244,235,.72),#f8f4eb 46%)}

/* ================= 横向滚动条统一为细金条 ================= */
.hot-track{scrollbar-width:thin;scrollbar-color:rgba(185,138,47,.35) transparent}
.hot-track::-webkit-scrollbar{height:6px}
.hot-track::-webkit-scrollbar-thumb{background:rgba(185,138,47,.32);border-radius:999px}
.hot-track::-webkit-scrollbar-track{background:transparent}

/* 搜索辅助条与下一行间距收紧 */
.yz-search-assist{margin-bottom:6px}
#product-tools .yz-search-assist,#tools-body .yz-search-assist{margin-bottom:4px}

/* 「四时八节·节日主题」小标：压在水墨上也清楚 */
#hero p[style*="0.3em"]{color:#8a6a2a!important;text-shadow:0 1px 8px rgba(255,252,245,.92),0 0 1px rgba(255,252,245,.9)}


/* ============================================================
   v1.1.23 首屏一屏收口 · 对比度达标 · 键盘焦点 · 移动端避让
   ============================================================ */

/* ---------- 1. 首屏高度收口：桌面 1440×900 一屏内放完 ---------- */
@media(min-width:768px){
  #hero>.max-w-7xl{padding-top:8px;padding-bottom:10px}
  #hero .hero-title{font-size:clamp(2.6rem,6vw,4.75rem);margin-bottom:16px}
  #hero .hero-subtitle{margin-bottom:16px}
  #hero .hero-tagline{margin-bottom:16px}
  #hero .hero-bigcard{margin-bottom:14px}
  #hero .hero-entry-row{margin-bottom:12px}
  #hero .text-center>.grid{margin-bottom:10px!important}
  /* 印章分隔条与上方信任标签之间收紧 */
  #hero .seal-row,#hero>.max-w-7xl>.text-center>div.flex.items-center.justify-center.gap-4{margin-bottom:16px!important}
}
@media(min-width:1440px){
  #hero .hero-title{font-size:4.6rem}
}

/* ---------- 2.「扬州特产」通栏大卡：右侧补信息，消除大片空白 ---------- */
#hero .hero-bigcard{max-width:820px}
.hero-bigcard-go{
  position:relative;flex:0 0 auto;display:inline-flex;align-items:center;gap:.5em;
  margin-left:auto;padding:7px 14px;border-radius:999px;
  font-size:.76rem;letter-spacing:.08em;color:#8a6a2a;
  background:rgba(208,176,106,.12);border:1px solid rgba(208,176,106,.34);
  transition:background .25s ease,color .25s ease,border-color .25s ease,transform .25s ease;
  white-space:nowrap;
}
.hero-bigcard-go em{font-style:normal;font-weight:700;font-size:.95rem;color:#a32f26;letter-spacing:0}
.hero-bigcard-go svg{width:14px;height:14px;transition:transform .25s ease}
#hero .hero-bigcard:hover .hero-bigcard-go{background:rgba(163,47,38,.10);border-color:rgba(163,47,38,.32);color:#a32f26}
#hero .hero-bigcard:hover .hero-bigcard-go svg{transform:translateX(3px)}

/* ---------- 3. 移动端：大卡横排紧凑 + 信任标签 2×2 ---------- */
@media(max-width:767.98px){
  #hero .hero-bigcard{
    flex-wrap:nowrap;justify-content:flex-start;text-align:left;
    max-width:100%;padding:11px 13px;gap:11px;margin-bottom:18px;
  }
  #hero .hero-bigcard-icon{width:42px;height:42px;border-radius:12px}
  #hero .hero-bigcard-icon svg{width:23px;height:23px}
  #hero .hero-bigcard-text{flex:1 1 auto;text-align:left;order:1}
  #hero .hero-bigcard-title{font-size:1.06rem;letter-spacing:.14em}
  #hero .hero-bigcard-sub{font-size:.7rem;margin-top:2px}
  .hero-bigcard-go{padding:5px 10px;font-size:.68rem;gap:.35em}
  .hero-bigcard-go em{font-size:.85rem}
}
@media(max-width:520px){
  .trust-strip{display:grid;grid-template-columns:1fr 1fr;gap:6px;max-width:320px;margin:0 auto;justify-items:stretch}
  .trust-strip span{justify-content:center;padding:5px 6px;font-size:.72rem}
  .trust-strip span svg{flex:0 0 auto}
  /* 小屏：大卡右侧改纯箭头，既不挤压也不留空白 */
  .hero-bigcard-go{
    display:inline-flex;order:3;width:24px;height:24px;padding:0;justify-content:center;
    align-self:center;margin-left:auto;
    font-size:0;background:transparent;border:0;color:#a32f26;
  }
  .hero-bigcard-go svg{width:16px;height:16px}
}

/* ---------- 4. 移动端浮动按钮：首屏弱化，滚动后显现 ---------- */
@media(max-width:1199.98px){
  /* 首屏收起侧边工具栏（分享/收藏/顶部），避免压住节日卡；滚动后淡入 */
  .float-tools{opacity:0;pointer-events:none;transform:translateX(10px);
    transition:opacity .35s ease,transform .35s ease}
  body.yz-scrolled .float-tools{opacity:1;pointer-events:auto;transform:none}
  /* 客服入口首屏保留但缩小外扩边距，减少遮挡 */
  .chat-fab{opacity:.72;transition:opacity .35s ease}
  body.yz-scrolled .chat-fab{opacity:1}
}

/* ---------- 5. 对比度达标（WCAG AA ≥4.5:1） ---------- */
/* 次要灰字：hsl(208,8%,53%) 对比 3.34 → 42% 对比 5.0 */
.text-warm-gray{color:hsl(208,8%,42%)!important}
.text-warm-gray\/90{color:hsl(208,8%,32%)!important}
.text-warm-gray\/60{color:hsl(208,8%,45%)!important}
/* 礼盒清单件数：金 #b98a2f 3.06 → 深金 4.7 */
#special-grid .xy-inner-count{color:#8a6620}
/* 装饰小标字号下限 12px（11.2px 中文偏小） */
.landmark-sub,.tag-gold,#special-grid .xy-card-count{font-size:.75rem}
/* 场景区眉标：金 #a5813f 对比提升 */
.yz-scenes-eyebrow{color:#8a6620}
/* 「全部礼盒」等金色小标 */
#hero p[style*="0.3em"]{color:#7d5f24!important}

/* ---------- 6. 键盘焦点统一可见 ---------- */
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,
textarea:focus-visible,[tabindex]:focus-visible,[onclick]:focus-visible{
  outline:2px solid #a32f26!important;outline-offset:3px!important;
}
/* 深底环境用米金焦点环保证可见 */
footer a:focus-visible{outline-color:#d0b06a!important}

/* ---------- 7. 触摸目标：筛选胶囊与工具按钮 ---------- */
@media(max-width:767.98px){
  .util-chip{min-height:34px;padding-top:6px;padding-bottom:6px}
  #product-tools .util-chip,#tools-body .util-chip{min-height:34px}
}

/* ---------- 8. 热销横滚：右侧渐隐提示可滑动 ---------- */
.hot-track{position:relative}
@media(min-width:768px){
  #hot-grid,.hot-track{--fade:1}
}

/* ---------- 9. 卡片内在节奏：礼盒卡底部信息对齐 ---------- */
#special-grid .special-card{display:flex;flex-direction:column}
#special-grid .xy-inner-box{display:flex;flex-direction:column}

/* ---------- 10. 首屏已一屏收口，"向下探寻"滚轮提示与按钮重叠 → 桌面隐藏 ---------- */
@media(min-width:768px){
  #hero .text-center>[class*="bottom-8"]{display:none!important}
}

/* ---------- 11. 热销横滚：右端渐隐，暗示可横向滑动 ---------- */
#hot-track{
  -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 64px),rgba(0,0,0,.15) 100%);
  mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 64px),rgba(0,0,0,.15) 100%);
}
@media(max-width:767.98px){
  #hot-track{
    -webkit-mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 40px),rgba(0,0,0,.2) 100%);
    mask-image:linear-gradient(90deg,#000 0,#000 calc(100% - 40px),rgba(0,0,0,.2) 100%);
  }
}

/* ---------- 12. 热销横滚卡：不参与滚动浮现（重建后可能永久透明） ---------- */
#hot-track .hot-card{opacity:1!important;transform:none!important}

/* ---------- 13. 商品卡标签：竖排堆叠 → 横排一行（不再遮挡主体） ---------- */
#product-grid .product-img-wrap>[class*="flex-col"]{
  flex-direction:row!important;flex-wrap:wrap!important;
  gap:3px!important;max-width:calc(100% - 54px);
}
#product-grid .product-img-wrap>[class*="flex-col"] .seal-tag{
  flex:0 0 auto;line-height:1.5;
}
@media(max-width:767.98px){
  /* 移动端卡片窄，最多显示 2 个标签，避免压到商品图 */
  #product-grid .product-img-wrap>[class*="flex-col"] .seal-tag:nth-child(n+3){display:none}
}

/* 标签最多 3 个，避免折行后单字挂尾 */
#product-grid .product-img-wrap>[class*="flex-col"] .seal-tag:nth-child(n+4){display:none!important}

/* ---------- 14. 区块眉标（全 部 礼 盒 / 精 选 六 款）：金色加深到 AA ---------- */
#special-kicker,.yz-scenes-eyebrow,.special-kicker{color:#7d5f24!important}

/* ---------- 15. 礼盒「内搭」框：撑满卡片中段，包装行统一贴底 ---------- */
#special-grid .xy-inner-box{flex:1 1 auto}
#special-grid .xy-inner-pack{margin-top:auto}
#special-grid .xy-inner-box>*:last-child{margin-bottom:0}

/* ---------- 16. 仅一段说明的礼盒（无逐项清单）：文字垂直居中，不留大片空白 ---------- */
#special-grid .xy-inner-box>.xy-inner-desc{
  margin:auto 0;font-size:.84rem;line-height:2.05;color:#5a4732;
  padding-left:.7rem;border-left:2px solid rgba(185,138,47,.32);
}

/* ---------- 17. 首屏背景图按屏宽分发：移动端不再下载 1536 宽大图 ---------- */
@media(max-width:767.98px){
  #hero.hero-bg::before{
    background-image:
      linear-gradient(180deg,rgba(253,247,236,.82) 0%,rgba(253,247,236,.42) 38%,rgba(247,231,206,.72) 78%,rgba(241,221,189,.95) 100%),
      url('/shopassets/yangzhou/hero-bg-800.webp');
    background-position:center top,center 32%;
    background-size:auto,cover;
    background-repeat:no-repeat,no-repeat;
  }
}
@media(min-width:768px) and (max-width:1399.98px){
  #hero.hero-bg::before{
    background-image:
      linear-gradient(180deg,rgba(253,247,236,.82) 0%,rgba(253,247,236,.42) 38%,rgba(247,231,206,.72) 78%,rgba(241,221,189,.95) 100%),
      url('/shopassets/yangzhou/hero-bg-1100.webp');
    background-position:center top,center 32%;
    background-size:auto,cover;
    background-repeat:no-repeat,no-repeat;
  }
}

/* ---------- 18. 矮屏（≤820 高）进一步压缩首屏，避免底部按钮只露半截 ---------- */
@media(min-width:768px) and (max-height:830px){
  #hero>.max-w-7xl{padding-top:2px;padding-bottom:6px}
  #hero .hero-title{font-size:clamp(2.1rem,4.7vw,3.4rem);margin-bottom:12px}
  #hero .hero-subtitle{font-size:clamp(.95rem,1.6vw,1.15rem)!important;margin-bottom:12px}
  #hero .trust-strip span{padding:3px 9px;font-size:.76rem}
  #hero .hero-tagline{margin-bottom:12px;font-size:.95rem!important}
  #hero .hero-bigcard{margin-bottom:10px;padding:12px 18px}
  #hero .hero-entry-row{margin-bottom:8px}
  #hero .landmark-card{padding-top:6px;padding-bottom:6px}
}

/* 矮屏：底部特色卡与主按钮再收一档，保证一屏完整 */
@media(min-width:768px) and (max-height:830px){
  #hero .text-center>.grid{margin-bottom:2px!important}
  #hero .text-center>.grid>*{padding-top:9px!important;padding-bottom:9px!important}
  #hero .text-center>.flex.justify-center.gap-5>a,
  #hero .text-center>.flex.justify-center.gap-5>button{padding-top:9px!important;padding-bottom:9px!important;font-size:.92rem}
}

/* ============================================================
   v1.1.24 · 内容扩容：按场合选礼 / 新到好物 / 详情页搭配
   ============================================================ */

/* ---------- 1. 按场合选礼 ---------- */
.yz-occ{
  margin:0 0 2rem;padding:1.15rem 1.1rem 1.05rem;border-radius:18px;
  background:linear-gradient(160deg,#fdfaf3 0%,#faf4e8 100%);
  border:1px solid rgba(208,176,106,.30);
  box-shadow:0 3px 20px rgba(122,94,52,.055),inset 0 1px 0 #fff;
  position:relative;
}
.yz-occ::after{
  content:"";position:absolute;inset:5px;border-radius:14px;
  border:1px solid rgba(208,176,106,.16);pointer-events:none;
}
.yz-occ-head{text-align:center;margin-bottom:.85rem;position:relative;z-index:1}
.yz-occ-kicker{
  font-size:.7rem;letter-spacing:.28em;color:#8a6620;margin:0 0 .28rem;
}
.yz-occ-title{
  font-family:"Noto Serif SC",serif;font-size:1.16rem;color:#3d3229;
  margin:0;letter-spacing:.02em;
}
.yz-occ-title em{font-style:normal;color:#a32f26}
.yz-occ-sub{
  font-size:.78rem;color:#6b5b47;margin:.35rem 0 0;line-height:1.7;
}
.yz-occ-row{
  display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:.9rem;
  position:relative;z-index:1;
}
.yz-occ .cat-btn{
  font-size:.86rem;padding:.46rem 1rem;gap:.42rem;min-height:34px;
}
.yz-occ .cat-btn .yz-occ-ico{font-size:.95rem;line-height:1}
.yz-occ .cat-btn small{
  display:block;font-size:.63rem;opacity:.72;letter-spacing:.02em;font-weight:400;
}
.yz-occ-result{display:none;position:relative;z-index:1}
body.yz-occ-on .yz-occ-result{display:block}

.yz-occ-bar{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  margin-top:1rem;padding-top:.85rem;border-top:1px dashed rgba(208,176,106,.42);
  flex-wrap:wrap;
}
.yz-occ-bartext{font-size:.84rem;color:#5a4732;line-height:1.8}
.yz-occ-bartext b{color:#a32f26;font-weight:600}
.yz-occ-bartext span{color:#8a6620}
.yz-occ-exit{
  border:1px solid rgba(163,47,38,.32);background:rgba(163,47,38,.05);
  color:#a32f26;font-size:.78rem;padding:.4rem .95rem;border-radius:999px;cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease;white-space:nowrap;
}
.yz-occ-exit:hover{background:#a32f26;color:#fdf9f0;border-color:#a32f26}

.yz-occ-grid{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;margin-top:1rem;
}
@media(max-width:1023.98px){.yz-occ-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767.98px){
  .yz-occ-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .yz-occ{padding:.95rem .75rem;border-radius:15px}
  .yz-occ-title{font-size:1.04rem}
  .yz-occ .cat-btn{font-size:.8rem;padding:.42rem .78rem;min-height:32px}
  .yz-occ .cat-btn small{font-size:.58rem}
}
.yz-occ-card{
  display:flex;flex-direction:column;
  animation:yzOccIn .34s ease both;
}
@keyframes yzOccIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.yz-occ-card .product-img-wrap img{transition:transform .35s ease}
.yz-occ-card:hover .product-img-wrap img{transform:scale(1.045)}

/* 场景模式：收起常规筛选与网格，避免两套列表打架 */
body.yz-occ-on #cat-row,
body.yz-occ-on #subcat-row,
body.yz-occ-on #product-tools,
body.yz-occ-on #product-count,
body.yz-occ-on #product-grid,
body.yz-occ-on #pz-load-more,
body.yz-occ-on #hot-sales,
body.yz-occ-on #festival-banner{display:none!important}

/* ---------- 2. 热销 / 新到 切换 ---------- */
.yz-hot-tabs{
  display:inline-flex;gap:3px;padding:3px;border-radius:999px;
  background:rgba(208,176,106,.13);border:1px solid rgba(208,176,106,.30);
  margin-top:.15rem;
}
.yz-tab{
  border:0;background:transparent;padding:.32rem .82rem;border-radius:999px;
  font-size:.76rem;color:#7d5f24;cursor:pointer;letter-spacing:.04em;
  transition:background .2s ease,color .2s ease;white-space:nowrap;
}
.yz-tab:hover{color:#a32f26}
.yz-tab.active{background:#a32f26;color:#fdf9f0;box-shadow:0 2px 8px rgba(163,47,38,.24)}
.yz-hot-note{
  font-size:.72rem;color:#7a6a55;margin:.5rem 0 0;letter-spacing:.02em;
}
@media(max-width:767.98px){
  .yz-tab{font-size:.72rem;padding:.3rem .68rem}
}

/* ---------- 3. 详情页「常一起买」 ---------- */
.yz-pair{margin-top:1.4rem;padding:1.1rem 24px 1.7rem;
  border-top:1px dashed rgba(208,176,106,.45)}
@media(min-width:768px){.yz-pair{padding:1.2rem 32px 1.9rem}}
.yz-pair-head{display:flex;align-items:baseline;gap:8px;margin-bottom:.75rem}
.yz-pair-kicker{font-size:.66rem;letter-spacing:.22em;color:#8a6620;margin:0}
.yz-pair-title{font-family:"Noto Serif SC",serif;font-size:1rem;color:#3d3229;margin:0}
.yz-pair-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}
@media(max-width:767.98px){.yz-pair-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.yz-pair-item{
  border:1px solid rgba(208,176,106,.28);border-radius:12px;overflow:hidden;
  background:#fdfaf3;cursor:pointer;transition:border-color .2s ease,box-shadow .2s ease,transform .2s ease;
  display:flex;flex-direction:column;
}
.yz-pair-item:hover{border-color:rgba(163,47,38,.32);box-shadow:0 4px 14px rgba(122,94,52,.10);transform:translateY(-2px)}
.yz-pair-img{height:66px;display:flex;align-items:center;justify-content:center;background:rgba(248,244,235,.9)}
.yz-pair-img img{max-width:100%;max-height:100%;object-fit:contain;padding:3px}
.yz-pair-name{
  font-size:.7rem;color:#3d3229;line-height:1.45;padding:5px 6px 2px;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  min-height:2.2em;
}
.yz-pair-foot{display:flex;align-items:center;justify-content:space-between;padding:0 6px 6px;gap:4px}
.yz-pair-price{font-size:.8rem;color:#a32f26;font-weight:600}
.yz-pair-add{
  border:1px solid rgba(163,47,38,.28);background:transparent;color:#a32f26;
  font-size:.66rem;padding:2px 7px;border-radius:999px;cursor:pointer;line-height:1.6;
}
.yz-pair-add:hover{background:#a32f26;color:#fdf9f0}

/* 场景结果：移动端底部有吸底礼单栏，留出避让 */
@media(max-width:767.98px){
  body.yz-occ-on #yz-occ{padding-bottom:.6rem}
  .yz-occ-result{padding-bottom:96px}
}

/* ============================================================
   v1.1.25 · 简约精修：先看懂，再选礼，后下单
   保留扬州水墨识别度，减少重复入口、玻璃叠层与装饰噪音
   ============================================================ */
:root{
  --yz-paper:#f8f4ec;
  --yz-card:#fffdf8;
  --yz-ink:#382b22;
  --yz-muted:#6c6054;
  --yz-line:rgba(133,105,67,.18);
  --yz-red:#96362d;
  --yz-gold:#8a682f;
}
body{
  background-color:var(--yz-paper);
  background-image:linear-gradient(180deg,rgba(251,248,241,.96),rgba(247,240,229,.95)),url('/shopassets/yangzhou/paper-texture.webp')!important;
  color:var(--yz-ink);
}
.glass-card,.special-card,.hot-card,.gift-box-card,.wish-card,.util-panel,.gift-workbench{
  background:var(--yz-card);
  border-color:var(--yz-line);
  box-shadow:0 8px 24px rgba(72,52,31,.055);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}
.glass-card:hover,.special-card:hover,.gift-box-card:hover{box-shadow:0 14px 34px rgba(72,52,31,.09)}
.sec-title{color:var(--yz-ink);letter-spacing:.055em}
.ornate-divider>span,#special-kicker,#hot-kicker,#gift-kicker,#showcase-kicker{
  color:var(--yz-gold)!important;letter-spacing:.18em;
}
#special-sub,#gift-sub,#showcase-sub,#products-head>p,#theme-sub,#theme-count{
  color:var(--yz-muted)!important;line-height:1.9;letter-spacing:.015em;
}
#special-head,#gift-head,#products-head,#showcase .text-center.mb-10{max-width:780px;margin-left:auto;margin-right:auto}
#special-tags{display:none}
#special .text-center.mb-14{margin-bottom:2.4rem}
#special-grid .special-card{border-radius:18px}
#special-grid .special-card h4{letter-spacing:.025em}
#special-grid .xy-inner-box{background:#fbf7ef;border-color:rgba(138,104,47,.18);box-shadow:none}
#special-grid .xy-inner-note{color:#675442}
#special-grid .xy-card-count{background:#f5efe3;border-color:rgba(138,104,47,.2);color:#755727}

/* 主按钮与次按钮：减少渐变和悬浮跳动，动作更明确 */
#hero .yz-hero-actions>a{
  min-height:48px;padding:.8rem 1.65rem!important;border-radius:13px!important;
  box-shadow:none!important;letter-spacing:.04em;transform:none!important;
}
#hero .yz-hero-actions>a:first-child{background:var(--yz-red)!important;color:#fffaf1!important}
#hero .yz-hero-actions>a:first-child:hover{background:#793029!important}
#hero .yz-hero-actions>a:last-child{background:rgba(255,253,248,.72)!important;border:1px solid rgba(150,54,45,.26)!important;color:#683a32!important}

/* 首页首屏：品牌心意 → 说明 → 两个动作 → 信任 → 时节入口 */
#hero.yz-hero-minimal{min-height:calc(100svh - 34px)}
#hero.yz-hero-minimal>.max-w-7xl{padding-top:18px;padding-bottom:24px}
#hero.yz-hero-minimal .hero-subtitle{font-size:.84rem!important;letter-spacing:.28em!important;margin-bottom:18px!important;color:#8f3c33!important}
#hero.yz-hero-minimal .hero-title{font-size:clamp(3rem,5.8vw,5rem)!important;letter-spacing:.055em!important;margin-bottom:20px!important}
#hero.yz-hero-minimal .yz-hero-desc{
  max-width:690px;margin:0 auto 26px;color:#56483b;font-size:.94rem;line-height:2.05;
  letter-spacing:.045em;text-shadow:0 1px 8px rgba(255,252,245,.8);
}
#hero.yz-hero-minimal .hero-tagline,
#hero.yz-hero-minimal .hero-bigcard,
#hero.yz-hero-minimal .seal-circle,
#hero.yz-hero-minimal .feature-tile,
#hero.yz-hero-minimal .text-center>[class*="bottom-8"]{display:none!important}
#hero.yz-hero-minimal .text-center>.flex.items-center.justify-center.gap-4{display:none!important}
#hero.yz-hero-minimal .text-center>.grid:has(.feature-tile){display:none!important}
#hero.yz-hero-minimal .yz-hero-actions{margin:0!important}
#hero.yz-hero-minimal .trust-strip{
  display:flex;justify-content:center;align-items:center;gap:20px;margin:22px auto 0;max-width:none;
}
#hero.yz-hero-minimal .trust-strip span{
  padding:0;background:transparent;border:0;box-shadow:none;color:#62564a;font-size:.76rem;gap:0;
}
#hero.yz-hero-minimal .trust-strip span+span::before{content:'·';margin-right:20px;color:#a28d71}
#hero.yz-hero-minimal .trust-strip span:nth-child(n+4){display:none}
#hero.yz-hero-minimal .yz-festival-kicker{
  margin:30px 0 10px!important;color:#7c6648!important;font-size:.72rem!important;letter-spacing:.2em!important;
}
#hero.yz-hero-minimal .hero-entry-row{max-width:860px;margin:0 auto!important;gap:7px!important}
#hero.yz-hero-minimal .landmark-card{
  padding:7px 13px!important;background:rgba(255,253,248,.52)!important;border:1px solid rgba(133,105,67,.16)!important;
  border-radius:999px!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important;
}
#hero.yz-hero-minimal .landmark-card:hover{background:rgba(150,54,45,.07)!important;border-color:rgba(150,54,45,.28)!important}
#hero.yz-hero-minimal .landmark-icon-wrap,#hero.yz-hero-minimal .landmark-sub{display:none!important}
#hero.yz-hero-minimal .landmark-name{font-size:.75rem;color:#5f5143;letter-spacing:.025em;white-space:nowrap}
#hero.hero-bg::before{
  background-image:linear-gradient(180deg,rgba(253,250,243,.82),rgba(253,250,243,.34) 44%,rgba(248,241,230,.86)),url('/shopassets/yangzhou/hero-bg.webp')!important;
}
#hero::after{background:radial-gradient(58% 48% at 50% 45%,rgba(253,250,243,.9),rgba(253,250,243,.48) 55%,rgba(253,250,243,0) 80%)}

/* 首页场景：图像做引导，文字说清楚适用时刻 */
.yz-scenes{padding:68px 0 30px}
.yz-scenes-head{max-width:760px;margin:0 auto 30px}
.yz-scenes-eyebrow{letter-spacing:.18em;font-size:.72rem}
.yz-scenes-title{letter-spacing:.055em;font-size:clamp(26px,3vw,36px)}
.yz-scenes-title::after{width:42px;margin-top:14px;background:#b08a4b}
.yz-scenes-sub{font-size:.86rem;line-height:1.95;letter-spacing:.025em;color:#675a4c}
.yz-scene-card{background:var(--yz-card);border-color:var(--yz-line);border-radius:16px;box-shadow:0 8px 24px rgba(72,52,31,.05)}
.yz-scene-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(72,52,31,.09);border-color:rgba(150,54,45,.24)}
.yz-scene-card::after{display:none}
.yz-scene-media{height:154px}
.yz-scene-body{padding:17px 18px 19px}
.yz-scene-body::before{display:none}
.yz-scene-name{font-size:1.02rem;letter-spacing:.06em;margin-bottom:8px}
.yz-scene-desc{font-size:.75rem;line-height:1.85;letter-spacing:.015em;color:#695b4c}
.yz-scene-go{font-size:.72rem;letter-spacing:.04em;margin-top:12px;color:var(--yz-red)}

/* 分类页：主题说明 → 场合 → 人气 → 分类与搜索 */
#theme-head-main{padding-top:.35rem;padding-bottom:1rem}
#theme-head .theme-head-icon{display:none}
#theme-head .theme-head-kicker{letter-spacing:.18em;color:#8a682f}
#theme-head .theme-head-title{letter-spacing:.055em}
#theme-head .theme-head-sub{max-width:650px;margin-left:auto;margin-right:auto}
#hot-sales{margin-top:1.2rem;margin-bottom:2rem!important;padding:1.15rem 1.2rem 1rem;border-top:1px solid var(--yz-line);border-bottom:1px solid var(--yz-line)}
#hot-title{letter-spacing:.025em}
#hot-kicker{letter-spacing:.18em}
.yz-hot-tabs{background:#f5efe4;border-color:var(--yz-line)}
.yz-tab.active{background:var(--yz-red)}
.hot-card{border-radius:14px}
#hot-track{-webkit-mask-image:none;mask-image:none;padding-bottom:8px}

.yz-occ{
  padding:1.35rem 1.25rem 1.25rem;border-radius:16px;background:rgba(255,253,248,.76);
  border-color:var(--yz-line);box-shadow:none;
}
.yz-occ::after{display:none}
.yz-occ-head{max-width:680px;margin:0 auto .95rem}
.yz-occ-kicker{font-size:.68rem;letter-spacing:.18em}
.yz-occ-title{font-size:1.28rem;letter-spacing:.035em}
.yz-occ-title em{color:var(--yz-red)}
.yz-occ-sub{font-size:.8rem;line-height:1.85;color:#66584a}
.yz-occ-row{gap:9px}
.yz-occ .cat-btn{min-height:44px;background:#fffdf8;border-color:rgba(133,105,67,.18);border-radius:12px}
.yz-occ .cat-btn.active{background:var(--yz-red);border-color:var(--yz-red)}
.yz-occ .cat-btn .yz-occ-ico{display:none}
.yz-occ .cat-btn small{font-size:.62rem;opacity:.78}
.yz-browse-label{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:1.7rem 0 .85rem;text-align:left}
.yz-browse-label b{font-family:"Noto Serif SC",serif;font-size:1.06rem;font-weight:600;color:#44362a;letter-spacing:.04em}
.yz-browse-label span{font-size:.74rem;color:#75685a;line-height:1.7}
#cat-row{margin-bottom:1.25rem!important}
#product-tools,.util-panel{border-radius:16px}
#product-grid .glass-card,.yz-occ-card{border-radius:16px}
#product-grid .product-img-wrap,[class*="product-img-wrap"]{background-color:#f8f3ea}
.mini-act{border-radius:9px!important}

/* 礼盒工作台与实拍：步骤清楚，图片优先 */
#gift-title{letter-spacing:.05em}
.gift-workbench{border-radius:20px}
.gift-step{border-radius:12px}
.gift-step.active{background:#42352a}
.gift-box-card{border-radius:15px}
#showcase-grid{gap:18px!important}
#showcase-grid>div,#showcase div[style*="grid-template-columns:repeat(4,1fr)"]>div{
  min-width:0;background:#fffdf8!important;border:1px solid var(--yz-line)!important;box-shadow:0 6px 18px rgba(72,52,31,.05)!important;
}
#showcase-grid>div{overflow:hidden;border-radius:14px!important}
#showcase-grid *{min-width:0}
#showcase-grid a,#showcase-grid p,#showcase-grid h4,#showcase-grid span{white-space:normal!important;writing-mode:horizontal-tb!important}

/* 详情弹窗：文化说明与搭配不抢购买动作 */
#product-modal{color:var(--yz-ink)}
.yz-folklore{background:#faf5eb;border-color:var(--yz-line);border-radius:12px}
.yz-folklore::before{background:var(--yz-red);box-shadow:none}
.yz-folklore-title{letter-spacing:.04em}
.yz-folklore-text{color:#635548;line-height:1.95}
.yz-pair{border-top:1px solid var(--yz-line)}
.yz-pair-title{letter-spacing:.025em}
.yz-pair-note{width:100%;margin:-2px 0 8px;font-size:.7rem;line-height:1.75;color:#716456}
.yz-pair-item{border-color:var(--yz-line);box-shadow:none}
.yz-pair-item:hover{transform:none;border-color:rgba(150,54,45,.3)}
.yz-modal-actions{background:linear-gradient(180deg,rgba(255,253,248,.78),#fffdf8 42%)}

@media(max-width:767.98px){
  #hero.yz-hero-minimal{min-height:100svh}
  #hero.yz-hero-minimal>.max-w-7xl{padding:22px 16px 26px}
  #hero.yz-hero-minimal .hero-subtitle{font-size:.72rem!important;margin-bottom:16px!important;letter-spacing:.22em!important}
  #hero.yz-hero-minimal .hero-title{font-size:2.45rem!important;letter-spacing:.035em!important;margin-bottom:18px!important}
  #hero.yz-hero-minimal .yz-hero-desc{max-width:335px;margin-bottom:24px;font-size:.82rem;line-height:1.95;letter-spacing:.025em}
  #hero.yz-hero-minimal .yz-hero-actions{display:flex;gap:10px!important;padding:0 8px}
  #hero.yz-hero-minimal .yz-hero-actions>a{flex:1;justify-content:center;padding:.74rem .75rem!important;font-size:.86rem;min-height:46px}
  #hero.yz-hero-minimal .trust-strip{gap:8px;margin-top:18px}
  #hero.yz-hero-minimal .trust-strip span{font-size:.67rem;white-space:nowrap}
  #hero.yz-hero-minimal .trust-strip span+span::before{margin-right:8px}
  #hero.yz-hero-minimal .yz-festival-kicker{margin-top:26px!important}
  #hero.yz-hero-minimal .hero-entry-row{flex-wrap:nowrap!important;justify-content:flex-start!important;overflow-x:auto;padding:0 2px 8px;scrollbar-width:none}
  #hero.yz-hero-minimal .hero-entry-row::-webkit-scrollbar{display:none}
  #hero.yz-hero-minimal .landmark-card{flex:0 0 auto;padding:7px 12px!important}
  #hero.hero-bg::before{background-image:linear-gradient(180deg,rgba(253,250,243,.86),rgba(253,250,243,.42) 44%,rgba(248,241,230,.88)),url('/shopassets/yangzhou/hero-bg-800.webp')!important}
  #hero::after{background:radial-gradient(90% 50% at 50% 38%,rgba(253,250,243,.92),rgba(253,250,243,.48) 62%,rgba(253,250,243,0) 88%)}
  .yz-scenes{padding:48px 0 16px}
  .yz-scenes-head{padding:0 8px;margin-bottom:22px}
  .yz-scenes-title{font-size:1.72rem}
  .yz-scenes-sub{font-size:.78rem;line-height:1.9}
  .yz-scene-grid{grid-template-columns:1fr;gap:14px}
  .yz-scene-card{display:grid;grid-template-columns:118px 1fr;align-items:stretch}
  .yz-scene-media{height:100%;min-height:150px}
  .yz-scene-body{padding:14px 14px 15px}
  .yz-scene-name{font-size:.95rem}
  .yz-scene-desc{font-size:.7rem;line-height:1.75}
  .yz-scene-desc br{display:none}
  .yz-scene-go{margin-top:8px;font-size:.68rem}
  #special-sub,#gift-sub,#showcase-sub,#products-head>p{font-size:.8rem;line-height:1.85;padding:0 6px}
  #special .text-center.mb-14{margin-bottom:1.7rem}
  #theme-head-main{padding-bottom:.4rem}
  #hot-sales{padding:1rem 0 .8rem;margin-top:.6rem;margin-bottom:1.3rem!important}
  #hot-title{font-size:1.4rem;line-height:1.5}
  .yz-occ{padding:1.15rem .85rem 1rem}
  .yz-occ-title{font-size:1.12rem;line-height:1.65}
  .yz-occ-sub{font-size:.75rem}
  .yz-occ .cat-btn{min-height:46px;padding:.48rem .7rem}
  .yz-browse-label{display:block;text-align:center;margin-top:1.4rem}
  .yz-browse-label span{display:block;margin-top:4px}
  #showcase-grid,#showcase div[style*="grid-template-columns:repeat(4,1fr)"]{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
  #showcase-grid>div{font-size:.76rem}
  #showcase-grid>div .flex{flex-wrap:wrap;gap:4px}
  .yz-pair{padding-left:18px;padding-right:18px}
}
@media(min-width:768px) and (max-width:1399.98px){
  #hero.hero-bg::before{background-image:linear-gradient(180deg,rgba(253,250,243,.82),rgba(253,250,243,.34) 44%,rgba(248,241,230,.86)),url('/shopassets/yangzhou/hero-bg-1100.webp')!important}
}
@media(prefers-reduced-motion:reduce){
  #hero.yz-hero-minimal .landmark-card,.yz-scene-card{transition:none}
}

/* 二轮视觉校准：标题先读清，装饰退后；手机礼盒分批展开 */
#hero.yz-hero-minimal .yz-festival-kicker{display:none!important}
#hero.yz-hero-minimal .hero-title .shimmer-text{
  background:none!important;color:#3c2b20!important;-webkit-text-fill-color:#3c2b20!important;
  text-shadow:0 2px 18px rgba(255,252,244,.96),0 0 2px rgba(255,252,244,.9)!important;
}
#hero::after{background:radial-gradient(60% 48% at 50% 44%,rgba(253,250,243,.96),rgba(253,250,243,.63) 58%,rgba(253,250,243,0) 84%)}
.yz-special-more{display:none}
@media(max-width:767.98px){
  #hero::after{background:radial-gradient(92% 50% at 50% 39%,rgba(253,250,243,.96),rgba(253,250,243,.63) 62%,rgba(253,250,243,0) 90%)}
  #special:not(.yz-special-open) #special-grid>.special-card:nth-child(n+5){display:none}
  .yz-special-more.yz-ready{
    display:flex;align-items:center;justify-content:center;min-height:44px;margin:16px auto 0;padding:9px 18px;
    border:1px solid rgba(150,54,45,.25);border-radius:12px;background:#fffdf8;color:#873b32;
    font-size:.8rem;letter-spacing:.03em;cursor:pointer;
  }
  #special.yz-special-open .yz-special-more{background:#f5eee3;color:#6c5b49}
}

/* ============================================================
   v1.1.26 · 首屏重排：文在纸上，画入画中
   文字与水墨不再互相压叠；恢复「扬州特产」入口大卡
   ============================================================ */
#hero.yz-hero-lean{
  min-height:calc(100svh - 34px);display:flex;align-items:center;
  padding-top:92px;padding-bottom:36px;
}
#hero.yz-hero-lean::before{
  background-image:linear-gradient(168deg,#fdfaf3 0%,#fdfaf4 46%,#f9f2e6 78%,#f6ecdc 100%)!important;
  background-position:center!important;background-size:cover!important;
  inset:0!important;transform:none!important;
}
#hero.yz-hero-lean::after{display:none!important}
#hero.yz-hero-lean .hero-lineart{display:none!important}
#hero.yz-hero-lean>.max-w-7xl{max-width:1200px;padding-left:28px;padding-right:28px;padding-top:0;padding-bottom:0}
#hero.yz-hero-lean .text-center{text-align:left}

/* 两栏：文案 / 水墨 */
#hero .yz-hero-grid{
  display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);
  align-items:center;gap:clamp(28px,4.2vw,64px);
}
#hero .yz-hero-copy{text-align:left}
#hero.yz-hero-lean .hero-subtitle{
  color:#8f3c33!important;font-size:.8rem!important;letter-spacing:.3em!important;
  margin:0 0 16px!important;font-weight:500;
}
#hero.yz-hero-lean .hero-title{
  font-size:clamp(2.7rem,4.5vw,4.1rem)!important;line-height:1.16!important;
  letter-spacing:.06em!important;margin:0 0 20px!important;color:#3a2515!important;
  text-shadow:none!important;
}
#hero.yz-hero-lean .yz-hero-desc{
  max-width:520px;margin:0 0 26px;color:#5b4c3e;font-size:.92rem;line-height:2.05;
  letter-spacing:.035em;text-shadow:none;
}
#hero.yz-hero-lean .yz-hero-actions{margin:0!important;justify-content:flex-start;gap:12px!important;flex-wrap:wrap}
#hero.yz-hero-lean .trust-strip{
  display:flex;justify-content:flex-start;align-items:center;gap:16px;margin:20px 0 0;max-width:none;
}
#hero.yz-hero-lean .trust-strip span{
  padding:0;background:transparent;border:0;box-shadow:none;color:#6a5c4d;font-size:.75rem;gap:0;
}
#hero.yz-hero-lean .trust-strip span+span::before{content:'·';margin-right:16px;color:#a28d71}
#hero.yz-hero-lean .trust-strip span:nth-child(n+4){display:none}
#hero.yz-hero-lean .trust-strip svg{display:none}

/* 入口大卡：恢复，改成简洁横条 */
#hero.yz-hero-lean .hero-bigcard{
  display:flex!important;align-items:center;gap:14px;
  max-width:520px;margin:26px 0 0!important;padding:14px 18px 14px 15px!important;
  border:1px solid rgba(150,54,45,.16)!important;border-radius:14px!important;
  background:rgba(255,253,248,.86)!important;box-shadow:0 6px 18px rgba(96,66,38,.05)!important;
  backdrop-filter:none!important;
}
#hero.yz-hero-lean .hero-bigcard:hover{background:#fffdf8!important;border-color:rgba(150,54,45,.3)!important;transform:none!important}
#hero.yz-hero-lean .hero-bigcard-glow{display:none!important}
#hero.yz-hero-lean .hero-bigcard-icon{
  width:42px!important;height:42px!important;min-width:42px;border-radius:11px!important;
  background:#8f3c33!important;display:flex;align-items:center;justify-content:center;
}
#hero.yz-hero-lean .hero-bigcard-icon svg{width:24px;height:24px}
#hero.yz-hero-lean .hero-bigcard-text{display:flex;flex-direction:column;gap:4px;text-align:left}
#hero.yz-hero-lean .hero-bigcard-title{font-size:.98rem!important;letter-spacing:.16em!important;color:#3f2a18!important;font-weight:600}
#hero.yz-hero-lean .hero-bigcard-sub{font-size:.72rem!important;letter-spacing:.04em!important;color:#7a6a58!important}
#hero.yz-hero-lean .hero-bigcard-go{
  margin-left:auto;display:flex;align-items:center;gap:5px;font-size:.76rem;
  color:#8f3c33!important;letter-spacing:.04em;white-space:nowrap;
}
#hero.yz-hero-lean .hero-bigcard-go svg{width:14px;height:14px}

/* 时节入口：轻量小标签 */
#hero.yz-hero-lean .yz-festival-kicker{
  margin:24px 0 10px!important;color:#7c6648!important;font-size:.7rem!important;letter-spacing:.2em!important;
}
#hero.yz-hero-lean .hero-entry-row{max-width:520px;margin:0!important;gap:7px!important;justify-content:flex-start!important}
#hero.yz-hero-lean .landmark-card{
  padding:6px 12px!important;background:rgba(255,253,248,.5)!important;border:1px solid rgba(133,105,67,.16)!important;
  border-radius:999px!important;box-shadow:none!important;backdrop-filter:none!important;transform:none!important;
}
#hero.yz-hero-lean .landmark-card:hover{background:rgba(150,54,45,.07)!important;border-color:rgba(150,54,45,.26)!important;transform:none!important}
#hero.yz-hero-lean .landmark-icon-wrap,#hero.yz-hero-lean .landmark-sub{display:none!important}
#hero.yz-hero-lean .landmark-name{font-size:.73rem;color:#5f5143;letter-spacing:.02em;white-space:nowrap}

/* 水墨画面：独立装裱 */
#hero .yz-hero-art{
  position:relative;height:clamp(360px,44vw,520px);border-radius:6px;
  background-image:url('/shopassets/yangzhou/hero-bg.webp');
  background-size:cover;background-position:64% 52%;
  box-shadow:0 18px 44px rgba(84,58,32,.14);
  border:1px solid rgba(160,126,74,.28);
}
#hero .yz-hero-art::before{
  content:'';position:absolute;inset:9px;border:1px solid rgba(255,252,244,.55);border-radius:3px;pointer-events:none;
}
#hero .yz-hero-art::after{
  content:'';position:absolute;inset:0;border-radius:6px;
  background:linear-gradient(180deg,rgba(253,250,243,.10),rgba(253,250,243,0) 40%,rgba(72,48,28,.10));
  pointer-events:none;
}
#hero .yz-hero-art-seal{
  position:absolute;right:20px;bottom:18px;z-index:2;
  width:34px;height:34px;border:1px solid rgba(163,47,38,.55);border-radius:4px;
  display:flex;align-items:center;justify-content:center;
  color:#a32f26;font-size:.62rem;letter-spacing:.04em;line-height:1.1;
  background:rgba(253,250,243,.42);font-family:"STKaiti","KaiTi",serif;
}
#hero .yz-hero-art-cap{
  position:absolute;left:20px;bottom:18px;z-index:2;
  font-size:.68rem;letter-spacing:.22em;color:#6b5741;
  background:rgba(253,250,243,.62);padding:4px 9px;border-radius:2px;
}

@media(max-width:1023.98px){
  #hero .yz-hero-grid{grid-template-columns:1fr;gap:26px}
  #hero .yz-hero-art{height:230px;background-position:62% 58%;order:2}
  #hero.yz-hero-lean .hero-title{font-size:clamp(2.3rem,7vw,3.2rem)!important;margin-bottom:16px!important}
  #hero.yz-hero-lean .yz-hero-desc{max-width:none;margin-bottom:22px}
  #hero.yz-hero-lean .hero-bigcard{max-width:none;margin-top:22px!important}
  #hero.yz-hero-lean .hero-entry-row{max-width:none}
}
@media(max-width:767.98px){
  #hero.yz-hero-lean{min-height:100svh;padding-top:84px;padding-bottom:28px}
  #hero.yz-hero-lean>.max-w-7xl{padding-left:18px;padding-right:18px}
  #hero.yz-hero-lean .text-center{text-align:left}
  #hero .yz-hero-art{height:172px;order:2}
  #hero.yz-hero-lean .hero-subtitle{font-size:.7rem!important;letter-spacing:.24em!important;margin-bottom:12px!important}
  #hero.yz-hero-lean .hero-title{font-size:2.28rem!important;letter-spacing:.03em!important;margin-bottom:14px!important}
  #hero.yz-hero-lean .yz-hero-desc{font-size:.81rem;line-height:1.92;margin-bottom:20px;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
  #hero.yz-hero-lean .yz-hero-actions{gap:10px!important}
  #hero.yz-hero-lean .yz-hero-actions>a{flex:1;justify-content:center;padding:.72rem .6rem!important;font-size:.84rem;min-height:46px}
  #hero.yz-hero-lean .trust-strip{margin-top:14px;gap:10px}
  #hero.yz-hero-lean .trust-strip span{font-size:.67rem;white-space:nowrap}
  #hero.yz-hero-lean .trust-strip span+span::before{margin-right:10px}
  #hero.yz-hero-lean .hero-bigcard{padding:11px 14px 11px 12px!important;margin-top:18px!important;gap:11px}
  #hero.yz-hero-lean .hero-bigcard-icon{width:36px!important;height:36px!important;min-width:36px}
  #hero.yz-hero-lean .hero-bigcard-icon svg{width:20px;height:20px}
  #hero.yz-hero-lean .hero-bigcard-title{font-size:.9rem!important}
  #hero.yz-hero-lean .hero-bigcard-sub{font-size:.66rem!important}
  #hero.yz-hero-lean .yz-festival-kicker{margin:18px 0 8px!important;font-size:.66rem!important}
  #hero.yz-hero-lean .hero-entry-row{flex-wrap:nowrap!important;overflow-x:auto;padding:0 0 6px;scrollbar-width:none}
  #hero.yz-hero-lean .hero-entry-row::-webkit-scrollbar{display:none}
  #hero.yz-hero-lean .landmark-card{flex:0 0 auto;padding:6px 11px!important}
}
@media(prefers-reduced-motion:reduce){
  #hero .yz-hero-art{box-shadow:none}
}

/* 首屏里不再需要的旧装饰（印章/分隔线/服务四宫格/标语） */
#hero.yz-hero-lean .hero-tagline,
#hero.yz-hero-lean .seal-circle,
#hero.yz-hero-lean .feature-tile,
#hero.yz-hero-lean .text-center>[class*="bottom-8"]{display:none!important}
#hero.yz-hero-lean .text-center>.flex.items-center.justify-center.gap-4{display:none!important}
#hero.yz-hero-lean .text-center>.grid:has(.feature-tile){display:none!important}

/* v1.1.26 修正：栅格最小宽度归零，避免长内容把手机端撑出横向滚动 */
#hero .yz-hero-grid{grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr)}
#hero .yz-hero-grid>*{min-width:0}
#hero .yz-hero-copy{min-width:0;max-width:100%}
#hero .yz-hero-art{min-width:0;max-width:100%}
@media(max-width:1023.98px){
  #hero .yz-hero-grid{grid-template-columns:minmax(0,1fr)}
}
/* 桌面端时节入口排成 3×2，右边缘与入口大卡对齐 */
@media(min-width:1024px){
  #hero.yz-hero-lean .hero-entry-row{
    display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-width:520px;
  }
  #hero.yz-hero-lean .landmark-card{display:flex;align-items:center;justify-content:center}
}

/* v1.1.26 微调：入口卡箭头不再被挤掉；首屏留白收一点，让下一段露头 */
#hero.yz-hero-lean .hero-bigcard-go{flex:0 0 auto;white-space:nowrap}
#hero.yz-hero-lean .hero-bigcard-go svg{width:14px;height:14px;flex:0 0 14px;display:block}
#hero.yz-hero-lean .hero-bigcard-text{flex:1 1 auto;min-width:0}
@media(min-width:1024px){
  #hero.yz-hero-lean{min-height:calc(100svh - 74px)}
  #hero .yz-hero-art{height:clamp(380px,46vw,552px)}
}
@media(max-width:767.98px){
  #hero.yz-hero-lean{min-height:calc(100svh - 34px)}
  #hero .yz-hero-art{height:200px}
}

/* ============================================================
   v1.1.26 · 首页「当季好物」横带
   ============================================================ */
#yz-rail{
  position:relative;padding:46px 0 48px;
  background:linear-gradient(180deg,#faf5ea,#fdfaf3 60%,#fbf6ec);
  border-top:1px solid rgba(160,126,74,.16);
}
.yz-rail-wrap{max-width:1200px;margin:0 auto;padding:0 28px}
.yz-rail-head{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:22px}
.yz-rail-kicker{margin:0 0 8px;font-size:.72rem;letter-spacing:.3em;color:#8f3c33}
.yz-rail-title{margin:0;font-size:clamp(1.28rem,2.2vw,1.6rem);letter-spacing:.05em;color:#3a2515;font-weight:600}
.yz-rail-more{
  flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;font-size:.8rem;letter-spacing:.04em;
  color:#8f3c33;border-bottom:1px solid rgba(143,60,51,.28);padding-bottom:3px;text-decoration:none;
}
.yz-rail-more:hover{color:#793029;border-color:rgba(121,48,41,.5)}
.yz-rail-track{
  display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;
  padding:2px 2px 10px;scrollbar-width:thin;
}
.yz-rail-track::-webkit-scrollbar{height:6px}
.yz-rail-track::-webkit-scrollbar-thumb{background:rgba(160,126,74,.28);border-radius:99px}
.yz-rail-card{
  flex:0 0 176px;scroll-snap-align:start;cursor:pointer;background:#fffdf8;
  border:1px solid rgba(160,126,74,.2);border-radius:12px;overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.yz-rail-card:hover{transform:translateY(-3px);box-shadow:0 12px 26px rgba(84,58,32,.1);border-color:rgba(143,60,51,.28)}
.yz-rail-img{aspect-ratio:1/1;background:#f4ede1;overflow:hidden}
.yz-rail-img img{width:100%;height:100%;object-fit:cover;display:block}
.yz-rail-body{padding:11px 12px 13px}
.yz-rail-name{
  margin:0 0 7px;font-size:.8rem;line-height:1.55;color:#43301f;letter-spacing:.01em;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.48em;
}
.yz-rail-price{margin:0;color:#a32f26;font-size:.92rem;font-weight:600;letter-spacing:.02em}
.yz-rail-unit{margin-left:3px;font-size:.66rem;font-weight:400;color:#8a755c}

@media(max-width:767.98px){
  #yz-rail{padding:34px 0 30px}
  .yz-rail-wrap{padding:0 18px}
  .yz-rail-head{align-items:center;margin-bottom:16px}
  .yz-rail-kicker{font-size:.66rem;letter-spacing:.24em;margin-bottom:6px}
  .yz-rail-title{font-size:1.12rem}
  .yz-rail-more{font-size:.72rem}
  .yz-rail-card{flex:0 0 148px}
  .yz-rail-body{padding:9px 10px 11px}
  .yz-rail-name{font-size:.76rem;min-height:2.4em}
  .yz-rail-price{font-size:.86rem}
}

/* 横带收口：隐藏滚动条，右缘做渐隐提示 */
#yz-rail .yz-rail-track{scrollbar-width:none}
#yz-rail .yz-rail-track::-webkit-scrollbar{display:none}
#yz-rail .yz-rail-wrap{position:relative}
#yz-rail .yz-rail-wrap::after{
  content:'';position:absolute;right:0;top:96px;bottom:18px;width:56px;pointer-events:none;
  background:linear-gradient(90deg,rgba(250,245,234,0),rgba(250,245,234,.92));
}
@media(max-width:767.98px){ #yz-rail .yz-rail-wrap::after{display:none} }

/* 入口卡「查看全部 →」：原站给了固定 24px 宽，这里放开 */
#hero.yz-hero-lean .hero-bigcard-go{width:auto!important;min-width:0;flex:0 0 auto!important;overflow:visible!important}
/* 手机端时节入口改 3×2，全部看得见，不用横向拖动 */
@media(max-width:767.98px){
  #hero.yz-hero-lean .hero-entry-row{
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;
    flex-wrap:nowrap!important;overflow:visible!important;padding:0!important;
  }
  #hero.yz-hero-lean .hero-entry-row .landmark-card{flex:1 1 auto;justify-content:center;padding:6px 4px!important}
  #hero.yz-hero-lean .landmark-name{font-size:.68rem;letter-spacing:0}
}

/* ============================================================
   v1.1.27 · 页脚底图：水墨扬州夜色
   ============================================================ */
footer.footer-lineart{
  background-image:
    radial-gradient(at 78% 4%, rgba(208,176,106,.14), rgba(0,0,0,0) 46%),
    linear-gradient(180deg, rgba(30,21,13,.72) 0%, rgba(22,16,11,.30) 32%, rgba(16,11,7,.52) 68%, rgba(12,8,5,.86) 100%),
    url('/shopassets/yangzhou/footer-night.webp?v=2')!important;
  background-size:auto,auto,cover!important;
  background-position:0 0,0 0,center 48%!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
}
/* 去掉原来的金色房屋线稿与菱形暗纹，避免与底图叠加 */
footer.footer-lineart>div.absolute.bottom-0.left-0.right-0{display:none!important}
footer.footer-lineart>div.absolute.inset-0.opacity-5{display:none!important}

@media(max-width:767.98px){
  footer.footer-lineart{
    background-image:
      radial-gradient(at 76% 2%, rgba(208,176,106,.12), rgba(0,0,0,0) 44%),
      linear-gradient(180deg, rgba(30,21,13,.76) 0%, rgba(22,16,11,.34) 34%, rgba(16,11,7,.58) 70%, rgba(12,8,5,.88) 100%),
      url('/shopassets/yangzhou/footer-night-m.webp?v=2')!important;
    background-position:0 0,0 0,center 42%!important;
  }
}

/* 页脚文字在亮水面上的可读性兜底 */
footer.footer-lineart{text-shadow:0 1px 10px rgba(0,0,0,.5)}
footer.footer-lineart h4{text-shadow:0 1px 14px rgba(0,0,0,.55)}


/* ============================================================
   v1.1.28 · 字体系统
   ① 补齐三个字族的缺口，消除回退系统宋体
   ② 书法/楷体族只有一个字重，禁止浏览器合成加粗
   ③ 统一数字与排版节奏
   ============================================================ */

/* --- ① 补字分片（unicode-range 精确，按需下载） --- */
@font-face{font-family:'Ma Shan Zheng';font-style:normal;font-weight:400;font-display:swap;src:url('/shopassets/fonts/yz-brush.7147a1cf.woff2') format('woff2');unicode-range:U+B7,U+4E00,U+4E09,U+4E0B,U+4E13,U+4E1A,U+4E2A,U+4E3B,U+4E5F,U+4E9B,U+4EA4,U+4EB2,U+4EFD,U+4F01,U+5149,U+5168,U+5217,U+52A1,U+533A,U+5370,U+53E4,U+540D,U+5546,U+56DB,U+590D,U+5982,U+5BF9,U+5DF2,U+5E7F,U+5E8F,U+5F52,U+5FC3,U+6162,U+6240,U+624B,U+6362,U+63D0,U+642D,U+6446,U+653E,U+65B0,U+65F6,U+6708-6709,U+670D,U+672C,U+6982,U+6B65,U+6BD4,U+70DF,U+751F,U+773C,U+79F0,U+7CFB,U+82B1,U+88AB,U+89C8,U+8BA2,U+8BB8,U+8FD9,U+90E8,U+9526,U+9675,U+9898}
@font-face{font-family:'ZCOOL XiaoWei';font-style:normal;font-weight:400;font-display:swap;src:url('/shopassets/fonts/yz-kai.90d0ce73.woff2') format('woff2');unicode-range:U+4E01,U+4E07,U+4E4B,U+4E86,U+4E91,U+4EA4,U+4ECE,U+4F0D,U+4F70,U+5199,U+529B,U+52A1,U+5323,U+533A,U+5343,U+5348,U+5356,U+53F0,U+543E,U+559C,U+5728,U+5821,U+5907,U+5962,U+5986,U+59A5,U+5B58,U+5BBD,U+5BF9,U+5C55,U+5C81,U+5DF4,U+5E16,U+5E8F,U+5F53,U+5FC3,U+606F,U+628A,U+62B1,U+62FE,U+6309,U+6311,U+63A5,U+642D,U+6574,U+661F,U+6734,U+6846,U+6848,U+6876,U+68D5,U+6984,U+6A44,U+6A58,U+6A80,U+6B27,U+6B65,U+6CD5,U+6CE2,U+6D1B,U+6EE1,U+7070,U+7231,U+7480,U+74A8,U+7531,U+767E,U+76EE,U+76F4,U+793A,U+79F0,U+7A97,U+7AE5,U+7B97,U+7EC6,U+7ED9,U+7EDB,U+80A9,U+884C,U+8910,U+8BA1-8BA2,U+8D22,U+8FB0,U+8FD0,U+9192,U+9501,U+952E,U+9646,U+9675,U+96D5,U+9884,U+989D,U+99A8,U+9E1F}
@font-face{font-family:'Noto Serif SC';font-style:normal;font-weight:500;font-display:swap;src:url('/shopassets/fonts/yz-serif5.e689afaf.woff2') format('woff2');unicode-range:U+4E14,U+4E48,U+4E4E,U+4E54,U+4E61,U+4EA6,U+4EC0,U+4ECA,U+4ECD,U+4ED8,U+4EE4,U+4F19,U+4F22,U+4F38,U+4F46,U+4F59,U+4F73,U+4F9D,U+4FB5,U+4FD7,U+4FED,U+5019,U+505C,U+50CF,U+515C,U+516B-516C,U+518D,U+5192,U+519C,U+51B2,U+51C9,U+51CF,U+51D1,U+51FD,U+5200,U+5207,U+5219,U+523A,U+5254,U+526A,U+529E,U+52B2,U+52FA,U+534F,U+535C,U+5360,U+536B,U+5374,U+5382,U+5386,U+53A8,U+53C8,U+53D7,U+53EB,U+53F2-53F3,U+5404,U+542C,U+542F,U+5431,U+5439,U+544A,U+54CD,U+559D,U+5609,U+56BC,U+56CA,U+56E0,U+56E4,U+56F0,U+574E,U+5750,U+57CB,U+5806,U+5821,U+5899,U+589E,U+58F0,U+58F6,U+5915,U+591F,U+592B,U+592D,U+5941,U+5999,U+59A5,U+59CB,U+59D0,U+59DC,U+5B54,U+5B5D,U+5B69,U+5B83,U+5BAB,U+5BBF,U+5BC6,U+5BD2,U+5BDF,U+5BFB-5BFC,U+5C1A,U+5C24,U+5C40,U+5C49,U+5DE1,U+5DE6,U+5DEE,U+5DF7,U+5E16,U+5E27,U+5E2E,U+5E42,U+5E45,U+5E8A,U+5EA6,U+5ECA,U+5F02,U+5F39,U+5F52,U+5F80,U+5F85,U+5FAA,U+6000-6001,U+6062,U+606F-6070,U+60E0,U+61A8,U+61C2,U+6233,U+624D-624E,U+6267,U+6269,U+627F,U+62B1,U+62B9,U+62BD,U+62C5,U+62C9,U+62CE,U+62DB-62DC,U+62E3,U+6346,U+634E,U+636E,U+6376,U+6380,U+6389,U+63AC,U+63E1,U+6447,U+6454,U+6458,U+6478,U+6495,U+64A4,U+64CD,U+653B,U+6563,U+65A9,U+65AD,U+65E0,U+65E7,U+65E9,U+6613,U+6643,U+6653,U+6668,U+6682,U+66F3,U+66FE-66FF,U+6717,U+671B,U+6734,U+673A,U+6795,U+67D0,U+67DC,U+67F4,U+680F,U+68A2,U+68C0,U+695A,U+6982,U+69A8,U+6A21,U+6A2A,U+6B32,U+6B62,U+6BB5,U+6C60,U+6C6A,U+6C9F,U+6CA1,U+6CB8,U+6CC9,U+6D3E,U+6D4E,U+6D78,U+6E21,U+6EAF,U+6EDA,U+6EE4,U+704C,U+706B,U+70C1-70C2,U+70D8,U+70EB,U+7119,U+716E,U+719F,U+71A8,U+7292,U+7387,U+73ED,U+74DC,U+7545,U+7565,U+756A,U+75BC,U+75C7,U+763E,U+767B,U+7687,U+76CF-76D1,U+76EE,U+77E5,U+7814,U+786C,U+788D,U+7897,U+789F,U+78E8,U+797A,U+7984,U+79C1,U+79D2,U+79D8,U+79E9,U+79FB,U+7A0D,U+7A76,U+7B2C,U+7B3C,U+7B77,U+7C97-7C98,U+7CAE,U+7CD9,U+7ED1,U+7ED8,U+7EEA,U+7EF5,U+7EFC,U+7FA4,U+7FFC,U+8005,U+804A,U+80A5,U+80A9,U+80C3,U+81FB,U+820D,U+822A,U+82E5,U+8304,U+8363,U+83B9,U+841D,U+84B8,U+8638,U+8695,U+8749,U+87F9,U+88AB,U+8986,U+89C2,U+89C6,U+89C9,U+89E6,U+8BA2,U+8BA9,U+8BB2,U+8BB8,U+8BBA,U+8BC1,U+8BC6,U+8BD7,U+8BDA,U+8BE5,U+8BEF,U+8C01,U+8D1F,U+8D21,U+8D25,U+8D3A,U+8D8A,U+8DDF,U+8DE8,U+8DF3,U+8F91,U+8FA8,U+8FB0,U+8FC1,U+8FF0,U+8FF7,U+9000,U+900F-9010,U+9022,U+903B,U+904D,U+907F,U+90A3,U+90C1,U+918B,U+9274,U+94AE,U+94DC,U+952F,U+9547,U+95EA,U+95EE,U+95F9-95FB,U+9635,U+9650,U+9664,U+9690,U+9694,U+9759,U+9760,U+97E7,U+9879,U+987B,U+989D,U+9988,U+9A7E,U+9A8C,U+9AF9,U+9B42,U+9ED8,U+9F13,U+9F7F}
@font-face{font-family:'Noto Serif SC';font-style:normal;font-weight:600;font-display:swap;src:url('/shopassets/fonts/yz-serif6.ac4e361d.woff2') format('woff2');unicode-range:U+4E00,U+4E09,U+4E0B,U+4E8B,U+4EA7,U+4EBA,U+4EFD,U+5148,U+516B,U+5185,U+518D,U+521B,U+5236,U+52A1,U+5341,U+5355,U+5408,U+54C1,U+5546,U+559C,U+5907,U+5A5A,U+5B89,U+5B9A,U+5B9E,U+5C0F,U+5C1D,U+5DF2,U+5E7F,U+5E86,U+5EB7,U+5F53,U+5FC3,U+60CA,U+60E0,U+61C2,U+6309,U+6311,U+65C5,U+660E,U+6653,U+6708,U+67E5,U+67FF,U+6B22,U+6CA1,U+6DEE,U+70DF,U+7279,U+767E,U+7684,U+76F2,U+770B,U+77E5,U+7948,U+798F,U+79C1,U+7BEE,U+7C7B,U+7EC6,U+7F16,U+7F8E,U+81FB,U+82B1,U+85CF,U+85E4,U+884C,U+8BF4,U+8D60,U+8DA3,U+8F88,U+8FD8,U+9042,U+91CC,U+9526,U+957F,U+9675,U+968F,U+96C5-96C6,U+9700,U+98CE,U+98DF,U+9C9C,U+9F50}
@font-face{font-family:'Noto Serif SC';font-style:normal;font-weight:700;font-display:swap;src:url('/shopassets/fonts/yz-serif7.173668ea.woff2') format('woff2');unicode-range:U+4E00,U+4E09,U+4E24,U+4EF6-4EF7,U+4EFD,U+5148,U+518D,U+51FA,U+597D,U+5B8C,U+5FC3,U+610F,U+62A5,U+6311,U+642D,U+6574,U+66F4,U+6B65,U+7531,U+76D2,U+793C,U+7ED9,U+81EA,U+8981,U+8BF4,U+8C01,U+8FD9,U+9001,U+914D}
@font-face{font-family:'YZBrush';font-style:normal;font-weight:400;font-display:block;src:url('/shopassets/fonts/yz-title.a1e2a12c.woff2') format('woff2');unicode-range:U+30-39,U+B7,U+2014,U+2018-2019,U+201C-201D,U+2026,U+3001-3002,U+4E00,U+4E09,U+4E0B,U+4E13,U+4E1A,U+4E3B,U+4EA4,U+4EA7,U+4EFD,U+4F01,U+4F5C,U+5168,U+5217,U+5236,U+52A1,U+533A,U+5355,U+53F0,U+540D,U+54C1,U+5546,U+56DB,U+597D,U+5B9A,U+5BF9,U+5C55,U+5DDE,U+5DE5,U+5DF2,U+5FC3,U+5FFB,U+610F,U+6210-6211,U+626C,U+6311,U+63D0,U+6536,U+6708,U+670D,U+6B65,U+6BD4,U+6E05,U+70DF,U+7269,U+7279,U+751F,U+7684,U+76D2,U+793A,U+793C,U+79F0,U+7B97,U+7CFB,U+82B1,U+85CF,U+8BA2,U+9009,U+90E8,U+914D,U+9884,U+9898,U+FF01,U+FF08-FF09,U+FF0C,U+FF1A-FF1B,U+FF1F}

/* --- ② 原生字重复位：这三族只有 400，合成加粗会把笔画糊死 --- */
.font-brush,
.font-calig,
.font-elegant,
.hero-title,
.sec-title,
.theme-head-title,
.yz-scenes-title{
  font-weight:400!important;
}

/* --- ③ 中文排版基础 --- */
body{
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  font-variant-numeric:tabular-nums;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,.hero-title,.sec-title,.yz-rail-title,.yz-occ-title,.yz-pair-title{
  text-wrap:balance;
}
p,li{
  text-wrap:pretty;
  word-break:normal;
  line-break:strict;
}

/* 书法标题：字距收紧一点，64px 下 0.08em 会散 */
#hero.yz-hero-lean .hero-title{letter-spacing:.045em!important}
.sec-title{letter-spacing:.05em}
.yz-scenes-title{letter-spacing:.08em}

/* 楷体标题在 400 下略轻，用极淡的字距+颜色补偿，不用假加粗 */
.font-elegant{letter-spacing:.02em}
#hero.yz-hero-lean .hero-bigcard-title{font-weight:600}

/* 数据与纯数字：无衬线更利落，等宽数字让价格对齐 */
.yz-rail-price,
.yz-rail-unit,
.yz-occ-count,
.yz-pair-price,
.xy-card-count{
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","HarmonyOS Sans SC","MiSans","Source Han Sans SC","Noto Sans SC","Microsoft YaHei UI","Microsoft YaHei",sans-serif;
  font-variant-numeric:tabular-nums;
  font-feature-settings:"tnum" 1;
}
.yz-rail-price{letter-spacing:.01em}


/* --- ④ 首屏大标题：专用字族 ---
   首屏标题是全站最先排版的文字，此时补充字体往往还没到，
   浏览器会先用宋体画一次并记住这个文本段，之后字体到了也不换。
   这里给标题单独一个只含标题用字的字族，并用 font-display:block：
   字体未到时不画（约 0.2s），一到就是书法体，不会出现宋体跳变。 */
#hero .hero-title,
#hero.yz-hero-lean .hero-title{
  font-family:'YZBrush','Ma Shan Zheng','Noto Serif SC',serif!important;
}

/* 真正卡住首屏标题的一层：原站把这行字包在 span.shimmer-text 里，
   并给这个 span 单独写了 font-family:"Noto Serif SC" + font-weight:500。
   字体是继承属性，子元素自己声明的族名会盖掉父级的 !important，
   于是 h2 上写着 YZBrush，实际落笔的却是宋体 Medium。
   这里直接指名到 span，把族名与字重一起校正（书法体没有 500 字重，
   用 500 会触发合成加粗，笔画会糊）。 */
#hero .hero-title .shimmer-text,
#hero.yz-hero-lean .hero-title .shimmer-text,
#hero .hero-title span{
  font-family:'YZBrush','Ma Shan Zheng','Noto Serif SC',serif!important;
  font-weight:400!important;
  font-synthesis:none!important;
}

/* --- ⑤ 收尾：清掉三处系统字体残留 ---
   礼盒搭配器里 qbe-v-price 写的是 font-family:cursive，
   而 cursive 在 Windows 上会落到 Comic Sans MS，价格数字会变成卡通体；
   qbe-v-name / qbe-label-text 写的是裸 serif，会落到宋体或 Times。
   统一回站内已有的两款字，数字再开等宽数字位，价格不会左右抖。 */
.qbe-v-name,.qbe-label-text{
  font-family:'Noto Serif SC',"Songti SC",serif!important;
}
.qbe-v-price{
  font-family:'Noto Serif SC',"Songti SC",serif!important;
  font-variant-numeric:tabular-nums!important;
  letter-spacing:.02em!important;
}

/* --- ⑥ 中文排版校准 ---
   三处观感来源，都不是"换字体"，而是字号/行高/字距没按中文的呼吸来定：
   ① 正文 14px、行高 1.5 倍，中文会"挤成一片"，读两行就累；
      中文方块字没有西文的升降部，行高压到 1.5 会失去行与行的空气感，
      1.9 左右才舒服。首屏那段属于门面，再给到 15.5px / 1.95。
   ② 眉标（小标签）只有 12.8px 却给了 0.3em 字距，
      字距大于字号的 1/4 时中文会散成单字，读不出词组；
      收到 0.18em，并把字号提到 13.5px，标签才立得住。
   ③ 价格 12.5px 偏小，和商品名同一个重量级，价格该更醒目一点；
      提到 13.5px 并锁等宽数字，多位价格不会左右跳。 */
.yz-hero-desc{
  font-size:15.5px!important;
  line-height:1.95!important;
  /* 一行 34~40 个汉字是中文最舒服的行长；平板单栏时若不限宽，
     一行会拉到 50 字，眼睛回行容易串行。 */
  max-width:40em!important;
}
.hero-subtitle{
  font-size:13.5px!important;
  letter-spacing:.18em!important;
}
#hero .font-elegant.text-xs{
  font-size:12px!important;
  letter-spacing:.16em!important;
}
/* 全站正文：14px → 15px，行高不低于 1.9（只动正文色系，不碰标题） */
.text-warm-gray.text-base{
  font-size:15px!important;
  line-height:1.9!important;
}
.yz-scenes-sub,.yz-occ-sub{
  font-size:14px!important;
  line-height:1.9!important;
}
.xy-inner-desc{
  font-size:13.5px!important;
  line-height:1.95!important;
}
.xy-size-price{
  font-size:13.5px!important;
  font-variant-numeric:tabular-nums!important;
}

/* --- ⑦ 中文断行：不在词的中间断开 ---
   默认中文换行是按字断的，于是"妥帖"会被拆成"妥 / 帖"、"一份"变成"的 / 一份"，
   一行结尾挂半个词，中文就读得磕磕绊绊。
   word-break:keep-all 让 Chromium 按词典分词，再配合标点优先断行，
   断点自然落在逗号句号处，一行的气口就对了。
   overflow-wrap:break-word 是保险：万一来个超长的连续英文/数字，
   宁可硬断，也不能撑破容器。
   只在 768px 以上开：手机一行才 23 个字，一个分句常常放不下，
   开了 keep-all 就变成"每行都断在逗号上"，行行长短不一反而更碎；
   窄屏保持逐字换行，右端才能整齐。 */
@media(min-width:768px){
  .yz-hero-desc,
  .text-warm-gray.text-base,
  .yz-scenes-sub,
  .yz-occ-sub,
  .xy-inner-desc,
  body p{
    word-break:keep-all;
    overflow-wrap:break-word;
  }
}

/* 首屏正文原站在手机上做了 4 行截断（-webkit-line-clamp:4），
   字号从 14.7px 提到 15.5px、又开了按词断行之后，同一段话需要 5 行，
   末尾"恰到好处的一份"会被裁掉半句——首屏第一段话不该被截，放开限制。 */
.yz-hero-desc{
  display:block!important;
  -webkit-line-clamp:unset!important;
  overflow:visible!important;
  max-height:none!important;
}

/* 手机端首屏：头栏是固定浮层（高约 81px），而首屏文字块在窄屏上被纵向居中，
   眉标会被顶到 57px 处，正好钻到头栏底下，只露出一条残字。
   给文字块补一点上边距，让它从头栏下沿开始。 */
@media(max-width:767.98px){
  #hero .yz-hero-copy{padding-top:54px}
}

/* ============================================================
   ⑧ 报价单：纸张尺度、表格列宽、结账区、成品效果图、手机卡片化
   ------------------------------------------------------------
   这一版解决的是「看起来像报价单」而不是「能显示数据」：
   ① 纸张原来吃满 1280 容器（实测 1248px），表格被拉散，
      序号列 131px、商品名列 314px，比例完全失衡；收到 940 并居中。
   ② 表格改固定列宽，数字统一等宽数字位，多行价格右端对齐不抖。
   ③ 盒型价格原来只出现在「成品效果图」里，不进合计：
      底栏 ¥561、报价单 ¥542，两个数对不上。改为表格里单列
      「礼盒包装」一行 + 独立结账区（好物小计 / 礼盒 / 应付合计）。
   ④ 手机端六列硬塞 390px，只能横向滑动，单价和金额都看不见；
      改为逐条卡片：商品名 + 金额一行，规格与数量单价一行。
   ============================================================ */

/* --- 纸张尺度 --- */
#quotation > .max-w-7xl { max-width: 1040px !important; }
#quotation .quotation-paper {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
}

/* 纸张内所有分块统一左右呼吸，避免表头 8、表格 6、说明 12 参差不齐 */
#quotation .quotation-paper > div {
  padding-left: clamp(20px, 4.2vw, 44px);
  padding-right: clamp(20px, 4.2vw, 44px);
}
#quotation .quotation-paper > div[id="quotation-box-effect"] { padding-top: 0; }

/* --- 表格 --- */
#quotation .mobile-table-scroll { overflow: visible; margin: 0; padding: 0; }
#quotation .mobile-table-scroll table {
  min-width: 0 !important;
  width: 100%;
  table-layout: fixed;
}
#quotation thead th {
  font-size: 12.5px !important;
  letter-spacing: .08em !important;
  color: #8a6a45 !important;
  font-weight: 500 !important;
  padding: 12px 10px !important;
}
#quotation thead th:nth-child(1) { width: 52px; }
#quotation thead th:nth-child(2) { width: auto; }
#quotation thead th:nth-child(3) { width: 132px; }
#quotation thead th:nth-child(4) { width: 64px; }
#quotation thead th:nth-child(5) { width: 96px; }
#quotation thead th:nth-child(6) { width: 108px; }

#quotation #quotation-body td {
  padding: 13px 10px !important;
  font-size: 13.5px;
  line-height: 1.55;
  vertical-align: middle;
}
#quotation #quotation-body td:nth-child(1) {
  color: #b3a184;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
#quotation #quotation-body td:nth-child(2) { color: #43301f; }
#quotation #quotation-body td:nth-child(3) {
  color: #8a7a62;
  font-size: 12.5px;
}
#quotation #quotation-body td:nth-child(n+4) {
  font-variant-numeric: tabular-nums;
  color: #4a3524;
}
#quotation #quotation-body td:nth-child(6) { font-weight: 500; }
#quotation #quotation-body tr { border-bottom: 1px dashed rgba(184, 144, 58, .16); }

/* 礼盒包装行：与商品行区分开，浅底 + 左侧竖线 */
#quotation #quotation-body tr.yz-quote-boxrow td {
  background: rgba(184, 144, 58, .055);
  color: #6b5334;
}
#quotation #quotation-body tr.yz-quote-boxrow td:nth-child(1) {
  color: #b8903a;
  font-size: 13px;
}
#quotation #quotation-body tr.yz-quote-boxrow td:nth-child(2) { color: #5b4326; }

/* 合计行（原 tfoot）改称「好物小计」，避免与结账区的「应付合计」撞名 */
#quotation tfoot td {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  font-size: 13px !important;
  color: #8a7a62 !important;
  letter-spacing: .04em;
}
#quotation tfoot #quotation-total {
  font-family: 'Noto Serif SC', "Songti SC", serif !important;
  font-size: 20px !important;
  color: #6b5334 !important;
  font-variant-numeric: tabular-nums;
}

/* 结账区就位后才收掉 tfoot 的合计行（JS 若未执行，用户仍能看到原合计，
   不会出现「表格有数、下面空白」的情况） */
#quotation .quotation-paper.yz-quote-ready tfoot { display: none; }

/* --- 结账区 --- */
.yz-quote-sum {
  margin: 0 0 4px;
  padding-top: 2px;
}
.yzqs-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 13px;
  color: #8a7a62;
  padding: 4px 0;
}
.yzqs-row > b {
  font-weight: 500;
  color: #4a3524;
  font-variant-numeric: tabular-nums;
}
.yzqs-row > span > i {
  font-style: normal;
  color: #a8977a;
  font-size: 12px;
  margin-left: 6px;
}
.yzqs-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px dashed rgba(184, 144, 58, .38);
}
.yzqs-total > span {
  font-size: 13px;
  color: #7a6650;
  letter-spacing: .06em;
}
.yzqs-total > b {
  font-family: 'Noto Serif SC', "Songti SC", serif;
  font-size: clamp(22px, 2.4vw, 27px);
  font-weight: 500;
  color: #a32f26;
  font-variant-numeric: tabular-nums;
  letter-spacing: .01em;
}
.yzqs-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 10px;
  font-size: 11.5px;
  line-height: 1.7;
  color: #a8977a;
}
.yzqs-meta b {
  font-weight: 500;
  color: #8a7a62;
  letter-spacing: .02em;
}

/* --- 成品效果图 --- */
#quotation .quotation-box-effect {
  display: grid;
  grid-template-columns: 224px minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(184, 144, 58, .22);
  background: linear-gradient(135deg, rgba(255, 255, 255, .5), rgba(250, 240, 218, .55));
}
#quotation .qbe-body {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: stretch;
}
#quotation .qbe-figure {
  flex: 0 0 224px;
  width: 224px;
  height: 168px;
  border-radius: 12px;
}
#quotation .qbe-meta { justify-content: center; gap: 9px; }
#quotation .qbe-row { font-size: 13.5px; }
#quotation .qbe-k { flex: 0 0 68px; font-size: 12.5px; letter-spacing: .04em; }
#quotation .qbe-v-name { font-size: 16.5px; }
#quotation .qbe-v-price { font-size: 20px; font-variant-numeric: tabular-nums; }
#quotation .qbe-hint { font-size: 11.5px; margin-top: 4px; padding-top: 8px; border-top: 1px dashed rgba(184, 144, 58, .28); }

/* --- 大写金额 / 提示 / 落款：与表格同宽，视觉上不再挂到效果图里 --- */
#quotation .quotation-paper .yz-quote-capital {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  border-top: 1px solid rgba(184, 144, 58, .18);
}
#quotation .quotation-paper .yz-quote-capital > span:first-child {
  font-size: 12.5px;
  color: #a8977a;
  letter-spacing: .04em;
}
#quotation #quotation-capital {
  font-size: 14px;
  color: #6b5334;
  letter-spacing: .06em;
}
#quotation .quotation-note { padding: 18px 20px !important; }
#quotation .quotation-note p { margin: 3px 0; line-height: 1.85; }
#quotation .quotation-note p:first-of-type { margin-top: 0; }

/* --- 底部按钮：主次分明，三个动作不再各用一套样式 --- */
#quotation .quotation-actions {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 8px;
}
#quotation .quotation-actions > button {
  border-radius: 999px !important;
  padding: 13px 26px !important;
  font-size: 14px !important;
  letter-spacing: .04em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
#quotation .quotation-actions > button:hover { transform: translateY(-1px); }
#quotation .quotation-actions > button:nth-child(1) {
  background: linear-gradient(135deg, #a32f26, #b8903a) !important;
  color: #fdf7ec !important;
  box-shadow: 0 10px 22px rgba(163, 47, 38, .18) !important;
}
#quotation .quotation-actions > button:nth-child(2) {
  background: rgba(255, 255, 255, .62) !important;
  border: 1px solid rgba(184, 144, 58, .38) !important;
  color: #6b5334 !important;
}
#quotation .quotation-actions > button:nth-child(3) {
  color: #a8977a !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
}
#quotation .quotation-actions > button:nth-child(3):hover { color: #a32f26 !important; }

/* ============================================================
   手机端：六列表格 → 逐条卡片
   ============================================================ */
@media (max-width: 640px) {
  #quotation { padding-top: 2.5rem; padding-bottom: 2.5rem; }
  #quotation > .max-w-7xl { padding-left: 14px; padding-right: 14px; }
  #quotation .quotation-paper { max-width: none; border-radius: 18px; }
  #quotation .quotation-paper > div {
    padding-left: 16px;
    padding-right: 16px;
  }
  #quotation .quotation-paper > div.text-center { padding-top: 26px !important; }
  #quotation .quotation-paper h2 { font-size: 22px !important; line-height: 1.45; }
  #quotation .quotation-paper .seal-circle { width: 42px !important; height: 42px !important; }

  /* 表头不要了 */
  #quotation .mobile-table-scroll table { display: block; }
  #quotation thead { display: none; }
  #quotation tbody { display: block; }

  #quotation #quotation-body tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 10px;
    row-gap: 3px;
    padding: 13px 0;
    border-bottom: 1px dashed rgba(184, 144, 58, .18);
  }
  #quotation #quotation-body td {
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
  }
  #quotation #quotation-body td:nth-child(1) { display: none; }
  #quotation #quotation-body td:nth-child(2) {
    grid-column: 1 / 3;
    grid-row: 1;
    font-size: 14.5px;
    font-weight: 500;
    line-height: 1.45;
  }
  #quotation #quotation-body td:nth-child(6) {
    grid-column: 3;
    grid-row: 1;
    text-align: right;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
  }
  #quotation #quotation-body td:nth-child(3) {
    grid-column: 1;
    grid-row: 2;
    font-size: 12px;
    color: #9a8a72;
  }
  #quotation #quotation-body td:nth-child(4) {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
    font-size: 12px;
    color: #9a8a72;
  }
  #quotation #quotation-body td:nth-child(4)::before { content: '× '; }
  #quotation #quotation-body td:nth-child(5) {
    grid-column: 3;
    grid-row: 2;
    text-align: right;
    font-size: 12px;
    color: #9a8a72;
    white-space: nowrap;
  }

  /* 小计行 */
  #quotation tfoot { display: block; }
  #quotation tfoot tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0 0;
    border: 0;
  }
  #quotation tfoot td {
    display: block;
    padding: 0 !important;
    text-align: left !important;
    white-space: normal !important;
  }
  #quotation tfoot #quotation-total {
    text-align: right !important;
    font-size: 19px !important;
  }

  /* 结账区 */
  .yzqs-total > b { font-size: 24px; }

  /* 效果图：图上文下 */
  #quotation .quotation-box-effect { display: block; padding: 12px; }
  #quotation .qbe-body { flex-direction: column; gap: 12px; }
  #quotation .qbe-figure { flex: 0 0 auto; width: 100%; height: 186px; }
  #quotation .qbe-row { font-size: 13px; }
  #quotation .qbe-k { flex: 0 0 60px; }

  /* 按钮：整行、拇指友好 */
  #quotation .quotation-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 0 16px 10px;
    margin-top: 20px;
  }
  #quotation .quotation-actions > button {
    width: 100%;
    justify-content: center;
    padding: 14px 18px !important;
  }
}

/* 平板：只调纸张与列宽，不卡片化 */
@media (min-width: 641px) and (max-width: 1023px) {
  #quotation .quotation-paper { max-width: 100%; }
  #quotation thead th:nth-child(3) { width: 110px; }
  #quotation .quotation-box-effect { grid-template-columns: 180px minmax(0, 1fr); }
  #quotation .qbe-body { gap: 14px; }
  #quotation .qbe-figure { flex: 0 0 180px; width: 180px; height: 150px; }
}

/* ============================================================
   报价单收尾校准（v1.1.29）
   ① 规格列：中文数字之间夹着「×」和「mm」，表格 auto 布局会把它
      从 mm 前断开，一行尾巴挂个单位，读起来很别扭。锁不换行，
      让浏览器自己去向其它列借宽度。
   ② 结账区：原先插在表格容器的「外面」，所以它左右贴着纸张边，
      和上方表格的 40px 内边距对不齐；也没有自己的底，看着像表格
      多出来的两行。补上与表格对齐的外边距 + 浅底圆角，自成一块。
   ③ 单号 / 有效期之前只有 11.5px、#a8977a，在暖色纸上几乎读不出，
      提到 12px 并加深，客户核对单据时不用凑近看。
   ============================================================ */
#quotation #quotation-body td:nth-child(3) {
  white-space: nowrap;
  letter-spacing: -.01em;
}
#quotation .yz-quote-sum {
  /* 下方「成品效果图」本身也是圆角卡片，两块之间要留够气口，
     不然看上去像两片贴在一起的饼干。 */
  margin: 6px 24px 20px !important;
  padding: 13px 16px 11px;
  border-radius: 14px;
  border: 1px solid rgba(184, 144, 58, .16);
  background: linear-gradient(135deg, rgba(255, 255, 255, .34), rgba(250, 240, 218, .3));
}
@media (min-width: 768px) {
  #quotation .yz-quote-sum { margin-left: 40px !important; margin-right: 40px !important; }
}
#quotation .yz-quote-sum .yzqs-meta {
  font-size: 12px;
  color: #8a7658;
  margin-top: 11px;
  letter-spacing: .01em;
}
#quotation .yz-quote-sum .yzqs-meta b { color: #6b5334; }

/* 读报价单时，吸底横条让位：单据要完整可读，导出成图片也不能带一条黑杠。
   只收横条（会盖住整行文字），右侧圆形客服球仍留在原位。 */
body.yz-quote-inview #xy-quickbar,
body.yz-quote-inview #compare-bar {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(calc(100% + 140px)) !important;
  transition: opacity .22s ease, transform .28s cubic-bezier(.4, 0, .2, 1) !important;
}

/* 右下角的客服球 / 浮动工具 / 回顶按钮会压住温馨提示末尾几个字，
   读单时一并淡出；离开报价单即恢复，不影响商品区的常规操作。 */
body.yz-quote-inview #float-tools,
body.yz-quote-inview .chat-fab,
body.yz-quote-inview #yzBackTop {
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity .22s ease !important;
}

/* ============================================================
   ⑨ 选购功能增强：推荐盒型、撤销删除、心意卡、订单口径
   ============================================================ */
#gift-step-1 .yz-box-recommend {
  color: #96362d;
  border-color: rgba(163,47,38,.28);
  background: rgba(163,47,38,.045);
}
.yz-fit-fix {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  margin: 0 auto 10px;
  padding: 7px 14px;
  border: 1px solid rgba(163,47,38,.24);
  border-radius: 999px;
  background: #fffaf1;
  color: #96362d;
  font-size: 12px;
  cursor: pointer;
}
.yz-fit-fix:hover { background: #f7eddc; border-color: rgba(163,47,38,.42); }
.yz-fit-fix[hidden], .yz-undo-toast[hidden] { display: none !important; }

.yz-undo-toast {
  position: fixed;
  left: 50%;
  bottom: 118px;
  z-index: 110;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  max-width: min(520px, calc(100vw - 32px));
  padding: 11px 12px 11px 16px;
  border: 1px solid rgba(184,144,58,.28);
  border-radius: 13px;
  background: rgba(255,253,248,.98);
  box-shadow: 0 12px 36px rgba(66,45,26,.16);
  color: #5b4938;
  font-size: 13px;
}
#yzUndoText { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yz-undo-actions { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.yz-undo-actions button {
  min-height: 32px;
  padding: 4px 10px;
  border: 0;
  border-radius: 8px;
  background: #96362d;
  color: #fffaf1;
  font-size: 12px;
  cursor: pointer;
}
.yz-undo-actions .yz-undo-close { padding: 4px 8px; background: transparent; color: #8a7658; font-size: 18px; }

#quotation .quotation-paper > .yz-quote-wish {
  display: grid;
  grid-template-columns: 58px minmax(0,1fr);
  gap: 12px;
  align-items: start;
  margin: 0 clamp(20px,4.2vw,44px) 18px;
  padding: 13px 16px !important;
  border: 1px solid rgba(184,144,58,.18);
  border-radius: 12px;
  background: rgba(250,240,218,.32);
}
.yz-quote-wish > span { color: #a32f26; font-size: 12px; letter-spacing: .08em; line-height: 1.9; }
.yz-quote-wish > p { margin: 0; color: #66513c; font-size: 13px; line-height: 1.9; overflow-wrap: anywhere; }

.yz-order-box-note {
  margin: -4px 0 16px;
  padding: 10px 12px;
  border: 1px solid rgba(184,144,58,.18);
  border-radius: 10px;
  background: rgba(250,240,218,.45);
  color: #79634a;
  font-size: 12px;
  line-height: 1.75;
}
@media (max-width: 640px) {
  .yz-undo-toast { bottom: 92px; gap: 8px; padding-left: 12px; font-size: 12px; }
  #yzUndoText { max-width: 46vw; }
  #quotation .quotation-paper > .yz-quote-wish { grid-template-columns: 1fr; gap: 3px; margin-bottom: 12px; }
}

/* ============================================================
   2026-11-10：按店主意见收起商品筛选工具条的排序/价格/收藏/预算/分享，
   只保留搜索框。相关功能仍可从其他入口使用（预算选礼有悬浮按钮）。
   如需恢复某一项，删掉对应选择器即可。
   ============================================================ */
#product-tools #sort-select,
#product-tools #price-filter,
#product-tools #fav-only-btn,
#product-tools .util-chip[onclick*="openBudgetGuide"],
#product-tools .util-chip[onclick*="shareCurrentView"],
#product-tools #recent-row,
#product-tools #tools-toggle {
  display: none !important;
}
#product-tools #tools-body {
  display: block !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
}
#product-tools [class*="md:col-span-5"] {
  grid-column: 1 / -1 !important;
}
#product-tools [class*="md:col-span-7"] {
  display: none !important;
}
#product-tools .util-panel,
#product-tools {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
